ch-api-client-typescript2 2.7.8 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/api.js CHANGED
@@ -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.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.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = 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.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.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.AutocompleteMode = exports.ArticleStatus = void 0;
79
+ 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.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = 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.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.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.VendorType = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.ReviewCategory = exports.RejectReason = exports.RefundStatus = exports.RefundPolicy = exports.RecurringInterval = exports.QuestionType = exports.QuestionStatus = exports.Procedure = exports.Platform = exports.PaymentStatus = exports.PaymentMethod = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.ChargeStatus = exports.BookingStatus = exports.AutocompleteMode = 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
@@ -120,6 +120,17 @@ var BookingStatus;
120
120
  BookingStatus["RefundRequested"] = "RefundRequested";
121
121
  BookingStatus["Refunded"] = "Refunded";
122
122
  })(BookingStatus = exports.BookingStatus || (exports.BookingStatus = {}));
123
+ /**
124
+ *
125
+ * @export
126
+ * @enum {string}
127
+ */
128
+ var ChargeStatus;
129
+ (function (ChargeStatus) {
130
+ ChargeStatus["Pending"] = "Pending";
131
+ ChargeStatus["Succeeded"] = "Succeeded";
132
+ ChargeStatus["Failed"] = "Failed";
133
+ })(ChargeStatus = exports.ChargeStatus || (exports.ChargeStatus = {}));
123
134
  /**
124
135
  *
125
136
  * @export
@@ -223,6 +234,40 @@ var NotificationCode;
223
234
  NotificationCode["ConsultationRefunded"] = "ConsultationRefunded";
224
235
  NotificationCode["ConsultationReady"] = "ConsultationReady";
225
236
  })(NotificationCode = exports.NotificationCode || (exports.NotificationCode = {}));
237
+ /**
238
+ *
239
+ * @export
240
+ * @enum {string}
241
+ */
242
+ var PaymentMethod;
243
+ (function (PaymentMethod) {
244
+ PaymentMethod["Stripe"] = "Stripe";
245
+ PaymentMethod["Paypal"] = "Paypal";
246
+ PaymentMethod["BankTransfer"] = "BankTransfer";
247
+ })(PaymentMethod = exports.PaymentMethod || (exports.PaymentMethod = {}));
248
+ /**
249
+ *
250
+ * @export
251
+ * @enum {string}
252
+ */
253
+ var PaymentStatus;
254
+ (function (PaymentStatus) {
255
+ PaymentStatus["Unpaid"] = "Unpaid";
256
+ PaymentStatus["Paid"] = "Paid";
257
+ PaymentStatus["RefundRequested"] = "RefundRequested";
258
+ PaymentStatus["Refunded"] = "Refunded";
259
+ })(PaymentStatus = exports.PaymentStatus || (exports.PaymentStatus = {}));
260
+ /**
261
+ *
262
+ * @export
263
+ * @enum {string}
264
+ */
265
+ var Platform;
266
+ (function (Platform) {
267
+ Platform["Web"] = "Web";
268
+ Platform["IOs"] = "iOS";
269
+ Platform["Android"] = "Android";
270
+ })(Platform = exports.Platform || (exports.Platform = {}));
226
271
  /**
227
272
  *
228
273
  * @export
@@ -233,6 +278,31 @@ var Procedure;
233
278
  Procedure["Treatment"] = "Treatment";
234
279
  Procedure["Diagnostic"] = "Diagnostic";
235
280
  })(Procedure = exports.Procedure || (exports.Procedure = {}));
281
+ /**
282
+ *
283
+ * @export
284
+ * @enum {string}
285
+ */
286
+ var QuestionStatus;
287
+ (function (QuestionStatus) {
288
+ QuestionStatus["New"] = "New";
289
+ QuestionStatus["Answered"] = "Answered";
290
+ QuestionStatus["Replied"] = "Replied";
291
+ QuestionStatus["Archived"] = "Archived";
292
+ })(QuestionStatus = exports.QuestionStatus || (exports.QuestionStatus = {}));
293
+ /**
294
+ *
295
+ * @export
296
+ * @enum {string}
297
+ */
298
+ var QuestionType;
299
+ (function (QuestionType) {
300
+ QuestionType["General"] = "General";
301
+ QuestionType["Health"] = "Health";
302
+ QuestionType["Treatment"] = "Treatment";
303
+ QuestionType["Travel"] = "Travel";
304
+ QuestionType["Consult"] = "Consult";
305
+ })(QuestionType = exports.QuestionType || (exports.QuestionType = {}));
236
306
  /**
237
307
  *
238
308
  * @export
@@ -256,6 +326,17 @@ var RefundPolicy;
256
326
  RefundPolicy["Refundable"] = "Refundable";
257
327
  RefundPolicy["PartialRefundable"] = "PartialRefundable";
258
328
  })(RefundPolicy = exports.RefundPolicy || (exports.RefundPolicy = {}));
329
+ /**
330
+ *
331
+ * @export
332
+ * @enum {string}
333
+ */
334
+ var RefundStatus;
335
+ (function (RefundStatus) {
336
+ RefundStatus["Pending"] = "Pending";
337
+ RefundStatus["Succeeded"] = "Succeeded";
338
+ RefundStatus["Failed"] = "Failed";
339
+ })(RefundStatus = exports.RefundStatus || (exports.RefundStatus = {}));
259
340
  /**
260
341
  *
261
342
  * @export
@@ -268,6 +349,18 @@ var RejectReason;
268
349
  RejectReason["ScheduleNotAvailable"] = "ScheduleNotAvailable";
269
350
  RejectReason["OtherReason"] = "OtherReason";
270
351
  })(RejectReason = exports.RejectReason || (exports.RejectReason = {}));
352
+ /**
353
+ *
354
+ * @export
355
+ * @enum {string}
356
+ */
357
+ var ReviewCategory;
358
+ (function (ReviewCategory) {
359
+ ReviewCategory["Services"] = "Services";
360
+ ReviewCategory["Hospitality"] = "Hospitality";
361
+ ReviewCategory["Transfer"] = "Transfer";
362
+ ReviewCategory["Etc"] = "Etc";
363
+ })(ReviewCategory = exports.ReviewCategory || (exports.ReviewCategory = {}));
271
364
  /**
272
365
  *
273
366
  * @export
@@ -300,6 +393,16 @@ var UserLocationType;
300
393
  UserLocationType["LivesIn"] = "LivesIn";
301
394
  UserLocationType["BirthPlace"] = "BirthPlace";
302
395
  })(UserLocationType = exports.UserLocationType || (exports.UserLocationType = {}));
396
+ /**
397
+ *
398
+ * @export
399
+ * @enum {string}
400
+ */
401
+ var VendorType;
402
+ (function (VendorType) {
403
+ VendorType["Stripe"] = "Stripe";
404
+ VendorType["WeChat"] = "WeChat";
405
+ })(VendorType = exports.VendorType || (exports.VendorType = {}));
303
406
  /**
304
407
  * AccreditationsApi - axios parameter creator
305
408
  * @export
@@ -5796,6 +5899,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
5796
5899
  * @param {string} [hospitalName]
5797
5900
  * @param {string} [specialtyId]
5798
5901
  * @param {string} [specialtyTypeId]
5902
+ * @param {string} [serviceId]
5799
5903
  * @param {string} [exceptHospitalId]
5800
5904
  * @param {string} [exceptDealId]
5801
5905
  * @param {Array<string>} [ids]
@@ -5808,7 +5912,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
5808
5912
  * @param {*} [options] Override http request option.
5809
5913
  * @throws {RequiredError}
5810
5914
  */
