ch-admin-api-client-typescript 2.7.8 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +5332 -867
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +342 -29
- package/package.json +1 -1
- package/src/api.ts +4663 -67
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
|
|
@@ -9628,6 +9731,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
9628
9731
|
* @param {string} [hospitalName]
|
|
9629
9732
|
* @param {string} [specialtyId]
|
|
9630
9733
|
* @param {string} [specialtyTypeId]
|
|
9734
|
+
* @param {string} [serviceId]
|
|
9631
9735
|
* @param {string} [exceptHospitalId]
|
|
9632
9736
|
* @param {string} [exceptDealId]
|
|
9633
9737
|
* @param {Array<string>} [ids]
|
|
@@ -9640,7 +9744,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
9640
9744
|
* @param {*} [options] Override http request option.
|
|
9641
9745
|
* @throws {RequiredError}
|
|
9642
9746
|
*/
|
|
9643
|
-
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9747
|
+
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9644
9748
|
if (options === void 0) { options = {}; }
|
|
9645
9749
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9646
9750
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9686,6 +9790,9 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
9686
9790
|
if (specialtyTypeId !== undefined) {
|
|
9687
9791
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
9688
9792
|
}
|
|
9793
|
+
if (serviceId !== undefined) {
|
|
9794
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
9795
|
+
}
|
|
9689
9796
|
if (exceptHospitalId !== undefined) {
|
|
9690
9797
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
9691
9798
|
}
|
|
@@ -10124,6 +10231,7 @@ exports.DealsApiFp = function (configuration) {
|
|
|
10124
10231
|
* @param {string} [hospitalName]
|
|
10125
10232
|
* @param {string} [specialtyId]
|
|
10126
10233
|
* @param {string} [specialtyTypeId]
|
|
10234
|
+
* @param {string} [serviceId]
|
|
10127
10235
|
* @param {string} [exceptHospitalId]
|
|
10128
10236
|
* @param {string} [exceptDealId]
|
|
10129
10237
|
* @param {Array<string>} [ids]
|
|
@@ -10136,12 +10244,12 @@ exports.DealsApiFp = function (configuration) {
|
|
|
10136
10244
|
* @param {*} [options] Override http request option.
|
|
10137
10245
|
* @throws {RequiredError}
|
|
10138
10246
|
*/
|
|
10139
|
-
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10247
|
+
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10140
10248
|
return __awaiter(this, void 0, void 0, function () {
|
|
10141
10249
|
var localVarAxiosArgs;
|
|
10142
10250
|
return __generator(this, function (_a) {
|
|
10143
10251
|
switch (_a.label) {
|
|
10144
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
10252
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
10145
10253
|
case 1:
|
|
10146
10254
|
localVarAxiosArgs = _a.sent();
|
|
10147
10255
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10366,6 +10474,7 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
10366
10474
|
* @param {string} [hospitalName]
|
|
10367
10475
|
* @param {string} [specialtyId]
|
|
10368
10476
|
* @param {string} [specialtyTypeId]
|
|
10477
|
+
* @param {string} [serviceId]
|
|
10369
10478
|
* @param {string} [exceptHospitalId]
|
|
10370
10479
|
* @param {string} [exceptDealId]
|
|
10371
10480
|
* @param {Array<string>} [ids]
|
|
@@ -10378,8 +10487,8 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
10378
10487
|
* @param {*} [options] Override http request option.
|
|
10379
10488
|
* @throws {RequiredError}
|
|
10380
10489
|
*/
|
|
10381
|
-
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10382
|
-
return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
10490
|
+
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10491
|
+
return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
10383
10492
|
},
|
|
10384
10493
|
/**
|
|
10385
10494
|
*
|
|
@@ -10608,6 +10717,7 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
10608
10717
|
* @param {string} [hospitalName]
|
|
10609
10718
|
* @param {string} [specialtyId]
|
|
10610
10719
|
* @param {string} [specialtyTypeId]
|
|
10720
|
+
* @param {string} [serviceId]
|
|
10611
10721
|
* @param {string} [exceptHospitalId]
|
|
10612
10722
|
* @param {string} [exceptDealId]
|
|
10613
10723
|
* @param {Array<string>} [ids]
|
|
@@ -10621,9 +10731,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
10621
10731
|
* @throws {RequiredError}
|
|
10622
10732
|
* @memberof DealsApi
|
|
10623
10733
|
*/
|
|
10624
|
-
DealsApi.prototype.apiV1DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10734
|
+
DealsApi.prototype.apiV1DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10625
10735
|
var _this = this;
|
|
10626
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10736
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10627
10737
|
};
|
|
10628
10738
|
/**
|
|
10629
10739
|
*
|
|
@@ -12456,6 +12566,107 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12456
12566
|
});
|
|
12457
12567
|
});
|
|
12458
12568
|
},
|
|
12569
|
+
/**
|
|
12570
|
+
*
|
|
12571
|
+
* @summary Get all Doctors.
|
|
12572
|
+
* @param {string} [hospitalId]
|
|
12573
|
+
* @param {string} [languageCode]
|
|
12574
|
+
* @param {boolean} [returnDefaultValue]
|
|
12575
|
+
* @param {Array<string>} [ids]
|
|
12576
|
+
* @param {string} [id]
|
|
12577
|
+
* @param {string} [fullname]
|
|
12578
|
+
* @param {string} [email]
|
|
12579
|
+
* @param {Gender} [gender]
|
|
12580
|
+
* @param {Date} [dateOfBirth]
|
|
12581
|
+
* @param {Date} [created]
|
|
12582
|
+
* @param {boolean} [showHidden]
|
|
12583
|
+
* @param {number} [page]
|
|
12584
|
+
* @param {number} [limit]
|
|
12585
|
+
* @param {Date} [lastRetrieved]
|
|
12586
|
+
* @param {*} [options] Override http request option.
|
|
12587
|
+
* @throws {RequiredError}
|
|
12588
|
+
*/
|
|
12589
|
+
apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
12590
|
+
if (options === void 0) { options = {}; }
|
|
12591
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
12592
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12593
|
+
return __generator(this, function (_a) {
|
|
12594
|
+
switch (_a.label) {
|
|
12595
|
+
case 0:
|
|
12596
|
+
localVarPath = "/api/v1/doctors/simple";
|
|
12597
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12598
|
+
if (configuration) {
|
|
12599
|
+
baseOptions = configuration.baseOptions;
|
|
12600
|
+
}
|
|
12601
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
12602
|
+
localVarHeaderParameter = {};
|
|
12603
|
+
localVarQueryParameter = {};
|
|
12604
|
+
// authentication oauth2 required
|
|
12605
|
+
// oauth required
|
|
12606
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
12607
|
+
case 1:
|
|
12608
|
+
// authentication oauth2 required
|
|
12609
|
+
// oauth required
|
|
12610
|
+
_a.sent();
|
|
12611
|
+
if (hospitalId !== undefined) {
|
|
12612
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
12613
|
+
}
|
|
12614
|
+
if (languageCode !== undefined) {
|
|
12615
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
12616
|
+
}
|
|
12617
|
+
if (returnDefaultValue !== undefined) {
|
|
12618
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
12619
|
+
}
|
|
12620
|
+
if (ids) {
|
|
12621
|
+
localVarQueryParameter['Ids'] = ids;
|
|
12622
|
+
}
|
|
12623
|
+
if (id !== undefined) {
|
|
12624
|
+
localVarQueryParameter['Id'] = id;
|
|
12625
|
+
}
|
|
12626
|
+
if (fullname !== undefined) {
|
|
12627
|
+
localVarQueryParameter['Fullname'] = fullname;
|
|
12628
|
+
}
|
|
12629
|
+
if (email !== undefined) {
|
|
12630
|
+
localVarQueryParameter['Email'] = email;
|
|
12631
|
+
}
|
|
12632
|
+
if (gender !== undefined) {
|
|
12633
|
+
localVarQueryParameter['Gender'] = gender;
|
|
12634
|
+
}
|
|
12635
|
+
if (dateOfBirth !== undefined) {
|
|
12636
|
+
localVarQueryParameter['DateOfBirth'] = (dateOfBirth instanceof Date) ?
|
|
12637
|
+
dateOfBirth.toISOString() :
|
|
12638
|
+
dateOfBirth;
|
|
12639
|
+
}
|
|
12640
|
+
if (created !== undefined) {
|
|
12641
|
+
localVarQueryParameter['Created'] = (created instanceof Date) ?
|
|
12642
|
+
created.toISOString() :
|
|
12643
|
+
created;
|
|
12644
|
+
}
|
|
12645
|
+
if (showHidden !== undefined) {
|
|
12646
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
12647
|
+
}
|
|
12648
|
+
if (page !== undefined) {
|
|
12649
|
+
localVarQueryParameter['page'] = page;
|
|
12650
|
+
}
|
|
12651
|
+
if (limit !== undefined) {
|
|
12652
|
+
localVarQueryParameter['limit'] = limit;
|
|
12653
|
+
}
|
|
12654
|
+
if (lastRetrieved !== undefined) {
|
|
12655
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
12656
|
+
lastRetrieved.toISOString() :
|
|
12657
|
+
lastRetrieved;
|
|
12658
|
+
}
|
|
12659
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12660
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12661
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12662
|
+
return [2 /*return*/, {
|
|
12663
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
12664
|
+
options: localVarRequestOptions,
|
|
12665
|
+
}];
|
|
12666
|
+
}
|
|
12667
|
+
});
|
|
12668
|
+
});
|
|
12669
|
+
},
|
|
12459
12670
|
/**
|
|
12460
12671
|
*
|
|
12461
12672
|
* @param {string} slug
|
|
@@ -13274,6 +13485,39 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
13274
13485
|
});
|
|
13275
13486
|
});
|
|
13276
13487
|
},
|
|
13488
|
+
/**
|
|
13489
|
+
*
|
|
13490
|
+
* @summary Get all Doctors.
|
|
13491
|
+
* @param {string} [hospitalId]
|
|
13492
|
+
* @param {string} [languageCode]
|
|
13493
|
+
* @param {boolean} [returnDefaultValue]
|
|
13494
|
+
* @param {Array<string>} [ids]
|
|
13495
|
+
* @param {string} [id]
|
|
13496
|
+
* @param {string} [fullname]
|
|
13497
|
+
* @param {string} [email]
|
|
13498
|
+
* @param {Gender} [gender]
|
|
13499
|
+
* @param {Date} [dateOfBirth]
|
|
13500
|
+
* @param {Date} [created]
|
|
13501
|
+
* @param {boolean} [showHidden]
|
|
13502
|
+
* @param {number} [page]
|
|
13503
|
+
* @param {number} [limit]
|
|
13504
|
+
* @param {Date} [lastRetrieved]
|
|
13505
|
+
* @param {*} [options] Override http request option.
|
|
13506
|
+
* @throws {RequiredError}
|
|
13507
|
+
*/
|
|
13508
|
+
apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13509
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13510
|
+
var localVarAxiosArgs;
|
|
13511
|
+
return __generator(this, function (_a) {
|
|
13512
|
+
switch (_a.label) {
|
|
13513
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
13514
|
+
case 1:
|
|
13515
|
+
localVarAxiosArgs = _a.sent();
|
|
13516
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
13517
|
+
}
|
|
13518
|
+
});
|
|
13519
|
+
});
|
|
13520
|
+
},
|
|
13277
13521
|
/**
|
|
13278
13522
|
*
|
|
13279
13523
|
* @param {string} slug
|
|
@@ -13723,6 +13967,29 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13723
13967
|
apiV1DoctorsPost: function (createDoctorCommand, options) {
|
|
13724
13968
|
return localVarFp.apiV1DoctorsPost(createDoctorCommand, options).then(function (request) { return request(axios, basePath); });
|
|
13725
13969
|
},
|
|
13970
|
+
/**
|
|
13971
|
+
*
|
|
13972
|
+
* @summary Get all Doctors.
|
|
13973
|
+
* @param {string} [hospitalId]
|
|
13974
|
+
* @param {string} [languageCode]
|
|
13975
|
+
* @param {boolean} [returnDefaultValue]
|
|
13976
|
+
* @param {Array<string>} [ids]
|
|
13977
|
+
* @param {string} [id]
|
|
13978
|
+
* @param {string} [fullname]
|
|
13979
|
+
* @param {string} [email]
|
|
13980
|
+
* @param {Gender} [gender]
|
|
13981
|
+
* @param {Date} [dateOfBirth]
|
|
13982
|
+
* @param {Date} [created]
|
|
13983
|
+
* @param {boolean} [showHidden]
|
|
13984
|
+
* @param {number} [page]
|
|
13985
|
+
* @param {number} [limit]
|
|
13986
|
+
* @param {Date} [lastRetrieved]
|
|
13987
|
+
* @param {*} [options] Override http request option.
|
|
13988
|
+
* @throws {RequiredError}
|
|
13989
|
+
*/
|
|
13990
|
+
apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13991
|
+
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); });
|
|
13992
|
+
},
|
|
13726
13993
|
/**
|
|
13727
13994
|
*
|
|
13728
13995
|
* @param {string} slug
|
|
@@ -14234,6 +14501,31 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
14234
14501
|
var _this = this;
|
|
14235
14502
|
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsPost(createDoctorCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14236
14503
|
};
|
|
14504
|
+
/**
|
|
14505
|
+
*
|
|
14506
|
+
* @summary Get all Doctors.
|
|
14507
|
+
* @param {string} [hospitalId]
|
|
14508
|
+
* @param {string} [languageCode]
|
|
14509
|
+
* @param {boolean} [returnDefaultValue]
|
|
14510
|
+
* @param {Array<string>} [ids]
|
|
14511
|
+
* @param {string} [id]
|
|
14512
|
+
* @param {string} [fullname]
|
|
14513
|
+
* @param {string} [email]
|
|
14514
|
+
* @param {Gender} [gender]
|
|
14515
|
+
* @param {Date} [dateOfBirth]
|
|
14516
|
+
* @param {Date} [created]
|
|
14517
|
+
* @param {boolean} [showHidden]
|
|
14518
|
+
* @param {number} [page]
|
|
14519
|
+
* @param {number} [limit]
|
|
14520
|
+
* @param {Date} [lastRetrieved]
|
|
14521
|
+
* @param {*} [options] Override http request option.
|
|
14522
|
+
* @throws {RequiredError}
|
|
14523
|
+
* @memberof DoctorsApi
|
|
14524
|
+
*/
|
|
14525
|
+
DoctorsApi.prototype.apiV1DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
14526
|
+
var _this = this;
|
|
14527
|
+
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); });
|
|
14528
|
+
};
|
|
14237
14529
|
/**
|
|
14238
14530
|
*
|
|
14239
14531
|
* @param {string} slug
|
|
@@ -18225,13 +18517,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18225
18517
|
* @param {string} [languageCode]
|
|
18226
18518
|
* @param {boolean} [showHidden]
|
|
18227
18519
|
* @param {boolean} [returnDefaultValue]
|
|
18520
|
+
* @param {boolean} [includeServices]
|
|
18228
18521
|
* @param {number} [page]
|
|
18229
18522
|
* @param {number} [limit]
|
|
18230
18523
|
* @param {Date} [lastRetrieved]
|
|
18231
18524
|
* @param {*} [options] Override http request option.
|
|
18232
18525
|
* @throws {RequiredError}
|
|
18233
18526
|
*/
|
|
18234
|
-
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) {
|
|
18235
18528
|
if (options === void 0) { options = {}; }
|
|
18236
18529
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18237
18530
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18286,6 +18579,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18286
18579
|
if (returnDefaultValue !== undefined) {
|
|
18287
18580
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18288
18581
|
}
|
|
18582
|
+
if (includeServices !== undefined) {
|
|
18583
|
+
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
18584
|
+
}
|
|
18289
18585
|
if (page !== undefined) {
|
|
18290
18586
|
localVarQueryParameter['page'] = page;
|
|
18291
18587
|
}
|
|
@@ -18408,10 +18704,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18408
18704
|
* @param {string} specialtyId
|
|
18409
18705
|
* @param {string} [languageCode]
|
|
18410
18706
|
* @param {boolean} [returnDefaultValue]
|
|
18707
|
+
* @param {boolean} [includeServices]
|
|
18411
18708
|
* @param {*} [options] Override http request option.
|
|
18412
18709
|
* @throws {RequiredError}
|
|
18413
18710
|
*/
|
|
18414
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
18711
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
|
|
18415
18712
|
if (options === void 0) { options = {}; }
|
|
18416
18713
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18417
18714
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18445,6 +18742,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18445
18742
|
if (returnDefaultValue !== undefined) {
|
|
18446
18743
|
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
18447
18744
|
}
|
|
18745
|
+
if (includeServices !== undefined) {
|
|
18746
|
+
localVarQueryParameter['includeServices'] = includeServices;
|
|
18747
|
+
}
|
|
18448
18748
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18449
18749
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18450
18750
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -19991,18 +20291,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19991
20291
|
* @param {string} [languageCode]
|
|
19992
20292
|
* @param {boolean} [showHidden]
|
|
19993
20293
|
* @param {boolean} [returnDefaultValue]
|
|
20294
|
+
* @param {boolean} [includeServices]
|
|
19994
20295
|
* @param {number} [page]
|
|
19995
20296
|
* @param {number} [limit]
|
|
19996
20297
|
* @param {Date} [lastRetrieved]
|
|
19997
20298
|
* @param {*} [options] Override http request option.
|
|
19998
20299
|
* @throws {RequiredError}
|
|
19999
20300
|
*/
|
|
20000
|
-
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) {
|
|
20001
20302
|
return __awaiter(this, void 0, void 0, function () {
|
|
20002
20303
|
var localVarAxiosArgs;
|
|
20003
20304
|
return __generator(this, function (_a) {
|
|
20004
20305
|
switch (_a.label) {
|
|
20005
|
-
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)];
|
|
20006
20307
|
case 1:
|
|
20007
20308
|
localVarAxiosArgs = _a.sent();
|
|
20008
20309
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20059,15 +20360,16 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20059
20360
|
* @param {string} specialtyId
|
|
20060
20361
|
* @param {string} [languageCode]
|
|
20061
20362
|
* @param {boolean} [returnDefaultValue]
|
|
20363
|
+
* @param {boolean} [includeServices]
|
|
20062
20364
|
* @param {*} [options] Override http request option.
|
|
20063
20365
|
* @throws {RequiredError}
|
|
20064
20366
|
*/
|
|
20065
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
20367
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
|
|
20066
20368
|
return __awaiter(this, void 0, void 0, function () {
|
|
20067
20369
|
var localVarAxiosArgs;
|
|
20068
20370
|
return __generator(this, function (_a) {
|
|
20069
20371
|
switch (_a.label) {
|
|
20070
|
-
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)];
|
|
20071
20373
|
case 1:
|
|
20072
20374
|
localVarAxiosArgs = _a.sent();
|
|
20073
20375
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20800,14 +21102,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20800
21102
|
* @param {string} [languageCode]
|
|
20801
21103
|
* @param {boolean} [showHidden]
|
|
20802
21104
|
* @param {boolean} [returnDefaultValue]
|
|
21105
|
+
* @param {boolean} [includeServices]
|
|
20803
21106
|
* @param {number} [page]
|
|
20804
21107
|
* @param {number} [limit]
|
|
20805
21108
|
* @param {Date} [lastRetrieved]
|
|
20806
21109
|
* @param {*} [options] Override http request option.
|
|
20807
21110
|
* @throws {RequiredError}
|
|
20808
21111
|
*/
|
|
20809
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20810
|
-
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); });
|
|
20811
21114
|
},
|
|
20812
21115
|
/**
|
|
20813
21116
|
*
|
|
@@ -20838,11 +21141,12 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20838
21141
|
* @param {string} specialtyId
|
|
20839
21142
|
* @param {string} [languageCode]
|
|
20840
21143
|
* @param {boolean} [returnDefaultValue]
|
|
21144
|
+
* @param {boolean} [includeServices]
|
|
20841
21145
|
* @param {*} [options] Override http request option.
|
|
20842
21146
|
* @throws {RequiredError}
|
|
20843
21147
|
*/
|
|
20844
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
20845
|
-
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); });
|
|
20846
21150
|
},
|
|
20847
21151
|
/**
|
|
20848
21152
|
*
|
|
@@ -21489,6 +21793,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21489
21793
|
* @param {string} [languageCode]
|
|
21490
21794
|
* @param {boolean} [showHidden]
|
|
21491
21795
|
* @param {boolean} [returnDefaultValue]
|
|
21796
|
+
* @param {boolean} [includeServices]
|
|
21492
21797
|
* @param {number} [page]
|
|
21493
21798
|
* @param {number} [limit]
|
|
21494
21799
|
* @param {Date} [lastRetrieved]
|
|
@@ -21496,9 +21801,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21496
21801
|
* @throws {RequiredError}
|
|
21497
21802
|
* @memberof HospitalsApi
|
|
21498
21803
|
*/
|
|
21499
|
-
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) {
|
|
21500
21805
|
var _this = this;
|
|
21501
|
-
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); });
|
|
21502
21807
|
};
|
|
21503
21808
|
/**
|
|
21504
21809
|
*
|
|
@@ -21533,13 +21838,14 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21533
21838
|
* @param {string} specialtyId
|
|
21534
21839
|
* @param {string} [languageCode]
|
|
21535
21840
|
* @param {boolean} [returnDefaultValue]
|
|
21841
|
+
* @param {boolean} [includeServices]
|
|
21536
21842
|
* @param {*} [options] Override http request option.
|
|
21537
21843
|
* @throws {RequiredError}
|
|
21538
21844
|
* @memberof HospitalsApi
|
|
21539
21845
|
*/
|
|
21540
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
21846
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
|
|
21541
21847
|
var _this = this;
|
|
21542
|
-
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); });
|
|
21543
21849
|
};
|
|
21544
21850
|
/**
|
|
21545
21851
|
*
|
|
@@ -27361,6 +27667,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
27361
27667
|
* @param {string} [serviceName]
|
|
27362
27668
|
* @param {string} [patientId]
|
|
27363
27669
|
* @param {string} [patientName]
|
|
27670
|
+
* @param {Gender} [gender]
|
|
27364
27671
|
* @param {boolean} [recommended]
|
|
27365
27672
|
* @param {number} [rate]
|
|
27366
27673
|
* @param {ReviewType} [reviewType]
|
|
@@ -27370,7 +27677,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
27370
27677
|
* @param {*} [options] Override http request option.
|
|
27371
27678
|
* @throws {RequiredError}
|
|
27372
27679
|
*/
|
|
27373
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
27680
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
27374
27681
|
if (options === void 0) { options = {}; }
|
|
27375
27682
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27376
27683
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -27404,6 +27711,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
27404
27711
|
if (patientName !== undefined) {
|
|
27405
27712
|
localVarQueryParameter['PatientName'] = patientName;
|
|
27406
27713
|
}
|
|
27714
|
+
if (gender !== undefined) {
|
|
27715
|
+
localVarQueryParameter['Gender'] = gender;
|
|
27716
|
+
}
|
|
27407
27717
|
if (recommended !== undefined) {
|
|
27408
27718
|
localVarQueryParameter['Recommended'] = recommended;
|
|
27409
27719
|
}
|
|
@@ -27879,6 +28189,7 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
27879
28189
|
* @param {string} [serviceName]
|
|
27880
28190
|
* @param {string} [patientId]
|
|
27881
28191
|
* @param {string} [patientName]
|
|
28192
|
+
* @param {Gender} [gender]
|
|
27882
28193
|
* @param {boolean} [recommended]
|
|
27883
28194
|
* @param {number} [rate]
|
|
27884
28195
|
* @param {ReviewType} [reviewType]
|
|
@@ -27888,12 +28199,12 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
27888
28199
|
* @param {*} [options] Override http request option.
|
|
27889
28200
|
* @throws {RequiredError}
|
|
27890
28201
|
*/
|
|
27891
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
28202
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
27892
28203
|
return __awaiter(this, void 0, void 0, function () {
|
|
27893
28204
|
var localVarAxiosArgs;
|
|
27894
28205
|
return __generator(this, function (_a) {
|
|
27895
28206
|
switch (_a.label) {
|
|
27896
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
|
|
28207
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
|
|
27897
28208
|
case 1:
|
|
27898
28209
|
localVarAxiosArgs = _a.sent();
|
|
27899
28210
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -28107,6 +28418,7 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
28107
28418
|
* @param {string} [serviceName]
|
|
28108
28419
|
* @param {string} [patientId]
|
|
28109
28420
|
* @param {string} [patientName]
|
|
28421
|
+
* @param {Gender} [gender]
|
|
28110
28422
|
* @param {boolean} [recommended]
|
|
28111
28423
|
* @param {number} [rate]
|
|
28112
28424
|
* @param {ReviewType} [reviewType]
|
|
@@ -28116,8 +28428,8 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
28116
28428
|
* @param {*} [options] Override http request option.
|
|
28117
28429
|
* @throws {RequiredError}
|
|
28118
28430
|
*/
|
|
28119
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
28120
|
-
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
28431
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
28432
|
+
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
28121
28433
|
},
|
|
28122
28434
|
/**
|
|
28123
28435
|
*
|
|
@@ -28239,6 +28551,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
28239
28551
|
* @param {string} [serviceName]
|
|
28240
28552
|
* @param {string} [patientId]
|
|
28241
28553
|
* @param {string} [patientName]
|
|
28554
|
+
* @param {Gender} [gender]
|
|
28242
28555
|
* @param {boolean} [recommended]
|
|
28243
28556
|
* @param {number} [rate]
|
|
28244
28557
|
* @param {ReviewType} [reviewType]
|
|
@@ -28249,9 +28562,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
28249
28562
|
* @throws {RequiredError}
|
|
28250
28563
|
* @memberof ServiceReviewsApi
|
|
28251
28564
|
*/
|
|
28252
|
-
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
28565
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
28253
28566
|
var _this = this;
|
|
28254
|
-
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28567
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28255
28568
|
};
|
|
28256
28569
|
/**
|
|
28257
28570
|
*
|