ch-admin-api-client-typescript 3.3.0 → 3.3.1

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
@@ -1019,43 +1019,6 @@ export interface AwardModel {
1019
1019
  */
1020
1020
  'date'?: Date;
1021
1021
  }
1022
- /**
1023
- *
1024
- * @export
1025
- * @interface AzureSearchModel
1026
- */
1027
- export interface AzureSearchModel {
1028
- /**
1029
- *
1030
- * @type {number}
1031
- * @memberof AzureSearchModel
1032
- */
1033
- 'hospitals'?: number;
1034
- /**
1035
- *
1036
- * @type {number}
1037
- * @memberof AzureSearchModel
1038
- */
1039
- 'doctors'?: number;
1040
- /**
1041
- *
1042
- * @type {number}
1043
- * @memberof AzureSearchModel
1044
- */
1045
- 'deals'?: number;
1046
- /**
1047
- *
1048
- * @type {number}
1049
- * @memberof AzureSearchModel
1050
- */
1051
- 'specialties'?: number;
1052
- /**
1053
- *
1054
- * @type {number}
1055
- * @memberof AzureSearchModel
1056
- */
1057
- 'specialtyTypes'?: number;
1058
- }
1059
1022
  /**
1060
1023
  *
1061
1024
  * @export
@@ -31092,7 +31055,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31092
31055
  * @param {MarketingType} [marketingType]
31093
31056
  * @param {string} [specialtyTypeId]
31094
31057
  * @param {string} [specialtyId]
31095
- * @param {string} [serviceId]
31096
31058
  * @param {string} [exceptHospitalId]
31097
31059
  * @param {boolean} [showHidden]
31098
31060
  * @param {string} [languageCode]
@@ -31105,7 +31067,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31105
31067
  * @param {*} [options] Override http request option.
31106
31068
  * @throws {RequiredError}
31107
31069
  */
31108
- apiV1HospitalsGet: 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, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31070
+ apiV1HospitalsGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31109
31071
  const localVarPath = `/api/v1/hospitals`;
31110
31072
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31111
31073
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -31152,10 +31114,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31152
31114
  localVarQueryParameter['SpecialtyId'] = specialtyId;
31153
31115
  }
31154
31116
 
31155
- if (serviceId !== undefined) {
31156
- localVarQueryParameter['ServiceId'] = serviceId;
31157
- }
31158
-
31159
31117
  if (exceptHospitalId !== undefined) {
31160
31118
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
31161
31119
  }
@@ -34381,7 +34339,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
34381
34339
  * @param {MarketingType} [marketingType]
34382
34340
  * @param {string} [specialtyTypeId]
34383
34341
  * @param {string} [specialtyId]
34384
- * @param {string} [serviceId]
34385
34342
  * @param {string} [exceptHospitalId]
34386
34343
  * @param {boolean} [showHidden]
34387
34344
  * @param {string} [languageCode]
@@ -34394,7 +34351,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
34394
34351
  * @param {*} [options] Override http request option.
34395
34352
  * @throws {RequiredError}
34396
34353
  */
34397
- apiV1HospitalsSimpleGet: 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, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34354
+ apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34398
34355
  const localVarPath = `/api/v1/hospitals/simple`;
34399
34356
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
34400
34357
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -34441,10 +34398,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
34441
34398
  localVarQueryParameter['SpecialtyId'] = specialtyId;
34442
34399
  }
34443
34400
 
34444
- if (serviceId !== undefined) {
34445
- localVarQueryParameter['ServiceId'] = serviceId;
34446
- }
34447
-
34448
34401
  if (exceptHospitalId !== undefined) {
34449
34402
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
34450
34403
  }
@@ -34561,7 +34514,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
34561
34514
  * @param {MarketingType} [marketingType]
34562
34515
  * @param {string} [specialtyTypeId]
34563
34516
  * @param {string} [specialtyId]
34564
- * @param {string} [serviceId]
34565
34517
  * @param {string} [exceptHospitalId]
34566
34518
  * @param {boolean} [showHidden]
34567
34519
  * @param {string} [languageCode]
@@ -34574,8 +34526,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
34574
34526
  * @param {*} [options] Override http request option.
34575
34527
  * @throws {RequiredError}
34576
34528
  */
34577
- async apiV1HospitalsGet(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, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
34578
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
34529
+ async apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
34530
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
34579
34531
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34580
34532
  },
34581
34533
  /**
@@ -35433,7 +35385,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
35433
35385
  * @param {MarketingType} [marketingType]
35434
35386
  * @param {string} [specialtyTypeId]
35435
35387
  * @param {string} [specialtyId]
35436
- * @param {string} [serviceId]
35437
35388
  * @param {string} [exceptHospitalId]
35438
35389
  * @param {boolean} [showHidden]
35439
35390
  * @param {string} [languageCode]
@@ -35446,8 +35397,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
35446
35397
  * @param {*} [options] Override http request option.
35447
35398
  * @throws {RequiredError}
35448
35399
  */
35449
- async apiV1HospitalsSimpleGet(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, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
35450
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
35400
+ async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
35401
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
35451
35402
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35452
35403
  },
35453
35404
  /**
@@ -35482,7 +35433,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
35482
35433
  * @param {MarketingType} [marketingType]
35483
35434
  * @param {string} [specialtyTypeId]
35484
35435
  * @param {string} [specialtyId]
35485
- * @param {string} [serviceId]
35486
35436
  * @param {string} [exceptHospitalId]
35487
35437
  * @param {boolean} [showHidden]
35488
35438
  * @param {string} [languageCode]
@@ -35495,8 +35445,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
35495
35445
  * @param {*} [options] Override http request option.
35496
35446
  * @throws {RequiredError}
35497
35447
  */
35498
- apiV1HospitalsGet(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, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
35499
- return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35448
+ apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
35449
+ return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35500
35450
  },