5811
- apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
5915
+ apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
5812
5916
  if (options === void 0) { options = {}; }
5813
5917
  return __awaiter(_this, void 0, void 0, function () {
5814
5918
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -5845,6 +5949,9 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
5845
5949
  if (specialtyTypeId !== undefined) {
5846
5950
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
5847
5951
  }
5952
+ if (serviceId !== undefined) {
5953
+ localVarQueryParameter['ServiceId'] = serviceId;
5954
+ }
5848
5955
  if (exceptHospitalId !== undefined) {
5849
5956
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
5850
5957
  }
@@ -6061,6 +6168,7 @@ exports.DealsApiFp = function (configuration) {
6061
6168
  * @param {string} [hospitalName]
6062
6169
  * @param {string} [specialtyId]
6063
6170
  * @param {string} [specialtyTypeId]
6171
+ * @param {string} [serviceId]
6064
6172
  * @param {string} [exceptHospitalId]
6065
6173
  * @param {string} [exceptDealId]
6066
6174
  * @param {Array<string>} [ids]
@@ -6073,12 +6181,12 @@ exports.DealsApiFp = function (configuration) {
6073
6181
  * @param {*} [options] Override http request option.
6074
6182
  * @throws {RequiredError}
6075
6183
  */
6076
- apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6184
+ apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6077
6185
  return __awaiter(this, void 0, void 0, function () {
6078
6186
  var localVarAxiosArgs;
6079
6187
  return __generator(this, function (_a) {
6080
6188
  switch (_a.label) {
6081
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
6189
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
6082
6190
  case 1:
6083
6191
  localVarAxiosArgs = _a.sent();
6084
6192
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -6194,6 +6302,7 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
6194
6302
  * @param {string} [hospitalName]
6195
6303
  * @param {string} [specialtyId]
6196
6304
  * @param {string} [specialtyTypeId]
6305
+ * @param {string} [serviceId]
6197
6306
  * @param {string} [exceptHospitalId]
6198
6307
  * @param {string} [exceptDealId]
6199
6308
  * @param {Array<string>} [ids]
@@ -6206,8 +6315,8 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
6206
6315
  * @param {*} [options] Override http request option.
6207
6316
  * @throws {RequiredError}
6208
6317
  */
6209
- apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6210
- return localVarFp.apiV2DealsGet(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); });
6318
+ apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6319
+ return localVarFp.apiV2DealsGet(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); });
6211
6320
  },
6212
6321
  /**
6213
6322
  *
@@ -6321,6 +6430,7 @@ var DealsApi = /** @class */ (function (_super) {
6321
6430
  * @param {string} [hospitalName]
6322
6431
  * @param {string} [specialtyId]
6323
6432
  * @param {string} [specialtyTypeId]
6433
+ * @param {string} [serviceId]
6324
6434
  * @param {string} [exceptHospitalId]
6325
6435
  * @param {string} [exceptDealId]
6326
6436
  * @param {Array<string>} [ids]
@@ -6334,9 +6444,9 @@ var DealsApi = /** @class */ (function (_super) {
6334
6444
  * @throws {RequiredError}
6335
6445
  * @memberof DealsApi
6336
6446
  */
6337
- DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6447
+ DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6338
6448
  var _this = this;
6339
- return exports.DealsApiFp(this.configuration).apiV2DealsGet(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); });
6449
+ return exports.DealsApiFp(this.configuration).apiV2DealsGet(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); });
6340
6450
  };
6341
6451
  /**
6342
6452
  *
@@ -7079,6 +7189,97 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
7079
7189
  });
7080
7190
  });
7081
7191
  },
7192
+ /**
7193
+ *
7194
+ * @summary Get all Doctors.
7195
+ * @param {string} [hospitalId]
7196
+ * @param {string} [languageCode]
7197
+ * @param {boolean} [returnDefaultValue]
7198
+ * @param {Array<string>} [ids]
7199
+ * @param {string} [id]
7200
+ * @param {string} [fullname]
7201
+ * @param {string} [email]
7202
+ * @param {Gender} [gender]
7203
+ * @param {Date} [dateOfBirth]
7204
+ * @param {Date} [created]
7205
+ * @param {boolean} [showHidden]
7206
+ * @param {number} [page]
7207
+ * @param {number} [limit]
7208
+ * @param {Date} [lastRetrieved]
7209
+ * @param {*} [options] Override http request option.
7210
+ * @throws {RequiredError}
7211
+ */
7212
+ apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7213
+ if (options === void 0) { options = {}; }
7214
+ return __awaiter(_this, void 0, void 0, function () {
7215
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7216
+ return __generator(this, function (_a) {
7217
+ localVarPath = "/api/v2/doctors/simple";
7218
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7219
+ if (configuration) {
7220
+ baseOptions = configuration.baseOptions;
7221
+ }
7222
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
7223
+ localVarHeaderParameter = {};
7224
+ localVarQueryParameter = {};
7225
+ if (hospitalId !== undefined) {
7226
+ localVarQueryParameter['HospitalId'] = hospitalId;
7227
+ }
7228
+ if (languageCode !== undefined) {
7229
+ localVarQueryParameter['LanguageCode'] = languageCode;
7230
+ }
7231
+ if (returnDefaultValue !== undefined) {
7232
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
7233
+ }
7234
+ if (ids) {
7235
+ localVarQueryParameter['Ids'] = ids;
7236
+ }
7237
+ if (id !== undefined) {
7238
+ localVarQueryParameter['Id'] = id;
7239
+ }
7240
+ if (fullname !== undefined) {
7241
+ localVarQueryParameter['Fullname'] = fullname;
7242
+ }
7243
+ if (email !== undefined) {
7244
+ localVarQueryParameter['Email'] = email;
7245
+ }
7246
+ if (gender !== undefined) {
7247
+ localVarQueryParameter['Gender'] = gender;
7248
+ }
7249
+ if (dateOfBirth !== undefined) {
7250
+ localVarQueryParameter['DateOfBirth'] = (dateOfBirth instanceof Date) ?
7251
+ dateOfBirth.toISOString() :
7252
+ dateOfBirth;
7253
+ }
7254
+ if (created !== undefined) {
7255
+ localVarQueryParameter['Created'] = (created instanceof Date) ?
7256
+ created.toISOString() :
7257
+ created;
7258
+ }
7259
+ if (showHidden !== undefined) {
7260
+ localVarQueryParameter['ShowHidden'] = showHidden;
7261
+ }
7262
+ if (page !== undefined) {
7263
+ localVarQueryParameter['page'] = page;
7264
+ }
7265
+ if (limit !== undefined) {
7266
+ localVarQueryParameter['limit'] = limit;
7267
+ }
7268
+ if (lastRetrieved !== undefined) {
7269
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
7270
+ lastRetrieved.toISOString() :
7271
+ lastRetrieved;
7272
+ }
7273
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
7274
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7275
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7276
+ return [2 /*return*/, {
7277
+ url: common_1.toPathString(localVarUrlObj),
7278
+ options: localVarRequestOptions,
7279
+ }];
7280
+ });
7281
+ });
7282
+ },
7082
7283
  /**
7083
7284
  *
7084
7285
  * @param {string} slug
@@ -7465,6 +7666,39 @@ exports.DoctorsApiFp = function (configuration) {
7465
7666
  });
7466
7667
  });
7467
7668
  },
7669
+ /**
7670
+ *
7671
+ * @summary Get all Doctors.
7672
+ * @param {string} [hospitalId]
7673
+ * @param {string} [languageCode]
7674
+ * @param {boolean} [returnDefaultValue]
7675
+ * @param {Array<string>} [ids]
7676
+ * @param {string} [id]
7677
+ * @param {string} [fullname]
7678
+ * @param {string} [email]
7679
+ * @param {Gender} [gender]
7680
+ * @param {Date} [dateOfBirth]
7681
+ * @param {Date} [created]
7682
+ * @param {boolean} [showHidden]
7683
+ * @param {number} [page]
7684
+ * @param {number} [limit]
7685
+ * @param {Date} [lastRetrieved]
7686
+ * @param {*} [options] Override http request option.
7687
+ * @throws {RequiredError}
7688
+ */
7689
+ apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7690
+ return __awaiter(this, void 0, void 0, function () {
7691
+ var localVarAxiosArgs;
7692
+ return __generator(this, function (_a) {
7693
+ switch (_a.label) {
7694
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
7695
+ case 1:
7696
+ localVarAxiosArgs = _a.sent();
7697
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
7698
+ }
7699
+ });
7700
+ });
7701
+ },
7468
7702
  /**
7469
7703
  *
7470
7704
  * @param {string} slug
@@ -7692,6 +7926,29 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
7692
7926
  apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7693
7927
  return localVarFp.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
7694
7928
  },
7929
+ /**
7930
+ *
7931
+ * @summary Get all Doctors.
7932
+ * @param {string} [hospitalId]
7933
+ * @param {string} [languageCode]
7934
+ * @param {boolean} [returnDefaultValue]
7935
+ * @param {Array<string>} [ids]
7936
+ * @param {string} [id]
7937
+ * @param {string} [fullname]
7938
+ * @param {string} [email]
7939
+ * @param {Gender} [gender]
7940
+ * @param {Date} [dateOfBirth]
7941
+ * @param {Date} [created]
7942
+ * @param {boolean} [showHidden]
7943
+ * @param {number} [page]
7944
+ * @param {number} [limit]
7945
+ * @param {Date} [lastRetrieved]
7946
+ * @param {*} [options] Override http request option.
7947
+ * @throws {RequiredError}
7948
+ */
7949
+ apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7950
+ return localVarFp.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
7951
+ },
7695
7952
  /**
7696
7953
  *
7697
7954
  * @param {string} slug
@@ -7941,6 +8198,31 @@ var DoctorsApi = /** @class */ (function (_super) {
7941
8198
  var _this = this;
7942
8199
  return exports.DoctorsApiFp(this.configuration).apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
7943
8200
  };
8201
+ /**
8202
+ *
8203
+ * @summary Get all Doctors.
8204
+ * @param {string} [hospitalId]
8205
+ * @param {string} [languageCode]
8206
+ * @param {boolean} [returnDefaultValue]
8207
+ * @param {Array<string>} [ids]
8208
+ * @param {string} [id]
8209
+ * @param {string} [fullname]
8210
+ * @param {string} [email]
8211
+ * @param {Gender} [gender]
8212
+ * @param {Date} [dateOfBirth]
8213
+ * @param {Date} [created]
8214
+ * @param {boolean} [showHidden]
8215
+ * @param {number} [page]
8216
+ * @param {number} [limit]
8217
+ * @param {Date} [lastRetrieved]
8218
+ * @param {*} [options] Override http request option.
8219
+ * @throws {RequiredError}
8220
+ * @memberof DoctorsApi
8221
+ */
8222
+ DoctorsApi.prototype.apiV2DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
8223
+ var _this = this;
8224
+ return exports.DoctorsApiFp(this.configuration).apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
8225
+ };
7944
8226
  /**
7945
8227
  *
7946
8228
  * @param {string} slug
@@ -9568,13 +9850,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
9568
9850
  * @param {string} [languageCode]
9569
9851
  * @param {boolean} [showHidden]
9570
9852
  * @param {boolean} [returnDefaultValue]
9853
+ * @param {boolean} [includeServices]
9571
9854
  * @param {number} [page]
9572
9855
  * @param {number} [limit]
9573
9856
  * @param {Date} [lastRetrieved]
9574
9857
  * @param {*} [options] Override http request option.
9575
9858
  * @throws {RequiredError}
9576
9859
  */
