ch-api-client-typescript2 3.3.6 → 3.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +1013 -1124
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +383 -280
- package/package.json +1 -1
- package/src/api.ts +1193 -1260
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.
|
|
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.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = void 0;
|
|
81
|
+
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.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SortingOrder = 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;
|
|
82
|
+
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.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = 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.DoctorAffiliationsApi = exports.DoctorAffiliationsApiFactory = exports.DoctorAffiliationsApiFp = exports.DoctorAffiliationsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = 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.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PatientsApi = void 0;
|
|
84
84
|
var axios_1 = __importDefault(require("axios"));
|
|
85
85
|
// Some imports not used depending on template conditions
|
|
86
86
|
// @ts-ignore
|
|
@@ -286,6 +286,16 @@ var SnsType;
|
|
|
286
286
|
SnsType["Youtube"] = "Youtube";
|
|
287
287
|
SnsType["KakaoTalk"] = "KakaoTalk";
|
|
288
288
|
})(SnsType = exports.SnsType || (exports.SnsType = {}));
|
|
289
|
+
/**
|
|
290
|
+
*
|
|
291
|
+
* @export
|
|
292
|
+
* @enum {string}
|
|
293
|
+
*/
|
|
294
|
+
var SortingOrder;
|
|
295
|
+
(function (SortingOrder) {
|
|
296
|
+
SortingOrder["Ascending"] = "Ascending";
|
|
297
|
+
SortingOrder["Descending"] = "Descending";
|
|
298
|
+
})(SortingOrder = exports.SortingOrder || (exports.SortingOrder = {}));
|
|
289
299
|
/**
|
|
290
300
|
*
|
|
291
301
|
* @export
|
|
@@ -1013,11 +1023,10 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1013
1023
|
* @summary Get Article.
|
|
1014
1024
|
* @param {string} articleId
|
|
1015
1025
|
* @param {string} [languageCode]
|
|
1016
|
-
* @param {boolean} [returnDefaultValue]
|
|
1017
1026
|
* @param {*} [options] Override http request option.
|
|
1018
1027
|
* @throws {RequiredError}
|
|
1019
1028
|
*/
|
|
1020
|
-
apiV2ArticlesArticleIdGet: function (articleId, languageCode,
|
|
1029
|
+
apiV2ArticlesArticleIdGet: function (articleId, languageCode, options) {
|
|
1021
1030
|
if (options === void 0) { options = {}; }
|
|
1022
1031
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1023
1032
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1036,9 +1045,6 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1036
1045
|
if (languageCode !== undefined) {
|
|
1037
1046
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
1038
1047
|
}
|
|
1039
|
-
if (returnDefaultValue !== undefined) {
|
|
1040
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
1041
|
-
}
|
|
1042
1048
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1043
1049
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1044
1050
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1531,16 +1537,15 @@ var ArticlesApiFp = function (configuration) {
|
|
|
1531
1537
|
* @summary Get Article.
|
|
1532
1538
|
* @param {string} articleId
|
|
1533
1539
|
* @param {string} [languageCode]
|
|
1534
|
-
* @param {boolean} [returnDefaultValue]
|
|
1535
1540
|
* @param {*} [options] Override http request option.
|
|
1536
1541
|
* @throws {RequiredError}
|
|
1537
1542
|
*/
|
|
1538
|
-
apiV2ArticlesArticleIdGet: function (articleId, languageCode,
|
|
1543
|
+
apiV2ArticlesArticleIdGet: function (articleId, languageCode, options) {
|
|
1539
1544
|
return __awaiter(this, void 0, void 0, function () {
|
|
1540
1545
|
var localVarAxiosArgs;
|
|
1541
1546
|
return __generator(this, function (_a) {
|
|
1542
1547
|
switch (_a.label) {
|
|
1543
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdGet(articleId, languageCode,
|
|
1548
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdGet(articleId, languageCode, options)];
|
|
1544
1549
|
case 1:
|
|
1545
1550
|
localVarAxiosArgs = _a.sent();
|
|
1546
1551
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1790,12 +1795,11 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1790
1795
|
* @summary Get Article.
|
|
1791
1796
|
* @param {string} articleId
|
|
1792
1797
|
* @param {string} [languageCode]
|
|
1793
|
-
* @param {boolean} [returnDefaultValue]
|
|
1794
1798
|
* @param {*} [options] Override http request option.
|
|
1795
1799
|
* @throws {RequiredError}
|
|
1796
1800
|
*/
|
|
1797
|
-
apiV2ArticlesArticleIdGet: function (articleId, languageCode,
|
|
1798
|
-
return localVarFp.apiV2ArticlesArticleIdGet(articleId, languageCode,
|
|
1801
|
+
apiV2ArticlesArticleIdGet: function (articleId, languageCode, options) {
|
|
1802
|
+
return localVarFp.apiV2ArticlesArticleIdGet(articleId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
1799
1803
|
},
|
|
1800
1804
|
/**
|
|
1801
1805
|
*
|
|
@@ -1967,14 +1971,13 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
1967
1971
|
* @summary Get Article.
|
|
1968
1972
|
* @param {string} articleId
|
|
1969
1973
|
* @param {string} [languageCode]
|
|
1970
|
-
* @param {boolean} [returnDefaultValue]
|
|
1971
1974
|
* @param {*} [options] Override http request option.
|
|
1972
1975
|
* @throws {RequiredError}
|
|
1973
1976
|
* @memberof ArticlesApi
|
|
1974
1977
|
*/
|
|
1975
|
-
ArticlesApi.prototype.apiV2ArticlesArticleIdGet = function (articleId, languageCode,
|
|
1978
|
+
ArticlesApi.prototype.apiV2ArticlesArticleIdGet = function (articleId, languageCode, options) {
|
|
1976
1979
|
var _this = this;
|
|
1977
|
-
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesArticleIdGet(articleId, languageCode,
|
|
1980
|
+
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesArticleIdGet(articleId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1978
1981
|
};
|
|
1979
1982
|
/**
|
|
1980
1983
|
*
|
|
@@ -2121,10 +2124,11 @@ var BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
2121
2124
|
*
|
|
2122
2125
|
* @summary Get booking.
|
|
2123
2126
|
* @param {string} bookingId
|
|
2127
|
+
* @param {string} [languageCode]
|
|
2124
2128
|
* @param {*} [options] Override http request option.
|
|
2125
2129
|
* @throws {RequiredError}
|
|
2126
2130
|
*/
|
|
2127
|
-
apiV2BookingsBookingIdGet: function (bookingId, options) {
|
|
2131
|
+
apiV2BookingsBookingIdGet: function (bookingId, languageCode, options) {
|
|
2128
2132
|
if (options === void 0) { options = {}; }
|
|
2129
2133
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2130
2134
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2149,6 +2153,9 @@ var BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
2149
2153
|
// authentication oauth2 required
|
|
2150
2154
|
// oauth required
|
|
2151
2155
|
_a.sent();
|
|
2156
|
+
if (languageCode !== undefined) {
|
|
2157
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
2158
|
+
}
|
|
2152
2159
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2153
2160
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2154
2161
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2252,19 +2259,26 @@ var BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
2252
2259
|
/**
|
|
2253
2260
|
*
|
|
2254
2261
|
* @summary Get all bookings.
|
|
2255
|
-
* @param {string} [
|
|
2262
|
+
* @param {string} [hospitalId]
|
|
2263
|
+
* @param {string} [hospitalName]
|
|
2264
|
+
* @param {string} [dealId]
|
|
2265
|
+
* @param {string} [dealName]
|
|
2256
2266
|
* @param {boolean} [isOpen]
|
|
2257
2267
|
* @param {boolean} [isCompleted]
|
|
2258
2268
|
* @param {BookingStatus} [status]
|
|
2259
2269
|
* @param {string} [dealPackageId]
|
|
2260
|
-
* @param {
|
|
2270
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
2271
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
2272
|
+
* @param {boolean} [isExternal]
|
|
2273
|
+
* @param {boolean} [paymentEnabled]
|
|
2274
|
+
* @param {string} [languageCode]
|
|
2261
2275
|
* @param {number} [page]
|
|
2262
2276
|
* @param {number} [limit]
|
|
2263
2277
|
* @param {Date} [lastRetrieved]
|
|
2264
2278
|
* @param {*} [options] Override http request option.
|
|
2265
2279
|
* @throws {RequiredError}
|
|
2266
2280
|
*/
|
|
2267
|
-
apiV2BookingsGet: function (
|
|
2281
|
+
apiV2BookingsGet: function (hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options) {
|
|
2268
2282
|
if (options === void 0) { options = {}; }
|
|
2269
2283
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2270
2284
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2286,8 +2300,17 @@ var BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
2286
2300
|
// authentication oauth2 required
|
|
2287
2301
|
// oauth required
|
|
2288
2302
|
_a.sent();
|
|
2289
|
-
if (
|
|
2290
|
-
localVarQueryParameter['
|
|
2303
|
+
if (hospitalId !== undefined) {
|
|
2304
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
2305
|
+
}
|
|
2306
|
+
if (hospitalName !== undefined) {
|
|
2307
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
2308
|
+
}
|
|
2309
|
+
if (dealId !== undefined) {
|
|
2310
|
+
localVarQueryParameter['DealId'] = dealId;
|
|
2311
|
+
}
|
|
2312
|
+
if (dealName !== undefined) {
|
|
2313
|
+
localVarQueryParameter['DealName'] = dealName;
|
|
2291
2314
|
}
|
|
2292
2315
|
if (isOpen !== undefined) {
|
|
2293
2316
|
localVarQueryParameter['IsOpen'] = isOpen;
|
|
@@ -2301,8 +2324,20 @@ var BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
2301
2324
|
if (dealPackageId !== undefined) {
|
|
2302
2325
|
localVarQueryParameter['DealPackageId'] = dealPackageId;
|
|
2303
2326
|
}
|
|
2304
|
-
if (
|
|
2305
|
-
localVarQueryParameter['
|
|
2327
|
+
if (sortRequestDate !== undefined) {
|
|
2328
|
+
localVarQueryParameter['SortRequestDate'] = sortRequestDate;
|
|
2329
|
+
}
|
|
2330
|
+
if (sortConfirmedDateStart !== undefined) {
|
|
2331
|
+
localVarQueryParameter['SortConfirmedDateStart'] = sortConfirmedDateStart;
|
|
2332
|
+
}
|
|
2333
|
+
if (isExternal !== undefined) {
|
|
2334
|
+
localVarQueryParameter['IsExternal'] = isExternal;
|
|
2335
|
+
}
|
|
2336
|
+
if (paymentEnabled !== undefined) {
|
|
2337
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
2338
|
+
}
|
|
2339
|
+
if (languageCode !== undefined) {
|
|
2340
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
2306
2341
|
}
|
|
2307
2342
|
if (page !== undefined) {
|
|
2308
2343
|
localVarQueryParameter['page'] = page;
|
|
@@ -2386,15 +2421,16 @@ var BookingsApiFp = function (configuration) {
|
|
|
2386
2421
|
*
|
|
2387
2422
|
* @summary Get booking.
|
|
2388
2423
|
* @param {string} bookingId
|
|
2424
|
+
* @param {string} [languageCode]
|
|
2389
2425
|
* @param {*} [options] Override http request option.
|
|
2390
2426
|
* @throws {RequiredError}
|
|
2391
2427
|
*/
|
|
2392
|
-
apiV2BookingsBookingIdGet: function (bookingId, options) {
|
|
2428
|
+
apiV2BookingsBookingIdGet: function (bookingId, languageCode, options) {
|
|
2393
2429
|
return __awaiter(this, void 0, void 0, function () {
|
|
2394
2430
|
var localVarAxiosArgs;
|
|
2395
2431
|
return __generator(this, function (_a) {
|
|
2396
2432
|
switch (_a.label) {
|
|
2397
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsBookingIdGet(bookingId, options)];
|
|
2433
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsBookingIdGet(bookingId, languageCode, options)];
|
|
2398
2434
|
case 1:
|
|
2399
2435
|
localVarAxiosArgs = _a.sent();
|
|
2400
2436
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2446,24 +2482,31 @@ var BookingsApiFp = function (configuration) {
|
|
|
2446
2482
|
/**
|
|
2447
2483
|
*
|
|
2448
2484
|
* @summary Get all bookings.
|
|
2449
|
-
* @param {string} [
|
|
2485
|
+
* @param {string} [hospitalId]
|
|
2486
|
+
* @param {string} [hospitalName]
|
|
2487
|
+
* @param {string} [dealId]
|
|
2488
|
+
* @param {string} [dealName]
|
|
2450
2489
|
* @param {boolean} [isOpen]
|
|
2451
2490
|
* @param {boolean} [isCompleted]
|
|
2452
2491
|
* @param {BookingStatus} [status]
|
|
2453
2492
|
* @param {string} [dealPackageId]
|
|
2454
|
-
* @param {
|
|
2493
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
2494
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
2495
|
+
* @param {boolean} [isExternal]
|
|
2496
|
+
* @param {boolean} [paymentEnabled]
|
|
2497
|
+
* @param {string} [languageCode]
|
|
2455
2498
|
* @param {number} [page]
|
|
2456
2499
|
* @param {number} [limit]
|
|
2457
2500
|
* @param {Date} [lastRetrieved]
|
|
2458
2501
|
* @param {*} [options] Override http request option.
|
|
2459
2502
|
* @throws {RequiredError}
|
|
2460
2503
|
*/
|
|
2461
|
-
apiV2BookingsGet: function (
|
|
2504
|
+
apiV2BookingsGet: function (hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options) {
|
|
2462
2505
|
return __awaiter(this, void 0, void 0, function () {
|
|
2463
2506
|
var localVarAxiosArgs;
|
|
2464
2507
|
return __generator(this, function (_a) {
|
|
2465
2508
|
switch (_a.label) {
|
|
2466
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsGet(
|
|
2509
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsGet(hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options)];
|
|
2467
2510
|
case 1:
|
|
2468
2511
|
localVarAxiosArgs = _a.sent();
|
|
2469
2512
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2506,11 +2549,12 @@ var BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
2506
2549
|
*
|
|
2507
2550
|
* @summary Get booking.
|
|
2508
2551
|
* @param {string} bookingId
|
|
2552
|
+
* @param {string} [languageCode]
|
|
2509
2553
|
* @param {*} [options] Override http request option.
|
|
2510
2554
|
* @throws {RequiredError}
|
|
2511
2555
|
*/
|
|
2512
|
-
apiV2BookingsBookingIdGet: function (bookingId, options) {
|
|
2513
|
-
return localVarFp.apiV2BookingsBookingIdGet(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
2556
|
+
apiV2BookingsBookingIdGet: function (bookingId, languageCode, options) {
|
|
2557
|
+
return localVarFp.apiV2BookingsBookingIdGet(bookingId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
2514
2558
|
},
|
|
2515
2559
|
/**
|
|
2516
2560
|
*
|
|
@@ -2536,20 +2580,27 @@ var BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
2536
2580
|
/**
|
|
2537
2581
|
*
|
|
2538
2582
|
* @summary Get all bookings.
|
|
2539
|
-
* @param {string} [
|
|
2583
|
+
* @param {string} [hospitalId]
|
|
2584
|
+
* @param {string} [hospitalName]
|
|
2585
|
+
* @param {string} [dealId]
|
|
2586
|
+
* @param {string} [dealName]
|
|
2540
2587
|
* @param {boolean} [isOpen]
|
|
2541
2588
|
* @param {boolean} [isCompleted]
|
|
2542
2589
|
* @param {BookingStatus} [status]
|
|
2543
2590
|
* @param {string} [dealPackageId]
|
|
2544
|
-
* @param {
|
|
2591
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
2592
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
2593
|
+
* @param {boolean} [isExternal]
|
|
2594
|
+
* @param {boolean} [paymentEnabled]
|
|
2595
|
+
* @param {string} [languageCode]
|
|
2545
2596
|
* @param {number} [page]
|
|
2546
2597
|
* @param {number} [limit]
|
|
2547
2598
|
* @param {Date} [lastRetrieved]
|
|
2548
2599
|
* @param {*} [options] Override http request option.
|
|
2549
2600
|
* @throws {RequiredError}
|
|
2550
2601
|
*/
|
|
2551
|
-
apiV2BookingsGet: function (
|
|
2552
|
-
return localVarFp.apiV2BookingsGet(
|
|
2602
|
+
apiV2BookingsGet: function (hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options) {
|
|
2603
|
+
return localVarFp.apiV2BookingsGet(hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
2553
2604
|
},
|
|
2554
2605
|
/**
|
|
2555
2606
|
*
|
|
@@ -2580,13 +2631,14 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
2580
2631
|
*
|
|
2581
2632
|
* @summary Get booking.
|
|
2582
2633
|
* @param {string} bookingId
|
|
2634
|
+
* @param {string} [languageCode]
|
|
2583
2635
|
* @param {*} [options] Override http request option.
|
|
2584
2636
|
* @throws {RequiredError}
|
|
2585
2637
|
* @memberof BookingsApi
|
|
2586
2638
|
*/
|
|
2587
|
-
BookingsApi.prototype.apiV2BookingsBookingIdGet = function (bookingId, options) {
|
|
2639
|
+
BookingsApi.prototype.apiV2BookingsBookingIdGet = function (bookingId, languageCode, options) {
|
|
2588
2640
|
var _this = this;
|
|
2589
|
-
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdGet(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2641
|
+
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdGet(bookingId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2590
2642
|
};
|
|
2591
2643
|
/**
|
|
2592
2644
|
*
|
|
@@ -2616,12 +2668,19 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
2616
2668
|
/**
|
|
2617
2669
|
*
|
|
2618
2670
|
* @summary Get all bookings.
|
|
2619
|
-
* @param {string} [
|
|
2671
|
+
* @param {string} [hospitalId]
|
|
2672
|
+
* @param {string} [hospitalName]
|
|
2673
|
+
* @param {string} [dealId]
|
|
2674
|
+
* @param {string} [dealName]
|
|
2620
2675
|
* @param {boolean} [isOpen]
|
|
2621
2676
|
* @param {boolean} [isCompleted]
|
|
2622
2677
|
* @param {BookingStatus} [status]
|
|
2623
2678
|
* @param {string} [dealPackageId]
|
|
2624
|
-
* @param {
|
|
2679
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
2680
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
2681
|
+
* @param {boolean} [isExternal]
|
|
2682
|
+
* @param {boolean} [paymentEnabled]
|
|
2683
|
+
* @param {string} [languageCode]
|
|
2625
2684
|
* @param {number} [page]
|
|
2626
2685
|
* @param {number} [limit]
|
|
2627
2686
|
* @param {Date} [lastRetrieved]
|
|
@@ -2629,9 +2688,9 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
2629
2688
|
* @throws {RequiredError}
|
|
2630
2689
|
* @memberof BookingsApi
|
|
2631
2690
|
*/
|
|
2632
|
-
BookingsApi.prototype.apiV2BookingsGet = function (
|
|
2691
|
+
BookingsApi.prototype.apiV2BookingsGet = function (hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options) {
|
|
2633
2692
|
var _this = this;
|
|
2634
|
-
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsGet(
|
|
2693
|
+
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsGet(hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2635
2694
|
};
|
|
2636
2695
|
/**
|
|
2637
2696
|
*
|
|
@@ -3514,10 +3573,11 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
3514
3573
|
*
|
|
3515
3574
|
* @summary Get consultation.
|
|
3516
3575
|
* @param {string} consultationId
|
|
3576
|
+
* @param {string} [languageCode]
|
|
3517
3577
|
* @param {*} [options] Override http request option.
|
|
3518
3578
|
* @throws {RequiredError}
|
|
3519
3579
|
*/
|
|
3520
|
-
apiV2ConsultationsConsultationIdGet: function (consultationId, options) {
|
|
3580
|
+
apiV2ConsultationsConsultationIdGet: function (consultationId, languageCode, options) {
|
|
3521
3581
|
if (options === void 0) { options = {}; }
|
|
3522
3582
|
return __awaiter(_this, void 0, void 0, function () {
|
|
3523
3583
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -3542,6 +3602,9 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
3542
3602
|
// authentication oauth2 required
|
|
3543
3603
|
// oauth required
|
|
3544
3604
|
_a.sent();
|
|
3605
|
+
if (languageCode !== undefined) {
|
|
3606
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
3607
|
+
}
|
|
3545
3608
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3546
3609
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3547
3610
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3645,19 +3708,24 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
3645
3708
|
/**
|
|
3646
3709
|
*
|
|
3647
3710
|
* @summary Get all consultations.
|
|
3648
|
-
* @param {string} [
|
|
3711
|
+
* @param {string} [hospitalId]
|
|
3712
|
+
* @param {string} [hospitalName]
|
|
3713
|
+
* @param {string} [doctorId]
|
|
3714
|
+
* @param {string} [doctorName]
|
|
3715
|
+
* @param {string} [dealId]
|
|
3716
|
+
* @param {string} [dealName]
|
|
3649
3717
|
* @param {boolean} [isOpen]
|
|
3650
3718
|
* @param {boolean} [isCompleted]
|
|
3651
3719
|
* @param {ConsultationStatus} [status]
|
|
3652
3720
|
* @param {ConsultationType} [consultationType]
|
|
3653
|
-
* @param {string} [
|
|
3721
|
+
* @param {string} [languageCode]
|
|
3654
3722
|
* @param {number} [page]
|
|
3655
3723
|
* @param {number} [limit]
|
|
3656
3724
|
* @param {Date} [lastRetrieved]
|
|
3657
3725
|
* @param {*} [options] Override http request option.
|
|
3658
3726
|
* @throws {RequiredError}
|
|
3659
3727
|
*/
|
|
3660
|
-
apiV2ConsultationsGet: function (
|
|
3728
|
+
apiV2ConsultationsGet: function (hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options) {
|
|
3661
3729
|
if (options === void 0) { options = {}; }
|
|
3662
3730
|
return __awaiter(_this, void 0, void 0, function () {
|
|
3663
3731
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -3679,8 +3747,23 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
3679
3747
|
// authentication oauth2 required
|
|
3680
3748
|
// oauth required
|
|
3681
3749
|
_a.sent();
|
|
3682
|
-
if (
|
|
3683
|
-
localVarQueryParameter['
|
|
3750
|
+
if (hospitalId !== undefined) {
|
|
3751
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
3752
|
+
}
|
|
3753
|
+
if (hospitalName !== undefined) {
|
|
3754
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
3755
|
+
}
|
|
3756
|
+
if (doctorId !== undefined) {
|
|
3757
|
+
localVarQueryParameter['DoctorId'] = doctorId;
|
|
3758
|
+
}
|
|
3759
|
+
if (doctorName !== undefined) {
|
|
3760
|
+
localVarQueryParameter['DoctorName'] = doctorName;
|
|
3761
|
+
}
|
|
3762
|
+
if (dealId !== undefined) {
|
|
3763
|
+
localVarQueryParameter['DealId'] = dealId;
|
|
3764
|
+
}
|
|
3765
|
+
if (dealName !== undefined) {
|
|
3766
|
+
localVarQueryParameter['DealName'] = dealName;
|
|
3684
3767
|
}
|
|
3685
3768
|
if (isOpen !== undefined) {
|
|
3686
3769
|
localVarQueryParameter['IsOpen'] = isOpen;
|
|
@@ -3694,8 +3777,8 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
3694
3777
|
if (consultationType !== undefined) {
|
|
3695
3778
|
localVarQueryParameter['ConsultationType'] = consultationType;
|
|
3696
3779
|
}
|
|
3697
|
-
if (
|
|
3698
|
-
localVarQueryParameter['
|
|
3780
|
+
if (languageCode !== undefined) {
|
|
3781
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
3699
3782
|
}
|
|
3700
3783
|
if (page !== undefined) {
|
|
3701
3784
|
localVarQueryParameter['page'] = page;
|
|
@@ -3779,15 +3862,16 @@ var ConsultationsApiFp = function (configuration) {
|
|
|
3779
3862
|
*
|
|
3780
3863
|
* @summary Get consultation.
|
|
3781
3864
|
* @param {string} consultationId
|
|
3865
|
+
* @param {string} [languageCode]
|
|
3782
3866
|
* @param {*} [options] Override http request option.
|
|
3783
3867
|
* @throws {RequiredError}
|
|
3784
3868
|
*/
|
|
3785
|
-
apiV2ConsultationsConsultationIdGet: function (consultationId, options) {
|
|
3869
|
+
apiV2ConsultationsConsultationIdGet: function (consultationId, languageCode, options) {
|
|
3786
3870
|
return __awaiter(this, void 0, void 0, function () {
|
|
3787
3871
|
var localVarAxiosArgs;
|
|
3788
3872
|
return __generator(this, function (_a) {
|
|
3789
3873
|
switch (_a.label) {
|
|
3790
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ConsultationsConsultationIdGet(consultationId, options)];
|
|
3874
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ConsultationsConsultationIdGet(consultationId, languageCode, options)];
|
|
3791
3875
|
case 1:
|
|
3792
3876
|
localVarAxiosArgs = _a.sent();
|
|
3793
3877
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3839,24 +3923,29 @@ var ConsultationsApiFp = function (configuration) {
|
|
|
3839
3923
|
/**
|
|
3840
3924
|
*
|
|
3841
3925
|
* @summary Get all consultations.
|
|
3842
|
-
* @param {string} [
|
|
3926
|
+
* @param {string} [hospitalId]
|
|
3927
|
+
* @param {string} [hospitalName]
|
|
3928
|
+
* @param {string} [doctorId]
|
|
3929
|
+
* @param {string} [doctorName]
|
|
3930
|
+
* @param {string} [dealId]
|
|
3931
|
+
* @param {string} [dealName]
|
|
3843
3932
|
* @param {boolean} [isOpen]
|
|
3844
3933
|
* @param {boolean} [isCompleted]
|
|
3845
3934
|
* @param {ConsultationStatus} [status]
|
|
3846
3935
|
* @param {ConsultationType} [consultationType]
|
|
3847
|
-
* @param {string} [
|
|
3936
|
+
* @param {string} [languageCode]
|
|
3848
3937
|
* @param {number} [page]
|
|
3849
3938
|
* @param {number} [limit]
|
|
3850
3939
|
* @param {Date} [lastRetrieved]
|
|
3851
3940
|
* @param {*} [options] Override http request option.
|
|
3852
3941
|
* @throws {RequiredError}
|
|
3853
3942
|
*/
|
|
3854
|
-
apiV2ConsultationsGet: function (
|
|
3943
|
+
apiV2ConsultationsGet: function (hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options) {
|
|
3855
3944
|
return __awaiter(this, void 0, void 0, function () {
|
|
3856
3945
|
var localVarAxiosArgs;
|
|
3857
3946
|
return __generator(this, function (_a) {
|
|
3858
3947
|
switch (_a.label) {
|
|
3859
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ConsultationsGet(
|
|
3948
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ConsultationsGet(hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options)];
|
|
3860
3949
|
case 1:
|
|
3861
3950
|
localVarAxiosArgs = _a.sent();
|
|
3862
3951
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3899,11 +3988,12 @@ var ConsultationsApiFactory = function (configuration, basePath, axios) {
|
|
|
3899
3988
|
*
|
|
3900
3989
|
* @summary Get consultation.
|
|
3901
3990
|
* @param {string} consultationId
|
|
3991
|
+
* @param {string} [languageCode]
|
|
3902
3992
|
* @param {*} [options] Override http request option.
|
|
3903
3993
|
* @throws {RequiredError}
|
|
3904
3994
|
*/
|
|
3905
|
-
apiV2ConsultationsConsultationIdGet: function (consultationId, options) {
|
|
3906
|
-
return localVarFp.apiV2ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(axios, basePath); });
|
|
3995
|
+
apiV2ConsultationsConsultationIdGet: function (consultationId, languageCode, options) {
|
|
3996
|
+
return localVarFp.apiV2ConsultationsConsultationIdGet(consultationId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
3907
3997
|
},
|
|
3908
3998
|
/**
|
|
3909
3999
|
*
|
|
@@ -3929,20 +4019,25 @@ var ConsultationsApiFactory = function (configuration, basePath, axios) {
|
|
|
3929
4019
|
/**
|
|
3930
4020
|
*
|
|
3931
4021
|
* @summary Get all consultations.
|
|
3932
|
-
* @param {string} [
|
|
4022
|
+
* @param {string} [hospitalId]
|
|
4023
|
+
* @param {string} [hospitalName]
|
|
4024
|
+
* @param {string} [doctorId]
|
|
4025
|
+
* @param {string} [doctorName]
|
|
4026
|
+
* @param {string} [dealId]
|
|
4027
|
+
* @param {string} [dealName]
|
|
3933
4028
|
* @param {boolean} [isOpen]
|
|
3934
4029
|
* @param {boolean} [isCompleted]
|
|
3935
4030
|
* @param {ConsultationStatus} [status]
|
|
3936
4031
|
* @param {ConsultationType} [consultationType]
|
|
3937
|
-
* @param {string} [
|
|
4032
|
+
* @param {string} [languageCode]
|
|
3938
4033
|
* @param {number} [page]
|
|
3939
4034
|
* @param {number} [limit]
|
|
3940
4035
|
* @param {Date} [lastRetrieved]
|
|
3941
4036
|
* @param {*} [options] Override http request option.
|
|
3942
4037
|
* @throws {RequiredError}
|
|
3943
4038
|
*/
|
|
3944
|
-
apiV2ConsultationsGet: function (
|
|
3945
|
-
return localVarFp.apiV2ConsultationsGet(
|
|
4039
|
+
apiV2ConsultationsGet: function (hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options) {
|
|
4040
|
+
return localVarFp.apiV2ConsultationsGet(hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
3946
4041
|
},
|
|
3947
4042
|
/**
|
|
3948
4043
|
*
|
|
@@ -3973,13 +4068,14 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
3973
4068
|
*
|
|
3974
4069
|
* @summary Get consultation.
|
|
3975
4070
|
* @param {string} consultationId
|
|
4071
|
+
* @param {string} [languageCode]
|
|
3976
4072
|
* @param {*} [options] Override http request option.
|
|
3977
4073
|
* @throws {RequiredError}
|
|
3978
4074
|
* @memberof ConsultationsApi
|
|
3979
4075
|
*/
|
|
3980
|
-
ConsultationsApi.prototype.apiV2ConsultationsConsultationIdGet = function (consultationId, options) {
|
|
4076
|
+
ConsultationsApi.prototype.apiV2ConsultationsConsultationIdGet = function (consultationId, languageCode, options) {
|
|
3981
4077
|
var _this = this;
|
|
3982
|
-
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4078
|
+
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdGet(consultationId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3983
4079
|
};
|
|
3984
4080
|
/**
|
|
3985
4081
|
*
|
|
@@ -4009,12 +4105,17 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
4009
4105
|
/**
|
|
4010
4106
|
*
|
|
4011
4107
|
* @summary Get all consultations.
|
|
4012
|
-
* @param {string} [
|
|
4108
|
+
* @param {string} [hospitalId]
|
|
4109
|
+
* @param {string} [hospitalName]
|
|
4110
|
+
* @param {string} [doctorId]
|
|
4111
|
+
* @param {string} [doctorName]
|
|
4112
|
+
* @param {string} [dealId]
|
|
4113
|
+
* @param {string} [dealName]
|
|
4013
4114
|
* @param {boolean} [isOpen]
|
|
4014
4115
|
* @param {boolean} [isCompleted]
|
|
4015
4116
|
* @param {ConsultationStatus} [status]
|
|
4016
4117
|
* @param {ConsultationType} [consultationType]
|
|
4017
|
-
* @param {string} [
|
|
4118
|
+
* @param {string} [languageCode]
|
|
4018
4119
|
* @param {number} [page]
|
|
4019
4120
|
* @param {number} [limit]
|
|
4020
4121
|
* @param {Date} [lastRetrieved]
|
|
@@ -4022,9 +4123,9 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
4022
4123
|
* @throws {RequiredError}
|
|
4023
4124
|
* @memberof ConsultationsApi
|
|
4024
4125
|
*/
|
|
4025
|
-
ConsultationsApi.prototype.apiV2ConsultationsGet = function (
|
|
4126
|
+
ConsultationsApi.prototype.apiV2ConsultationsGet = function (hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options) {
|
|
4026
4127
|
var _this = this;
|
|
4027
|
-
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsGet(
|
|
4128
|
+
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsGet(hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4028
4129
|
};
|
|
4029
4130
|
/**
|
|
4030
4131
|
*
|
|
@@ -6249,17 +6350,20 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
6249
6350
|
}(base_1.BaseAPI));
|
|
6250
6351
|
exports.DealsApi = DealsApi;
|
|
6251
6352
|
/**
|
|
6252
|
-
*
|
|
6353
|
+
* DoctorAffiliationsApi - axios parameter creator
|
|
6253
6354
|
* @export
|
|
6254
6355
|
*/
|
|
6255
|
-
var
|
|
6356
|
+
var DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
6256
6357
|
var _this = this;
|
|
6257
6358
|
return {
|
|
6258
6359
|
/**
|
|
6259
6360
|
*
|
|
6260
6361
|
* @summary Get all doctor affiliations.
|
|
6261
|
-
* @param {string}
|
|
6362
|
+
* @param {string} [hospitalId]
|
|
6262
6363
|
* @param {string} [hospitalName]
|
|
6364
|
+
* @param {string} [doctorId]
|
|
6365
|
+
* @param {string} [doctorName]
|
|
6366
|
+
* @param {string} [doctorSlug]
|
|
6263
6367
|
* @param {string} [languageCode]
|
|
6264
6368
|
* @param {number} [page]
|
|
6265
6369
|
* @param {number} [limit]
|
|
@@ -6267,15 +6371,12 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6267
6371
|
* @param {*} [options] Override http request option.
|
|
6268
6372
|
* @throws {RequiredError}
|
|
6269
6373
|
*/
|
|
6270
|
-
|
|
6374
|
+
apiV2DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options) {
|
|
6271
6375
|
if (options === void 0) { options = {}; }
|
|
6272
6376
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6273
6377
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6274
6378
|
return __generator(this, function (_a) {
|
|
6275
|
-
|
|
6276
|
-
(0, common_1.assertParamExists)('apiV2DoctorsDoctorIdAffiliationsGet', 'doctorId', doctorId);
|
|
6277
|
-
localVarPath = "/api/v2/doctors/{doctorId}/affiliations"
|
|
6278
|
-
.replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
|
|
6379
|
+
localVarPath = "/api/v2/doctoraffiliations";
|
|
6279
6380
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6280
6381
|
if (configuration) {
|
|
6281
6382
|
baseOptions = configuration.baseOptions;
|
|
@@ -6283,9 +6384,21 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6283
6384
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
6284
6385
|
localVarHeaderParameter = {};
|
|
6285
6386
|
localVarQueryParameter = {};
|
|
6387
|
+
if (hospitalId !== undefined) {
|
|
6388
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
6389
|
+
}
|
|
6286
6390
|
if (hospitalName !== undefined) {
|
|
6287
6391
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
6288
6392
|
}
|
|
6393
|
+
if (doctorId !== undefined) {
|
|
6394
|
+
localVarQueryParameter['DoctorId'] = doctorId;
|
|
6395
|
+
}
|
|
6396
|
+
if (doctorName !== undefined) {
|
|
6397
|
+
localVarQueryParameter['DoctorName'] = doctorName;
|
|
6398
|
+
}
|
|
6399
|
+
if (doctorSlug !== undefined) {
|
|
6400
|
+
localVarQueryParameter['DoctorSlug'] = doctorSlug;
|
|
6401
|
+
}
|
|
6289
6402
|
if (languageCode !== undefined) {
|
|
6290
6403
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
6291
6404
|
}
|
|
@@ -6313,23 +6426,20 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6313
6426
|
/**
|
|
6314
6427
|
*
|
|
6315
6428
|
* @summary Get doctor affiliation.
|
|
6316
|
-
* @param {string}
|
|
6317
|
-
* @param {string}
|
|
6429
|
+
* @param {string} id
|
|
6430
|
+
* @param {string} [languageCode]
|
|
6318
6431
|
* @param {*} [options] Override http request option.
|
|
6319
6432
|
* @throws {RequiredError}
|
|
6320
6433
|
*/
|
|
6321
|
-
|
|
6434
|
+
apiV2DoctoraffiliationsIdGet: function (id, languageCode, options) {
|
|
6322
6435
|
if (options === void 0) { options = {}; }
|
|
6323
6436
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6324
6437
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6325
6438
|
return __generator(this, function (_a) {
|
|
6326
|
-
// verify required parameter '
|
|
6327
|
-
(0, common_1.assertParamExists)('
|
|
6328
|
-
|
|
6329
|
-
|
|
6330
|
-
localVarPath = "/api/v2/doctors/{doctorId}/affiliations/{hospitalId}"
|
|
6331
|
-
.replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
|
|
6332
|
-
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
6439
|
+
// verify required parameter 'id' is not null or undefined
|
|
6440
|
+
(0, common_1.assertParamExists)('apiV2DoctoraffiliationsIdGet', 'id', id);
|
|
6441
|
+
localVarPath = "/api/v2/doctoraffiliations/{id}"
|
|
6442
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
6333
6443
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6334
6444
|
if (configuration) {
|
|
6335
6445
|
baseOptions = configuration.baseOptions;
|
|
@@ -6337,6 +6447,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6337
6447
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
6338
6448
|
localVarHeaderParameter = {};
|
|
6339
6449
|
localVarQueryParameter = {};
|
|
6450
|
+
if (languageCode !== undefined) {
|
|
6451
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
6452
|
+
}
|
|
6340
6453
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6341
6454
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6342
6455
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6347,6 +6460,161 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6347
6460
|
});
|
|
6348
6461
|
});
|
|
6349
6462
|
},
|
|
6463
|
+
};
|
|
6464
|
+
};
|
|
6465
|
+
exports.DoctorAffiliationsApiAxiosParamCreator = DoctorAffiliationsApiAxiosParamCreator;
|
|
6466
|
+
/**
|
|
6467
|
+
* DoctorAffiliationsApi - functional programming interface
|
|
6468
|
+
* @export
|
|
6469
|
+
*/
|
|
6470
|
+
var DoctorAffiliationsApiFp = function (configuration) {
|
|
6471
|
+
var localVarAxiosParamCreator = (0, exports.DoctorAffiliationsApiAxiosParamCreator)(configuration);
|
|
6472
|
+
return {
|
|
6473
|
+
/**
|
|
6474
|
+
*
|
|
6475
|
+
* @summary Get all doctor affiliations.
|
|
6476
|
+
* @param {string} [hospitalId]
|
|
6477
|
+
* @param {string} [hospitalName]
|
|
6478
|
+
* @param {string} [doctorId]
|
|
6479
|
+
* @param {string} [doctorName]
|
|
6480
|
+
* @param {string} [doctorSlug]
|
|
6481
|
+
* @param {string} [languageCode]
|
|
6482
|
+
* @param {number} [page]
|
|
6483
|
+
* @param {number} [limit]
|
|
6484
|
+
* @param {Date} [lastRetrieved]
|
|
6485
|
+
* @param {*} [options] Override http request option.
|
|
6486
|
+
* @throws {RequiredError}
|
|
6487
|
+
*/
|
|
6488
|
+
apiV2DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options) {
|
|
6489
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6490
|
+
var localVarAxiosArgs;
|
|
6491
|
+
return __generator(this, function (_a) {
|
|
6492
|
+
switch (_a.label) {
|
|
6493
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options)];
|
|
6494
|
+
case 1:
|
|
6495
|
+
localVarAxiosArgs = _a.sent();
|
|
6496
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6497
|
+
}
|
|
6498
|
+
});
|
|
6499
|
+
});
|
|
6500
|
+
},
|
|
6501
|
+
/**
|
|
6502
|
+
*
|
|
6503
|
+
* @summary Get doctor affiliation.
|
|
6504
|
+
* @param {string} id
|
|
6505
|
+
* @param {string} [languageCode]
|
|
6506
|
+
* @param {*} [options] Override http request option.
|
|
6507
|
+
* @throws {RequiredError}
|
|
6508
|
+
*/
|
|
6509
|
+
apiV2DoctoraffiliationsIdGet: function (id, languageCode, options) {
|
|
6510
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6511
|
+
var localVarAxiosArgs;
|
|
6512
|
+
return __generator(this, function (_a) {
|
|
6513
|
+
switch (_a.label) {
|
|
6514
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsIdGet(id, languageCode, options)];
|
|
6515
|
+
case 1:
|
|
6516
|
+
localVarAxiosArgs = _a.sent();
|
|
6517
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6518
|
+
}
|
|
6519
|
+
});
|
|
6520
|
+
});
|
|
6521
|
+
},
|
|
6522
|
+
};
|
|
6523
|
+
};
|
|
6524
|
+
exports.DoctorAffiliationsApiFp = DoctorAffiliationsApiFp;
|
|
6525
|
+
/**
|
|
6526
|
+
* DoctorAffiliationsApi - factory interface
|
|
6527
|
+
* @export
|
|
6528
|
+
*/
|
|
6529
|
+
var DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
|
|
6530
|
+
var localVarFp = (0, exports.DoctorAffiliationsApiFp)(configuration);
|
|
6531
|
+
return {
|
|
6532
|
+
/**
|
|
6533
|
+
*
|
|
6534
|
+
* @summary Get all doctor affiliations.
|
|
6535
|
+
* @param {string} [hospitalId]
|
|
6536
|
+
* @param {string} [hospitalName]
|
|
6537
|
+
* @param {string} [doctorId]
|
|
6538
|
+
* @param {string} [doctorName]
|
|
6539
|
+
* @param {string} [doctorSlug]
|
|
6540
|
+
* @param {string} [languageCode]
|
|
6541
|
+
* @param {number} [page]
|
|
6542
|
+
* @param {number} [limit]
|
|
6543
|
+
* @param {Date} [lastRetrieved]
|
|
6544
|
+
* @param {*} [options] Override http request option.
|
|
6545
|
+
* @throws {RequiredError}
|
|
6546
|
+
*/
|
|
6547
|
+
apiV2DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options) {
|
|
6548
|
+
return localVarFp.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6549
|
+
},
|
|
6550
|
+
/**
|
|
6551
|
+
*
|
|
6552
|
+
* @summary Get doctor affiliation.
|
|
6553
|
+
* @param {string} id
|
|
6554
|
+
* @param {string} [languageCode]
|
|
6555
|
+
* @param {*} [options] Override http request option.
|
|
6556
|
+
* @throws {RequiredError}
|
|
6557
|
+
*/
|
|
6558
|
+
apiV2DoctoraffiliationsIdGet: function (id, languageCode, options) {
|
|
6559
|
+
return localVarFp.apiV2DoctoraffiliationsIdGet(id, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
6560
|
+
},
|
|
6561
|
+
};
|
|
6562
|
+
};
|
|
6563
|
+
exports.DoctorAffiliationsApiFactory = DoctorAffiliationsApiFactory;
|
|
6564
|
+
/**
|
|
6565
|
+
* DoctorAffiliationsApi - object-oriented interface
|
|
6566
|
+
* @export
|
|
6567
|
+
* @class DoctorAffiliationsApi
|
|
6568
|
+
* @extends {BaseAPI}
|
|
6569
|
+
*/
|
|
6570
|
+
var DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
6571
|
+
__extends(DoctorAffiliationsApi, _super);
|
|
6572
|
+
function DoctorAffiliationsApi() {
|
|
6573
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
6574
|
+
}
|
|
6575
|
+
/**
|
|
6576
|
+
*
|
|
6577
|
+
* @summary Get all doctor affiliations.
|
|
6578
|
+
* @param {string} [hospitalId]
|
|
6579
|
+
* @param {string} [hospitalName]
|
|
6580
|
+
* @param {string} [doctorId]
|
|
6581
|
+
* @param {string} [doctorName]
|
|
6582
|
+
* @param {string} [doctorSlug]
|
|
6583
|
+
* @param {string} [languageCode]
|
|
6584
|
+
* @param {number} [page]
|
|
6585
|
+
* @param {number} [limit]
|
|
6586
|
+
* @param {Date} [lastRetrieved]
|
|
6587
|
+
* @param {*} [options] Override http request option.
|
|
6588
|
+
* @throws {RequiredError}
|
|
6589
|
+
* @memberof DoctorAffiliationsApi
|
|
6590
|
+
*/
|
|
6591
|
+
DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsGet = function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options) {
|
|
6592
|
+
var _this = this;
|
|
6593
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6594
|
+
};
|
|
6595
|
+
/**
|
|
6596
|
+
*
|
|
6597
|
+
* @summary Get doctor affiliation.
|
|
6598
|
+
* @param {string} id
|
|
6599
|
+
* @param {string} [languageCode]
|
|
6600
|
+
* @param {*} [options] Override http request option.
|
|
6601
|
+
* @throws {RequiredError}
|
|
6602
|
+
* @memberof DoctorAffiliationsApi
|
|
6603
|
+
*/
|
|
6604
|
+
DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsIdGet = function (id, languageCode, options) {
|
|
6605
|
+
var _this = this;
|
|
6606
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsIdGet(id, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6607
|
+
};
|
|
6608
|
+
return DoctorAffiliationsApi;
|
|
6609
|
+
}(base_1.BaseAPI));
|
|
6610
|
+
exports.DoctorAffiliationsApi = DoctorAffiliationsApi;
|
|
6611
|
+
/**
|
|
6612
|
+
* DoctorsApi - axios parameter creator
|
|
6613
|
+
* @export
|
|
6614
|
+
*/
|
|
6615
|
+
var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
6616
|
+
var _this = this;
|
|
6617
|
+
return {
|
|
6350
6618
|
/**
|
|
6351
6619
|
*
|
|
6352
6620
|
* @summary Get DoctorCertificate.
|
|
@@ -6885,14 +7153,13 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6885
7153
|
* @param {string} [specialtyId]
|
|
6886
7154
|
* @param {string} [specialtyName]
|
|
6887
7155
|
* @param {string} [languageCode]
|
|
6888
|
-
* @param {boolean} [showHidden]
|
|
6889
7156
|
* @param {number} [page]
|
|
6890
7157
|
* @param {number} [limit]
|
|
6891
7158
|
* @param {Date} [lastRetrieved]
|
|
6892
7159
|
* @param {*} [options] Override http request option.
|
|
6893
7160
|
* @throws {RequiredError}
|
|
6894
7161
|
*/
|
|
6895
|
-
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode,
|
|
7162
|
+
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
|
|
6896
7163
|
if (options === void 0) { options = {}; }
|
|
6897
7164
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6898
7165
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6920,9 +7187,6 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6920
7187
|
if (languageCode !== undefined) {
|
|
6921
7188
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
6922
7189
|
}
|
|
6923
|
-
if (showHidden !== undefined) {
|
|
6924
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
6925
|
-
}
|
|
6926
7190
|
if (page !== undefined) {
|
|
6927
7191
|
localVarQueryParameter['page'] = page;
|
|
6928
7192
|
}
|
|
@@ -7241,52 +7505,6 @@ exports.DoctorsApiAxiosParamCreator = DoctorsApiAxiosParamCreator;
|
|
|
7241
7505
|
var DoctorsApiFp = function (configuration) {
|
|
7242
7506
|
var localVarAxiosParamCreator = (0, exports.DoctorsApiAxiosParamCreator)(configuration);
|
|
7243
7507
|
return {
|
|
7244
|
-
/**
|
|
7245
|
-
*
|
|
7246
|
-
* @summary Get all doctor affiliations.
|
|
7247
|
-
* @param {string} doctorId
|
|
7248
|
-
* @param {string} [hospitalName]
|
|
7249
|
-
* @param {string} [languageCode]
|
|
7250
|
-
* @param {number} [page]
|
|
7251
|
-
* @param {number} [limit]
|
|
7252
|
-
* @param {Date} [lastRetrieved]
|
|
7253
|
-
* @param {*} [options] Override http request option.
|
|
7254
|
-
* @throws {RequiredError}
|
|
7255
|
-
*/
|
|
7256
|
-
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
7257
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7258
|
-
var localVarAxiosArgs;
|
|
7259
|
-
return __generator(this, function (_a) {
|
|
7260
|
-
switch (_a.label) {
|
|
7261
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options)];
|
|
7262
|
-
case 1:
|
|
7263
|
-
localVarAxiosArgs = _a.sent();
|
|
7264
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7265
|
-
}
|
|
7266
|
-
});
|
|
7267
|
-
});
|
|
7268
|
-
},
|
|
7269
|
-
/**
|
|
7270
|
-
*
|
|
7271
|
-
* @summary Get doctor affiliation.
|
|
7272
|
-
* @param {string} doctorId
|
|
7273
|
-
* @param {string} hospitalId
|
|
7274
|
-
* @param {*} [options] Override http request option.
|
|
7275
|
-
* @throws {RequiredError}
|
|
7276
|
-
*/
|
|
7277
|
-
apiV2DoctorsDoctorIdAffiliationsHospitalIdGet: function (doctorId, hospitalId, options) {
|
|
7278
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7279
|
-
var localVarAxiosArgs;
|
|
7280
|
-
return __generator(this, function (_a) {
|
|
7281
|
-
switch (_a.label) {
|
|
7282
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options)];
|
|
7283
|
-
case 1:
|
|
7284
|
-
localVarAxiosArgs = _a.sent();
|
|
7285
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7286
|
-
}
|
|
7287
|
-
});
|
|
7288
|
-
});
|
|
7289
|
-
},
|
|
7290
7508
|
/**
|
|
7291
7509
|
*
|
|
7292
7510
|
* @summary Get DoctorCertificate.
|
|
@@ -7552,19 +7770,18 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7552
7770
|
* @param {string} [specialtyId]
|
|
7553
7771
|
* @param {string} [specialtyName]
|
|
7554
7772
|
* @param {string} [languageCode]
|
|
7555
|
-
* @param {boolean} [showHidden]
|
|
7556
7773
|
* @param {number} [page]
|
|
7557
7774
|
* @param {number} [limit]
|
|
7558
7775
|
* @param {Date} [lastRetrieved]
|
|
7559
7776
|
* @param {*} [options] Override http request option.
|
|
7560
7777
|
* @throws {RequiredError}
|
|
7561
7778
|
*/
|
|
7562
|
-
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode,
|
|
7779
|
+
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
|
|
7563
7780
|
return __awaiter(this, void 0, void 0, function () {
|
|
7564
7781
|
var localVarAxiosArgs;
|
|
7565
7782
|
return __generator(this, function (_a) {
|
|
7566
7783
|
switch (_a.label) {
|
|
7567
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode,
|
|
7784
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options)];
|
|
7568
7785
|
case 1:
|
|
7569
7786
|
localVarAxiosArgs = _a.sent();
|
|
7570
7787
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7697,32 +7914,6 @@ exports.DoctorsApiFp = DoctorsApiFp;
|
|
|
7697
7914
|
var DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
7698
7915
|
var localVarFp = (0, exports.DoctorsApiFp)(configuration);
|
|
7699
7916
|
return {
|
|
7700
|
-
/**
|
|
7701
|
-
*
|
|
7702
|
-
* @summary Get all doctor affiliations.
|
|
7703
|
-
* @param {string} doctorId
|
|
7704
|
-
* @param {string} [hospitalName]
|
|
7705
|
-
* @param {string} [languageCode]
|
|
7706
|
-
* @param {number} [page]
|
|
7707
|
-
* @param {number} [limit]
|
|
7708
|
-
* @param {Date} [lastRetrieved]
|
|
7709
|
-
* @param {*} [options] Override http request option.
|
|
7710
|
-
* @throws {RequiredError}
|
|
7711
|
-
*/
|
|
7712
|
-
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
7713
|
-
return localVarFp.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7714
|
-
},
|
|
7715
|
-
/**
|
|
7716
|
-
*
|
|
7717
|
-
* @summary Get doctor affiliation.
|
|
7718
|
-
* @param {string} doctorId
|
|
7719
|
-
* @param {string} hospitalId
|
|
7720
|
-
* @param {*} [options] Override http request option.
|
|
7721
|
-
* @throws {RequiredError}
|
|
7722
|
-
*/
|
|
7723
|
-
apiV2DoctorsDoctorIdAffiliationsHospitalIdGet: function (doctorId, hospitalId, options) {
|
|
7724
|
-
return localVarFp.apiV2DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
7725
|
-
},
|
|
7726
7917
|
/**
|
|
7727
7918
|
*
|
|
7728
7919
|
* @summary Get DoctorCertificate.
|
|
@@ -7878,15 +8069,14 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
7878
8069
|
* @param {string} [specialtyId]
|
|
7879
8070
|
* @param {string} [specialtyName]
|
|
7880
8071
|
* @param {string} [languageCode]
|
|
7881
|
-
* @param {boolean} [showHidden]
|
|
7882
8072
|
* @param {number} [page]
|
|
7883
8073
|
* @param {number} [limit]
|
|
7884
8074
|
* @param {Date} [lastRetrieved]
|
|
7885
8075
|
* @param {*} [options] Override http request option.
|
|
7886
8076
|
* @throws {RequiredError}
|
|
7887
8077
|
*/
|
|
7888
|
-
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode,
|
|
7889
|
-
return localVarFp.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode,
|
|
8078
|
+
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
|
|
8079
|
+
return localVarFp.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7890
8080
|
},
|
|
7891
8081
|
/**
|
|
7892
8082
|
*
|
|
@@ -7977,36 +8167,6 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
7977
8167
|
function DoctorsApi() {
|
|
7978
8168
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
7979
8169
|
}
|
|
7980
|
-
/**
|
|
7981
|
-
*
|
|
7982
|
-
* @summary Get all doctor affiliations.
|
|
7983
|
-
* @param {string} doctorId
|
|
7984
|
-
* @param {string} [hospitalName]
|
|
7985
|
-
* @param {string} [languageCode]
|
|
7986
|
-
* @param {number} [page]
|
|
7987
|
-
* @param {number} [limit]
|
|
7988
|
-
* @param {Date} [lastRetrieved]
|
|
7989
|
-
* @param {*} [options] Override http request option.
|
|
7990
|
-
* @throws {RequiredError}
|
|
7991
|
-
* @memberof DoctorsApi
|
|
7992
|
-
*/
|
|
7993
|
-
DoctorsApi.prototype.apiV2DoctorsDoctorIdAffiliationsGet = function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
7994
|
-
var _this = this;
|
|
7995
|
-
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7996
|
-
};
|
|
7997
|
-
/**
|
|
7998
|
-
*
|
|
7999
|
-
* @summary Get doctor affiliation.
|
|
8000
|
-
* @param {string} doctorId
|
|
8001
|
-
* @param {string} hospitalId
|
|
8002
|
-
* @param {*} [options] Override http request option.
|
|
8003
|
-
* @throws {RequiredError}
|
|
8004
|
-
* @memberof DoctorsApi
|
|
8005
|
-
*/
|
|
8006
|
-
DoctorsApi.prototype.apiV2DoctorsDoctorIdAffiliationsHospitalIdGet = function (doctorId, hospitalId, options) {
|
|
8007
|
-
var _this = this;
|
|
8008
|
-
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8009
|
-
};
|
|
8010
8170
|
/**
|
|
8011
8171
|
*
|
|
8012
8172
|
* @summary Get DoctorCertificate.
|
|
@@ -8184,7 +8344,6 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
8184
8344
|
* @param {string} [specialtyId]
|
|
8185
8345
|
* @param {string} [specialtyName]
|
|
8186
8346
|
* @param {string} [languageCode]
|
|
8187
|
-
* @param {boolean} [showHidden]
|
|
8188
8347
|
* @param {number} [page]
|
|
8189
8348
|
* @param {number} [limit]
|
|
8190
8349
|
* @param {Date} [lastRetrieved]
|
|
@@ -8192,9 +8351,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
8192
8351
|
* @throws {RequiredError}
|
|
8193
8352
|
* @memberof DoctorsApi
|
|
8194
8353
|
*/
|
|
8195
|
-
DoctorsApi.prototype.apiV2DoctorsDoctorIdSpecialtiesGet = function (doctorId, doctorName, specialtyId, specialtyName, languageCode,
|
|
8354
|
+
DoctorsApi.prototype.apiV2DoctorsDoctorIdSpecialtiesGet = function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
|
|
8196
8355
|
var _this = this;
|
|
8197
|
-
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode,
|
|
8356
|
+
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8198
8357
|
};
|
|
8199
8358
|
/**
|
|
8200
8359
|
*
|
|
@@ -10596,17 +10755,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10596
10755
|
* @param {string} [name]
|
|
10597
10756
|
* @param {string} [slug]
|
|
10598
10757
|
* @param {MarketingType} [marketingType]
|
|
10599
|
-
* @param {boolean} [returnDefaultValue]
|
|
10600
|
-
* @param {boolean} [includeServices]
|
|
10601
10758
|
* @param {string} [languageCode]
|
|
10602
|
-
* @param {boolean} [showHidden]
|
|
10603
10759
|
* @param {number} [page]
|
|
10604
10760
|
* @param {number} [limit]
|
|
10605
10761
|
* @param {Date} [lastRetrieved]
|
|
10606
10762
|
* @param {*} [options] Override http request option.
|
|
10607
10763
|
* @throws {RequiredError}
|
|
10608
10764
|
*/
|
|
10609
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
10765
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
10610
10766
|
if (options === void 0) { options = {}; }
|
|
10611
10767
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10612
10768
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10646,18 +10802,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10646
10802
|
if (marketingType !== undefined) {
|
|
10647
10803
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
10648
10804
|
}
|
|
10649
|
-
if (returnDefaultValue !== undefined) {
|
|
10650
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
10651
|
-
}
|
|
10652
|
-
if (includeServices !== undefined) {
|
|
10653
|
-
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
10654
|
-
}
|
|
10655
10805
|
if (languageCode !== undefined) {
|
|
10656
10806
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10657
10807
|
}
|
|
10658
|
-
if (showHidden !== undefined) {
|
|
10659
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
10660
|
-
}
|
|
10661
10808
|
if (page !== undefined) {
|
|
10662
10809
|
localVarQueryParameter['page'] = page;
|
|
10663
10810
|
}
|
|
@@ -10791,17 +10938,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10791
10938
|
* @param {string} [name]
|
|
10792
10939
|
* @param {string} [slug]
|
|
10793
10940
|
* @param {MarketingType} [marketingType]
|
|
10794
|
-
* @param {boolean} [returnDefaultValue]
|
|
10795
|
-
* @param {boolean} [includeServices]
|
|
10796
10941
|
* @param {string} [languageCode]
|
|
10797
|
-
* @param {boolean} [showHidden]
|
|
10798
10942
|
* @param {number} [page]
|
|
10799
10943
|
* @param {number} [limit]
|
|
10800
10944
|
* @param {Date} [lastRetrieved]
|
|
10801
10945
|
* @param {*} [options] Override http request option.
|
|
10802
10946
|
* @throws {RequiredError}
|
|
10803
10947
|
*/
|
|
10804
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
10948
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
10805
10949
|
if (options === void 0) { options = {}; }
|
|
10806
10950
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10807
10951
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10841,18 +10985,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10841
10985
|
if (marketingType !== undefined) {
|
|
10842
10986
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
10843
10987
|
}
|
|
10844
|
-
if (returnDefaultValue !== undefined) {
|
|
10845
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
10846
|
-
}
|
|
10847
|
-
if (includeServices !== undefined) {
|
|
10848
|
-
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
10849
|
-
}
|
|
10850
10988
|
if (languageCode !== undefined) {
|
|
10851
10989
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10852
10990
|
}
|
|
10853
|
-
if (showHidden !== undefined) {
|
|
10854
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
10855
|
-
}
|
|
10856
10991
|
if (page !== undefined) {
|
|
10857
10992
|
localVarQueryParameter['page'] = page;
|
|
10858
10993
|
}
|
|
@@ -10880,12 +11015,10 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10880
11015
|
* @param {string} hospitalId
|
|
10881
11016
|
* @param {string} slug
|
|
10882
11017
|
* @param {string} [languageCode]
|
|
10883
|
-
* @param {boolean} [returnDefaultValue]
|
|
10884
|
-
* @param {boolean} [includeServices]
|
|
10885
11018
|
* @param {*} [options] Override http request option.
|
|
10886
11019
|
* @throws {RequiredError}
|
|
10887
11020
|
*/
|
|
10888
|
-
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode,
|
|
11021
|
+
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, options) {
|
|
10889
11022
|
if (options === void 0) { options = {}; }
|
|
10890
11023
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10891
11024
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10907,12 +11040,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10907
11040
|
if (languageCode !== undefined) {
|
|
10908
11041
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
10909
11042
|
}
|
|
10910
|
-
if (returnDefaultValue !== undefined) {
|
|
10911
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
10912
|
-
}
|
|
10913
|
-
if (includeServices !== undefined) {
|
|
10914
|
-
localVarQueryParameter['includeServices'] = includeServices;
|
|
10915
|
-
}
|
|
10916
11043
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10917
11044
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10918
11045
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -11818,22 +11945,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11818
11945
|
* @param {string} [name]
|
|
11819
11946
|
* @param {string} [slug]
|
|
11820
11947
|
* @param {MarketingType} [marketingType]
|
|
11821
|
-
* @param {boolean} [returnDefaultValue]
|
|
11822
|
-
* @param {boolean} [includeServices]
|
|
11823
11948
|
* @param {string} [languageCode]
|
|
11824
|
-
* @param {boolean} [showHidden]
|
|
11825
11949
|
* @param {number} [page]
|
|
11826
11950
|
* @param {number} [limit]
|
|
11827
11951
|
* @param {Date} [lastRetrieved]
|
|
11828
11952
|
* @param {*} [options] Override http request option.
|
|
11829
11953
|
* @throws {RequiredError}
|
|
11830
11954
|
*/
|
|
11831
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
11955
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
11832
11956
|
return __awaiter(this, void 0, void 0, function () {
|
|
11833
11957
|
var localVarAxiosArgs;
|
|
11834
11958
|
return __generator(this, function (_a) {
|
|
11835
11959
|
switch (_a.label) {
|
|
11836
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
11960
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
11837
11961
|
case 1:
|
|
11838
11962
|
localVarAxiosArgs = _a.sent();
|
|
11839
11963
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11901,22 +12025,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11901
12025
|
* @param {string} [name]
|
|
11902
12026
|
* @param {string} [slug]
|
|
11903
12027
|
* @param {MarketingType} [marketingType]
|
|
11904
|
-
* @param {boolean} [returnDefaultValue]
|
|
11905
|
-
* @param {boolean} [includeServices]
|
|
11906
12028
|
* @param {string} [languageCode]
|
|
11907
|
-
* @param {boolean} [showHidden]
|
|
11908
12029
|
* @param {number} [page]
|
|
11909
12030
|
* @param {number} [limit]
|
|
11910
12031
|
* @param {Date} [lastRetrieved]
|
|
11911
12032
|
* @param {*} [options] Override http request option.
|
|
11912
12033
|
* @throws {RequiredError}
|
|
11913
12034
|
*/
|
|
11914
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
12035
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
11915
12036
|
return __awaiter(this, void 0, void 0, function () {
|
|
11916
12037
|
var localVarAxiosArgs;
|
|
11917
12038
|
return __generator(this, function (_a) {
|
|
11918
12039
|
switch (_a.label) {
|
|
11919
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
12040
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
11920
12041
|
case 1:
|
|
11921
12042
|
localVarAxiosArgs = _a.sent();
|
|
11922
12043
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11930,17 +12051,15 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11930
12051
|
* @param {string} hospitalId
|
|
11931
12052
|
* @param {string} slug
|
|
11932
12053
|
* @param {string} [languageCode]
|
|
11933
|
-
* @param {boolean} [returnDefaultValue]
|
|
11934
|
-
* @param {boolean} [includeServices]
|
|
11935
12054
|
* @param {*} [options] Override http request option.
|
|
11936
12055
|
* @throws {RequiredError}
|
|
11937
12056
|
*/
|
|
11938
|
-
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode,
|
|
12057
|
+
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, options) {
|
|
11939
12058
|
return __awaiter(this, void 0, void 0, function () {
|
|
11940
12059
|
var localVarAxiosArgs;
|
|
11941
12060
|
return __generator(this, function (_a) {
|
|
11942
12061
|
switch (_a.label) {
|
|
11943
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode,
|
|
12062
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, options)];
|
|
11944
12063
|
case 1:
|
|
11945
12064
|
localVarAxiosArgs = _a.sent();
|
|
11946
12065
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12405,18 +12524,15 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12405
12524
|
* @param {string} [name]
|
|
12406
12525
|
* @param {string} [slug]
|
|
12407
12526
|
* @param {MarketingType} [marketingType]
|
|
12408
|
-
* @param {boolean} [returnDefaultValue]
|
|
12409
|
-
* @param {boolean} [includeServices]
|
|
12410
12527
|
* @param {string} [languageCode]
|
|
12411
|
-
* @param {boolean} [showHidden]
|
|
12412
12528
|
* @param {number} [page]
|
|
12413
12529
|
* @param {number} [limit]
|
|
12414
12530
|
* @param {Date} [lastRetrieved]
|
|
12415
12531
|
* @param {*} [options] Override http request option.
|
|
12416
12532
|
* @throws {RequiredError}
|
|
12417
12533
|
*/
|
|
12418
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
12419
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
12534
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12535
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12420
12536
|
},
|
|
12421
12537
|
/**
|
|
12422
12538
|
*
|
|
@@ -12458,18 +12574,15 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12458
12574
|
* @param {string} [name]
|
|
12459
12575
|
* @param {string} [slug]
|
|
12460
12576
|
* @param {MarketingType} [marketingType]
|
|
12461
|
-
* @param {boolean} [returnDefaultValue]
|
|
12462
|
-
* @param {boolean} [includeServices]
|
|
12463
12577
|
* @param {string} [languageCode]
|
|
12464
|
-
* @param {boolean} [showHidden]
|
|
12465
12578
|
* @param {number} [page]
|
|
12466
12579
|
* @param {number} [limit]
|
|
12467
12580
|
* @param {Date} [lastRetrieved]
|
|
12468
12581
|
* @param {*} [options] Override http request option.
|
|
12469
12582
|
* @throws {RequiredError}
|
|
12470
12583
|
*/
|
|
12471
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
12472
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
12584
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12585
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12473
12586
|
},
|
|
12474
12587
|
/**
|
|
12475
12588
|
*
|
|
@@ -12477,13 +12590,11 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12477
12590
|
* @param {string} hospitalId
|
|
12478
12591
|
* @param {string} slug
|
|
12479
12592
|
* @param {string} [languageCode]
|
|
12480
|
-
* @param {boolean} [returnDefaultValue]
|
|
12481
|
-
* @param {boolean} [includeServices]
|
|
12482
12593
|
* @param {*} [options] Override http request option.
|
|
12483
12594
|
* @throws {RequiredError}
|
|
12484
12595
|
*/
|
|
12485
|
-
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode,
|
|
12486
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode,
|
|
12596
|
+
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, options) {
|
|
12597
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
12487
12598
|
},
|
|
12488
12599
|
/**
|
|
12489
12600
|
*
|
|
@@ -12884,10 +12995,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12884
12995
|
* @param {string} [name]
|
|
12885
12996
|
* @param {string} [slug]
|
|
12886
12997
|
* @param {MarketingType} [marketingType]
|
|
12887
|
-
* @param {boolean} [returnDefaultValue]
|
|
12888
|
-
* @param {boolean} [includeServices]
|
|
12889
12998
|
* @param {string} [languageCode]
|
|
12890
|
-
* @param {boolean} [showHidden]
|
|
12891
12999
|
* @param {number} [page]
|
|
12892
13000
|
* @param {number} [limit]
|
|
12893
13001
|
* @param {Date} [lastRetrieved]
|
|
@@ -12895,9 +13003,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12895
13003
|
* @throws {RequiredError}
|
|
12896
13004
|
* @memberof HospitalsApi
|
|
12897
13005
|
*/
|
|
12898
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
13006
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12899
13007
|
var _this = this;
|
|
12900
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
13008
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12901
13009
|
};
|
|
12902
13010
|
/**
|
|
12903
13011
|
*
|
|
@@ -12943,10 +13051,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12943
13051
|
* @param {string} [name]
|
|
12944
13052
|
* @param {string} [slug]
|
|
12945
13053
|
* @param {MarketingType} [marketingType]
|
|
12946
|
-
* @param {boolean} [returnDefaultValue]
|
|
12947
|
-
* @param {boolean} [includeServices]
|
|
12948
13054
|
* @param {string} [languageCode]
|
|
12949
|
-
* @param {boolean} [showHidden]
|
|
12950
13055
|
* @param {number} [page]
|
|
12951
13056
|
* @param {number} [limit]
|
|
12952
13057
|
* @param {Date} [lastRetrieved]
|
|
@@ -12954,9 +13059,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12954
13059
|
* @throws {RequiredError}
|
|
12955
13060
|
* @memberof HospitalsApi
|
|
12956
13061
|
*/
|
|
12957
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
13062
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12958
13063
|
var _this = this;
|
|
12959
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
13064
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12960
13065
|
};
|
|
12961
13066
|
/**
|
|
12962
13067
|
*
|
|
@@ -12964,15 +13069,13 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12964
13069
|
* @param {string} hospitalId
|
|
12965
13070
|
* @param {string} slug
|
|
12966
13071
|
* @param {string} [languageCode]
|
|
12967
|
-
* @param {boolean} [returnDefaultValue]
|
|
12968
|
-
* @param {boolean} [includeServices]
|
|
12969
13072
|
* @param {*} [options] Override http request option.
|
|
12970
13073
|
* @throws {RequiredError}
|
|
12971
13074
|
* @memberof HospitalsApi
|
|
12972
13075
|
*/
|
|
12973
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSlugGet = function (hospitalId, slug, languageCode,
|
|
13076
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSlugGet = function (hospitalId, slug, languageCode, options) {
|
|
12974
13077
|
var _this = this;
|
|
12975
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode,
|
|
13078
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12976
13079
|
};
|
|
12977
13080
|
/**
|
|
12978
13081
|
*
|