35501
35451
  /**
35502
35452
  *
@@ -36293,7 +36243,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
36293
36243
  * @param {MarketingType} [marketingType]
36294
36244
  * @param {string} [specialtyTypeId]
36295
36245
  * @param {string} [specialtyId]
36296
- * @param {string} [serviceId]
36297
36246
  * @param {string} [exceptHospitalId]
36298
36247
  * @param {boolean} [showHidden]
36299
36248
  * @param {string} [languageCode]
@@ -36306,8 +36255,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
36306
36255
  * @param {*} [options] Override http request option.
36307
36256
  * @throws {RequiredError}
36308
36257
  */
36309
- apiV1HospitalsSimpleGet(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, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
36310
- return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
36258
+ apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
36259
+ return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
36311
36260
  },
36312
36261
  /**
36313
36262
  *
@@ -36340,7 +36289,6 @@ export class HospitalsApi extends BaseAPI {
36340
36289
  * @param {MarketingType} [marketingType]
36341
36290
  * @param {string} [specialtyTypeId]
36342
36291
  * @param {string} [specialtyId]
36343
- * @param {string} [serviceId]
36344
36292
  * @param {string} [exceptHospitalId]
36345
36293
  * @param {boolean} [showHidden]
36346
36294
  * @param {string} [languageCode]
@@ -36354,8 +36302,8 @@ export class HospitalsApi extends BaseAPI {
36354
36302
  * @throws {RequiredError}
36355
36303
  * @memberof HospitalsApi
36356
36304
  */
36357
- public apiV1HospitalsGet(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, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36358
- return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36305
+ public apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36306
+ return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36359
36307
  }
36360
36308
 
36361
36309
  /**
@@ -37273,7 +37221,6 @@ export class HospitalsApi extends BaseAPI {
37273
37221
  * @param {MarketingType} [marketingType]
37274
37222
  * @param {string} [specialtyTypeId]
37275
37223
  * @param {string} [specialtyId]
37276
- * @param {string} [serviceId]
37277
37224
  * @param {string} [exceptHospitalId]
37278
37225
  * @param {boolean} [showHidden]
37279
37226
  * @param {string} [languageCode]
@@ -37287,8 +37234,8 @@ export class HospitalsApi extends BaseAPI {
37287
37234
  * @throws {RequiredError}
37288
37235
  * @memberof HospitalsApi
37289
37236
  */
37290
- public apiV1HospitalsSimpleGet(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, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
37291
- return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
37237
+ public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
37238
+ return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
37292
37239
  }
37293
37240
 
37294
37241
  /**
@@ -41048,87 +40995,6 @@ export class ProfilesApi extends BaseAPI {
41048
40995
  */
