ch-api-client-typescript2 3.5.1 → 3.5.4
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 +155 -93
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +62 -27
- package/package.json +1 -1
- package/src/api.ts +186 -104
package/lib/api.js
CHANGED
|
@@ -6364,6 +6364,9 @@ var DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
6364
6364
|
* @param {string} [doctorId]
|
|
6365
6365
|
* @param {string} [doctorName]
|
|
6366
6366
|
* @param {string} [doctorSlug]
|
|
6367
|
+
* @param {string} [specialtyId]
|
|
6368
|
+
* @param {string} [exceptDoctorId]
|
|
6369
|
+
* @param {boolean} [consultationEnabled]
|
|
6367
6370
|
* @param {string} [languageCode]
|
|
6368
6371
|
* @param {number} [page]
|
|
6369
6372
|
* @param {number} [limit]
|
|
@@ -6371,7 +6374,7 @@ var DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
6371
6374
|
* @param {*} [options] Override http request option.
|
|
6372
6375
|
* @throws {RequiredError}
|
|
6373
6376
|
*/
|
|
6374
|
-
apiV2DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options) {
|
|
6377
|
+
apiV2DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options) {
|
|
6375
6378
|
if (options === void 0) { options = {}; }
|
|
6376
6379
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6377
6380
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6399,6 +6402,15 @@ var DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
6399
6402
|
if (doctorSlug !== undefined) {
|
|
6400
6403
|
localVarQueryParameter['DoctorSlug'] = doctorSlug;
|
|
6401
6404
|
}
|
|
6405
|
+
if (specialtyId !== undefined) {
|
|
6406
|
+
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
6407
|
+
}
|
|
6408
|
+
if (exceptDoctorId !== undefined) {
|
|
6409
|
+
localVarQueryParameter['ExceptDoctorId'] = exceptDoctorId;
|
|
6410
|
+
}
|
|
6411
|
+
if (consultationEnabled !== undefined) {
|
|
6412
|
+
localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
|
|
6413
|
+
}
|
|
6402
6414
|
if (languageCode !== undefined) {
|
|
6403
6415
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
6404
6416
|
}
|
|
@@ -6514,6 +6526,9 @@ var DoctorAffiliationsApiFp = function (configuration) {
|
|
|
6514
6526
|
* @param {string} [doctorId]
|
|
6515
6527
|
* @param {string} [doctorName]
|
|
6516
6528
|
* @param {string} [doctorSlug]
|
|
6529
|
+
* @param {string} [specialtyId]
|
|
6530
|
+
* @param {string} [exceptDoctorId]
|
|
6531
|
+
* @param {boolean} [consultationEnabled]
|
|
6517
6532
|
* @param {string} [languageCode]
|
|
6518
6533
|
* @param {number} [page]
|
|
6519
6534
|
* @param {number} [limit]
|
|
@@ -6521,12 +6536,12 @@ var DoctorAffiliationsApiFp = function (configuration) {
|
|
|
6521
6536
|
* @param {*} [options] Override http request option.
|
|
6522
6537
|
* @throws {RequiredError}
|
|
6523
6538
|
*/
|
|
6524
|
-
apiV2DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options) {
|
|
6539
|
+
apiV2DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options) {
|
|
6525
6540
|
return __awaiter(this, void 0, void 0, function () {
|
|
6526
6541
|
var localVarAxiosArgs;
|
|
6527
6542
|
return __generator(this, function (_a) {
|
|
6528
6543
|
switch (_a.label) {
|
|
6529
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options)];
|
|
6544
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options)];
|
|
6530
6545
|
case 1:
|
|
6531
6546
|
localVarAxiosArgs = _a.sent();
|
|
6532
6547
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6593,6 +6608,9 @@ var DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
|
|
|
6593
6608
|
* @param {string} [doctorId]
|
|
6594
6609
|
* @param {string} [doctorName]
|
|
6595
6610
|
* @param {string} [doctorSlug]
|
|
6611
|
+
* @param {string} [specialtyId]
|
|
6612
|
+
* @param {string} [exceptDoctorId]
|
|
6613
|
+
* @param {boolean} [consultationEnabled]
|
|
6596
6614
|
* @param {string} [languageCode]
|
|
6597
6615
|
* @param {number} [page]
|
|
6598
6616
|
* @param {number} [limit]
|
|
@@ -6600,8 +6618,8 @@ var DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
|
|
|
6600
6618
|
* @param {*} [options] Override http request option.
|
|
6601
6619
|
* @throws {RequiredError}
|
|
6602
6620
|
*/
|
|
6603
|
-
apiV2DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options) {
|
|
6604
|
-
return localVarFp.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6621
|
+
apiV2DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options) {
|
|
6622
|
+
return localVarFp.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6605
6623
|
},
|
|
6606
6624
|
/**
|
|
6607
6625
|
*
|
|
@@ -6646,6 +6664,9 @@ var DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
6646
6664
|
* @param {string} [doctorId]
|
|
6647
6665
|
* @param {string} [doctorName]
|
|
6648
6666
|
* @param {string} [doctorSlug]
|
|
6667
|
+
* @param {string} [specialtyId]
|
|
6668
|
+
* @param {string} [exceptDoctorId]
|
|
6669
|
+
* @param {boolean} [consultationEnabled]
|
|
6649
6670
|
* @param {string} [languageCode]
|
|
6650
6671
|
* @param {number} [page]
|
|
6651
6672
|
* @param {number} [limit]
|
|
@@ -6654,9 +6675,9 @@ var DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
6654
6675
|
* @throws {RequiredError}
|
|
6655
6676
|
* @memberof DoctorAffiliationsApi
|
|
6656
6677
|
*/
|
|
6657
|
-
DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsGet = function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options) {
|
|
6678
|
+
DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsGet = function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options) {
|
|
6658
6679
|
var _this = this;
|
|
6659
|
-
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); });
|
|
6680
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6660
6681
|
};
|
|
6661
6682
|
/**
|
|
6662
6683
|
*
|
|
@@ -15438,6 +15459,7 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
15438
15459
|
/**
|
|
15439
15460
|
*
|
|
15440
15461
|
* @summary Get all ServiceReviews.
|
|
15462
|
+
* @param {string} [id]
|
|
15441
15463
|
* @param {string} [hospitalId]
|
|
15442
15464
|
* @param {string} [serviceId]
|
|
15443
15465
|
* @param {string} [serviceName]
|
|
@@ -15448,14 +15470,14 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
15448
15470
|
* @param {number} [rate]
|
|
15449
15471
|
* @param {ReviewType} [reviewType]
|
|
15450
15472
|
* @param {string} [languageCode]
|
|
15451
|
-
* @param {boolean} [
|
|
15473
|
+
* @param {boolean} [showHidden]
|
|
15452
15474
|
* @param {number} [page]
|
|
15453
15475
|
* @param {number} [limit]
|
|
15454
15476
|
* @param {Date} [lastRetrieved]
|
|
15455
15477
|
* @param {*} [options] Override http request option.
|
|
15456
15478
|
* @throws {RequiredError}
|
|
15457
15479
|
*/
|
|
15458
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode,
|
|
15480
|
+
apiV2ServicereviewsGet: function (id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
15459
15481
|
if (options === void 0) { options = {}; }
|
|
15460
15482
|
return __awaiter(_this, void 0, void 0, function () {
|
|
15461
15483
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -15468,6 +15490,9 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
15468
15490
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15469
15491
|
localVarHeaderParameter = {};
|
|
15470
15492
|
localVarQueryParameter = {};
|
|
15493
|
+
if (id !== undefined) {
|
|
15494
|
+
localVarQueryParameter['Id'] = id;
|
|
15495
|
+
}
|
|
15471
15496
|
if (hospitalId !== undefined) {
|
|
15472
15497
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15473
15498
|
}
|
|
@@ -15498,8 +15523,8 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
15498
15523
|
if (languageCode !== undefined) {
|
|
15499
15524
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15500
15525
|
}
|
|
15501
|
-
if (
|
|
15502
|
-
localVarQueryParameter['
|
|
15526
|
+
if (showHidden !== undefined) {
|
|
15527
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
15503
15528
|
}
|
|
15504
15529
|
if (page !== undefined) {
|
|
15505
15530
|
localVarQueryParameter['page'] = page;
|
|
@@ -15610,10 +15635,11 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
15610
15635
|
/**
|
|
15611
15636
|
*
|
|
15612
15637
|
* @param {string} serviceReviewId
|
|
15638
|
+
* @param {string} [languageCode]
|
|
15613
15639
|
* @param {*} [options] Override http request option.
|
|
15614
15640
|
* @throws {RequiredError}
|
|
15615
15641
|
*/
|
|
15616
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
15642
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
15617
15643
|
if (options === void 0) { options = {}; }
|
|
15618
15644
|
return __awaiter(_this, void 0, void 0, function () {
|
|
15619
15645
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -15629,6 +15655,9 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
15629
15655
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15630
15656
|
localVarHeaderParameter = {};
|
|
15631
15657
|
localVarQueryParameter = {};
|
|
15658
|
+
if (languageCode !== undefined) {
|
|
15659
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
15660
|
+
}
|
|
15632
15661
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15633
15662
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15634
15663
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -15933,6 +15962,7 @@ var ServiceReviewsApiFp = function (configuration) {
|
|
|
15933
15962
|
/**
|
|
15934
15963
|
*
|
|
15935
15964
|
* @summary Get all ServiceReviews.
|
|
15965
|
+
* @param {string} [id]
|
|
15936
15966
|
* @param {string} [hospitalId]
|
|
15937
15967
|
* @param {string} [serviceId]
|
|
15938
15968
|
* @param {string} [serviceName]
|
|
@@ -15943,19 +15973,19 @@ var ServiceReviewsApiFp = function (configuration) {
|
|
|
15943
15973
|
* @param {number} [rate]
|
|
15944
15974
|
* @param {ReviewType} [reviewType]
|
|
15945
15975
|
* @param {string} [languageCode]
|
|
15946
|
-
* @param {boolean} [
|
|
15976
|
+
* @param {boolean} [showHidden]
|
|
15947
15977
|
* @param {number} [page]
|
|
15948
15978
|
* @param {number} [limit]
|
|
15949
15979
|
* @param {Date} [lastRetrieved]
|
|
15950
15980
|
* @param {*} [options] Override http request option.
|
|
15951
15981
|
* @throws {RequiredError}
|
|
15952
15982
|
*/
|
|
15953
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode,
|
|
15983
|
+
apiV2ServicereviewsGet: function (id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
15954
15984
|
return __awaiter(this, void 0, void 0, function () {
|
|
15955
15985
|
var localVarAxiosArgs;
|
|
15956
15986
|
return __generator(this, function (_a) {
|
|
15957
15987
|
switch (_a.label) {
|
|
15958
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode,
|
|
15988
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
15959
15989
|
case 1:
|
|
15960
15990
|
localVarAxiosArgs = _a.sent();
|
|
15961
15991
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16006,15 +16036,16 @@ var ServiceReviewsApiFp = function (configuration) {
|
|
|
16006
16036
|
/**
|
|
16007
16037
|
*
|
|
16008
16038
|
* @param {string} serviceReviewId
|
|
16039
|
+
* @param {string} [languageCode]
|
|
16009
16040
|
* @param {*} [options] Override http request option.
|
|
16010
16041
|
* @throws {RequiredError}
|
|
16011
16042
|
*/
|
|
16012
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16043
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
16013
16044
|
return __awaiter(this, void 0, void 0, function () {
|
|
16014
16045
|
var localVarAxiosArgs;
|
|
16015
16046
|
return __generator(this, function (_a) {
|
|
16016
16047
|
switch (_a.label) {
|
|
16017
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options)];
|
|
16048
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options)];
|
|
16018
16049
|
case 1:
|
|
16019
16050
|
localVarAxiosArgs = _a.sent();
|
|
16020
16051
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16166,6 +16197,7 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
16166
16197
|
/**
|
|
16167
16198
|
*
|
|
16168
16199
|
* @summary Get all ServiceReviews.
|
|
16200
|
+
* @param {string} [id]
|
|
16169
16201
|
* @param {string} [hospitalId]
|
|
16170
16202
|
* @param {string} [serviceId]
|
|
16171
16203
|
* @param {string} [serviceName]
|
|
@@ -16176,15 +16208,15 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
16176
16208
|
* @param {number} [rate]
|
|
16177
16209
|
* @param {ReviewType} [reviewType]
|
|
16178
16210
|
* @param {string} [languageCode]
|
|
16179
|
-
* @param {boolean} [
|
|
16211
|
+
* @param {boolean} [showHidden]
|
|
16180
16212
|
* @param {number} [page]
|
|
16181
16213
|
* @param {number} [limit]
|
|
16182
16214
|
* @param {Date} [lastRetrieved]
|
|
16183
16215
|
* @param {*} [options] Override http request option.
|
|
16184
16216
|
* @throws {RequiredError}
|
|
16185
16217
|
*/
|
|
16186
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode,
|
|
16187
|
-
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode,
|
|
16218
|
+
apiV2ServicereviewsGet: function (id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
16219
|
+
return localVarFp.apiV2ServicereviewsGet(id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16188
16220
|
},
|
|
16189
16221
|
/**
|
|
16190
16222
|
*
|
|
@@ -16209,11 +16241,12 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
16209
16241
|
/**
|
|
16210
16242
|
*
|
|
16211
16243
|
* @param {string} serviceReviewId
|
|
16244
|
+
* @param {string} [languageCode]
|
|
16212
16245
|
* @param {*} [options] Override http request option.
|
|
16213
16246
|
* @throws {RequiredError}
|
|
16214
16247
|
*/
|
|
16215
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16216
|
-
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
16248
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
16249
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
16217
16250
|
},
|
|
16218
16251
|
/**
|
|
16219
16252
|
*
|
|
@@ -16303,6 +16336,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
16303
16336
|
/**
|
|
16304
16337
|
*
|
|
16305
16338
|
* @summary Get all ServiceReviews.
|
|
16339
|
+
* @param {string} [id]
|
|
16306
16340
|
* @param {string} [hospitalId]
|
|
16307
16341
|
* @param {string} [serviceId]
|
|
16308
16342
|
* @param {string} [serviceName]
|
|
@@ -16313,7 +16347,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
16313
16347
|
* @param {number} [rate]
|
|
16314
16348
|
* @param {ReviewType} [reviewType]
|
|
16315
16349
|
* @param {string} [languageCode]
|
|
16316
|
-
* @param {boolean} [
|
|
16350
|
+
* @param {boolean} [showHidden]
|
|
16317
16351
|
* @param {number} [page]
|
|
16318
16352
|
* @param {number} [limit]
|
|
16319
16353
|
* @param {Date} [lastRetrieved]
|
|
@@ -16321,9 +16355,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
16321
16355
|
* @throws {RequiredError}
|
|
16322
16356
|
* @memberof ServiceReviewsApi
|
|
16323
16357
|
*/
|
|
16324
|
-
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode,
|
|
16358
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
16325
16359
|
var _this = this;
|
|
16326
|
-
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode,
|
|
16360
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsGet(id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16327
16361
|
};
|
|
16328
16362
|
/**
|
|
16329
16363
|
*
|
|
@@ -16352,13 +16386,14 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
16352
16386
|
/**
|
|
16353
16387
|
*
|
|
16354
16388
|
* @param {string} serviceReviewId
|
|
16389
|
+
* @param {string} [languageCode]
|
|
16355
16390
|
* @param {*} [options] Override http request option.
|
|
16356
16391
|
* @throws {RequiredError}
|
|
16357
16392
|
* @memberof ServiceReviewsApi
|
|
16358
16393
|
*/
|
|
16359
|
-
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, options) {
|
|
16394
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, languageCode, options) {
|
|
16360
16395
|
var _this = this;
|
|
16361
|
-
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16396
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16362
16397
|
};
|
|
16363
16398
|
/**
|
|
16364
16399
|
*
|