ch-api-client-typescript2 2.8.8 → 2.8.11

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
@@ -5569,6 +5569,12 @@ export interface HospitalItemModel {
5569
5569
  * @memberof HospitalItemModel
5570
5570
  */
5571
5571
  'timeZone'?: string | null;
5572
+ /**
5573
+ *
5574
+ * @type {string}
5575
+ * @memberof HospitalItemModel
5576
+ */
5577
+ 'websiteUrl'?: string | null;
5572
5578
  /**
5573
5579
  *
5574
5580
  * @type {number}
@@ -5786,6 +5792,12 @@ export interface HospitalModel {
5786
5792
  * @memberof HospitalModel
5787
5793
  */
5788
5794
  'timeZone'?: string | null;
5795
+ /**
5796
+ *
5797
+ * @type {string}
5798
+ * @memberof HospitalModel
5799
+ */
5800
+ 'websiteUrl'?: string | null;
5789
5801
  /**
5790
5802
  *
5791
5803
  * @type {number}
@@ -6045,6 +6057,12 @@ export interface HospitalServiceItemModel {
6045
6057
  * @memberof HospitalServiceItemModel
6046
6058
  */
6047
6059
  'photoThumbnail'?: string | null;
6060
+ /**
6061
+ *
6062
+ * @type {Array<MediaModel>}
6063
+ * @memberof HospitalServiceItemModel
6064
+ */
6065
+ 'medias'?: Array<MediaModel> | null;
6048
6066
  /**
6049
6067
  *
6050
6068
  * @type {AuditableEntity}
@@ -6196,6 +6214,12 @@ export interface HospitalServiceModel {
6196
6214
  * @memberof HospitalServiceModel
6197
6215
  */
6198
6216
  'photoThumbnail'?: string | null;
6217
+ /**
6218
+ *
6219
+ * @type {Array<MediaModel>}
6220
+ * @memberof HospitalServiceModel
6221
+ */
6222
+ 'medias'?: Array<MediaModel> | null;
6199
6223
  /**
6200
6224
  *
6201
6225
  * @type {AuditableEntity}
@@ -6599,6 +6623,12 @@ export interface HospitalSpecialtySimpleItemModel {
6599
6623
  * @memberof HospitalSpecialtySimpleItemModel
6600
6624
  */
6601
6625
  'id'?: string;
6626
+ /**
6627
+ *
6628
+ * @type {string}
6629
+ * @memberof HospitalSpecialtySimpleItemModel
6630
+ */
6631
+ 'title'?: string | null;
6602
6632
  /**
6603
6633
  *
6604
6634
  * @type {string}
@@ -8280,6 +8310,12 @@ export interface SpecialtyItemModel {
8280
8310
  * @memberof SpecialtyItemModel
8281
8311
  */
8282
8312
  'returnDefaultValue'?: boolean | null;
8313
+ /**
8314
+ *
8315
+ * @type {Array<MediaModel>}
8316
+ * @memberof SpecialtyItemModel
8317
+ */
8318
+ 'medias'?: Array<MediaModel> | null;
8283
8319
  }
8284
8320
  /**
8285
8321
  *
@@ -8359,6 +8395,12 @@ export interface SpecialtyModel {
8359
8395
  * @memberof SpecialtyModel
8360
8396
  */
8361
8397
  'returnDefaultValue'?: boolean | null;
8398
+ /**
8399
+ *
8400
+ * @type {Array<MediaModel>}
8401
+ * @memberof SpecialtyModel
8402
+ */
8403
+ 'medias'?: Array<MediaModel> | null;
8362
8404
  /**
8363
8405
  *
8364
8406
  * @type {string}
@@ -18405,6 +18447,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
18405
18447
  * @param {string} [specialtyId]
18406
18448
  * @param {string} [specialtyName]
18407
18449
  * @param {string} [specialtyTypeId]
18450
+ * @param {string} [hospitalSpecialtySlug]
18408
18451
  * @param {string} [title]
18409
18452
  * @param {MarketingType} [marketingType]
18410
18453
  * @param {string} [languageCode]
@@ -18417,7 +18460,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
18417
18460
  * @param {*} [options] Override http request option.
18418
18461
  * @throws {RequiredError}
18419
18462
  */