41049
40996
  export const SearchApiAxiosParamCreator = function (configuration?: Configuration) {
41050
40997
  return {
41051
- /**
41052
- *
41053
- * @summary Search deals using Azure Search Service
41054
- * @param {string} [searchTerm]
41055
- * @param {boolean} [countOnly]
41056
- * @param {string} [countryId]
41057
- * @param {string} [hospitalId]
41058
- * @param {MarketingType} [marketingType]
41059
- * @param {string} [languageCode]
41060
- * @param {number} [page]
41061
- * @param {number} [limit]
41062
- * @param {Date} [lastRetrieved]
41063
- * @param {*} [options] Override http request option.
41064
- * @throws {RequiredError}
41065
- */
41066
- apiV1SearchDealsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41067
- const localVarPath = `/api/v1/search/deals`;
41068
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
41069
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41070
- let baseOptions;
41071
- if (configuration) {
41072
- baseOptions = configuration.baseOptions;
41073
- }
41074
-
41075
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
41076
- const localVarHeaderParameter = {} as any;
41077
- const localVarQueryParameter = {} as any;
41078
-
41079
- // authentication oauth2 required
41080
- // oauth required
41081
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41082
-
41083
- if (searchTerm !== undefined) {
41084
- localVarQueryParameter['SearchTerm'] = searchTerm;
41085
- }
41086
-
41087
- if (countOnly !== undefined) {
41088
- localVarQueryParameter['CountOnly'] = countOnly;
41089
- }
41090
-
41091
- if (countryId !== undefined) {
41092
- localVarQueryParameter['CountryId'] = countryId;
41093
- }
41094
-
41095
- if (hospitalId !== undefined) {
41096
- localVarQueryParameter['HospitalId'] = hospitalId;
41097
- }
41098
-
41099
- if (marketingType !== undefined) {
41100
- localVarQueryParameter['MarketingType'] = marketingType;
41101
- }
41102
-
41103
- if (languageCode !== undefined) {
41104
- localVarQueryParameter['LanguageCode'] = languageCode;
41105
- }
41106
-
41107
- if (page !== undefined) {
41108
- localVarQueryParameter['page'] = page;
41109
- }
41110
-
41111
- if (limit !== undefined) {
41112
- localVarQueryParameter['limit'] = limit;
41113
- }
41114
-
41115
- if (lastRetrieved !== undefined) {
41116
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
41117
- (lastRetrieved as any).toISOString() :
41118
- lastRetrieved;
41119
- }
41120
-
41121
-
41122
-
41123
- setSearchParams(localVarUrlObj, localVarQueryParameter);
41124
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41125
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41126
-
41127
- return {
41128
- url: toPathString(localVarUrlObj),
41129
- options: localVarRequestOptions,
41130
- };
41131
- },
41132
40998
  /**
41133
40999
  *
41134
41000
  * @summary Update or Re-create deals Azure Search Services Index
@@ -41167,87 +41033,6 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41167
41033
  options: localVarRequestOptions,
41168
41034
  };
41169
41035
  },
41170
- /**
41171
- *
41172
- * @summary Search doctors using Azure Search Services
41173
- * @param {string} [searchTerm]
41174
- * @param {boolean} [countOnly]
41175
- * @param {string} [countryId]
41176
- * @param {string} [hospitalId]
41177
- * @param {MarketingType} [marketingType]
41178
- * @param {string} [languageCode]
41179
- * @param {number} [page]
41180
- * @param {number} [limit]
41181
- * @param {Date} [lastRetrieved]
41182
- * @param {*} [options] Override http request option.
41183
- * @throws {RequiredError}
41184
- */
41185
- apiV1SearchDoctorsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41186
- const localVarPath = `/api/v1/search/doctors`;
41187
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
41188
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41189
- let baseOptions;
41190
- if (configuration) {
41191
- baseOptions = configuration.baseOptions;
41192
- }
41193
-
41194
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
41195
- const localVarHeaderParameter = {} as any;
41196
- const localVarQueryParameter = {} as any;
41197
-
41198
- // authentication oauth2 required
41199
- // oauth required
41200
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41201
-
41202
- if (searchTerm !== undefined) {
41203
- localVarQueryParameter['SearchTerm'] = searchTerm;
41204
- }
41205
-
41206
- if (countOnly !== undefined) {
41207
- localVarQueryParameter['CountOnly'] = countOnly;
41208
- }
41209
-
41210
- if (countryId !== undefined) {
41211
- localVarQueryParameter['CountryId'] = countryId;
41212
- }
41213
-
41214
- if (hospitalId !== undefined) {
41215
- localVarQueryParameter['HospitalId'] = hospitalId;
41216
- }
41217
-
41218
- if (marketingType !== undefined) {
41219
- localVarQueryParameter['MarketingType'] = marketingType;
41220
- }
41221
-
41222
- if (languageCode !== undefined) {
41223
- localVarQueryParameter['LanguageCode'] = languageCode;
41224
- }
41225
-
41226
- if (page !== undefined) {
41227
- localVarQueryParameter['page'] = page;
41228
- }
41229
-
41230
- if (limit !== undefined) {
41231
- localVarQueryParameter['limit'] = limit;
41232
- }
41233
-
41234
- if (lastRetrieved !== undefined) {
41235
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
41236
- (lastRetrieved as any).toISOString() :
41237
- lastRetrieved;
41238
- }
41239
-
41240
-
41241
-
41242
- setSearchParams(localVarUrlObj, localVarQueryParameter);
41243
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41244
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41245
-
41246
- return {
41247
- url: toPathString(localVarUrlObj),
41248
- options: localVarRequestOptions,
41249
- };
41250
- },
41251
41036
  /**
41252
41037
  *
41253
41038
  * @summary Update or Re-create doctors Azure Search Services Index
@@ -41288,21 +41073,13 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41288
41073
  },
41289
41074
  /**
41290
41075
  *
41291
- * @summary Get the number of items in each search index
41292
- * @param {string} [searchTerm]
41293
- * @param {boolean} [countOnly]
41294
- * @param {string} [countryId]
41295
- * @param {string} [hospitalId]
41296
- * @param {MarketingType} [marketingType]
41297
- * @param {string} [languageCode]
41298
- * @param {number} [page]
41299
- * @param {number} [limit]
41300
- * @param {Date} [lastRetrieved]
41076
+ * @summary Update or Re-create hospitals Azure Search Services Index
41077
+ * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
41301
41078
  * @param {*} [options] Override http request option.
41302
41079
  * @throws {RequiredError}
41303
41080
  */
41304
- apiV1SearchGetcountGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41305
- const localVarPath = `/api/v1/search/getcount`;
41081
+ apiV1SearchHospitalsPost: async (updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41082
+ const localVarPath = `/api/v1/search/hospitals`;
41306
41083
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
41307
41084
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41308
41085
  let baseOptions;
@@ -41310,7 +41087,7 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41310
41087
  baseOptions = configuration.baseOptions;
41311
41088
  }
41312
41089
 
41313
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
41090
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
41314
41091
  const localVarHeaderParameter = {} as any;
41315
41092
  const localVarQueryParameter = {} as any;
41316
41093
 
@@ -41318,49 +41095,14 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41318
41095
  // oauth required
41319
41096
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41320
41097
 
41321
- if (searchTerm !== undefined) {
41322
- localVarQueryParameter['SearchTerm'] = searchTerm;
41323
- }
41324
-
41325
- if (countOnly !== undefined) {
41326
- localVarQueryParameter['CountOnly'] = countOnly;
41327
- }
41328
-
41329
- if (countryId !== undefined) {
41330
- localVarQueryParameter['CountryId'] = countryId;
41331
- }
41332
-
41333
- if (hospitalId !== undefined) {
41334
- localVarQueryParameter['HospitalId'] = hospitalId;
41335
- }
41336
-
41337
- if (marketingType !== undefined) {
41338
- localVarQueryParameter['MarketingType'] = marketingType;
41339
- }
41340
-
41341
- if (languageCode !== undefined) {
41342
- localVarQueryParameter['LanguageCode'] = languageCode;
41343
- }
41344
-
41345
- if (page !== undefined) {
41346
- localVarQueryParameter['page'] = page;
41347
- }
41348
-
41349
- if (limit !== undefined) {
41350
- localVarQueryParameter['limit'] = limit;
41351
- }
41352
-
41353
- if (lastRetrieved !== undefined) {
41354
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
41355
- (lastRetrieved as any).toISOString() :
41356
- lastRetrieved;
41357
- }
41358
-
41359
41098
 
41360
41099
 
41100
+ localVarHeaderParameter['Content-Type'] = 'application/json';
41101
+
41361
41102
  setSearchParams(localVarUrlObj, localVarQueryParameter);
41362
41103
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41363
41104
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41105
+ localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalsSearchIndexCommand, localVarRequestOptions, configuration)
41364
41106
 
