ch-admin-api-client-typescript 2.8.0 → 2.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/api.js CHANGED
@@ -76,7 +76,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
76
76
  return (mod && mod.__esModule) ? mod : { "default": mod };
77
77
  };
78
78
  Object.defineProperty(exports, "__esModule", { value: true });
79
- exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
79
+ exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.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.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
@@ -109,6 +109,17 @@ var BookingStatus;
109
109
  BookingStatus["RefundRequested"] = "RefundRequested";
110
110
  BookingStatus["Refunded"] = "Refunded";
111
111
  })(BookingStatus = exports.BookingStatus || (exports.BookingStatus = {}));
112
+ /**
113
+ *
114
+ * @export
115
+ * @enum {string}
116
+ */
117
+ var ChargeStatus;
118
+ (function (ChargeStatus) {
119
+ ChargeStatus["Pending"] = "Pending";
120
+ ChargeStatus["Succeeded"] = "Succeeded";
121
+ ChargeStatus["Failed"] = "Failed";
122
+ })(ChargeStatus = exports.ChargeStatus || (exports.ChargeStatus = {}));
112
123
  /**
113
124
  *
114
125
  * @export
@@ -212,6 +223,40 @@ var NotificationCode;
212
223
  NotificationCode["ConsultationRefunded"] = "ConsultationRefunded";
213
224
  NotificationCode["ConsultationReady"] = "ConsultationReady";
214
225
  })(NotificationCode = exports.NotificationCode || (exports.NotificationCode = {}));
226
+ /**
227
+ *
228
+ * @export
229
+ * @enum {string}
230
+ */
231
+ var PaymentMethod;
232
+ (function (PaymentMethod) {
233
+ PaymentMethod["Stripe"] = "Stripe";
234
+ PaymentMethod["Paypal"] = "Paypal";
235
+ PaymentMethod["BankTransfer"] = "BankTransfer";
236
+ })(PaymentMethod = exports.PaymentMethod || (exports.PaymentMethod = {}));
237
+ /**
238
+ *
239
+ * @export
240
+ * @enum {string}
241
+ */
242
+ var PaymentStatus;
243
+ (function (PaymentStatus) {
244
+ PaymentStatus["Unpaid"] = "Unpaid";
245
+ PaymentStatus["Paid"] = "Paid";
246
+ PaymentStatus["RefundRequested"] = "RefundRequested";
247
+ PaymentStatus["Refunded"] = "Refunded";
248
+ })(PaymentStatus = exports.PaymentStatus || (exports.PaymentStatus = {}));
249
+ /**
250
+ *
251
+ * @export
252
+ * @enum {string}
253
+ */
254
+ var Platform;
255
+ (function (Platform) {
256
+ Platform["Web"] = "Web";
257
+ Platform["IOs"] = "iOS";
258
+ Platform["Android"] = "Android";
259
+ })(Platform = exports.Platform || (exports.Platform = {}));
215
260
  /**
216
261
  *
217
262
  * @export
@@ -222,6 +267,31 @@ var Procedure;
222
267
  Procedure["Treatment"] = "Treatment";
223
268
  Procedure["Diagnostic"] = "Diagnostic";
224
269
  })(Procedure = exports.Procedure || (exports.Procedure = {}));
270
+ /**
271
+ *
272
+ * @export
273
+ * @enum {string}
274
+ */
275
+ var QuestionStatus;
276
+ (function (QuestionStatus) {
277
+ QuestionStatus["New"] = "New";
278
+ QuestionStatus["Answered"] = "Answered";
279
+ QuestionStatus["Replied"] = "Replied";
280
+ QuestionStatus["Archived"] = "Archived";
281
+ })(QuestionStatus = exports.QuestionStatus || (exports.QuestionStatus = {}));
282
+ /**
283
+ *
284
+ * @export
285
+ * @enum {string}
286
+ */
287
+ var QuestionType;
288
+ (function (QuestionType) {
289
+ QuestionType["General"] = "General";
290
+ QuestionType["Health"] = "Health";
291
+ QuestionType["Treatment"] = "Treatment";
292
+ QuestionType["Travel"] = "Travel";
293
+ QuestionType["Consult"] = "Consult";
294
+ })(QuestionType = exports.QuestionType || (exports.QuestionType = {}));
225
295
  /**
226
296
  *
227
297
  * @export
@@ -245,6 +315,17 @@ var RefundPolicy;
245
315
  RefundPolicy["Refundable"] = "Refundable";
246
316
  RefundPolicy["PartialRefundable"] = "PartialRefundable";
247
317
  })(RefundPolicy = exports.RefundPolicy || (exports.RefundPolicy = {}));
318
+ /**
319
+ *
320
+ * @export
321
+ * @enum {string}
322
+ */
323
+ var RefundStatus;
324
+ (function (RefundStatus) {
325
+ RefundStatus["Pending"] = "Pending";
326
+ RefundStatus["Succeeded"] = "Succeeded";
327
+ RefundStatus["Failed"] = "Failed";
328
+ })(RefundStatus = exports.RefundStatus || (exports.RefundStatus = {}));
248
329
  /**
249
330
  *
250
331
  * @export
@@ -257,6 +338,18 @@ var RejectReason;
257
338
  RejectReason["ScheduleNotAvailable"] = "ScheduleNotAvailable";
258
339
  RejectReason["OtherReason"] = "OtherReason";
259
340
  })(RejectReason = exports.RejectReason || (exports.RejectReason = {}));
341
+ /**
342
+ *
343
+ * @export
344
+ * @enum {string}
345
+ */
346
+ var ReviewCategory;
347
+ (function (ReviewCategory) {
348
+ ReviewCategory["Services"] = "Services";
349
+ ReviewCategory["Hospitality"] = "Hospitality";
350
+ ReviewCategory["Transfer"] = "Transfer";
351
+ ReviewCategory["Etc"] = "Etc";
352
+ })(ReviewCategory = exports.ReviewCategory || (exports.ReviewCategory = {}));
260
353
  /**
261
354
  *
262
355
  * @export
@@ -289,6 +382,16 @@ var UserLocationType;
289
382
  UserLocationType["LivesIn"] = "LivesIn";
290
383
  UserLocationType["BirthPlace"] = "BirthPlace";
291
384
  })(UserLocationType = exports.UserLocationType || (exports.UserLocationType = {}));
385
+ /**
386
+ *
387
+ * @export
388
+ * @enum {string}
389
+ */
390
+ var VendorType;
391
+ (function (VendorType) {
392
+ VendorType["Stripe"] = "Stripe";
393
+ VendorType["WeChat"] = "WeChat";
394
+ })(VendorType = exports.VendorType || (exports.VendorType = {}));
292
395
  /**
293
396
  * AccreditationsApi - axios parameter creator
294
397
  * @export
@@ -12327,6 +12430,8 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
12327
12430
  * @param {string} [languageCode]
12328
12431
  * @param {boolean} [returnDefaultValue]
12329
12432
  * @param {Array<string>} [ids]
12433
+ * @param {string} [specialtyId]
12434
+ * @param {boolean} [consultationEnabled]
12330
12435
  * @param {string} [id]
12331
12436
  * @param {string} [fullname]
12332
12437
  * @param {string} [email]
@@ -12340,7 +12445,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
12340
12445
  * @param {*} [options] Override http request option.
12341
12446
  * @throws {RequiredError}
12342
12447
  */
