ch-api-client-typescript2 2.7.9 → 2.8.2

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
@@ -7002,6 +7105,8 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
7002
7105
  * @param {string} [languageCode]
7003
7106
  * @param {boolean} [returnDefaultValue]
7004
7107
  * @param {Array<string>} [ids]
7108
+ * @param {string} [specialtyId]
7109
+ * @param {boolean} [consultationEnabled]
7005
7110
  * @param {string} [id]
7006
7111
  * @param {string} [fullname]
7007
7112
  * @param {string} [email]
@@ -7015,7 +7120,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
7015
7120
  * @param {*} [options] Override http request option.
7016
7121
  * @throws {RequiredError}
7017
7122
  */
7018
- apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7123
+ apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7019
7124
  if (options === void 0) { options = {}; }
7020
7125
  return __awaiter(_this, void 0, void 0, function () {
7021
7126
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -7040,6 +7145,12 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
7040
7145
  if (ids) {
7041
7146
  localVarQueryParameter['Ids'] = ids;
7042
7147
  }
7148
+ if (specialtyId !== undefined) {
7149
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
7150
+ }
7151
+ if (consultationEnabled !== undefined) {
7152
+ localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
7153
+ }
7043
7154
  if (id !== undefined) {
7044
7155
  localVarQueryParameter['Id'] = id;
7045
7156
  }
@@ -7093,6 +7204,8 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
7093
7204
  * @param {string} [languageCode]
7094
7205
  * @param {boolean} [returnDefaultValue]
7095
7206
  * @param {Array<string>} [ids]
7207
+ * @param {string} [specialtyId]
7208
+ * @param {boolean} [consultationEnabled]
7096
7209
  * @param {string} [id]
7097
7210
  * @param {string} [fullname]
7098
7211
  * @param {string} [email]
@@ -7106,7 +7219,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
7106
7219
  * @param {*} [options] Override http request option.
7107
7220
  * @throws {RequiredError}
7108
7221
  */
7109
- apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7222
+ apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7110
7223
  if (options === void 0) { options = {}; }
7111
7224
  return __awaiter(_this, void 0, void 0, function () {
7112
7225
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -7131,6 +7244,12 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
7131
7244
  if (ids) {
7132
7245
  localVarQueryParameter['Ids'] = ids;
7133
7246
  }
7247
+ if (specialtyId !== undefined) {
7248
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
7249
+ }
7250
+ if (consultationEnabled !== undefined) {
7251
+ localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
7252
+ }
7134
7253
  if (id !== undefined) {
7135
7254
  localVarQueryParameter['Id'] = id;
7136
7255
  }
@@ -7537,6 +7656,8 @@ exports.DoctorsApiFp = function (configuration) {
7537
7656
  * @param {string} [languageCode]
7538
7657
  * @param {boolean} [returnDefaultValue]
7539
7658
  * @param {Array<string>} [ids]
7659
+ * @param {string} [specialtyId]
7660
+ * @param {boolean} [consultationEnabled]
7540
7661
  * @param {string} [id]
7541
7662
  * @param {string} [fullname]
7542
7663
  * @param {string} [email]
@@ -7550,12 +7671,12 @@ exports.DoctorsApiFp = function (configuration) {
7550
7671
  * @param {*} [options] Override http request option.
7551
7672
  * @throws {RequiredError}
7552
7673
  */
7553
- apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7674
+ apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7554
7675
  return __awaiter(this, void 0, void 0, function () {
7555
7676
  var localVarAxiosArgs;
7556
7677
  return __generator(this, function (_a) {
7557
7678
  switch (_a.label) {
7558
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
7679
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
7559
7680
  case 1:
7560
7681
  localVarAxiosArgs = _a.sent();
7561
7682
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -7570,6 +7691,8 @@ exports.DoctorsApiFp = function (configuration) {
7570
7691
  * @param {string} [languageCode]
7571
7692
  * @param {boolean} [returnDefaultValue]
7572
7693
  * @param {Array<string>} [ids]
7694
+ * @param {string} [specialtyId]
7695
+ * @param {boolean} [consultationEnabled]
7573
7696
  * @param {string} [id]
7574
7697
  * @param {string} [fullname]
7575
7698
  * @param {string} [email]
@@ -7583,12 +7706,12 @@ exports.DoctorsApiFp = function (configuration) {
7583
7706
  * @param {*} [options] Override http request option.
7584
7707
  * @throws {RequiredError}
7585
7708
  */
7586
- apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7709
+ apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7587
7710
  return __awaiter(this, void 0, void 0, function () {
7588
7711
  var localVarAxiosArgs;
7589
7712
  return __generator(this, function (_a) {
7590
7713
  switch (_a.label) {
7591
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
7714
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
7592
7715
  case 1:
7593
7716
  localVarAxiosArgs = _a.sent();
7594
7717
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -7807,6 +7930,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
7807
7930
  * @param {string} [languageCode]
7808
7931
  * @param {boolean} [returnDefaultValue]
7809
7932
  * @param {Array<string>} [ids]
7933
+ * @param {string} [specialtyId]
7934
+ * @param {boolean} [consultationEnabled]
7810
7935
  * @param {string} [id]
7811
7936
  * @param {string} [fullname]
7812
7937
  * @param {string} [email]
@@ -7820,8 +7945,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
7820
7945
  * @param {*} [options] Override http request option.
7821
7946
  * @throws {RequiredError}
7822
7947
  */
7823
- apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7824
- 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); });
7948
+ apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7949
+ return localVarFp.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
7825
7950
  },
7826
7951
  /**
7827
7952
  *
@@ -7830,6 +7955,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
7830
7955
  * @param {string} [languageCode]
7831
7956
  * @param {boolean} [returnDefaultValue]
7832
7957
  * @param {Array<string>} [ids]
7958
+ * @param {string} [specialtyId]
7959
+ * @param {boolean} [consultationEnabled]
7833
7960
  * @param {string} [id]
7834
7961
  * @param {string} [fullname]
7835
7962
  * @param {string} [email]
@@ -7843,8 +7970,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
7843
7970
  * @param {*} [options] Override http request option.
7844
7971
  * @throws {RequiredError}
7845
7972
  */
7846
- apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7847
- 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); });
7973
+ apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7974
+ return localVarFp.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
7848
7975
  },
7849
7976
  /**
7850
7977
  *
@@ -8077,6 +8204,8 @@ var DoctorsApi = /** @class */ (function (_super) {
8077
8204
  * @param {string} [languageCode]
8078
8205
  * @param {boolean} [returnDefaultValue]
8079
8206
  * @param {Array<string>} [ids]
8207
+ * @param {string} [specialtyId]
8208
+ * @param {boolean} [consultationEnabled]
8080
8209
  * @param {string} [id]
8081
8210
  * @param {string} [fullname]
8082
8211
  * @param {string} [email]
@@ -8091,9 +8220,9 @@ var DoctorsApi = /** @class */ (function (_super) {
8091
8220
  * @throws {RequiredError}
8092
8221
  * @memberof DoctorsApi
8093
8222
  */
8094
- DoctorsApi.prototype.apiV2DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
8223
+ DoctorsApi.prototype.apiV2DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
8095
8224
  var _this = this;
8096
- 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); });
8225
+ return exports.DoctorsApiFp(this.configuration).apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
8097
8226
  };
8098
8227
  /**
8099
8228
  *
@@ -8102,6 +8231,8 @@ var DoctorsApi = /** @class */ (function (_super) {
8102
8231
  * @param {string} [languageCode]
8103
8232
  * @param {boolean} [returnDefaultValue]
8104
8233
  * @param {Array<string>} [ids]
8234
+ * @param {string} [specialtyId]
8235
+ * @param {boolean} [consultationEnabled]
8105
8236
  * @param {string} [id]
8106
8237
  * @param {string} [fullname]
8107
8238
  * @param {string} [email]
@@ -8116,9 +8247,9 @@ var DoctorsApi = /** @class */ (function (_super) {
8116
8247
  * @throws {RequiredError}
8117
8248
  * @memberof DoctorsApi
8118
8249
  */
8119
- DoctorsApi.prototype.apiV2DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
8250
+ DoctorsApi.prototype.apiV2DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
8120
8251
  var _this = this;
8121
- 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); });
8252
+ return exports.DoctorsApiFp(this.configuration).apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
8122
8253
  };
8123
8254
  /**
8124
8255
  *
@@ -9747,13 +9878,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
9747
9878
  * @param {string} [languageCode]
9748
9879
  * @param {boolean} [showHidden]
9749
9880
  * @param {boolean} [returnDefaultValue]
9881
+ * @param {boolean} [includeServices]
9750
9882
  * @param {number} [page]
9751
9883
  * @param {number} [limit]
9752
9884
  * @param {Date} [lastRetrieved]
9753
9885
  * @param {*} [options] Override http request option.
9754
9886
  * @throws {RequiredError}
9755
9887
  */
9756
- apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
9888
+ apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
9757
9889
  if (options === void 0) { options = {}; }
9758
9890
  return __awaiter(_this, void 0, void 0, function () {
9759
9891
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9799,6 +9931,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
9799
9931
  if (returnDefaultValue !== undefined) {
9800
9932
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
9801
9933
  }
9934
+ if (includeServices !== undefined) {
9935
+ localVarQueryParameter['IncludeServices'] = includeServices;
9936
+ }
9802
9937
  if (page !== undefined) {
9803
9938
  localVarQueryParameter['page'] = page;
9804
9939
  }
@@ -9827,10 +9962,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
9827
9962
  * @param {string} specialtyId
9828
9963
  * @param {string} [languageCode]
9829
9964
  * @param {boolean} [returnDefaultValue]
9965
+ * @param {boolean} [includeServices]
9830
9966
  * @param {*} [options] Override http request option.
9831
9967
  * @throws {RequiredError}
9832
9968
  */
9833
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
9969
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
9834
9970
  if (options === void 0) { options = {}; }
9835
9971
  return __awaiter(_this, void 0, void 0, function () {
9836
9972
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9855,6 +9991,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
9855
9991
  if (returnDefaultValue !== undefined) {
9856
9992
  localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
9857
9993
  }
9994
+ if (includeServices !== undefined) {
9995
+ localVarQueryParameter['includeServices'] = includeServices;
9996
+ }
9858
9997
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
9859
9998
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9860
9999
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -10131,6 +10270,55 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
10131
10270
  });
10132
10271
  });
10133
10272
  },
10273
+ /**
10274
+ *
10275
+ * @summary Get HospitalSpecialty by Specialty slug
10276
+ * @param {string} hospitalId
10277
+ * @param {string} specialtySlug
10278
+ * @param {string} [languageCode]
10279
+ * @param {boolean} [returnDefaultValue]
10280
+ * @param {boolean} [includeServices]
10281
+ * @param {*} [options] Override http request option.
10282
+ * @throws {RequiredError}
10283
+ */
10284
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet: function (hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options) {
10285
+ if (options === void 0) { options = {}; }
10286
+ return __awaiter(_this, void 0, void 0, function () {
10287
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10288
+ return __generator(this, function (_a) {
10289
+ // verify required parameter 'hospitalId' is not null or undefined
10290
+ common_1.assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet', 'hospitalId', hospitalId);
10291
+ // verify required parameter 'specialtySlug' is not null or undefined
10292
+ common_1.assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet', 'specialtySlug', specialtySlug);
10293
+ localVarPath = "/api/v2/hospitals/{hospitalId}/specialties/{specialtySlug}"
10294
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
10295
+ .replace("{" + "specialtySlug" + "}", encodeURIComponent(String(specialtySlug)));
10296
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10297
+ if (configuration) {
10298
+ baseOptions = configuration.baseOptions;
10299
+ }
10300
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10301
+ localVarHeaderParameter = {};
10302
+ localVarQueryParameter = {};
10303
+ if (languageCode !== undefined) {
10304
+ localVarQueryParameter['languageCode'] = languageCode;
10305
+ }
10306
+ if (returnDefaultValue !== undefined) {
10307
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
10308
+ }
10309
+ if (includeServices !== undefined) {
10310
+ localVarQueryParameter['includeServices'] = includeServices;
10311
+ }
10312
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
10313
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10314
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10315
+ return [2 /*return*/, {
10316
+ url: common_1.toPathString(localVarUrlObj),
10317
+ options: localVarRequestOptions,
10318
+ }];
10319
+ });
10320
+ });
10321
+ },
10134
10322
  /**
10135
10323
  *
10136
10324
  * @summary Get all Hospitals.
@@ -10585,18 +10773,19 @@ exports.HospitalsApiFp = function (configuration) {
10585
10773
  * @param {string} [languageCode]
10586
10774
  * @param {boolean} [showHidden]
10587
10775
  * @param {boolean} [returnDefaultValue]
10776
+ * @param {boolean} [includeServices]
10588
10777
  * @param {number} [page]
10589
10778
  * @param {number} [limit]
10590
10779
  * @param {Date} [lastRetrieved]
10591
10780
  * @param {*} [options] Override http request option.
10592
10781
  * @throws {RequiredError}
10593
10782
  */
10594
- apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
10783
+ apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
10595
10784
  return __awaiter(this, void 0, void 0, function () {
10596
10785
  var localVarAxiosArgs;
10597
10786
  return __generator(this, function (_a) {
10598
10787
  switch (_a.label) {
10599
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
10788
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options)];
10600
10789
  case 1:
10601
10790
  localVarAxiosArgs = _a.sent();
10602
10791
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -10611,15 +10800,16 @@ exports.HospitalsApiFp = function (configuration) {
10611
10800
  * @param {string} specialtyId
10612
10801
  * @param {string} [languageCode]
10613
10802
  * @param {boolean} [returnDefaultValue]
10803
+ * @param {boolean} [includeServices]
10614
10804
  * @param {*} [options] Override http request option.
10615
10805
  * @throws {RequiredError}
10616
10806
  */
10617
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
10807
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
10618
10808
  return __awaiter(this, void 0, void 0, function () {
10619
10809
  var localVarAxiosArgs;
10620
10810
  return __generator(this, function (_a) {
10621
10811
  switch (_a.label) {
10622
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options)];
10812
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options)];
10623
10813
  case 1:
10624
10814
  localVarAxiosArgs = _a.sent();
10625
10815
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -10739,6 +10929,30 @@ exports.HospitalsApiFp = function (configuration) {
10739
10929
  });
10740
10930
  });
10741
10931
  },
10932
+ /**
10933
+ *
10934
+ * @summary Get HospitalSpecialty by Specialty slug
10935
+ * @param {string} hospitalId
10936
+ * @param {string} specialtySlug
10937
+ * @param {string} [languageCode]
10938
+ * @param {boolean} [returnDefaultValue]
10939
+ * @param {boolean} [includeServices]
10940
+ * @param {*} [options] Override http request option.
10941
+ * @throws {RequiredError}
10942
+ */
10943
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet: function (hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options) {
10944
+ return __awaiter(this, void 0, void 0, function () {
10945
+ var localVarAxiosArgs;
10946
+ return __generator(this, function (_a) {
10947
+ switch (_a.label) {
10948
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options)];
10949
+ case 1:
10950
+ localVarAxiosArgs = _a.sent();
10951
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
10952
+ }
10953
+ });
10954
+ });
10955
+ },
10742
10956
  /**
10743
10957
  *
10744
10958
  * @summary Get all Hospitals.
@@ -10992,14 +11206,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
10992
11206
  * @param {string} [languageCode]
10993
11207
  * @param {boolean} [showHidden]
10994
11208
  * @param {boolean} [returnDefaultValue]
11209
+ * @param {boolean} [includeServices]
10995
11210
  * @param {number} [page]
10996
11211
  * @param {number} [limit]
10997
11212
  * @param {Date} [lastRetrieved]
10998
11213
  * @param {*} [options] Override http request option.
10999
11214
  * @throws {RequiredError}
11000
11215
  */
11001
- apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
11002
- 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); });
11216
+ apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11217
+ 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); });
11003
11218
  },
11004
11219
  /**
11005
11220
  *
@@ -11008,11 +11223,12 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
11008
11223
  * @param {string} specialtyId
11009
11224
  * @param {string} [languageCode]
11010
11225
  * @param {boolean} [returnDefaultValue]
11226
+ * @param {boolean} [includeServices]
11011
11227
  * @param {*} [options] Override http request option.
11012
11228
  * @throws {RequiredError}
11013
11229
  */
11014
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
11015
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
11230
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
11231
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(axios, basePath); });
11016
11232
  },