18420
- apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18463
+ apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18421
18464
  // verify required parameter 'hospitalId' is not null or undefined
18422
18465
  assertParamExists('apiV2HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
18423
18466
  const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties`
@@ -18453,6 +18496,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
18453
18496
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
18454
18497
  }
18455
18498
 
18499
+ if (hospitalSpecialtySlug !== undefined) {
18500
+ localVarQueryParameter['HospitalSpecialtySlug'] = hospitalSpecialtySlug;
18501
+ }
18502
+
18456
18503
  if (title !== undefined) {
18457
18504
  localVarQueryParameter['Title'] = title;
18458
18505
  }
@@ -18511,6 +18558,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
18511
18558
  * @param {string} [specialtyId]
18512
18559
  * @param {string} [specialtyName]
18513
18560
  * @param {string} [specialtyTypeId]
18561
+ * @param {string} [hospitalSpecialtySlug]
18514
18562
  * @param {string} [title]
18515
18563
  * @param {MarketingType} [marketingType]
18516
18564
  * @param {string} [languageCode]
@@ -18523,7 +18571,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
18523
18571
  * @param {*} [options] Override http request option.
18524
18572
  * @throws {RequiredError}
18525
18573
  */
18526
- apiV2HospitalsHospitalIdSpecialtiesSimpleGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18574
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18527
18575
  // verify required parameter 'hospitalId' is not null or undefined
18528
18576
  assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId)
18529
18577
  const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/simple`
@@ -18559,6 +18607,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
18559
18607
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
18560
18608
  }
18561
18609
 
18610
+ if (hospitalSpecialtySlug !== undefined) {
18611
+ localVarQueryParameter['HospitalSpecialtySlug'] = hospitalSpecialtySlug;
18612
+ }
18613
+
18562
18614
  if (title !== undefined) {
18563
18615
  localVarQueryParameter['Title'] = title;
18564
18616
  }
@@ -18946,59 +18998,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
18946
18998
 
18947
18999
 
18948
19000
 
