ch-admin-api-client-typescript 5.19.34 → 5.19.36
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-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/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/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-sorting-command.ts +33 -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
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
import { SortingItemModel } from './sorting-item-model';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SortFooterNavigationsCommand
|
|
17
|
+
*/
|
|
18
|
+
export interface SortFooterNavigationsCommand {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SortingItemModel>}
|
|
22
|
+
* @memberof SortFooterNavigationsCommand
|
|
23
|
+
*/
|
|
24
|
+
'items'?: Array<SortingItemModel> | null;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=sort-footer-navigations-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort-footer-navigations-command.d.ts","sourceRoot":"","sources":["../../src/models/sort-footer-navigations-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;CAC5C"}
|
|
@@ -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 });
|
|
@@ -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 SortingItemModel
|
|
16
|
+
*/
|
|
17
|
+
export interface SortingItemModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SortingItemModel
|
|
22
|
+
*/
|
|
23
|
+
'id'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SortingItemModel
|
|
28
|
+
*/
|
|
29
|
+
'order'?: number;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=sorting-item-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sorting-item-model.d.ts","sourceRoot":"","sources":["../../src/models/sorting-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;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 });
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
import { SortingItemModel } from './sorting-item-model';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SortingResultModel
|
|
17
|
+
*/
|
|
18
|
+
export interface SortingResultModel {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SortingItemModel>}
|
|
22
|
+
* @memberof SortingResultModel
|
|
23
|
+
*/
|
|
24
|
+
'items'?: Array<SortingItemModel> | null;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=sorting-result-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sorting-result-model.d.ts","sourceRoot":"","sources":["../../src/models/sorting-result-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;CAC5C"}
|
|
@@ -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 });
|
package/package.json
CHANGED
|
@@ -142,6 +142,7 @@ models/chmanager-model.ts
|
|
|
142
142
|
models/chmanagers-model.ts
|
|
143
143
|
models/communication-user-token-model.ts
|
|
144
144
|
models/confirm-email-command.ts
|
|
145
|
+
models/contact-sorting-command.ts
|
|
145
146
|
models/contact-type.ts
|
|
146
147
|
models/contribution-type.ts
|
|
147
148
|
models/contributor-item-model.ts
|
|
@@ -151,6 +152,7 @@ models/contributors-model.ts
|
|
|
151
152
|
models/countries-model.ts
|
|
152
153
|
models/country-item-model.ts
|
|
153
154
|
models/country-model.ts
|
|
155
|
+
models/country-sorting-command.ts
|
|
154
156
|
models/create-about-us-page-command.ts
|
|
155
157
|
models/create-accreditation-command.ts
|
|
156
158
|
models/create-app-version-command.ts
|
|
@@ -372,6 +374,7 @@ models/metadata.ts
|
|
|
372
374
|
models/model-file.ts
|
|
373
375
|
models/notice-item-model.ts
|
|
374
376
|
models/notice-model.ts
|
|
377
|
+
models/notice-sorting-command.ts
|
|
375
378
|
models/notice-status.ts
|
|
376
379
|
models/notices-model.ts
|
|
377
380
|
models/notification-code.ts
|
|
@@ -450,7 +453,10 @@ models/service-reviews-model.ts
|
|
|
450
453
|
models/session-token.ts
|
|
451
454
|
models/sns-handle-model.ts
|
|
452
455
|
models/sns-type.ts
|
|
456
|
+
models/sort-footer-navigations-command.ts
|
|
457
|
+
models/sorting-item-model.ts
|
|
453
458
|
models/sorting-order.ts
|
|
459
|
+
models/sorting-result-model.ts
|
|
454
460
|
models/source-model.ts
|
|
455
461
|
models/specialties-model.ts
|
|
456
462
|
models/specialties-simple-model.ts
|
package/src/api/countries-api.ts
CHANGED
|
@@ -25,6 +25,8 @@ import { CountriesModel } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { CountryModel } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
|
+
import { CountrySortingCommand } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
28
30
|
import { CreateCountryCommand } from '../models';
|
|
29
31
|
// @ts-ignore
|
|
30
32
|
import { CreateMediaCommand } from '../models';
|
|
@@ -37,6 +39,8 @@ import { MediasModel } from '../models';
|
|
|
37
39
|
// @ts-ignore
|
|
38
40
|
import { ProblemDetails } from '../models';
|
|
39
41
|
// @ts-ignore
|
|
42
|
+
import { SortingResultModel } from '../models';
|
|
43
|
+
// @ts-ignore
|
|
40
44
|
import { TranslateCountryCommand } from '../models';
|
|
41
45
|
// @ts-ignore
|
|
42
46
|
import { UpdateCountryCommand } from '../models';
|
|
@@ -705,6 +709,44 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
705
709
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
706
710
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
707
711
|
|
|
712
|
+
return {
|
|
713
|
+
url: toPathString(localVarUrlObj),
|
|
714
|
+
options: localVarRequestOptions,
|
|
715
|
+
};
|
|
716
|
+
},
|
|
717
|
+
/**
|
|
718
|
+
*
|
|
719
|
+
* @summary Batch for countries sorting
|
|
720
|
+
* @param {CountrySortingCommand} [countrySortingCommand]
|
|
721
|
+
* @param {*} [options] Override http request option.
|
|
722
|
+
* @throws {RequiredError}
|
|
723
|
+
*/
|
|
724
|
+
apiV1CountriesSortPut: async (countrySortingCommand?: CountrySortingCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
725
|
+
const localVarPath = `/api/v1/countries/sort`;
|
|
726
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
727
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
728
|
+
let baseOptions;
|
|
729
|
+
if (configuration) {
|
|
730
|
+
baseOptions = configuration.baseOptions;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
734
|
+
const localVarHeaderParameter = {} as any;
|
|
735
|
+
const localVarQueryParameter = {} as any;
|
|
736
|
+
|
|
737
|
+
// authentication oauth2 required
|
|
738
|
+
// oauth required
|
|
739
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
744
|
+
|
|
745
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
746
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
747
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
748
|
+
localVarRequestOptions.data = serializeDataIfNeeded(countrySortingCommand, localVarRequestOptions, configuration)
|
|
749
|
+
|
|
708
750
|
return {
|
|
709
751
|
url: toPathString(localVarUrlObj),
|
|
710
752
|
options: localVarRequestOptions,
|
|
@@ -900,6 +942,17 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
900
942
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
901
943
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
902
944
|
},
|
|
945
|
+
/**
|
|
946
|
+
*
|
|
947
|
+
* @summary Batch for countries sorting
|
|
948
|
+
* @param {CountrySortingCommand} [countrySortingCommand]
|
|
949
|
+
* @param {*} [options] Override http request option.
|
|
950
|
+
* @throws {RequiredError}
|
|
951
|
+
*/
|
|
952
|
+
async apiV1CountriesSortPut(countrySortingCommand?: CountrySortingCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SortingResultModel>> {
|
|
953
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesSortPut(countrySortingCommand, options);
|
|
954
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
955
|
+
},
|
|
903
956
|
}
|
|
904
957
|
};
|
|
905
958
|
|
|
@@ -1076,6 +1129,16 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
1076
1129
|
apiV1CountriesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<CountryModel> {
|
|
1077
1130
|
return localVarFp.apiV1CountriesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
1078
1131
|
},
|
|
1132
|
+
/**
|
|
1133
|
+
*
|
|
1134
|
+
* @summary Batch for countries sorting
|
|
1135
|
+
* @param {CountrySortingCommand} [countrySortingCommand]
|
|
1136
|
+
* @param {*} [options] Override http request option.
|
|
1137
|
+
* @throws {RequiredError}
|
|
1138
|
+
*/
|
|
1139
|
+
apiV1CountriesSortPut(countrySortingCommand?: CountrySortingCommand, options?: any): AxiosPromise<SortingResultModel> {
|
|
1140
|
+
return localVarFp.apiV1CountriesSortPut(countrySortingCommand, options).then((request) => request(axios, basePath));
|
|
1141
|
+
},
|
|
1079
1142
|
};
|
|
1080
1143
|
};
|
|
1081
1144
|
|
|
@@ -1457,6 +1520,20 @@ export interface CountriesApiApiV1CountriesSlugGetRequest {
|
|
|
1457
1520
|
readonly returnDefaultValue?: boolean
|
|
1458
1521
|
}
|
|
1459
1522
|
|
|
1523
|
+
/**
|
|
1524
|
+
* Request parameters for apiV1CountriesSortPut operation in CountriesApi.
|
|
1525
|
+
* @export
|
|
1526
|
+
* @interface CountriesApiApiV1CountriesSortPutRequest
|
|
1527
|
+
*/
|
|
1528
|
+
export interface CountriesApiApiV1CountriesSortPutRequest {
|
|
1529
|
+
/**
|
|
1530
|
+
*
|
|
1531
|
+
* @type {CountrySortingCommand}
|
|
1532
|
+
* @memberof CountriesApiApiV1CountriesSortPut
|
|
1533
|
+
*/
|
|
1534
|
+
readonly countrySortingCommand?: CountrySortingCommand
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1460
1537
|
/**
|
|
1461
1538
|
* CountriesApi - object-oriented interface
|
|
1462
1539
|
* @export
|
|
@@ -1631,4 +1708,16 @@ export class CountriesApi extends BaseAPI {
|
|
|
1631
1708
|
public apiV1CountriesSlugGet(requestParameters: CountriesApiApiV1CountriesSlugGetRequest, options?: AxiosRequestConfig) {
|
|
1632
1709
|
return CountriesApiFp(this.configuration).apiV1CountriesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
1633
1710
|
}
|
|
1711
|
+
|
|
1712
|
+
/**
|
|
1713
|
+
*
|
|
1714
|
+
* @summary Batch for countries sorting
|
|
1715
|
+
* @param {CountriesApiApiV1CountriesSortPutRequest} requestParameters Request parameters.
|
|
1716
|
+
* @param {*} [options] Override http request option.
|
|
1717
|
+
* @throws {RequiredError}
|
|
1718
|
+
* @memberof CountriesApi
|
|
1719
|
+
*/
|
|
1720
|
+
public apiV1CountriesSortPut(requestParameters: CountriesApiApiV1CountriesSortPutRequest = {}, options?: AxiosRequestConfig) {
|
|
1721
|
+
return CountriesApiFp(this.configuration).apiV1CountriesSortPut(requestParameters.countrySortingCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1722
|
+
}
|
|
1634
1723
|
}
|