11017
11233
  /**
11018
11234
  *
@@ -11086,6 +11302,20 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
11086
11302
  apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: function (hospitalId, specialtyId, serviceId, mediaId, options) {
11087
11303
  return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then(function (request) { return request(axios, basePath); });
11088
11304
  },
11305
+ /**
11306
+ *
11307
+ * @summary Get HospitalSpecialty by Specialty slug
11308
+ * @param {string} hospitalId
11309
+ * @param {string} specialtySlug
11310
+ * @param {string} [languageCode]
11311
+ * @param {boolean} [returnDefaultValue]
11312
+ * @param {boolean} [includeServices]
11313
+ * @param {*} [options] Override http request option.
11314
+ * @throws {RequiredError}
11315
+ */
11316
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet: function (hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options) {
11317
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(axios, basePath); });
11318
+ },
11089
11319
  /**
11090
11320
  *
11091
11321
  * @summary Get all Hospitals.
@@ -11347,6 +11577,7 @@ var HospitalsApi = /** @class */ (function (_super) {
11347
11577
  * @param {string} [languageCode]
11348
11578
  * @param {boolean} [showHidden]
11349
11579
  * @param {boolean} [returnDefaultValue]
11580
+ * @param {boolean} [includeServices]
11350
11581
  * @param {number} [page]
11351
11582
  * @param {number} [limit]
11352
11583
  * @param {Date} [lastRetrieved]
@@ -11354,9 +11585,9 @@ var HospitalsApi = /** @class */ (function (_super) {
11354
11585
  * @throws {RequiredError}
11355
11586
  * @memberof HospitalsApi
11356
11587
  */
11357
- HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
11588
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11358
11589
  var _this = this;
11359
- 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); });
11590
+ 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); });
11360
11591
  };
