Extends omsorgCore with full CRUD for Facility/Contract/Order plus configurable value lists and an audit trail, and wires the omsorgapp frontend up to the new facilities, settings, and audit-log modules; includes a sidebar active-nav-item highlight. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
74 lines
1.8 KiB
TypeScript
74 lines
1.8 KiB
TypeScript
/* tslint:disable */
|
|
/* eslint-disable */
|
|
/**
|
|
* OmsorgCore.Api
|
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
*
|
|
* The version of the OpenAPI document: 1.0
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
import { mapValues } from '../runtime';
|
|
/**
|
|
*
|
|
* @export
|
|
* @interface UpdateUserRequest
|
|
*/
|
|
export interface UpdateUserRequest {
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof UpdateUserRequest
|
|
*/
|
|
roleId?: string;
|
|
/**
|
|
*
|
|
* @type {boolean}
|
|
* @memberof UpdateUserRequest
|
|
*/
|
|
isActive?: boolean;
|
|
}
|
|
|
|
/**
|
|
* Check if a given object implements the UpdateUserRequest interface.
|
|
*/
|
|
export function instanceOfUpdateUserRequest(value: object): value is UpdateUserRequest {
|
|
return true;
|
|
}
|
|
|
|
export function UpdateUserRequestFromJSON(json: any): UpdateUserRequest {
|
|
return UpdateUserRequestFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function UpdateUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateUserRequest {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
|
|
'roleId': json['roleId'] == null ? undefined : json['roleId'],
|
|
'isActive': json['isActive'] == null ? undefined : json['isActive'],
|
|
};
|
|
}
|
|
|
|
export function UpdateUserRequestToJSON(json: any): UpdateUserRequest {
|
|
return UpdateUserRequestToJSONTyped(json, false);
|
|
}
|
|
|
|
export function UpdateUserRequestToJSONTyped(value?: UpdateUserRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
|
|
return {
|
|
|
|
'roleId': value['roleId'],
|
|
'isActive': value['isActive'],
|
|
};
|
|
}
|
|
|