12343
- apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
12448
+ apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
12344
12449
  if (options === void 0) { options = {}; }
12345
12450
  return __awaiter(_this, void 0, void 0, function () {
12346
12451
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -12374,6 +12479,12 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
12374
12479
  if (ids) {
12375
12480
  localVarQueryParameter['Ids'] = ids;
12376
12481
  }
12482
+ if (specialtyId !== undefined) {
12483
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
12484
+ }
12485
+ if (consultationEnabled !== undefined) {
12486
+ localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
12487
+ }
12377
12488
  if (id !== undefined) {
12378
12489
  localVarQueryParameter['Id'] = id;
12379
12490
  }
@@ -12470,6 +12581,8 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
12470
12581
  * @param {string} [languageCode]
12471
12582
  * @param {boolean} [returnDefaultValue]
12472
12583
  * @param {Array<string>} [ids]
12584
+ * @param {string} [specialtyId]
12585
+ * @param {boolean} [consultationEnabled]
12473
12586
  * @param {string} [id]
12474
12587
  * @param {string} [fullname]
12475
12588
  * @param {string} [email]
@@ -12483,7 +12596,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
12483
12596
  * @param {*} [options] Override http request option.
12484
12597
  * @throws {RequiredError}
12485
12598
  */
12486
- apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
12599
+ apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
12487
12600
  if (options === void 0) { options = {}; }
12488
12601
  return __awaiter(_this, void 0, void 0, function () {
12489
12602
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -12517,6 +12630,12 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
12517
12630
  if (ids) {
12518
12631
  localVarQueryParameter['Ids'] = ids;
12519
12632
  }
12633
+ if (specialtyId !== undefined) {
12634
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
12635
+ }
12636
+ if (consultationEnabled !== undefined) {
12637
+ localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
12638
+ }
12520
12639
  if (id !== undefined) {
12521
12640
  localVarQueryParameter['Id'] = id;
12522
12641
  }
@@ -13336,6 +13455,8 @@ exports.DoctorsApiFp = function (configuration) {
13336
13455
  * @param {string} [languageCode]
13337
13456
  * @param {boolean} [returnDefaultValue]
13338
13457
  * @param {Array<string>} [ids]
13458
+ * @param {string} [specialtyId]
13459
+ * @param {boolean} [consultationEnabled]
13339
13460
  * @param {string} [id]
13340
13461
  * @param {string} [fullname]
13341
13462
  * @param {string} [email]
@@ -13349,12 +13470,12 @@ exports.DoctorsApiFp = function (configuration) {
13349
13470
  * @param {*} [options] Override http request option.
13350
13471
  * @throws {RequiredError}
13351
13472
  */
13352
- apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13473
+ apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13353
13474
  return __awaiter(this, void 0, void 0, function () {
13354
13475
  var localVarAxiosArgs;
13355
13476
  return __generator(this, function (_a) {
13356
13477
  switch (_a.label) {
13357
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
13478
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
13358
13479
  case 1:
13359
13480
  localVarAxiosArgs = _a.sent();
13360
13481
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -13389,6 +13510,8 @@ exports.DoctorsApiFp = function (configuration) {
13389
13510
  * @param {string} [languageCode]
13390
13511
  * @param {boolean} [returnDefaultValue]
13391
13512
  * @param {Array<string>} [ids]
13513
+ * @param {string} [specialtyId]
13514
+ * @param {boolean} [consultationEnabled]
13392
13515
  * @param {string} [id]
13393
13516
  * @param {string} [fullname]
13394
13517
  * @param {string} [email]
@@ -13402,12 +13525,12 @@ exports.DoctorsApiFp = function (configuration) {
13402
13525
  * @param {*} [options] Override http request option.
13403
13526
  * @throws {RequiredError}
13404
13527
  */
13405
- apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13528
+ apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13406
13529
  return __awaiter(this, void 0, void 0, function () {
13407
13530
  var localVarAxiosArgs;
13408
13531
  return __generator(this, function (_a) {
13409
13532
  switch (_a.label) {
13410
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
13533
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
13411
13534
  case 1:
13412
13535
  localVarAxiosArgs = _a.sent();
13413
13536
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -13838,6 +13961,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
13838
13961
  * @param {string} [languageCode]
13839
13962
  * @param {boolean} [returnDefaultValue]
13840
13963
  * @param {Array<string>} [ids]
13964
+ * @param {string} [specialtyId]
13965
+ * @param {boolean} [consultationEnabled]
13841
13966
  * @param {string} [id]
13842
13967
  * @param {string} [fullname]
13843
13968
  * @param {string} [email]
@@ -13851,8 +13976,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
13851
13976
  * @param {*} [options] Override http request option.
13852
13977
  * @throws {RequiredError}
13853
13978
  */
13854
- apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13855
- return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
13979
+ apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13980
+ return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
13856
13981
  },
13857
13982
  /**
13858
13983
  *
@@ -13871,6 +13996,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
13871
13996
  * @param {string} [languageCode]
13872
13997
  * @param {boolean} [returnDefaultValue]
13873
13998
  * @param {Array<string>} [ids]
13999
+ * @param {string} [specialtyId]
14000
+ * @param {boolean} [consultationEnabled]
13874
14001
  * @param {string} [id]
13875
14002
  * @param {string} [fullname]
13876
14003
  * @param {string} [email]
@@ -13884,8 +14011,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
13884
14011
  * @param {*} [options] Override http request option.
13885
14012
  * @throws {RequiredError}
13886
14013
  */
13887
- apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13888
- return localVarFp.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
14014
+ apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14015
+ return localVarFp.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
13889
14016
  },
13890
14017
  /**
13891
14018
  *
@@ -14368,6 +14495,8 @@ var DoctorsApi = /** @class */ (function (_super) {
14368
14495
  * @param {string} [languageCode]
14369
14496
  * @param {boolean} [returnDefaultValue]
14370
14497
  * @param {Array<string>} [ids]
14498
+ * @param {string} [specialtyId]
14499
+ * @param {boolean} [consultationEnabled]
14371
14500
  * @param {string} [id]
14372
14501
  * @param {string} [fullname]
14373
14502
  * @param {string} [email]
@@ -14382,9 +14511,9 @@ var DoctorsApi = /** @class */ (function (_super) {
14382
14511
  * @throws {RequiredError}
14383
14512
  * @memberof DoctorsApi
14384
14513
  */
14385
- DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14514
+ DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14386
14515
  var _this = this;
14387
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
14516
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(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); });
14388
14517
  };
14389
14518
  /**
14390
14519
  *
@@ -14405,6 +14534,8 @@ var DoctorsApi = /** @class */ (function (_super) {
14405
14534
  * @param {string} [languageCode]
14406
14535
  * @param {boolean} [returnDefaultValue]
14407
14536
  * @param {Array<string>} [ids]
14537
+ * @param {string} [specialtyId]
14538
+ * @param {boolean} [consultationEnabled]
14408
14539
  * @param {string} [id]
14409
14540
  * @param {string} [fullname]
14410
14541
  * @param {string} [email]
@@ -14419,9 +14550,9 @@ var DoctorsApi = /** @class */ (function (_super) {
14419
14550
  * @throws {RequiredError}
14420
14551
  * @memberof DoctorsApi
14421
14552
  */
14422
- DoctorsApi.prototype.apiV1DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14553
+ DoctorsApi.prototype.apiV1DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14423
14554
  var _this = this;
14424
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
14555
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(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); });
14425
14556
  };
14426
14557
  /**
14427
14558
  *
@@ -18414,13 +18545,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
18414
18545
  * @param {string} [languageCode]
18415
18546
  * @param {boolean} [showHidden]
18416
18547
  * @param {boolean} [returnDefaultValue]
18548
+ * @param {boolean} [includeServices]
18417
18549
  * @param {number} [page]
18418
18550
  * @param {number} [limit]
18419
18551
  * @param {Date} [lastRetrieved]
18420
18552
  * @param {*} [options] Override http request option.
18421
18553
  * @throws {RequiredError}
18422
18554
  */
18423
- apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
18555
+ apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
18424
18556
  if (options === void 0) { options = {}; }
18425
18557
  return __awaiter(_this, void 0, void 0, function () {
18426
18558
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -18475,6 +18607,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
18475
18607
  if (returnDefaultValue !== undefined) {
18476
18608
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
18477
18609
  }
18610
+ if (includeServices !== undefined) {
18611
+ localVarQueryParameter['IncludeServices'] = includeServices;
18612
+ }
18478
18613
  if (page !== undefined) {
18479
18614
  localVarQueryParameter['page'] = page;
18480
18615
  }
@@ -18597,10 +18732,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
18597
18732
  * @param {string} specialtyId
18598
18733
  * @param {string} [languageCode]
18599
18734
  * @param {boolean} [returnDefaultValue]
18735
+ * @param {boolean} [includeServices]
18600
18736
  * @param {*} [options] Override http request option.
18601
18737
  * @throws {RequiredError}
18602
18738
  */
18603
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
18739
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
18604
18740
  if (options === void 0) { options = {}; }
18605
18741
  return __awaiter(_this, void 0, void 0, function () {
18606
18742
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -18634,6 +18770,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
18634
18770
  if (returnDefaultValue !== undefined) {
18635
18771
  localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
18636
18772
  }
18773
+ if (includeServices !== undefined) {
18774
+ localVarQueryParameter['includeServices'] = includeServices;
18775
+ }
18637
18776
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
18638
18777
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18639
18778
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -20180,18 +20319,19 @@ exports.HospitalsApiFp = function (configuration) {
20180
20319
  * @param {string} [languageCode]
20181
20320
  * @param {boolean} [showHidden]
20182
20321
  * @param {boolean} [returnDefaultValue]
20322
+ * @param {boolean} [includeServices]
20183
20323
  * @param {number} [page]
20184
20324
  * @param {number} [limit]
20185
20325
  * @param {Date} [lastRetrieved]
20186
20326
  * @param {*} [options] Override http request option.
20187
20327
  * @throws {RequiredError}
20188
20328
  */
20189
- apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
20329
+ apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
20190
20330
  return __awaiter(this, void 0, void 0, function () {
20191
20331
  var localVarAxiosArgs;
20192
20332
  return __generator(this, function (_a) {
20193
20333
  switch (_a.label) {
20194
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
20334
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options)];
20195
20335
  case 1:
20196
20336
  localVarAxiosArgs = _a.sent();
20197
20337
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -20248,15 +20388,16 @@ exports.HospitalsApiFp = function (configuration) {
20248
20388
  * @param {string} specialtyId
20249
20389
  * @param {string} [languageCode]
20250
20390
  * @param {boolean} [returnDefaultValue]
20391
+ * @param {boolean} [includeServices]
20251
20392
  * @param {*} [options] Override http request option.
20252
20393
  * @throws {RequiredError}
20253
20394
  */
20254
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
20395
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
20255
20396
  return __awaiter(this, void 0, void 0, function () {
20256
20397
  var localVarAxiosArgs;
20257
20398
  return __generator(this, function (_a) {
20258
20399
  switch (_a.label) {
20259
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options)];
20400
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options)];
20260
20401
  case 1:
20261
20402
  localVarAxiosArgs = _a.sent();
20262
20403
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -20989,14 +21130,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
20989
21130
  * @param {string} [languageCode]
20990
21131
  * @param {boolean} [showHidden]
20991
21132
  * @param {boolean} [returnDefaultValue]
21133
+ * @param {boolean} [includeServices]
20992
21134
  * @param {number} [page]
20993
21135
  * @param {number} [limit]
20994
21136
  * @param {Date} [lastRetrieved]
20995
21137
  * @param {*} [options] Override http request option.
20996
21138
  * @throws {RequiredError}
20997
21139
  */
20998
- apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
20999
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
21140
+ apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
21141
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
21000
21142
  },
21001
21143
  /**
21002
21144
  *
@@ -21027,11 +21169,12 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
21027
21169
  * @param {string} specialtyId
21028
21170
  * @param {string} [languageCode]
21029
21171
  * @param {boolean} [returnDefaultValue]
21172
+ * @param {boolean} [includeServices]
21030
21173
  * @param {*} [options] Override http request option.
21031
21174
  * @throws {RequiredError}
21032
21175
  */
21033
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
21034
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
21176
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
21177
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(axios, basePath); });
21035
21178
  },
21036
21179
  /**
21037
21180
  *
@@ -21678,6 +21821,7 @@ var HospitalsApi = /** @class */ (function (_super) {
21678
21821
  * @param {string} [languageCode]
21679
21822
  * @param {boolean} [showHidden]
21680
21823
  * @param {boolean} [returnDefaultValue]
21824
+ * @param {boolean} [includeServices]
21681
21825
  * @param {number} [page]
21682
21826
  * @param {number} [limit]
21683
21827
  * @param {Date} [lastRetrieved]
@@ -21685,9 +21829,9 @@ var HospitalsApi = /** @class */ (function (_super) {
21685
21829
  * @throws {RequiredError}
21686
21830
  * @memberof HospitalsApi
21687
21831
  */
21688
- HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
21832
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
21689
21833
  var _this = this;
21690
- return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
21834
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(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); });
21691
21835
  };
21692
21836
  /**
21693
21837
  *
@@ -21722,13 +21866,14 @@ var HospitalsApi = /** @class */ (function (_super) {
21722
21866
  * @param {string} specialtyId
21723
21867
  * @param {string} [languageCode]
21724
21868
  * @param {boolean} [returnDefaultValue]
21869
+ * @param {boolean} [includeServices]
21725
21870
  * @param {*} [options] Override http request option.
21726
21871
  * @throws {RequiredError}
21727
21872
  * @memberof HospitalsApi
21728
21873
  */
21729
- HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
21874
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
21730
21875
  var _this = this;
21731
- return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
21876
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(_this.axios, _this.basePath); });
21732
21877
  };
21733
21878
  /**
21734
21879
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-admin-api-client-typescript",
3
- "version": "2.8.0",
3
+ "version": "2.8.3",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital admin",
5
5
  "main": "index.js",
6
6
  "scripts": {