18949
- setSearchParams(localVarUrlObj, localVarQueryParameter);
18950
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18951
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18952
-
18953
- return {
18954
- url: toPathString(localVarUrlObj),
18955
- options: localVarRequestOptions,
18956
- };
18957
- },
18958
- /**
18959
- *
18960
- * @summary Get HospitalSpecialty by Specialty slug
18961
- * @param {string} hospitalId
18962
- * @param {string} specialtySlug
18963
- * @param {string} [languageCode]
18964
- * @param {boolean} [returnDefaultValue]
18965
- * @param {boolean} [includeServices]
18966
- * @param {*} [options] Override http request option.
18967
- * @throws {RequiredError}
18968
- */
18969
- apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet: async (hospitalId: string, specialtySlug: string, languageCode?: string, returnDefaultValue?: boolean, includeServices?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18970
- // verify required parameter 'hospitalId' is not null or undefined
18971
- assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet', 'hospitalId', hospitalId)
18972
- // verify required parameter 'specialtySlug' is not null or undefined
18973
- assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet', 'specialtySlug', specialtySlug)
18974
- const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/{specialtySlug}`
18975
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
18976
- .replace(`{${"specialtySlug"}}`, encodeURIComponent(String(specialtySlug)));
18977
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
18978
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18979
- let baseOptions;
18980
- if (configuration) {
18981
- baseOptions = configuration.baseOptions;
18982
- }
18983
-
18984
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18985
- const localVarHeaderParameter = {} as any;
18986
- const localVarQueryParameter = {} as any;
18987
-
18988
- if (languageCode !== undefined) {
18989
- localVarQueryParameter['languageCode'] = languageCode;
18990
- }
18991
-
18992
- if (returnDefaultValue !== undefined) {
18993
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
18994
- }
18995
-
18996
- if (includeServices !== undefined) {
18997
- localVarQueryParameter['includeServices'] = includeServices;
18998
- }
18999
-
19000
-
19001
-
19002
19001
  setSearchParams(localVarUrlObj, localVarQueryParameter);
19003
19002
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19004
19003
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -19370,6 +19369,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
19370
19369
  * @param {string} [specialtyId]
19371
19370
  * @param {string} [specialtyName]
19372
19371
  * @param {string} [specialtyTypeId]
19372
+ * @param {string} [hospitalSpecialtySlug]
19373
19373
  * @param {string} [title]
19374
19374
  * @param {MarketingType} [marketingType]
19375
19375
  * @param {string} [languageCode]
@@ -19382,8 +19382,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
19382
19382
  * @param {*} [options] Override http request option.
19383
19383
  * @throws {RequiredError}
19384
19384
  */
19385
- async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
19386
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
19385
+ async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
19386
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
19387
19387
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
19388
19388
  },
19389
19389
  /**
@@ -19395,6 +19395,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
19395
19395
  * @param {string} [specialtyId]
19396
19396
  * @param {string} [specialtyName]
19397
19397
  * @param {string} [specialtyTypeId]
19398
+ * @param {string} [hospitalSpecialtySlug]
19398
19399
  * @param {string} [title]
19399
19400
  * @param {MarketingType} [marketingType]
19400
19401
  * @param {string} [languageCode]
@@ -19407,8 +19408,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
19407
19408
  * @param {*} [options] Override http request option.
19408
19409
  * @throws {RequiredError}
19409
19410
  */
19410
- async apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesSimpleModel>> {
19411
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
19411
+ async apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesSimpleModel>> {
19412
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
19412
19413
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
19413
19414
  },
19414
19415
  /**
@@ -19502,21 +19503,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
19502
19503
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options);
19503
19504
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
19504
19505
  },
19505
- /**
19506
- *
19507
- * @summary Get HospitalSpecialty by Specialty slug
19508
- * @param {string} hospitalId
19509
- * @param {string} specialtySlug
19510
- * @param {string} [languageCode]
19511
- * @param {boolean} [returnDefaultValue]
19512
- * @param {boolean} [includeServices]
19513
- * @param {*} [options] Override http request option.
19514
- * @throws {RequiredError}
19515
- */
19516
- async apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId: string, specialtySlug: string, languageCode?: string, returnDefaultValue?: boolean, includeServices?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
19517
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options);
19518
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
19519
- },
19520
19506
  /**
19521
19507
  *
19522
19508
  * @summary Get all Hospitals.
@@ -19748,6 +19734,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
19748
19734
  * @param {string} [specialtyId]
19749
19735
  * @param {string} [specialtyName]
19750
19736
  * @param {string} [specialtyTypeId]
19737
+ * @param {string} [hospitalSpecialtySlug]
19751
19738
  * @param {string} [title]
19752
19739
  * @param {MarketingType} [marketingType]
19753
19740
  * @param {string} [languageCode]
@@ -19760,8 +19747,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
19760
19747
  * @param {*} [options] Override http request option.
19761
19748
  * @throws {RequiredError}
19762
19749
  */
19763
- apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
19764
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
19750
+ apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
19751
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
19765
19752
  },
19766
19753
  /**
19767
19754
  *
@@ -19772,6 +19759,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
19772
19759
  * @param {string} [specialtyId]
19773
19760
  * @param {string} [specialtyName]
19774
19761
  * @param {string} [specialtyTypeId]
19762
+ * @param {string} [hospitalSpecialtySlug]
19775
19763
  * @param {string} [title]
19776
19764
  * @param {MarketingType} [marketingType]
19777
19765
  * @param {string} [languageCode]
@@ -19784,8 +19772,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
19784
19772
  * @param {*} [options] Override http request option.
19785
19773
  * @throws {RequiredError}
19786
19774
  */
19787
- apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesSimpleModel> {
19788
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
19775
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesSimpleModel> {
19776
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
19789
19777
  },
19790
19778
  /**
19791
19779
  *
@@ -19873,20 +19861,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
19873
19861
  apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
19874
19862
  return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then((request) => request(axios, basePath));
19875
19863
  },
19876
- /**
19877
- *
19878
- * @summary Get HospitalSpecialty by Specialty slug
19879
- * @param {string} hospitalId
19880
- * @param {string} specialtySlug
19881
- * @param {string} [languageCode]
19882
- * @param {boolean} [returnDefaultValue]
19883
- * @param {boolean} [includeServices]
19884
- * @param {*} [options] Override http request option.
19885
- * @throws {RequiredError}
19886
- */
19887
- apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId: string, specialtySlug: string, languageCode?: string, returnDefaultValue?: boolean, includeServices?: boolean, options?: any): AxiosPromise<HospitalSpecialtyModel> {
19888
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options).then((request) => request(axios, basePath));
19889
- },
19890
19864
  /**
19891
19865
  *
19892
19866
  * @summary Get all Hospitals.
@@ -20140,6 +20114,7 @@ export class HospitalsApi extends BaseAPI {
20140
20114
  * @param {string} [specialtyId]
20141
20115
  * @param {string} [specialtyName]
20142
20116
  * @param {string} [specialtyTypeId]
20117
+ * @param {string} [hospitalSpecialtySlug]
20143
20118
  * @param {string} [title]
20144
20119
  * @param {MarketingType} [marketingType]
20145
20120
  * @param {string} [languageCode]
@@ -20153,8 +20128,8 @@ export class HospitalsApi extends BaseAPI {
20153
20128
  * @throws {RequiredError}
20154
20129
  * @memberof HospitalsApi
20155
20130
  */
20156
- public apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
20157
- return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
20131
+ public apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
20132
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
20158
20133
  }
20159
20134
 
20160
20135
  /**
@@ -20166,6 +20141,7 @@ export class HospitalsApi extends BaseAPI {
20166
20141
  * @param {string} [specialtyId]
20167
20142
  * @param {string} [specialtyName]
20168
20143
  * @param {string} [specialtyTypeId]
20144
+ * @param {string} [hospitalSpecialtySlug]
20169
20145
  * @param {string} [title]
20170
20146
  * @param {MarketingType} [marketingType]
20171
20147
  * @param {string} [languageCode]
@@ -20179,8 +20155,8 @@ export class HospitalsApi extends BaseAPI {
20179
20155
  * @throws {RequiredError}
20180
20156
  * @memberof HospitalsApi
20181
20157
  */
20182
- public apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
20183
- return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
20158
+ public apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
20159
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
20184
20160
  }
20185
20161
 
20186
20162
  /**
@@ -20279,22 +20255,6 @@ export class HospitalsApi extends BaseAPI {
20279
20255
  return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then((request) => request(this.axios, this.basePath));
20280
20256
  }
20281
20257
 
20282
- /**
20283
- *
20284
- * @summary Get HospitalSpecialty by Specialty slug
20285
- * @param {string} hospitalId
20286
- * @param {string} specialtySlug
20287
- * @param {string} [languageCode]
20288
- * @param {boolean} [returnDefaultValue]
20289
- * @param {boolean} [includeServices]
20290
- * @param {*} [options] Override http request option.
20291
- * @throws {RequiredError}
20292
- * @memberof HospitalsApi
20293
- */
20294
- public apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId: string, specialtySlug: string, languageCode?: string, returnDefaultValue?: boolean, includeServices?: boolean, options?: AxiosRequestConfig) {
20295
- return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options).then((request) => request(this.axios, this.basePath));
20296
- }
20297
-
20298
20258
  /**
20299
20259
  *
20300
20260
  * @summary Get all Hospitals.