41365
41107
  return {
41366
41108
  url: toPathString(localVarUrlObj),
@@ -41369,21 +41111,13 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41369
41111
  },
41370
41112
  /**
41371
41113
  *
41372
- * @summary Search hospitals using Azure Search Services
41373
- * @param {string} [searchTerm]
41374
- * @param {boolean} [countOnly]
41375
- * @param {string} [countryId]
41376
- * @param {string} [hospitalId]
41377
- * @param {MarketingType} [marketingType]
41378
- * @param {string} [languageCode]
41379
- * @param {number} [page]
41380
- * @param {number} [limit]
41381
- * @param {Date} [lastRetrieved]
41114
+ * @summary Update or Re-create specialties Azure Search Services Index
41115
+ * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
41382
41116
  * @param {*} [options] Override http request option.
41383
41117
  * @throws {RequiredError}
41384
41118
  */
41385
- apiV1SearchHospitalsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41386
- const localVarPath = `/api/v1/search/hospitals`;
41119
+ apiV1SearchSpecialtiesPost: async (updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41120
+ const localVarPath = `/api/v1/search/specialties`;
41387
41121
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
41388
41122
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41389
41123
  let baseOptions;
@@ -41391,7 +41125,7 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41391
41125
  baseOptions = configuration.baseOptions;
41392
41126
  }
41393
41127
 
41394
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
41128
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
41395
41129
  const localVarHeaderParameter = {} as any;
41396
41130
  const localVarQueryParameter = {} as any;
41397
41131
 
@@ -41399,49 +41133,14 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41399
41133
  // oauth required
41400
41134
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41401
41135
 
41402
- if (searchTerm !== undefined) {
41403
- localVarQueryParameter['SearchTerm'] = searchTerm;
41404
- }
41405
-
41406
- if (countOnly !== undefined) {
41407
- localVarQueryParameter['CountOnly'] = countOnly;
41408
- }
41409
-
41410
- if (countryId !== undefined) {
41411
- localVarQueryParameter['CountryId'] = countryId;
41412
- }
41413
-
41414
- if (hospitalId !== undefined) {
41415
- localVarQueryParameter['HospitalId'] = hospitalId;
41416
- }
41417
-
41418
- if (marketingType !== undefined) {
41419
- localVarQueryParameter['MarketingType'] = marketingType;
41420
- }
41421
-
41422
- if (languageCode !== undefined) {
41423
- localVarQueryParameter['LanguageCode'] = languageCode;
41424
- }
41425
-
41426
- if (page !== undefined) {
41427
- localVarQueryParameter['page'] = page;
41428
- }
41429
-
41430
- if (limit !== undefined) {
41431
- localVarQueryParameter['limit'] = limit;
41432
- }
41433
-
41434
- if (lastRetrieved !== undefined) {
41435
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
41436
- (lastRetrieved as any).toISOString() :
41437
- lastRetrieved;
41438
- }
41439
-
41440
41136
 
41441
41137
 
41138
+ localVarHeaderParameter['Content-Type'] = 'application/json';
41139
+
41442
41140
  setSearchParams(localVarUrlObj, localVarQueryParameter);
41443
41141
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41444
41142
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41143
+ localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration)
41445
41144
 
41446
41145
  return {
41447
41146
  url: toPathString(localVarUrlObj),
@@ -41450,251 +41149,13 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41450
41149
  },
41451
41150
  /**
41452
41151
  *
41453
- * @summary Update or Re-create hospitals Azure Search Services Index
41454
- * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
41152
+ * @summary Update or Re-create specialtyTypes Azure Search Services Index
41153
+ * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
41455
41154
  * @param {*} [options] Override http request option.
41456
41155
  * @throws {RequiredError}
41457
41156
  */
