ch-admin-api-client-typescript 5.19.34 → 5.19.39
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/countries-api.d.ts +48 -0
- package/lib/api/countries-api.d.ts.map +1 -1
- package/lib/api/countries-api.js +85 -0
- package/lib/api/hospitals-api.d.ts +178 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +276 -0
- package/lib/models/contact-sorting-command.d.ts +26 -0
- package/lib/models/contact-sorting-command.d.ts.map +1 -0
- package/lib/models/contact-sorting-command.js +15 -0
- package/lib/models/country-item-model.d.ts +6 -0
- package/lib/models/country-item-model.d.ts.map +1 -1
- package/lib/models/country-model.d.ts +6 -0
- package/lib/models/country-model.d.ts.map +1 -1
- package/lib/models/country-sorting-command.d.ts +26 -0
- package/lib/models/country-sorting-command.d.ts.map +1 -0
- package/lib/models/country-sorting-command.js +15 -0
- package/lib/models/create-country-command.d.ts +6 -0
- package/lib/models/create-country-command.d.ts.map +1 -1
- package/lib/models/index.d.ts +6 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +6 -0
- package/lib/models/notice-sorting-command.d.ts +26 -0
- package/lib/models/notice-sorting-command.d.ts.map +1 -0
- package/lib/models/notice-sorting-command.js +15 -0
- package/lib/models/sort-footer-navigations-command.d.ts +26 -0
- package/lib/models/sort-footer-navigations-command.d.ts.map +1 -0
- package/lib/models/sort-footer-navigations-command.js +15 -0
- package/lib/models/sorting-item-model.d.ts +31 -0
- package/lib/models/sorting-item-model.d.ts.map +1 -0
- package/lib/models/sorting-item-model.js +15 -0
- package/lib/models/sorting-result-model.d.ts +26 -0
- package/lib/models/sorting-result-model.d.ts.map +1 -0
- package/lib/models/sorting-result-model.js +15 -0
- package/lib/models/update-country-command.d.ts +6 -0
- package/lib/models/update-country-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +6 -0
- package/src/api/countries-api.ts +89 -0
- package/src/api/hospitals-api.ts +315 -0
- package/src/models/contact-sorting-command.ts +33 -0
- package/src/models/country-item-model.ts +6 -0
- package/src/models/country-model.ts +6 -0
- package/src/models/country-sorting-command.ts +33 -0
- package/src/models/create-country-command.ts +6 -0
- package/src/models/index.ts +6 -0
- package/src/models/notice-sorting-command.ts +33 -0
- package/src/models/sort-footer-navigations-command.ts +33 -0
- package/src/models/sorting-item-model.ts +36 -0
- package/src/models/sorting-result-model.ts +33 -0
- package/src/models/update-country-command.ts +6 -0
package/src/api/hospitals-api.ts
CHANGED
|
@@ -37,6 +37,8 @@ import { BatchHospitalSpecialtyAppointmentTimetablesCommand } from '../models';
|
|
|
37
37
|
// @ts-ignore
|
|
38
38
|
import { BatchServiceAppointmentTimetablesCommand } from '../models';
|
|
39
39
|
// @ts-ignore
|
|
40
|
+
import { ContactSortingCommand } from '../models';
|
|
41
|
+
// @ts-ignore
|
|
40
42
|
import { ContactType } from '../models';
|
|
41
43
|
// @ts-ignore
|
|
42
44
|
import { CreateHospitalAccreditationCommand } from '../models';
|
|
@@ -149,6 +151,8 @@ import { MediasModel } from '../models';
|
|
|
149
151
|
// @ts-ignore
|
|
150
152
|
import { NoticeModel } from '../models';
|
|
151
153
|
// @ts-ignore
|
|
154
|
+
import { NoticeSortingCommand } from '../models';
|
|
155
|
+
// @ts-ignore
|
|
152
156
|
import { NoticeStatus } from '../models';
|
|
153
157
|
// @ts-ignore
|
|
154
158
|
import { NoticesModel } from '../models';
|
|
@@ -181,6 +185,10 @@ import { SnsHandleModel } from '../models';
|
|
|
181
185
|
// @ts-ignore
|
|
182
186
|
import { SnsType } from '../models';
|
|
183
187
|
// @ts-ignore
|
|
188
|
+
import { SortFooterNavigationsCommand } from '../models';
|
|
189
|
+
// @ts-ignore
|
|
190
|
+
import { SortingResultModel } from '../models';
|
|
191
|
+
// @ts-ignore
|
|
184
192
|
import { TranslateHospitalCommand } from '../models';
|
|
185
193
|
// @ts-ignore
|
|
186
194
|
import { TranslateHospitalServiceCommand } from '../models';
|
|
@@ -1286,6 +1294,48 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1286
1294
|
options: localVarRequestOptions,
|
|
1287
1295
|
};
|
|
1288
1296
|
},
|
|
1297
|
+
/**
|
|
1298
|
+
*
|
|
1299
|
+
* @summary Batch for contacts sorting
|
|
1300
|
+
* @param {string} hospitalId
|
|
1301
|
+
* @param {ContactSortingCommand} [contactSortingCommand]
|
|
1302
|
+
* @param {*} [options] Override http request option.
|
|
1303
|
+
* @throws {RequiredError}
|
|
1304
|
+
*/
|
|
1305
|
+
apiV1HospitalsHospitalIdContactsSortPut: async (hospitalId: string, contactSortingCommand?: ContactSortingCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1306
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
1307
|
+
assertParamExists('apiV1HospitalsHospitalIdContactsSortPut', 'hospitalId', hospitalId)
|
|
1308
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/contacts/sort`
|
|
1309
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
1310
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1311
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1312
|
+
let baseOptions;
|
|
1313
|
+
if (configuration) {
|
|
1314
|
+
baseOptions = configuration.baseOptions;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
1318
|
+
const localVarHeaderParameter = {} as any;
|
|
1319
|
+
const localVarQueryParameter = {} as any;
|
|
1320
|
+
|
|
1321
|
+
// authentication oauth2 required
|
|
1322
|
+
// oauth required
|
|
1323
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
1324
|
+
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1328
|
+
|
|
1329
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1330
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1331
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1332
|
+
localVarRequestOptions.data = serializeDataIfNeeded(contactSortingCommand, localVarRequestOptions, configuration)
|
|
1333
|
+
|
|
1334
|
+
return {
|
|
1335
|
+
url: toPathString(localVarUrlObj),
|
|
1336
|
+
options: localVarRequestOptions,
|
|
1337
|
+
};
|
|
1338
|
+
},
|
|
1289
1339
|
/**
|
|
1290
1340
|
*
|
|
1291
1341
|
* @summary Delete Hospital.
|
|
@@ -2319,6 +2369,52 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2319
2369
|
options: localVarRequestOptions,
|
|
2320
2370
|
};
|
|
2321
2371
|
},
|
|
2372
|
+
/**
|
|
2373
|
+
*
|
|
2374
|
+
* @summary Batch for footer navigation items sorting <br> Level 1 item only
|
|
2375
|
+
* @param {string} hospitalId
|
|
2376
|
+
* @param {string} languageCode
|
|
2377
|
+
* @param {SortFooterNavigationsCommand} [sortFooterNavigationsCommand]
|
|
2378
|
+
* @param {*} [options] Override http request option.
|
|
2379
|
+
* @throws {RequiredError}
|
|
2380
|
+
*/
|
|
2381
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPut: async (hospitalId: string, languageCode: string, sortFooterNavigationsCommand?: SortFooterNavigationsCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2382
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
2383
|
+
assertParamExists('apiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPut', 'hospitalId', hospitalId)
|
|
2384
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
2385
|
+
assertParamExists('apiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPut', 'languageCode', languageCode)
|
|
2386
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/footernavigations/{languageCode}/sort`
|
|
2387
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
2388
|
+
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
|
|
2389
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2390
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2391
|
+
let baseOptions;
|
|
2392
|
+
if (configuration) {
|
|
2393
|
+
baseOptions = configuration.baseOptions;
|
|
2394
|
+
}
|
|
2395
|
+
|
|
2396
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
2397
|
+
const localVarHeaderParameter = {} as any;
|
|
2398
|
+
const localVarQueryParameter = {} as any;
|
|
2399
|
+
|
|
2400
|
+
// authentication oauth2 required
|
|
2401
|
+
// oauth required
|
|
2402
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
2403
|
+
|
|
2404
|
+
|
|
2405
|
+
|
|
2406
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2407
|
+
|
|
2408
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2409
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2410
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2411
|
+
localVarRequestOptions.data = serializeDataIfNeeded(sortFooterNavigationsCommand, localVarRequestOptions, configuration)
|
|
2412
|
+
|
|
2413
|
+
return {
|
|
2414
|
+
url: toPathString(localVarUrlObj),
|
|
2415
|
+
options: localVarRequestOptions,
|
|
2416
|
+
};
|
|
2417
|
+
},
|
|
2322
2418
|
/**
|
|
2323
2419
|
*
|
|
2324
2420
|
* @summary Get Hospital.
|
|
@@ -4013,6 +4109,48 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4013
4109
|
options: localVarRequestOptions,
|
|
4014
4110
|
};
|
|
4015
4111
|
},
|
|
4112
|
+
/**
|
|
4113
|
+
*
|
|
4114
|
+
* @summary Batch for notices sorting
|
|
4115
|
+
* @param {string} hospitalId
|
|
4116
|
+
* @param {NoticeSortingCommand} [noticeSortingCommand]
|
|
4117
|
+
* @param {*} [options] Override http request option.
|
|
4118
|
+
* @throws {RequiredError}
|
|
4119
|
+
*/
|
|
4120
|
+
apiV1HospitalsHospitalIdNoticesSortPut: async (hospitalId: string, noticeSortingCommand?: NoticeSortingCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4121
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4122
|
+
assertParamExists('apiV1HospitalsHospitalIdNoticesSortPut', 'hospitalId', hospitalId)
|
|
4123
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/notices/sort`
|
|
4124
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
4125
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4126
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4127
|
+
let baseOptions;
|
|
4128
|
+
if (configuration) {
|
|
4129
|
+
baseOptions = configuration.baseOptions;
|
|
4130
|
+
}
|
|
4131
|
+
|
|
4132
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
4133
|
+
const localVarHeaderParameter = {} as any;
|
|
4134
|
+
const localVarQueryParameter = {} as any;
|
|
4135
|
+
|
|
4136
|
+
// authentication oauth2 required
|
|
4137
|
+
// oauth required
|
|
4138
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
4139
|
+
|
|
4140
|
+
|
|
4141
|
+
|
|
4142
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4143
|
+
|
|
4144
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4145
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4146
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4147
|
+
localVarRequestOptions.data = serializeDataIfNeeded(noticeSortingCommand, localVarRequestOptions, configuration)
|
|
4148
|
+
|
|
4149
|
+
return {
|
|
4150
|
+
url: toPathString(localVarUrlObj),
|
|
4151
|
+
options: localVarRequestOptions,
|
|
4152
|
+
};
|
|
4153
|
+
},
|
|
4016
4154
|
/**
|
|
4017
4155
|
*
|
|
4018
4156
|
* @summary Get hospitalPaymentMethods list
|
|
@@ -8297,6 +8435,18 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
8297
8435
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsPost(hospitalId, createHospitalContactCommand, options);
|
|
8298
8436
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8299
8437
|
},
|
|
8438
|
+
/**
|
|
8439
|
+
*
|
|
8440
|
+
* @summary Batch for contacts sorting
|
|
8441
|
+
* @param {string} hospitalId
|
|
8442
|
+
* @param {ContactSortingCommand} [contactSortingCommand]
|
|
8443
|
+
* @param {*} [options] Override http request option.
|
|
8444
|
+
* @throws {RequiredError}
|
|
8445
|
+
*/
|
|
8446
|
+
async apiV1HospitalsHospitalIdContactsSortPut(hospitalId: string, contactSortingCommand?: ContactSortingCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SortingResultModel>> {
|
|
8447
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsSortPut(hospitalId, contactSortingCommand, options);
|
|
8448
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8449
|
+
},
|
|
8300
8450
|
/**
|
|
8301
8451
|
*
|
|
8302
8452
|
* @summary Delete Hospital.
|
|
@@ -8579,6 +8729,19 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
8579
8729
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdFooternavigationsLanguageCodePost(hospitalId, languageCode, saveFooterNavigationsCommand, options);
|
|
8580
8730
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8581
8731
|
},
|
|
8732
|
+
/**
|
|
8733
|
+
*
|
|
8734
|
+
* @summary Batch for footer navigation items sorting <br> Level 1 item only
|
|
8735
|
+
* @param {string} hospitalId
|
|
8736
|
+
* @param {string} languageCode
|
|
8737
|
+
* @param {SortFooterNavigationsCommand} [sortFooterNavigationsCommand]
|
|
8738
|
+
* @param {*} [options] Override http request option.
|
|
8739
|
+
* @throws {RequiredError}
|
|
8740
|
+
*/
|
|
8741
|
+
async apiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPut(hospitalId: string, languageCode: string, sortFooterNavigationsCommand?: SortFooterNavigationsCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SortingResultModel>> {
|
|
8742
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPut(hospitalId, languageCode, sortFooterNavigationsCommand, options);
|
|
8743
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8744
|
+
},
|
|
8582
8745
|
/**
|
|
8583
8746
|
*
|
|
8584
8747
|
* @summary Get Hospital.
|
|
@@ -9037,6 +9200,18 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
9037
9200
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdNoticesPost(hospitalId, createNoticeCommand, options);
|
|
9038
9201
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9039
9202
|
},
|
|
9203
|
+
/**
|
|
9204
|
+
*
|
|
9205
|
+
* @summary Batch for notices sorting
|
|
9206
|
+
* @param {string} hospitalId
|
|
9207
|
+
* @param {NoticeSortingCommand} [noticeSortingCommand]
|
|
9208
|
+
* @param {*} [options] Override http request option.
|
|
9209
|
+
* @throws {RequiredError}
|
|
9210
|
+
*/
|
|
9211
|
+
async apiV1HospitalsHospitalIdNoticesSortPut(hospitalId: string, noticeSortingCommand?: NoticeSortingCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SortingResultModel>> {
|
|
9212
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdNoticesSortPut(hospitalId, noticeSortingCommand, options);
|
|
9213
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9214
|
+
},
|
|
9040
9215
|
/**
|
|
9041
9216
|
*
|
|
9042
9217
|
* @summary Get hospitalPaymentMethods list
|
|
@@ -10371,6 +10546,17 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
10371
10546
|
apiV1HospitalsHospitalIdContactsPost(hospitalId: string, createHospitalContactCommand?: CreateHospitalContactCommand, options?: any): AxiosPromise<HospitalContactModel> {
|
|
10372
10547
|
return localVarFp.apiV1HospitalsHospitalIdContactsPost(hospitalId, createHospitalContactCommand, options).then((request) => request(axios, basePath));
|
|
10373
10548
|
},
|
|
10549
|
+
/**
|
|
10550
|
+
*
|
|
10551
|
+
* @summary Batch for contacts sorting
|
|
10552
|
+
* @param {string} hospitalId
|
|
10553
|
+
* @param {ContactSortingCommand} [contactSortingCommand]
|
|
10554
|
+
* @param {*} [options] Override http request option.
|
|
10555
|
+
* @throws {RequiredError}
|
|
10556
|
+
*/
|
|
10557
|
+
apiV1HospitalsHospitalIdContactsSortPut(hospitalId: string, contactSortingCommand?: ContactSortingCommand, options?: any): AxiosPromise<SortingResultModel> {
|
|
10558
|
+
return localVarFp.apiV1HospitalsHospitalIdContactsSortPut(hospitalId, contactSortingCommand, options).then((request) => request(axios, basePath));
|
|
10559
|
+
},
|
|
10374
10560
|
/**
|
|
10375
10561
|
*
|
|
10376
10562
|
* @summary Delete Hospital.
|
|
@@ -10632,6 +10818,18 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
10632
10818
|
apiV1HospitalsHospitalIdFooternavigationsLanguageCodePost(hospitalId: string, languageCode: string, saveFooterNavigationsCommand?: SaveFooterNavigationsCommand, options?: any): AxiosPromise<FooterNavigationItemModel> {
|
|
10633
10819
|
return localVarFp.apiV1HospitalsHospitalIdFooternavigationsLanguageCodePost(hospitalId, languageCode, saveFooterNavigationsCommand, options).then((request) => request(axios, basePath));
|
|
10634
10820
|
},
|
|
10821
|
+
/**
|
|
10822
|
+
*
|
|
10823
|
+
* @summary Batch for footer navigation items sorting <br> Level 1 item only
|
|
10824
|
+
* @param {string} hospitalId
|
|
10825
|
+
* @param {string} languageCode
|
|
10826
|
+
* @param {SortFooterNavigationsCommand} [sortFooterNavigationsCommand]
|
|
10827
|
+
* @param {*} [options] Override http request option.
|
|
10828
|
+
* @throws {RequiredError}
|
|
10829
|
+
*/
|
|
10830
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPut(hospitalId: string, languageCode: string, sortFooterNavigationsCommand?: SortFooterNavigationsCommand, options?: any): AxiosPromise<SortingResultModel> {
|
|
10831
|
+
return localVarFp.apiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPut(hospitalId, languageCode, sortFooterNavigationsCommand, options).then((request) => request(axios, basePath));
|
|
10832
|
+
},
|
|
10635
10833
|
/**
|
|
10636
10834
|
*
|
|
10637
10835
|
* @summary Get Hospital.
|
|
@@ -11056,6 +11254,17 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
11056
11254
|
apiV1HospitalsHospitalIdNoticesPost(hospitalId: string, createNoticeCommand?: CreateNoticeCommand, options?: any): AxiosPromise<NoticeModel> {
|
|
11057
11255
|
return localVarFp.apiV1HospitalsHospitalIdNoticesPost(hospitalId, createNoticeCommand, options).then((request) => request(axios, basePath));
|
|
11058
11256
|
},
|
|
11257
|
+
/**
|
|
11258
|
+
*
|
|
11259
|
+
* @summary Batch for notices sorting
|
|
11260
|
+
* @param {string} hospitalId
|
|
11261
|
+
* @param {NoticeSortingCommand} [noticeSortingCommand]
|
|
11262
|
+
* @param {*} [options] Override http request option.
|
|
11263
|
+
* @throws {RequiredError}
|
|
11264
|
+
*/
|
|
11265
|
+
apiV1HospitalsHospitalIdNoticesSortPut(hospitalId: string, noticeSortingCommand?: NoticeSortingCommand, options?: any): AxiosPromise<SortingResultModel> {
|
|
11266
|
+
return localVarFp.apiV1HospitalsHospitalIdNoticesSortPut(hospitalId, noticeSortingCommand, options).then((request) => request(axios, basePath));
|
|
11267
|
+
},
|
|
11059
11268
|
/**
|
|
11060
11269
|
*
|
|
11061
11270
|
* @summary Get hospitalPaymentMethods list
|
|
@@ -12742,6 +12951,27 @@ export interface HospitalsApiApiV1HospitalsHospitalIdContactsPostRequest {
|
|
|
12742
12951
|
readonly createHospitalContactCommand?: CreateHospitalContactCommand
|
|
12743
12952
|
}
|
|
12744
12953
|
|
|
12954
|
+
/**
|
|
12955
|
+
* Request parameters for apiV1HospitalsHospitalIdContactsSortPut operation in HospitalsApi.
|
|
12956
|
+
* @export
|
|
12957
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdContactsSortPutRequest
|
|
12958
|
+
*/
|
|
12959
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdContactsSortPutRequest {
|
|
12960
|
+
/**
|
|
12961
|
+
*
|
|
12962
|
+
* @type {string}
|
|
12963
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsSortPut
|
|
12964
|
+
*/
|
|
12965
|
+
readonly hospitalId: string
|
|
12966
|
+
|
|
12967
|
+
/**
|
|
12968
|
+
*
|
|
12969
|
+
* @type {ContactSortingCommand}
|
|
12970
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsSortPut
|
|
12971
|
+
*/
|
|
12972
|
+
readonly contactSortingCommand?: ContactSortingCommand
|
|
12973
|
+
}
|
|
12974
|
+
|
|
12745
12975
|
/**
|
|
12746
12976
|
* Request parameters for apiV1HospitalsHospitalIdDelete operation in HospitalsApi.
|
|
12747
12977
|
* @export
|
|
@@ -13393,6 +13623,34 @@ export interface HospitalsApiApiV1HospitalsHospitalIdFooternavigationsLanguageCo
|
|
|
13393
13623
|
readonly saveFooterNavigationsCommand?: SaveFooterNavigationsCommand
|
|
13394
13624
|
}
|
|
13395
13625
|
|
|
13626
|
+
/**
|
|
13627
|
+
* Request parameters for apiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPut operation in HospitalsApi.
|
|
13628
|
+
* @export
|
|
13629
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPutRequest
|
|
13630
|
+
*/
|
|
13631
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPutRequest {
|
|
13632
|
+
/**
|
|
13633
|
+
*
|
|
13634
|
+
* @type {string}
|
|
13635
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPut
|
|
13636
|
+
*/
|
|
13637
|
+
readonly hospitalId: string
|
|
13638
|
+
|
|
13639
|
+
/**
|
|
13640
|
+
*
|
|
13641
|
+
* @type {string}
|
|
13642
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPut
|
|
13643
|
+
*/
|
|
13644
|
+
readonly languageCode: string
|
|
13645
|
+
|
|
13646
|
+
/**
|
|
13647
|
+
*
|
|
13648
|
+
* @type {SortFooterNavigationsCommand}
|
|
13649
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPut
|
|
13650
|
+
*/
|
|
13651
|
+
readonly sortFooterNavigationsCommand?: SortFooterNavigationsCommand
|
|
13652
|
+
}
|
|
13653
|
+
|
|
13396
13654
|
/**
|
|
13397
13655
|
* Request parameters for apiV1HospitalsHospitalIdGet operation in HospitalsApi.
|
|
13398
13656
|
* @export
|
|
@@ -14457,6 +14715,27 @@ export interface HospitalsApiApiV1HospitalsHospitalIdNoticesPostRequest {
|
|
|
14457
14715
|
readonly createNoticeCommand?: CreateNoticeCommand
|
|
14458
14716
|
}
|
|
14459
14717
|
|
|
14718
|
+
/**
|
|
14719
|
+
* Request parameters for apiV1HospitalsHospitalIdNoticesSortPut operation in HospitalsApi.
|
|
14720
|
+
* @export
|
|
14721
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdNoticesSortPutRequest
|
|
14722
|
+
*/
|
|
14723
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdNoticesSortPutRequest {
|
|
14724
|
+
/**
|
|
14725
|
+
*
|
|
14726
|
+
* @type {string}
|
|
14727
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdNoticesSortPut
|
|
14728
|
+
*/
|
|
14729
|
+
readonly hospitalId: string
|
|
14730
|
+
|
|
14731
|
+
/**
|
|
14732
|
+
*
|
|
14733
|
+
* @type {NoticeSortingCommand}
|
|
14734
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdNoticesSortPut
|
|
14735
|
+
*/
|
|
14736
|
+
readonly noticeSortingCommand?: NoticeSortingCommand
|
|
14737
|
+
}
|
|
14738
|
+
|
|
14460
14739
|
/**
|
|
14461
14740
|
* Request parameters for apiV1HospitalsHospitalIdPaymentmethodsGet operation in HospitalsApi.
|
|
14462
14741
|
* @export
|
|
@@ -17434,6 +17713,18 @@ export class HospitalsApi extends BaseAPI {
|
|
|
17434
17713
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdContactsPost(requestParameters.hospitalId, requestParameters.createHospitalContactCommand, options).then((request) => request(this.axios, this.basePath));
|
|
17435
17714
|
}
|
|
17436
17715
|
|
|
17716
|
+
/**
|
|
17717
|
+
*
|
|
17718
|
+
* @summary Batch for contacts sorting
|
|
17719
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdContactsSortPutRequest} requestParameters Request parameters.
|
|
17720
|
+
* @param {*} [options] Override http request option.
|
|
17721
|
+
* @throws {RequiredError}
|
|
17722
|
+
* @memberof HospitalsApi
|
|
17723
|
+
*/
|
|
17724
|
+
public apiV1HospitalsHospitalIdContactsSortPut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdContactsSortPutRequest, options?: AxiosRequestConfig) {
|
|
17725
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdContactsSortPut(requestParameters.hospitalId, requestParameters.contactSortingCommand, options).then((request) => request(this.axios, this.basePath));
|
|
17726
|
+
}
|
|
17727
|
+
|
|
17437
17728
|
/**
|
|
17438
17729
|
*
|
|
17439
17730
|
* @summary Delete Hospital.
|
|
@@ -17686,6 +17977,18 @@ export class HospitalsApi extends BaseAPI {
|
|
|
17686
17977
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdFooternavigationsLanguageCodePost(requestParameters.hospitalId, requestParameters.languageCode, requestParameters.saveFooterNavigationsCommand, options).then((request) => request(this.axios, this.basePath));
|
|
17687
17978
|
}
|
|
17688
17979
|
|
|
17980
|
+
/**
|
|
17981
|
+
*
|
|
17982
|
+
* @summary Batch for footer navigation items sorting <br> Level 1 item only
|
|
17983
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPutRequest} requestParameters Request parameters.
|
|
17984
|
+
* @param {*} [options] Override http request option.
|
|
17985
|
+
* @throws {RequiredError}
|
|
17986
|
+
* @memberof HospitalsApi
|
|
17987
|
+
*/
|
|
17988
|
+
public apiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPutRequest, options?: AxiosRequestConfig) {
|
|
17989
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdFooternavigationsLanguageCodeSortPut(requestParameters.hospitalId, requestParameters.languageCode, requestParameters.sortFooterNavigationsCommand, options).then((request) => request(this.axios, this.basePath));
|
|
17990
|
+
}
|
|
17991
|
+
|
|
17689
17992
|
/**
|
|
17690
17993
|
*
|
|
17691
17994
|
* @summary Get Hospital.
|
|
@@ -18094,6 +18397,18 @@ export class HospitalsApi extends BaseAPI {
|
|
|
18094
18397
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdNoticesPost(requestParameters.hospitalId, requestParameters.createNoticeCommand, options).then((request) => request(this.axios, this.basePath));
|
|
18095
18398
|
}
|
|
18096
18399
|
|
|
18400
|
+
/**
|
|
18401
|
+
*
|
|
18402
|
+
* @summary Batch for notices sorting
|
|
18403
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdNoticesSortPutRequest} requestParameters Request parameters.
|
|
18404
|
+
* @param {*} [options] Override http request option.
|
|
18405
|
+
* @throws {RequiredError}
|
|
18406
|
+
* @memberof HospitalsApi
|
|
18407
|
+
*/
|
|
18408
|
+
public apiV1HospitalsHospitalIdNoticesSortPut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdNoticesSortPutRequest, options?: AxiosRequestConfig) {
|
|
18409
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdNoticesSortPut(requestParameters.hospitalId, requestParameters.noticeSortingCommand, options).then((request) => request(this.axios, this.basePath));
|
|
18410
|
+
}
|
|
18411
|
+
|
|
18097
18412
|
/**
|
|
18098
18413
|
*
|
|
18099
18414
|
* @summary Get hospitalPaymentMethods list
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { SortingItemModel } from './sorting-item-model';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ContactSortingCommand
|
|
24
|
+
*/
|
|
25
|
+
export interface ContactSortingCommand {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<SortingItemModel>}
|
|
29
|
+
* @memberof ContactSortingCommand
|
|
30
|
+
*/
|
|
31
|
+
'items'?: Array<SortingItemModel> | null;
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { SortingItemModel } from './sorting-item-model';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface CountrySortingCommand
|
|
24
|
+
*/
|
|
25
|
+
export interface CountrySortingCommand {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<SortingItemModel>}
|
|
29
|
+
* @memberof CountrySortingCommand
|
|
30
|
+
*/
|
|
31
|
+
'items'?: Array<SortingItemModel> | null;
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -71,6 +71,12 @@ export interface CreateCountryCommand {
|
|
|
71
71
|
* @memberof CreateCountryCommand
|
|
72
72
|
*/
|
|
73
73
|
'customStyle'?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {number}
|
|
77
|
+
* @memberof CreateCountryCommand
|
|
78
|
+
*/
|
|
79
|
+
'order'?: number;
|
|
74
80
|
/**
|
|
75
81
|
*
|
|
76
82
|
* @type {Array<MediaModel>}
|
package/src/models/index.ts
CHANGED
|
@@ -81,6 +81,7 @@ export * from './chat-users-model';
|
|
|
81
81
|
export * from './check-notifications-command';
|
|
82
82
|
export * from './communication-user-token-model';
|
|
83
83
|
export * from './confirm-email-command';
|
|
84
|
+
export * from './contact-sorting-command';
|
|
84
85
|
export * from './contact-type';
|
|
85
86
|
export * from './contribution-type';
|
|
86
87
|
export * from './contributor-item-model';
|
|
@@ -90,6 +91,7 @@ export * from './contributors-model';
|
|
|
90
91
|
export * from './countries-model';
|
|
91
92
|
export * from './country-item-model';
|
|
92
93
|
export * from './country-model';
|
|
94
|
+
export * from './country-sorting-command';
|
|
93
95
|
export * from './create-about-us-page-command';
|
|
94
96
|
export * from './create-accreditation-command';
|
|
95
97
|
export * from './create-app-version-command';
|
|
@@ -310,6 +312,7 @@ export * from './metadata';
|
|
|
310
312
|
export * from './model-file';
|
|
311
313
|
export * from './notice-item-model';
|
|
312
314
|
export * from './notice-model';
|
|
315
|
+
export * from './notice-sorting-command';
|
|
313
316
|
export * from './notice-status';
|
|
314
317
|
export * from './notices-model';
|
|
315
318
|
export * from './notification-code';
|
|
@@ -388,7 +391,10 @@ export * from './service-reviews-model';
|
|
|
388
391
|
export * from './session-token';
|
|
389
392
|
export * from './sns-handle-model';
|
|
390
393
|
export * from './sns-type';
|
|
394
|
+
export * from './sort-footer-navigations-command';
|
|
395
|
+
export * from './sorting-item-model';
|
|
391
396
|
export * from './sorting-order';
|
|
397
|
+
export * from './sorting-result-model';
|
|
392
398
|
export * from './source-model';
|
|
393
399
|
export * from './specialties-model';
|
|
394
400
|
export * from './specialties-simple-model';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { SortingItemModel } from './sorting-item-model';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface NoticeSortingCommand
|
|
24
|
+
*/
|
|
25
|
+
export interface NoticeSortingCommand {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<SortingItemModel>}
|
|
29
|
+
* @memberof NoticeSortingCommand
|
|
30
|
+
*/
|
|
31
|
+
'items'?: Array<SortingItemModel> | null;
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { SortingItemModel } from './sorting-item-model';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface SortFooterNavigationsCommand
|
|
24
|
+
*/
|
|
25
|
+
export interface SortFooterNavigationsCommand {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<SortingItemModel>}
|
|
29
|
+
* @memberof SortFooterNavigationsCommand
|
|
30
|
+
*/
|
|
31
|
+
'items'?: Array<SortingItemModel> | null;
|
|
32
|
+
}
|
|
33
|
+
|