11361
11592
  /**
11362
11593
  *
@@ -11365,13 +11596,14 @@ var HospitalsApi = /** @class */ (function (_super) {
11365
11596
  * @param {string} specialtyId
11366
11597
  * @param {string} [languageCode]
11367
11598
  * @param {boolean} [returnDefaultValue]
11599
+ * @param {boolean} [includeServices]
11368
11600
  * @param {*} [options] Override http request option.
11369
11601
  * @throws {RequiredError}
11370
11602
  * @memberof HospitalsApi
11371
11603
  */
11372
- HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
11604
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
11373
11605
  var _this = this;
11374
- return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
11606
+ return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(_this.axios, _this.basePath); });
11375
11607
  };
11376
11608
  /**
11377
11609
  *
@@ -11453,6 +11685,22 @@ var HospitalsApi = /** @class */ (function (_super) {
11453
11685
  var _this = this;
11454
11686
  return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
11455
11687
  };
11688
+ /**
11689
+ *
11690
+ * @summary Get HospitalSpecialty by Specialty slug
11691
+ * @param {string} hospitalId
11692
+ * @param {string} specialtySlug
11693
+ * @param {string} [languageCode]
11694
+ * @param {boolean} [returnDefaultValue]
11695
+ * @param {boolean} [includeServices]
11696
+ * @param {*} [options] Override http request option.
11697
+ * @throws {RequiredError}
11698
+ * @memberof HospitalsApi
11699
+ */
11700
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet = function (hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options) {
11701
+ var _this = this;
11702
+ return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(_this.axios, _this.basePath); });
11703
+ };
11456
11704
  /**
11457
11705
  *
11458
11706
  * @summary Get all Hospitals.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "2.7.9",
3
+ "version": "2.8.2",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {