ch-admin-api-client-typescript 2.8.0 → 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.d.ts +5211 -997
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +132 -15
- package/package.json +1 -1
- package/src/api.ts +4254 -14
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
|
|
@@ -18414,13 +18517,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18414
18517
|
* @param {string} [languageCode]
|
|
18415
18518
|
* @param {boolean} [showHidden]
|
|
18416
18519
|
* @param {boolean} [returnDefaultValue]
|
|
18520
|
+
* @param {boolean} [includeServices]
|
|
18417
18521
|
* @param {number} [page]
|
|
18418
18522
|
* @param {number} [limit]
|
|
18419
18523
|
* @param {Date} [lastRetrieved]
|
|
18420
18524
|
* @param {*} [options] Override http request option.
|
|
18421
18525
|
* @throws {RequiredError}
|
|
18422
18526
|
*/
|
|
18423
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18527
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
18424
18528
|
if (options === void 0) { options = {}; }
|
|
18425
18529
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18426
18530
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18475,6 +18579,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18475
18579
|
if (returnDefaultValue !== undefined) {
|
|
18476
18580
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18477
18581
|
}
|
|
18582
|
+
if (includeServices !== undefined) {
|
|
18583
|
+
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
18584
|
+
}
|
|
18478
18585
|
if (page !== undefined) {
|
|
18479
18586
|
localVarQueryParameter['page'] = page;
|
|
18480
18587
|
}
|
|
@@ -18597,10 +18704,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18597
18704
|
* @param {string} specialtyId
|
|
18598
18705
|
* @param {string} [languageCode]
|
|
18599
18706
|
* @param {boolean} [returnDefaultValue]
|
|
18707
|
+
* @param {boolean} [includeServices]
|
|
18600
18708
|
* @param {*} [options] Override http request option.
|
|
18601
18709
|
* @throws {RequiredError}
|
|
18602
18710
|
*/
|
|
18603
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
18711
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
|
|
18604
18712
|
if (options === void 0) { options = {}; }
|
|
18605
18713
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18606
18714
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18634,6 +18742,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18634
18742
|
if (returnDefaultValue !== undefined) {
|
|
18635
18743
|
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
18636
18744
|
}
|
|
18745
|
+
if (includeServices !== undefined) {
|
|
18746
|
+
localVarQueryParameter['includeServices'] = includeServices;
|
|
18747
|
+
}
|
|
18637
18748
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18638
18749
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18639
18750
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -20180,18 +20291,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20180
20291
|
* @param {string} [languageCode]
|
|
20181
20292
|
* @param {boolean} [showHidden]
|
|
20182
20293
|
* @param {boolean} [returnDefaultValue]
|
|
20294
|
+
* @param {boolean} [includeServices]
|
|
20183
20295
|
* @param {number} [page]
|
|
20184
20296
|
* @param {number} [limit]
|
|
20185
20297
|
* @param {Date} [lastRetrieved]
|
|
20186
20298
|
* @param {*} [options] Override http request option.
|
|
20187
20299
|
* @throws {RequiredError}
|
|
20188
20300
|
*/
|
|
20189
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20301
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
20190
20302
|
return __awaiter(this, void 0, void 0, function () {
|
|
20191
20303
|
var localVarAxiosArgs;
|
|
20192
20304
|
return __generator(this, function (_a) {
|
|
20193
20305
|
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)];
|
|
20306
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options)];
|
|
20195
20307
|
case 1:
|
|
20196
20308
|
localVarAxiosArgs = _a.sent();
|
|
20197
20309
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20248,15 +20360,16 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20248
20360
|
* @param {string} specialtyId
|
|
20249
20361
|
* @param {string} [languageCode]
|
|
20250
20362
|
* @param {boolean} [returnDefaultValue]
|
|
20363
|
+
* @param {boolean} [includeServices]
|
|
20251
20364
|
* @param {*} [options] Override http request option.
|
|
20252
20365
|
* @throws {RequiredError}
|
|
20253
20366
|
*/
|
|
20254
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
20367
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
|
|
20255
20368
|
return __awaiter(this, void 0, void 0, function () {
|
|
20256
20369
|
var localVarAxiosArgs;
|
|
20257
20370
|
return __generator(this, function (_a) {
|
|
20258
20371
|
switch (_a.label) {
|
|
20259
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options)];
|
|
20372
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options)];
|
|
20260
20373
|
case 1:
|
|
20261
20374
|
localVarAxiosArgs = _a.sent();
|
|
20262
20375
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20989,14 +21102,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20989
21102
|
* @param {string} [languageCode]
|
|
20990
21103
|
* @param {boolean} [showHidden]
|
|
20991
21104
|
* @param {boolean} [returnDefaultValue]
|
|
21105
|
+
* @param {boolean} [includeServices]
|
|
20992
21106
|
* @param {number} [page]
|
|
20993
21107
|
* @param {number} [limit]
|
|
20994
21108
|
* @param {Date} [lastRetrieved]
|
|
20995
21109
|
* @param {*} [options] Override http request option.
|
|
20996
21110
|
* @throws {RequiredError}
|
|
20997
21111
|
*/
|
|
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); });
|
|
21112
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
21113
|
+
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
21114
|
},
|
|
21001
21115
|
/**
|
|
21002
21116
|
*
|
|
@@ -21027,11 +21141,12 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
21027
21141
|
* @param {string} specialtyId
|
|
21028
21142
|
* @param {string} [languageCode]
|
|
21029
21143
|
* @param {boolean} [returnDefaultValue]
|
|
21144
|
+
* @param {boolean} [includeServices]
|
|
21030
21145
|
* @param {*} [options] Override http request option.
|
|
21031
21146
|
* @throws {RequiredError}
|
|
21032
21147
|
*/
|
|
21033
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
21034
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
21148
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
|
|
21149
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(axios, basePath); });
|
|
21035
21150
|
},
|
|
21036
21151
|
/**
|
|
21037
21152
|
*
|
|
@@ -21678,6 +21793,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21678
21793
|
* @param {string} [languageCode]
|
|
21679
21794
|
* @param {boolean} [showHidden]
|
|
21680
21795
|
* @param {boolean} [returnDefaultValue]
|
|
21796
|
+
* @param {boolean} [includeServices]
|
|
21681
21797
|
* @param {number} [page]
|
|
21682
21798
|
* @param {number} [limit]
|
|
21683
21799
|
* @param {Date} [lastRetrieved]
|
|
@@ -21685,9 +21801,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21685
21801
|
* @throws {RequiredError}
|
|
21686
21802
|
* @memberof HospitalsApi
|
|
21687
21803
|
*/
|
|
21688
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21804
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
21689
21805
|
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); });
|
|
21806
|
+
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
21807
|
};
|
|
21692
21808
|
/**
|
|
21693
21809
|
*
|
|
@@ -21722,13 +21838,14 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21722
21838
|
* @param {string} specialtyId
|
|
21723
21839
|
* @param {string} [languageCode]
|
|
21724
21840
|
* @param {boolean} [returnDefaultValue]
|
|
21841
|
+
* @param {boolean} [includeServices]
|
|
21725
21842
|
* @param {*} [options] Override http request option.
|
|
21726
21843
|
* @throws {RequiredError}
|
|
21727
21844
|
* @memberof HospitalsApi
|
|
21728
21845
|
*/
|
|
21729
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
21846
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
|
|
21730
21847
|
var _this = this;
|
|
21731
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21848
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21732
21849
|
};
|
|
21733
21850
|
/**
|
|
21734
21851
|
*
|