9577
- apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
9860
+ apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
9578
9861
  if (options === void 0) { options = {}; }
9579
9862
  return __awaiter(_this, void 0, void 0, function () {
9580
9863
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9620,6 +9903,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
9620
9903
  if (returnDefaultValue !== undefined) {
9621
9904
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
9622
9905
  }
9906
+ if (includeServices !== undefined) {
9907
+ localVarQueryParameter['IncludeServices'] = includeServices;
9908
+ }
9623
9909
  if (page !== undefined) {
9624
9910
  localVarQueryParameter['page'] = page;
9625
9911
  }
@@ -9648,10 +9934,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
9648
9934
  * @param {string} specialtyId
9649
9935
  * @param {string} [languageCode]
9650
9936
  * @param {boolean} [returnDefaultValue]
9937
+ * @param {boolean} [includeServices]
9651
9938
  * @param {*} [options] Override http request option.
9652
9939
  * @throws {RequiredError}
9653
9940
  */
9654
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
9941
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
9655
9942
  if (options === void 0) { options = {}; }
9656
9943
  return __awaiter(_this, void 0, void 0, function () {
9657
9944
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9676,6 +9963,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
9676
9963
  if (returnDefaultValue !== undefined) {
9677
9964
  localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
9678
9965
  }
9966
+ if (includeServices !== undefined) {
9967
+ localVarQueryParameter['includeServices'] = includeServices;
9968
+ }
9679
9969
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
9680
9970
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9681
9971
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -9952,6 +10242,55 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
9952
10242
  });
9953
10243
  });
