ch-admin-api-client-typescript 5.19.8 → 5.19.13
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/api/hospitals-api.d.ts +434 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +612 -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/create-notice-command.d.ts +62 -0
- package/lib/models/create-notice-command.d.ts.map +1 -0
- package/lib/models/create-notice-command.js +15 -0
- 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 +9 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +9 -0
- package/lib/models/notice-item-model.d.ts +87 -0
- package/lib/models/notice-item-model.d.ts.map +1 -0
- package/lib/models/notice-item-model.js +15 -0
- package/lib/models/notice-model.d.ts +105 -0
- package/lib/models/notice-model.d.ts.map +1 -0
- package/lib/models/notice-model.js +15 -0
- package/lib/models/notice-status.d.ts +23 -0
- package/lib/models/notice-status.d.ts.map +1 -0
- package/lib/models/notice-status.js +26 -0
- package/lib/models/notices-model.d.ts +33 -0
- package/lib/models/notices-model.d.ts.map +1 -0
- package/lib/models/notices-model.js +15 -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/lib/models/update-notice-command.d.ts +62 -0
- package/lib/models/update-notice-command.d.ts.map +1 -0
- package/lib/models/update-notice-command.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +9 -0
- package/src/api/hospital-branches-api.ts +324 -0
- package/src/api/hospitals-api.ts +758 -4
- package/src/models/add-hospital-into-branch-command.ts +36 -0
- package/src/models/create-hospital-branch-command.ts +0 -6
- package/src/models/create-notice-command.ts +69 -0
- 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 +9 -0
- package/src/models/notice-item-model.ts +96 -0
- package/src/models/notice-model.ts +114 -0
- package/src/models/notice-status.ts +32 -0
- package/src/models/notices-model.ts +42 -0
- package/src/models/update-hospital-branch-item-command.ts +36 -0
- package/src/models/update-notice-command.ts +69 -0
|
@@ -21,6 +21,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { AddHospitalIntoBranchCommand } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
24
26
|
import { CreateHospitalBranchCommand } from '../models';
|
|
25
27
|
// @ts-ignore
|
|
26
28
|
import { HospitalBranchModel } from '../models';
|
|
@@ -30,6 +32,8 @@ import { HospitalBranchesModel } from '../models';
|
|
|
30
32
|
import { ProblemDetails } from '../models';
|
|
31
33
|
// @ts-ignore
|
|
32
34
|
import { UpdateHospitalBranchCommand } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
import { UpdateHospitalBranchItemCommand } from '../models';
|
|
33
37
|
/**
|
|
34
38
|
* HospitalBranchesApi - axios parameter creator
|
|
35
39
|
* @export
|
|
@@ -193,6 +197,140 @@ export const HospitalBranchesApiAxiosParamCreator = function (configuration?: Co
|
|
|
193
197
|
options: localVarRequestOptions,
|
|
194
198
|
};
|
|
195
199
|
},
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @summary Remove hospital from HospitalBranch
|
|
203
|
+
* @param {string} hospitalBranchId
|
|
204
|
+
* @param {string} hospitalId
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
*/
|
|
208
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete: async (hospitalBranchId: string, hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
209
|
+
// verify required parameter 'hospitalBranchId' is not null or undefined
|
|
210
|
+
assertParamExists('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete', 'hospitalBranchId', hospitalBranchId)
|
|
211
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
212
|
+
assertParamExists('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete', 'hospitalId', hospitalId)
|
|
213
|
+
const localVarPath = `/api/v1/hospitalbranches/{hospitalBranchId}/hospitals/{hospitalId}`
|
|
214
|
+
.replace(`{${"hospitalBranchId"}}`, encodeURIComponent(String(hospitalBranchId)))
|
|
215
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
216
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
217
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
218
|
+
let baseOptions;
|
|
219
|
+
if (configuration) {
|
|
220
|
+
baseOptions = configuration.baseOptions;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
224
|
+
const localVarHeaderParameter = {} as any;
|
|
225
|
+
const localVarQueryParameter = {} as any;
|
|
226
|
+
|
|
227
|
+
// authentication oauth2 required
|
|
228
|
+
// oauth required
|
|
229
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
234
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
236
|
+
|
|
237
|
+
return {
|
|
238
|
+
url: toPathString(localVarUrlObj),
|
|
239
|
+
options: localVarRequestOptions,
|
|
240
|
+
};
|
|
241
|
+
},
|
|
242
|
+
/**
|
|
243
|
+
*
|
|
244
|
+
* @summary Add hospital into HospitalBranch
|
|
245
|
+
* @param {string} hospitalBranchId
|
|
246
|
+
* @param {string} hospitalId
|
|
247
|
+
* @param {AddHospitalIntoBranchCommand} [addHospitalIntoBranchCommand]
|
|
248
|
+
* @param {*} [options] Override http request option.
|
|
249
|
+
* @throws {RequiredError}
|
|
250
|
+
*/
|
|
251
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost: async (hospitalBranchId: string, hospitalId: string, addHospitalIntoBranchCommand?: AddHospitalIntoBranchCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
252
|
+
// verify required parameter 'hospitalBranchId' is not null or undefined
|
|
253
|
+
assertParamExists('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost', 'hospitalBranchId', hospitalBranchId)
|
|
254
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
255
|
+
assertParamExists('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost', 'hospitalId', hospitalId)
|
|
256
|
+
const localVarPath = `/api/v1/hospitalbranches/{hospitalBranchId}/hospitals/{hospitalId}`
|
|
257
|
+
.replace(`{${"hospitalBranchId"}}`, encodeURIComponent(String(hospitalBranchId)))
|
|
258
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
259
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
260
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
261
|
+
let baseOptions;
|
|
262
|
+
if (configuration) {
|
|
263
|
+
baseOptions = configuration.baseOptions;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
267
|
+
const localVarHeaderParameter = {} as any;
|
|
268
|
+
const localVarQueryParameter = {} as any;
|
|
269
|
+
|
|
270
|
+
// authentication oauth2 required
|
|
271
|
+
// oauth required
|
|
272
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
277
|
+
|
|
278
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
279
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
280
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
281
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addHospitalIntoBranchCommand, localVarRequestOptions, configuration)
|
|
282
|
+
|
|
283
|
+
return {
|
|
284
|
+
url: toPathString(localVarUrlObj),
|
|
285
|
+
options: localVarRequestOptions,
|
|
286
|
+
};
|
|
287
|
+
},
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @summary Update hospitalBranchItem
|
|
291
|
+
* @param {string} hospitalBranchId
|
|
292
|
+
* @param {string} hospitalId
|
|
293
|
+
* @param {UpdateHospitalBranchItemCommand} [updateHospitalBranchItemCommand]
|
|
294
|
+
* @param {*} [options] Override http request option.
|
|
295
|
+
* @throws {RequiredError}
|
|
296
|
+
*/
|
|
297
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut: async (hospitalBranchId: string, hospitalId: string, updateHospitalBranchItemCommand?: UpdateHospitalBranchItemCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
298
|
+
// verify required parameter 'hospitalBranchId' is not null or undefined
|
|
299
|
+
assertParamExists('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut', 'hospitalBranchId', hospitalBranchId)
|
|
300
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
301
|
+
assertParamExists('apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut', 'hospitalId', hospitalId)
|
|
302
|
+
const localVarPath = `/api/v1/hospitalbranches/{hospitalBranchId}/hospitals/{hospitalId}`
|
|
303
|
+
.replace(`{${"hospitalBranchId"}}`, encodeURIComponent(String(hospitalBranchId)))
|
|
304
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
305
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
306
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
307
|
+
let baseOptions;
|
|
308
|
+
if (configuration) {
|
|
309
|
+
baseOptions = configuration.baseOptions;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
313
|
+
const localVarHeaderParameter = {} as any;
|
|
314
|
+
const localVarQueryParameter = {} as any;
|
|
315
|
+
|
|
316
|
+
// authentication oauth2 required
|
|
317
|
+
// oauth required
|
|
318
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
323
|
+
|
|
324
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
325
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
326
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
327
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalBranchItemCommand, localVarRequestOptions, configuration)
|
|
328
|
+
|
|
329
|
+
return {
|
|
330
|
+
url: toPathString(localVarUrlObj),
|
|
331
|
+
options: localVarRequestOptions,
|
|
332
|
+
};
|
|
333
|
+
},
|
|
196
334
|
/**
|
|
197
335
|
*
|
|
198
336
|
* @summary Update hospitalBranch
|
|
@@ -362,6 +500,44 @@ export const HospitalBranchesApiFp = function(configuration?: Configuration) {
|
|
|
362
500
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalbranchesHospitalBranchIdGet(hospitalBranchId, languageCode, options);
|
|
363
501
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
364
502
|
},
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* @summary Remove hospital from HospitalBranch
|
|
506
|
+
* @param {string} hospitalBranchId
|
|
507
|
+
* @param {string} hospitalId
|
|
508
|
+
* @param {*} [options] Override http request option.
|
|
509
|
+
* @throws {RequiredError}
|
|
510
|
+
*/
|
|
511
|
+
async apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(hospitalBranchId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
512
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(hospitalBranchId, hospitalId, options);
|
|
513
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
514
|
+
},
|
|
515
|
+
/**
|
|
516
|
+
*
|
|
517
|
+
* @summary Add hospital into HospitalBranch
|
|
518
|
+
* @param {string} hospitalBranchId
|
|
519
|
+
* @param {string} hospitalId
|
|
520
|
+
* @param {AddHospitalIntoBranchCommand} [addHospitalIntoBranchCommand]
|
|
521
|
+
* @param {*} [options] Override http request option.
|
|
522
|
+
* @throws {RequiredError}
|
|
523
|
+
*/
|
|
524
|
+
async apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(hospitalBranchId: string, hospitalId: string, addHospitalIntoBranchCommand?: AddHospitalIntoBranchCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchModel>> {
|
|
525
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(hospitalBranchId, hospitalId, addHospitalIntoBranchCommand, options);
|
|
526
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
527
|
+
},
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
* @summary Update hospitalBranchItem
|
|
531
|
+
* @param {string} hospitalBranchId
|
|
532
|
+
* @param {string} hospitalId
|
|
533
|
+
* @param {UpdateHospitalBranchItemCommand} [updateHospitalBranchItemCommand]
|
|
534
|
+
* @param {*} [options] Override http request option.
|
|
535
|
+
* @throws {RequiredError}
|
|
536
|
+
*/
|
|
537
|
+
async apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(hospitalBranchId: string, hospitalId: string, updateHospitalBranchItemCommand?: UpdateHospitalBranchItemCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchModel>> {
|
|
538
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(hospitalBranchId, hospitalId, updateHospitalBranchItemCommand, options);
|
|
539
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
540
|
+
},
|
|
365
541
|
/**
|
|
366
542
|
*
|
|
367
543
|
* @summary Update hospitalBranch
|
|
@@ -444,6 +620,41 @@ export const HospitalBranchesApiFactory = function (configuration?: Configuratio
|
|
|
444
620
|
apiV1HospitalbranchesHospitalBranchIdGet(hospitalBranchId: string, languageCode?: string, options?: any): AxiosPromise<HospitalBranchModel> {
|
|
445
621
|
return localVarFp.apiV1HospitalbranchesHospitalBranchIdGet(hospitalBranchId, languageCode, options).then((request) => request(axios, basePath));
|
|
446
622
|
},
|
|
623
|
+
/**
|
|
624
|
+
*
|
|
625
|
+
* @summary Remove hospital from HospitalBranch
|
|
626
|
+
* @param {string} hospitalBranchId
|
|
627
|
+
* @param {string} hospitalId
|
|
628
|
+
* @param {*} [options] Override http request option.
|
|
629
|
+
* @throws {RequiredError}
|
|
630
|
+
*/
|
|
631
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(hospitalBranchId: string, hospitalId: string, options?: any): AxiosPromise<boolean> {
|
|
632
|
+
return localVarFp.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(hospitalBranchId, hospitalId, options).then((request) => request(axios, basePath));
|
|
633
|
+
},
|
|
634
|
+
/**
|
|
635
|
+
*
|
|
636
|
+
* @summary Add hospital into HospitalBranch
|
|
637
|
+
* @param {string} hospitalBranchId
|
|
638
|
+
* @param {string} hospitalId
|
|
639
|
+
* @param {AddHospitalIntoBranchCommand} [addHospitalIntoBranchCommand]
|
|
640
|
+
* @param {*} [options] Override http request option.
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
*/
|
|
643
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(hospitalBranchId: string, hospitalId: string, addHospitalIntoBranchCommand?: AddHospitalIntoBranchCommand, options?: any): AxiosPromise<HospitalBranchModel> {
|
|
644
|
+
return localVarFp.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(hospitalBranchId, hospitalId, addHospitalIntoBranchCommand, options).then((request) => request(axios, basePath));
|
|
645
|
+
},
|
|
646
|
+
/**
|
|
647
|
+
*
|
|
648
|
+
* @summary Update hospitalBranchItem
|
|
649
|
+
* @param {string} hospitalBranchId
|
|
650
|
+
* @param {string} hospitalId
|
|
651
|
+
* @param {UpdateHospitalBranchItemCommand} [updateHospitalBranchItemCommand]
|
|
652
|
+
* @param {*} [options] Override http request option.
|
|
653
|
+
* @throws {RequiredError}
|
|
654
|
+
*/
|
|
655
|
+
apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(hospitalBranchId: string, hospitalId: string, updateHospitalBranchItemCommand?: UpdateHospitalBranchItemCommand, options?: any): AxiosPromise<HospitalBranchModel> {
|
|
656
|
+
return localVarFp.apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(hospitalBranchId, hospitalId, updateHospitalBranchItemCommand, options).then((request) => request(axios, basePath));
|
|
657
|
+
},
|
|
447
658
|
/**
|
|
448
659
|
*
|
|
449
660
|
* @summary Update hospitalBranch
|
|
@@ -576,6 +787,83 @@ export interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdGetRequ
|
|
|
576
787
|
readonly languageCode?: string
|
|
577
788
|
}
|
|
578
789
|
|
|
790
|
+
/**
|
|
791
|
+
* Request parameters for apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete operation in HospitalBranchesApi.
|
|
792
|
+
* @export
|
|
793
|
+
* @interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDeleteRequest
|
|
794
|
+
*/
|
|
795
|
+
export interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDeleteRequest {
|
|
796
|
+
/**
|
|
797
|
+
*
|
|
798
|
+
* @type {string}
|
|
799
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete
|
|
800
|
+
*/
|
|
801
|
+
readonly hospitalBranchId: string
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @type {string}
|
|
806
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete
|
|
807
|
+
*/
|
|
808
|
+
readonly hospitalId: string
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Request parameters for apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost operation in HospitalBranchesApi.
|
|
813
|
+
* @export
|
|
814
|
+
* @interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPostRequest
|
|
815
|
+
*/
|
|
816
|
+
export interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPostRequest {
|
|
817
|
+
/**
|
|
818
|
+
*
|
|
819
|
+
* @type {string}
|
|
820
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost
|
|
821
|
+
*/
|
|
822
|
+
readonly hospitalBranchId: string
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
*
|
|
826
|
+
* @type {string}
|
|
827
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost
|
|
828
|
+
*/
|
|
829
|
+
readonly hospitalId: string
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
*
|
|
833
|
+
* @type {AddHospitalIntoBranchCommand}
|
|
834
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost
|
|
835
|
+
*/
|
|
836
|
+
readonly addHospitalIntoBranchCommand?: AddHospitalIntoBranchCommand
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* Request parameters for apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut operation in HospitalBranchesApi.
|
|
841
|
+
* @export
|
|
842
|
+
* @interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPutRequest
|
|
843
|
+
*/
|
|
844
|
+
export interface HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPutRequest {
|
|
845
|
+
/**
|
|
846
|
+
*
|
|
847
|
+
* @type {string}
|
|
848
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut
|
|
849
|
+
*/
|
|
850
|
+
readonly hospitalBranchId: string
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
*
|
|
854
|
+
* @type {string}
|
|
855
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut
|
|
856
|
+
*/
|
|
857
|
+
readonly hospitalId: string
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
*
|
|
861
|
+
* @type {UpdateHospitalBranchItemCommand}
|
|
862
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut
|
|
863
|
+
*/
|
|
864
|
+
readonly updateHospitalBranchItemCommand?: UpdateHospitalBranchItemCommand
|
|
865
|
+
}
|
|
866
|
+
|
|
579
867
|
/**
|
|
580
868
|
* Request parameters for apiV1HospitalbranchesHospitalBranchIdPut operation in HospitalBranchesApi.
|
|
581
869
|
* @export
|
|
@@ -668,6 +956,42 @@ export class HospitalBranchesApi extends BaseAPI {
|
|
|
668
956
|
return HospitalBranchesApiFp(this.configuration).apiV1HospitalbranchesHospitalBranchIdGet(requestParameters.hospitalBranchId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
669
957
|
}
|
|
670
958
|
|
|
959
|
+
/**
|
|
960
|
+
*
|
|
961
|
+
* @summary Remove hospital from HospitalBranch
|
|
962
|
+
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDeleteRequest} requestParameters Request parameters.
|
|
963
|
+
* @param {*} [options] Override http request option.
|
|
964
|
+
* @throws {RequiredError}
|
|
965
|
+
* @memberof HospitalBranchesApi
|
|
966
|
+
*/
|
|
967
|
+
public apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(requestParameters: HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
968
|
+
return HospitalBranchesApiFp(this.configuration).apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdDelete(requestParameters.hospitalBranchId, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
*
|
|
973
|
+
* @summary Add hospital into HospitalBranch
|
|
974
|
+
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPostRequest} requestParameters Request parameters.
|
|
975
|
+
* @param {*} [options] Override http request option.
|
|
976
|
+
* @throws {RequiredError}
|
|
977
|
+
* @memberof HospitalBranchesApi
|
|
978
|
+
*/
|
|
979
|
+
public apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(requestParameters: HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPostRequest, options?: AxiosRequestConfig) {
|
|
980
|
+
return HospitalBranchesApiFp(this.configuration).apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPost(requestParameters.hospitalBranchId, requestParameters.hospitalId, requestParameters.addHospitalIntoBranchCommand, options).then((request) => request(this.axios, this.basePath));
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
*
|
|
985
|
+
* @summary Update hospitalBranchItem
|
|
986
|
+
* @param {HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPutRequest} requestParameters Request parameters.
|
|
987
|
+
* @param {*} [options] Override http request option.
|
|
988
|
+
* @throws {RequiredError}
|
|
989
|
+
* @memberof HospitalBranchesApi
|
|
990
|
+
*/
|
|
991
|
+
public apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(requestParameters: HospitalBranchesApiApiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPutRequest, options?: AxiosRequestConfig) {
|
|
992
|
+
return HospitalBranchesApiFp(this.configuration).apiV1HospitalbranchesHospitalBranchIdHospitalsHospitalIdPut(requestParameters.hospitalBranchId, requestParameters.hospitalId, requestParameters.updateHospitalBranchItemCommand, options).then((request) => request(this.axios, this.basePath));
|
|
993
|
+
}
|
|
994
|
+
|
|
671
995
|
/**
|
|
672
996
|
*
|
|
673
997
|
* @summary Update hospitalBranch
|