ch-admin-api-client-typescript 5.14.17 → 5.14.20

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.
@@ -5622,6 +5622,48 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
5622
5622
  options: localVarRequestOptions,
5623
5623
  };
5624
5624
  },
5625
+ /**
5626
+ *
5627
+ * @summary Delete HospitalSpecialty.
5628
+ * @param {string} hospitalId
5629
+ * @param {string} hospitalSpecialtyId
5630
+ * @param {*} [options] Override http request option.
5631
+ * @throws {RequiredError}
5632
+ */
5633
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut: async (hospitalId: string, hospitalSpecialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5634
+ // verify required parameter 'hospitalId' is not null or undefined
5635
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut', 'hospitalId', hospitalId)
5636
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
5637
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut', 'hospitalSpecialtyId', hospitalSpecialtyId)
5638
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/reactivate`
5639
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
5640
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
5641
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5642
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5643
+ let baseOptions;
5644
+ if (configuration) {
5645
+ baseOptions = configuration.baseOptions;
5646
+ }
5647
+
5648
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
5649
+ const localVarHeaderParameter = {} as any;
5650
+ const localVarQueryParameter = {} as any;
5651
+
5652
+ // authentication oauth2 required
5653
+ // oauth required
5654
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
5655
+
5656
+
5657
+
5658
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5659
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5660
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5661
+
5662
+ return {
5663
+ url: toPathString(localVarUrlObj),
5664
+ options: localVarRequestOptions,
5665
+ };
5666
+ },
5625
5667
  /**
5626
5668
  *
5627
5669
  * @summary Revalidate hospitalSpecialty
@@ -7441,44 +7483,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
7441
7483
  options: localVarRequestOptions,
7442
7484
  };
7443
7485
  },
7444
- /**
7445
- *
7446
- * @summary Delete HospitalSpecialty.
7447
- * @param {string} hospitalSpecialtyId
7448
- * @param {*} [options] Override http request option.
7449
- * @throws {RequiredError}
7450
- */
7451
- apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut: async (hospitalSpecialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7452
- // verify required parameter 'hospitalSpecialtyId' is not null or undefined
7453
- assertParamExists('apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut', 'hospitalSpecialtyId', hospitalSpecialtyId)
7454
- const localVarPath = `/api/v1/hospitals/{hospitalSpecialtyId}/specialties/reactivate`
7455
- .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
7456
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
7457
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7458
- let baseOptions;
7459
- if (configuration) {
7460
- baseOptions = configuration.baseOptions;
7461
- }
7462
-
7463
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
7464
- const localVarHeaderParameter = {} as any;
7465
- const localVarQueryParameter = {} as any;
7466
-
7467
- // authentication oauth2 required
7468
- // oauth required
7469
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
7470
-
7471
-
7472
-
7473
- setSearchParams(localVarUrlObj, localVarQueryParameter);
7474
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7475
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7476
-
7477
- return {
7478
- url: toPathString(localVarUrlObj),
7479
- options: localVarRequestOptions,
7480
- };
7481
- },
7482
7486
  /**
7483
7487
  *
7484
7488
  * @summary Create Hospital.
@@ -9144,6 +9148,18 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
9144
9148
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId, hospitalSpecialtyId, updateHospitalSpecialtyCommand, options);
9145
9149
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9146
9150
  },
9151
+ /**
9152
+ *
9153
+ * @summary Delete HospitalSpecialty.
9154
+ * @param {string} hospitalId
9155
+ * @param {string} hospitalSpecialtyId
9156
+ * @param {*} [options] Override http request option.
9157
+ * @throws {RequiredError}
9158
+ */
9159
+ async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut(hospitalId: string, hospitalSpecialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
9160
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut(hospitalId, hospitalSpecialtyId, options);
9161
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9162
+ },
9147
9163
  /**
9148
9164
  *
9149
9165
  * @summary Revalidate hospitalSpecialty
@@ -9627,17 +9643,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
9627
9643
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options);
9628
9644
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9629
9645
  },
9630
- /**
9631
- *
9632
- * @summary Delete HospitalSpecialty.
9633
- * @param {string} hospitalSpecialtyId
9634
- * @param {*} [options] Override http request option.
9635
- * @throws {RequiredError}
9636
- */
9637
- async apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut(hospitalSpecialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
9638
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut(hospitalSpecialtyId, options);
9639
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9640
- },
9641
9646
  /**
9642
9647
  *
9643
9648
  * @summary Create Hospital.
@@ -11046,6 +11051,17 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
11046
11051
  apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel> {
11047
11052
  return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId, hospitalSpecialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
11048
11053
  },
11054
+ /**
11055
+ *
11056
+ * @summary Delete HospitalSpecialty.
11057
+ * @param {string} hospitalId
11058
+ * @param {string} hospitalSpecialtyId
11059
+ * @param {*} [options] Override http request option.
11060
+ * @throws {RequiredError}
11061
+ */
11062
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut(hospitalId: string, hospitalSpecialtyId: string, options?: any): AxiosPromise<boolean> {
11063
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut(hospitalId, hospitalSpecialtyId, options).then((request) => request(axios, basePath));
11064
+ },
11049
11065
  /**
11050
11066
  *
11051
11067
  * @summary Revalidate hospitalSpecialty
@@ -11496,16 +11512,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
11496
11512
  apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand, options?: any): AxiosPromise<WorkingDayModel> {
11497
11513
  return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then((request) => request(axios, basePath));
11498
11514
  },
11499
- /**
11500
- *
11501
- * @summary Delete HospitalSpecialty.
11502
- * @param {string} hospitalSpecialtyId
11503
- * @param {*} [options] Override http request option.
11504
- * @throws {RequiredError}
11505
- */
11506
- apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut(hospitalSpecialtyId: string, options?: any): AxiosPromise<boolean> {
11507
- return localVarFp.apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut(hospitalSpecialtyId, options).then((request) => request(axios, basePath));
11508
- },
11509
11515
  /**
11510
11516
  *
11511
11517
  * @summary Create Hospital.
@@ -15006,6 +15012,27 @@ export interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialt
15006
15012
  readonly updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand
15007
15013
  }
15008
15014
 
15015
+ /**
15016
+ * Request parameters for apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut operation in HospitalsApi.
15017
+ * @export
15018
+ * @interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePutRequest
15019
+ */
15020
+ export interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePutRequest {
15021
+ /**
15022
+ *
15023
+ * @type {string}
15024
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut
15025
+ */
15026
+ readonly hospitalId: string
15027
+
15028
+ /**
15029
+ *
15030
+ * @type {string}
15031
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut
15032
+ */
15033
+ readonly hospitalSpecialtyId: string
15034
+ }
15035
+
15009
15036
  /**
15010
15037
  * Request parameters for apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdRevalidatePost operation in HospitalsApi.
15011
15038
  * @export
@@ -16308,20 +16335,6 @@ export interface HospitalsApiApiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPutR
16308
16335
  readonly updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand
16309
16336
  }
16310
16337
 
16311
- /**
16312
- * Request parameters for apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut operation in HospitalsApi.
16313
- * @export
16314
- * @interface HospitalsApiApiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePutRequest
16315
- */
16316
- export interface HospitalsApiApiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePutRequest {
16317
- /**
16318
- *
16319
- * @type {string}
16320
- * @memberof HospitalsApiApiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut
16321
- */
16322
- readonly hospitalSpecialtyId: string
16323
- }
16324
-
16325
16338
  /**
16326
16339
  * Request parameters for apiV1HospitalsPost operation in HospitalsApi.
16327
16340
  * @export
@@ -17767,6 +17780,18 @@ export class HospitalsApi extends BaseAPI {
17767
17780
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(requestParameters.hospitalId, requestParameters.hospitalSpecialtyId, requestParameters.updateHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
17768
17781
  }
17769
17782
 
17783
+ /**
17784
+ *
17785
+ * @summary Delete HospitalSpecialty.
17786
+ * @param {HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePutRequest} requestParameters Request parameters.
17787
+ * @param {*} [options] Override http request option.
17788
+ * @throws {RequiredError}
17789
+ * @memberof HospitalsApi
17790
+ */
17791
+ public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePutRequest, options?: AxiosRequestConfig) {
17792
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdReactivatePut(requestParameters.hospitalId, requestParameters.hospitalSpecialtyId, options).then((request) => request(this.axios, this.basePath));
17793
+ }
17794
+
17770
17795
  /**
17771
17796
  *
17772
17797
  * @summary Revalidate hospitalSpecialty
@@ -18163,18 +18188,6 @@ export class HospitalsApi extends BaseAPI {
18163
18188
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(requestParameters.hospitalId, requestParameters.workingDayId, requestParameters.updateHospitalWorkingDayCommand, options).then((request) => request(this.axios, this.basePath));
18164
18189
  }
18165
18190
 
18166
- /**
18167
- *
18168
- * @summary Delete HospitalSpecialty.
18169
- * @param {HospitalsApiApiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePutRequest} requestParameters Request parameters.
18170
- * @param {*} [options] Override http request option.
18171
- * @throws {RequiredError}
18172
- * @memberof HospitalsApi
18173
- */
18174
- public apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut(requestParameters: HospitalsApiApiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePutRequest, options?: AxiosRequestConfig) {
18175
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivatePut(requestParameters.hospitalSpecialtyId, options).then((request) => request(this.axios, this.basePath));
18176
- }
18177
-
18178
18191
  /**
18179
18192
  *
18180
18193
  * @summary Create Hospital.
@@ -444,6 +444,7 @@ export * from './translate-about-us-page-command';
444
444
  export * from './translate-all-options';
445
445
  export * from './translate-command';
446
446
  export * from './translate-country-command';
447
+ export * from './translate-curation-command';
447
448
  export * from './translate-deal-command';
448
449
  export * from './translate-doctor-affiliation-command';
449
450
  export * from './translate-hospital-command';
@@ -0,0 +1,51 @@
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 { TranslateAllOptions } from './translate-all-options';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface TranslateCurationCommand
24
+ */
25
+ export interface TranslateCurationCommand {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof TranslateCurationCommand
30
+ */
31
+ 'basisLanguageCode'?: string | null;
32
+ /**
33
+ *
34
+ * @type {TranslateAllOptions}
35
+ * @memberof TranslateCurationCommand
36
+ */
37
+ 'translationOption'?: TranslateAllOptions;
38
+ /**
39
+ *
40
+ * @type {Array<string>}
41
+ * @memberof TranslateCurationCommand
42
+ */
43
+ 'translateToLanguageCodes'?: Array<string> | null;
44
+ /**
45
+ *
46
+ * @type {Array<string>}
47
+ * @memberof TranslateCurationCommand
48
+ */
49
+ 'translateToFields'?: Array<string> | null;
50
+ }
51
+