41458
- apiV1SearchHospitalsPost: async (updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41459
- const localVarPath = `/api/v1/search/hospitals`;
41460
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
41461
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41462
- let baseOptions;
41463
- if (configuration) {
41464
- baseOptions = configuration.baseOptions;
41465
- }
41466
-
41467
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
41468
- const localVarHeaderParameter = {} as any;
41469
- const localVarQueryParameter = {} as any;
41470
-
41471
- // authentication oauth2 required
41472
- // oauth required
41473
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41474
-
41475
-
41476
-
41477
- localVarHeaderParameter['Content-Type'] = 'application/json';
41478
-
41479
- setSearchParams(localVarUrlObj, localVarQueryParameter);
41480
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41481
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41482
- localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalsSearchIndexCommand, localVarRequestOptions, configuration)
41483
-
41484
- return {
41485
- url: toPathString(localVarUrlObj),
41486
- options: localVarRequestOptions,
41487
- };
41488
- },
41489
- /**
41490
- *
41491
- * @summary Search specialties using Azure Search Service
41492
- * @param {string} [searchTerm]
41493
- * @param {boolean} [countOnly]
41494
- * @param {string} [countryId]
41495
- * @param {string} [hospitalId]
41496
- * @param {MarketingType} [marketingType]
41497
- * @param {string} [languageCode]
41498
- * @param {number} [page]
41499
- * @param {number} [limit]
41500
- * @param {Date} [lastRetrieved]
41501
- * @param {*} [options] Override http request option.
41502
- * @throws {RequiredError}
41503
- */
41504
- apiV1SearchSpecialtiesGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41505
- const localVarPath = `/api/v1/search/specialties`;
41506
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
41507
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41508
- let baseOptions;
41509
- if (configuration) {
41510
- baseOptions = configuration.baseOptions;
41511
- }
41512
-
41513
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
41514
- const localVarHeaderParameter = {} as any;
41515
- const localVarQueryParameter = {} as any;
41516
-
41517
- // authentication oauth2 required
41518
- // oauth required
41519
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41520
-
41521
- if (searchTerm !== undefined) {
41522
- localVarQueryParameter['SearchTerm'] = searchTerm;
41523
- }
41524
-
41525
- if (countOnly !== undefined) {
41526
- localVarQueryParameter['CountOnly'] = countOnly;
41527
- }
41528
-
41529
- if (countryId !== undefined) {
41530
- localVarQueryParameter['CountryId'] = countryId;
41531
- }
41532
-
41533
- if (hospitalId !== undefined) {
41534
- localVarQueryParameter['HospitalId'] = hospitalId;
41535
- }
41536
-
41537
- if (marketingType !== undefined) {
41538
- localVarQueryParameter['MarketingType'] = marketingType;
41539
- }
41540
-
41541
- if (languageCode !== undefined) {
41542
- localVarQueryParameter['LanguageCode'] = languageCode;
41543
- }
41544
-
41545
- if (page !== undefined) {
41546
- localVarQueryParameter['page'] = page;
41547
- }
41548
-
41549
- if (limit !== undefined) {
41550
- localVarQueryParameter['limit'] = limit;
41551
- }
41552
-
41553
- if (lastRetrieved !== undefined) {
41554
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
41555
- (lastRetrieved as any).toISOString() :
41556
- lastRetrieved;
41557
- }
41558
-
41559
-
41560
-
41561
- setSearchParams(localVarUrlObj, localVarQueryParameter);
41562
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41563
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41564
-
41565
- return {
41566
- url: toPathString(localVarUrlObj),
41567
- options: localVarRequestOptions,
41568
- };
41569
- },
41570
- /**
41571
- *
41572
- * @summary Update or Re-create specialties Azure Search Services Index
41573
- * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
41574
- * @param {*} [options] Override http request option.
41575
- * @throws {RequiredError}
41576
- */
41577
- apiV1SearchSpecialtiesPost: async (updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41578
- const localVarPath = `/api/v1/search/specialties`;
41579
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
41580
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41581
- let baseOptions;
41582
- if (configuration) {
41583
- baseOptions = configuration.baseOptions;
41584
- }
41585
-
41586
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
41587
- const localVarHeaderParameter = {} as any;
41588
- const localVarQueryParameter = {} as any;
41589
-
41590
- // authentication oauth2 required
41591
- // oauth required
41592
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41593
-
41594
-
41595
-
41596
- localVarHeaderParameter['Content-Type'] = 'application/json';
41597
-
41598
- setSearchParams(localVarUrlObj, localVarQueryParameter);
41599
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41600
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41601
- localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration)
41602
-
41603
- return {
41604
- url: toPathString(localVarUrlObj),
41605
- options: localVarRequestOptions,
41606
- };
41607
- },
41608
- /**
41609
- *
41610
- * @summary Search specialtyTypes using Azure Search Services
41611
- * @param {string} [searchTerm]
41612
- * @param {boolean} [countOnly]
41613
- * @param {string} [countryId]
41614
- * @param {string} [hospitalId]
41615
- * @param {MarketingType} [marketingType]
41616
- * @param {string} [languageCode]
41617
- * @param {number} [page]
41618
- * @param {number} [limit]
41619
- * @param {Date} [lastRetrieved]
41620
- * @param {*} [options] Override http request option.
41621
- * @throws {RequiredError}
41622
- */
41623
- apiV1SearchSpecialtytypesGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41624
- const localVarPath = `/api/v1/search/specialtytypes`;
41625
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
41626
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41627
- let baseOptions;
41628
- if (configuration) {
41629
- baseOptions = configuration.baseOptions;
41630
- }
41631
-
41632
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
41633
- const localVarHeaderParameter = {} as any;
41634
- const localVarQueryParameter = {} as any;
41635
-
41636
- // authentication oauth2 required
41637
- // oauth required
41638
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41639
-
41640
- if (searchTerm !== undefined) {
41641
- localVarQueryParameter['SearchTerm'] = searchTerm;
41642
- }
41643
-
41644
- if (countOnly !== undefined) {
41645
- localVarQueryParameter['CountOnly'] = countOnly;
41646
- }
41647
-
41648
- if (countryId !== undefined) {
41649
- localVarQueryParameter['CountryId'] = countryId;
41650
- }
41651
-
41652
- if (hospitalId !== undefined) {
41653
- localVarQueryParameter['HospitalId'] = hospitalId;
41654
- }
41655
-
41656
- if (marketingType !== undefined) {
41657
- localVarQueryParameter['MarketingType'] = marketingType;
41658
- }
41659
-
41660
- if (languageCode !== undefined) {
41661
- localVarQueryParameter['LanguageCode'] = languageCode;
41662
- }
41663
-
41664
- if (page !== undefined) {
41665
- localVarQueryParameter['page'] = page;
41666
- }
41667
-
41668
- if (limit !== undefined) {
41669
- localVarQueryParameter['limit'] = limit;
41670
- }
41671
-
41672
- if (lastRetrieved !== undefined) {
41673
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
41674
- (lastRetrieved as any).toISOString() :
41675
- lastRetrieved;
41676
- }
41677
-
41678
-
41679
-
41680
- setSearchParams(localVarUrlObj, localVarQueryParameter);
41681
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41682
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41683
-
41684
- return {
41685
- url: toPathString(localVarUrlObj),
41686
- options: localVarRequestOptions,
41687
- };
41688
- },
41689
- /**
41690
- *
41691
- * @summary Update or Re-create specialtyTypes Azure Search Services Index
41692
- * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
41693
- * @param {*} [options] Override http request option.
41694
- * @throws {RequiredError}
41695
- */
41696
- apiV1SearchSpecialtytypesPost: async (updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41697
- const localVarPath = `/api/v1/search/specialtytypes`;
41157
+ apiV1SearchSpecialtytypesPost: async (updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41158
+ const localVarPath = `/api/v1/search/specialtytypes`;
41698
41159
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
41699
41160
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41700
41161
  let baseOptions;
@@ -41734,25 +41195,6 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41734
41195
  export const SearchApiFp = function(configuration?: Configuration) {
41735
41196
  const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration)
41736
41197
  return {
41737
- /**
41738
- *
41739
- * @summary Search deals using Azure Search Service
41740
- * @param {string} [searchTerm]
41741
- * @param {boolean} [countOnly]
41742
- * @param {string} [countryId]
41743
- * @param {string} [hospitalId]
41744
- * @param {MarketingType} [marketingType]
41745
- * @param {string} [languageCode]
41746
- * @param {number} [page]
41747
- * @param {number} [limit]
41748
- * @param {Date} [lastRetrieved]
41749
- * @param {*} [options] Override http request option.
41750
- * @throws {RequiredError}
41751
- */
41752
- async apiV1SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
41753
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
41754
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41755
- },
41756
41198
  /**
41757
41199
  *
41758
41200
  * @summary Update or Re-create deals Azure Search Services Index
@@ -41764,25 +41206,6 @@ export const SearchApiFp = function(configuration?: Configuration) {
41764
41206
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options);
41765
41207
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41766
41208
  },
41767
- /**
41768
- *
41769
- * @summary Search doctors using Azure Search Services
41770
- * @param {string} [searchTerm]
41771
- * @param {boolean} [countOnly]
41772
- * @param {string} [countryId]
41773
- * @param {string} [hospitalId]
41774
- * @param {MarketingType} [marketingType]
41775
- * @param {string} [languageCode]
41776
- * @param {number} [page]
41777
- * @param {number} [limit]
41778
- * @param {Date} [lastRetrieved]
41779
- * @param {*} [options] Override http request option.
41780
- * @throws {RequiredError}
41781
- */
41782
- async apiV1SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsModel>> {
41783
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
41784
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41785
- },
41786
41209
  /**
41787
41210
  *
41788
41211
  * @summary Update or Re-create doctors Azure Search Services Index
@@ -41794,44 +41217,6 @@ export const SearchApiFp = function(configuration?: Configuration) {
41794
41217
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options);
41795
41218
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41796
41219
  },
41797
- /**
41798
- *
41799
- * @summary Get the number of items in each search index
41800
- * @param {string} [searchTerm]
41801
- * @param {boolean} [countOnly]
41802
- * @param {string} [countryId]
41803
- * @param {string} [hospitalId]
41804
- * @param {MarketingType} [marketingType]
41805
- * @param {string} [languageCode]
41806
- * @param {number} [page]
41807
- * @param {number} [limit]
41808
- * @param {Date} [lastRetrieved]
41809
- * @param {*} [options] Override http request option.
41810
- * @throws {RequiredError}
41811
- */
41812
- async apiV1SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AzureSearchModel>> {
41813
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
41814
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41815
- },
41816
- /**
41817
- *
41818
- * @summary Search hospitals using Azure Search Services
41819
- * @param {string} [searchTerm]
41820
- * @param {boolean} [countOnly]
41821
- * @param {string} [countryId]
41822
- * @param {string} [hospitalId]
41823
- * @param {MarketingType} [marketingType]
41824
- * @param {string} [languageCode]
41825
- * @param {number} [page]
41826
- * @param {number} [limit]
41827
- * @param {Date} [lastRetrieved]
41828
- * @param {*} [options] Override http request option.
41829
- * @throws {RequiredError}
41830
- */
41831
- async apiV1SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
41832
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
41833
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41834
- },
41835
41220
  /**
41836
41221
  *
41837
41222
  * @summary Update or Re-create hospitals Azure Search Services Index
@@ -41843,25 +41228,6 @@ export const SearchApiFp = function(configuration?: Configuration) {
41843
41228
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options);
41844
41229
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41845
41230
  },
41846
- /**
41847
- *
41848
- * @summary Search specialties using Azure Search Service
41849
- * @param {string} [searchTerm]
41850
- * @param {boolean} [countOnly]
41851
- * @param {string} [countryId]
41852
- * @param {string} [hospitalId]
41853
- * @param {MarketingType} [marketingType]
41854
- * @param {string} [languageCode]
41855
- * @param {number} [page]
41856
- * @param {number} [limit]
41857
- * @param {Date} [lastRetrieved]
41858
- * @param {*} [options] Override http request option.
41859
- * @throws {RequiredError}
41860
- */
41861
- async apiV1SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
41862
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
41863
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41864
- },
41865
41231
  /**
41866
41232
  *
41867
41233
  * @summary Update or Re-create specialties Azure Search Services Index
@@ -41873,25 +41239,6 @@ export const SearchApiFp = function(configuration?: Configuration) {
41873
41239
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options);
41874
41240
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41875
41241
  },
41876
- /**
41877
- *
41878
- * @summary Search specialtyTypes using Azure Search Services
41879
- * @param {string} [searchTerm]
41880
- * @param {boolean} [countOnly]
41881
- * @param {string} [countryId]
41882
- * @param {string} [hospitalId]
41883
- * @param {MarketingType} [marketingType]
41884
- * @param {string} [languageCode]
41885
- * @param {number} [page]
41886
- * @param {number} [limit]
41887
- * @param {Date} [lastRetrieved]
41888
- * @param {*} [options] Override http request option.
41889
- * @throws {RequiredError}
41890
- */
41891
- async apiV1SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesModel>> {
41892
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
41893
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41894
- },
41895
41242
  /**
41896
41243
  *
41897
41244
  * @summary Update or Re-create specialtyTypes Azure Search Services Index
@@ -41913,24 +41260,6 @@ export const SearchApiFp = function(configuration?: Configuration) {
41913
41260
  export const SearchApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
41914
41261
  const localVarFp = SearchApiFp(configuration)
41915
41262
  return {
41916
- /**
41917
- *
41918
- * @summary Search deals using Azure Search Service
41919
- * @param {string} [searchTerm]
41920
- * @param {boolean} [countOnly]
41921
- * @param {string} [countryId]
41922
- * @param {string} [hospitalId]
41923
- * @param {MarketingType} [marketingType]
41924
- * @param {string} [languageCode]
41925
- * @param {number} [page]
41926
- * @param {number} [limit]
41927
- * @param {Date} [lastRetrieved]
41928
- * @param {*} [options] Override http request option.
41929
- * @throws {RequiredError}
41930
- */
41931
- apiV1SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
41932
- return localVarFp.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
41933
- },
41934
41263
  /**
41935
41264
  *
41936
41265
  * @summary Update or Re-create deals Azure Search Services Index
@@ -41941,24 +41270,6 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
41941
41270
  apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: any): AxiosPromise<string> {
41942
41271
  return localVarFp.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then((request) => request(axios, basePath));
41943
41272
  },
41944
- /**
41945
- *
41946
- * @summary Search doctors using Azure Search Services
41947
- * @param {string} [searchTerm]
41948
- * @param {boolean} [countOnly]
41949
- * @param {string} [countryId]
41950
- * @param {string} [hospitalId]
41951
- * @param {MarketingType} [marketingType]
41952
- * @param {string} [languageCode]
41953
- * @param {number} [page]
41954
- * @param {number} [limit]
41955
- * @param {Date} [lastRetrieved]
41956
- * @param {*} [options] Override http request option.
41957
- * @throws {RequiredError}
41958
- */
41959
- apiV1SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
41960
- return localVarFp.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
41961
- },
41962
41273
  /**
41963
41274
  *
41964
41275
  * @summary Update or Re-create doctors Azure Search Services Index
@@ -41969,42 +41280,6 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
41969
41280
  apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: any): AxiosPromise<string> {
41970
41281
  return localVarFp.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then((request) => request(axios, basePath));
41971
41282
  },
41972
- /**
41973
- *
41974
- * @summary Get the number of items in each search index
41975
- * @param {string} [searchTerm]
41976
- * @param {boolean} [countOnly]
41977
- * @param {string} [countryId]
41978
- * @param {string} [hospitalId]
41979
- * @param {MarketingType} [marketingType]
41980
- * @param {string} [languageCode]
41981
- * @param {number} [page]
41982
- * @param {number} [limit]
41983
- * @param {Date} [lastRetrieved]
41984
- * @param {*} [options] Override http request option.
41985
- * @throws {RequiredError}
41986
- */
41987
- apiV1SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AzureSearchModel> {
41988
- return localVarFp.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
41989
- },
41990
- /**
41991
- *
41992
- * @summary Search hospitals using Azure Search Services
41993
- * @param {string} [searchTerm]
41994
- * @param {boolean} [countOnly]
41995
- * @param {string} [countryId]
41996
- * @param {string} [hospitalId]
41997
- * @param {MarketingType} [marketingType]
41998
- * @param {string} [languageCode]
41999
- * @param {number} [page]
42000
- * @param {number} [limit]
42001
- * @param {Date} [lastRetrieved]
42002
- * @param {*} [options] Override http request option.
42003
- * @throws {RequiredError}
42004
- */
42005
- apiV1SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
42006
- return localVarFp.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
42007
- },
42008
41283
  /**
42009
41284
  *
42010
41285
  * @summary Update or Re-create hospitals Azure Search Services Index
@@ -42015,24 +41290,6 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
42015
41290
  apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: any): AxiosPromise<string> {
42016
41291
  return localVarFp.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(axios, basePath));
42017
41292
  },
42018
- /**
42019
- *
42020
- * @summary Search specialties using Azure Search Service
42021
- * @param {string} [searchTerm]
42022
- * @param {boolean} [countOnly]
42023
- * @param {string} [countryId]
42024
- * @param {string} [hospitalId]
42025
- * @param {MarketingType} [marketingType]
42026
- * @param {string} [languageCode]
42027
- * @param {number} [page]
42028
- * @param {number} [limit]
42029
- * @param {Date} [lastRetrieved]
42030
- * @param {*} [options] Override http request option.
42031
- * @throws {RequiredError}
42032
- */
42033
- apiV1SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
42034
- return localVarFp.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
42035
- },
42036
41293
  /**
42037
41294
  *
42038
41295
  * @summary Update or Re-create specialties Azure Search Services Index
@@ -42043,24 +41300,6 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
42043
41300
  apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: any): AxiosPromise<string> {
42044
41301
  return localVarFp.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then((request) => request(axios, basePath));
42045
41302
  },
42046
- /**
42047
- *
42048
- * @summary Search specialtyTypes using Azure Search Services
42049
- * @param {string} [searchTerm]
42050
- * @param {boolean} [countOnly]
42051
- * @param {string} [countryId]
42052
- * @param {string} [hospitalId]
42053
- * @param {MarketingType} [marketingType]
42054
- * @param {string} [languageCode]
42055
- * @param {number} [page]
42056
- * @param {number} [limit]
42057
- * @param {Date} [lastRetrieved]
42058
- * @param {*} [options] Override http request option.
42059
- * @throws {RequiredError}
42060
- */
42061
- apiV1SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesModel> {
42062
- return localVarFp.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
42063
- },
42064
41303
  /**
42065
41304
  *
42066
41305
  * @summary Update or Re-create specialtyTypes Azure Search Services Index
@@ -42081,26 +41320,6 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
42081
41320
  * @extends {BaseAPI}
42082
41321
  */