9954
10244
  },
10245
+ /**
10246
+ *
10247
+ * @summary Get HospitalSpecialty by Specialty slug
10248
+ * @param {string} hospitalId
10249
+ * @param {string} specialtySlug
10250
+ * @param {string} [languageCode]
10251
+ * @param {boolean} [returnDefaultValue]
10252
+ * @param {boolean} [includeServices]
10253
+ * @param {*} [options] Override http request option.
10254
+ * @throws {RequiredError}
10255
+ */
10256
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet: function (hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options) {
10257
+ if (options === void 0) { options = {}; }
10258
+ return __awaiter(_this, void 0, void 0, function () {
10259
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10260
+ return __generator(this, function (_a) {
10261
+ // verify required parameter 'hospitalId' is not null or undefined
10262
+ common_1.assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet', 'hospitalId', hospitalId);
10263
+ // verify required parameter 'specialtySlug' is not null or undefined
10264
+ common_1.assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet', 'specialtySlug', specialtySlug);
10265
+ localVarPath = "/api/v2/hospitals/{hospitalId}/specialties/{specialtySlug}"
10266
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
10267
+ .replace("{" + "specialtySlug" + "}", encodeURIComponent(String(specialtySlug)));
10268
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10269
+ if (configuration) {
10270
+ baseOptions = configuration.baseOptions;
10271
+ }
10272
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10273
+ localVarHeaderParameter = {};
10274
+ localVarQueryParameter = {};
10275
+ if (languageCode !== undefined) {
10276
+ localVarQueryParameter['languageCode'] = languageCode;
10277
+ }
10278
+ if (returnDefaultValue !== undefined) {
10279
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
10280
+ }
10281
+ if (includeServices !== undefined) {
10282
+ localVarQueryParameter['includeServices'] = includeServices;
10283
+ }
10284
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
10285
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10286
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10287
+ return [2 /*return*/, {
10288
+ url: common_1.toPathString(localVarUrlObj),
10289
+ options: localVarRequestOptions,
10290
+ }];
10291
+ });
10292
+ });
10293
+ },
9955
10294
  /**
9956
10295
  *
9957
10296
  * @summary Get all Hospitals.
@@ -10406,18 +10745,19 @@ exports.HospitalsApiFp = function (configuration) {
10406
10745
  * @param {string} [languageCode]
10407
10746
  * @param {boolean} [showHidden]
10408
10747
  * @param {boolean} [returnDefaultValue]
10748
+ * @param {boolean} [includeServices]
10409
10749
  * @param {number} [page]
10410
10750
  * @param {number} [limit]
10411
10751
  * @param {Date} [lastRetrieved]
10412
10752
  * @param {*} [options] Override http request option.
10413
10753
  * @throws {RequiredError}
10414
10754
  */
