ch-api-client-typescript2 2.8.3 → 2.8.6
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 +2141 -6095
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +178 -94
- package/package.json +1 -1
- package/src/api.ts +2207 -6085
package/lib/api.js
CHANGED
|
@@ -78,9 +78,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
82
|
-
exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator =
|
|
83
|
-
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 =
|
|
81
|
+
exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.ReviewCategory = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.AutocompleteMode = exports.ArticleStatus = void 0;
|
|
82
|
+
exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = void 0;
|
|
83
|
+
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 = void 0;
|
|
84
84
|
var axios_1 = __importDefault(require("axios"));
|
|
85
85
|
// Some imports not used depending on template conditions
|
|
86
86
|
// @ts-ignore
|
|
@@ -124,17 +124,6 @@ var BookingStatus;
|
|
|
124
124
|
BookingStatus["RefundRequested"] = "RefundRequested";
|
|
125
125
|
BookingStatus["Refunded"] = "Refunded";
|
|
126
126
|
})(BookingStatus = exports.BookingStatus || (exports.BookingStatus = {}));
|
|
127
|
-
/**
|
|
128
|
-
*
|
|
129
|
-
* @export
|
|
130
|
-
* @enum {string}
|
|
131
|
-
*/
|
|
132
|
-
var ChargeStatus;
|
|
133
|
-
(function (ChargeStatus) {
|
|
134
|
-
ChargeStatus["Pending"] = "Pending";
|
|
135
|
-
ChargeStatus["Succeeded"] = "Succeeded";
|
|
136
|
-
ChargeStatus["Failed"] = "Failed";
|
|
137
|
-
})(ChargeStatus = exports.ChargeStatus || (exports.ChargeStatus = {}));
|
|
138
127
|
/**
|
|
139
128
|
*
|
|
140
129
|
* @export
|
|
@@ -238,40 +227,6 @@ var NotificationCode;
|
|
|
238
227
|
NotificationCode["ConsultationRefunded"] = "ConsultationRefunded";
|
|
239
228
|
NotificationCode["ConsultationReady"] = "ConsultationReady";
|
|
240
229
|
})(NotificationCode = exports.NotificationCode || (exports.NotificationCode = {}));
|
|
241
|
-
/**
|
|
242
|
-
*
|
|
243
|
-
* @export
|
|
244
|
-
* @enum {string}
|
|
245
|
-
*/
|
|
246
|
-
var PaymentMethod;
|
|
247
|
-
(function (PaymentMethod) {
|
|
248
|
-
PaymentMethod["Stripe"] = "Stripe";
|
|
249
|
-
PaymentMethod["Paypal"] = "Paypal";
|
|
250
|
-
PaymentMethod["BankTransfer"] = "BankTransfer";
|
|
251
|
-
})(PaymentMethod = exports.PaymentMethod || (exports.PaymentMethod = {}));
|
|
252
|
-
/**
|
|
253
|
-
*
|
|
254
|
-
* @export
|
|
255
|
-
* @enum {string}
|
|
256
|
-
*/
|
|
257
|
-
var PaymentStatus;
|
|
258
|
-
(function (PaymentStatus) {
|
|
259
|
-
PaymentStatus["Unpaid"] = "Unpaid";
|
|
260
|
-
PaymentStatus["Paid"] = "Paid";
|
|
261
|
-
PaymentStatus["RefundRequested"] = "RefundRequested";
|
|
262
|
-
PaymentStatus["Refunded"] = "Refunded";
|
|
263
|
-
})(PaymentStatus = exports.PaymentStatus || (exports.PaymentStatus = {}));
|
|
264
|
-
/**
|
|
265
|
-
*
|
|
266
|
-
* @export
|
|
267
|
-
* @enum {string}
|
|
268
|
-
*/
|
|
269
|
-
var Platform;
|
|
270
|
-
(function (Platform) {
|
|
271
|
-
Platform["Web"] = "Web";
|
|
272
|
-
Platform["IOs"] = "iOS";
|
|
273
|
-
Platform["Android"] = "Android";
|
|
274
|
-
})(Platform = exports.Platform || (exports.Platform = {}));
|
|
275
230
|
/**
|
|
276
231
|
*
|
|
277
232
|
* @export
|
|
@@ -282,31 +237,6 @@ var Procedure;
|
|
|
282
237
|
Procedure["Treatment"] = "Treatment";
|
|
283
238
|
Procedure["Diagnostic"] = "Diagnostic";
|
|
284
239
|
})(Procedure = exports.Procedure || (exports.Procedure = {}));
|
|
285
|
-
/**
|
|
286
|
-
*
|
|
287
|
-
* @export
|
|
288
|
-
* @enum {string}
|
|
289
|
-
*/
|
|
290
|
-
var QuestionStatus;
|
|
291
|
-
(function (QuestionStatus) {
|
|
292
|
-
QuestionStatus["New"] = "New";
|
|
293
|
-
QuestionStatus["Answered"] = "Answered";
|
|
294
|
-
QuestionStatus["Replied"] = "Replied";
|
|
295
|
-
QuestionStatus["Archived"] = "Archived";
|
|
296
|
-
})(QuestionStatus = exports.QuestionStatus || (exports.QuestionStatus = {}));
|
|
297
|
-
/**
|
|
298
|
-
*
|
|
299
|
-
* @export
|
|
300
|
-
* @enum {string}
|
|
301
|
-
*/
|
|
302
|
-
var QuestionType;
|
|
303
|
-
(function (QuestionType) {
|
|
304
|
-
QuestionType["General"] = "General";
|
|
305
|
-
QuestionType["Health"] = "Health";
|
|
306
|
-
QuestionType["Treatment"] = "Treatment";
|
|
307
|
-
QuestionType["Travel"] = "Travel";
|
|
308
|
-
QuestionType["Consult"] = "Consult";
|
|
309
|
-
})(QuestionType = exports.QuestionType || (exports.QuestionType = {}));
|
|
310
240
|
/**
|
|
311
241
|
*
|
|
312
242
|
* @export
|
|
@@ -330,17 +260,6 @@ var RefundPolicy;
|
|
|
330
260
|
RefundPolicy["Refundable"] = "Refundable";
|
|
331
261
|
RefundPolicy["PartialRefundable"] = "PartialRefundable";
|
|
332
262
|
})(RefundPolicy = exports.RefundPolicy || (exports.RefundPolicy = {}));
|
|
333
|
-
/**
|
|
334
|
-
*
|
|
335
|
-
* @export
|
|
336
|
-
* @enum {string}
|
|
337
|
-
*/
|
|
338
|
-
var RefundStatus;
|
|
339
|
-
(function (RefundStatus) {
|
|
340
|
-
RefundStatus["Pending"] = "Pending";
|
|
341
|
-
RefundStatus["Succeeded"] = "Succeeded";
|
|
342
|
-
RefundStatus["Failed"] = "Failed";
|
|
343
|
-
})(RefundStatus = exports.RefundStatus || (exports.RefundStatus = {}));
|
|
344
263
|
/**
|
|
345
264
|
*
|
|
346
265
|
* @export
|
|
@@ -397,16 +316,6 @@ var UserLocationType;
|
|
|
397
316
|
UserLocationType["LivesIn"] = "LivesIn";
|
|
398
317
|
UserLocationType["BirthPlace"] = "BirthPlace";
|
|
399
318
|
})(UserLocationType = exports.UserLocationType || (exports.UserLocationType = {}));
|
|
400
|
-
/**
|
|
401
|
-
*
|
|
402
|
-
* @export
|
|
403
|
-
* @enum {string}
|
|
404
|
-
*/
|
|
405
|
-
var VendorType;
|
|
406
|
-
(function (VendorType) {
|
|
407
|
-
VendorType["Stripe"] = "Stripe";
|
|
408
|
-
VendorType["WeChat"] = "WeChat";
|
|
409
|
-
})(VendorType = exports.VendorType || (exports.VendorType = {}));
|
|
410
319
|
/**
|
|
411
320
|
* AccreditationsApi - axios parameter creator
|
|
412
321
|
* @export
|
|
@@ -9995,6 +9904,97 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9995
9904
|
});
|
|
9996
9905
|
});
|
|
9997
9906
|
},
|
|
9907
|
+
/**
|
|
9908
|
+
*
|
|
9909
|
+
* @summary Get all HospitalSpecialties.
|
|
9910
|
+
* @param {string} hospitalId
|
|
9911
|
+
* @param {string} [hospitalName]
|
|
9912
|
+
* @param {string} [hospitalSlug]
|
|
9913
|
+
* @param {string} [specialtyId]
|
|
9914
|
+
* @param {string} [specialtyName]
|
|
9915
|
+
* @param {string} [specialtyTypeId]
|
|
9916
|
+
* @param {string} [title]
|
|
9917
|
+
* @param {MarketingType} [marketingType]
|
|
9918
|
+
* @param {string} [languageCode]
|
|
9919
|
+
* @param {boolean} [showHidden]
|
|
9920
|
+
* @param {boolean} [returnDefaultValue]
|
|
9921
|
+
* @param {boolean} [includeServices]
|
|
9922
|
+
* @param {number} [page]
|
|
9923
|
+
* @param {number} [limit]
|
|
9924
|
+
* @param {Date} [lastRetrieved]
|
|
9925
|
+
* @param {*} [options] Override http request option.
|
|
9926
|
+
* @throws {RequiredError}
|
|
9927
|
+
*/
|
|
9928
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
9929
|
+
if (options === void 0) { options = {}; }
|
|
9930
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
9931
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
9932
|
+
return __generator(this, function (_a) {
|
|
9933
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
9934
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId);
|
|
9935
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/specialties/simple"
|
|
9936
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
9937
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9938
|
+
if (configuration) {
|
|
9939
|
+
baseOptions = configuration.baseOptions;
|
|
9940
|
+
}
|
|
9941
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
9942
|
+
localVarHeaderParameter = {};
|
|
9943
|
+
localVarQueryParameter = {};
|
|
9944
|
+
if (hospitalName !== undefined) {
|
|
9945
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
9946
|
+
}
|
|
9947
|
+
if (hospitalSlug !== undefined) {
|
|
9948
|
+
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
9949
|
+
}
|
|
9950
|
+
if (specialtyId !== undefined) {
|
|
9951
|
+
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
9952
|
+
}
|
|
9953
|
+
if (specialtyName !== undefined) {
|
|
9954
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
9955
|
+
}
|
|
9956
|
+
if (specialtyTypeId !== undefined) {
|
|
9957
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
9958
|
+
}
|
|
9959
|
+
if (title !== undefined) {
|
|
9960
|
+
localVarQueryParameter['Title'] = title;
|
|
9961
|
+
}
|
|
9962
|
+
if (marketingType !== undefined) {
|
|
9963
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
9964
|
+
}
|
|
9965
|
+
if (languageCode !== undefined) {
|
|
9966
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
9967
|
+
}
|
|
9968
|
+
if (showHidden !== undefined) {
|
|
9969
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
9970
|
+
}
|
|
9971
|
+
if (returnDefaultValue !== undefined) {
|
|
9972
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
9973
|
+
}
|
|
9974
|
+
if (includeServices !== undefined) {
|
|
9975
|
+
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
9976
|
+
}
|
|
9977
|
+
if (page !== undefined) {
|
|
9978
|
+
localVarQueryParameter['page'] = page;
|
|
9979
|
+
}
|
|
9980
|
+
if (limit !== undefined) {
|
|
9981
|
+
localVarQueryParameter['limit'] = limit;
|
|
9982
|
+
}
|
|
9983
|
+
if (lastRetrieved !== undefined) {
|
|
9984
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
9985
|
+
lastRetrieved.toISOString() :
|
|
9986
|
+
lastRetrieved;
|
|
9987
|
+
}
|
|
9988
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9989
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9990
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9991
|
+
return [2 /*return*/, {
|
|
9992
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9993
|
+
options: localVarRequestOptions,
|
|
9994
|
+
}];
|
|
9995
|
+
});
|
|
9996
|
+
});
|
|
9997
|
+
},
|
|
9998
9998
|
/**
|
|
9999
9999
|
*
|
|
10000
10000
|
* @summary Get HospitalSpecialty.
|
|
@@ -10834,6 +10834,40 @@ var HospitalsApiFp = function (configuration) {
|
|
|
10834
10834
|
});
|
|
10835
10835
|
});
|
|
10836
10836
|
},
|
|
10837
|
+
/**
|
|
10838
|
+
*
|
|
10839
|
+
* @summary Get all HospitalSpecialties.
|
|
10840
|
+
* @param {string} hospitalId
|
|
10841
|
+
* @param {string} [hospitalName]
|
|
10842
|
+
* @param {string} [hospitalSlug]
|
|
10843
|
+
* @param {string} [specialtyId]
|
|
10844
|
+
* @param {string} [specialtyName]
|
|
10845
|
+
* @param {string} [specialtyTypeId]
|
|
10846
|
+
* @param {string} [title]
|
|
10847
|
+
* @param {MarketingType} [marketingType]
|
|
10848
|
+
* @param {string} [languageCode]
|
|
10849
|
+
* @param {boolean} [showHidden]
|
|
10850
|
+
* @param {boolean} [returnDefaultValue]
|
|
10851
|
+
* @param {boolean} [includeServices]
|
|
10852
|
+
* @param {number} [page]
|
|
10853
|
+
* @param {number} [limit]
|
|
10854
|
+
* @param {Date} [lastRetrieved]
|
|
10855
|
+
* @param {*} [options] Override http request option.
|
|
10856
|
+
* @throws {RequiredError}
|
|
10857
|
+
*/
|
|
10858
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
10859
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
10860
|
+
var localVarAxiosArgs;
|
|
10861
|
+
return __generator(this, function (_a) {
|
|
10862
|
+
switch (_a.label) {
|
|
10863
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options)];
|
|
10864
|
+
case 1:
|
|
10865
|
+
localVarAxiosArgs = _a.sent();
|
|
10866
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
10867
|
+
}
|
|
10868
|
+
});
|
|
10869
|
+
});
|
|
10870
|
+
},
|
|
10837
10871
|
/**
|
|
10838
10872
|
*
|
|
10839
10873
|
* @summary Get HospitalSpecialty.
|
|
@@ -11258,6 +11292,30 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
11258
11292
|
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
11259
11293
|
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
11260
11294
|
},
|
|
11295
|
+
/**
|
|
11296
|
+
*
|
|
11297
|
+
* @summary Get all HospitalSpecialties.
|
|
11298
|
+
* @param {string} hospitalId
|
|
11299
|
+
* @param {string} [hospitalName]
|
|
11300
|
+
* @param {string} [hospitalSlug]
|
|
11301
|
+
* @param {string} [specialtyId]
|
|
11302
|
+
* @param {string} [specialtyName]
|
|
11303
|
+
* @param {string} [specialtyTypeId]
|
|
11304
|
+
* @param {string} [title]
|
|
11305
|
+
* @param {MarketingType} [marketingType]
|
|
11306
|
+
* @param {string} [languageCode]
|
|
11307
|
+
* @param {boolean} [showHidden]
|
|
11308
|
+
* @param {boolean} [returnDefaultValue]
|
|
11309
|
+
* @param {boolean} [includeServices]
|
|
11310
|
+
* @param {number} [page]
|
|
11311
|
+
* @param {number} [limit]
|
|
11312
|
+
* @param {Date} [lastRetrieved]
|
|
11313
|
+
* @param {*} [options] Override http request option.
|
|
11314
|
+
* @throws {RequiredError}
|
|
11315
|
+
*/
|
|
11316
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
11317
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
11318
|
+
},
|
|
11261
11319
|
/**
|
|
11262
11320
|
*
|
|
11263
11321
|
* @summary Get HospitalSpecialty.
|
|
@@ -11632,6 +11690,32 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
11632
11690
|
var _this = this;
|
|
11633
11691
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11634
11692
|
};
|
|
11693
|
+
/**
|
|
11694
|
+
*
|
|
11695
|
+
* @summary Get all HospitalSpecialties.
|
|
11696
|
+
* @param {string} hospitalId
|
|
11697
|
+
* @param {string} [hospitalName]
|
|
11698
|
+
* @param {string} [hospitalSlug]
|
|
11699
|
+
* @param {string} [specialtyId]
|
|
11700
|
+
* @param {string} [specialtyName]
|
|
11701
|
+
* @param {string} [specialtyTypeId]
|
|
11702
|
+
* @param {string} [title]
|
|
11703
|
+
* @param {MarketingType} [marketingType]
|
|
11704
|
+
* @param {string} [languageCode]
|
|
11705
|
+
* @param {boolean} [showHidden]
|
|
11706
|
+
* @param {boolean} [returnDefaultValue]
|
|
11707
|
+
* @param {boolean} [includeServices]
|
|
11708
|
+
* @param {number} [page]
|
|
11709
|
+
* @param {number} [limit]
|
|
11710
|
+
* @param {Date} [lastRetrieved]
|
|
11711
|
+
* @param {*} [options] Override http request option.
|
|
11712
|
+
* @throws {RequiredError}
|
|
11713
|
+
* @memberof HospitalsApi
|
|
11714
|
+
*/
|
|
11715
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
11716
|
+
var _this = this;
|
|
11717
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(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); });
|
|
11718
|
+
};
|
|
11635
11719
|
/**
|
|
11636
11720
|
*
|
|
11637
11721
|
* @summary Get HospitalSpecialty.
|