ch-admin-api-client-typescript 2.6.1 → 2.6.6

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/src/api.ts CHANGED
@@ -3319,10 +3319,10 @@ export interface CreateCountryCommand {
3319
3319
  'content'?: string | null;
3320
3320
  /**
3321
3321
  *
3322
- * @type {Array<MediaModel>}
3322
+ * @type {string}
3323
3323
  * @memberof CreateCountryCommand
3324
3324
  */
3325
- 'medias'?: Array<MediaModel> | null;
3325
+ 'logo'?: string | null;
3326
3326
  }
3327
3327
  /**
3328
3328
  *
@@ -4456,12 +4456,6 @@ export interface DealItemModel {
4456
4456
  * @memberof DealItemModel
4457
4457
  */
4458
4458
  'dealServices'?: Array<DealServiceItemModel> | null;
4459
- /**
4460
- *
4461
- * @type {AuditableEntity}
4462
- * @memberof DealItemModel
4463
- */
4464
- 'auditableEntity'?: AuditableEntity;
4465
4459
  /**
4466
4460
  *
4467
4461
  * @type {Array<LocalizedUrlModel>}
@@ -4474,6 +4468,12 @@ export interface DealItemModel {
4474
4468
  * @memberof DealItemModel
4475
4469
  */
4476
4470
  'confirmed'?: boolean;
4471
+ /**
4472
+ *
4473
+ * @type {AuditableEntity}
4474
+ * @memberof DealItemModel
4475
+ */
4476
+ 'auditableEntity'?: AuditableEntity;
4477
4477
  }
4478
4478
  /**
4479
4479
  *
@@ -4559,12 +4559,6 @@ export interface DealModel {
4559
4559
  * @memberof DealModel
4560
4560
  */
4561
4561
  'dealServices'?: Array<DealServiceItemModel> | null;
4562
- /**
4563
- *
4564
- * @type {AuditableEntity}
4565
- * @memberof DealModel
4566
- */
4567
- 'auditableEntity'?: AuditableEntity;
4568
4562
  /**
4569
4563
  *
4570
4564
  * @type {Array<LocalizedUrlModel>}
@@ -4577,6 +4571,12 @@ export interface DealModel {
4577
4571
  * @memberof DealModel
4578
4572
  */
4579
4573
  'confirmed'?: boolean;
4574
+ /**
4575
+ *
4576
+ * @type {AuditableEntity}
4577
+ * @memberof DealModel
4578
+ */
4579
+ 'auditableEntity'?: AuditableEntity;
4580
4580
  /**
4581
4581
  *
4582
4582
  * @type {string}
@@ -8977,12 +8977,6 @@ export interface ServiceCategoryItemModel {
8977
8977
  * @memberof ServiceCategoryItemModel
8978
8978
  */
8979
8979
  'serviceCount'?: number;
8980
- /**
8981
- *
8982
- * @type {Array<HospitalServiceItemModel>}
8983
- * @memberof ServiceCategoryItemModel
8984
- */
8985
- 'services'?: Array<HospitalServiceItemModel> | null;
8986
8980
  }
8987
8981
  /**
8988
8982
  *
@@ -9026,12 +9020,6 @@ export interface ServiceCategoryModel {
9026
9020
  * @memberof ServiceCategoryModel
9027
9021
  */
9028
9022
  'serviceCount'?: number;
9029
- /**
9030
- *
9031
- * @type {Array<HospitalServiceItemModel>}
9032
- * @memberof ServiceCategoryModel
9033
- */
9034
- 'services'?: Array<HospitalServiceItemModel> | null;
9035
9023
  }
9036
9024
  /**
9037
9025
  *
@@ -10176,6 +10164,12 @@ export interface UpdateCountryCommand {
10176
10164
  * @memberof UpdateCountryCommand
10177
10165
  */
10178
10166
  'slug'?: string | null;
10167
+ /**
10168
+ *
10169
+ * @type {string}
10170
+ * @memberof UpdateCountryCommand
10171
+ */
10172
+ 'logo'?: string | null;
10179
10173
  /**
10180
10174
  *
10181
10175
  * @type {string}
@@ -10812,19 +10806,19 @@ export interface UpdateHospitalServiceCommand {
10812
10806
  * @type {number}
10813
10807
  * @memberof UpdateHospitalServiceCommand
10814
10808
  */