10415
- apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
10755
+ apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
10416
10756
  return __awaiter(this, void 0, void 0, function () {
10417
10757
  var localVarAxiosArgs;
10418
10758
  return __generator(this, function (_a) {
10419
10759
  switch (_a.label) {
10420
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
10760
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options)];
10421
10761
  case 1:
10422
10762
  localVarAxiosArgs = _a.sent();
10423
10763
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -10432,15 +10772,16 @@ exports.HospitalsApiFp = function (configuration) {
10432
10772
  * @param {string} specialtyId
10433
10773
  * @param {string} [languageCode]
10434
10774
  * @param {boolean} [returnDefaultValue]
10775
+ * @param {boolean} [includeServices]
10435
10776
  * @param {*} [options] Override http request option.
10436
10777
  * @throws {RequiredError}
10437
10778
  */
10438
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
10779
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
10439
10780
  return __awaiter(this, void 0, void 0, function () {
10440
10781
  var localVarAxiosArgs;
10441
10782
  return __generator(this, function (_a) {
10442
10783
  switch (_a.label) {
10443
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options)];
10784
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options)];
10444
10785
  case 1:
10445
10786
  localVarAxiosArgs = _a.sent();
10446
10787
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -10560,6 +10901,30 @@ exports.HospitalsApiFp = function (configuration) {
10560
10901
  });
10561
10902
  });
10562
10903
  },
10904
+ /**
10905
+ *
10906
+ * @summary Get HospitalSpecialty by Specialty slug
10907
+ * @param {string} hospitalId
10908
+ * @param {string} specialtySlug
10909
+ * @param {string} [languageCode]
10910
+ * @param {boolean} [returnDefaultValue]
10911
+ * @param {boolean} [includeServices]
10912
+ * @param {*} [options] Override http request option.
10913
+ * @throws {RequiredError}
10914
+ */
10915
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet: function (hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options) {
10916
+ return __awaiter(this, void 0, void 0, function () {
10917
+ var localVarAxiosArgs;
10918
+ return __generator(this, function (_a) {
10919
+ switch (_a.label) {
10920
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options)];
10921
+ case 1:
10922
+ localVarAxiosArgs = _a.sent();
10923
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
10924
+ }
10925
+ });
10926
+ });
10927
+ },
10563
10928
  /**
10564
10929
  *
10565
10930
  * @summary Get all Hospitals.
@@ -10813,14 +11178,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
10813
11178
  * @param {string} [languageCode]
10814
11179
  * @param {boolean} [showHidden]
10815
11180
  * @param {boolean} [returnDefaultValue]
11181
+ * @param {boolean} [includeServices]
10816
11182
  * @param {number} [page]
10817
11183
  * @param {number} [limit]
10818
11184
  * @param {Date} [lastRetrieved]
10819
11185
  * @param {*} [options] Override http request option.
10820
11186
  * @throws {RequiredError}
10821
11187
  */
