ch-admin-api-client-typescript 5.19.53 → 5.19.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/appointments-api.d.ts +46 -0
- package/lib/api/appointments-api.d.ts.map +1 -1
- package/lib/api/appointments-api.js +85 -0
- package/lib/api/hospitals-api.d.ts +85 -30
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +117 -26
- package/lib/api/web-apps-api.d.ts +46 -0
- package/lib/api/web-apps-api.d.ts.map +1 -1
- package/lib/api/web-apps-api.js +85 -0
- package/lib/models/application.d.ts +7 -0
- package/lib/models/application.d.ts.map +1 -1
- package/lib/models/appointment-status.d.ts +1 -0
- package/lib/models/appointment-status.d.ts.map +1 -1
- package/lib/models/appointment-status.js +2 -1
- package/lib/models/create-hospital-working-day-command.d.ts +6 -0
- package/lib/models/create-hospital-working-day-command.d.ts.map +1 -1
- package/lib/models/index.d.ts +1 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +1 -0
- package/lib/models/privacy-settings.d.ts +25 -0
- package/lib/models/privacy-settings.d.ts.map +1 -0
- package/lib/models/privacy-settings.js +15 -0
- package/lib/models/update-hospital-working-day-command.d.ts +6 -0
- package/lib/models/update-hospital-working-day-command.d.ts.map +1 -1
- package/lib/models/voice.d.ts +18 -0
- package/lib/models/voice.d.ts.map +1 -1
- package/lib/models/working-day-item-model.d.ts +6 -0
- package/lib/models/working-day-item-model.d.ts.map +1 -1
- package/lib/models/working-day-model.d.ts +6 -0
- package/lib/models/working-day-model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +1 -0
- package/src/api/appointments-api.ts +85 -0
- package/src/api/hospitals-api.ts +147 -49
- package/src/api/web-apps-api.ts +85 -0
- package/src/models/application.ts +9 -0
- package/src/models/appointment-status.ts +2 -1
- package/src/models/create-hospital-working-day-command.ts +6 -0
- package/src/models/index.ts +1 -0
- package/src/models/privacy-settings.ts +30 -0
- package/src/models/update-hospital-working-day-command.ts +6 -0
- package/src/models/voice.ts +18 -0
- package/src/models/working-day-item-model.ts +6 -0
- package/src/models/working-day-model.ts +6 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
6
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1
|
|
9
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -39,5 +39,11 @@ export interface UpdateHospitalWorkingDayCommand {
|
|
|
39
39
|
* @memberof UpdateHospitalWorkingDayCommand
|
|
40
40
|
*/
|
|
41
41
|
'checkHoliday'?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof UpdateHospitalWorkingDayCommand
|
|
46
|
+
*/
|
|
47
|
+
'order'?: number;
|
|
42
48
|
}
|
|
43
49
|
//# sourceMappingURL=update-hospital-working-day-command.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-hospital-working-day-command.d.ts","sourceRoot":"","sources":["../../src/models/update-hospital-working-day-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"update-hospital-working-day-command.d.ts","sourceRoot":"","sources":["../../src/models/update-hospital-working-day-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
package/lib/models/voice.d.ts
CHANGED
|
@@ -24,5 +24,23 @@ export interface Voice {
|
|
|
24
24
|
'webhooks'?: {
|
|
25
25
|
[key: string]: Webhook;
|
|
26
26
|
} | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof Voice
|
|
31
|
+
*/
|
|
32
|
+
'conversationsTimeToLive'?: number;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof Voice
|
|
37
|
+
*/
|
|
38
|
+
'region'?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {boolean}
|
|
42
|
+
* @memberof Voice
|
|
43
|
+
*/
|
|
44
|
+
'signedCallbacks'?: boolean;
|
|
27
45
|
}
|
|
28
46
|
//# sourceMappingURL=voice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice.d.ts","sourceRoot":"","sources":["../../src/models/voice.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;;;GAIG;AACH,MAAM,WAAW,KAAK;IAClB;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KAAE,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"voice.d.ts","sourceRoot":"","sources":["../../src/models/voice.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;;;GAIG;AACH,MAAM,WAAW,KAAK;IAClB;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KAAE,GAAG,IAAI,CAAC;IAChD;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B"}
|
|
@@ -45,5 +45,11 @@ export interface WorkingDayItemModel {
|
|
|
45
45
|
* @memberof WorkingDayItemModel
|
|
46
46
|
*/
|
|
47
47
|
'checkHoliday'?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof WorkingDayItemModel
|
|
52
|
+
*/
|
|
53
|
+
'order'?: number;
|
|
48
54
|
}
|
|
49
55
|
//# sourceMappingURL=working-day-item-model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"working-day-item-model.d.ts","sourceRoot":"","sources":["../../src/models/working-day-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"working-day-item-model.d.ts","sourceRoot":"","sources":["../../src/models/working-day-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"working-day-model.d.ts","sourceRoot":"","sources":["../../src/models/working-day-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"working-day-model.d.ts","sourceRoot":"","sources":["../../src/models/working-day-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
package/package.json
CHANGED
|
@@ -113,6 +113,44 @@ export const AppointmentsApiAxiosParamCreator = function (configuration?: Config
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
116
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
118
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
119
|
+
|
|
120
|
+
return {
|
|
121
|
+
url: toPathString(localVarUrlObj),
|
|
122
|
+
options: localVarRequestOptions,
|
|
123
|
+
};
|
|
124
|
+
},
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @summary Complete appointment
|
|
128
|
+
* @param {string} appointmentId
|
|
129
|
+
* @param {*} [options] Override http request option.
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
*/
|
|
132
|
+
apiV1AppointmentsAppointmentIdCompletePost: async (appointmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
133
|
+
// verify required parameter 'appointmentId' is not null or undefined
|
|
134
|
+
assertParamExists('apiV1AppointmentsAppointmentIdCompletePost', 'appointmentId', appointmentId)
|
|
135
|
+
const localVarPath = `/api/v1/appointments/{appointmentId}/complete`
|
|
136
|
+
.replace(`{${"appointmentId"}}`, encodeURIComponent(String(appointmentId)));
|
|
137
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
138
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
139
|
+
let baseOptions;
|
|
140
|
+
if (configuration) {
|
|
141
|
+
baseOptions = configuration.baseOptions;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
145
|
+
const localVarHeaderParameter = {} as any;
|
|
146
|
+
const localVarQueryParameter = {} as any;
|
|
147
|
+
|
|
148
|
+
// authentication oauth2 required
|
|
149
|
+
// oauth required
|
|
150
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
116
154
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117
155
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
118
156
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -540,6 +578,17 @@ export const AppointmentsApiFp = function(configuration?: Configuration) {
|
|
|
540
578
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AppointmentsAppointmentIdCancelPut(appointmentId, options);
|
|
541
579
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
542
580
|
},
|
|
581
|
+
/**
|
|
582
|
+
*
|
|
583
|
+
* @summary Complete appointment
|
|
584
|
+
* @param {string} appointmentId
|
|
585
|
+
* @param {*} [options] Override http request option.
|
|
586
|
+
* @throws {RequiredError}
|
|
587
|
+
*/
|
|
588
|
+
async apiV1AppointmentsAppointmentIdCompletePost(appointmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
589
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AppointmentsAppointmentIdCompletePost(appointmentId, options);
|
|
590
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
591
|
+
},
|
|
543
592
|
/**
|
|
544
593
|
*
|
|
545
594
|
* @summary Delete appointment
|
|
@@ -668,6 +717,16 @@ export const AppointmentsApiFactory = function (configuration?: Configuration, b
|
|
|
668
717
|
apiV1AppointmentsAppointmentIdCancelPut(appointmentId: string, options?: any): AxiosPromise<boolean> {
|
|
669
718
|
return localVarFp.apiV1AppointmentsAppointmentIdCancelPut(appointmentId, options).then((request) => request(axios, basePath));
|
|
670
719
|
},
|
|
720
|
+
/**
|
|
721
|
+
*
|
|
722
|
+
* @summary Complete appointment
|
|
723
|
+
* @param {string} appointmentId
|
|
724
|
+
* @param {*} [options] Override http request option.
|
|
725
|
+
* @throws {RequiredError}
|
|
726
|
+
*/
|
|
727
|
+
apiV1AppointmentsAppointmentIdCompletePost(appointmentId: string, options?: any): AxiosPromise<boolean> {
|
|
728
|
+
return localVarFp.apiV1AppointmentsAppointmentIdCompletePost(appointmentId, options).then((request) => request(axios, basePath));
|
|
729
|
+
},
|
|
671
730
|
/**
|
|
672
731
|
*
|
|
673
732
|
* @summary Delete appointment
|
|
@@ -797,6 +856,20 @@ export interface AppointmentsApiApiV1AppointmentsAppointmentIdCancelPutRequest {
|
|
|
797
856
|
readonly appointmentId: string
|
|
798
857
|
}
|
|
799
858
|
|
|
859
|
+
/**
|
|
860
|
+
* Request parameters for apiV1AppointmentsAppointmentIdCompletePost operation in AppointmentsApi.
|
|
861
|
+
* @export
|
|
862
|
+
* @interface AppointmentsApiApiV1AppointmentsAppointmentIdCompletePostRequest
|
|
863
|
+
*/
|
|
864
|
+
export interface AppointmentsApiApiV1AppointmentsAppointmentIdCompletePostRequest {
|
|
865
|
+
/**
|
|
866
|
+
*
|
|
867
|
+
* @type {string}
|
|
868
|
+
* @memberof AppointmentsApiApiV1AppointmentsAppointmentIdCompletePost
|
|
869
|
+
*/
|
|
870
|
+
readonly appointmentId: string
|
|
871
|
+
}
|
|
872
|
+
|
|
800
873
|
/**
|
|
801
874
|
* Request parameters for apiV1AppointmentsAppointmentIdDelete operation in AppointmentsApi.
|
|
802
875
|
* @export
|
|
@@ -1129,6 +1202,18 @@ export class AppointmentsApi extends BaseAPI {
|
|
|
1129
1202
|
return AppointmentsApiFp(this.configuration).apiV1AppointmentsAppointmentIdCancelPut(requestParameters.appointmentId, options).then((request) => request(this.axios, this.basePath));
|
|
1130
1203
|
}
|
|
1131
1204
|
|
|
1205
|
+
/**
|
|
1206
|
+
*
|
|
1207
|
+
* @summary Complete appointment
|
|
1208
|
+
* @param {AppointmentsApiApiV1AppointmentsAppointmentIdCompletePostRequest} requestParameters Request parameters.
|
|
1209
|
+
* @param {*} [options] Override http request option.
|
|
1210
|
+
* @throws {RequiredError}
|
|
1211
|
+
* @memberof AppointmentsApi
|
|
1212
|
+
*/
|
|
1213
|
+
public apiV1AppointmentsAppointmentIdCompletePost(requestParameters: AppointmentsApiApiV1AppointmentsAppointmentIdCompletePostRequest, options?: AxiosRequestConfig) {
|
|
1214
|
+
return AppointmentsApiFp(this.configuration).apiV1AppointmentsAppointmentIdCompletePost(requestParameters.appointmentId, options).then((request) => request(this.axios, this.basePath));
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1132
1217
|
/**
|
|
1133
1218
|
*
|
|
1134
1219
|
* @summary Delete appointment
|
package/src/api/hospitals-api.ts
CHANGED
|
@@ -1182,6 +1182,48 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1182
1182
|
options: localVarRequestOptions,
|
|
1183
1183
|
};
|
|
1184
1184
|
},
|
|
1185
|
+
/**
|
|
1186
|
+
*
|
|
1187
|
+
* @summary Reactivate hospital contact
|
|
1188
|
+
* @param {string} hospitalId
|
|
1189
|
+
* @param {string} contactId
|
|
1190
|
+
* @param {*} [options] Override http request option.
|
|
1191
|
+
* @throws {RequiredError}
|
|
1192
|
+
*/
|
|
1193
|
+
apiV1HospitalsHospitalIdContactsContactIdReactivatePut: async (hospitalId: string, contactId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1194
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
1195
|
+
assertParamExists('apiV1HospitalsHospitalIdContactsContactIdReactivatePut', 'hospitalId', hospitalId)
|
|
1196
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
1197
|
+
assertParamExists('apiV1HospitalsHospitalIdContactsContactIdReactivatePut', 'contactId', contactId)
|
|
1198
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/contacts/{contactId}/reactivate`
|
|
1199
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
1200
|
+
.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
1201
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1202
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1203
|
+
let baseOptions;
|
|
1204
|
+
if (configuration) {
|
|
1205
|
+
baseOptions = configuration.baseOptions;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
1209
|
+
const localVarHeaderParameter = {} as any;
|
|
1210
|
+
const localVarQueryParameter = {} as any;
|
|
1211
|
+
|
|
1212
|
+
// authentication oauth2 required
|
|
1213
|
+
// oauth required
|
|
1214
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
1215
|
+
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1219
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1220
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1221
|
+
|
|
1222
|
+
return {
|
|
1223
|
+
url: toPathString(localVarUrlObj),
|
|
1224
|
+
options: localVarRequestOptions,
|
|
1225
|
+
};
|
|
1226
|
+
},
|
|
1185
1227
|
/**
|
|
1186
1228
|
*
|
|
1187
1229
|
* @summary Get hospital contacts
|
|
@@ -3306,9 +3348,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3306
3348
|
*
|
|
3307
3349
|
* @summary Get managers
|
|
3308
3350
|
* @param {string} hospitalId
|
|
3309
|
-
* @param {number} [page]
|
|
3310
|
-
* @param {number} [limit]
|
|
3311
|
-
* @param {Date} [lastRetrieved]
|
|
3312
3351
|
* @param {string} [id]
|
|
3313
3352
|
* @param {string} [fullname]
|
|
3314
3353
|
* @param {string} [email]
|
|
@@ -3316,10 +3355,13 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3316
3355
|
* @param {Date} [dateOfBirth]
|
|
3317
3356
|
* @param {Date} [created]
|
|
3318
3357
|
* @param {boolean} [showHidden]
|
|
3358
|
+
* @param {number} [page]
|
|
3359
|
+
* @param {number} [limit]
|
|
3360
|
+
* @param {Date} [lastRetrieved]
|
|
3319
3361
|
* @param {*} [options] Override http request option.
|
|
3320
3362
|
* @throws {RequiredError}
|
|
3321
3363
|
*/
|
|
3322
|
-
apiV1HospitalsHospitalIdManagersGet: async (hospitalId: string,
|
|
3364
|
+
apiV1HospitalsHospitalIdManagersGet: async (hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3323
3365
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
3324
3366
|
assertParamExists('apiV1HospitalsHospitalIdManagersGet', 'hospitalId', hospitalId)
|
|
3325
3367
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/managers`
|
|
@@ -3339,20 +3381,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3339
3381
|
// oauth required
|
|
3340
3382
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
3341
3383
|
|
|
3342
|
-
if (page !== undefined) {
|
|
3343
|
-
localVarQueryParameter['page'] = page;
|
|
3344
|
-
}
|
|
3345
|
-
|
|
3346
|
-
if (limit !== undefined) {
|
|
3347
|
-
localVarQueryParameter['limit'] = limit;
|
|
3348
|
-
}
|
|
3349
|
-
|
|
3350
|
-
if (lastRetrieved !== undefined) {
|
|
3351
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
3352
|
-
(lastRetrieved as any).toISOString() :
|
|
3353
|
-
lastRetrieved;
|
|
3354
|
-
}
|
|
3355
|
-
|
|
3356
3384
|
if (id !== undefined) {
|
|
3357
3385
|
localVarQueryParameter['Id'] = id;
|
|
3358
3386
|
}
|
|
@@ -3385,6 +3413,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3385
3413
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
3386
3414
|
}
|
|
3387
3415
|
|
|
3416
|
+
if (page !== undefined) {
|
|
3417
|
+
localVarQueryParameter['page'] = page;
|
|
3418
|
+
}
|
|
3419
|
+
|
|
3420
|
+
if (limit !== undefined) {
|
|
3421
|
+
localVarQueryParameter['limit'] = limit;
|
|
3422
|
+
}
|
|
3423
|
+
|
|
3424
|
+
if (lastRetrieved !== undefined) {
|
|
3425
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
3426
|
+
(lastRetrieved as any).toISOString() :
|
|
3427
|
+
lastRetrieved;
|
|
3428
|
+
}
|
|
3429
|
+
|
|
3388
3430
|
|
|
3389
3431
|
|
|
3390
3432
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -8416,6 +8458,18 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
8416
8458
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsContactIdPut(hospitalId, contactId, updateHospitalContactCommand, options);
|
|
8417
8459
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8418
8460
|
},
|
|
8461
|
+
/**
|
|
8462
|
+
*
|
|
8463
|
+
* @summary Reactivate hospital contact
|
|
8464
|
+
* @param {string} hospitalId
|
|
8465
|
+
* @param {string} contactId
|
|
8466
|
+
* @param {*} [options] Override http request option.
|
|
8467
|
+
* @throws {RequiredError}
|
|
8468
|
+
*/
|
|
8469
|
+
async apiV1HospitalsHospitalIdContactsContactIdReactivatePut(hospitalId: string, contactId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
8470
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsContactIdReactivatePut(hospitalId, contactId, options);
|
|
8471
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8472
|
+
},
|
|
8419
8473
|
/**
|
|
8420
8474
|
*
|
|
8421
8475
|
* @summary Get hospital contacts
|
|
@@ -8997,9 +9051,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
8997
9051
|
*
|
|
8998
9052
|
* @summary Get managers
|
|
8999
9053
|
* @param {string} hospitalId
|
|
9000
|
-
* @param {number} [page]
|
|
9001
|
-
* @param {number} [limit]
|
|
9002
|
-
* @param {Date} [lastRetrieved]
|
|
9003
9054
|
* @param {string} [id]
|
|
9004
9055
|
* @param {string} [fullname]
|
|
9005
9056
|
* @param {string} [email]
|
|
@@ -9007,11 +9058,14 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
9007
9058
|
* @param {Date} [dateOfBirth]
|
|
9008
9059
|
* @param {Date} [created]
|
|
9009
9060
|
* @param {boolean} [showHidden]
|
|
9061
|
+
* @param {number} [page]
|
|
9062
|
+
* @param {number} [limit]
|
|
9063
|
+
* @param {Date} [lastRetrieved]
|
|
9010
9064
|
* @param {*} [options] Override http request option.
|
|
9011
9065
|
* @throws {RequiredError}
|
|
9012
9066
|
*/
|
|
9013
|
-
async apiV1HospitalsHospitalIdManagersGet(hospitalId: string,
|
|
9014
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId,
|
|
9067
|
+
async apiV1HospitalsHospitalIdManagersGet(hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagersModel>> {
|
|
9068
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
9015
9069
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9016
9070
|
},
|
|
9017
9071
|
/**
|
|
@@ -10531,6 +10585,17 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
10531
10585
|
apiV1HospitalsHospitalIdContactsContactIdPut(hospitalId: string, contactId: string, updateHospitalContactCommand?: UpdateHospitalContactCommand, options?: any): AxiosPromise<HospitalContactModel> {
|
|
10532
10586
|
return localVarFp.apiV1HospitalsHospitalIdContactsContactIdPut(hospitalId, contactId, updateHospitalContactCommand, options).then((request) => request(axios, basePath));
|
|
10533
10587
|
},
|
|
10588
|
+
/**
|
|
10589
|
+
*
|
|
10590
|
+
* @summary Reactivate hospital contact
|
|
10591
|
+
* @param {string} hospitalId
|
|
10592
|
+
* @param {string} contactId
|
|
10593
|
+
* @param {*} [options] Override http request option.
|
|
10594
|
+
* @throws {RequiredError}
|
|
10595
|
+
*/
|
|
10596
|
+
apiV1HospitalsHospitalIdContactsContactIdReactivatePut(hospitalId: string, contactId: string, options?: any): AxiosPromise<boolean> {
|
|
10597
|
+
return localVarFp.apiV1HospitalsHospitalIdContactsContactIdReactivatePut(hospitalId, contactId, options).then((request) => request(axios, basePath));
|
|
10598
|
+
},
|
|
10534
10599
|
/**
|
|
10535
10600
|
*
|
|
10536
10601
|
* @summary Get hospital contacts
|
|
@@ -11069,9 +11134,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
11069
11134
|
*
|
|
11070
11135
|
* @summary Get managers
|
|
11071
11136
|
* @param {string} hospitalId
|
|
11072
|
-
* @param {number} [page]
|
|
11073
|
-
* @param {number} [limit]
|
|
11074
|
-
* @param {Date} [lastRetrieved]
|
|
11075
11137
|
* @param {string} [id]
|
|
11076
11138
|
* @param {string} [fullname]
|
|
11077
11139
|
* @param {string} [email]
|
|
@@ -11079,11 +11141,14 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
11079
11141
|
* @param {Date} [dateOfBirth]
|
|
11080
11142
|
* @param {Date} [created]
|
|
11081
11143
|
* @param {boolean} [showHidden]
|
|
11144
|
+
* @param {number} [page]
|
|
11145
|
+
* @param {number} [limit]
|
|
11146
|
+
* @param {Date} [lastRetrieved]
|
|
11082
11147
|
* @param {*} [options] Override http request option.
|
|
11083
11148
|
* @throws {RequiredError}
|
|
11084
11149
|
*/
|
|
11085
|
-
apiV1HospitalsHospitalIdManagersGet(hospitalId: string,
|
|
11086
|
-
return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId,
|
|
11150
|
+
apiV1HospitalsHospitalIdManagersGet(hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ManagersModel> {
|
|
11151
|
+
return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
11087
11152
|
},
|
|
11088
11153
|
/**
|
|
11089
11154
|
*
|
|
@@ -12888,6 +12953,27 @@ export interface HospitalsApiApiV1HospitalsHospitalIdContactsContactIdPutRequest
|
|
|
12888
12953
|
readonly updateHospitalContactCommand?: UpdateHospitalContactCommand
|
|
12889
12954
|
}
|
|
12890
12955
|
|
|
12956
|
+
/**
|
|
12957
|
+
* Request parameters for apiV1HospitalsHospitalIdContactsContactIdReactivatePut operation in HospitalsApi.
|
|
12958
|
+
* @export
|
|
12959
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdContactsContactIdReactivatePutRequest
|
|
12960
|
+
*/
|
|
12961
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdContactsContactIdReactivatePutRequest {
|
|
12962
|
+
/**
|
|
12963
|
+
*
|
|
12964
|
+
* @type {string}
|
|
12965
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsContactIdReactivatePut
|
|
12966
|
+
*/
|
|
12967
|
+
readonly hospitalId: string
|
|
12968
|
+
|
|
12969
|
+
/**
|
|
12970
|
+
*
|
|
12971
|
+
* @type {string}
|
|
12972
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsContactIdReactivatePut
|
|
12973
|
+
*/
|
|
12974
|
+
readonly contactId: string
|
|
12975
|
+
}
|
|
12976
|
+
|
|
12891
12977
|
/**
|
|
12892
12978
|
* Request parameters for apiV1HospitalsHospitalIdContactsGet operation in HospitalsApi.
|
|
12893
12979
|
* @export
|
|
@@ -14233,73 +14319,73 @@ export interface HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest {
|
|
|
14233
14319
|
|
|
14234
14320
|
/**
|
|
14235
14321
|
*
|
|
14236
|
-
* @type {
|
|
14322
|
+
* @type {string}
|
|
14237
14323
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14238
14324
|
*/
|
|
14239
|
-
readonly
|
|
14325
|
+
readonly id?: string
|
|
14240
14326
|
|
|
14241
14327
|
/**
|
|
14242
14328
|
*
|
|
14243
|
-
* @type {
|
|
14329
|
+
* @type {string}
|
|
14244
14330
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14245
14331
|
*/
|
|
14246
|
-
readonly
|
|
14332
|
+
readonly fullname?: string
|
|
14247
14333
|
|
|
14248
14334
|
/**
|
|
14249
14335
|
*
|
|
14250
|
-
* @type {
|
|
14336
|
+
* @type {string}
|
|
14251
14337
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14252
14338
|
*/
|
|
14253
|
-
readonly
|
|
14339
|
+
readonly email?: string
|
|
14254
14340
|
|
|
14255
14341
|
/**
|
|
14256
14342
|
*
|
|
14257
|
-
* @type {
|
|
14343
|
+
* @type {Gender}
|
|
14258
14344
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14259
14345
|
*/
|
|
14260
|
-
readonly
|
|
14346
|
+
readonly gender?: Gender
|
|
14261
14347
|
|
|
14262
14348
|
/**
|
|
14263
14349
|
*
|
|
14264
|
-
* @type {
|
|
14350
|
+
* @type {Date}
|
|
14265
14351
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14266
14352
|
*/
|
|
14267
|
-
readonly
|
|
14353
|
+
readonly dateOfBirth?: Date
|
|
14268
14354
|
|
|
14269
14355
|
/**
|
|
14270
14356
|
*
|
|
14271
|
-
* @type {
|
|
14357
|
+
* @type {Date}
|
|
14272
14358
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14273
14359
|
*/
|
|
14274
|
-
readonly
|
|
14360
|
+
readonly created?: Date
|
|
14275
14361
|
|
|
14276
14362
|
/**
|
|
14277
14363
|
*
|
|
14278
|
-
* @type {
|
|
14364
|
+
* @type {boolean}
|
|
14279
14365
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14280
14366
|
*/
|
|
14281
|
-
readonly
|
|
14367
|
+
readonly showHidden?: boolean
|
|
14282
14368
|
|
|
14283
14369
|
/**
|
|
14284
14370
|
*
|
|
14285
|
-
* @type {
|
|
14371
|
+
* @type {number}
|
|
14286
14372
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14287
14373
|
*/
|
|
14288
|
-
readonly
|
|
14374
|
+
readonly page?: number
|
|
14289
14375
|
|
|
14290
14376
|
/**
|
|
14291
14377
|
*
|
|
14292
|
-
* @type {
|
|
14378
|
+
* @type {number}
|
|
14293
14379
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14294
14380
|
*/
|
|
14295
|
-
readonly
|
|
14381
|
+
readonly limit?: number
|
|
14296
14382
|
|
|
14297
14383
|
/**
|
|
14298
14384
|
*
|
|
14299
|
-
* @type {
|
|
14385
|
+
* @type {Date}
|
|
14300
14386
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14301
14387
|
*/
|
|
14302
|
-
readonly
|
|
14388
|
+
readonly lastRetrieved?: Date
|
|
14303
14389
|
}
|
|
14304
14390
|
|
|
14305
14391
|
/**
|
|
@@ -17717,6 +17803,18 @@ export class HospitalsApi extends BaseAPI {
|
|
|
17717
17803
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdContactsContactIdPut(requestParameters.hospitalId, requestParameters.contactId, requestParameters.updateHospitalContactCommand, options).then((request) => request(this.axios, this.basePath));
|
|
17718
17804
|
}
|
|
17719
17805
|
|
|
17806
|
+
/**
|
|
17807
|
+
*
|
|
17808
|
+
* @summary Reactivate hospital contact
|
|
17809
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdContactsContactIdReactivatePutRequest} requestParameters Request parameters.
|
|
17810
|
+
* @param {*} [options] Override http request option.
|
|
17811
|
+
* @throws {RequiredError}
|
|
17812
|
+
* @memberof HospitalsApi
|
|
17813
|
+
*/
|
|
17814
|
+
public apiV1HospitalsHospitalIdContactsContactIdReactivatePut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdContactsContactIdReactivatePutRequest, options?: AxiosRequestConfig) {
|
|
17815
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdContactsContactIdReactivatePut(requestParameters.hospitalId, requestParameters.contactId, options).then((request) => request(this.axios, this.basePath));
|
|
17816
|
+
}
|
|
17817
|
+
|
|
17720
17818
|
/**
|
|
17721
17819
|
*
|
|
17722
17820
|
* @summary Get hospital contacts
|
|
@@ -18242,7 +18340,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
18242
18340
|
* @memberof HospitalsApi
|
|
18243
18341
|
*/
|
|
18244
18342
|
public apiV1HospitalsHospitalIdManagersGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest, options?: AxiosRequestConfig) {
|
|
18245
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdManagersGet(requestParameters.hospitalId, requestParameters.
|
|
18343
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdManagersGet(requestParameters.hospitalId, requestParameters.id, requestParameters.fullname, requestParameters.email, requestParameters.gender, requestParameters.dateOfBirth, requestParameters.created, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
18246
18344
|
}
|
|
18247
18345
|
|
|
18248
18346
|
/**
|