10815
- 'minPrice'?: number;
10809
+ 'minPrice'?: number | null;
10816
10810
  /**
10817
10811
  *
10818
10812
  * @type {number}
10819
10813
  * @memberof UpdateHospitalServiceCommand
10820
10814
  */
10821
- 'maxPrice'?: number;
10815
+ 'maxPrice'?: number | null;
10822
10816
  /**
10823
10817
  *
10824
10818
  * @type {boolean}
10825
10819
  * @memberof UpdateHospitalServiceCommand
10826
10820
  */
10827
- 'priceReuqest'?: boolean;
10821
+ 'priceReuqest'?: boolean | null;
10828
10822
  /**
10829
10823
  *
10830
10824
  * @type {Procedure}
@@ -18485,10 +18479,10 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
18485
18479
  * @param {*} [options] Override http request option.
18486
18480
  * @throws {RequiredError}
18487
18481
  */
18488
- apiV1CountriesCountryIdRevokePut: async (countryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18482
+ apiV1CountriesCountryIdReactivePut: async (countryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18489
18483
  // verify required parameter 'countryId' is not null or undefined
18490
- assertParamExists('apiV1CountriesCountryIdRevokePut', 'countryId', countryId)
18491
- const localVarPath = `/api/v1/countries/{countryId}/revoke`
18484
+ assertParamExists('apiV1CountriesCountryIdReactivePut', 'countryId', countryId)
18485
+ const localVarPath = `/api/v1/countries/{countryId}/reactive`
18492
18486
  .replace(`{${"countryId"}}`, encodeURIComponent(String(countryId)));
18493
18487
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
18494
18488
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -18644,7 +18638,6 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
18644
18638
  },
18645
18639
  /**
18646
18640
  *
18647
- * @summary Get country by slug.
18648
18641
  * @param {string} slug
18649
18642
  * @param {string} [languageCode]
18650
18643
  * @param {boolean} [returnDefaultValue]
@@ -18808,8 +18801,8 @@ export const CountriesApiFp = function(configuration?: Configuration) {
18808
18801
  * @param {*} [options] Override http request option.
18809
18802
  * @throws {RequiredError}
18810
18803
  */
18811
- async apiV1CountriesCountryIdRevokePut(countryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
18812
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesCountryIdRevokePut(countryId, options);
18804
+ async apiV1CountriesCountryIdReactivePut(countryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
18805
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesCountryIdReactivePut(countryId, options);
18813
18806
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18814
18807
  },
18815
18808
  /**
@@ -18845,7 +18838,6 @@ export const CountriesApiFp = function(configuration?: Configuration) {
18845
18838
  },
18846
18839
  /**
18847
18840
  *
18848
- * @summary Get country by slug.
18849
18841
  * @param {string} slug
18850
18842
  * @param {string} [languageCode]
18851
18843
  * @param {boolean} [returnDefaultValue]
@@ -18966,8 +18958,8 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
18966
18958
  * @param {*} [options] Override http request option.
18967
18959
  * @throws {RequiredError}
18968
18960
  */
18969
- apiV1CountriesCountryIdRevokePut(countryId: string, options?: any): AxiosPromise<boolean> {
18970
- return localVarFp.apiV1CountriesCountryIdRevokePut(countryId, options).then((request) => request(axios, basePath));
18961
+ apiV1CountriesCountryIdReactivePut(countryId: string, options?: any): AxiosPromise<boolean> {
18962
+ return localVarFp.apiV1CountriesCountryIdReactivePut(countryId, options).then((request) => request(axios, basePath));
18971
18963
  },
18972
18964
  /**
18973
18965
  *
@@ -19000,7 +18992,6 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
19000
18992
  },
19001
18993
  /**
19002
18994
  *
19003
- * @summary Get country by slug.
19004
18995
  * @param {string} slug
19005
18996
  * @param {string} [languageCode]
19006
18997
  * @param {boolean} [returnDefaultValue]
@@ -19137,8 +19128,8 @@ export class CountriesApi extends BaseAPI {
19137
19128
  * @throws {RequiredError}
19138
19129
  * @memberof CountriesApi
19139
19130
  */
19140
- public apiV1CountriesCountryIdRevokePut(countryId: string, options?: AxiosRequestConfig) {
19141
- return CountriesApiFp(this.configuration).apiV1CountriesCountryIdRevokePut(countryId, options).then((request) => request(this.axios, this.basePath));
19131
+ public apiV1CountriesCountryIdReactivePut(countryId: string, options?: AxiosRequestConfig) {
19132
+ return CountriesApiFp(this.configuration).apiV1CountriesCountryIdReactivePut(countryId, options).then((request) => request(this.axios, this.basePath));
19142
19133
  }
19143
19134
 
19144
19135
  /**
@@ -19176,7 +19167,6 @@ export class CountriesApi extends BaseAPI {
19176
19167
 
19177
19168
  /**
19178
19169
  *
19179
- * @summary Get country by slug.
19180
19170
  * @param {string} slug
19181
19171
  * @param {string} [languageCode]
19182
19172
  * @param {boolean} [returnDefaultValue]
@@ -21445,7 +21435,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
21445
21435
  },
21446
21436
  /**
21447
21437
  *
21448
- * @summary Get Doctor.
21449
21438
  * @param {string} doctorId
21450
21439
  * @param {string} [languageCode]
21451
21440
  * @param {boolean} [returnDefaultValue]
@@ -22399,7 +22388,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
22399
22388
  },
22400
22389
  /**
22401
22390
  *
22402
- * @summary Get Doctor by slug.
22403
22391
  * @param {string} slug
22404
22392
  * @param {string} [languageCode]
22405
22393
  * @param {boolean} [returnDefaultValue]
@@ -22501,7 +22489,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
22501
22489
  * @param {*} [options] Override http request option.
22502
22490
  * @throws {RequiredError}
22503
22491
  */
22504
- async apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
22492
+ async apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
22505
22493
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options);
22506
22494
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22507
22495
  },
@@ -22654,7 +22642,6 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
22654
22642
  },
22655
22643
  /**
22656
22644
  *
22657
- * @summary Get Doctor.
22658
22645
  * @param {string} doctorId
22659
22646
  * @param {string} [languageCode]
22660
22647
  * @param {boolean} [returnDefaultValue]
@@ -22910,7 +22897,6 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
22910
22897
  },
22911
22898
  /**
22912
22899
  *
22913
- * @summary Get Doctor by slug.
22914
22900
  * @param {string} slug
22915
22901
  * @param {string} [languageCode]
22916
22902
  * @param {boolean} [returnDefaultValue]
@@ -22974,7 +22960,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
22974
22960
  * @param {*} [options] Override http request option.
22975
22961
  * @throws {RequiredError}
22976
22962
  */
22977
- apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: any): AxiosPromise<DoctorModel> {
22963
+ apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: any): AxiosPromise<DoctorAffiliationModel> {
22978
22964
  return localVarFp.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options).then((request) => request(axios, basePath));