10822
- apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
10823
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
11188
+ apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11189
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
10824
11190
  },
10825
11191
  /**
10826
11192
  *
@@ -10829,11 +11195,12 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
10829
11195
  * @param {string} specialtyId
10830
11196
  * @param {string} [languageCode]
10831
11197
  * @param {boolean} [returnDefaultValue]
11198
+ * @param {boolean} [includeServices]
10832
11199
  * @param {*} [options] Override http request option.
10833
11200
  * @throws {RequiredError}
10834
11201
  */
10835
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
10836
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
11202
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
11203
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(axios, basePath); });
10837
11204
  },
10838
11205
  /**
10839
11206
  *
@@ -10907,6 +11274,20 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
10907
11274
  apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: function (hospitalId, specialtyId, serviceId, mediaId, options) {
10908
11275
  return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then(function (request) { return request(axios, basePath); });
10909
11276
  },
11277
+ /**
11278
+ *
11279
+ * @summary Get HospitalSpecialty by Specialty slug
11280
+ * @param {string} hospitalId
11281
+ * @param {string} specialtySlug
11282
+ * @param {string} [languageCode]
11283
+ * @param {boolean} [returnDefaultValue]
11284
+ * @param {boolean} [includeServices]
11285
+ * @param {*} [options] Override http request option.
11286
+ * @throws {RequiredError}
11287
+ */
11288
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet: function (hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options) {
11289
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(axios, basePath); });
11290
+ },
10910
11291
  /**
10911
11292
  *
10912
11293
  * @summary Get all Hospitals.
@@ -11168,6 +11549,7 @@ var HospitalsApi = /** @class */ (function (_super) {
11168
11549
  * @param {string} [languageCode]
11169
11550
  * @param {boolean} [showHidden]
11170
11551
  * @param {boolean} [returnDefaultValue]
11552
+ * @param {boolean} [includeServices]
11171
11553
  * @param {number} [page]
11172
11554
  * @param {number} [limit]
11173
11555
  * @param {Date} [lastRetrieved]
@@ -11175,9 +11557,9 @@ var HospitalsApi = /** @class */ (function (_super) {
11175
11557
  * @throws {RequiredError}
11176
11558
  * @memberof HospitalsApi
11177
11559
  */
11178
- HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
11560
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11179
11561
  var _this = this;
11180
- return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
11562
+ return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
11181
11563
  };
11182
11564
  /**
11183
11565
  *
@@ -11186,13 +11568,14 @@ var HospitalsApi = /** @class */ (function (_super) {
11186
11568
  * @param {string} specialtyId
11187
11569
  * @param {string} [languageCode]
11188
11570
  * @param {boolean} [returnDefaultValue]
11571
+ * @param {boolean} [includeServices]
11189
11572
  * @param {*} [options] Override http request option.
11190
11573
  * @throws {RequiredError}
11191
11574
  * @memberof HospitalsApi
11192
11575
  */
11193
- HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
11576
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
11194
11577
  var _this = this;
11195
- return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
11578
+ return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(_this.axios, _this.basePath); });
11196
11579
  };
11197
11580
  /**
11198
11581
  *
@@ -11274,6 +11657,22 @@ var HospitalsApi = /** @class */ (function (_super) {
11274
11657
  var _this = this;
11275
11658
  return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
11276
11659
  };
11660
+ /**
11661
+ *
11662
+ * @summary Get HospitalSpecialty by Specialty slug
11663
+ * @param {string} hospitalId
11664
+ * @param {string} specialtySlug
11665
+ * @param {string} [languageCode]
11666
+ * @param {boolean} [returnDefaultValue]
11667
+ * @param {boolean} [includeServices]
11668
+ * @param {*} [options] Override http request option.
11669
+ * @throws {RequiredError}
11670
+ * @memberof HospitalsApi
11671
+ */
11672
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet = function (hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options) {
11673
+ var _this = this;
11674
+ return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(_this.axios, _this.basePath); });
11675
+ };
11277
11676
  /**
11278
11677
  *
11279
11678
  * @summary Get all Hospitals.
@@ -14549,6 +14948,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
14549
14948
  * @param {string} [serviceName]
14550
14949
  * @param {string} [patientId]
14551
14950
  * @param {string} [patientName]
14951
+ * @param {Gender} [gender]
14552
14952
  * @param {boolean} [recommended]
14553
14953
  * @param {number} [rate]
14554
14954
  * @param {ReviewType} [reviewType]
@@ -14558,7 +14958,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
14558
14958
  * @param {*} [options] Override http request option.
14559
14959
  * @throws {RequiredError}
14560
14960
  */
14561
- apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
14961
+ apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
14562
14962
  if (options === void 0) { options = {}; }
14563
14963
  return __awaiter(_this, void 0, void 0, function () {
14564
14964
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -14586,6 +14986,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
14586
14986
  if (patientName !== undefined) {
14587
14987
  localVarQueryParameter['PatientName'] = patientName;
14588
14988
  }
14989
+ if (gender !== undefined) {
14990
+ localVarQueryParameter['Gender'] = gender;
14991
+ }
14589
14992
  if (recommended !== undefined) {
14590
14993
  localVarQueryParameter['Recommended'] = recommended;
14591
14994
  }
@@ -15031,6 +15434,7 @@ exports.ServiceReviewsApiFp = function (configuration) {
15031
15434
  * @param {string} [serviceName]
15032
15435
  * @param {string} [patientId]
15033
15436
  * @param {string} [patientName]
15437
+ * @param {Gender} [gender]
15034
15438
  * @param {boolean} [recommended]
15035
15439
  * @param {number} [rate]
15036
15440
  * @param {ReviewType} [reviewType]
@@ -15040,12 +15444,12 @@ exports.ServiceReviewsApiFp = function (configuration) {
15040
15444
  * @param {*} [options] Override http request option.
15041
15445
  * @throws {RequiredError}
15042
15446
  */
15043
- apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
15447
+ apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
15044
15448
  return __awaiter(this, void 0, void 0, function () {
15045
15449
  var localVarAxiosArgs;
15046
15450
  return __generator(this, function (_a) {
15047
15451
  switch (_a.label) {
15048
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
15452
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
15049
15453
  case 1:
15050
15454
  localVarAxiosArgs = _a.sent();
15051
15455
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -15260,6 +15664,7 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
15260
15664
  * @param {string} [serviceName]
15261
15665
  * @param {string} [patientId]
15262
15666
  * @param {string} [patientName]
15667
+ * @param {Gender} [gender]
15263
15668
  * @param {boolean} [recommended]
15264
15669
  * @param {number} [rate]
15265
15670
  * @param {ReviewType} [reviewType]
@@ -15269,8 +15674,8 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
15269
15674
  * @param {*} [options] Override http request option.
15270
15675
  * @throws {RequiredError}
15271
15676
  */
15272
- apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
15273
- return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15677
+ apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
15678
+ return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15274
15679
  },
15275
15680
  /**
15276
15681
  *
@@ -15393,6 +15798,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
15393
15798
  * @param {string} [serviceName]
15394
15799
  * @param {string} [patientId]
15395
15800
  * @param {string} [patientName]
15801
+ * @param {Gender} [gender]
15396
15802
  * @param {boolean} [recommended]
15397
15803
  * @param {number} [rate]
15398
15804
  * @param {ReviewType} [reviewType]
@@ -15403,9 +15809,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
15403
15809
  * @throws {RequiredError}
15404
15810
  * @memberof ServiceReviewsApi
15405
15811
  */
15406
- ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
15812
+ ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
15407
15813
  var _this = this;
15408
- return exports.ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
15814
+ return exports.ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
15409
15815
  };
15410
15816
  /**
15411
15817
  *