ch-admin-api-client-typescript 2.7.4 → 2.7.9

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
@@ -76,7 +76,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
76
76
  return (mod && mod.__esModule) ? mod : { "default": mod };
77
77
  };
78
78
  Object.defineProperty(exports, "__esModule", { value: true });
79
- exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
79
+ exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
80
80
  var axios_1 = __importDefault(require("axios"));
81
81
  // Some imports not used depending on template conditions
82
82
  // @ts-ignore
@@ -9628,6 +9628,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
9628
9628
  * @param {string} [hospitalName]
9629
9629
  * @param {string} [specialtyId]
9630
9630
  * @param {string} [specialtyTypeId]
9631
+ * @param {string} [serviceId]
9631
9632
  * @param {string} [exceptHospitalId]
9632
9633
  * @param {string} [exceptDealId]
9633
9634
  * @param {Array<string>} [ids]
@@ -9640,7 +9641,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
9640
9641
  * @param {*} [options] Override http request option.
9641
9642
  * @throws {RequiredError}
9642
9643
  */
9643
- apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
9644
+ apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
9644
9645
  if (options === void 0) { options = {}; }
9645
9646
  return __awaiter(_this, void 0, void 0, function () {
9646
9647
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9686,6 +9687,9 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
9686
9687
  if (specialtyTypeId !== undefined) {
9687
9688
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
9688
9689
  }
9690
+ if (serviceId !== undefined) {
9691
+ localVarQueryParameter['ServiceId'] = serviceId;
9692
+ }
9689
9693
  if (exceptHospitalId !== undefined) {
9690
9694
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
9691
9695
  }
@@ -10124,6 +10128,7 @@ exports.DealsApiFp = function (configuration) {
10124
10128
  * @param {string} [hospitalName]
10125
10129
  * @param {string} [specialtyId]
10126
10130
  * @param {string} [specialtyTypeId]
10131
+ * @param {string} [serviceId]
10127
10132
  * @param {string} [exceptHospitalId]
10128
10133
  * @param {string} [exceptDealId]
10129
10134
  * @param {Array<string>} [ids]
@@ -10136,12 +10141,12 @@ exports.DealsApiFp = function (configuration) {
10136
10141
  * @param {*} [options] Override http request option.
10137
10142
  * @throws {RequiredError}
10138
10143
  */
10139
- apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
10144
+ apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
10140
10145
  return __awaiter(this, void 0, void 0, function () {
10141
10146
  var localVarAxiosArgs;
10142
10147
  return __generator(this, function (_a) {
10143
10148
  switch (_a.label) {
10144
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
10149
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
10145
10150
  case 1:
10146
10151
  localVarAxiosArgs = _a.sent();
10147
10152
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -10366,6 +10371,7 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
10366
10371
  * @param {string} [hospitalName]
10367
10372
  * @param {string} [specialtyId]
10368
10373
  * @param {string} [specialtyTypeId]
10374
+ * @param {string} [serviceId]
10369
10375
  * @param {string} [exceptHospitalId]
10370
10376
  * @param {string} [exceptDealId]
10371
10377
  * @param {Array<string>} [ids]
@@ -10378,8 +10384,8 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
10378
10384
  * @param {*} [options] Override http request option.
10379
10385
  * @throws {RequiredError}
10380
10386
  */
10381
- apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
10382
- return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
10387
+ apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
10388
+ return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
10383
10389
  },
10384
10390
  /**
10385
10391
  *
@@ -10608,6 +10614,7 @@ var DealsApi = /** @class */ (function (_super) {
10608
10614
  * @param {string} [hospitalName]
10609
10615
  * @param {string} [specialtyId]
10610
10616
  * @param {string} [specialtyTypeId]
10617
+ * @param {string} [serviceId]
10611
10618
  * @param {string} [exceptHospitalId]
10612
10619
  * @param {string} [exceptDealId]
10613
10620
  * @param {Array<string>} [ids]
@@ -10621,9 +10628,9 @@ var DealsApi = /** @class */ (function (_super) {
10621
10628
  * @throws {RequiredError}
10622
10629
  * @memberof DealsApi
10623
10630
  */
10624
- DealsApi.prototype.apiV1DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
10631
+ DealsApi.prototype.apiV1DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
10625
10632
  var _this = this;
10626
- return exports.DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
10633
+ return exports.DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
10627
10634
  };
10628
10635
  /**
10629
10636
  *
@@ -12319,6 +12326,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
12319
12326
  * @param {string} [hospitalId]
12320
12327
  * @param {string} [languageCode]
12321
12328
  * @param {boolean} [returnDefaultValue]
12329
+ * @param {Array<string>} [ids]
12322
12330
  * @param {string} [id]
12323
12331
  * @param {string} [fullname]
12324
12332
  * @param {string} [email]
@@ -12332,7 +12340,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
12332
12340
  * @param {*} [options] Override http request option.
12333
12341
  * @throws {RequiredError}
12334
12342
  */
12335
- apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
12343
+ apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
12336
12344
  if (options === void 0) { options = {}; }
12337
12345
  return __awaiter(_this, void 0, void 0, function () {
12338
12346
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -12363,6 +12371,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
12363
12371
  if (returnDefaultValue !== undefined) {
12364
12372
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
12365
12373
  }
12374
+ if (ids) {
12375
+ localVarQueryParameter['Ids'] = ids;
12376
+ }
12366
12377
  if (id !== undefined) {
12367
12378
  localVarQueryParameter['Id'] = id;
12368
12379
  }
@@ -12452,6 +12463,107 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
12452
12463
  });
12453
12464
  });
12454
12465
  },
12466
+ /**
12467
+ *
12468
+ * @summary Get all Doctors.
12469
+ * @param {string} [hospitalId]
12470
+ * @param {string} [languageCode]
12471
+ * @param {boolean} [returnDefaultValue]
12472
+ * @param {Array<string>} [ids]
12473
+ * @param {string} [id]
12474
+ * @param {string} [fullname]
12475
+ * @param {string} [email]
12476
+ * @param {Gender} [gender]
12477
+ * @param {Date} [dateOfBirth]
12478
+ * @param {Date} [created]
12479
+ * @param {boolean} [showHidden]
12480
+ * @param {number} [page]
12481
+ * @param {number} [limit]
12482
+ * @param {Date} [lastRetrieved]
12483
+ * @param {*} [options] Override http request option.
12484
+ * @throws {RequiredError}
12485
+ */
12486
+ apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
12487
+ if (options === void 0) { options = {}; }
12488
+ return __awaiter(_this, void 0, void 0, function () {
12489
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12490
+ return __generator(this, function (_a) {
12491
+ switch (_a.label) {
12492
+ case 0:
12493
+ localVarPath = "/api/v1/doctors/simple";
12494
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12495
+ if (configuration) {
12496
+ baseOptions = configuration.baseOptions;
12497
+ }
12498
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
12499
+ localVarHeaderParameter = {};
12500
+ localVarQueryParameter = {};
12501
+ // authentication oauth2 required
12502
+ // oauth required
12503
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
12504
+ case 1:
12505
+ // authentication oauth2 required
12506
+ // oauth required
12507
+ _a.sent();
12508
+ if (hospitalId !== undefined) {
12509
+ localVarQueryParameter['HospitalId'] = hospitalId;
12510
+ }
12511
+ if (languageCode !== undefined) {
12512
+ localVarQueryParameter['LanguageCode'] = languageCode;
12513
+ }
12514
+ if (returnDefaultValue !== undefined) {
12515
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
12516
+ }
12517
+ if (ids) {
12518
+ localVarQueryParameter['Ids'] = ids;
12519
+ }
12520
+ if (id !== undefined) {
12521
+ localVarQueryParameter['Id'] = id;
12522
+ }
12523
+ if (fullname !== undefined) {
12524
+ localVarQueryParameter['Fullname'] = fullname;
12525
+ }
12526
+ if (email !== undefined) {
12527
+ localVarQueryParameter['Email'] = email;
12528
+ }
12529
+ if (gender !== undefined) {
12530
+ localVarQueryParameter['Gender'] = gender;
12531
+ }
12532
+ if (dateOfBirth !== undefined) {
12533
+ localVarQueryParameter['DateOfBirth'] = (dateOfBirth instanceof Date) ?
12534
+ dateOfBirth.toISOString() :
12535
+ dateOfBirth;
12536
+ }
12537
+ if (created !== undefined) {
12538
+ localVarQueryParameter['Created'] = (created instanceof Date) ?
12539
+ created.toISOString() :
12540
+ created;
12541
+ }
12542
+ if (showHidden !== undefined) {
12543
+ localVarQueryParameter['ShowHidden'] = showHidden;
12544
+ }
12545
+ if (page !== undefined) {
12546
+ localVarQueryParameter['page'] = page;
12547
+ }
12548
+ if (limit !== undefined) {
12549
+ localVarQueryParameter['limit'] = limit;
12550
+ }
12551
+ if (lastRetrieved !== undefined) {
12552
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
12553
+ lastRetrieved.toISOString() :
12554
+ lastRetrieved;
12555
+ }
12556
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
12557
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12558
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12559
+ return [2 /*return*/, {
12560
+ url: common_1.toPathString(localVarUrlObj),
12561
+ options: localVarRequestOptions,
12562
+ }];
12563
+ }
12564
+ });
12565
+ });
12566
+ },
12455
12567
  /**
12456
12568
  *
12457
12569
  * @param {string} slug
@@ -13223,6 +13335,7 @@ exports.DoctorsApiFp = function (configuration) {
13223
13335
  * @param {string} [hospitalId]
13224
13336
  * @param {string} [languageCode]
13225
13337
  * @param {boolean} [returnDefaultValue]
13338
+ * @param {Array<string>} [ids]
13226
13339
  * @param {string} [id]
13227
13340
  * @param {string} [fullname]
13228
13341
  * @param {string} [email]
@@ -13236,12 +13349,12 @@ exports.DoctorsApiFp = function (configuration) {
13236
13349
  * @param {*} [options] Override http request option.
13237
13350
  * @throws {RequiredError}
13238
13351
  */
13239
- apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13352
+ apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13240
13353
  return __awaiter(this, void 0, void 0, function () {
13241
13354
  var localVarAxiosArgs;
13242
13355
  return __generator(this, function (_a) {
13243
13356
  switch (_a.label) {
13244
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
13357
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
13245
13358
  case 1:
13246
13359
  localVarAxiosArgs = _a.sent();
13247
13360
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -13269,6 +13382,39 @@ exports.DoctorsApiFp = function (configuration) {
13269
13382
  });
13270
13383
  });
13271
13384
  },
13385
+ /**
13386
+ *
13387
+ * @summary Get all Doctors.
13388
+ * @param {string} [hospitalId]
13389
+ * @param {string} [languageCode]
13390
+ * @param {boolean} [returnDefaultValue]
13391
+ * @param {Array<string>} [ids]
13392
+ * @param {string} [id]
13393
+ * @param {string} [fullname]
13394
+ * @param {string} [email]
13395
+ * @param {Gender} [gender]
13396
+ * @param {Date} [dateOfBirth]
13397
+ * @param {Date} [created]
13398
+ * @param {boolean} [showHidden]
13399
+ * @param {number} [page]
13400
+ * @param {number} [limit]
13401
+ * @param {Date} [lastRetrieved]
13402
+ * @param {*} [options] Override http request option.
13403
+ * @throws {RequiredError}
13404
+ */
13405
+ apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13406
+ return __awaiter(this, void 0, void 0, function () {
13407
+ var localVarAxiosArgs;
13408
+ return __generator(this, function (_a) {
13409
+ switch (_a.label) {
13410
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
13411
+ case 1:
13412
+ localVarAxiosArgs = _a.sent();
13413
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
13414
+ }
13415
+ });
13416
+ });
13417
+ },
13272
13418
  /**
13273
13419
  *
13274
13420
  * @param {string} slug
@@ -13691,6 +13837,7 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
13691
13837
  * @param {string} [hospitalId]
13692
13838
  * @param {string} [languageCode]
13693
13839
  * @param {boolean} [returnDefaultValue]
13840
+ * @param {Array<string>} [ids]
13694
13841
  * @param {string} [id]
13695
13842
  * @param {string} [fullname]
13696
13843
  * @param {string} [email]
@@ -13704,8 +13851,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
13704
13851
  * @param {*} [options] Override http request option.
13705
13852
  * @throws {RequiredError}
13706
13853
  */
13707
- apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13708
- return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
13854
+ apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13855
+ return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
13709
13856
  },
13710
13857
  /**
13711
13858
  *
@@ -13717,6 +13864,29 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
13717
13864
  apiV1DoctorsPost: function (createDoctorCommand, options) {
13718
13865
  return localVarFp.apiV1DoctorsPost(createDoctorCommand, options).then(function (request) { return request(axios, basePath); });
13719
13866
  },
13867
+ /**
13868
+ *
13869
+ * @summary Get all Doctors.
13870
+ * @param {string} [hospitalId]
13871
+ * @param {string} [languageCode]
13872
+ * @param {boolean} [returnDefaultValue]
13873
+ * @param {Array<string>} [ids]
13874
+ * @param {string} [id]
13875
+ * @param {string} [fullname]
13876
+ * @param {string} [email]
13877
+ * @param {Gender} [gender]
13878
+ * @param {Date} [dateOfBirth]
13879
+ * @param {Date} [created]
13880
+ * @param {boolean} [showHidden]
13881
+ * @param {number} [page]
13882
+ * @param {number} [limit]
13883
+ * @param {Date} [lastRetrieved]
13884
+ * @param {*} [options] Override http request option.
13885
+ * @throws {RequiredError}
13886
+ */
13887
+ apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13888
+ return localVarFp.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
13889
+ },
13720
13890
  /**
13721
13891
  *
13722
13892
  * @param {string} slug
@@ -14197,6 +14367,7 @@ var DoctorsApi = /** @class */ (function (_super) {
14197
14367
  * @param {string} [hospitalId]
14198
14368
  * @param {string} [languageCode]
14199
14369
  * @param {boolean} [returnDefaultValue]
14370
+ * @param {Array<string>} [ids]
14200
14371
  * @param {string} [id]
14201
14372
  * @param {string} [fullname]
14202
14373
  * @param {string} [email]
@@ -14211,9 +14382,9 @@ var DoctorsApi = /** @class */ (function (_super) {
14211
14382
  * @throws {RequiredError}
14212
14383
  * @memberof DoctorsApi
14213
14384
  */
14214
- DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14385
+ DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14215
14386
  var _this = this;
14216
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
14387
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
14217
14388
  };
14218
14389
  /**
14219
14390
  *
@@ -14227,6 +14398,31 @@ var DoctorsApi = /** @class */ (function (_super) {
14227
14398
  var _this = this;
14228
14399
  return exports.DoctorsApiFp(this.configuration).apiV1DoctorsPost(createDoctorCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
14229
14400
  };
14401
+ /**
14402
+ *
14403
+ * @summary Get all Doctors.
14404
+ * @param {string} [hospitalId]
14405
+ * @param {string} [languageCode]
14406
+ * @param {boolean} [returnDefaultValue]
14407
+ * @param {Array<string>} [ids]
14408
+ * @param {string} [id]
14409
+ * @param {string} [fullname]
14410
+ * @param {string} [email]
14411
+ * @param {Gender} [gender]
14412
+ * @param {Date} [dateOfBirth]
14413
+ * @param {Date} [created]
14414
+ * @param {boolean} [showHidden]
14415
+ * @param {number} [page]
14416
+ * @param {number} [limit]
14417
+ * @param {Date} [lastRetrieved]
14418
+ * @param {*} [options] Override http request option.
14419
+ * @throws {RequiredError}
14420
+ * @memberof DoctorsApi
14421
+ */
14422
+ DoctorsApi.prototype.apiV1DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14423
+ var _this = this;
14424
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
14425
+ };
14230
14426
  /**
14231
14427
  *
14232
14428
  * @param {string} slug
@@ -16690,7 +16886,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
16690
16886
  * @summary Get all Hospitals.
16691
16887
  * @param {string} [hospitalId]
16692
16888
  * @param {string} [name]
16693
- * @param {string} [description]
16694
16889
  * @param {string} [countryId]
16695
16890
  * @param {Date} [created]
16696
16891
  * @param {MarketingType} [marketingType]
@@ -16708,7 +16903,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
16708
16903
  * @param {*} [options] Override http request option.
16709
16904
  * @throws {RequiredError}
16710
16905
  */
16711
- apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
16906
+ apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
16712
16907
  if (options === void 0) { options = {}; }
16713
16908
  return __awaiter(_this, void 0, void 0, function () {
16714
16909
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -16736,9 +16931,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
16736
16931
  if (name !== undefined) {
16737
16932
  localVarQueryParameter['Name'] = name;
16738
16933
  }
16739
- if (description !== undefined) {
16740
- localVarQueryParameter['Description'] = description;
16741
- }
16742
16934
  if (countryId !== undefined) {
16743
16935
  localVarQueryParameter['CountryId'] = countryId;
16744
16936
  }
@@ -18217,15 +18409,18 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
18217
18409
  * @param {string} [specialtyId]
18218
18410
  * @param {string} [specialtyName]
18219
18411
  * @param {string} [specialtyTypeId]
18412
+ * @param {string} [title]
18220
18413
  * @param {MarketingType} [marketingType]
18221
- * @param {Date} [created]
18414
+ * @param {string} [languageCode]
18415
+ * @param {boolean} [showHidden]
18416
+ * @param {boolean} [returnDefaultValue]
18222
18417
  * @param {number} [page]
18223
18418
  * @param {number} [limit]
18224
18419
  * @param {Date} [lastRetrieved]
18225
18420
  * @param {*} [options] Override http request option.
18226
18421
  * @throws {RequiredError}
18227
18422
  */
18228
- apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options) {
18423
+ apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
18229
18424
  if (options === void 0) { options = {}; }
18230
18425
  return __awaiter(_this, void 0, void 0, function () {
18231
18426
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -18265,13 +18460,20 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
18265
18460
  if (specialtyTypeId !== undefined) {
18266
18461
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
18267
18462
  }
18463
+ if (title !== undefined) {
18464
+ localVarQueryParameter['Title'] = title;
18465
+ }
18268
18466
  if (marketingType !== undefined) {
18269
18467
  localVarQueryParameter['MarketingType'] = marketingType;
18270
18468
  }
18271
- if (created !== undefined) {
18272
- localVarQueryParameter['Created'] = (created instanceof Date) ?
18273
- created.toISOString() :
18274
- created;
18469
+ if (languageCode !== undefined) {
18470
+ localVarQueryParameter['LanguageCode'] = languageCode;
18471
+ }
18472
+ if (showHidden !== undefined) {
18473
+ localVarQueryParameter['ShowHidden'] = showHidden;
18474
+ }
18475
+ if (returnDefaultValue !== undefined) {
18476
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
18275
18477
  }
18276
18478
  if (page !== undefined) {
18277
18479
  localVarQueryParameter['page'] = page;
@@ -18393,10 +18595,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
18393
18595
  * @summary Get HospitalSpecialty.
18394
18596
  * @param {string} hospitalId
18395
18597
  * @param {string} specialtyId
18598
+ * @param {string} [languageCode]
18599
+ * @param {boolean} [returnDefaultValue]
18396
18600
  * @param {*} [options] Override http request option.
18397
18601
  * @throws {RequiredError}
18398
18602
  */
18399
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
18603
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
18400
18604
  if (options === void 0) { options = {}; }
18401
18605
  return __awaiter(_this, void 0, void 0, function () {
18402
18606
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -18424,6 +18628,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
18424
18628
  // authentication oauth2 required
18425
18629
  // oauth required
18426
18630
  _a.sent();
18631
+ if (languageCode !== undefined) {
18632
+ localVarQueryParameter['languageCode'] = languageCode;
18633
+ }
18634
+ if (returnDefaultValue !== undefined) {
18635
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
18636
+ }
18427
18637
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
18428
18638
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18429
18639
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -19158,7 +19368,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
19158
19368
  * @summary Get all Hospitals.
19159
19369
  * @param {string} [hospitalId]
19160
19370
  * @param {string} [name]
19161
- * @param {string} [description]
19162
19371
  * @param {string} [countryId]
19163
19372
  * @param {Date} [created]
19164
19373
  * @param {MarketingType} [marketingType]
@@ -19176,7 +19385,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
19176
19385
  * @param {*} [options] Override http request option.
19177
19386
  * @throws {RequiredError}
19178
19387
  */
19179
- apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
19388
+ apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
19180
19389
  if (options === void 0) { options = {}; }
19181
19390
  return __awaiter(_this, void 0, void 0, function () {
19182
19391
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -19204,9 +19413,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
19204
19413
  if (name !== undefined) {
19205
19414
  localVarQueryParameter['Name'] = name;
19206
19415
  }
19207
- if (description !== undefined) {
19208
- localVarQueryParameter['Description'] = description;
19209
- }
19210
19416
  if (countryId !== undefined) {
19211
19417
  localVarQueryParameter['CountryId'] = countryId;
19212
19418
  }
@@ -19328,7 +19534,6 @@ exports.HospitalsApiFp = function (configuration) {
19328
19534
  * @summary Get all Hospitals.
19329
19535
  * @param {string} [hospitalId]
19330
19536
  * @param {string} [name]
19331
- * @param {string} [description]
19332
19537
  * @param {string} [countryId]
19333
19538
  * @param {Date} [created]
19334
19539
  * @param {MarketingType} [marketingType]
@@ -19346,12 +19551,12 @@ exports.HospitalsApiFp = function (configuration) {
19346
19551
  * @param {*} [options] Override http request option.
19347
19552
  * @throws {RequiredError}
19348
19553
  */
19349
- apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
19554
+ apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
19350
19555
  return __awaiter(this, void 0, void 0, function () {
19351
19556
  var localVarAxiosArgs;
19352
19557
  return __generator(this, function (_a) {
19353
19558
  switch (_a.label) {
19354
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
19559
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
19355
19560
  case 1:
19356
19561
  localVarAxiosArgs = _a.sent();
19357
19562
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -19970,20 +20175,23 @@ exports.HospitalsApiFp = function (configuration) {
19970
20175
  * @param {string} [specialtyId]
19971
20176
  * @param {string} [specialtyName]
19972
20177
  * @param {string} [specialtyTypeId]
20178
+ * @param {string} [title]
19973
20179
  * @param {MarketingType} [marketingType]
19974
- * @param {Date} [created]
20180
+ * @param {string} [languageCode]
20181
+ * @param {boolean} [showHidden]
20182
+ * @param {boolean} [returnDefaultValue]
19975
20183
  * @param {number} [page]
19976
20184
  * @param {number} [limit]
19977
20185
  * @param {Date} [lastRetrieved]
19978
20186
  * @param {*} [options] Override http request option.
19979
20187
  * @throws {RequiredError}
19980
20188
  */
19981
- apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options) {
20189
+ apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
19982
20190
  return __awaiter(this, void 0, void 0, function () {
19983
20191
  var localVarAxiosArgs;
19984
20192
  return __generator(this, function (_a) {
19985
20193
  switch (_a.label) {
19986
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options)];
20194
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
19987
20195
  case 1:
19988
20196
  localVarAxiosArgs = _a.sent();
19989
20197
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -20038,15 +20246,17 @@ exports.HospitalsApiFp = function (configuration) {
20038
20246
  * @summary Get HospitalSpecialty.
20039
20247
  * @param {string} hospitalId
20040
20248
  * @param {string} specialtyId
20249
+ * @param {string} [languageCode]
20250
+ * @param {boolean} [returnDefaultValue]
20041
20251
  * @param {*} [options] Override http request option.
20042
20252
  * @throws {RequiredError}
20043
20253
  */
20044
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
20254
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
20045
20255
  return __awaiter(this, void 0, void 0, function () {
20046
20256
  var localVarAxiosArgs;
20047
20257
  return __generator(this, function (_a) {
20048
20258
  switch (_a.label) {
20049
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options)];
20259
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options)];
20050
20260
  case 1:
20051
20261
  localVarAxiosArgs = _a.sent();
20052
20262
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -20348,7 +20558,6 @@ exports.HospitalsApiFp = function (configuration) {
20348
20558
  * @summary Get all Hospitals.
20349
20559
  * @param {string} [hospitalId]
20350
20560
  * @param {string} [name]
20351
- * @param {string} [description]
20352
20561
  * @param {string} [countryId]
20353
20562
  * @param {Date} [created]
20354
20563
  * @param {MarketingType} [marketingType]
@@ -20366,12 +20575,12 @@ exports.HospitalsApiFp = function (configuration) {
20366
20575
  * @param {*} [options] Override http request option.
20367
20576
  * @throws {RequiredError}
20368
20577
  */
20369
- apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
20578
+ apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
20370
20579
  return __awaiter(this, void 0, void 0, function () {
20371
20580
  var localVarAxiosArgs;
20372
20581
  return __generator(this, function (_a) {
20373
20582
  switch (_a.label) {
20374
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
20583
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
20375
20584
  case 1:
20376
20585
  localVarAxiosArgs = _a.sent();
20377
20586
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -20414,7 +20623,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
20414
20623
  * @summary Get all Hospitals.
20415
20624
  * @param {string} [hospitalId]
20416
20625
  * @param {string} [name]
20417
- * @param {string} [description]
20418
20626
  * @param {string} [countryId]
20419
20627
  * @param {Date} [created]
20420
20628
  * @param {MarketingType} [marketingType]
@@ -20432,8 +20640,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
20432
20640
  * @param {*} [options] Override http request option.
20433
20641
  * @throws {RequiredError}
20434
20642
  */
20435
- apiV1HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
20436
- return localVarFp.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
20643
+ apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
20644
+ return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
20437
20645
  },
20438
20646
  /**
20439
20647
  *
@@ -20776,16 +20984,19 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
20776
20984
  * @param {string} [specialtyId]
20777
20985
  * @param {string} [specialtyName]
20778
20986
  * @param {string} [specialtyTypeId]
20987
+ * @param {string} [title]
20779
20988
  * @param {MarketingType} [marketingType]
20780
- * @param {Date} [created]
20989
+ * @param {string} [languageCode]
20990
+ * @param {boolean} [showHidden]
20991
+ * @param {boolean} [returnDefaultValue]
20781
20992
  * @param {number} [page]
20782
20993
  * @param {number} [limit]
20783
20994
  * @param {Date} [lastRetrieved]
20784
20995
  * @param {*} [options] Override http request option.
20785
20996
  * @throws {RequiredError}
20786
20997
  */
20787
- apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options) {
20788
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
20998
+ apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
20999
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
20789
21000
  },
20790
21001
  /**
20791
21002
  *
@@ -20814,11 +21025,13 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
20814
21025
  * @summary Get HospitalSpecialty.
20815
21026
  * @param {string} hospitalId
20816
21027
  * @param {string} specialtyId
21028
+ * @param {string} [languageCode]
21029
+ * @param {boolean} [returnDefaultValue]
20817
21030
  * @param {*} [options] Override http request option.
20818
21031
  * @throws {RequiredError}
20819
21032
  */
20820
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
20821
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then(function (request) { return request(axios, basePath); });
21033
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
21034
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
20822
21035
  },
20823
21036
  /**
20824
21037
  *
@@ -20994,7 +21207,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
20994
21207
  * @summary Get all Hospitals.
20995
21208
  * @param {string} [hospitalId]
20996
21209
  * @param {string} [name]
20997
- * @param {string} [description]
20998
21210
  * @param {string} [countryId]
20999
21211
  * @param {Date} [created]
21000
21212
  * @param {MarketingType} [marketingType]
@@ -21012,8 +21224,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
21012
21224
  * @param {*} [options] Override http request option.
21013
21225
  * @throws {RequiredError}
21014
21226
  */
21015
- apiV1HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
21016
- return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
21227
+ apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
21228
+ return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
21017
21229
  },
21018
21230
  /**
21019
21231
  *
@@ -21044,7 +21256,6 @@ var HospitalsApi = /** @class */ (function (_super) {
21044
21256
  * @summary Get all Hospitals.
21045
21257
  * @param {string} [hospitalId]
21046
21258
  * @param {string} [name]
21047
- * @param {string} [description]
21048
21259
  * @param {string} [countryId]
21049
21260
  * @param {Date} [created]
21050
21261
  * @param {MarketingType} [marketingType]
@@ -21063,9 +21274,9 @@ var HospitalsApi = /** @class */ (function (_super) {
21063
21274
  * @throws {RequiredError}
21064
21275
  * @memberof HospitalsApi
21065
21276
  */
21066
- HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
21277
+ HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
21067
21278
  var _this = this;
21068
- return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
21279
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
21069
21280
  };
21070
21281
  /**
21071
21282
  *
@@ -21462,8 +21673,11 @@ var HospitalsApi = /** @class */ (function (_super) {
21462
21673
  * @param {string} [specialtyId]
21463
21674
  * @param {string} [specialtyName]
21464
21675
  * @param {string} [specialtyTypeId]
21676
+ * @param {string} [title]
21465
21677
  * @param {MarketingType} [marketingType]
21466
- * @param {Date} [created]
21678
+ * @param {string} [languageCode]
21679
+ * @param {boolean} [showHidden]
21680
+ * @param {boolean} [returnDefaultValue]
21467
21681
  * @param {number} [page]
21468
21682
  * @param {number} [limit]
21469
21683
  * @param {Date} [lastRetrieved]
@@ -21471,9 +21685,9 @@ var HospitalsApi = /** @class */ (function (_super) {
21471
21685
  * @throws {RequiredError}
21472
21686
  * @memberof HospitalsApi
21473
21687
  */
21474
- HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options) {
21688
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
21475
21689
  var _this = this;
21476
- return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
21690
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
21477
21691
  };
21478
21692
  /**
21479
21693
  *
@@ -21506,13 +21720,15 @@ var HospitalsApi = /** @class */ (function (_super) {
21506
21720
  * @summary Get HospitalSpecialty.
21507
21721
  * @param {string} hospitalId
21508
21722
  * @param {string} specialtyId
21723
+ * @param {string} [languageCode]
21724
+ * @param {boolean} [returnDefaultValue]
21509
21725
  * @param {*} [options] Override http request option.
21510
21726
  * @throws {RequiredError}
21511
21727
  * @memberof HospitalsApi
21512
21728
  */
21513
- HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, options) {
21729
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
21514
21730
  var _this = this;
21515
- return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
21731
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
21516
21732
  };
21517
21733
  /**
21518
21734
  *
@@ -21712,7 +21928,6 @@ var HospitalsApi = /** @class */ (function (_super) {
21712
21928
  * @summary Get all Hospitals.
21713
21929
  * @param {string} [hospitalId]
21714
21930
  * @param {string} [name]
21715
- * @param {string} [description]
21716
21931
  * @param {string} [countryId]
21717
21932
  * @param {Date} [created]
21718
21933
  * @param {MarketingType} [marketingType]
@@ -21731,9 +21946,9 @@ var HospitalsApi = /** @class */ (function (_super) {
21731
21946
  * @throws {RequiredError}
21732
21947
  * @memberof HospitalsApi
21733
21948
  */
21734
- HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
21949
+ HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
21735
21950
  var _this = this;
21736
- return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
21951
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
21737
21952
  };
21738
21953
  /**
21739
21954
  *
@@ -26003,19 +26218,1339 @@ var ProfilesApi = /** @class */ (function (_super) {
26003
26218
  }(base_1.BaseAPI));
26004
26219
  exports.ProfilesApi = ProfilesApi;
26005
26220
  /**
26006
- * ServiceReviewsApi - axios parameter creator
26221
+ * SearchApi - axios parameter creator
26007
26222
  * @export
26008
26223
  */
26009
- exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
26224
+ exports.SearchApiAxiosParamCreator = function (configuration) {
26010
26225
  var _this = this;
26011
26226
  return {
26012
26227
  /**
26013
26228
  *
26014
- * @summary Get all ServiceReviews.
26015
- * @param {string} [serviceId]
26016
- * @param {string} [serviceName]
26229
+ * @summary Search deals using Azure Search Service
26230
+ * @param {string} [searchTerm]
26231
+ * @param {boolean} [countOnly]
26232
+ * @param {string} [countryId]
26233
+ * @param {string} [hospitalId]
26234
+ * @param {MarketingType} [marketingType]
26235
+ * @param {string} [languageCode]
26236
+ * @param {number} [page]
26237
+ * @param {number} [limit]
26238
+ * @param {Date} [lastRetrieved]
26239
+ * @param {*} [options] Override http request option.
26240
+ * @throws {RequiredError}
26241
+ */
26242
+ apiV1SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
26243
+ if (options === void 0) { options = {}; }
26244
+ return __awaiter(_this, void 0, void 0, function () {
26245
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26246
+ return __generator(this, function (_a) {
26247
+ switch (_a.label) {
26248
+ case 0:
26249
+ localVarPath = "/api/v1/search/deals";
26250
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26251
+ if (configuration) {
26252
+ baseOptions = configuration.baseOptions;
26253
+ }
26254
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26255
+ localVarHeaderParameter = {};
26256
+ localVarQueryParameter = {};
26257
+ // authentication oauth2 required
26258
+ // oauth required
26259
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
26260
+ case 1:
26261
+ // authentication oauth2 required
26262
+ // oauth required
26263
+ _a.sent();
26264
+ if (searchTerm !== undefined) {
26265
+ localVarQueryParameter['SearchTerm'] = searchTerm;
26266
+ }
26267
+ if (countOnly !== undefined) {
26268
+ localVarQueryParameter['CountOnly'] = countOnly;
26269
+ }
26270
+ if (countryId !== undefined) {
26271
+ localVarQueryParameter['CountryId'] = countryId;
26272
+ }
26273
+ if (hospitalId !== undefined) {
26274
+ localVarQueryParameter['HospitalId'] = hospitalId;
26275
+ }
26276
+ if (marketingType !== undefined) {
26277
+ localVarQueryParameter['MarketingType'] = marketingType;
26278
+ }
26279
+ if (languageCode !== undefined) {
26280
+ localVarQueryParameter['LanguageCode'] = languageCode;
26281
+ }
26282
+ if (page !== undefined) {
26283
+ localVarQueryParameter['page'] = page;
26284
+ }
26285
+ if (limit !== undefined) {
26286
+ localVarQueryParameter['limit'] = limit;
26287
+ }
26288
+ if (lastRetrieved !== undefined) {
26289
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
26290
+ lastRetrieved.toISOString() :
26291
+ lastRetrieved;
26292
+ }
26293
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
26294
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26295
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26296
+ return [2 /*return*/, {
26297
+ url: common_1.toPathString(localVarUrlObj),
26298
+ options: localVarRequestOptions,
26299
+ }];
26300
+ }
26301
+ });
26302
+ });
26303
+ },
26304
+ /**
26305
+ *
26306
+ * @summary Update or Re-create deals Azure Search Services Index
26307
+ * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
26308
+ * @param {*} [options] Override http request option.
26309
+ * @throws {RequiredError}
26310
+ */
26311
+ apiV1SearchDealsPost: function (updateDealsSearchIndexCommand, options) {
26312
+ if (options === void 0) { options = {}; }
26313
+ return __awaiter(_this, void 0, void 0, function () {
26314
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26315
+ return __generator(this, function (_a) {
26316
+ switch (_a.label) {
26317
+ case 0:
26318
+ localVarPath = "/api/v1/search/deals";
26319
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26320
+ if (configuration) {
26321
+ baseOptions = configuration.baseOptions;
26322
+ }
26323
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
26324
+ localVarHeaderParameter = {};
26325
+ localVarQueryParameter = {};
26326
+ // authentication oauth2 required
26327
+ // oauth required
26328
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
26329
+ case 1:
26330
+ // authentication oauth2 required
26331
+ // oauth required
26332
+ _a.sent();
26333
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26334
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
26335
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26336
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26337
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDealsSearchIndexCommand, localVarRequestOptions, configuration);
26338
+ return [2 /*return*/, {
26339
+ url: common_1.toPathString(localVarUrlObj),
26340
+ options: localVarRequestOptions,
26341
+ }];
26342
+ }
26343
+ });
26344
+ });
26345
+ },
26346
+ /**
26347
+ *
26348
+ * @summary Search doctors using Azure Search Services
26349
+ * @param {string} [searchTerm]
26350
+ * @param {boolean} [countOnly]
26351
+ * @param {string} [countryId]
26352
+ * @param {string} [hospitalId]
26353
+ * @param {MarketingType} [marketingType]
26354
+ * @param {string} [languageCode]
26355
+ * @param {number} [page]
26356
+ * @param {number} [limit]
26357
+ * @param {Date} [lastRetrieved]
26358
+ * @param {*} [options] Override http request option.
26359
+ * @throws {RequiredError}
26360
+ */
26361
+ apiV1SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
26362
+ if (options === void 0) { options = {}; }
26363
+ return __awaiter(_this, void 0, void 0, function () {
26364
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26365
+ return __generator(this, function (_a) {
26366
+ switch (_a.label) {
26367
+ case 0:
26368
+ localVarPath = "/api/v1/search/doctors";
26369
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26370
+ if (configuration) {
26371
+ baseOptions = configuration.baseOptions;
26372
+ }
26373
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26374
+ localVarHeaderParameter = {};
26375
+ localVarQueryParameter = {};
26376
+ // authentication oauth2 required
26377
+ // oauth required
26378
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
26379
+ case 1:
26380
+ // authentication oauth2 required
26381
+ // oauth required
26382
+ _a.sent();
26383
+ if (searchTerm !== undefined) {
26384
+ localVarQueryParameter['SearchTerm'] = searchTerm;
26385
+ }
26386
+ if (countOnly !== undefined) {
26387
+ localVarQueryParameter['CountOnly'] = countOnly;
26388
+ }
26389
+ if (countryId !== undefined) {
26390
+ localVarQueryParameter['CountryId'] = countryId;
26391
+ }
26392
+ if (hospitalId !== undefined) {
26393
+ localVarQueryParameter['HospitalId'] = hospitalId;
26394
+ }
26395
+ if (marketingType !== undefined) {
26396
+ localVarQueryParameter['MarketingType'] = marketingType;
26397
+ }
26398
+ if (languageCode !== undefined) {
26399
+ localVarQueryParameter['LanguageCode'] = languageCode;
26400
+ }
26401
+ if (page !== undefined) {
26402
+ localVarQueryParameter['page'] = page;
26403
+ }
26404
+ if (limit !== undefined) {
26405
+ localVarQueryParameter['limit'] = limit;
26406
+ }
26407
+ if (lastRetrieved !== undefined) {
26408
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
26409
+ lastRetrieved.toISOString() :
26410
+ lastRetrieved;
26411
+ }
26412
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
26413
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26414
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26415
+ return [2 /*return*/, {
26416
+ url: common_1.toPathString(localVarUrlObj),
26417
+ options: localVarRequestOptions,
26418
+ }];
26419
+ }
26420
+ });
26421
+ });
26422
+ },
26423
+ /**
26424
+ *
26425
+ * @summary Update or Re-create doctors Azure Search Services Index
26426
+ * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
26427
+ * @param {*} [options] Override http request option.
26428
+ * @throws {RequiredError}
26429
+ */
26430
+ apiV1SearchDoctorsPost: function (updateDoctorsSearchIndexCommand, options) {
26431
+ if (options === void 0) { options = {}; }
26432
+ return __awaiter(_this, void 0, void 0, function () {
26433
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26434
+ return __generator(this, function (_a) {
26435
+ switch (_a.label) {
26436
+ case 0:
26437
+ localVarPath = "/api/v1/search/doctors";
26438
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26439
+ if (configuration) {
26440
+ baseOptions = configuration.baseOptions;
26441
+ }
26442
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
26443
+ localVarHeaderParameter = {};
26444
+ localVarQueryParameter = {};
26445
+ // authentication oauth2 required
26446
+ // oauth required
26447
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
26448
+ case 1:
26449
+ // authentication oauth2 required
26450
+ // oauth required
26451
+ _a.sent();
26452
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26453
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
26454
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26455
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26456
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorsSearchIndexCommand, localVarRequestOptions, configuration);
26457
+ return [2 /*return*/, {
26458
+ url: common_1.toPathString(localVarUrlObj),
26459
+ options: localVarRequestOptions,
26460
+ }];
26461
+ }
26462
+ });
26463
+ });
26464
+ },
26465
+ /**
26466
+ *
26467
+ * @summary Get the number of items in each search index
26468
+ * @param {string} [searchTerm]
26469
+ * @param {boolean} [countOnly]
26470
+ * @param {string} [countryId]
26471
+ * @param {string} [hospitalId]
26472
+ * @param {MarketingType} [marketingType]
26473
+ * @param {string} [languageCode]
26474
+ * @param {number} [page]
26475
+ * @param {number} [limit]
26476
+ * @param {Date} [lastRetrieved]
26477
+ * @param {*} [options] Override http request option.
26478
+ * @throws {RequiredError}
26479
+ */
26480
+ apiV1SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
26481
+ if (options === void 0) { options = {}; }
26482
+ return __awaiter(_this, void 0, void 0, function () {
26483
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26484
+ return __generator(this, function (_a) {
26485
+ switch (_a.label) {
26486
+ case 0:
26487
+ localVarPath = "/api/v1/search/getcount";
26488
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26489
+ if (configuration) {
26490
+ baseOptions = configuration.baseOptions;
26491
+ }
26492
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26493
+ localVarHeaderParameter = {};
26494
+ localVarQueryParameter = {};
26495
+ // authentication oauth2 required
26496
+ // oauth required
26497
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
26498
+ case 1:
26499
+ // authentication oauth2 required
26500
+ // oauth required
26501
+ _a.sent();
26502
+ if (searchTerm !== undefined) {
26503
+ localVarQueryParameter['SearchTerm'] = searchTerm;
26504
+ }
26505
+ if (countOnly !== undefined) {
26506
+ localVarQueryParameter['CountOnly'] = countOnly;
26507
+ }
26508
+ if (countryId !== undefined) {
26509
+ localVarQueryParameter['CountryId'] = countryId;
26510
+ }
26511
+ if (hospitalId !== undefined) {
26512
+ localVarQueryParameter['HospitalId'] = hospitalId;
26513
+ }
26514
+ if (marketingType !== undefined) {
26515
+ localVarQueryParameter['MarketingType'] = marketingType;
26516
+ }
26517
+ if (languageCode !== undefined) {
26518
+ localVarQueryParameter['LanguageCode'] = languageCode;
26519
+ }
26520
+ if (page !== undefined) {
26521
+ localVarQueryParameter['page'] = page;
26522
+ }
26523
+ if (limit !== undefined) {
26524
+ localVarQueryParameter['limit'] = limit;
26525
+ }
26526
+ if (lastRetrieved !== undefined) {
26527
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
26528
+ lastRetrieved.toISOString() :
26529
+ lastRetrieved;
26530
+ }
26531
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
26532
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26533
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26534
+ return [2 /*return*/, {
26535
+ url: common_1.toPathString(localVarUrlObj),
26536
+ options: localVarRequestOptions,
26537
+ }];
26538
+ }
26539
+ });
26540
+ });
26541
+ },
26542
+ /**
26543
+ *
26544
+ * @summary Search hospitals using Azure Search Services
26545
+ * @param {string} [searchTerm]
26546
+ * @param {boolean} [countOnly]
26547
+ * @param {string} [countryId]
26548
+ * @param {string} [hospitalId]
26549
+ * @param {MarketingType} [marketingType]
26550
+ * @param {string} [languageCode]
26551
+ * @param {number} [page]
26552
+ * @param {number} [limit]
26553
+ * @param {Date} [lastRetrieved]
26554
+ * @param {*} [options] Override http request option.
26555
+ * @throws {RequiredError}
26556
+ */
26557
+ apiV1SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
26558
+ if (options === void 0) { options = {}; }
26559
+ return __awaiter(_this, void 0, void 0, function () {
26560
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26561
+ return __generator(this, function (_a) {
26562
+ switch (_a.label) {
26563
+ case 0:
26564
+ localVarPath = "/api/v1/search/hospitals";
26565
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26566
+ if (configuration) {
26567
+ baseOptions = configuration.baseOptions;
26568
+ }
26569
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26570
+ localVarHeaderParameter = {};
26571
+ localVarQueryParameter = {};
26572
+ // authentication oauth2 required
26573
+ // oauth required
26574
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
26575
+ case 1:
26576
+ // authentication oauth2 required
26577
+ // oauth required
26578
+ _a.sent();
26579
+ if (searchTerm !== undefined) {
26580
+ localVarQueryParameter['SearchTerm'] = searchTerm;
26581
+ }
26582
+ if (countOnly !== undefined) {
26583
+ localVarQueryParameter['CountOnly'] = countOnly;
26584
+ }
26585
+ if (countryId !== undefined) {
26586
+ localVarQueryParameter['CountryId'] = countryId;
26587
+ }
26588
+ if (hospitalId !== undefined) {
26589
+ localVarQueryParameter['HospitalId'] = hospitalId;
26590
+ }
26591
+ if (marketingType !== undefined) {
26592
+ localVarQueryParameter['MarketingType'] = marketingType;
26593
+ }
26594
+ if (languageCode !== undefined) {
26595
+ localVarQueryParameter['LanguageCode'] = languageCode;
26596
+ }
26597
+ if (page !== undefined) {
26598
+ localVarQueryParameter['page'] = page;
26599
+ }
26600
+ if (limit !== undefined) {
26601
+ localVarQueryParameter['limit'] = limit;
26602
+ }
26603
+ if (lastRetrieved !== undefined) {
26604
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
26605
+ lastRetrieved.toISOString() :
26606
+ lastRetrieved;
26607
+ }
26608
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
26609
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26610
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26611
+ return [2 /*return*/, {
26612
+ url: common_1.toPathString(localVarUrlObj),
26613
+ options: localVarRequestOptions,
26614
+ }];
26615
+ }
26616
+ });
26617
+ });
26618
+ },
26619
+ /**
26620
+ *
26621
+ * @summary Update or Re-create hospitals Azure Search Services Index
26622
+ * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
26623
+ * @param {*} [options] Override http request option.
26624
+ * @throws {RequiredError}
26625
+ */
26626
+ apiV1SearchHospitalsPost: function (updateHospitalsSearchIndexCommand, options) {
26627
+ if (options === void 0) { options = {}; }
26628
+ return __awaiter(_this, void 0, void 0, function () {
26629
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26630
+ return __generator(this, function (_a) {
26631
+ switch (_a.label) {
26632
+ case 0:
26633
+ localVarPath = "/api/v1/search/hospitals";
26634
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26635
+ if (configuration) {
26636
+ baseOptions = configuration.baseOptions;
26637
+ }
26638
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
26639
+ localVarHeaderParameter = {};
26640
+ localVarQueryParameter = {};
26641
+ // authentication oauth2 required
26642
+ // oauth required
26643
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
26644
+ case 1:
26645
+ // authentication oauth2 required
26646
+ // oauth required
26647
+ _a.sent();
26648
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26649
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
26650
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26651
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26652
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalsSearchIndexCommand, localVarRequestOptions, configuration);
26653
+ return [2 /*return*/, {
26654
+ url: common_1.toPathString(localVarUrlObj),
26655
+ options: localVarRequestOptions,
26656
+ }];
26657
+ }
26658
+ });
26659
+ });
26660
+ },
26661
+ /**
26662
+ *
26663
+ * @summary Search specialties using Azure Search Service
26664
+ * @param {string} [searchTerm]
26665
+ * @param {boolean} [countOnly]
26666
+ * @param {string} [countryId]
26667
+ * @param {string} [hospitalId]
26668
+ * @param {MarketingType} [marketingType]
26669
+ * @param {string} [languageCode]
26670
+ * @param {number} [page]
26671
+ * @param {number} [limit]
26672
+ * @param {Date} [lastRetrieved]
26673
+ * @param {*} [options] Override http request option.
26674
+ * @throws {RequiredError}
26675
+ */
26676
+ apiV1SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
26677
+ if (options === void 0) { options = {}; }
26678
+ return __awaiter(_this, void 0, void 0, function () {
26679
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26680
+ return __generator(this, function (_a) {
26681
+ switch (_a.label) {
26682
+ case 0:
26683
+ localVarPath = "/api/v1/search/specialties";
26684
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26685
+ if (configuration) {
26686
+ baseOptions = configuration.baseOptions;
26687
+ }
26688
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26689
+ localVarHeaderParameter = {};
26690
+ localVarQueryParameter = {};
26691
+ // authentication oauth2 required
26692
+ // oauth required
26693
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
26694
+ case 1:
26695
+ // authentication oauth2 required
26696
+ // oauth required
26697
+ _a.sent();
26698
+ if (searchTerm !== undefined) {
26699
+ localVarQueryParameter['SearchTerm'] = searchTerm;
26700
+ }
26701
+ if (countOnly !== undefined) {
26702
+ localVarQueryParameter['CountOnly'] = countOnly;
26703
+ }
26704
+ if (countryId !== undefined) {
26705
+ localVarQueryParameter['CountryId'] = countryId;
26706
+ }
26707
+ if (hospitalId !== undefined) {
26708
+ localVarQueryParameter['HospitalId'] = hospitalId;
26709
+ }
26710
+ if (marketingType !== undefined) {
26711
+ localVarQueryParameter['MarketingType'] = marketingType;
26712
+ }
26713
+ if (languageCode !== undefined) {
26714
+ localVarQueryParameter['LanguageCode'] = languageCode;
26715
+ }
26716
+ if (page !== undefined) {
26717
+ localVarQueryParameter['page'] = page;
26718
+ }
26719
+ if (limit !== undefined) {
26720
+ localVarQueryParameter['limit'] = limit;
26721
+ }
26722
+ if (lastRetrieved !== undefined) {
26723
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
26724
+ lastRetrieved.toISOString() :
26725
+ lastRetrieved;
26726
+ }
26727
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
26728
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26729
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26730
+ return [2 /*return*/, {
26731
+ url: common_1.toPathString(localVarUrlObj),
26732
+ options: localVarRequestOptions,
26733
+ }];
26734
+ }
26735
+ });
26736
+ });
26737
+ },
26738
+ /**
26739
+ *
26740
+ * @summary Update or Re-create specialties Azure Search Services Index
26741
+ * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
26742
+ * @param {*} [options] Override http request option.
26743
+ * @throws {RequiredError}
26744
+ */
26745
+ apiV1SearchSpecialtiesPost: function (updateSpecialtiesSearchIndexCommand, options) {
26746
+ if (options === void 0) { options = {}; }
26747
+ return __awaiter(_this, void 0, void 0, function () {
26748
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26749
+ return __generator(this, function (_a) {
26750
+ switch (_a.label) {
26751
+ case 0:
26752
+ localVarPath = "/api/v1/search/specialties";
26753
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26754
+ if (configuration) {
26755
+ baseOptions = configuration.baseOptions;
26756
+ }
26757
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
26758
+ localVarHeaderParameter = {};
26759
+ localVarQueryParameter = {};
26760
+ // authentication oauth2 required
26761
+ // oauth required
26762
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
26763
+ case 1:
26764
+ // authentication oauth2 required
26765
+ // oauth required
26766
+ _a.sent();
26767
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26768
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
26769
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26770
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26771
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration);
26772
+ return [2 /*return*/, {
26773
+ url: common_1.toPathString(localVarUrlObj),
26774
+ options: localVarRequestOptions,
26775
+ }];
26776
+ }
26777
+ });
26778
+ });
26779
+ },
26780
+ /**
26781
+ *
26782
+ * @summary Search specialtyTypes using Azure Search Services
26783
+ * @param {string} [searchTerm]
26784
+ * @param {boolean} [countOnly]
26785
+ * @param {string} [countryId]
26786
+ * @param {string} [hospitalId]
26787
+ * @param {MarketingType} [marketingType]
26788
+ * @param {string} [languageCode]
26789
+ * @param {number} [page]
26790
+ * @param {number} [limit]
26791
+ * @param {Date} [lastRetrieved]
26792
+ * @param {*} [options] Override http request option.
26793
+ * @throws {RequiredError}
26794
+ */
26795
+ apiV1SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
26796
+ if (options === void 0) { options = {}; }
26797
+ return __awaiter(_this, void 0, void 0, function () {
26798
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26799
+ return __generator(this, function (_a) {
26800
+ switch (_a.label) {
26801
+ case 0:
26802
+ localVarPath = "/api/v1/search/specialtytypes";
26803
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26804
+ if (configuration) {
26805
+ baseOptions = configuration.baseOptions;
26806
+ }
26807
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
26808
+ localVarHeaderParameter = {};
26809
+ localVarQueryParameter = {};
26810
+ // authentication oauth2 required
26811
+ // oauth required
26812
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
26813
+ case 1:
26814
+ // authentication oauth2 required
26815
+ // oauth required
26816
+ _a.sent();
26817
+ if (searchTerm !== undefined) {
26818
+ localVarQueryParameter['SearchTerm'] = searchTerm;
26819
+ }
26820
+ if (countOnly !== undefined) {
26821
+ localVarQueryParameter['CountOnly'] = countOnly;
26822
+ }
26823
+ if (countryId !== undefined) {
26824
+ localVarQueryParameter['CountryId'] = countryId;
26825
+ }
26826
+ if (hospitalId !== undefined) {
26827
+ localVarQueryParameter['HospitalId'] = hospitalId;
26828
+ }
26829
+ if (marketingType !== undefined) {
26830
+ localVarQueryParameter['MarketingType'] = marketingType;
26831
+ }
26832
+ if (languageCode !== undefined) {
26833
+ localVarQueryParameter['LanguageCode'] = languageCode;
26834
+ }
26835
+ if (page !== undefined) {
26836
+ localVarQueryParameter['page'] = page;
26837
+ }
26838
+ if (limit !== undefined) {
26839
+ localVarQueryParameter['limit'] = limit;
26840
+ }
26841
+ if (lastRetrieved !== undefined) {
26842
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
26843
+ lastRetrieved.toISOString() :
26844
+ lastRetrieved;
26845
+ }
26846
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
26847
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26848
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26849
+ return [2 /*return*/, {
26850
+ url: common_1.toPathString(localVarUrlObj),
26851
+ options: localVarRequestOptions,
26852
+ }];
26853
+ }
26854
+ });
26855
+ });
26856
+ },
26857
+ /**
26858
+ *
26859
+ * @summary Update or Re-create specialtyTypes Azure Search Services Index
26860
+ * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
26861
+ * @param {*} [options] Override http request option.
26862
+ * @throws {RequiredError}
26863
+ */
26864
+ apiV1SearchSpecialtytypesPost: function (updateSpecialtyTypesSearchIndexCommand, options) {
26865
+ if (options === void 0) { options = {}; }
26866
+ return __awaiter(_this, void 0, void 0, function () {
26867
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
26868
+ return __generator(this, function (_a) {
26869
+ switch (_a.label) {
26870
+ case 0:
26871
+ localVarPath = "/api/v1/search/specialtytypes";
26872
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26873
+ if (configuration) {
26874
+ baseOptions = configuration.baseOptions;
26875
+ }
26876
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
26877
+ localVarHeaderParameter = {};
26878
+ localVarQueryParameter = {};
26879
+ // authentication oauth2 required
26880
+ // oauth required
26881
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
26882
+ case 1:
26883
+ // authentication oauth2 required
26884
+ // oauth required
26885
+ _a.sent();
26886
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26887
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
26888
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26889
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26890
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateSpecialtyTypesSearchIndexCommand, localVarRequestOptions, configuration);
26891
+ return [2 /*return*/, {
26892
+ url: common_1.toPathString(localVarUrlObj),
26893
+ options: localVarRequestOptions,
26894
+ }];
26895
+ }
26896
+ });
26897
+ });
26898
+ },
26899
+ };
26900
+ };
26901
+ /**
26902
+ * SearchApi - functional programming interface
26903
+ * @export
26904
+ */
26905
+ exports.SearchApiFp = function (configuration) {
26906
+ var localVarAxiosParamCreator = exports.SearchApiAxiosParamCreator(configuration);
26907
+ return {
26908
+ /**
26909
+ *
26910
+ * @summary Search deals using Azure Search Service
26911
+ * @param {string} [searchTerm]
26912
+ * @param {boolean} [countOnly]
26913
+ * @param {string} [countryId]
26914
+ * @param {string} [hospitalId]
26915
+ * @param {MarketingType} [marketingType]
26916
+ * @param {string} [languageCode]
26917
+ * @param {number} [page]
26918
+ * @param {number} [limit]
26919
+ * @param {Date} [lastRetrieved]
26920
+ * @param {*} [options] Override http request option.
26921
+ * @throws {RequiredError}
26922
+ */
26923
+ apiV1SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
26924
+ return __awaiter(this, void 0, void 0, function () {
26925
+ var localVarAxiosArgs;
26926
+ return __generator(this, function (_a) {
26927
+ switch (_a.label) {
26928
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
26929
+ case 1:
26930
+ localVarAxiosArgs = _a.sent();
26931
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
26932
+ }
26933
+ });
26934
+ });
26935
+ },
26936
+ /**
26937
+ *
26938
+ * @summary Update or Re-create deals Azure Search Services Index
26939
+ * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
26940
+ * @param {*} [options] Override http request option.
26941
+ * @throws {RequiredError}
26942
+ */
26943
+ apiV1SearchDealsPost: function (updateDealsSearchIndexCommand, options) {
26944
+ return __awaiter(this, void 0, void 0, function () {
26945
+ var localVarAxiosArgs;
26946
+ return __generator(this, function (_a) {
26947
+ switch (_a.label) {
26948
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options)];
26949
+ case 1:
26950
+ localVarAxiosArgs = _a.sent();
26951
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
26952
+ }
26953
+ });
26954
+ });
26955
+ },
26956
+ /**
26957
+ *
26958
+ * @summary Search doctors using Azure Search Services
26959
+ * @param {string} [searchTerm]
26960
+ * @param {boolean} [countOnly]
26961
+ * @param {string} [countryId]
26962
+ * @param {string} [hospitalId]
26963
+ * @param {MarketingType} [marketingType]
26964
+ * @param {string} [languageCode]
26965
+ * @param {number} [page]
26966
+ * @param {number} [limit]
26967
+ * @param {Date} [lastRetrieved]
26968
+ * @param {*} [options] Override http request option.
26969
+ * @throws {RequiredError}
26970
+ */
26971
+ apiV1SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
26972
+ return __awaiter(this, void 0, void 0, function () {
26973
+ var localVarAxiosArgs;
26974
+ return __generator(this, function (_a) {
26975
+ switch (_a.label) {
26976
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
26977
+ case 1:
26978
+ localVarAxiosArgs = _a.sent();
26979
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
26980
+ }
26981
+ });
26982
+ });
26983
+ },
26984
+ /**
26985
+ *
26986
+ * @summary Update or Re-create doctors Azure Search Services Index
26987
+ * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
26988
+ * @param {*} [options] Override http request option.
26989
+ * @throws {RequiredError}
26990
+ */
26991
+ apiV1SearchDoctorsPost: function (updateDoctorsSearchIndexCommand, options) {
26992
+ return __awaiter(this, void 0, void 0, function () {
26993
+ var localVarAxiosArgs;
26994
+ return __generator(this, function (_a) {
26995
+ switch (_a.label) {
26996
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options)];
26997
+ case 1:
26998
+ localVarAxiosArgs = _a.sent();
26999
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
27000
+ }
27001
+ });
27002
+ });
27003
+ },
27004
+ /**
27005
+ *
27006
+ * @summary Get the number of items in each search index
27007
+ * @param {string} [searchTerm]
27008
+ * @param {boolean} [countOnly]
27009
+ * @param {string} [countryId]
27010
+ * @param {string} [hospitalId]
27011
+ * @param {MarketingType} [marketingType]
27012
+ * @param {string} [languageCode]
27013
+ * @param {number} [page]
27014
+ * @param {number} [limit]
27015
+ * @param {Date} [lastRetrieved]
27016
+ * @param {*} [options] Override http request option.
27017
+ * @throws {RequiredError}
27018
+ */
27019
+ apiV1SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
27020
+ return __awaiter(this, void 0, void 0, function () {
27021
+ var localVarAxiosArgs;
27022
+ return __generator(this, function (_a) {
27023
+ switch (_a.label) {
27024
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
27025
+ case 1:
27026
+ localVarAxiosArgs = _a.sent();
27027
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
27028
+ }
27029
+ });
27030
+ });
27031
+ },
27032
+ /**
27033
+ *
27034
+ * @summary Search hospitals using Azure Search Services
27035
+ * @param {string} [searchTerm]
27036
+ * @param {boolean} [countOnly]
27037
+ * @param {string} [countryId]
27038
+ * @param {string} [hospitalId]
27039
+ * @param {MarketingType} [marketingType]
27040
+ * @param {string} [languageCode]
27041
+ * @param {number} [page]
27042
+ * @param {number} [limit]
27043
+ * @param {Date} [lastRetrieved]
27044
+ * @param {*} [options] Override http request option.
27045
+ * @throws {RequiredError}
27046
+ */
27047
+ apiV1SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
27048
+ return __awaiter(this, void 0, void 0, function () {
27049
+ var localVarAxiosArgs;
27050
+ return __generator(this, function (_a) {
27051
+ switch (_a.label) {
27052
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
27053
+ case 1:
27054
+ localVarAxiosArgs = _a.sent();
27055
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
27056
+ }
27057
+ });
27058
+ });
27059
+ },
27060
+ /**
27061
+ *
27062
+ * @summary Update or Re-create hospitals Azure Search Services Index
27063
+ * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
27064
+ * @param {*} [options] Override http request option.
27065
+ * @throws {RequiredError}
27066
+ */
27067
+ apiV1SearchHospitalsPost: function (updateHospitalsSearchIndexCommand, options) {
27068
+ return __awaiter(this, void 0, void 0, function () {
27069
+ var localVarAxiosArgs;
27070
+ return __generator(this, function (_a) {
27071
+ switch (_a.label) {
27072
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options)];
27073
+ case 1:
27074
+ localVarAxiosArgs = _a.sent();
27075
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
27076
+ }
27077
+ });
27078
+ });
27079
+ },
27080
+ /**
27081
+ *
27082
+ * @summary Search specialties using Azure Search Service
27083
+ * @param {string} [searchTerm]
27084
+ * @param {boolean} [countOnly]
27085
+ * @param {string} [countryId]
27086
+ * @param {string} [hospitalId]
27087
+ * @param {MarketingType} [marketingType]
27088
+ * @param {string} [languageCode]
27089
+ * @param {number} [page]
27090
+ * @param {number} [limit]
27091
+ * @param {Date} [lastRetrieved]
27092
+ * @param {*} [options] Override http request option.
27093
+ * @throws {RequiredError}
27094
+ */
27095
+ apiV1SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
27096
+ return __awaiter(this, void 0, void 0, function () {
27097
+ var localVarAxiosArgs;
27098
+ return __generator(this, function (_a) {
27099
+ switch (_a.label) {
27100
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
27101
+ case 1:
27102
+ localVarAxiosArgs = _a.sent();
27103
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
27104
+ }
27105
+ });
27106
+ });
27107
+ },
27108
+ /**
27109
+ *
27110
+ * @summary Update or Re-create specialties Azure Search Services Index
27111
+ * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
27112
+ * @param {*} [options] Override http request option.
27113
+ * @throws {RequiredError}
27114
+ */
27115
+ apiV1SearchSpecialtiesPost: function (updateSpecialtiesSearchIndexCommand, options) {
27116
+ return __awaiter(this, void 0, void 0, function () {
27117
+ var localVarAxiosArgs;
27118
+ return __generator(this, function (_a) {
27119
+ switch (_a.label) {
27120
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options)];
27121
+ case 1:
27122
+ localVarAxiosArgs = _a.sent();
27123
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
27124
+ }
27125
+ });
27126
+ });
27127
+ },
27128
+ /**
27129
+ *
27130
+ * @summary Search specialtyTypes using Azure Search Services
27131
+ * @param {string} [searchTerm]
27132
+ * @param {boolean} [countOnly]
27133
+ * @param {string} [countryId]
27134
+ * @param {string} [hospitalId]
27135
+ * @param {MarketingType} [marketingType]
27136
+ * @param {string} [languageCode]
27137
+ * @param {number} [page]
27138
+ * @param {number} [limit]
27139
+ * @param {Date} [lastRetrieved]
27140
+ * @param {*} [options] Override http request option.
27141
+ * @throws {RequiredError}
27142
+ */
27143
+ apiV1SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
27144
+ return __awaiter(this, void 0, void 0, function () {
27145
+ var localVarAxiosArgs;
27146
+ return __generator(this, function (_a) {
27147
+ switch (_a.label) {
27148
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
27149
+ case 1:
27150
+ localVarAxiosArgs = _a.sent();
27151
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
27152
+ }
27153
+ });
27154
+ });
27155
+ },
27156
+ /**
27157
+ *
27158
+ * @summary Update or Re-create specialtyTypes Azure Search Services Index
27159
+ * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
27160
+ * @param {*} [options] Override http request option.
27161
+ * @throws {RequiredError}
27162
+ */
27163
+ apiV1SearchSpecialtytypesPost: function (updateSpecialtyTypesSearchIndexCommand, options) {
27164
+ return __awaiter(this, void 0, void 0, function () {
27165
+ var localVarAxiosArgs;
27166
+ return __generator(this, function (_a) {
27167
+ switch (_a.label) {
27168
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options)];
27169
+ case 1:
27170
+ localVarAxiosArgs = _a.sent();
27171
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
27172
+ }
27173
+ });
27174
+ });
27175
+ },
27176
+ };
27177
+ };
27178
+ /**
27179
+ * SearchApi - factory interface
27180
+ * @export
27181
+ */
27182
+ exports.SearchApiFactory = function (configuration, basePath, axios) {
27183
+ var localVarFp = exports.SearchApiFp(configuration);
27184
+ return {
27185
+ /**
27186
+ *
27187
+ * @summary Search deals using Azure Search Service
27188
+ * @param {string} [searchTerm]
27189
+ * @param {boolean} [countOnly]
27190
+ * @param {string} [countryId]
27191
+ * @param {string} [hospitalId]
27192
+ * @param {MarketingType} [marketingType]
27193
+ * @param {string} [languageCode]
27194
+ * @param {number} [page]
27195
+ * @param {number} [limit]
27196
+ * @param {Date} [lastRetrieved]
27197
+ * @param {*} [options] Override http request option.
27198
+ * @throws {RequiredError}
27199
+ */
27200
+ apiV1SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
27201
+ return localVarFp.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
27202
+ },
27203
+ /**
27204
+ *
27205
+ * @summary Update or Re-create deals Azure Search Services Index
27206
+ * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
27207
+ * @param {*} [options] Override http request option.
27208
+ * @throws {RequiredError}
27209
+ */
27210
+ apiV1SearchDealsPost: function (updateDealsSearchIndexCommand, options) {
27211
+ return localVarFp.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
27212
+ },
27213
+ /**
27214
+ *
27215
+ * @summary Search doctors using Azure Search Services
27216
+ * @param {string} [searchTerm]
27217
+ * @param {boolean} [countOnly]
27218
+ * @param {string} [countryId]
27219
+ * @param {string} [hospitalId]
27220
+ * @param {MarketingType} [marketingType]
27221
+ * @param {string} [languageCode]
27222
+ * @param {number} [page]
27223
+ * @param {number} [limit]
27224
+ * @param {Date} [lastRetrieved]
27225
+ * @param {*} [options] Override http request option.
27226
+ * @throws {RequiredError}
27227
+ */
27228
+ apiV1SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
27229
+ return localVarFp.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
27230
+ },
27231
+ /**
27232
+ *
27233
+ * @summary Update or Re-create doctors Azure Search Services Index
27234
+ * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
27235
+ * @param {*} [options] Override http request option.
27236
+ * @throws {RequiredError}
27237
+ */
27238
+ apiV1SearchDoctorsPost: function (updateDoctorsSearchIndexCommand, options) {
27239
+ return localVarFp.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
27240
+ },
27241
+ /**
27242
+ *
27243
+ * @summary Get the number of items in each search index
27244
+ * @param {string} [searchTerm]
27245
+ * @param {boolean} [countOnly]
27246
+ * @param {string} [countryId]
27247
+ * @param {string} [hospitalId]
27248
+ * @param {MarketingType} [marketingType]
27249
+ * @param {string} [languageCode]
27250
+ * @param {number} [page]
27251
+ * @param {number} [limit]
27252
+ * @param {Date} [lastRetrieved]
27253
+ * @param {*} [options] Override http request option.
27254
+ * @throws {RequiredError}
27255
+ */
27256
+ apiV1SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
27257
+ return localVarFp.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
27258
+ },
27259
+ /**
27260
+ *
27261
+ * @summary Search hospitals using Azure Search Services
27262
+ * @param {string} [searchTerm]
27263
+ * @param {boolean} [countOnly]
27264
+ * @param {string} [countryId]
27265
+ * @param {string} [hospitalId]
27266
+ * @param {MarketingType} [marketingType]
27267
+ * @param {string} [languageCode]
27268
+ * @param {number} [page]
27269
+ * @param {number} [limit]
27270
+ * @param {Date} [lastRetrieved]
27271
+ * @param {*} [options] Override http request option.
27272
+ * @throws {RequiredError}
27273
+ */
27274
+ apiV1SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
27275
+ return localVarFp.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
27276
+ },
27277
+ /**
27278
+ *
27279
+ * @summary Update or Re-create hospitals Azure Search Services Index
27280
+ * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
27281
+ * @param {*} [options] Override http request option.
27282
+ * @throws {RequiredError}
27283
+ */
27284
+ apiV1SearchHospitalsPost: function (updateHospitalsSearchIndexCommand, options) {
27285
+ return localVarFp.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
27286
+ },
27287
+ /**
27288
+ *
27289
+ * @summary Search specialties using Azure Search Service
27290
+ * @param {string} [searchTerm]
27291
+ * @param {boolean} [countOnly]
27292
+ * @param {string} [countryId]
27293
+ * @param {string} [hospitalId]
27294
+ * @param {MarketingType} [marketingType]
27295
+ * @param {string} [languageCode]
27296
+ * @param {number} [page]
27297
+ * @param {number} [limit]
27298
+ * @param {Date} [lastRetrieved]
27299
+ * @param {*} [options] Override http request option.
27300
+ * @throws {RequiredError}
27301
+ */
27302
+ apiV1SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
27303
+ return localVarFp.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
27304
+ },
27305
+ /**
27306
+ *
27307
+ * @summary Update or Re-create specialties Azure Search Services Index
27308
+ * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
27309
+ * @param {*} [options] Override http request option.
27310
+ * @throws {RequiredError}
27311
+ */
27312
+ apiV1SearchSpecialtiesPost: function (updateSpecialtiesSearchIndexCommand, options) {
27313
+ return localVarFp.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
27314
+ },
27315
+ /**
27316
+ *
27317
+ * @summary Search specialtyTypes using Azure Search Services
27318
+ * @param {string} [searchTerm]
27319
+ * @param {boolean} [countOnly]
27320
+ * @param {string} [countryId]
27321
+ * @param {string} [hospitalId]
27322
+ * @param {MarketingType} [marketingType]
27323
+ * @param {string} [languageCode]
27324
+ * @param {number} [page]
27325
+ * @param {number} [limit]
27326
+ * @param {Date} [lastRetrieved]
27327
+ * @param {*} [options] Override http request option.
27328
+ * @throws {RequiredError}
27329
+ */
27330
+ apiV1SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
27331
+ return localVarFp.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
27332
+ },
27333
+ /**
27334
+ *
27335
+ * @summary Update or Re-create specialtyTypes Azure Search Services Index
27336
+ * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
27337
+ * @param {*} [options] Override http request option.
27338
+ * @throws {RequiredError}
27339
+ */
27340
+ apiV1SearchSpecialtytypesPost: function (updateSpecialtyTypesSearchIndexCommand, options) {
27341
+ return localVarFp.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
27342
+ },
27343
+ };
27344
+ };
27345
+ /**
27346
+ * SearchApi - object-oriented interface
27347
+ * @export
27348
+ * @class SearchApi
27349
+ * @extends {BaseAPI}
27350
+ */
27351
+ var SearchApi = /** @class */ (function (_super) {
27352
+ __extends(SearchApi, _super);
27353
+ function SearchApi() {
27354
+ return _super !== null && _super.apply(this, arguments) || this;
27355
+ }
27356
+ /**
27357
+ *
27358
+ * @summary Search deals using Azure Search Service
27359
+ * @param {string} [searchTerm]
27360
+ * @param {boolean} [countOnly]
27361
+ * @param {string} [countryId]
27362
+ * @param {string} [hospitalId]
27363
+ * @param {MarketingType} [marketingType]
27364
+ * @param {string} [languageCode]
27365
+ * @param {number} [page]
27366
+ * @param {number} [limit]
27367
+ * @param {Date} [lastRetrieved]
27368
+ * @param {*} [options] Override http request option.
27369
+ * @throws {RequiredError}
27370
+ * @memberof SearchApi
27371
+ */
27372
+ SearchApi.prototype.apiV1SearchDealsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
27373
+ var _this = this;
27374
+ 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); });
27375
+ };
27376
+ /**
27377
+ *
27378
+ * @summary Update or Re-create deals Azure Search Services Index
27379
+ * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
27380
+ * @param {*} [options] Override http request option.
27381
+ * @throws {RequiredError}
27382
+ * @memberof SearchApi
27383
+ */
27384
+ SearchApi.prototype.apiV1SearchDealsPost = function (updateDealsSearchIndexCommand, options) {
27385
+ var _this = this;
27386
+ return exports.SearchApiFp(this.configuration).apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
27387
+ };
27388
+ /**
27389
+ *
27390
+ * @summary Search doctors using Azure Search Services
27391
+ * @param {string} [searchTerm]
27392
+ * @param {boolean} [countOnly]
27393
+ * @param {string} [countryId]
27394
+ * @param {string} [hospitalId]
27395
+ * @param {MarketingType} [marketingType]
27396
+ * @param {string} [languageCode]
27397
+ * @param {number} [page]
27398
+ * @param {number} [limit]
27399
+ * @param {Date} [lastRetrieved]
27400
+ * @param {*} [options] Override http request option.
27401
+ * @throws {RequiredError}
27402
+ * @memberof SearchApi
27403
+ */
27404
+ SearchApi.prototype.apiV1SearchDoctorsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
27405
+ var _this = this;
27406
+ 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); });
27407
+ };
27408
+ /**
27409
+ *
27410
+ * @summary Update or Re-create doctors Azure Search Services Index
27411
+ * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
27412
+ * @param {*} [options] Override http request option.
27413
+ * @throws {RequiredError}
27414
+ * @memberof SearchApi
27415
+ */
27416
+ SearchApi.prototype.apiV1SearchDoctorsPost = function (updateDoctorsSearchIndexCommand, options) {
27417
+ var _this = this;
27418
+ return exports.SearchApiFp(this.configuration).apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
27419
+ };
27420
+ /**
27421
+ *
27422
+ * @summary Get the number of items in each search index
27423
+ * @param {string} [searchTerm]
27424
+ * @param {boolean} [countOnly]
27425
+ * @param {string} [countryId]
27426
+ * @param {string} [hospitalId]
27427
+ * @param {MarketingType} [marketingType]
27428
+ * @param {string} [languageCode]
27429
+ * @param {number} [page]
27430
+ * @param {number} [limit]
27431
+ * @param {Date} [lastRetrieved]
27432
+ * @param {*} [options] Override http request option.
27433
+ * @throws {RequiredError}
27434
+ * @memberof SearchApi
27435
+ */
27436
+ SearchApi.prototype.apiV1SearchGetcountGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
27437
+ var _this = this;
27438
+ 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); });
27439
+ };
27440
+ /**
27441
+ *
27442
+ * @summary Search hospitals using Azure Search Services
27443
+ * @param {string} [searchTerm]
27444
+ * @param {boolean} [countOnly]
27445
+ * @param {string} [countryId]
27446
+ * @param {string} [hospitalId]
27447
+ * @param {MarketingType} [marketingType]
27448
+ * @param {string} [languageCode]
27449
+ * @param {number} [page]
27450
+ * @param {number} [limit]
27451
+ * @param {Date} [lastRetrieved]
27452
+ * @param {*} [options] Override http request option.
27453
+ * @throws {RequiredError}
27454
+ * @memberof SearchApi
27455
+ */
27456
+ SearchApi.prototype.apiV1SearchHospitalsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
27457
+ var _this = this;
27458
+ 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); });
27459
+ };
27460
+ /**
27461
+ *
27462
+ * @summary Update or Re-create hospitals Azure Search Services Index
27463
+ * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
27464
+ * @param {*} [options] Override http request option.
27465
+ * @throws {RequiredError}
27466
+ * @memberof SearchApi
27467
+ */
27468
+ SearchApi.prototype.apiV1SearchHospitalsPost = function (updateHospitalsSearchIndexCommand, options) {
27469
+ var _this = this;
27470
+ return exports.SearchApiFp(this.configuration).apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
27471
+ };
27472
+ /**
27473
+ *
27474
+ * @summary Search specialties using Azure Search Service
27475
+ * @param {string} [searchTerm]
27476
+ * @param {boolean} [countOnly]
27477
+ * @param {string} [countryId]
27478
+ * @param {string} [hospitalId]
27479
+ * @param {MarketingType} [marketingType]
27480
+ * @param {string} [languageCode]
27481
+ * @param {number} [page]
27482
+ * @param {number} [limit]
27483
+ * @param {Date} [lastRetrieved]
27484
+ * @param {*} [options] Override http request option.
27485
+ * @throws {RequiredError}
27486
+ * @memberof SearchApi
27487
+ */
27488
+ SearchApi.prototype.apiV1SearchSpecialtiesGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
27489
+ var _this = this;
27490
+ 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); });
27491
+ };
27492
+ /**
27493
+ *
27494
+ * @summary Update or Re-create specialties Azure Search Services Index
27495
+ * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
27496
+ * @param {*} [options] Override http request option.
27497
+ * @throws {RequiredError}
27498
+ * @memberof SearchApi
27499
+ */
27500
+ SearchApi.prototype.apiV1SearchSpecialtiesPost = function (updateSpecialtiesSearchIndexCommand, options) {
27501
+ var _this = this;
27502
+ return exports.SearchApiFp(this.configuration).apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
27503
+ };
27504
+ /**
27505
+ *
27506
+ * @summary Search specialtyTypes using Azure Search Services
27507
+ * @param {string} [searchTerm]
27508
+ * @param {boolean} [countOnly]
27509
+ * @param {string} [countryId]
27510
+ * @param {string} [hospitalId]
27511
+ * @param {MarketingType} [marketingType]
27512
+ * @param {string} [languageCode]
27513
+ * @param {number} [page]
27514
+ * @param {number} [limit]
27515
+ * @param {Date} [lastRetrieved]
27516
+ * @param {*} [options] Override http request option.
27517
+ * @throws {RequiredError}
27518
+ * @memberof SearchApi
27519
+ */
27520
+ SearchApi.prototype.apiV1SearchSpecialtytypesGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
27521
+ var _this = this;
27522
+ 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); });
27523
+ };
27524
+ /**
27525
+ *
27526
+ * @summary Update or Re-create specialtyTypes Azure Search Services Index
27527
+ * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
27528
+ * @param {*} [options] Override http request option.
27529
+ * @throws {RequiredError}
27530
+ * @memberof SearchApi
27531
+ */
27532
+ SearchApi.prototype.apiV1SearchSpecialtytypesPost = function (updateSpecialtyTypesSearchIndexCommand, options) {
27533
+ var _this = this;
27534
+ return exports.SearchApiFp(this.configuration).apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
27535
+ };
27536
+ return SearchApi;
27537
+ }(base_1.BaseAPI));
27538
+ exports.SearchApi = SearchApi;
27539
+ /**
27540
+ * ServiceReviewsApi - axios parameter creator
27541
+ * @export
27542
+ */
27543
+ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
27544
+ var _this = this;
27545
+ return {
27546
+ /**
27547
+ *
27548
+ * @summary Get all ServiceReviews.
27549
+ * @param {string} [serviceId]
27550
+ * @param {string} [serviceName]
26017
27551
  * @param {string} [patientId]
26018
27552
  * @param {string} [patientName]
27553
+ * @param {Gender} [gender]
26019
27554
  * @param {boolean} [recommended]
26020
27555
  * @param {number} [rate]
26021
27556
  * @param {ReviewType} [reviewType]
@@ -26025,7 +27560,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
26025
27560
  * @param {*} [options] Override http request option.
26026
27561
  * @throws {RequiredError}
26027
27562
  */
26028
- apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
27563
+ apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
26029
27564
  if (options === void 0) { options = {}; }
26030
27565
  return __awaiter(_this, void 0, void 0, function () {
26031
27566
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -26059,6 +27594,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
26059
27594
  if (patientName !== undefined) {
26060
27595
  localVarQueryParameter['PatientName'] = patientName;
26061
27596
  }
27597
+ if (gender !== undefined) {
27598
+ localVarQueryParameter['Gender'] = gender;
27599
+ }
26062
27600
  if (recommended !== undefined) {
26063
27601
  localVarQueryParameter['Recommended'] = recommended;
26064
27602
  }
@@ -26534,6 +28072,7 @@ exports.ServiceReviewsApiFp = function (configuration) {
26534
28072
  * @param {string} [serviceName]
26535
28073
  * @param {string} [patientId]
26536
28074
  * @param {string} [patientName]
28075
+ * @param {Gender} [gender]
26537
28076
  * @param {boolean} [recommended]
26538
28077
  * @param {number} [rate]
26539
28078
  * @param {ReviewType} [reviewType]
@@ -26543,12 +28082,12 @@ exports.ServiceReviewsApiFp = function (configuration) {
26543
28082
  * @param {*} [options] Override http request option.
26544
28083
  * @throws {RequiredError}
26545
28084
  */
26546
- apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
28085
+ apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
26547
28086
  return __awaiter(this, void 0, void 0, function () {
26548
28087
  var localVarAxiosArgs;
26549
28088
  return __generator(this, function (_a) {
26550
28089
  switch (_a.label) {
26551
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
28090
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
26552
28091
  case 1:
26553
28092
  localVarAxiosArgs = _a.sent();
26554
28093
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -26762,6 +28301,7 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
26762
28301
  * @param {string} [serviceName]
26763
28302
  * @param {string} [patientId]
26764
28303
  * @param {string} [patientName]
28304
+ * @param {Gender} [gender]
26765
28305
  * @param {boolean} [recommended]
26766
28306
  * @param {number} [rate]
26767
28307
  * @param {ReviewType} [reviewType]
@@ -26771,8 +28311,8 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
26771
28311
  * @param {*} [options] Override http request option.
26772
28312
  * @throws {RequiredError}
26773
28313
  */
26774
- apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
26775
- return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
28314
+ apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
28315
+ return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
26776
28316
  },
26777
28317
  /**
26778
28318
  *
@@ -26894,6 +28434,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
26894
28434
  * @param {string} [serviceName]
26895
28435
  * @param {string} [patientId]
26896
28436
  * @param {string} [patientName]
28437
+ * @param {Gender} [gender]
26897
28438
  * @param {boolean} [recommended]
26898
28439
  * @param {number} [rate]
26899
28440
  * @param {ReviewType} [reviewType]
@@ -26904,9 +28445,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
26904
28445
  * @throws {RequiredError}
26905
28446
  * @memberof ServiceReviewsApi
26906
28447
  */
26907
- ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
28448
+ ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
26908
28449
  var _this = this;
26909
- return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
28450
+ return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
26910
28451
  };
26911
28452
  /**
26912
28453
  *
@@ -27487,14 +29028,13 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
27487
29028
  * @summary Get all ServiceCategories.
27488
29029
  * @param {string} [id]
27489
29030
  * @param {string} [name]
27490
- * @param {string} [description]
27491
29031
  * @param {number} [page]
27492
29032
  * @param {number} [limit]
27493
29033
  * @param {Date} [lastRetrieved]
27494
29034
  * @param {*} [options] Override http request option.
27495
29035
  * @throws {RequiredError}
27496
29036
  */
27497
- apiV1ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
29037
+ apiV1ServicescategoriesGet: function (id, name, page, limit, lastRetrieved, options) {
27498
29038
  if (options === void 0) { options = {}; }
27499
29039
  return __awaiter(_this, void 0, void 0, function () {
27500
29040
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -27522,9 +29062,6 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
27522
29062
  if (name !== undefined) {
27523
29063
  localVarQueryParameter['Name'] = name;
27524
29064
  }
27525
- if (description !== undefined) {
27526
- localVarQueryParameter['Description'] = description;
27527
- }
27528
29065
  if (page !== undefined) {
27529
29066
  localVarQueryParameter['page'] = page;
27530
29067
  }
@@ -27734,19 +29271,18 @@ exports.ServicesCategoriesApiFp = function (configuration) {
27734
29271
  * @summary Get all ServiceCategories.
27735
29272
  * @param {string} [id]
27736
29273
  * @param {string} [name]
27737
- * @param {string} [description]
27738
29274
  * @param {number} [page]
27739
29275
  * @param {number} [limit]
27740
29276
  * @param {Date} [lastRetrieved]
27741
29277
  * @param {*} [options] Override http request option.
27742
29278
  * @throws {RequiredError}
27743
29279
  */
27744
- apiV1ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
29280
+ apiV1ServicescategoriesGet: function (id, name, page, limit, lastRetrieved, options) {
27745
29281
  return __awaiter(this, void 0, void 0, function () {
27746
29282
  var localVarAxiosArgs;
27747
29283
  return __generator(this, function (_a) {
27748
29284
  switch (_a.label) {
27749
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options)];
29285
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options)];
27750
29286
  case 1:
27751
29287
  localVarAxiosArgs = _a.sent();
27752
29288
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -27848,15 +29384,14 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
27848
29384
  * @summary Get all ServiceCategories.
27849
29385
  * @param {string} [id]
27850
29386
  * @param {string} [name]
27851
- * @param {string} [description]
27852
29387
  * @param {number} [page]
27853
29388
  * @param {number} [limit]
27854
29389
  * @param {Date} [lastRetrieved]
27855
29390
  * @param {*} [options] Override http request option.
27856
29391
  * @throws {RequiredError}
27857
29392
  */
27858
- apiV1ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
27859
- return localVarFp.apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
29393
+ apiV1ServicescategoriesGet: function (id, name, page, limit, lastRetrieved, options) {
29394
+ return localVarFp.apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
27860
29395
  },
27861
29396
  /**
27862
29397
  *
@@ -27916,7 +29451,6 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
27916
29451
  * @summary Get all ServiceCategories.
27917
29452
  * @param {string} [id]
27918
29453
  * @param {string} [name]
27919
- * @param {string} [description]
27920
29454
  * @param {number} [page]
27921
29455
  * @param {number} [limit]
27922
29456
  * @param {Date} [lastRetrieved]
@@ -27924,9 +29458,9 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
27924
29458
  * @throws {RequiredError}
27925
29459
  * @memberof ServicesCategoriesApi
27926
29460
  */
27927
- ServicesCategoriesApi.prototype.apiV1ServicescategoriesGet = function (id, name, description, page, limit, lastRetrieved, options) {
29461
+ ServicesCategoriesApi.prototype.apiV1ServicescategoriesGet = function (id, name, page, limit, lastRetrieved, options) {
27928
29462
  var _this = this;
27929
- return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
29463
+ return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
27930
29464
  };
27931
29465
  /**
27932
29466
  *