ch-api-client-typescript2 3.1.5 → 3.2.2
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 +146 -9
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +213 -14
- package/package.json +1 -1
- package/src/api.ts +244 -15
package/lib/api.js
CHANGED
|
@@ -307,6 +307,7 @@ var SnsType;
|
|
|
307
307
|
SnsType["Instagram"] = "Instagram";
|
|
308
308
|
SnsType["LinkedIn"] = "LinkedIn";
|
|
309
309
|
SnsType["Youtube"] = "Youtube";
|
|
310
|
+
SnsType["KakaoTalk"] = "KakaoTalk";
|
|
310
311
|
})(SnsType = exports.SnsType || (exports.SnsType = {}));
|
|
311
312
|
/**
|
|
312
313
|
*
|
|
@@ -2217,6 +2218,49 @@ var BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
2217
2218
|
});
|
|
2218
2219
|
});
|
|
2219
2220
|
},
|
|
2221
|
+
/**
|
|
2222
|
+
*
|
|
2223
|
+
* @summary Mark as Paid booking.
|
|
2224
|
+
* @param {string} bookingId
|
|
2225
|
+
* @param {*} [options] Override http request option.
|
|
2226
|
+
* @throws {RequiredError}
|
|
2227
|
+
*/
|
|
2228
|
+
apiV2BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
2229
|
+
if (options === void 0) { options = {}; }
|
|
2230
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
2231
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2232
|
+
return __generator(this, function (_a) {
|
|
2233
|
+
switch (_a.label) {
|
|
2234
|
+
case 0:
|
|
2235
|
+
// verify required parameter 'bookingId' is not null or undefined
|
|
2236
|
+
(0, common_1.assertParamExists)('apiV2BookingsBookingIdPaidPost', 'bookingId', bookingId);
|
|
2237
|
+
localVarPath = "/api/v2/bookings/{bookingId}/paid"
|
|
2238
|
+
.replace("{".concat("bookingId", "}"), encodeURIComponent(String(bookingId)));
|
|
2239
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2240
|
+
if (configuration) {
|
|
2241
|
+
baseOptions = configuration.baseOptions;
|
|
2242
|
+
}
|
|
2243
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
2244
|
+
localVarHeaderParameter = {};
|
|
2245
|
+
localVarQueryParameter = {};
|
|
2246
|
+
// authentication oauth2 required
|
|
2247
|
+
// oauth required
|
|
2248
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
2249
|
+
case 1:
|
|
2250
|
+
// authentication oauth2 required
|
|
2251
|
+
// oauth required
|
|
2252
|
+
_a.sent();
|
|
2253
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2254
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2255
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2256
|
+
return [2 /*return*/, {
|
|
2257
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2258
|
+
options: localVarRequestOptions,
|
|
2259
|
+
}];
|
|
2260
|
+
}
|
|
2261
|
+
});
|
|
2262
|
+
});
|
|
2263
|
+
},
|
|
2220
2264
|
/**
|
|
2221
2265
|
*
|
|
2222
2266
|
* @summary Pay booking.
|
|
@@ -2459,6 +2503,26 @@ var BookingsApiFp = function (configuration) {
|
|
|
2459
2503
|
});
|
|
2460
2504
|
});
|
|
2461
2505
|
},
|
|
2506
|
+
/**
|
|
2507
|
+
*
|
|
2508
|
+
* @summary Mark as Paid booking.
|
|
2509
|
+
* @param {string} bookingId
|
|
2510
|
+
* @param {*} [options] Override http request option.
|
|
2511
|
+
* @throws {RequiredError}
|
|
2512
|
+
*/
|
|
2513
|
+
apiV2BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
2514
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2515
|
+
var localVarAxiosArgs;
|
|
2516
|
+
return __generator(this, function (_a) {
|
|
2517
|
+
switch (_a.label) {
|
|
2518
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsBookingIdPaidPost(bookingId, options)];
|
|
2519
|
+
case 1:
|
|
2520
|
+
localVarAxiosArgs = _a.sent();
|
|
2521
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2522
|
+
}
|
|
2523
|
+
});
|
|
2524
|
+
});
|
|
2525
|
+
},
|
|
2462
2526
|
/**
|
|
2463
2527
|
*
|
|
2464
2528
|
* @summary Pay booking.
|
|
@@ -2569,6 +2633,16 @@ var BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
2569
2633
|
apiV2BookingsBookingIdGet: function (bookingId, options) {
|
|
2570
2634
|
return localVarFp.apiV2BookingsBookingIdGet(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
2571
2635
|
},
|
|
2636
|
+
/**
|
|
2637
|
+
*
|
|
2638
|
+
* @summary Mark as Paid booking.
|
|
2639
|
+
* @param {string} bookingId
|
|
2640
|
+
* @param {*} [options] Override http request option.
|
|
2641
|
+
* @throws {RequiredError}
|
|
2642
|
+
*/
|
|
2643
|
+
apiV2BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
2644
|
+
return localVarFp.apiV2BookingsBookingIdPaidPost(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
2645
|
+
},
|
|
2572
2646
|
/**
|
|
2573
2647
|
*
|
|
2574
2648
|
* @summary Pay booking.
|
|
@@ -2645,6 +2719,18 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
2645
2719
|
var _this = this;
|
|
2646
2720
|
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdGet(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2647
2721
|
};
|
|
2722
|
+
/**
|
|
2723
|
+
*
|
|
2724
|
+
* @summary Mark as Paid booking.
|
|
2725
|
+
* @param {string} bookingId
|
|
2726
|
+
* @param {*} [options] Override http request option.
|
|
2727
|
+
* @throws {RequiredError}
|
|
2728
|
+
* @memberof BookingsApi
|
|
2729
|
+
*/
|
|
2730
|
+
BookingsApi.prototype.apiV2BookingsBookingIdPaidPost = function (bookingId, options) {
|
|
2731
|
+
var _this = this;
|
|
2732
|
+
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdPaidPost(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2733
|
+
};
|
|
2648
2734
|
/**
|
|
2649
2735
|
*
|
|
2650
2736
|
* @summary Pay booking.
|
|
@@ -3610,6 +3696,49 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
3610
3696
|
});
|
|
3611
3697
|
});
|
|
3612
3698
|
},
|
|
3699
|
+
/**
|
|
3700
|
+
*
|
|
3701
|
+
* @summary Mark as Paid booking.
|
|
3702
|
+
* @param {string} consultationId
|
|
3703
|
+
* @param {*} [options] Override http request option.
|
|
3704
|
+
* @throws {RequiredError}
|
|
3705
|
+
*/
|
|
3706
|
+
apiV2ConsultationsConsultationIdPaidPost: function (consultationId, options) {
|
|
3707
|
+
if (options === void 0) { options = {}; }
|
|
3708
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3709
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3710
|
+
return __generator(this, function (_a) {
|
|
3711
|
+
switch (_a.label) {
|
|
3712
|
+
case 0:
|
|
3713
|
+
// verify required parameter 'consultationId' is not null or undefined
|
|
3714
|
+
(0, common_1.assertParamExists)('apiV2ConsultationsConsultationIdPaidPost', 'consultationId', consultationId);
|
|
3715
|
+
localVarPath = "/api/v2/consultations/{consultationId}/paid"
|
|
3716
|
+
.replace("{".concat("consultationId", "}"), encodeURIComponent(String(consultationId)));
|
|
3717
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3718
|
+
if (configuration) {
|
|
3719
|
+
baseOptions = configuration.baseOptions;
|
|
3720
|
+
}
|
|
3721
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
3722
|
+
localVarHeaderParameter = {};
|
|
3723
|
+
localVarQueryParameter = {};
|
|
3724
|
+
// authentication oauth2 required
|
|
3725
|
+
// oauth required
|
|
3726
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
3727
|
+
case 1:
|
|
3728
|
+
// authentication oauth2 required
|
|
3729
|
+
// oauth required
|
|
3730
|
+
_a.sent();
|
|
3731
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3732
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3733
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3734
|
+
return [2 /*return*/, {
|
|
3735
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3736
|
+
options: localVarRequestOptions,
|
|
3737
|
+
}];
|
|
3738
|
+
}
|
|
3739
|
+
});
|
|
3740
|
+
});
|
|
3741
|
+
},
|
|
3613
3742
|
/**
|
|
3614
3743
|
*
|
|
3615
3744
|
* @summary Pay consultation.
|
|
@@ -3852,6 +3981,26 @@ var ConsultationsApiFp = function (configuration) {
|
|
|
3852
3981
|
});
|
|
3853
3982
|
});
|
|
3854
3983
|
},
|
|
3984
|
+
/**
|
|
3985
|
+
*
|
|
3986
|
+
* @summary Mark as Paid booking.
|
|
3987
|
+
* @param {string} consultationId
|
|
3988
|
+
* @param {*} [options] Override http request option.
|
|
3989
|
+
* @throws {RequiredError}
|
|
3990
|
+
*/
|
|
3991
|
+
apiV2ConsultationsConsultationIdPaidPost: function (consultationId, options) {
|
|
3992
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3993
|
+
var localVarAxiosArgs;
|
|
3994
|
+
return __generator(this, function (_a) {
|
|
3995
|
+
switch (_a.label) {
|
|
3996
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ConsultationsConsultationIdPaidPost(consultationId, options)];
|
|
3997
|
+
case 1:
|
|
3998
|
+
localVarAxiosArgs = _a.sent();
|
|
3999
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
4000
|
+
}
|
|
4001
|
+
});
|
|
4002
|
+
});
|
|
4003
|
+
},
|
|
3855
4004
|
/**
|
|
3856
4005
|
*
|
|
3857
4006
|
* @summary Pay consultation.
|
|
@@ -3962,6 +4111,16 @@ var ConsultationsApiFactory = function (configuration, basePath, axios) {
|
|
|
3962
4111
|
apiV2ConsultationsConsultationIdGet: function (consultationId, options) {
|
|
3963
4112
|
return localVarFp.apiV2ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(axios, basePath); });
|
|
3964
4113
|
},
|
|
4114
|
+
/**
|
|
4115
|
+
*
|
|
4116
|
+
* @summary Mark as Paid booking.
|
|
4117
|
+
* @param {string} consultationId
|
|
4118
|
+
* @param {*} [options] Override http request option.
|
|
4119
|
+
* @throws {RequiredError}
|
|
4120
|
+
*/
|
|
4121
|
+
apiV2ConsultationsConsultationIdPaidPost: function (consultationId, options) {
|
|
4122
|
+
return localVarFp.apiV2ConsultationsConsultationIdPaidPost(consultationId, options).then(function (request) { return request(axios, basePath); });
|
|
4123
|
+
},
|
|
3965
4124
|
/**
|
|
3966
4125
|
*
|
|
3967
4126
|
* @summary Pay consultation.
|
|
@@ -4038,6 +4197,18 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
4038
4197
|
var _this = this;
|
|
4039
4198
|
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4040
4199
|
};
|
|
4200
|
+
/**
|
|
4201
|
+
*
|
|
4202
|
+
* @summary Mark as Paid booking.
|
|
4203
|
+
* @param {string} consultationId
|
|
4204
|
+
* @param {*} [options] Override http request option.
|
|
4205
|
+
* @throws {RequiredError}
|
|
4206
|
+
* @memberof ConsultationsApi
|
|
4207
|
+
*/
|
|
4208
|
+
ConsultationsApi.prototype.apiV2ConsultationsConsultationIdPaidPost = function (consultationId, options) {
|
|
4209
|
+
var _this = this;
|
|
4210
|
+
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdPaidPost(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4211
|
+
};
|
|
4041
4212
|
/**
|
|
4042
4213
|
*
|
|
4043
4214
|
* @summary Pay consultation.
|
|
@@ -16110,13 +16281,15 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16110
16281
|
* @param {boolean} [recommended]
|
|
16111
16282
|
* @param {number} [rate]
|
|
16112
16283
|
* @param {ReviewType} [reviewType]
|
|
16284
|
+
* @param {string} [languageCode]
|
|
16285
|
+
* @param {boolean} [returnDefaultValue]
|
|
16113
16286
|
* @param {number} [page]
|
|
16114
16287
|
* @param {number} [limit]
|
|
16115
16288
|
* @param {Date} [lastRetrieved]
|
|
16116
16289
|
* @param {*} [options] Override http request option.
|
|
16117
16290
|
* @throws {RequiredError}
|
|
16118
16291
|
*/
|
|
16119
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
16292
|
+
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
16120
16293
|
if (options === void 0) { options = {}; }
|
|
16121
16294
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16122
16295
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16156,6 +16329,12 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16156
16329
|
if (reviewType !== undefined) {
|
|
16157
16330
|
localVarQueryParameter['ReviewType'] = reviewType;
|
|
16158
16331
|
}
|
|
16332
|
+
if (languageCode !== undefined) {
|
|
16333
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
16334
|
+
}
|
|
16335
|
+
if (returnDefaultValue !== undefined) {
|
|
16336
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
16337
|
+
}
|
|
16159
16338
|
if (page !== undefined) {
|
|
16160
16339
|
localVarQueryParameter['page'] = page;
|
|
16161
16340
|
}
|
|
@@ -16265,10 +16444,12 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16265
16444
|
/**
|
|
16266
16445
|
*
|
|
16267
16446
|
* @param {string} serviceReviewId
|
|
16447
|
+
* @param {string} [languageCode]
|
|
16448
|
+
* @param {boolean} [returnDefaultValue]
|
|
16268
16449
|
* @param {*} [options] Override http request option.
|
|
16269
16450
|
* @throws {RequiredError}
|
|
16270
16451
|
*/
|
|
16271
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16452
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, returnDefaultValue, options) {
|
|
16272
16453
|
if (options === void 0) { options = {}; }
|
|
16273
16454
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16274
16455
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16284,6 +16465,12 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16284
16465
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
16285
16466
|
localVarHeaderParameter = {};
|
|
16286
16467
|
localVarQueryParameter = {};
|
|
16468
|
+
if (languageCode !== undefined) {
|
|
16469
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
16470
|
+
}
|
|
16471
|
+
if (returnDefaultValue !== undefined) {
|
|
16472
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
16473
|
+
}
|
|
16287
16474
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16288
16475
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16289
16476
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -16597,18 +16784,20 @@ var ServiceReviewsApiFp = function (configuration) {
|
|
|
16597
16784
|
* @param {boolean} [recommended]
|
|
16598
16785
|
* @param {number} [rate]
|
|
16599
16786
|
* @param {ReviewType} [reviewType]
|
|
16787
|
+
* @param {string} [languageCode]
|
|
16788
|
+
* @param {boolean} [returnDefaultValue]
|
|
16600
16789
|
* @param {number} [page]
|
|
16601
16790
|
* @param {number} [limit]
|
|
16602
16791
|
* @param {Date} [lastRetrieved]
|
|
16603
16792
|
* @param {*} [options] Override http request option.
|
|
16604
16793
|
* @throws {RequiredError}
|
|
16605
16794
|
*/
|
|
16606
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
16795
|
+
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
16607
16796
|
return __awaiter(this, void 0, void 0, function () {
|
|
16608
16797
|
var localVarAxiosArgs;
|
|
16609
16798
|
return __generator(this, function (_a) {
|
|
16610
16799
|
switch (_a.label) {
|
|
16611
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
|
|
16800
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
16612
16801
|
case 1:
|
|
16613
16802
|
localVarAxiosArgs = _a.sent();
|
|
16614
16803
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16659,15 +16848,17 @@ var ServiceReviewsApiFp = function (configuration) {
|
|
|
16659
16848
|
/**
|
|
16660
16849
|
*
|
|
16661
16850
|
* @param {string} serviceReviewId
|
|
16851
|
+
* @param {string} [languageCode]
|
|
16852
|
+
* @param {boolean} [returnDefaultValue]
|
|
16662
16853
|
* @param {*} [options] Override http request option.
|
|
16663
16854
|
* @throws {RequiredError}
|
|
16664
16855
|
*/
|
|
16665
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16856
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, returnDefaultValue, options) {
|
|
16666
16857
|
return __awaiter(this, void 0, void 0, function () {
|
|
16667
16858
|
var localVarAxiosArgs;
|
|
16668
16859
|
return __generator(this, function (_a) {
|
|
16669
16860
|
switch (_a.label) {
|
|
16670
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options)];
|
|
16861
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options)];
|
|
16671
16862
|
case 1:
|
|
16672
16863
|
localVarAxiosArgs = _a.sent();
|
|
16673
16864
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16828,14 +17019,16 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
16828
17019
|
* @param {boolean} [recommended]
|
|
16829
17020
|
* @param {number} [rate]
|
|
16830
17021
|
* @param {ReviewType} [reviewType]
|
|
17022
|
+
* @param {string} [languageCode]
|
|
17023
|
+
* @param {boolean} [returnDefaultValue]
|
|
16831
17024
|
* @param {number} [page]
|
|
16832
17025
|
* @param {number} [limit]
|
|
16833
17026
|
* @param {Date} [lastRetrieved]
|
|
16834
17027
|
* @param {*} [options] Override http request option.
|
|
16835
17028
|
* @throws {RequiredError}
|
|
16836
17029
|
*/
|
|
16837
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
16838
|
-
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
17030
|
+
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17031
|
+
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16839
17032
|
},
|
|
16840
17033
|
/**
|
|
16841
17034
|
*
|
|
@@ -16860,11 +17053,13 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
16860
17053
|
/**
|
|
16861
17054
|
*
|
|
16862
17055
|
* @param {string} serviceReviewId
|
|
17056
|
+
* @param {string} [languageCode]
|
|
17057
|
+
* @param {boolean} [returnDefaultValue]
|
|
16863
17058
|
* @param {*} [options] Override http request option.
|
|
16864
17059
|
* @throws {RequiredError}
|
|
16865
17060
|
*/
|
|
16866
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16867
|
-
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
17061
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, returnDefaultValue, options) {
|
|
17062
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
16868
17063
|
},
|
|
16869
17064
|
/**
|
|
16870
17065
|
*
|
|
@@ -16963,6 +17158,8 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
16963
17158
|
* @param {boolean} [recommended]
|
|
16964
17159
|
* @param {number} [rate]
|
|
16965
17160
|
* @param {ReviewType} [reviewType]
|
|
17161
|
+
* @param {string} [languageCode]
|
|
17162
|
+
* @param {boolean} [returnDefaultValue]
|
|
16966
17163
|
* @param {number} [page]
|
|
16967
17164
|
* @param {number} [limit]
|
|
16968
17165
|
* @param {Date} [lastRetrieved]
|
|
@@ -16970,9 +17167,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
16970
17167
|
* @throws {RequiredError}
|
|
16971
17168
|
* @memberof ServiceReviewsApi
|
|
16972
17169
|
*/
|
|
16973
|
-
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
17170
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
16974
17171
|
var _this = this;
|
|
16975
|
-
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17172
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16976
17173
|
};
|
|
16977
17174
|
/**
|
|
16978
17175
|
*
|
|
@@ -17001,13 +17198,15 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
17001
17198
|
/**
|
|
17002
17199
|
*
|
|
17003
17200
|
* @param {string} serviceReviewId
|
|
17201
|
+
* @param {string} [languageCode]
|
|
17202
|
+
* @param {boolean} [returnDefaultValue]
|
|
17004
17203
|
* @param {*} [options] Override http request option.
|
|
17005
17204
|
* @throws {RequiredError}
|
|
17006
17205
|
* @memberof ServiceReviewsApi
|
|
17007
17206
|
*/
|
|
17008
|
-
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, options) {
|
|
17207
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, languageCode, returnDefaultValue, options) {
|
|
17009
17208
|
var _this = this;
|
|
17010
|
-
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17209
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17011
17210
|
};
|
|
17012
17211
|
/**
|
|
17013
17212
|
*
|