ch-api-client-typescript2 2.7.4 → 2.7.8

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
@@ -936,6 +936,12 @@ export interface BookingItemModel {
936
936
  * @memberof BookingItemModel
937
937
  */
938
938
  'hospitalSlug'?: string | null;
939
+ /**
940
+ *
941
+ * @type {string}
942
+ * @memberof BookingItemModel
943
+ */
944
+ 'hospitalTimeZone'?: string | null;
939
945
  /**
940
946
  *
941
947
  * @type {string}
@@ -1135,6 +1141,12 @@ export interface BookingModel {
1135
1141
  * @memberof BookingModel
1136
1142
  */
1137
1143
  'hospitalSlug'?: string | null;
1144
+ /**
1145
+ *
1146
+ * @type {string}
1147
+ * @memberof BookingModel
1148
+ */
1149
+ 'hospitalTimeZone'?: string | null;
1138
1150
  /**
1139
1151
  *
1140
1152
  * @type {string}
@@ -1574,6 +1586,12 @@ export interface ConsultationItemModel {
1574
1586
  * @memberof ConsultationItemModel
1575
1587
  */
1576
1588
  'hospitalSlug'?: string | null;
1589
+ /**
1590
+ *
1591
+ * @type {string}
1592
+ * @memberof ConsultationItemModel
1593
+ */
1594
+ 'hospitalTimeZone'?: string | null;
1577
1595
  /**
1578
1596
  *
1579
1597
  * @type {string}
@@ -1833,6 +1851,12 @@ export interface ConsultationModel {
1833
1851
  * @memberof ConsultationModel
1834
1852
  */
1835
1853
  'hospitalSlug'?: string | null;
1854
+ /**
1855
+ *
1856
+ * @type {string}
1857
+ * @memberof ConsultationModel
1858
+ */
1859
+ 'hospitalTimeZone'?: string | null;
1836
1860
  /**
1837
1861
  *
1838
1862
  * @type {string}
@@ -5847,6 +5871,12 @@ export interface HospitalSpecialtiesModel {
5847
5871
  * @interface HospitalSpecialtyItemModel
5848
5872
  */
5849
5873
  export interface HospitalSpecialtyItemModel {
5874
+ /**
5875
+ *
5876
+ * @type {string}
5877
+ * @memberof HospitalSpecialtyItemModel
5878
+ */
5879
+ 'id'?: string;
5850
5880
  /**
5851
5881
  *
5852
5882
  * @type {string}
@@ -5895,12 +5925,54 @@ export interface HospitalSpecialtyItemModel {
5895
5925
  * @memberof HospitalSpecialtyItemModel
5896
5926
  */
5897
5927
  'marketingType'?: MarketingType;
5928
+ /**
5929
+ *
5930
+ * @type {string}
5931
+ * @memberof HospitalSpecialtyItemModel
5932
+ */
5933
+ 'title'?: string | null;
5934
+ /**
5935
+ *
5936
+ * @type {string}
5937
+ * @memberof HospitalSpecialtyItemModel
5938
+ */
5939
+ 'normalizedTitle'?: string | null;
5940
+ /**
5941
+ *
5942
+ * @type {string}
5943
+ * @memberof HospitalSpecialtyItemModel
5944
+ */
5945
+ 'description'?: string | null;
5946
+ /**
5947
+ *
5948
+ * @type {string}
5949
+ * @memberof HospitalSpecialtyItemModel
5950
+ */
5951
+ 'content'?: string | null;
5898
5952
  /**
5899
5953
  *
5900
5954
  * @type {number}
5901
5955
  * @memberof HospitalSpecialtyItemModel
5902
5956
  */
5903
5957
  'order'?: number;
5958
+ /**
5959
+ *
5960
+ * @type {boolean}
5961
+ * @memberof HospitalSpecialtyItemModel
5962
+ */
5963
+ 'confirmed'?: boolean;
5964
+ /**
5965
+ *
5966
+ * @type {Array<MediaModel>}
5967
+ * @memberof HospitalSpecialtyItemModel
5968
+ */
5969
+ 'medias'?: Array<MediaModel> | null;
5970
+ /**
5971
+ *
5972
+ * @type {AuditableEntity}
5973
+ * @memberof HospitalSpecialtyItemModel
5974
+ */
5975
+ 'auditableEntity'?: AuditableEntity;
5904
5976
  }
5905
5977
  /**
5906
5978
  *
@@ -5908,6 +5980,12 @@ export interface HospitalSpecialtyItemModel {
5908
5980
  * @interface HospitalSpecialtyModel
5909
5981
  */
5910
5982
  export interface HospitalSpecialtyModel {
5983
+ /**
5984
+ *
5985
+ * @type {string}
5986
+ * @memberof HospitalSpecialtyModel
5987
+ */
5988
+ 'id'?: string;
5911
5989
  /**
5912
5990
  *
5913
5991
  * @type {string}
@@ -5956,12 +6034,60 @@ export interface HospitalSpecialtyModel {
5956
6034
  * @memberof HospitalSpecialtyModel
5957
6035
  */
5958
6036
  'marketingType'?: MarketingType;
6037
+ /**
6038
+ *
6039
+ * @type {string}
6040
+ * @memberof HospitalSpecialtyModel
6041
+ */
6042
+ 'title'?: string | null;
6043
+ /**
6044
+ *
6045
+ * @type {string}
6046
+ * @memberof HospitalSpecialtyModel
6047
+ */
6048
+ 'normalizedTitle'?: string | null;
6049
+ /**
6050
+ *
6051
+ * @type {string}
6052
+ * @memberof HospitalSpecialtyModel
6053
+ */
6054
+ 'description'?: string | null;
6055
+ /**
6056
+ *
6057
+ * @type {string}
6058
+ * @memberof HospitalSpecialtyModel
6059
+ */
6060
+ 'content'?: string | null;
5959
6061
  /**
5960
6062
  *
5961
6063
  * @type {number}
5962
6064
  * @memberof HospitalSpecialtyModel
5963
6065
  */
5964
6066
  'order'?: number;
6067
+ /**
6068
+ *
6069
+ * @type {boolean}
6070
+ * @memberof HospitalSpecialtyModel
6071
+ */
6072
+ 'confirmed'?: boolean;
6073
+ /**
6074
+ *
6075
+ * @type {Array<MediaModel>}
6076
+ * @memberof HospitalSpecialtyModel
6077
+ */
6078
+ 'medias'?: Array<MediaModel> | null;
6079
+ /**
6080
+ *
6081
+ * @type {AuditableEntity}
6082
+ * @memberof HospitalSpecialtyModel
6083
+ */
6084
+ 'auditableEntity'?: AuditableEntity;
6085
+ /**
6086
+ *
6087
+ * @type {string}
6088
+ * @memberof HospitalSpecialtyModel
6089
+ */
6090
+ 'languageCode'?: string | null;
5965
6091
  }
5966
6092
  /**
5967
6093
  *
@@ -16563,7 +16689,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
16563
16689
  * @summary Get all Hospitals.
16564
16690
  * @param {string} [hospitalId]
16565
16691
  * @param {string} [name]
16566
- * @param {string} [description]
16567
16692
  * @param {string} [countryId]
16568
16693
  * @param {Date} [created]
16569
16694
  * @param {MarketingType} [marketingType]
@@ -16581,7 +16706,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
16581
16706
  * @param {*} [options] Override http request option.
16582
16707
  * @throws {RequiredError}
16583
16708
  */
16584
- apiV2HospitalsGet: async (hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16709
+ apiV2HospitalsGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16585
16710
  const localVarPath = `/api/v2/hospitals`;
16586
16711
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16587
16712
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -16602,10 +16727,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
16602
16727
  localVarQueryParameter['Name'] = name;
16603
16728
  }
16604
16729
 
16605
- if (description !== undefined) {
16606
- localVarQueryParameter['Description'] = description;
16607
- }
16608
-
16609
16730
  if (countryId !== undefined) {
16610
16731
  localVarQueryParameter['CountryId'] = countryId;
16611
16732
  }
@@ -17264,15 +17385,18 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
17264
17385
  * @param {string} [specialtyId]
17265
17386
  * @param {string} [specialtyName]
17266
17387
  * @param {string} [specialtyTypeId]
17388
+ * @param {string} [title]
17267
17389
  * @param {MarketingType} [marketingType]
17268
- * @param {Date} [created]
17390
+ * @param {string} [languageCode]
17391
+ * @param {boolean} [showHidden]
17392
+ * @param {boolean} [returnDefaultValue]
17269
17393
  * @param {number} [page]
17270
17394
  * @param {number} [limit]
17271
17395
  * @param {Date} [lastRetrieved]
17272
17396
  * @param {*} [options] Override http request option.
17273
17397
  * @throws {RequiredError}
17274
17398
  */
17275
- apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17399
+ apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17276
17400
  // verify required parameter 'hospitalId' is not null or undefined
17277
17401
  assertParamExists('apiV2HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
17278
17402
  const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties`
@@ -17308,14 +17432,24 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
17308
17432
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
17309
17433
  }
17310
17434
 
17435
+ if (title !== undefined) {
17436
+ localVarQueryParameter['Title'] = title;
17437
+ }
17438
+
17311
17439
  if (marketingType !== undefined) {
17312
17440
  localVarQueryParameter['MarketingType'] = marketingType;
17313
17441
  }
17314
17442
 
17315
- if (created !== undefined) {
17316
- localVarQueryParameter['Created'] = (created as any instanceof Date) ?
17317
- (created as any).toISOString() :
17318
- created;
17443
+ if (languageCode !== undefined) {
17444
+ localVarQueryParameter['LanguageCode'] = languageCode;
17445
+ }
17446
+
17447
+ if (showHidden !== undefined) {
17448
+ localVarQueryParameter['ShowHidden'] = showHidden;
17449
+ }
17450
+
17451
+ if (returnDefaultValue !== undefined) {
17452
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
17319
17453
  }
17320
17454
 
17321
17455
  if (page !== undefined) {
@@ -17348,10 +17482,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
17348
17482
  * @summary Get HospitalSpecialty.
17349
17483
  * @param {string} hospitalId
17350
17484
  * @param {string} specialtyId
17485
+ * @param {string} [languageCode]
17486
+ * @param {boolean} [returnDefaultValue]
17351
17487
  * @param {*} [options] Override http request option.
17352
17488
  * @throws {RequiredError}
17353
17489
  */
17354
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17490
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17355
17491
  // verify required parameter 'hospitalId' is not null or undefined
17356
17492
  assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId)
17357
17493
  // verify required parameter 'specialtyId' is not null or undefined
@@ -17370,6 +17506,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
17370
17506
  const localVarHeaderParameter = {} as any;
17371
17507
  const localVarQueryParameter = {} as any;
17372
17508
 
17509
+ if (languageCode !== undefined) {
17510
+ localVarQueryParameter['languageCode'] = languageCode;
17511
+ }
17512
+
17513
+ if (returnDefaultValue !== undefined) {
17514
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
17515
+ }
17516
+
17373
17517
 
17374
17518
 
17375
17519
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17680,7 +17824,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
17680
17824
  * @summary Get all Hospitals.
17681
17825
  * @param {string} [hospitalId]
17682
17826
  * @param {string} [name]
17683
- * @param {string} [description]
17684
17827
  * @param {string} [countryId]
17685
17828
  * @param {Date} [created]
17686
17829
  * @param {MarketingType} [marketingType]
@@ -17698,7 +17841,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
17698
17841
  * @param {*} [options] Override http request option.
17699
17842
  * @throws {RequiredError}
17700
17843
  */
17701
- apiV2HospitalsSimpleGet: async (hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17844
+ apiV2HospitalsSimpleGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17702
17845
  const localVarPath = `/api/v2/hospitals/simple`;
17703
17846
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17704
17847
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -17719,10 +17862,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
17719
17862
  localVarQueryParameter['Name'] = name;
17720
17863
  }
17721
17864
 
17722
- if (description !== undefined) {
17723
- localVarQueryParameter['Description'] = description;
17724
- }
17725
-
17726
17865
  if (countryId !== undefined) {
17727
17866
  localVarQueryParameter['CountryId'] = countryId;
17728
17867
  }
@@ -17852,7 +17991,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
17852
17991
  * @summary Get all Hospitals.
17853
17992
  * @param {string} [hospitalId]
17854
17993
  * @param {string} [name]
17855
- * @param {string} [description]
17856
17994
  * @param {string} [countryId]
17857
17995
  * @param {Date} [created]
17858
17996
  * @param {MarketingType} [marketingType]
@@ -17870,8 +18008,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
17870
18008
  * @param {*} [options] Override http request option.
17871
18009
  * @throws {RequiredError}
17872
18010
  */
17873
- async apiV2HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
17874
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
18011
+ async apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
18012
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
17875
18013
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
17876
18014
  },
17877
18015
  /**
@@ -18043,16 +18181,19 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
18043
18181
  * @param {string} [specialtyId]
18044
18182
  * @param {string} [specialtyName]
18045
18183
  * @param {string} [specialtyTypeId]
18184
+ * @param {string} [title]
18046
18185
  * @param {MarketingType} [marketingType]
18047
- * @param {Date} [created]
18186
+ * @param {string} [languageCode]
18187
+ * @param {boolean} [showHidden]
18188
+ * @param {boolean} [returnDefaultValue]
18048
18189
  * @param {number} [page]
18049
18190
  * @param {number} [limit]
18050
18191
  * @param {Date} [lastRetrieved]
18051
18192
  * @param {*} [options] Override http request option.
18052
18193
  * @throws {RequiredError}
18053
18194
  */
18054
- async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
18055
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options);
18195
+ async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
18196
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
18056
18197
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18057
18198
  },
18058
18199
  /**
@@ -18060,11 +18201,13 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
18060
18201
  * @summary Get HospitalSpecialty.
18061
18202
  * @param {string} hospitalId
18062
18203
  * @param {string} specialtyId
18204
+ * @param {string} [languageCode]
18205
+ * @param {boolean} [returnDefaultValue]
18063
18206
  * @param {*} [options] Override http request option.
18064
18207
  * @throws {RequiredError}
18065
18208
  */
18066
- async apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
18067
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options);
18209
+ async apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
18210
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options);
18068
18211
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18069
18212
  },
18070
18213
  /**
@@ -18148,7 +18291,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
18148
18291
  * @summary Get all Hospitals.
18149
18292
  * @param {string} [hospitalId]
18150
18293
  * @param {string} [name]
18151
- * @param {string} [description]
18152
18294
  * @param {string} [countryId]
18153
18295
  * @param {Date} [created]
18154
18296
  * @param {MarketingType} [marketingType]
@@ -18166,8 +18308,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
18166
18308
  * @param {*} [options] Override http request option.
18167
18309
  * @throws {RequiredError}
18168
18310
  */
18169
- async apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
18170
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
18311
+ async apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
18312
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
18171
18313
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18172
18314
  },
18173
18315
  /**
@@ -18197,7 +18339,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
18197
18339
  * @summary Get all Hospitals.
18198
18340
  * @param {string} [hospitalId]
18199
18341
  * @param {string} [name]
18200
- * @param {string} [description]
18201
18342
  * @param {string} [countryId]
18202
18343
  * @param {Date} [created]
18203
18344
  * @param {MarketingType} [marketingType]
@@ -18215,8 +18356,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
18215
18356
  * @param {*} [options] Override http request option.
18216
18357
  * @throws {RequiredError}
18217
18358
  */
18218
- apiV2HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
18219
- return localVarFp.apiV2HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
18359
+ apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
18360
+ return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
18220
18361
  },
18221
18362
  /**
18222
18363
  *
@@ -18376,27 +18517,32 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
18376
18517
  * @param {string} [specialtyId]
18377
18518
  * @param {string} [specialtyName]
18378
18519
  * @param {string} [specialtyTypeId]
18520
+ * @param {string} [title]
18379
18521
  * @param {MarketingType} [marketingType]
18380
- * @param {Date} [created]
18522
+ * @param {string} [languageCode]
18523
+ * @param {boolean} [showHidden]
18524
+ * @param {boolean} [returnDefaultValue]
18381
18525
  * @param {number} [page]
18382
18526
  * @param {number} [limit]
18383
18527
  * @param {Date} [lastRetrieved]
18384
18528
  * @param {*} [options] Override http request option.
18385
18529
  * @throws {RequiredError}
18386
18530
  */
18387
- apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
18388
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
18531
+ apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
18532
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
18389
18533
  },
18390
18534
  /**
18391
18535
  *
18392
18536
  * @summary Get HospitalSpecialty.
18393
18537
  * @param {string} hospitalId
18394
18538
  * @param {string} specialtyId
18539
+ * @param {string} [languageCode]
18540
+ * @param {boolean} [returnDefaultValue]
18395
18541
  * @param {*} [options] Override http request option.
18396
18542
  * @throws {RequiredError}
18397
18543
  */
18398
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
18399
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(axios, basePath));
18544
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalSpecialtyModel> {
18545
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
18400
18546
  },
18401
18547
  /**
18402
18548
  *
@@ -18475,7 +18621,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
18475
18621
  * @summary Get all Hospitals.
18476
18622
  * @param {string} [hospitalId]
18477
18623
  * @param {string} [name]
18478
- * @param {string} [description]
18479
18624
  * @param {string} [countryId]
18480
18625
  * @param {Date} [created]
18481
18626
  * @param {MarketingType} [marketingType]
@@ -18493,8 +18638,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
18493
18638
  * @param {*} [options] Override http request option.
18494
18639
  * @throws {RequiredError}
18495
18640
  */
18496
- apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
18497
- return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
18641
+ apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
18642
+ return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
18498
18643
  },
18499
18644
  /**
18500
18645
  *
@@ -18522,7 +18667,6 @@ export class HospitalsApi extends BaseAPI {
18522
18667
  * @summary Get all Hospitals.
18523
18668
  * @param {string} [hospitalId]
18524
18669
  * @param {string} [name]
18525
- * @param {string} [description]
18526
18670
  * @param {string} [countryId]
18527
18671
  * @param {Date} [created]
18528
18672
  * @param {MarketingType} [marketingType]
@@ -18541,8 +18685,8 @@ export class HospitalsApi extends BaseAPI {
18541
18685
  * @throws {RequiredError}
18542
18686
  * @memberof HospitalsApi
18543
18687
  */
18544
- public apiV2HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
18545
- return HospitalsApiFp(this.configuration).apiV2HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
18688
+ public apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
18689
+ return HospitalsApiFp(this.configuration).apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
18546
18690
  }
18547
18691
 
18548
18692
  /**
@@ -18725,8 +18869,11 @@ export class HospitalsApi extends BaseAPI {
18725
18869
  * @param {string} [specialtyId]
18726
18870
  * @param {string} [specialtyName]
18727
18871
  * @param {string} [specialtyTypeId]
18872
+ * @param {string} [title]
18728
18873
  * @param {MarketingType} [marketingType]
18729
- * @param {Date} [created]
18874
+ * @param {string} [languageCode]
18875
+ * @param {boolean} [showHidden]
18876
+ * @param {boolean} [returnDefaultValue]
18730
18877
  * @param {number} [page]
18731
18878
  * @param {number} [limit]
18732
18879
  * @param {Date} [lastRetrieved]
@@ -18734,8 +18881,8 @@ export class HospitalsApi extends BaseAPI {
18734
18881
  * @throws {RequiredError}
18735
18882
  * @memberof HospitalsApi
18736
18883
  */
18737
- public apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
18738
- return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
18884
+ public apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
18885
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
18739
18886
  }
18740
18887
 
18741
18888
  /**
@@ -18743,12 +18890,14 @@ export class HospitalsApi extends BaseAPI {
18743
18890
  * @summary Get HospitalSpecialty.
18744
18891
  * @param {string} hospitalId
18745
18892
  * @param {string} specialtyId
18893
+ * @param {string} [languageCode]
18894
+ * @param {boolean} [returnDefaultValue]
18746
18895
  * @param {*} [options] Override http request option.
18747
18896
  * @throws {RequiredError}
18748
18897
  * @memberof HospitalsApi
18749
18898
  */
18750
- public apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig) {
18751
- return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(this.axios, this.basePath));
18899
+ public apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
18900
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
18752
18901
  }
18753
18902
 
18754
18903
  /**
@@ -18836,7 +18985,6 @@ export class HospitalsApi extends BaseAPI {
18836
18985
  * @summary Get all Hospitals.
18837
18986
  * @param {string} [hospitalId]
18838
18987
  * @param {string} [name]
18839
- * @param {string} [description]
18840
18988
  * @param {string} [countryId]
18841
18989
  * @param {Date} [created]
18842
18990
  * @param {MarketingType} [marketingType]
@@ -18855,8 +19003,8 @@ export class HospitalsApi extends BaseAPI {
18855
19003
  * @throws {RequiredError}
18856
19004
  * @memberof HospitalsApi
18857
19005
  */
18858
- public apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
18859
- return HospitalsApiFp(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
19006
+ public apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
19007
+ return HospitalsApiFp(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
18860
19008
  }
18861
19009
 
18862
19010
  /**
@@ -23171,14 +23319,13 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
23171
23319
  * @summary Get all ServiceCategories.
23172
23320
  * @param {string} [id]
23173
23321
  * @param {string} [name]
23174
- * @param {string} [description]
23175
23322
  * @param {number} [page]
23176
23323
  * @param {number} [limit]
23177
23324
  * @param {Date} [lastRetrieved]
23178
23325
  * @param {*} [options] Override http request option.
23179
23326
  * @throws {RequiredError}
23180
23327
  */
23181
- apiV2ServicescategoriesGet: async (id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23328
+ apiV2ServicescategoriesGet: async (id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23182
23329
  const localVarPath = `/api/v2/servicescategories`;
23183
23330
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23184
23331
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -23199,10 +23346,6 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
23199
23346
  localVarQueryParameter['Name'] = name;
23200
23347
  }
23201
23348
 
23202
- if (description !== undefined) {
23203
- localVarQueryParameter['Description'] = description;
23204
- }
23205
-
23206
23349
  if (page !== undefined) {
23207
23350
  localVarQueryParameter['page'] = page;
23208
23351
  }
@@ -23277,15 +23420,14 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
23277
23420
  * @summary Get all ServiceCategories.
23278
23421
  * @param {string} [id]
23279
23422
  * @param {string} [name]
23280
- * @param {string} [description]
23281
23423
  * @param {number} [page]
23282
23424
  * @param {number} [limit]
23283
23425
  * @param {Date} [lastRetrieved]
23284
23426
  * @param {*} [options] Override http request option.
23285
23427
  * @throws {RequiredError}
23286
23428
  */
23287
- async apiV2ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
23288
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options);
23429
+ async apiV2ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
23430
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicescategoriesGet(id, name, page, limit, lastRetrieved, options);
23289
23431
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23290
23432
  },
23291
23433
  /**
@@ -23314,15 +23456,14 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
23314
23456
  * @summary Get all ServiceCategories.
23315
23457
  * @param {string} [id]
23316
23458
  * @param {string} [name]
23317
- * @param {string} [description]
23318
23459
  * @param {number} [page]
23319
23460
  * @param {number} [limit]
23320
23461
  * @param {Date} [lastRetrieved]
23321
23462
  * @param {*} [options] Override http request option.
23322
23463
  * @throws {RequiredError}
23323
23464
  */
23324
- apiV2ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
23325
- return localVarFp.apiV2ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
23465
+ apiV2ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
23466
+ return localVarFp.apiV2ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
23326
23467
  },
23327
23468
  /**
23328
23469
  *
@@ -23349,7 +23490,6 @@ export class ServicesCategoriesApi extends BaseAPI {
23349
23490
  * @summary Get all ServiceCategories.
23350
23491
  * @param {string} [id]
23351
23492
  * @param {string} [name]
23352
- * @param {string} [description]
23353
23493
  * @param {number} [page]
23354
23494
  * @param {number} [limit]
23355
23495
  * @param {Date} [lastRetrieved]
@@ -23357,8 +23497,8 @@ export class ServicesCategoriesApi extends BaseAPI {
23357
23497
  * @throws {RequiredError}
23358
23498
  * @memberof ServicesCategoriesApi
23359
23499
  */
23360
- public apiV2ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
23361
- return ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
23500
+ public apiV2ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
23501
+ return ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
23362
23502
  }
23363
23503
 
23364
23504
  /**