22979
22965
  },
22980
22966
  /**
@@ -23115,7 +23101,6 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
23115
23101
  },
23116
23102
  /**
23117
23103
  *
23118
- * @summary Get Doctor.
23119
23104
  * @param {string} doctorId
23120
23105
  * @param {string} [languageCode]
23121
23106
  * @param {boolean} [returnDefaultValue]
@@ -23352,7 +23337,6 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
23352
23337
  },
23353
23338
  /**
23354
23339
  *
23355
- * @summary Get Doctor by slug.
23356
23340
  * @param {string} slug
23357
23341
  * @param {string} [languageCode]
23358
23342
  * @param {boolean} [returnDefaultValue]
@@ -23586,7 +23570,6 @@ export class DoctorsApi extends BaseAPI {
23586
23570
 
23587
23571
  /**
23588
23572
  *
23589
- * @summary Get Doctor.
23590
23573
  * @param {string} doctorId
23591
23574
  * @param {string} [languageCode]
23592
23575
  * @param {boolean} [returnDefaultValue]
@@ -23861,7 +23844,6 @@ export class DoctorsApi extends BaseAPI {
23861
23844
 
23862
23845
  /**
23863
23846
  *
23864
- * @summary Get Doctor by slug.
23865
23847
  * @param {string} slug
23866
23848
  * @param {string} [languageCode]
23867
23849
  * @param {boolean} [returnDefaultValue]
@@ -26757,6 +26739,48 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
26757
26739
  options: localVarRequestOptions,
26758
26740
  };
26759
26741
  },
26742
+ /**
26743
+ *
26744
+ * @summary Reactivate HospitalEquipment.
26745
+ * @param {string} hospitalId
26746
+ * @param {string} equipmentId
26747
+ * @param {*} [options] Override http request option.
26748
+ * @throws {RequiredError}
26749
+ */
26750
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut: async (hospitalId: string, equipmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26751
+ // verify required parameter 'hospitalId' is not null or undefined
26752
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut', 'hospitalId', hospitalId)
26753
+ // verify required parameter 'equipmentId' is not null or undefined
26754
+ assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut', 'equipmentId', equipmentId)
26755
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/reactive`
26756
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
26757
+ .replace(`{${"equipmentId"}}`, encodeURIComponent(String(equipmentId)));
26758
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26759
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26760
+ let baseOptions;
26761
+ if (configuration) {
26762
+ baseOptions = configuration.baseOptions;
26763
+ }
26764
+
26765
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
26766
+ const localVarHeaderParameter = {} as any;
26767
+ const localVarQueryParameter = {} as any;
26768
+
26769
+ // authentication oauth2 required
26770
+ // oauth required
26771
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
26772
+
26773
+
26774
+
26775
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26776
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26777
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26778
+
26779
+ return {
26780
+ url: toPathString(localVarUrlObj),
26781
+ options: localVarRequestOptions,
26782
+ };
26783
+ },
26760
26784
  /**
26761
26785
  *
26762
26786
  * @summary Get all HospitalEquipments.
@@ -27852,7 +27876,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
27852
27876
  },
27853
27877
  /**
27854
27878
  *
27855
- * @summary Delete HospitalService
27856
27879
  * @param {string} hospitalId
27857
27880
  * @param {string} specialtyId
27858
27881
  * @param {string} serviceId
@@ -27898,7 +27921,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
27898
27921
  },
27899
27922
  /**
27900
27923
  *
27901
- * @summary Get HospitalService.
27902
27924
  * @param {string} hospitalId
27903
27925
  * @param {string} specialtyId
27904
27926
  * @param {string} serviceId
@@ -28442,7 +28464,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
28442
28464
  },
28443
28465
  /**
28444
28466
  *
28445
- * @summary Get Hospital by slug.
28446
28467
  * @param {string} slug
28447
28468
  * @param {string} [languageCode]
28448
28469
  * @param {boolean} [returnDefaultValue]
@@ -28696,6 +28717,18 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
28696
28717
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options);
28697
28718
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28698
28719
  },
28720
+ /**
28721
+ *
28722
+ * @summary Reactivate HospitalEquipment.
28723
+ * @param {string} hospitalId
28724
+ * @param {string} equipmentId
28725
+ * @param {*} [options] Override http request option.
28726
+ * @throws {RequiredError}
28727
+ */
28728
+ async apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId: string, equipmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
28729
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId, equipmentId, options);
28730
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28731
+ },
28699
28732
  /**
28700
28733
  *
28701
28734
  * @summary Get all HospitalEquipments.
@@ -28985,7 +29018,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
28985
29018
  },
28986
29019
  /**
28987
29020
  *
28988
- * @summary Delete HospitalService
28989
29021
  * @param {string} hospitalId
28990
29022
  * @param {string} specialtyId
28991
29023
  * @param {string} serviceId
@@ -28998,7 +29030,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
28998
29030
  },
28999
29031
  /**
29000
29032
  *
29001
- * @summary Get HospitalService.
29002
29033
  * @param {string} hospitalId
29003
29034
  * @param {string} specialtyId
29004
29035
  * @param {string} serviceId
@@ -29140,7 +29171,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
29140
29171
  },
29141
29172
  /**
29142
29173
  *
29143
- * @summary Get Hospital by slug.
29144
29174
  * @param {string} slug
29145
29175
  * @param {string} [languageCode]
29146
29176
  * @param {boolean} [returnDefaultValue]
@@ -29345,6 +29375,17 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29345
29375
  apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId: string, equipmentId: string, updateHospitalEquipmentCommand?: UpdateHospitalEquipmentCommand, options?: any): AxiosPromise<HospitalEquipmentModel> {
29346
29376
  return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options).then((request) => request(axios, basePath));
29347
29377
  },
29378
+ /**
29379
+ *
29380
+ * @summary Reactivate HospitalEquipment.
29381
+ * @param {string} hospitalId
29382
+ * @param {string} equipmentId
29383
+ * @param {*} [options] Override http request option.
29384
+ * @throws {RequiredError}
29385
+ */
29386
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId: string, equipmentId: string, options?: any): AxiosPromise<boolean> {
29387
+ return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId, equipmentId, options).then((request) => request(axios, basePath));
29388
+ },
29348
29389
  /**
29349
29390
  *
29350
29391
  * @summary Get all HospitalEquipments.
@@ -29614,7 +29655,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29614
29655
  },
29615
29656
  /**
29616
29657
  *
29617
- * @summary Delete HospitalService
29618
29658
  * @param {string} hospitalId
29619
29659
  * @param {string} specialtyId
29620
29660
  * @param {string} serviceId
@@ -29626,7 +29666,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29626
29666
  },
29627
29667
  /**
29628
29668
  *
29629
- * @summary Get HospitalService.
29630
29669
  * @param {string} hospitalId
29631
29670
  * @param {string} specialtyId
29632
29671
  * @param {string} serviceId
@@ -29759,7 +29798,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29759
29798
  },
29760
29799
  /**
29761
29800
  *
29762
- * @summary Get Hospital by slug.
29763
29801
  * @param {string} slug
29764
29802
  * @param {string} [languageCode]
29765
29803
  * @param {boolean} [returnDefaultValue]
@@ -29991,6 +30029,19 @@ export class HospitalsApi extends BaseAPI {
29991
30029
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options).then((request) => request(this.axios, this.basePath));
29992
30030
  }
29993
30031
 
30032
+ /**
30033
+ *
30034
+ * @summary Reactivate HospitalEquipment.
30035
+ * @param {string} hospitalId
30036
+ * @param {string} equipmentId
30037
+ * @param {*} [options] Override http request option.
30038
+ * @throws {RequiredError}
30039
+ * @memberof HospitalsApi
30040
+ */
30041
+ public apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId: string, equipmentId: string, options?: AxiosRequestConfig) {
30042
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId, equipmentId, options).then((request) => request(this.axios, this.basePath));
30043
+ }
30044
+
29994
30045
  /**
29995
30046
  *
29996
30047
  * @summary Get all HospitalEquipments.
@@ -30300,7 +30351,6 @@ export class HospitalsApi extends BaseAPI {
30300
30351
 
30301
30352
  /**
30302
30353
  *
30303
- * @summary Delete HospitalService
30304
30354
  * @param {string} hospitalId
30305
30355
  * @param {string} specialtyId
30306
30356
  * @param {string} serviceId
@@ -30314,7 +30364,6 @@ export class HospitalsApi extends BaseAPI {
30314
30364
 
30315
30365
  /**
30316
30366
  *
30317
- * @summary Get HospitalService.
30318
30367
  * @param {string} hospitalId
30319
30368
  * @param {string} specialtyId
30320
30369
  * @param {string} serviceId
@@ -30465,7 +30514,6 @@ export class HospitalsApi extends BaseAPI {
30465
30514
 
30466
30515
  /**
30467
30516
  *
30468
- * @summary Get Hospital by slug.
30469
30517
  * @param {string} slug
30470
30518
  * @param {string} [languageCode]
30471
30519
  * @param {boolean} [returnDefaultValue]
@@ -34140,7 +34188,6 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
34140
34188
  },
34141
34189
  /**
34142
34190
  *
34143
- * @summary Get HospitalService.
34144
34191
  * @param {string} serviceId
34145
34192
  * @param {string} [languageCode]
34146
34193
  * @param {boolean} [returnDefaultValue]
@@ -34188,7 +34235,6 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
34188
34235
  },
34189
34236
  /**
34190
34237
  *
34191
- * @summary Get HospitalService by slug.
34192
34238
  * @param {string} slug
34193
34239
  * @param {string} [languageCode]
34194
34240
  * @param {boolean} [returnDefaultValue]
@@ -34275,7 +34321,6 @@ export const ServicesApiFp = function(configuration?: Configuration) {
34275
34321
  },
34276
34322
  /**
34277
34323
  *
34278
- * @summary Get HospitalService.
34279
34324
  * @param {string} serviceId
34280
34325
  * @param {string} [languageCode]
34281
34326
  * @param {boolean} [returnDefaultValue]
@@ -34288,7 +34333,6 @@ export const ServicesApiFp = function(configuration?: Configuration) {
34288
34333
  },
34289
34334
  /**
34290
34335
  *
34291
- * @summary Get HospitalService by slug.
34292
34336
  * @param {string} slug
34293
34337
  * @param {string} [languageCode]
34294
34338
  * @param {boolean} [returnDefaultValue]
@@ -34339,7 +34383,6 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
34339
34383
  },
34340
34384
  /**
34341
34385
  *
34342
- * @summary Get HospitalService.
34343
34386
  * @param {string} serviceId
34344
34387
  * @param {string} [languageCode]
34345
34388
  * @param {boolean} [returnDefaultValue]
@@ -34351,7 +34394,6 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
34351
34394
  },
34352
34395
  /**
34353
34396
  *
34354
- * @summary Get HospitalService by slug.
34355
34397
  * @param {string} slug
34356
34398
  * @param {string} [languageCode]
34357
34399
  * @param {boolean} [returnDefaultValue]
@@ -34403,7 +34445,6 @@ export class ServicesApi extends BaseAPI {
34403
34445
 
34404
34446
  /**
34405
34447
  *
34406
- * @summary Get HospitalService.
34407
34448
  * @param {string} serviceId
34408
34449
  * @param {string} [languageCode]
34409
34450
  * @param {boolean} [returnDefaultValue]
@@ -34417,7 +34458,6 @@ export class ServicesApi extends BaseAPI {
34417
34458
 
34418
34459
  /**
34419
34460
  *
34420
- * @summary Get HospitalService by slug.
34421
34461
  * @param {string} slug
34422
34462
  * @param {string} [languageCode]
34423
34463
  * @param {boolean} [returnDefaultValue]
@@ -34443,14 +34483,13 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
34443
34483
  * @param {string} [id]
34444
34484
  * @param {string} [name]
34445
34485
  * @param {string} [description]
34446
- * @param {string} [languageCode]
34447
34486
  * @param {number} [page]
34448
34487
  * @param {number} [limit]
34449
34488
  * @param {Date} [lastRetrieved]
34450
34489
  * @param {*} [options] Override http request option.
34451
34490
  * @throws {RequiredError}
34452
34491
  */
34453
- apiV1ServicescategoriesGet: async (id?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34492
+ apiV1ServicescategoriesGet: async (id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34454
34493
  const localVarPath = `/api/v1/servicescategories`;
34455
34494
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
34456
34495
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -34479,10 +34518,6 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
34479
34518
  localVarQueryParameter['Description'] = description;
34480
34519
  }
34481
34520
 
34482
- if (languageCode !== undefined) {
34483
- localVarQueryParameter['LanguageCode'] = languageCode;
34484
- }
34485
-
34486
34521
  if (page !== undefined) {
34487
34522
  localVarQueryParameter['page'] = page;
34488
34523
  }
@@ -34587,11 +34622,10 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
34587
34622
  *
34588
34623
  * @summary Get ServiceCategory.
34589
34624
  * @param {string} serviceCategoryId
34590
- * @param {string} [languageCode]
34591
34625
  * @param {*} [options] Override http request option.
34592
34626
  * @throws {RequiredError}
34593
34627
  */
34594
- apiV1ServicescategoriesServiceCategoryIdGet: async (serviceCategoryId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34628
+ apiV1ServicescategoriesServiceCategoryIdGet: async (serviceCategoryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34595
34629
  // verify required parameter 'serviceCategoryId' is not null or undefined
34596
34630
  assertParamExists('apiV1ServicescategoriesServiceCategoryIdGet', 'serviceCategoryId', serviceCategoryId)
34597
34631
  const localVarPath = `/api/v1/servicescategories/{serviceCategoryId}`
@@ -34611,10 +34645,6 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
34611
34645
  // oauth required
34612
34646
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34613
34647
 
34614
- if (languageCode !== undefined) {
34615
- localVarQueryParameter['languageCode'] = languageCode;
34616
- }
34617
-
34618
34648
 
34619
34649
 
34620
34650
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -34684,15 +34714,14 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
34684
34714
  * @param {string} [id]
34685
34715
  * @param {string} [name]
34686
34716
  * @param {string} [description]
34687
- * @param {string} [languageCode]
34688
34717
  * @param {number} [page]
34689
34718
  * @param {number} [limit]
34690
34719
  * @param {Date} [lastRetrieved]
34691
34720
  * @param {*} [options] Override http request option.
34692
34721
  * @throws {RequiredError}
34693
34722
  */
34694
- async apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
34695
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description, languageCode, page, limit, lastRetrieved, options);
34723
+ async apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
34724
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options);
34696
34725
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34697
34726
  },
34698
34727
  /**
@@ -34720,12 +34749,11 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
34720
34749
  *
34721
34750
  * @summary Get ServiceCategory.
34722
34751
  * @param {string} serviceCategoryId
34723
- * @param {string} [languageCode]
34724
34752
  * @param {*} [options] Override http request option.
34725
34753
  * @throws {RequiredError}
34726
34754
  */
34727
- async apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoryModel>> {
34728
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, languageCode, options);
34755
+ async apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoryModel>> {
34756
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options);
34729
34757
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34730
34758
  },
34731
34759
  /**
@@ -34756,15 +34784,14 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
34756
34784
  * @param {string} [id]
34757
34785
  * @param {string} [name]
34758
34786
  * @param {string} [description]
34759
- * @param {string} [languageCode]
34760
34787
  * @param {number} [page]
34761
34788
  * @param {number} [limit]
34762
34789
  * @param {Date} [lastRetrieved]
34763
34790
  * @param {*} [options] Override http request option.
34764
34791
  * @throws {RequiredError}
34765
34792
  */
34766
- apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
34767
- return localVarFp.apiV1ServicescategoriesGet(id, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
34793
+ apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
34794
+ return localVarFp.apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
34768
34795
  },
34769
34796
  /**
34770
34797
  *
@@ -34789,12 +34816,11 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
34789
34816
  *
34790
34817
  * @summary Get ServiceCategory.
34791
34818
  * @param {string} serviceCategoryId
34792
- * @param {string} [languageCode]
34793
34819
  * @param {*} [options] Override http request option.
34794
34820
  * @throws {RequiredError}
34795
34821
  */
34796
- apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, languageCode?: string, options?: any): AxiosPromise<ServiceCategoryModel> {
34797
- return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, languageCode, options).then((request) => request(axios, basePath));
34822
+ apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: any): AxiosPromise<ServiceCategoryModel> {
34823
+ return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then((request) => request(axios, basePath));
34798
34824
  },
34799
34825
  /**
34800
34826
  *
@@ -34823,7 +34849,6 @@ export class ServicesCategoriesApi extends BaseAPI {
34823
34849
  * @param {string} [id]
34824
34850
  * @param {string} [name]
34825
34851
  * @param {string} [description]
34826
- * @param {string} [languageCode]
34827
34852
  * @param {number} [page]
34828
34853
  * @param {number} [limit]
34829
34854
  * @param {Date} [lastRetrieved]
@@ -34831,8 +34856,8 @@ export class ServicesCategoriesApi extends BaseAPI {
34831
34856
  * @throws {RequiredError}
34832
34857
  * @memberof ServicesCategoriesApi
34833
34858
  */
34834
- public apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
34835
- return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
34859
+ public apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
34860
+ return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
34836
34861
  }
34837
34862
 
34838
34863
  /**
@@ -34862,13 +34887,12 @@ export class ServicesCategoriesApi extends BaseAPI {
34862
34887
  *
34863
34888
  * @summary Get ServiceCategory.
34864
34889
  * @param {string} serviceCategoryId
34865
- * @param {string} [languageCode]
34866
34890
  * @param {*} [options] Override http request option.
34867
34891
  * @throws {RequiredError}
34868
34892
  * @memberof ServicesCategoriesApi
34869
34893
  */
34870
- public apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, languageCode?: string, options?: AxiosRequestConfig) {
34871
- return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, languageCode, options).then((request) => request(this.axios, this.basePath));
34894
+ public apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: AxiosRequestConfig) {
34895
+ return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then((request) => request(this.axios, this.basePath));
34872
34896
  }
34873
34897
 
34874
34898
  /**
@@ -35030,7 +35054,6 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
35030
35054
  },
35031
35055
  /**
35032
35056
  *
35033
- * @summary Get Specialty by slug.
35034
35057
  * @param {string} slug
35035
35058
  * @param {string} [languageCode]
35036
35059
  * @param {boolean} [returnDefaultValue]
@@ -35486,7 +35509,6 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
35486
35509
  },
35487
35510
  /**
35488
35511
  *
35489
- * @summary Get Specialty by slug.
35490
35512
  * @param {string} slug
35491
35513
  * @param {string} [languageCode]
35492
35514
  * @param {boolean} [returnDefaultValue]
@@ -35641,7 +35663,6 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
35641
35663
  },
35642
35664
  /**
35643
35665
  *
35644
- * @summary Get Specialty by slug.
35645
35666
  * @param {string} slug
35646
35667
  * @param {string} [languageCode]
35647
35668
  * @param {boolean} [returnDefaultValue]
@@ -35791,7 +35812,6 @@ export class SpecialtiesApi extends BaseAPI {
35791
35812
 
35792
35813
  /**
35793
35814
  *
35794
- * @summary Get Specialty by slug.
35795
35815
  * @param {string} slug
35796
35816
  * @param {string} [languageCode]
35797
35817
  * @param {boolean} [returnDefaultValue]
@@ -36166,7 +36186,6 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
36166
36186
  },
36167
36187
  /**
36168
36188
  *
36169
- * @summary Get Department by slug.
36170
36189
  * @param {string} slug
36171
36190
  * @param {string} [languageCode]
36172
36191
  * @param {boolean} [returnDefaultValue]
@@ -36252,7 +36271,6 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
36252
36271
  },
36253
36272
  /**
36254
36273
  *
36255
- * @summary Get Department.
36256
36274
  * @param {string} specialtyTypeId
36257
36275
  * @param {string} [languageCode]
36258
36276
  * @param {boolean} [returnDefaultValue]
@@ -36646,7 +36664,6 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
36646
36664
  },
36647
36665
  /**
36648
36666
  *
36649
- * @summary Get Department by slug.
36650
36667
  * @param {string} slug
36651
36668
  * @param {string} [languageCode]
36652
36669
  * @param {boolean} [returnDefaultValue]
@@ -36670,7 +36687,6 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
36670
36687
  },
36671
36688
  /**
36672
36689
  *
36673
- * @summary Get Department.
36674
36690
  * @param {string} specialtyTypeId
36675
36691
  * @param {string} [languageCode]
36676
36692
  * @param {boolean} [returnDefaultValue]
@@ -36824,7 +36840,6 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
36824
36840
  },
36825
36841
  /**
36826
36842
  *
36827
- * @summary Get Department by slug.
36828
36843
  * @param {string} slug
36829
36844
  * @param {string} [languageCode]
36830
36845
  * @param {boolean} [returnDefaultValue]
@@ -36846,7 +36861,6 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
36846
36861
  },
36847
36862
  /**
36848
36863
  *
36849
- * @summary Get Department.
36850
36864
  * @param {string} specialtyTypeId
36851
36865
  * @param {string} [languageCode]
36852
36866
  * @param {boolean} [returnDefaultValue]
@@ -36999,7 +37013,6 @@ export class SpecialtyTypesApi extends BaseAPI {
36999
37013
 
37000
37014
  /**
37001
37015
  *
37002
- * @summary Get Department by slug.
37003
37016
  * @param {string} slug
37004
37017
  * @param {string} [languageCode]
37005
37018
  * @param {boolean} [returnDefaultValue]
@@ -37025,7 +37038,6 @@ export class SpecialtyTypesApi extends BaseAPI {
37025
37038
 
37026
37039
  /**
37027
37040
  *
37028
- * @summary Get Department.
37029
37041
  * @param {string} specialtyTypeId
37030
37042
  * @param {string} [languageCode]
37031
37043
  * @param {boolean} [returnDefaultValue]