Add facilities, contracts, orders, value lists, audit log, and desktop app modules
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>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
ee74ed65f5
commit
e9e96a57dc
@@ -0,0 +1,145 @@
|
||||
/* 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 CreateFacilityRequest
|
||||
*/
|
||||
export interface CreateFacilityRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CreateFacilityRequest
|
||||
*/
|
||||
name?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CreateFacilityRequest
|
||||
*/
|
||||
facilityType?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CreateFacilityRequest
|
||||
*/
|
||||
website?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CreateFacilityRequest
|
||||
*/
|
||||
street?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CreateFacilityRequest
|
||||
*/
|
||||
postalCode?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CreateFacilityRequest
|
||||
*/
|
||||
city?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CreateFacilityRequest
|
||||
*/
|
||||
country?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CreateFacilityRequest
|
||||
*/
|
||||
billingStreet?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CreateFacilityRequest
|
||||
*/
|
||||
billingPostalCode?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CreateFacilityRequest
|
||||
*/
|
||||
billingCity?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CreateFacilityRequest
|
||||
*/
|
||||
billingCountry?: string | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the CreateFacilityRequest interface.
|
||||
*/
|
||||
export function instanceOfCreateFacilityRequest(value: object): value is CreateFacilityRequest {
|
||||
return true;
|
||||
}
|
||||
|
||||
export function CreateFacilityRequestFromJSON(json: any): CreateFacilityRequest {
|
||||
return CreateFacilityRequestFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function CreateFacilityRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateFacilityRequest {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'name': json['name'] == null ? undefined : json['name'],
|
||||
'facilityType': json['facilityType'] == null ? undefined : json['facilityType'],
|
||||
'website': json['website'] == null ? undefined : json['website'],
|
||||
'street': json['street'] == null ? undefined : json['street'],
|
||||
'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
|
||||
'city': json['city'] == null ? undefined : json['city'],
|
||||
'country': json['country'] == null ? undefined : json['country'],
|
||||
'billingStreet': json['billingStreet'] == null ? undefined : json['billingStreet'],
|
||||
'billingPostalCode': json['billingPostalCode'] == null ? undefined : json['billingPostalCode'],
|
||||
'billingCity': json['billingCity'] == null ? undefined : json['billingCity'],
|
||||
'billingCountry': json['billingCountry'] == null ? undefined : json['billingCountry'],
|
||||
};
|
||||
}
|
||||
|
||||
export function CreateFacilityRequestToJSON(json: any): CreateFacilityRequest {
|
||||
return CreateFacilityRequestToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function CreateFacilityRequestToJSONTyped(value?: CreateFacilityRequest | null, ignoreDiscriminator: boolean = false): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
'name': value['name'],
|
||||
'facilityType': value['facilityType'],
|
||||
'website': value['website'],
|
||||
'street': value['street'],
|
||||
'postalCode': value['postalCode'],
|
||||
'city': value['city'],
|
||||
'country': value['country'],
|
||||
'billingStreet': value['billingStreet'],
|
||||
'billingPostalCode': value['billingPostalCode'],
|
||||
'billingCity': value['billingCity'],
|
||||
'billingCountry': value['billingCountry'],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user