ch-admin-api-client-typescript 5.19.8 → 5.19.10
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/hospital-branches-api.d.ts +185 -0
- package/lib/api/hospital-branches-api.d.ts.map +1 -1
- package/lib/api/hospital-branches-api.js +283 -0
- package/lib/models/add-hospital-into-branch-command.d.ts +31 -0
- package/lib/models/add-hospital-into-branch-command.d.ts.map +1 -0
- package/lib/models/add-hospital-into-branch-command.js +15 -0
- package/lib/models/create-hospital-branch-command.d.ts +0 -6
- package/lib/models/create-hospital-branch-command.d.ts.map +1 -1
- package/lib/models/hospital-branch-item-mapping-model.d.ts +38 -0
- package/lib/models/hospital-branch-item-mapping-model.d.ts.map +1 -0
- package/lib/models/hospital-branch-item-mapping-model.js +15 -0
- package/lib/models/hospital-branch-item-model.d.ts +0 -12
- package/lib/models/hospital-branch-item-model.d.ts.map +1 -1
- package/lib/models/hospital-branch-model.d.ts +6 -11
- package/lib/models/hospital-branch-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +3 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +3 -0
- package/lib/models/update-hospital-branch-item-command.d.ts +31 -0
- package/lib/models/update-hospital-branch-item-command.d.ts.map +1 -0
- package/lib/models/update-hospital-branch-item-command.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +3 -0
- package/src/api/hospital-branches-api.ts +324 -0
- package/src/models/add-hospital-into-branch-command.ts +36 -0
- package/src/models/create-hospital-branch-command.ts +0 -6
- package/src/models/hospital-branch-item-mapping-model.ts +45 -0
- package/src/models/hospital-branch-item-model.ts +0 -12
- package/src/models/hospital-branch-model.ts +8 -11
- package/src/models/index.ts +3 -0
- package/src/models/update-hospital-branch-item-command.ts +36 -0
|
@@ -12,10 +12,12 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { AddHospitalIntoBranchCommand } from '../models';
|
|
15
16
|
import { CreateHospitalBranchCommand } from '../models';
|
|
16
17
|
import { HospitalBranchModel } from '../models';
|
|
17
18
|
import { HospitalBranchesModel } from '../models';
|
|
18
19
|
import { UpdateHospitalBranchCommand } from '../models';
|
|
20
|
+
import { UpdateHospitalBranchItemCommand } from '../models';
|
|
19
21
|
/**
|
|
20
22
|
* HospitalBranchesApi - axios parameter creator
|
|
21
23
|
* @export
|
|
@@ -53,6 +55,35 @@ export declare const HospitalBranchesApiAxiosParamCreator: (configuration?: Conf
|
|
|
53
55
|
* @throws {RequiredError}
|
|
54
56
|
*/
|
|
55
57
|
apiV1HospitalbranchesHospitalBranchIdGet: (hospitalBranchId: string, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @summary Remove hospital from HospitalBranch
|
|
61
|
+
* @param {string} hospitalBranchId
|
|
62
|
+
* @param {string} hospitalId
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
*/
|
|
66
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete: (hospitalBranchId: string, hospitalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @summary Add hospital into HospitalBranch
|
|
70
|
+
* @param {string} hospitalBranchId
|
|
71
|
+
* @param {string} hospitalId
|
|
72
|
+
* @param {AddHospitalIntoBranchCommand} [addHospitalIntoBranchCommand]
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost: (hospitalBranchId: string, hospitalId: string, addHospitalIntoBranchCommand?: AddHospitalIntoBranchCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @summary Update hospitalBranchItem
|
|
80
|
+
* @param {string} hospitalBranchId
|
|
81
|
+
* @param {string} hospitalId
|
|
82
|
+
* @param {UpdateHospitalBranchItemCommand} [updateHospitalBranchItemCommand]
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut: (hospitalBranchId: string, hospitalId: string, updateHospitalBranchItemCommand?: UpdateHospitalBranchItemCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
87
|
/**
|
|
57
88
|
*
|
|
58
89
|
* @summary Update hospitalBranch
|
|
@@ -116,6 +147,35 @@ export declare const HospitalBranchesApiFp: (configuration?: Configuration) => {
|
|
|
116
147
|
* @throws {RequiredError}
|
|
117
148
|
*/
|
|
118
149
|
apiV1HospitalbranchesHospitalBranchIdGet(hospitalBranchId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchModel>>;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @summary Remove hospital from HospitalBranch
|
|
153
|
+
* @param {string} hospitalBranchId
|
|
154
|
+
* @param {string} hospitalId
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(hospitalBranchId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @summary Add hospital into HospitalBranch
|
|
162
|
+
* @param {string} hospitalBranchId
|
|
163
|
+
* @param {string} hospitalId
|
|
164
|
+
* @param {AddHospitalIntoBranchCommand} [addHospitalIntoBranchCommand]
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(hospitalBranchId: string, hospitalId: string, addHospitalIntoBranchCommand?: AddHospitalIntoBranchCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchModel>>;
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @summary Update hospitalBranchItem
|
|
172
|
+
* @param {string} hospitalBranchId
|
|
173
|
+
* @param {string} hospitalId
|
|
174
|
+
* @param {UpdateHospitalBranchItemCommand} [updateHospitalBranchItemCommand]
|
|
175
|
+
* @param {*} [options] Override http request option.
|
|
176
|
+
* @throws {RequiredError}
|
|
177
|
+
*/
|
|
178
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(hospitalBranchId: string, hospitalId: string, updateHospitalBranchItemCommand?: UpdateHospitalBranchItemCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchModel>>;
|
|
119
179
|
/**
|
|
120
180
|
*
|
|
121
181
|
* @summary Update hospitalBranch
|
|
@@ -179,6 +239,35 @@ export declare const HospitalBranchesApiFactory: (configuration?: Configuration,
|
|
|
179
239
|
* @throws {RequiredError}
|
|
180
240
|
*/
|
|
181
241
|
apiV1HospitalbranchesHospitalBranchIdGet(hospitalBranchId: string, languageCode?: string, options?: any): AxiosPromise<HospitalBranchModel>;
|
|
242
|
+
/**
|
|
243
|
+
*
|
|
244
|
+
* @summary Remove hospital from HospitalBranch
|
|
245
|
+
* @param {string} hospitalBranchId
|
|
246
|
+
* @param {string} hospitalId
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @throws {RequiredError}
|
|
249
|
+
*/
|
|
250
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(hospitalBranchId: string, hospitalId: string, options?: any): AxiosPromise<boolean>;
|
|
251
|
+
/**
|
|
252
|
+
*
|
|
253
|
+
* @summary Add hospital into HospitalBranch
|
|
254
|
+
* @param {string} hospitalBranchId
|
|
255
|
+
* @param {string} hospitalId
|
|
256
|
+
* @param {AddHospitalIntoBranchCommand} [addHospitalIntoBranchCommand]
|
|
257
|
+
* @param {*} [options] Override http request option.
|
|
258
|
+
* @throws {RequiredError}
|
|
259
|
+
*/
|
|
260
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(hospitalBranchId: string, hospitalId: string, addHospitalIntoBranchCommand?: AddHospitalIntoBranchCommand, options?: any): AxiosPromise<HospitalBranchModel>;
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @summary Update hospitalBranchItem
|
|
264
|
+
* @param {string} hospitalBranchId
|
|
265
|
+
* @param {string} hospitalId
|
|
266
|
+
* @param {UpdateHospitalBranchItemCommand} [updateHospitalBranchItemCommand]
|
|
267
|
+
* @param {*} [options] Override http request option.
|
|
268
|
+
* @throws {RequiredError}
|
|
269
|
+
*/
|
|
270
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(hospitalBranchId: string, hospitalId: string, updateHospitalBranchItemCommand?: UpdateHospitalBranchItemCommand, options?: any): AxiosPromise<HospitalBranchModel>;
|
|
182
271
|
/**
|
|
183
272
|
*
|
|
184
273
|
* @summary Update hospitalBranch
|
|
@@ -292,6 +381,75 @@ export interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdGetRequ
|
|
|
292
381
|
*/
|
|
293
382
|
readonly languageCode?: string;
|
|
294
383
|
}
|
|
384
|
+
/**
|
|
385
|
+
* Request parameters for apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete operation in HospitalBranchesApi.
|
|
386
|
+
* @export
|
|
387
|
+
* @interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDeleteRequest
|
|
388
|
+
*/
|
|
389
|
+
export interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDeleteRequest {
|
|
390
|
+
/**
|
|
391
|
+
*
|
|
392
|
+
* @type {string}
|
|
393
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete
|
|
394
|
+
*/
|
|
395
|
+
readonly hospitalBranchId: string;
|
|
396
|
+
/**
|
|
397
|
+
*
|
|
398
|
+
* @type {string}
|
|
399
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete
|
|
400
|
+
*/
|
|
401
|
+
readonly hospitalId: string;
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* Request parameters for apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost operation in HospitalBranchesApi.
|
|
405
|
+
* @export
|
|
406
|
+
* @interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPostRequest
|
|
407
|
+
*/
|
|
408
|
+
export interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPostRequest {
|
|
409
|
+
/**
|
|
410
|
+
*
|
|
411
|
+
* @type {string}
|
|
412
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost
|
|
413
|
+
*/
|
|
414
|
+
readonly hospitalBranchId: string;
|
|
415
|
+
/**
|
|
416
|
+
*
|
|
417
|
+
* @type {string}
|
|
418
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost
|
|
419
|
+
*/
|
|
420
|
+
readonly hospitalId: string;
|
|
421
|
+
/**
|
|
422
|
+
*
|
|
423
|
+
* @type {AddHospitalIntoBranchCommand}
|
|
424
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost
|
|
425
|
+
*/
|
|
426
|
+
readonly addHospitalIntoBranchCommand?: AddHospitalIntoBranchCommand;
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* Request parameters for apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut operation in HospitalBranchesApi.
|
|
430
|
+
* @export
|
|
431
|
+
* @interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPutRequest
|
|
432
|
+
*/
|
|
433
|
+
export interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPutRequest {
|
|
434
|
+
/**
|
|
435
|
+
*
|
|
436
|
+
* @type {string}
|
|
437
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut
|
|
438
|
+
*/
|
|
439
|
+
readonly hospitalBranchId: string;
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @type {string}
|
|
443
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut
|
|
444
|
+
*/
|
|
445
|
+
readonly hospitalId: string;
|
|
446
|
+
/**
|
|
447
|
+
*
|
|
448
|
+
* @type {UpdateHospitalBranchItemCommand}
|
|
449
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut
|
|
450
|
+
*/
|
|
451
|
+
readonly updateHospitalBranchItemCommand?: UpdateHospitalBranchItemCommand;
|
|
452
|
+
}
|
|
295
453
|
/**
|
|
296
454
|
* Request parameters for apiV1HospitalbranchesHospitalBranchIdPut operation in HospitalBranchesApi.
|
|
297
455
|
* @export
|
|
@@ -371,6 +529,33 @@ export declare class HospitalBranchesApi extends BaseAPI {
|
|
|
371
529
|
* @memberof HospitalBranchesApi
|
|
372
530
|
*/
|
|
373
531
|
apiV1HospitalbranchesHospitalBranchIdGet(requestParameters: HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalBranchModel, any>>;
|
|
532
|
+
/**
|
|
533
|
+
*
|
|
534
|
+
* @summary Remove hospital from HospitalBranch
|
|
535
|
+
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDeleteRequest} requestParameters Request parameters.
|
|
536
|
+
* @param {*} [options] Override http request option.
|
|
537
|
+
* @throws {RequiredError}
|
|
538
|
+
* @memberof HospitalBranchesApi
|
|
539
|
+
*/
|
|
540
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(requestParameters: HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
541
|
+
/**
|
|
542
|
+
*
|
|
543
|
+
* @summary Add hospital into HospitalBranch
|
|
544
|
+
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPostRequest} requestParameters Request parameters.
|
|
545
|
+
* @param {*} [options] Override http request option.
|
|
546
|
+
* @throws {RequiredError}
|
|
547
|
+
* @memberof HospitalBranchesApi
|
|
548
|
+
*/
|
|
549
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(requestParameters: HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalBranchModel, any>>;
|
|
550
|
+
/**
|
|
551
|
+
*
|
|
552
|
+
* @summary Update hospitalBranchItem
|
|
553
|
+
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPutRequest} requestParameters Request parameters.
|
|
554
|
+
* @param {*} [options] Override http request option.
|
|
555
|
+
* @throws {RequiredError}
|
|
556
|
+
* @memberof HospitalBranchesApi
|
|
557
|
+
*/
|
|
558
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(requestParameters: HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalBranchModel, any>>;
|
|
374
559
|
/**
|
|
375
560
|
*
|
|
376
561
|
* @summary Update hospitalBranch
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hospital-branches-api.d.ts","sourceRoot":"","sources":["../../src/api/hospital-branches-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;AAExD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAEhD,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAIlD,OAAO,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"hospital-branches-api.d.ts","sourceRoot":"","sources":["../../src/api/hospital-branches-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;AAEzD,OAAO,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;AAExD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAEhD,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAIlD,OAAO,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;AAExD,OAAO,EAAE,+BAA+B,EAAE,MAAM,WAAW,CAAC;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,EAAE,2BAA2B,CAAA;CACrE;AAED;;;;;GAKG;AACH,qBAAa,mBAAoB,SAAQ,OAAO;IAC5C;;;;;;;OAOG;IACI,wBAAwB,CAAC,iBAAiB,GAAE,kDAAuD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIxI;;;;;;;OAOG;IACI,2CAA2C,CAAC,iBAAiB,EAAE,qEAAqE,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIzK;;;;;;;OAOG;IACI,wCAAwC,CAAC,iBAAiB,EAAE,kEAAkE,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAInK;;;;;;;OAOG;IACI,8DAA8D,CAAC,iBAAiB,EAAE,wFAAwF,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI/M;;;;;;;OAOG;IACI,4DAA4D,CAAC,iBAAiB,EAAE,sFAAsF,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI3M;;;;;;;OAOG;IACI,2DAA2D,CAAC,iBAAiB,EAAE,qFAAqF,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIzM;;;;;;;OAOG;IACI,wCAAwC,CAAC,iBAAiB,EAAE,kEAAkE,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAInK;;;;;;;OAOG;IACI,kDAAkD,CAAC,iBAAiB,EAAE,4EAA4E,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIvL;;;;;;;OAOG;IACI,yBAAyB,CAAC,iBAAiB,GAAE,mDAAwD,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAG7I"}
|
|
@@ -255,6 +255,153 @@ var HospitalBranchesApiAxiosParamCreator = function (configuration) {
|
|
|
255
255
|
});
|
|
256
256
|
});
|
|
257
257
|
},
|
|
258
|
+
/**
|
|
259
|
+
*
|
|
260
|
+
* @summary Remove hospital from HospitalBranch
|
|
261
|
+
* @param {string} hospitalBranchId
|
|
262
|
+
* @param {string} hospitalId
|
|
263
|
+
* @param {*} [options] Override http request option.
|
|
264
|
+
* @throws {RequiredError}
|
|
265
|
+
*/
|
|
266
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete: function (hospitalBranchId, hospitalId, options) {
|
|
267
|
+
if (options === void 0) { options = {}; }
|
|
268
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
269
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
270
|
+
return __generator(this, function (_a) {
|
|
271
|
+
switch (_a.label) {
|
|
272
|
+
case 0:
|
|
273
|
+
// verify required parameter 'hospitalBranchId' is not null or undefined
|
|
274
|
+
(0, common_1.assertParamExists)('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete', 'hospitalBranchId', hospitalBranchId);
|
|
275
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
276
|
+
(0, common_1.assertParamExists)('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete', 'hospitalId', hospitalId);
|
|
277
|
+
localVarPath = "/api/v1/hospitalbranches/{hospitalBranchId}/hospitals/{hospitalId}"
|
|
278
|
+
.replace("{".concat("hospitalBranchId", "}"), encodeURIComponent(String(hospitalBranchId)))
|
|
279
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
280
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
281
|
+
if (configuration) {
|
|
282
|
+
baseOptions = configuration.baseOptions;
|
|
283
|
+
}
|
|
284
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
285
|
+
localVarHeaderParameter = {};
|
|
286
|
+
localVarQueryParameter = {};
|
|
287
|
+
// authentication oauth2 required
|
|
288
|
+
// oauth required
|
|
289
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
290
|
+
case 1:
|
|
291
|
+
// authentication oauth2 required
|
|
292
|
+
// oauth required
|
|
293
|
+
_a.sent();
|
|
294
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
295
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
296
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
297
|
+
return [2 /*return*/, {
|
|
298
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
299
|
+
options: localVarRequestOptions,
|
|
300
|
+
}];
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
});
|
|
304
|
+
},
|
|
305
|
+
/**
|
|
306
|
+
*
|
|
307
|
+
* @summary Add hospital into HospitalBranch
|
|
308
|
+
* @param {string} hospitalBranchId
|
|
309
|
+
* @param {string} hospitalId
|
|
310
|
+
* @param {AddHospitalIntoBranchCommand} [addHospitalIntoBranchCommand]
|
|
311
|
+
* @param {*} [options] Override http request option.
|
|
312
|
+
* @throws {RequiredError}
|
|
313
|
+
*/
|
|
314
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost: function (hospitalBranchId, hospitalId, addHospitalIntoBranchCommand, options) {
|
|
315
|
+
if (options === void 0) { options = {}; }
|
|
316
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
317
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
318
|
+
return __generator(this, function (_a) {
|
|
319
|
+
switch (_a.label) {
|
|
320
|
+
case 0:
|
|
321
|
+
// verify required parameter 'hospitalBranchId' is not null or undefined
|
|
322
|
+
(0, common_1.assertParamExists)('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost', 'hospitalBranchId', hospitalBranchId);
|
|
323
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
324
|
+
(0, common_1.assertParamExists)('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost', 'hospitalId', hospitalId);
|
|
325
|
+
localVarPath = "/api/v1/hospitalbranches/{hospitalBranchId}/hospitals/{hospitalId}"
|
|
326
|
+
.replace("{".concat("hospitalBranchId", "}"), encodeURIComponent(String(hospitalBranchId)))
|
|
327
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
328
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
329
|
+
if (configuration) {
|
|
330
|
+
baseOptions = configuration.baseOptions;
|
|
331
|
+
}
|
|
332
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
333
|
+
localVarHeaderParameter = {};
|
|
334
|
+
localVarQueryParameter = {};
|
|
335
|
+
// authentication oauth2 required
|
|
336
|
+
// oauth required
|
|
337
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
338
|
+
case 1:
|
|
339
|
+
// authentication oauth2 required
|
|
340
|
+
// oauth required
|
|
341
|
+
_a.sent();
|
|
342
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
343
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
344
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
345
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
346
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addHospitalIntoBranchCommand, localVarRequestOptions, configuration);
|
|
347
|
+
return [2 /*return*/, {
|
|
348
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
349
|
+
options: localVarRequestOptions,
|
|
350
|
+
}];
|
|
351
|
+
}
|
|
352
|
+
});
|
|
353
|
+
});
|
|
354
|
+
},
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @summary Update hospitalBranchItem
|
|
358
|
+
* @param {string} hospitalBranchId
|
|
359
|
+
* @param {string} hospitalId
|
|
360
|
+
* @param {UpdateHospitalBranchItemCommand} [updateHospitalBranchItemCommand]
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
*/
|
|
364
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut: function (hospitalBranchId, hospitalId, updateHospitalBranchItemCommand, options) {
|
|
365
|
+
if (options === void 0) { options = {}; }
|
|
366
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
367
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
368
|
+
return __generator(this, function (_a) {
|
|
369
|
+
switch (_a.label) {
|
|
370
|
+
case 0:
|
|
371
|
+
// verify required parameter 'hospitalBranchId' is not null or undefined
|
|
372
|
+
(0, common_1.assertParamExists)('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut', 'hospitalBranchId', hospitalBranchId);
|
|
373
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
374
|
+
(0, common_1.assertParamExists)('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut', 'hospitalId', hospitalId);
|
|
375
|
+
localVarPath = "/api/v1/hospitalbranches/{hospitalBranchId}/hospitals/{hospitalId}"
|
|
376
|
+
.replace("{".concat("hospitalBranchId", "}"), encodeURIComponent(String(hospitalBranchId)))
|
|
377
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
378
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
379
|
+
if (configuration) {
|
|
380
|
+
baseOptions = configuration.baseOptions;
|
|
381
|
+
}
|
|
382
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
383
|
+
localVarHeaderParameter = {};
|
|
384
|
+
localVarQueryParameter = {};
|
|
385
|
+
// authentication oauth2 required
|
|
386
|
+
// oauth required
|
|
387
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
388
|
+
case 1:
|
|
389
|
+
// authentication oauth2 required
|
|
390
|
+
// oauth required
|
|
391
|
+
_a.sent();
|
|
392
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
393
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
394
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
395
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
396
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateHospitalBranchItemCommand, localVarRequestOptions, configuration);
|
|
397
|
+
return [2 /*return*/, {
|
|
398
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
399
|
+
options: localVarRequestOptions,
|
|
400
|
+
}];
|
|
401
|
+
}
|
|
402
|
+
});
|
|
403
|
+
});
|
|
404
|
+
},
|
|
258
405
|
/**
|
|
259
406
|
*
|
|
260
407
|
* @summary Update hospitalBranch
|
|
@@ -464,6 +611,71 @@ var HospitalBranchesApiFp = function (configuration) {
|
|
|
464
611
|
});
|
|
465
612
|
});
|
|
466
613
|
},
|
|
614
|
+
/**
|
|
615
|
+
*
|
|
616
|
+
* @summary Remove hospital from HospitalBranch
|
|
617
|
+
* @param {string} hospitalBranchId
|
|
618
|
+
* @param {string} hospitalId
|
|
619
|
+
* @param {*} [options] Override http request option.
|
|
620
|
+
* @throws {RequiredError}
|
|
621
|
+
*/
|
|
622
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete: function (hospitalBranchId, hospitalId, options) {
|
|
623
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
624
|
+
var localVarAxiosArgs;
|
|
625
|
+
return __generator(this, function (_a) {
|
|
626
|
+
switch (_a.label) {
|
|
627
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(hospitalBranchId, hospitalId, options)];
|
|
628
|
+
case 1:
|
|
629
|
+
localVarAxiosArgs = _a.sent();
|
|
630
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
631
|
+
}
|
|
632
|
+
});
|
|
633
|
+
});
|
|
634
|
+
},
|
|
635
|
+
/**
|
|
636
|
+
*
|
|
637
|
+
* @summary Add hospital into HospitalBranch
|
|
638
|
+
* @param {string} hospitalBranchId
|
|
639
|
+
* @param {string} hospitalId
|
|
640
|
+
* @param {AddHospitalIntoBranchCommand} [addHospitalIntoBranchCommand]
|
|
641
|
+
* @param {*} [options] Override http request option.
|
|
642
|
+
* @throws {RequiredError}
|
|
643
|
+
*/
|
|
644
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost: function (hospitalBranchId, hospitalId, addHospitalIntoBranchCommand, options) {
|
|
645
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
646
|
+
var localVarAxiosArgs;
|
|
647
|
+
return __generator(this, function (_a) {
|
|
648
|
+
switch (_a.label) {
|
|
649
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(hospitalBranchId, hospitalId, addHospitalIntoBranchCommand, options)];
|
|
650
|
+
case 1:
|
|
651
|
+
localVarAxiosArgs = _a.sent();
|
|
652
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
653
|
+
}
|
|
654
|
+
});
|
|
655
|
+
});
|
|
656
|
+
},
|
|
657
|
+
/**
|
|
658
|
+
*
|
|
659
|
+
* @summary Update hospitalBranchItem
|
|
660
|
+
* @param {string} hospitalBranchId
|
|
661
|
+
* @param {string} hospitalId
|
|
662
|
+
* @param {UpdateHospitalBranchItemCommand} [updateHospitalBranchItemCommand]
|
|
663
|
+
* @param {*} [options] Override http request option.
|
|
664
|
+
* @throws {RequiredError}
|
|
665
|
+
*/
|
|
666
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut: function (hospitalBranchId, hospitalId, updateHospitalBranchItemCommand, options) {
|
|
667
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
668
|
+
var localVarAxiosArgs;
|
|
669
|
+
return __generator(this, function (_a) {
|
|
670
|
+
switch (_a.label) {
|
|
671
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(hospitalBranchId, hospitalId, updateHospitalBranchItemCommand, options)];
|
|
672
|
+
case 1:
|
|
673
|
+
localVarAxiosArgs = _a.sent();
|
|
674
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
675
|
+
}
|
|
676
|
+
});
|
|
677
|
+
});
|
|
678
|
+
},
|
|
467
679
|
/**
|
|
468
680
|
*
|
|
469
681
|
* @summary Update hospitalBranch
|
|
@@ -573,6 +785,41 @@ var HospitalBranchesApiFactory = function (configuration, basePath, axios) {
|
|
|
573
785
|
apiV1HospitalbranchesHospitalBranchIdGet: function (hospitalBranchId, languageCode, options) {
|
|
574
786
|
return localVarFp.apiV1HospitalbranchesHospitalBranchIdGet(hospitalBranchId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
575
787
|
},
|
|
788
|
+
/**
|
|
789
|
+
*
|
|
790
|
+
* @summary Remove hospital from HospitalBranch
|
|
791
|
+
* @param {string} hospitalBranchId
|
|
792
|
+
* @param {string} hospitalId
|
|
793
|
+
* @param {*} [options] Override http request option.
|
|
794
|
+
* @throws {RequiredError}
|
|
795
|
+
*/
|
|
796
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete: function (hospitalBranchId, hospitalId, options) {
|
|
797
|
+
return localVarFp.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(hospitalBranchId, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
798
|
+
},
|
|
799
|
+
/**
|
|
800
|
+
*
|
|
801
|
+
* @summary Add hospital into HospitalBranch
|
|
802
|
+
* @param {string} hospitalBranchId
|
|
803
|
+
* @param {string} hospitalId
|
|
804
|
+
* @param {AddHospitalIntoBranchCommand} [addHospitalIntoBranchCommand]
|
|
805
|
+
* @param {*} [options] Override http request option.
|
|
806
|
+
* @throws {RequiredError}
|
|
807
|
+
*/
|
|
808
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost: function (hospitalBranchId, hospitalId, addHospitalIntoBranchCommand, options) {
|
|
809
|
+
return localVarFp.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(hospitalBranchId, hospitalId, addHospitalIntoBranchCommand, options).then(function (request) { return request(axios, basePath); });
|
|
810
|
+
},
|
|
811
|
+
/**
|
|
812
|
+
*
|
|
813
|
+
* @summary Update hospitalBranchItem
|
|
814
|
+
* @param {string} hospitalBranchId
|
|
815
|
+
* @param {string} hospitalId
|
|
816
|
+
* @param {UpdateHospitalBranchItemCommand} [updateHospitalBranchItemCommand]
|
|
817
|
+
* @param {*} [options] Override http request option.
|
|
818
|
+
* @throws {RequiredError}
|
|
819
|
+
*/
|
|
820
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut: function (hospitalBranchId, hospitalId, updateHospitalBranchItemCommand, options) {
|
|
821
|
+
return localVarFp.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(hospitalBranchId, hospitalId, updateHospitalBranchItemCommand, options).then(function (request) { return request(axios, basePath); });
|
|
822
|
+
},
|
|
576
823
|
/**
|
|
577
824
|
*
|
|
578
825
|
* @summary Update hospitalBranch
|
|
@@ -655,6 +902,42 @@ var HospitalBranchesApi = /** @class */ (function (_super) {
|
|
|
655
902
|
var _this = this;
|
|
656
903
|
return (0, exports.HospitalBranchesApiFp)(this.configuration).apiV1HospitalbranchesHospitalBranchIdGet(requestParameters.hospitalBranchId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
657
904
|
};
|
|
905
|
+
/**
|
|
906
|
+
*
|
|
907
|
+
* @summary Remove hospital from HospitalBranch
|
|
908
|
+
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDeleteRequest} requestParameters Request parameters.
|
|
909
|
+
* @param {*} [options] Override http request option.
|
|
910
|
+
* @throws {RequiredError}
|
|
911
|
+
* @memberof HospitalBranchesApi
|
|
912
|
+
*/
|
|
913
|
+
HospitalBranchesApi.prototype.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete = function (requestParameters, options) {
|
|
914
|
+
var _this = this;
|
|
915
|
+
return (0, exports.HospitalBranchesApiFp)(this.configuration).apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(requestParameters.hospitalBranchId, requestParameters.hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
916
|
+
};
|
|
917
|
+
/**
|
|
918
|
+
*
|
|
919
|
+
* @summary Add hospital into HospitalBranch
|
|
920
|
+
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPostRequest} requestParameters Request parameters.
|
|
921
|
+
* @param {*} [options] Override http request option.
|
|
922
|
+
* @throws {RequiredError}
|
|
923
|
+
* @memberof HospitalBranchesApi
|
|
924
|
+
*/
|
|
925
|
+
HospitalBranchesApi.prototype.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost = function (requestParameters, options) {
|
|
926
|
+
var _this = this;
|
|
927
|
+
return (0, exports.HospitalBranchesApiFp)(this.configuration).apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(requestParameters.hospitalBranchId, requestParameters.hospitalId, requestParameters.addHospitalIntoBranchCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
928
|
+
};
|
|
929
|
+
/**
|
|
930
|
+
*
|
|
931
|
+
* @summary Update hospitalBranchItem
|
|
932
|
+
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPutRequest} requestParameters Request parameters.
|
|
933
|
+
* @param {*} [options] Override http request option.
|
|
934
|
+
* @throws {RequiredError}
|
|
935
|
+
* @memberof HospitalBranchesApi
|
|
936
|
+
*/
|
|
937
|
+
HospitalBranchesApi.prototype.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut = function (requestParameters, options) {
|
|
938
|
+
var _this = this;
|
|
939
|
+
return (0, exports.HospitalBranchesApiFp)(this.configuration).apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(requestParameters.hospitalBranchId, requestParameters.hospitalId, requestParameters.updateHospitalBranchItemCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
940
|
+
};
|
|
658
941
|
/**
|
|
659
942
|
*
|
|
660
943
|
* @summary Update hospitalBranch
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
3
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
6
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AddHospitalIntoBranchCommand
|
|
16
|
+
*/
|
|
17
|
+
export interface AddHospitalIntoBranchCommand {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AddHospitalIntoBranchCommand
|
|
22
|
+
*/
|
|
23
|
+
'languageCode'?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AddHospitalIntoBranchCommand
|
|
28
|
+
*/
|
|
29
|
+
'order'?: number;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=add-hospital-into-branch-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-hospital-into-branch-command.d.ts","sourceRoot":"","sources":["../../src/models/add-hospital-into-branch-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -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 });
|
|
@@ -21,12 +21,6 @@ export interface CreateHospitalBranchCommand {
|
|
|
21
21
|
* @memberof CreateHospitalBranchCommand
|
|
22
22
|
*/
|
|
23
23
|
'hospitalGroupId'?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CreateHospitalBranchCommand
|
|
28
|
-
*/
|
|
29
|
-
'hospitalId'?: string;
|
|
30
24
|
/**
|
|
31
25
|
*
|
|
32
26
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-hospital-branch-command.d.ts","sourceRoot":"","sources":["../../src/models/create-hospital-branch-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"create-hospital-branch-command.d.ts","sourceRoot":"","sources":["../../src/models/create-hospital-branch-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
|