42083
41322
  export class SearchApi extends BaseAPI {
42084
- /**
42085
- *
42086
- * @summary Search deals using Azure Search Service
42087
- * @param {string} [searchTerm]
42088
- * @param {boolean} [countOnly]
42089
- * @param {string} [countryId]
42090
- * @param {string} [hospitalId]
42091
- * @param {MarketingType} [marketingType]
42092
- * @param {string} [languageCode]
42093
- * @param {number} [page]
42094
- * @param {number} [limit]
42095
- * @param {Date} [lastRetrieved]
42096
- * @param {*} [options] Override http request option.
42097
- * @throws {RequiredError}
42098
- * @memberof SearchApi
42099
- */
42100
- public apiV1SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
42101
- return SearchApiFp(this.configuration).apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
42102
- }
42103
-
42104
41323
  /**
42105
41324
  *
42106
41325
  * @summary Update or Re-create deals Azure Search Services Index
@@ -42113,26 +41332,6 @@ export class SearchApi extends BaseAPI {
42113
41332
  return SearchApiFp(this.configuration).apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
42114
41333
  }
42115
41334
 
42116
- /**
42117
- *
42118
- * @summary Search doctors using Azure Search Services
42119
- * @param {string} [searchTerm]
42120
- * @param {boolean} [countOnly]
42121
- * @param {string} [countryId]
42122
- * @param {string} [hospitalId]
42123
- * @param {MarketingType} [marketingType]
42124
- * @param {string} [languageCode]
42125
- * @param {number} [page]
42126
- * @param {number} [limit]
42127
- * @param {Date} [lastRetrieved]
42128
- * @param {*} [options] Override http request option.
42129
- * @throws {RequiredError}
42130
- * @memberof SearchApi
42131
- */
42132
- public apiV1SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
42133
- return SearchApiFp(this.configuration).apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
42134
- }
42135
-
42136
41335
  /**
42137
41336
  *
42138
41337
  * @summary Update or Re-create doctors Azure Search Services Index
@@ -42145,46 +41344,6 @@ export class SearchApi extends BaseAPI {
42145
41344
  return SearchApiFp(this.configuration).apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
42146
41345
  }
42147
41346
 
42148
- /**
42149
- *
42150
- * @summary Get the number of items in each search index
42151
- * @param {string} [searchTerm]
42152
- * @param {boolean} [countOnly]
42153
- * @param {string} [countryId]
42154
- * @param {string} [hospitalId]
42155
- * @param {MarketingType} [marketingType]
42156
- * @param {string} [languageCode]
42157
- * @param {number} [page]
42158
- * @param {number} [limit]
42159
- * @param {Date} [lastRetrieved]
42160
- * @param {*} [options] Override http request option.
42161
- * @throws {RequiredError}
42162
- * @memberof SearchApi
42163
- */
42164
- public apiV1SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
42165
- return SearchApiFp(this.configuration).apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
42166
- }
42167
-
42168
- /**
42169
- *
42170
- * @summary Search hospitals using Azure Search Services
42171
- * @param {string} [searchTerm]
42172
- * @param {boolean} [countOnly]
42173
- * @param {string} [countryId]
42174
- * @param {string} [hospitalId]
42175
- * @param {MarketingType} [marketingType]
42176
- * @param {string} [languageCode]
42177
- * @param {number} [page]
42178
- * @param {number} [limit]
42179
- * @param {Date} [lastRetrieved]
42180
- * @param {*} [options] Override http request option.
42181
- * @throws {RequiredError}
42182
- * @memberof SearchApi
42183
- */
42184
- public apiV1SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
42185
- return SearchApiFp(this.configuration).apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
42186
- }
42187
-
42188
41347
  /**
42189
41348
  *
42190
41349
  * @summary Update or Re-create hospitals Azure Search Services Index
@@ -42197,26 +41356,6 @@ export class SearchApi extends BaseAPI {
42197
41356
  return SearchApiFp(this.configuration).apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
42198
41357
  }
42199
41358
 
42200
- /**
42201
- *
42202
- * @summary Search specialties using Azure Search Service
42203
- * @param {string} [searchTerm]
42204
- * @param {boolean} [countOnly]
42205
- * @param {string} [countryId]
42206
- * @param {string} [hospitalId]
42207
- * @param {MarketingType} [marketingType]
42208
- * @param {string} [languageCode]
42209
- * @param {number} [page]
42210
- * @param {number} [limit]
42211
- * @param {Date} [lastRetrieved]
42212
- * @param {*} [options] Override http request option.
42213
- * @throws {RequiredError}
42214
- * @memberof SearchApi
42215
- */
42216
- public apiV1SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
42217
- return SearchApiFp(this.configuration).apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
42218
- }
42219
-
42220
41359
  /**
42221
41360
  *
42222
41361
  * @summary Update or Re-create specialties Azure Search Services Index
@@ -42229,26 +41368,6 @@ export class SearchApi extends BaseAPI {
42229
41368
  return SearchApiFp(this.configuration).apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
42230
41369
  }
42231
41370
 
42232
- /**
42233
- *
42234
- * @summary Search specialtyTypes using Azure Search Services
42235
- * @param {string} [searchTerm]
42236
- * @param {boolean} [countOnly]
42237
- * @param {string} [countryId]
42238
- * @param {string} [hospitalId]
42239
- * @param {MarketingType} [marketingType]
42240
- * @param {string} [languageCode]
42241
- * @param {number} [page]
42242
- * @param {number} [limit]
42243
- * @param {Date} [lastRetrieved]
42244
- * @param {*} [options] Override http request option.
42245
- * @throws {RequiredError}
42246
- * @memberof SearchApi
42247
- */
42248
- public apiV1SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
42249
- return SearchApiFp(this.configuration).apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
42250
- }
42251
-
42252
41371
  /**
42253
41372
  *
42254
41373
  * @summary Update or Re-create specialtyTypes Azure Search Services Index