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/lib/api.js CHANGED
@@ -19179,7 +19179,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
19179
19179
  * @param {MarketingType} [marketingType]
19180
19180
  * @param {string} [specialtyTypeId]
19181
19181
  * @param {string} [specialtyId]
19182
- * @param {string} [serviceId]
19183
19182
  * @param {string} [exceptHospitalId]
19184
19183
  * @param {boolean} [showHidden]
19185
19184
  * @param {string} [languageCode]
@@ -19192,7 +19191,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
19192
19191
  * @param {*} [options] Override http request option.
19193
19192
  * @throws {RequiredError}
19194
19193
  */
19195
- apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
19194
+ apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
19196
19195
  if (options === void 0) { options = {}; }
19197
19196
  return __awaiter(_this, void 0, void 0, function () {
19198
19197
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -19237,9 +19236,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
19237
19236
  if (specialtyId !== undefined) {
19238
19237
  localVarQueryParameter['SpecialtyId'] = specialtyId;
19239
19238
  }
19240
- if (serviceId !== undefined) {
19241
- localVarQueryParameter['ServiceId'] = serviceId;
19242
- }
19243
19239
  if (exceptHospitalId !== undefined) {
19244
19240
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
19245
19241
  }
@@ -22626,7 +22622,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
22626
22622
  * @param {MarketingType} [marketingType]
22627
22623
  * @param {string} [specialtyTypeId]
22628
22624
  * @param {string} [specialtyId]
22629
- * @param {string} [serviceId]
22630
22625
  * @param {string} [exceptHospitalId]
22631
22626
  * @param {boolean} [showHidden]
22632
22627
  * @param {string} [languageCode]
@@ -22639,7 +22634,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
22639
22634
  * @param {*} [options] Override http request option.
22640
22635
  * @throws {RequiredError}
22641
22636
  */
22642
- apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
22637
+ apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
22643
22638
  if (options === void 0) { options = {}; }
22644
22639
  return __awaiter(_this, void 0, void 0, function () {
22645
22640
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -22684,9 +22679,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
22684
22679
  if (specialtyId !== undefined) {
22685
22680
  localVarQueryParameter['SpecialtyId'] = specialtyId;
22686
22681
  }
22687
- if (serviceId !== undefined) {
22688
- localVarQueryParameter['ServiceId'] = serviceId;
22689
- }
22690
22682
  if (exceptHospitalId !== undefined) {
22691
22683
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
22692
22684
  }
@@ -22796,7 +22788,6 @@ exports.HospitalsApiFp = function (configuration) {
22796
22788
  * @param {MarketingType} [marketingType]
22797
22789
  * @param {string} [specialtyTypeId]
22798
22790
  * @param {string} [specialtyId]
22799
- * @param {string} [serviceId]
22800
22791
  * @param {string} [exceptHospitalId]
22801
22792
  * @param {boolean} [showHidden]
22802
22793
  * @param {string} [languageCode]
@@ -22809,12 +22800,12 @@ exports.HospitalsApiFp = function (configuration) {
22809
22800
  * @param {*} [options] Override http request option.
22810
22801
  * @throws {RequiredError}
22811
22802
  */
22812
- apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
22803
+ apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
22813
22804
  return __awaiter(this, void 0, void 0, function () {
22814
22805
  var localVarAxiosArgs;
22815
22806
  return __generator(this, function (_a) {
22816
22807
  switch (_a.label) {
22817
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
22808
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
22818
22809
  case 1:
22819
22810
  localVarAxiosArgs = _a.sent();
22820
22811
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -24217,7 +24208,6 @@ exports.HospitalsApiFp = function (configuration) {
24217
24208
  * @param {MarketingType} [marketingType]
24218
24209
  * @param {string} [specialtyTypeId]
24219
24210
  * @param {string} [specialtyId]
24220
- * @param {string} [serviceId]
24221
24211
  * @param {string} [exceptHospitalId]
24222
24212
  * @param {boolean} [showHidden]
24223
24213
  * @param {string} [languageCode]
@@ -24230,12 +24220,12 @@ exports.HospitalsApiFp = function (configuration) {
24230
24220
  * @param {*} [options] Override http request option.
24231
24221
  * @throws {RequiredError}
24232
24222
  */
24233
- apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
24223
+ apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
24234
24224
  return __awaiter(this, void 0, void 0, function () {
24235
24225
  var localVarAxiosArgs;
24236
24226
  return __generator(this, function (_a) {
24237
24227
  switch (_a.label) {
24238
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
24228
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
24239
24229
  case 1:
24240
24230
  localVarAxiosArgs = _a.sent();
24241
24231
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -24283,7 +24273,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
24283
24273
  * @param {MarketingType} [marketingType]
24284
24274
  * @param {string} [specialtyTypeId]
24285
24275
  * @param {string} [specialtyId]
24286
- * @param {string} [serviceId]
24287
24276
  * @param {string} [exceptHospitalId]
24288
24277
  * @param {boolean} [showHidden]
24289
24278
  * @param {string} [languageCode]
@@ -24296,8 +24285,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
24296
24285
  * @param {*} [options] Override http request option.
24297
24286
  * @throws {RequiredError}
24298
24287
  */
24299
- apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
24300
- return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
24288
+ apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
24289
+ return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
24301
24290
  },
24302
24291
  /**
24303
24292
  *
@@ -25094,7 +25083,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
25094
25083
  * @param {MarketingType} [marketingType]
25095
25084
  * @param {string} [specialtyTypeId]
25096
25085
  * @param {string} [specialtyId]
25097
- * @param {string} [serviceId]
25098
25086
  * @param {string} [exceptHospitalId]
25099
25087
  * @param {boolean} [showHidden]
25100
25088
  * @param {string} [languageCode]
@@ -25107,8 +25095,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
25107
25095
  * @param {*} [options] Override http request option.
25108
25096
  * @throws {RequiredError}
25109
25097
  */
25110
- apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
25111
- return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
25098
+ apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
25099
+ return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
25112
25100
  },
25113
25101
  /**
25114
25102
  *
@@ -25144,7 +25132,6 @@ var HospitalsApi = /** @class */ (function (_super) {
25144
25132
  * @param {MarketingType} [marketingType]
25145
25133
  * @param {string} [specialtyTypeId]
25146
25134
  * @param {string} [specialtyId]
25147
- * @param {string} [serviceId]
25148
25135
  * @param {string} [exceptHospitalId]
25149
25136
  * @param {boolean} [showHidden]
25150
25137
  * @param {string} [languageCode]
@@ -25158,9 +25145,9 @@ var HospitalsApi = /** @class */ (function (_super) {
25158
25145
  * @throws {RequiredError}
25159
25146
  * @memberof HospitalsApi
25160
25147
  */
25161
- HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
25148
+ HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
25162
25149
  var _this = this;
25163
- return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
25150
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
25164
25151
  };
25165
25152
  /**
25166
25153
  *
@@ -26077,7 +26064,6 @@ var HospitalsApi = /** @class */ (function (_super) {
26077
26064
  * @param {MarketingType} [marketingType]
26078
26065
  * @param {string} [specialtyTypeId]
26079
26066
  * @param {string} [specialtyId]
26080
- * @param {string} [serviceId]
26081
26067
  * @param {string} [exceptHospitalId]
26082
26068
  * @param {boolean} [showHidden]
26083
26069
  * @param {string} [languageCode]
@@ -26091,9 +26077,9 @@ var HospitalsApi = /** @class */ (function (_super) {
26091
26077
  * @throws {RequiredError}
26092
26078
  * @memberof HospitalsApi
26093
26079
  */
26094
- HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
26080
+ HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
26095
26081
  var _this = this;
26096
- return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
26082
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
26097
26083
  };
26098
26084
  /**
26099
26085
  *
@@ -30378,20 +30364,12 @@ exports.SearchApiAxiosParamCreator = function (configuration) {
30378
30364
  return {
30379
30365
  /**
30380
30366
  *
30381
- * @summary Search deals using Azure Search Service
30382
- * @param {string} [searchTerm]
30383
- * @param {boolean} [countOnly]
30384
- * @param {string} [countryId]
30385
- * @param {string} [hospitalId]
30386
- * @param {MarketingType} [marketingType]
30387
- * @param {string} [languageCode]
30388
- * @param {number} [page]
30389
- * @param {number} [limit]
30390
- * @param {Date} [lastRetrieved]
30367
+ * @summary Update or Re-create deals Azure Search Services Index
30368
+ * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
30391
30369
  * @param {*} [options] Override http request option.
30392
30370
  * @throws {RequiredError}
30393
30371
  */
30394
- apiV1SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
30372
+ apiV1SearchDealsPost: function (updateDealsSearchIndexCommand, options) {
30395
30373
  if (options === void 0) { options = {}; }
30396
30374
  return __awaiter(_this, void 0, void 0, function () {
30397
30375
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -30403,7 +30381,7 @@ exports.SearchApiAxiosParamCreator = function (configuration) {
30403
30381
  if (configuration) {
30404
30382
  baseOptions = configuration.baseOptions;
30405
30383
  }
30406
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
30384
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
30407
30385
  localVarHeaderParameter = {};
30408
30386
  localVarQueryParameter = {};
30409
30387
  // authentication oauth2 required
@@ -30413,38 +30391,11 @@ exports.SearchApiAxiosParamCreator = function (configuration) {
30413
30391
  // authentication oauth2 required
30414
30392
  // oauth required
30415
30393
  _a.sent();
30416
- if (searchTerm !== undefined) {
30417
- localVarQueryParameter['SearchTerm'] = searchTerm;
30418
- }
30419
- if (countOnly !== undefined) {
30420
- localVarQueryParameter['CountOnly'] = countOnly;
30421
- }
30422
- if (countryId !== undefined) {
30423
- localVarQueryParameter['CountryId'] = countryId;
30424
- }
30425
- if (hospitalId !== undefined) {
30426
- localVarQueryParameter['HospitalId'] = hospitalId;
30427
- }
30428
- if (marketingType !== undefined) {
30429
- localVarQueryParameter['MarketingType'] = marketingType;
30430
- }
30431
- if (languageCode !== undefined) {
30432
- localVarQueryParameter['LanguageCode'] = languageCode;
30433
- }
30434
- if (page !== undefined) {
30435
- localVarQueryParameter['page'] = page;
30436
- }
30437
- if (limit !== undefined) {
30438
- localVarQueryParameter['limit'] = limit;
30439
- }
30440
- if (lastRetrieved !== undefined) {
30441
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
30442
- lastRetrieved.toISOString() :
30443
- lastRetrieved;
30444
- }
30394
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30445
30395
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
30446
30396
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30447
30397
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30398
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDealsSearchIndexCommand, localVarRequestOptions, configuration);
30448
30399
  return [2 /*return*/, {
30449
30400
  url: common_1.toPathString(localVarUrlObj),
30450
30401
  options: localVarRequestOptions,
@@ -30455,19 +30406,19 @@ exports.SearchApiAxiosParamCreator = function (configuration) {
30455
30406
  },
30456
30407
  /**
30457
30408
  *
30458
- * @summary Update or Re-create deals Azure Search Services Index
30459
- * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
30409
+ * @summary Update or Re-create doctors Azure Search Services Index
30410
+ * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
30460
30411
  * @param {*} [options] Override http request option.
30461
30412
  * @throws {RequiredError}
30462
30413
  */
30463
- apiV1SearchDealsPost: function (updateDealsSearchIndexCommand, options) {
30414
+ apiV1SearchDoctorsPost: function (updateDoctorsSearchIndexCommand, options) {
30464
30415
  if (options === void 0) { options = {}; }
30465
30416
  return __awaiter(_this, void 0, void 0, function () {
30466
30417
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
30467
30418
  return __generator(this, function (_a) {
30468
30419
  switch (_a.label) {
30469
30420
  case 0:
30470
- localVarPath = "/api/v1/search/deals";
30421
+ localVarPath = "/api/v1/search/doctors";
30471
30422
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30472
30423
  if (configuration) {
30473
30424
  baseOptions = configuration.baseOptions;
@@ -30486,7 +30437,7 @@ exports.SearchApiAxiosParamCreator = function (configuration) {
30486
30437
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
30487
30438
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30488
30439
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30489
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDealsSearchIndexCommand, localVarRequestOptions, configuration);
30440
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorsSearchIndexCommand, localVarRequestOptions, configuration);
30490
30441
  return [2 /*return*/, {
30491
30442
  url: common_1.toPathString(localVarUrlObj),
30492
30443
  options: localVarRequestOptions,
@@ -30497,32 +30448,24 @@ exports.SearchApiAxiosParamCreator = function (configuration) {
30497
30448
  },
30498
30449
  /**
30499
30450
  *
30500
- * @summary Search doctors using Azure Search Services
30501
- * @param {string} [searchTerm]
30502
- * @param {boolean} [countOnly]
30503
- * @param {string} [countryId]
30504
- * @param {string} [hospitalId]
30505
- * @param {MarketingType} [marketingType]
30506
- * @param {string} [languageCode]
30507
- * @param {number} [page]
30508
- * @param {number} [limit]
30509
- * @param {Date} [lastRetrieved]
30451
+ * @summary Update or Re-create hospitals Azure Search Services Index
30452
+ * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
30510
30453
  * @param {*} [options] Override http request option.
30511
30454
  * @throws {RequiredError}
30512
30455
  */
30513
- apiV1SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
30456
+ apiV1SearchHospitalsPost: function (updateHospitalsSearchIndexCommand, options) {
30514
30457
  if (options === void 0) { options = {}; }
30515
30458
  return __awaiter(_this, void 0, void 0, function () {
30516
30459
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
30517
30460
  return __generator(this, function (_a) {
30518
30461
  switch (_a.label) {
30519
30462
  case 0:
30520
- localVarPath = "/api/v1/search/doctors";
30463
+ localVarPath = "/api/v1/search/hospitals";
30521
30464
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30522
30465
  if (configuration) {
30523
30466
  baseOptions = configuration.baseOptions;
30524
30467
  }
30525
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
30468
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
30526
30469
  localVarHeaderParameter = {};
30527
30470
  localVarQueryParameter = {};
30528
30471
  // authentication oauth2 required
@@ -30532,38 +30475,11 @@ exports.SearchApiAxiosParamCreator = function (configuration) {
30532
30475
  // authentication oauth2 required
30533
30476
  // oauth required
30534
30477
  _a.sent();
30535
- if (searchTerm !== undefined) {
30536
- localVarQueryParameter['SearchTerm'] = searchTerm;
30537
- }
30538
- if (countOnly !== undefined) {
30539
- localVarQueryParameter['CountOnly'] = countOnly;
30540
- }
30541
- if (countryId !== undefined) {
30542
- localVarQueryParameter['CountryId'] = countryId;
30543
- }
30544
- if (hospitalId !== undefined) {
30545
- localVarQueryParameter['HospitalId'] = hospitalId;
30546
- }
30547
- if (marketingType !== undefined) {
30548
- localVarQueryParameter['MarketingType'] = marketingType;
30549
- }
30550
- if (languageCode !== undefined) {
30551
- localVarQueryParameter['LanguageCode'] = languageCode;
30552
- }
30553
- if (page !== undefined) {
30554
- localVarQueryParameter['page'] = page;
30555
- }
30556
- if (limit !== undefined) {
30557
- localVarQueryParameter['limit'] = limit;
30558
- }
30559
- if (lastRetrieved !== undefined) {
30560
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
30561
- lastRetrieved.toISOString() :
30562
- lastRetrieved;
30563
- }
30478
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30564
30479
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
30565
30480
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30566
30481
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30482
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalsSearchIndexCommand, localVarRequestOptions, configuration);
30567
30483
  return [2 /*return*/, {
30568
30484
  url: common_1.toPathString(localVarUrlObj),
30569
30485
  options: localVarRequestOptions,
@@ -30574,19 +30490,19 @@ exports.SearchApiAxiosParamCreator = function (configuration) {
30574
30490
  },
30575
30491
  /**
30576
30492
  *
30577
- * @summary Update or Re-create doctors Azure Search Services Index
30578
- * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
30493
+ * @summary Update or Re-create specialties Azure Search Services Index
30494
+ * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
30579
30495
  * @param {*} [options] Override http request option.
30580
30496
  * @throws {RequiredError}
30581
30497
  */
30582
- apiV1SearchDoctorsPost: function (updateDoctorsSearchIndexCommand, options) {
30498
+ apiV1SearchSpecialtiesPost: function (updateSpecialtiesSearchIndexCommand, options) {
30583
30499
  if (options === void 0) { options = {}; }
30584
30500
  return __awaiter(_this, void 0, void 0, function () {
30585
30501
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
30586
30502
  return __generator(this, function (_a) {
30587
30503
  switch (_a.label) {
30588
30504
  case 0:
30589
- localVarPath = "/api/v1/search/doctors";
30505
+ localVarPath = "/api/v1/search/specialties";
30590
30506
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30591
30507
  if (configuration) {
30592
30508
  baseOptions = configuration.baseOptions;
@@ -30605,7 +30521,7 @@ exports.SearchApiAxiosParamCreator = function (configuration) {
30605
30521
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
30606
30522
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30607
30523
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30608
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorsSearchIndexCommand, localVarRequestOptions, configuration);
30524
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration);
30609
30525
  return [2 /*return*/, {
30610
30526
  url: common_1.toPathString(localVarUrlObj),
30611
30527
  options: localVarRequestOptions,
@@ -30616,32 +30532,24 @@ exports.SearchApiAxiosParamCreator = function (configuration) {
30616
30532
  },
30617
30533
  /**
30618
30534
  *
30619
- * @summary Get the number of items in each search index
30620
- * @param {string} [searchTerm]
30621
- * @param {boolean} [countOnly]
30622
- * @param {string} [countryId]
30623
- * @param {string} [hospitalId]
30624
- * @param {MarketingType} [marketingType]
30625
- * @param {string} [languageCode]
30626
- * @param {number} [page]
30627
- * @param {number} [limit]
30628
- * @param {Date} [lastRetrieved]
30535
+ * @summary Update or Re-create specialtyTypes Azure Search Services Index
30536
+ * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
30629
30537
  * @param {*} [options] Override http request option.
30630
30538
  * @throws {RequiredError}
30631
30539
  */
30632
- apiV1SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
30540
+ apiV1SearchSpecialtytypesPost: function (updateSpecialtyTypesSearchIndexCommand, options) {
30633
30541
  if (options === void 0) { options = {}; }
30634
30542
  return __awaiter(_this, void 0, void 0, function () {
30635
30543
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
30636
30544
  return __generator(this, function (_a) {
30637
30545
  switch (_a.label) {
30638
30546
  case 0:
30639
- localVarPath = "/api/v1/search/getcount";
30547
+ localVarPath = "/api/v1/search/specialtytypes";
30640
30548
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30641
30549
  if (configuration) {
30642
30550
  baseOptions = configuration.baseOptions;
30643
30551
  }
30644
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
30552
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
30645
30553
  localVarHeaderParameter = {};
30646
30554
  localVarQueryParameter = {};
30647
30555
  // authentication oauth2 required
@@ -30651,38 +30559,11 @@ exports.SearchApiAxiosParamCreator = function (configuration) {
30651
30559
  // authentication oauth2 required
30652
30560
  // oauth required
30653
30561
  _a.sent();
30654
- if (searchTerm !== undefined) {
30655
- localVarQueryParameter['SearchTerm'] = searchTerm;
30656
- }
30657
- if (countOnly !== undefined) {
30658
- localVarQueryParameter['CountOnly'] = countOnly;
30659
- }
30660
- if (countryId !== undefined) {
30661
- localVarQueryParameter['CountryId'] = countryId;
30662
- }
30663
- if (hospitalId !== undefined) {
30664
- localVarQueryParameter['HospitalId'] = hospitalId;
30665
- }
30666
- if (marketingType !== undefined) {
30667
- localVarQueryParameter['MarketingType'] = marketingType;
30668
- }
30669
- if (languageCode !== undefined) {
30670
- localVarQueryParameter['LanguageCode'] = languageCode;
30671
- }
30672
- if (page !== undefined) {
30673
- localVarQueryParameter['page'] = page;
30674
- }
30675
- if (limit !== undefined) {
30676
- localVarQueryParameter['limit'] = limit;
30677
- }
30678
- if (lastRetrieved !== undefined) {
30679
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
30680
- lastRetrieved.toISOString() :
30681
- lastRetrieved;
30682
- }
30562
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30683
30563
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
30684
30564
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30685
30565
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30566
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateSpecialtyTypesSearchIndexCommand, localVarRequestOptions, configuration);
30686
30567
  return [2 /*return*/, {
30687
30568
  url: common_1.toPathString(localVarUrlObj),
30688
30569
  options: localVarRequestOptions,
@@ -30691,79 +30572,51 @@ exports.SearchApiAxiosParamCreator = function (configuration) {
30691
30572
  });
30692
30573
  });
30693
30574
  },
30575
+ };
30576
+ };
30577
+ /**
30578
+ * SearchApi - functional programming interface
30579
+ * @export
30580
+ */
30581
+ exports.SearchApiFp = function (configuration) {
30582
+ var localVarAxiosParamCreator = exports.SearchApiAxiosParamCreator(configuration);
30583
+ return {
30694
30584
  /**
30695
30585
  *
30696
- * @summary Search hospitals using Azure Search Services
30697
- * @param {string} [searchTerm]
30698
- * @param {boolean} [countOnly]
30699
- * @param {string} [countryId]
30700
- * @param {string} [hospitalId]
30701
- * @param {MarketingType} [marketingType]
30702
- * @param {string} [languageCode]
30703
- * @param {number} [page]
30704
- * @param {number} [limit]
30705
- * @param {Date} [lastRetrieved]
30586
+ * @summary Update or Re-create deals Azure Search Services Index
30587
+ * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
30706
30588
  * @param {*} [options] Override http request option.
30707
30589
  * @throws {RequiredError}
30708
30590
  */
30709
- apiV1SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
30710
- if (options === void 0) { options = {}; }
30711
- return __awaiter(_this, void 0, void 0, function () {
30712
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
30591
+ apiV1SearchDealsPost: function (updateDealsSearchIndexCommand, options) {
30592
+ return __awaiter(this, void 0, void 0, function () {
30593
+ var localVarAxiosArgs;
30713
30594
  return __generator(this, function (_a) {
30714
30595
  switch (_a.label) {
30715
- case 0:
30716
- localVarPath = "/api/v1/search/hospitals";
30717
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30718
- if (configuration) {
30719
- baseOptions = configuration.baseOptions;
30720
- }
30721
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
30722
- localVarHeaderParameter = {};
30723
- localVarQueryParameter = {};
30724
- // authentication oauth2 required
30725
- // oauth required
30726
- return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
30596
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options)];
30727
30597
  case 1:
30728
- // authentication oauth2 required
30729
- // oauth required
30730
- _a.sent();
30731
- if (searchTerm !== undefined) {
30732
- localVarQueryParameter['SearchTerm'] = searchTerm;
30733
- }
30734
- if (countOnly !== undefined) {
30735
- localVarQueryParameter['CountOnly'] = countOnly;
30736
- }
30737
- if (countryId !== undefined) {
30738
- localVarQueryParameter['CountryId'] = countryId;
30739
- }
30740
- if (hospitalId !== undefined) {
30741
- localVarQueryParameter['HospitalId'] = hospitalId;
30742
- }
30743
- if (marketingType !== undefined) {
30744
- localVarQueryParameter['MarketingType'] = marketingType;
30745
- }
30746
- if (languageCode !== undefined) {
30747
- localVarQueryParameter['LanguageCode'] = languageCode;
30748
- }
30749
- if (page !== undefined) {
30750
- localVarQueryParameter['page'] = page;
30751
- }
30752
- if (limit !== undefined) {
30753
- localVarQueryParameter['limit'] = limit;
30754
- }
30755
- if (lastRetrieved !== undefined) {
30756
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
30757
- lastRetrieved.toISOString() :
30758
- lastRetrieved;
30759
- }
30760
- common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
30761
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30762
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30763
- return [2 /*return*/, {
30764
- url: common_1.toPathString(localVarUrlObj),
30765
- options: localVarRequestOptions,
30766
- }];
30598
+ localVarAxiosArgs = _a.sent();
30599
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
30600
+ }
30601
+ });
30602
+ });
30603
+ },
30604
+ /**
30605
+ *
30606
+ * @summary Update or Re-create doctors Azure Search Services Index
30607
+ * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
30608
+ * @param {*} [options] Override http request option.
30609
+ * @throws {RequiredError}
30610
+ */
30611
+ apiV1SearchDoctorsPost: function (updateDoctorsSearchIndexCommand, options) {
30612
+ return __awaiter(this, void 0, void 0, function () {
30613
+ var localVarAxiosArgs;
30614
+ return __generator(this, function (_a) {
30615
+ switch (_a.label) {
30616
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options)];
30617
+ case 1:
30618
+ localVarAxiosArgs = _a.sent();
30619
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
30767
30620
  }
30768
30621
  });
30769
30622
  });
@@ -30776,449 +30629,8 @@ exports.SearchApiAxiosParamCreator = function (configuration) {
30776
30629
  * @throws {RequiredError}
30777
30630
  */
30778
30631
  apiV1SearchHospitalsPost: function (updateHospitalsSearchIndexCommand, options) {
30779
- if (options === void 0) { options = {}; }
30780
- return __awaiter(_this, void 0, void 0, function () {
30781
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
30782
- return __generator(this, function (_a) {
30783
- switch (_a.label) {
30784
- case 0:
30785
- localVarPath = "/api/v1/search/hospitals";
30786
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30787
- if (configuration) {
30788
- baseOptions = configuration.baseOptions;
30789
- }
30790
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
30791
- localVarHeaderParameter = {};
30792
- localVarQueryParameter = {};
30793
- // authentication oauth2 required
30794
- // oauth required
30795
- return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
30796
- case 1:
30797
- // authentication oauth2 required
30798
- // oauth required
30799
- _a.sent();
30800
- localVarHeaderParameter['Content-Type'] = 'application/json';
30801
- common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
30802
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30803
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30804
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalsSearchIndexCommand, localVarRequestOptions, configuration);
30805
- return [2 /*return*/, {
30806
- url: common_1.toPathString(localVarUrlObj),
30807
- options: localVarRequestOptions,
30808
- }];
30809
- }
30810
- });
30811
- });
30812
- },
30813
- /**
30814
- *
30815
- * @summary Search specialties using Azure Search Service
30816
- * @param {string} [searchTerm]
30817
- * @param {boolean} [countOnly]
30818
- * @param {string} [countryId]
30819
- * @param {string} [hospitalId]
30820
- * @param {MarketingType} [marketingType]
30821
- * @param {string} [languageCode]
30822
- * @param {number} [page]
30823
- * @param {number} [limit]
30824
- * @param {Date} [lastRetrieved]
30825
- * @param {*} [options] Override http request option.
30826
- * @throws {RequiredError}
30827
- */
30828
- apiV1SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
30829
- if (options === void 0) { options = {}; }
30830
- return __awaiter(_this, void 0, void 0, function () {
30831
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
30832
- return __generator(this, function (_a) {
30833
- switch (_a.label) {
30834
- case 0:
30835
- localVarPath = "/api/v1/search/specialties";
30836
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30837
- if (configuration) {
30838
- baseOptions = configuration.baseOptions;
30839
- }
30840
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
30841
- localVarHeaderParameter = {};
30842
- localVarQueryParameter = {};
30843
- // authentication oauth2 required
30844
- // oauth required
30845
- return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
30846
- case 1:
30847
- // authentication oauth2 required
30848
- // oauth required
30849
- _a.sent();
30850
- if (searchTerm !== undefined) {
30851
- localVarQueryParameter['SearchTerm'] = searchTerm;
30852
- }
30853
- if (countOnly !== undefined) {
30854
- localVarQueryParameter['CountOnly'] = countOnly;
30855
- }
30856
- if (countryId !== undefined) {
30857
- localVarQueryParameter['CountryId'] = countryId;
30858
- }
30859
- if (hospitalId !== undefined) {
30860
- localVarQueryParameter['HospitalId'] = hospitalId;
30861
- }
30862
- if (marketingType !== undefined) {
30863
- localVarQueryParameter['MarketingType'] = marketingType;
30864
- }
30865
- if (languageCode !== undefined) {
30866
- localVarQueryParameter['LanguageCode'] = languageCode;
30867
- }
30868
- if (page !== undefined) {
30869
- localVarQueryParameter['page'] = page;
30870
- }
30871
- if (limit !== undefined) {
30872
- localVarQueryParameter['limit'] = limit;
30873
- }
30874
- if (lastRetrieved !== undefined) {
30875
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
30876
- lastRetrieved.toISOString() :
30877
- lastRetrieved;
30878
- }
30879
- common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
30880
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30881
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30882
- return [2 /*return*/, {
30883
- url: common_1.toPathString(localVarUrlObj),
30884
- options: localVarRequestOptions,
30885
- }];
30886
- }
30887
- });
30888
- });
30889
- },
30890
- /**
30891
- *
30892
- * @summary Update or Re-create specialties Azure Search Services Index
30893
- * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
30894
- * @param {*} [options] Override http request option.
30895
- * @throws {RequiredError}
30896
- */
30897
- apiV1SearchSpecialtiesPost: function (updateSpecialtiesSearchIndexCommand, options) {
30898
- if (options === void 0) { options = {}; }
30899
- return __awaiter(_this, void 0, void 0, function () {
30900
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
30901
- return __generator(this, function (_a) {
30902
- switch (_a.label) {
30903
- case 0:
30904
- localVarPath = "/api/v1/search/specialties";
30905
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30906
- if (configuration) {
30907
- baseOptions = configuration.baseOptions;
30908
- }
30909
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
30910
- localVarHeaderParameter = {};
30911
- localVarQueryParameter = {};
30912
- // authentication oauth2 required
30913
- // oauth required
30914
- return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
30915
- case 1:
30916
- // authentication oauth2 required
30917
- // oauth required
30918
- _a.sent();
30919
- localVarHeaderParameter['Content-Type'] = 'application/json';
30920
- common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
30921
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30922
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30923
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration);
30924
- return [2 /*return*/, {
30925
- url: common_1.toPathString(localVarUrlObj),
30926
- options: localVarRequestOptions,
30927
- }];
30928
- }
30929
- });
30930
- });
30931
- },
30932
- /**
30933
- *
30934
- * @summary Search specialtyTypes using Azure Search Services
30935
- * @param {string} [searchTerm]
30936
- * @param {boolean} [countOnly]
30937
- * @param {string} [countryId]
30938
- * @param {string} [hospitalId]
30939
- * @param {MarketingType} [marketingType]
30940
- * @param {string} [languageCode]
30941
- * @param {number} [page]
30942
- * @param {number} [limit]
30943
- * @param {Date} [lastRetrieved]
30944
- * @param {*} [options] Override http request option.
30945
- * @throws {RequiredError}
30946
- */
30947
- apiV1SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
30948
- if (options === void 0) { options = {}; }
30949
- return __awaiter(_this, void 0, void 0, function () {
30950
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
30951
- return __generator(this, function (_a) {
30952
- switch (_a.label) {
30953
- case 0:
30954
- localVarPath = "/api/v1/search/specialtytypes";
30955
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30956
- if (configuration) {
30957
- baseOptions = configuration.baseOptions;
30958
- }
30959
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
30960
- localVarHeaderParameter = {};
30961
- localVarQueryParameter = {};
30962
- // authentication oauth2 required
30963
- // oauth required
30964
- return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
30965
- case 1:
30966
- // authentication oauth2 required
30967
- // oauth required
30968
- _a.sent();
30969
- if (searchTerm !== undefined) {
30970
- localVarQueryParameter['SearchTerm'] = searchTerm;
30971
- }
30972
- if (countOnly !== undefined) {
30973
- localVarQueryParameter['CountOnly'] = countOnly;
30974
- }
30975
- if (countryId !== undefined) {
30976
- localVarQueryParameter['CountryId'] = countryId;
30977
- }
30978
- if (hospitalId !== undefined) {
30979
- localVarQueryParameter['HospitalId'] = hospitalId;
30980
- }
30981
- if (marketingType !== undefined) {
30982
- localVarQueryParameter['MarketingType'] = marketingType;
30983
- }
30984
- if (languageCode !== undefined) {
30985
- localVarQueryParameter['LanguageCode'] = languageCode;
30986
- }
30987
- if (page !== undefined) {
30988
- localVarQueryParameter['page'] = page;
30989
- }
30990
- if (limit !== undefined) {
30991
- localVarQueryParameter['limit'] = limit;
30992
- }
30993
- if (lastRetrieved !== undefined) {
30994
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
30995
- lastRetrieved.toISOString() :
30996
- lastRetrieved;
30997
- }
30998
- common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
30999
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31000
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
31001
- return [2 /*return*/, {
31002
- url: common_1.toPathString(localVarUrlObj),
31003
- options: localVarRequestOptions,
31004
- }];
31005
- }
31006
- });
31007
- });
31008
- },
31009
- /**
31010
- *
31011
- * @summary Update or Re-create specialtyTypes Azure Search Services Index
31012
- * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
31013
- * @param {*} [options] Override http request option.
31014
- * @throws {RequiredError}
31015
- */
31016
- apiV1SearchSpecialtytypesPost: function (updateSpecialtyTypesSearchIndexCommand, options) {
31017
- if (options === void 0) { options = {}; }
31018
- return __awaiter(_this, void 0, void 0, function () {
31019
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
31020
- return __generator(this, function (_a) {
31021
- switch (_a.label) {
31022
- case 0:
31023
- localVarPath = "/api/v1/search/specialtytypes";
31024
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
31025
- if (configuration) {
31026
- baseOptions = configuration.baseOptions;
31027
- }
31028
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
31029
- localVarHeaderParameter = {};
31030
- localVarQueryParameter = {};
31031
- // authentication oauth2 required
31032
- // oauth required
31033
- return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
31034
- case 1:
31035
- // authentication oauth2 required
31036
- // oauth required
31037
- _a.sent();
31038
- localVarHeaderParameter['Content-Type'] = 'application/json';
31039
- common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
31040
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31041
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
31042
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateSpecialtyTypesSearchIndexCommand, localVarRequestOptions, configuration);
31043
- return [2 /*return*/, {
31044
- url: common_1.toPathString(localVarUrlObj),
31045
- options: localVarRequestOptions,
31046
- }];
31047
- }
31048
- });
31049
- });
31050
- },
31051
- };
31052
- };
31053
- /**
31054
- * SearchApi - functional programming interface
31055
- * @export
31056
- */
31057
- exports.SearchApiFp = function (configuration) {
31058
- var localVarAxiosParamCreator = exports.SearchApiAxiosParamCreator(configuration);
31059
- return {
31060
- /**
31061
- *
31062
- * @summary Search deals using Azure Search Service
31063
- * @param {string} [searchTerm]
31064
- * @param {boolean} [countOnly]
31065
- * @param {string} [countryId]
31066
- * @param {string} [hospitalId]
31067
- * @param {MarketingType} [marketingType]
31068
- * @param {string} [languageCode]
31069
- * @param {number} [page]
31070
- * @param {number} [limit]
31071
- * @param {Date} [lastRetrieved]
31072
- * @param {*} [options] Override http request option.
31073
- * @throws {RequiredError}
31074
- */
31075
- apiV1SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31076
- return __awaiter(this, void 0, void 0, function () {
31077
- var localVarAxiosArgs;
31078
- return __generator(this, function (_a) {
31079
- switch (_a.label) {
31080
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
31081
- case 1:
31082
- localVarAxiosArgs = _a.sent();
31083
- return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
31084
- }
31085
- });
31086
- });
31087
- },
31088
- /**
31089
- *
31090
- * @summary Update or Re-create deals Azure Search Services Index
31091
- * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
31092
- * @param {*} [options] Override http request option.
31093
- * @throws {RequiredError}
31094
- */
31095
- apiV1SearchDealsPost: function (updateDealsSearchIndexCommand, options) {
31096
- return __awaiter(this, void 0, void 0, function () {
31097
- var localVarAxiosArgs;
31098
- return __generator(this, function (_a) {
31099
- switch (_a.label) {
31100
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options)];
31101
- case 1:
31102
- localVarAxiosArgs = _a.sent();
31103
- return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
31104
- }
31105
- });
31106
- });
31107
- },
31108
- /**
31109
- *
31110
- * @summary Search doctors using Azure Search Services
31111
- * @param {string} [searchTerm]
31112
- * @param {boolean} [countOnly]
31113
- * @param {string} [countryId]
31114
- * @param {string} [hospitalId]
31115
- * @param {MarketingType} [marketingType]
31116
- * @param {string} [languageCode]
31117
- * @param {number} [page]
31118
- * @param {number} [limit]
31119
- * @param {Date} [lastRetrieved]
31120
- * @param {*} [options] Override http request option.
31121
- * @throws {RequiredError}
31122
- */
31123
- apiV1SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31124
- return __awaiter(this, void 0, void 0, function () {
31125
- var localVarAxiosArgs;
31126
- return __generator(this, function (_a) {
31127
- switch (_a.label) {
31128
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
31129
- case 1:
31130
- localVarAxiosArgs = _a.sent();
31131
- return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
31132
- }
31133
- });
31134
- });
31135
- },
31136
- /**
31137
- *
31138
- * @summary Update or Re-create doctors Azure Search Services Index
31139
- * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
31140
- * @param {*} [options] Override http request option.
31141
- * @throws {RequiredError}
31142
- */
31143
- apiV1SearchDoctorsPost: function (updateDoctorsSearchIndexCommand, options) {
31144
- return __awaiter(this, void 0, void 0, function () {
31145
- var localVarAxiosArgs;
31146
- return __generator(this, function (_a) {
31147
- switch (_a.label) {
31148
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options)];
31149
- case 1:
31150
- localVarAxiosArgs = _a.sent();
31151
- return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
31152
- }
31153
- });
31154
- });
31155
- },
31156
- /**
31157
- *
31158
- * @summary Get the number of items in each search index
31159
- * @param {string} [searchTerm]
31160
- * @param {boolean} [countOnly]
31161
- * @param {string} [countryId]
31162
- * @param {string} [hospitalId]
31163
- * @param {MarketingType} [marketingType]
31164
- * @param {string} [languageCode]
31165
- * @param {number} [page]
31166
- * @param {number} [limit]
31167
- * @param {Date} [lastRetrieved]
31168
- * @param {*} [options] Override http request option.
31169
- * @throws {RequiredError}
31170
- */
31171
- apiV1SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31172
- return __awaiter(this, void 0, void 0, function () {
31173
- var localVarAxiosArgs;
31174
- return __generator(this, function (_a) {
31175
- switch (_a.label) {
31176
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
31177
- case 1:
31178
- localVarAxiosArgs = _a.sent();
31179
- return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
31180
- }
31181
- });
31182
- });
31183
- },
31184
- /**
31185
- *
31186
- * @summary Search hospitals using Azure Search Services
31187
- * @param {string} [searchTerm]
31188
- * @param {boolean} [countOnly]
31189
- * @param {string} [countryId]
31190
- * @param {string} [hospitalId]
31191
- * @param {MarketingType} [marketingType]
31192
- * @param {string} [languageCode]
31193
- * @param {number} [page]
31194
- * @param {number} [limit]
31195
- * @param {Date} [lastRetrieved]
31196
- * @param {*} [options] Override http request option.
31197
- * @throws {RequiredError}
31198
- */
31199
- apiV1SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31200
- return __awaiter(this, void 0, void 0, function () {
31201
- var localVarAxiosArgs;
31202
- return __generator(this, function (_a) {
31203
- switch (_a.label) {
31204
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
31205
- case 1:
31206
- localVarAxiosArgs = _a.sent();
31207
- return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
31208
- }
31209
- });
31210
- });
31211
- },
31212
- /**
31213
- *
31214
- * @summary Update or Re-create hospitals Azure Search Services Index
31215
- * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
31216
- * @param {*} [options] Override http request option.
31217
- * @throws {RequiredError}
31218
- */
31219
- apiV1SearchHospitalsPost: function (updateHospitalsSearchIndexCommand, options) {
31220
- return __awaiter(this, void 0, void 0, function () {
31221
- var localVarAxiosArgs;
30632
+ return __awaiter(this, void 0, void 0, function () {
30633
+ var localVarAxiosArgs;
31222
30634
  return __generator(this, function (_a) {
31223
30635
  switch (_a.label) {
31224
30636
  case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options)];
@@ -31229,34 +30641,6 @@ exports.SearchApiFp = function (configuration) {
31229
30641
  });
31230
30642
  });
31231
30643
  },
31232
- /**
31233
- *
31234
- * @summary Search specialties using Azure Search Service
31235
- * @param {string} [searchTerm]
31236
- * @param {boolean} [countOnly]
31237
- * @param {string} [countryId]
31238
- * @param {string} [hospitalId]
31239
- * @param {MarketingType} [marketingType]
31240
- * @param {string} [languageCode]
31241
- * @param {number} [page]
31242
- * @param {number} [limit]
31243
- * @param {Date} [lastRetrieved]
31244
- * @param {*} [options] Override http request option.
31245
- * @throws {RequiredError}
31246
- */
31247
- apiV1SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31248
- return __awaiter(this, void 0, void 0, function () {
31249
- var localVarAxiosArgs;
31250
- return __generator(this, function (_a) {
31251
- switch (_a.label) {
31252
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
31253
- case 1:
31254
- localVarAxiosArgs = _a.sent();
31255
- return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
31256
- }
31257
- });
31258
- });
31259
- },
31260
30644
  /**
31261
30645
  *
31262
30646
  * @summary Update or Re-create specialties Azure Search Services Index
@@ -31277,34 +30661,6 @@ exports.SearchApiFp = function (configuration) {
31277
30661
  });
31278
30662
  });
31279
30663
  },
31280
- /**
31281
- *
31282
- * @summary Search specialtyTypes using Azure Search Services
31283
- * @param {string} [searchTerm]
31284
- * @param {boolean} [countOnly]
31285
- * @param {string} [countryId]
31286
- * @param {string} [hospitalId]
31287
- * @param {MarketingType} [marketingType]
31288
- * @param {string} [languageCode]
31289
- * @param {number} [page]
31290
- * @param {number} [limit]
31291
- * @param {Date} [lastRetrieved]
31292
- * @param {*} [options] Override http request option.
31293
- * @throws {RequiredError}
31294
- */
31295
- apiV1SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31296
- return __awaiter(this, void 0, void 0, function () {
31297
- var localVarAxiosArgs;
31298
- return __generator(this, function (_a) {
31299
- switch (_a.label) {
31300
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
31301
- case 1:
31302
- localVarAxiosArgs = _a.sent();
31303
- return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
31304
- }
31305
- });
31306
- });
31307
- },
31308
30664
  /**
31309
30665
  *
31310
30666
  * @summary Update or Re-create specialtyTypes Azure Search Services Index
@@ -31334,24 +30690,6 @@ exports.SearchApiFp = function (configuration) {
31334
30690
  exports.SearchApiFactory = function (configuration, basePath, axios) {
31335
30691
  var localVarFp = exports.SearchApiFp(configuration);
31336
30692
  return {
31337
- /**
31338
- *
31339
- * @summary Search deals using Azure Search Service
31340
- * @param {string} [searchTerm]
31341
- * @param {boolean} [countOnly]
31342
- * @param {string} [countryId]
31343
- * @param {string} [hospitalId]
31344
- * @param {MarketingType} [marketingType]
31345
- * @param {string} [languageCode]
31346
- * @param {number} [page]
31347
- * @param {number} [limit]
31348
- * @param {Date} [lastRetrieved]
31349
- * @param {*} [options] Override http request option.
31350
- * @throws {RequiredError}
31351
- */
31352
- apiV1SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31353
- return localVarFp.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
31354
- },
31355
30693
  /**
31356
30694
  *
31357
30695
  * @summary Update or Re-create deals Azure Search Services Index
@@ -31362,24 +30700,6 @@ exports.SearchApiFactory = function (configuration, basePath, axios) {
31362
30700
  apiV1SearchDealsPost: function (updateDealsSearchIndexCommand, options) {
31363
30701
  return localVarFp.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
31364
30702
  },
31365
- /**
31366
- *
31367
- * @summary Search doctors using Azure Search Services
31368
- * @param {string} [searchTerm]
31369
- * @param {boolean} [countOnly]
31370
- * @param {string} [countryId]
31371
- * @param {string} [hospitalId]
31372
- * @param {MarketingType} [marketingType]
31373
- * @param {string} [languageCode]
31374
- * @param {number} [page]
31375
- * @param {number} [limit]
31376
- * @param {Date} [lastRetrieved]
31377
- * @param {*} [options] Override http request option.
31378
- * @throws {RequiredError}
31379
- */
31380
- apiV1SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31381
- return localVarFp.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
31382
- },
31383
30703
  /**
31384
30704
  *
31385
30705
  * @summary Update or Re-create doctors Azure Search Services Index
@@ -31390,42 +30710,6 @@ exports.SearchApiFactory = function (configuration, basePath, axios) {
31390
30710
  apiV1SearchDoctorsPost: function (updateDoctorsSearchIndexCommand, options) {
31391
30711
  return localVarFp.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
31392
30712
  },
31393
- /**
31394
- *
31395
- * @summary Get the number of items in each search index
31396
- * @param {string} [searchTerm]
31397
- * @param {boolean} [countOnly]
31398
- * @param {string} [countryId]
31399
- * @param {string} [hospitalId]
31400
- * @param {MarketingType} [marketingType]
31401
- * @param {string} [languageCode]
31402
- * @param {number} [page]
31403
- * @param {number} [limit]
31404
- * @param {Date} [lastRetrieved]
31405
- * @param {*} [options] Override http request option.
31406
- * @throws {RequiredError}
31407
- */
31408
- apiV1SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31409
- return localVarFp.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
31410
- },
31411
- /**
31412
- *
31413
- * @summary Search hospitals using Azure Search Services
31414
- * @param {string} [searchTerm]
31415
- * @param {boolean} [countOnly]
31416
- * @param {string} [countryId]
31417
- * @param {string} [hospitalId]
31418
- * @param {MarketingType} [marketingType]
31419
- * @param {string} [languageCode]
31420
- * @param {number} [page]
31421
- * @param {number} [limit]
31422
- * @param {Date} [lastRetrieved]
31423
- * @param {*} [options] Override http request option.
31424
- * @throws {RequiredError}
31425
- */
31426
- apiV1SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31427
- return localVarFp.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
31428
- },
31429
30713
  /**
31430
30714
  *
31431
30715
  * @summary Update or Re-create hospitals Azure Search Services Index
@@ -31436,24 +30720,6 @@ exports.SearchApiFactory = function (configuration, basePath, axios) {
31436
30720
  apiV1SearchHospitalsPost: function (updateHospitalsSearchIndexCommand, options) {
31437
30721
  return localVarFp.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
31438
30722
  },
31439
- /**
31440
- *
31441
- * @summary Search specialties using Azure Search Service
31442
- * @param {string} [searchTerm]
31443
- * @param {boolean} [countOnly]
31444
- * @param {string} [countryId]
31445
- * @param {string} [hospitalId]
31446
- * @param {MarketingType} [marketingType]
31447
- * @param {string} [languageCode]
31448
- * @param {number} [page]
31449
- * @param {number} [limit]
31450
- * @param {Date} [lastRetrieved]
31451
- * @param {*} [options] Override http request option.
31452
- * @throws {RequiredError}
31453
- */
31454
- apiV1SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31455
- return localVarFp.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
31456
- },
31457
30723
  /**
31458
30724
  *
31459
30725
  * @summary Update or Re-create specialties Azure Search Services Index
@@ -31464,24 +30730,6 @@ exports.SearchApiFactory = function (configuration, basePath, axios) {
31464
30730
  apiV1SearchSpecialtiesPost: function (updateSpecialtiesSearchIndexCommand, options) {
31465
30731
  return localVarFp.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
31466
30732
  },
31467
- /**
31468
- *
31469
- * @summary Search specialtyTypes using Azure Search Services
31470
- * @param {string} [searchTerm]
31471
- * @param {boolean} [countOnly]
31472
- * @param {string} [countryId]
31473
- * @param {string} [hospitalId]
31474
- * @param {MarketingType} [marketingType]
31475
- * @param {string} [languageCode]
31476
- * @param {number} [page]
31477
- * @param {number} [limit]
31478
- * @param {Date} [lastRetrieved]
31479
- * @param {*} [options] Override http request option.
31480
- * @throws {RequiredError}
31481
- */
31482
- apiV1SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31483
- return localVarFp.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
31484
- },
31485
30733
  /**
31486
30734
  *
31487
30735
  * @summary Update or Re-create specialtyTypes Azure Search Services Index
@@ -31505,26 +30753,6 @@ var SearchApi = /** @class */ (function (_super) {
31505
30753
  function SearchApi() {
31506
30754
  return _super !== null && _super.apply(this, arguments) || this;
31507
30755
  }
31508
- /**
31509
- *
31510
- * @summary Search deals using Azure Search Service
31511
- * @param {string} [searchTerm]
31512
- * @param {boolean} [countOnly]
31513
- * @param {string} [countryId]
31514
- * @param {string} [hospitalId]
31515
- * @param {MarketingType} [marketingType]
31516
- * @param {string} [languageCode]
31517
- * @param {number} [page]
31518
- * @param {number} [limit]
31519
- * @param {Date} [lastRetrieved]
31520
- * @param {*} [options] Override http request option.
31521
- * @throws {RequiredError}
31522
- * @memberof SearchApi
31523
- */
31524
- SearchApi.prototype.apiV1SearchDealsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31525
- var _this = this;
31526
- return exports.SearchApiFp(this.configuration).apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
31527
- };
31528
30756
  /**
31529
30757
  *
31530
30758
  * @summary Update or Re-create deals Azure Search Services Index
@@ -31537,26 +30765,6 @@ var SearchApi = /** @class */ (function (_super) {
31537
30765
  var _this = this;
31538
30766
  return exports.SearchApiFp(this.configuration).apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
31539
30767
  };
31540
- /**
31541
- *
31542
- * @summary Search doctors using Azure Search Services
31543
- * @param {string} [searchTerm]
31544
- * @param {boolean} [countOnly]
31545
- * @param {string} [countryId]
31546
- * @param {string} [hospitalId]
31547
- * @param {MarketingType} [marketingType]
31548
- * @param {string} [languageCode]
31549
- * @param {number} [page]
31550
- * @param {number} [limit]
31551
- * @param {Date} [lastRetrieved]
31552
- * @param {*} [options] Override http request option.
31553
- * @throws {RequiredError}
31554
- * @memberof SearchApi
31555
- */
31556
- SearchApi.prototype.apiV1SearchDoctorsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31557
- var _this = this;
31558
- return exports.SearchApiFp(this.configuration).apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
31559
- };
31560
30768
  /**
31561
30769
  *
31562
30770
  * @summary Update or Re-create doctors Azure Search Services Index
@@ -31569,46 +30777,6 @@ var SearchApi = /** @class */ (function (_super) {
31569
30777
  var _this = this;
31570
30778
  return exports.SearchApiFp(this.configuration).apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
31571
30779
  };
31572
- /**
31573
- *
31574
- * @summary Get the number of items in each search index
31575
- * @param {string} [searchTerm]
31576
- * @param {boolean} [countOnly]
31577
- * @param {string} [countryId]
31578
- * @param {string} [hospitalId]
31579
- * @param {MarketingType} [marketingType]
31580
- * @param {string} [languageCode]
31581
- * @param {number} [page]
31582
- * @param {number} [limit]
31583
- * @param {Date} [lastRetrieved]
31584
- * @param {*} [options] Override http request option.
31585
- * @throws {RequiredError}
31586
- * @memberof SearchApi
31587
- */
31588
- SearchApi.prototype.apiV1SearchGetcountGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31589
- var _this = this;
31590
- return exports.SearchApiFp(this.configuration).apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
31591
- };
31592
- /**
31593
- *
31594
- * @summary Search hospitals using Azure Search Services
31595
- * @param {string} [searchTerm]
31596
- * @param {boolean} [countOnly]
31597
- * @param {string} [countryId]
31598
- * @param {string} [hospitalId]
31599
- * @param {MarketingType} [marketingType]
31600
- * @param {string} [languageCode]
31601
- * @param {number} [page]
31602
- * @param {number} [limit]
31603
- * @param {Date} [lastRetrieved]
31604
- * @param {*} [options] Override http request option.
31605
- * @throws {RequiredError}
31606
- * @memberof SearchApi
31607
- */
31608
- SearchApi.prototype.apiV1SearchHospitalsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31609
- var _this = this;
31610
- return exports.SearchApiFp(this.configuration).apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
31611
- };
31612
30780
  /**
31613
30781
  *
31614
30782
  * @summary Update or Re-create hospitals Azure Search Services Index
@@ -31621,26 +30789,6 @@ var SearchApi = /** @class */ (function (_super) {
31621
30789
  var _this = this;
31622
30790
  return exports.SearchApiFp(this.configuration).apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
31623
30791
  };
31624
- /**
31625
- *
31626
- * @summary Search specialties using Azure Search Service
31627
- * @param {string} [searchTerm]
31628
- * @param {boolean} [countOnly]
31629
- * @param {string} [countryId]
31630
- * @param {string} [hospitalId]
31631
- * @param {MarketingType} [marketingType]
31632
- * @param {string} [languageCode]
31633
- * @param {number} [page]
31634
- * @param {number} [limit]
31635
- * @param {Date} [lastRetrieved]
31636
- * @param {*} [options] Override http request option.
31637
- * @throws {RequiredError}
31638
- * @memberof SearchApi
31639
- */
31640
- SearchApi.prototype.apiV1SearchSpecialtiesGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31641
- var _this = this;
31642
- return exports.SearchApiFp(this.configuration).apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
31643
- };
31644
30792
  /**
31645
30793
  *
31646
30794
  * @summary Update or Re-create specialties Azure Search Services Index
@@ -31653,26 +30801,6 @@ var SearchApi = /** @class */ (function (_super) {
31653
30801
  var _this = this;
31654
30802
  return exports.SearchApiFp(this.configuration).apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
31655
30803
  };
31656
- /**
31657
- *
31658
- * @summary Search specialtyTypes using Azure Search Services
31659
- * @param {string} [searchTerm]
31660
- * @param {boolean} [countOnly]
31661
- * @param {string} [countryId]
31662
- * @param {string} [hospitalId]
31663
- * @param {MarketingType} [marketingType]
31664
- * @param {string} [languageCode]
31665
- * @param {number} [page]
31666
- * @param {number} [limit]
31667
- * @param {Date} [lastRetrieved]
31668
- * @param {*} [options] Override http request option.
31669
- * @throws {RequiredError}
31670
- * @memberof SearchApi
31671
- */
31672
- SearchApi.prototype.apiV1SearchSpecialtytypesGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
31673
- var _this = this;
31674
- return exports.SearchApiFp(this.configuration).apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
31675
- };
31676
30804
  /**
31677
30805
  *
31678
30806
  * @summary Update or Re-create specialtyTypes Azure Search Services Index