ch-api-client-typescript2 4.3.5 → 4.3.7
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 +346 -4
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +306 -7
- package/package.json +1 -1
- package/src/api.ts +499 -7
package/lib/api.js
CHANGED
|
@@ -11536,6 +11536,148 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11536
11536
|
});
|
|
11537
11537
|
});
|
|
11538
11538
|
},
|
|
11539
|
+
/**
|
|
11540
|
+
*
|
|
11541
|
+
* @param {string} hospitalId
|
|
11542
|
+
* @param {string} [name]
|
|
11543
|
+
* @param {string} [slug]
|
|
11544
|
+
* @param {string} [languageCode]
|
|
11545
|
+
* @param {boolean} [showHidden]
|
|
11546
|
+
* @param {number} [page]
|
|
11547
|
+
* @param {number} [limit]
|
|
11548
|
+
* @param {Date} [lastRetrieved]
|
|
11549
|
+
* @param {*} [options] Override http request option.
|
|
11550
|
+
* @throws {RequiredError}
|
|
11551
|
+
*/
|
|
11552
|
+
apiV2HospitalsHospitalIdLandingsGet: function (hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
11553
|
+
if (options === void 0) { options = {}; }
|
|
11554
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
11555
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
11556
|
+
return __generator(this, function (_a) {
|
|
11557
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
11558
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdLandingsGet', 'hospitalId', hospitalId);
|
|
11559
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/landings"
|
|
11560
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
11561
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11562
|
+
if (configuration) {
|
|
11563
|
+
baseOptions = configuration.baseOptions;
|
|
11564
|
+
}
|
|
11565
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
11566
|
+
localVarHeaderParameter = {};
|
|
11567
|
+
localVarQueryParameter = {};
|
|
11568
|
+
if (name !== undefined) {
|
|
11569
|
+
localVarQueryParameter['Name'] = name;
|
|
11570
|
+
}
|
|
11571
|
+
if (slug !== undefined) {
|
|
11572
|
+
localVarQueryParameter['Slug'] = slug;
|
|
11573
|
+
}
|
|
11574
|
+
if (languageCode !== undefined) {
|
|
11575
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
11576
|
+
}
|
|
11577
|
+
if (showHidden !== undefined) {
|
|
11578
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
11579
|
+
}
|
|
11580
|
+
if (page !== undefined) {
|
|
11581
|
+
localVarQueryParameter['page'] = page;
|
|
11582
|
+
}
|
|
11583
|
+
if (limit !== undefined) {
|
|
11584
|
+
localVarQueryParameter['limit'] = limit;
|
|
11585
|
+
}
|
|
11586
|
+
if (lastRetrieved !== undefined) {
|
|
11587
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
11588
|
+
lastRetrieved.toISOString() :
|
|
11589
|
+
lastRetrieved;
|
|
11590
|
+
}
|
|
11591
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11592
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11593
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11594
|
+
return [2 /*return*/, {
|
|
11595
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11596
|
+
options: localVarRequestOptions,
|
|
11597
|
+
}];
|
|
11598
|
+
});
|
|
11599
|
+
});
|
|
11600
|
+
},
|
|
11601
|
+
/**
|
|
11602
|
+
*
|
|
11603
|
+
* @param {string} hospitalId
|
|
11604
|
+
* @param {string} landingId
|
|
11605
|
+
* @param {string} [languageCode]
|
|
11606
|
+
* @param {*} [options] Override http request option.
|
|
11607
|
+
* @throws {RequiredError}
|
|
11608
|
+
*/
|
|
11609
|
+
apiV2HospitalsHospitalIdLandingsLandingIdGet: function (hospitalId, landingId, languageCode, options) {
|
|
11610
|
+
if (options === void 0) { options = {}; }
|
|
11611
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
11612
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
11613
|
+
return __generator(this, function (_a) {
|
|
11614
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
11615
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdLandingsLandingIdGet', 'hospitalId', hospitalId);
|
|
11616
|
+
// verify required parameter 'landingId' is not null or undefined
|
|
11617
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdLandingsLandingIdGet', 'landingId', landingId);
|
|
11618
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/landings/{landingId}"
|
|
11619
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
11620
|
+
.replace("{".concat("landingId", "}"), encodeURIComponent(String(landingId)));
|
|
11621
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11622
|
+
if (configuration) {
|
|
11623
|
+
baseOptions = configuration.baseOptions;
|
|
11624
|
+
}
|
|
11625
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
11626
|
+
localVarHeaderParameter = {};
|
|
11627
|
+
localVarQueryParameter = {};
|
|
11628
|
+
if (languageCode !== undefined) {
|
|
11629
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
11630
|
+
}
|
|
11631
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11632
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11633
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11634
|
+
return [2 /*return*/, {
|
|
11635
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11636
|
+
options: localVarRequestOptions,
|
|
11637
|
+
}];
|
|
11638
|
+
});
|
|
11639
|
+
});
|
|
11640
|
+
},
|
|
11641
|
+
/**
|
|
11642
|
+
*
|
|
11643
|
+
* @param {string} slug
|
|
11644
|
+
* @param {string} hospitalId
|
|
11645
|
+
* @param {string} [languageCode]
|
|
11646
|
+
* @param {*} [options] Override http request option.
|
|
11647
|
+
* @throws {RequiredError}
|
|
11648
|
+
*/
|
|
11649
|
+
apiV2HospitalsHospitalIdLandingsSlugGet: function (slug, hospitalId, languageCode, options) {
|
|
11650
|
+
if (options === void 0) { options = {}; }
|
|
11651
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
11652
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
11653
|
+
return __generator(this, function (_a) {
|
|
11654
|
+
// verify required parameter 'slug' is not null or undefined
|
|
11655
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdLandingsSlugGet', 'slug', slug);
|
|
11656
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
11657
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdLandingsSlugGet', 'hospitalId', hospitalId);
|
|
11658
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/landings/{slug}"
|
|
11659
|
+
.replace("{".concat("slug", "}"), encodeURIComponent(String(slug)))
|
|
11660
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
11661
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11662
|
+
if (configuration) {
|
|
11663
|
+
baseOptions = configuration.baseOptions;
|
|
11664
|
+
}
|
|
11665
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
11666
|
+
localVarHeaderParameter = {};
|
|
11667
|
+
localVarQueryParameter = {};
|
|
11668
|
+
if (languageCode !== undefined) {
|
|
11669
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
11670
|
+
}
|
|
11671
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11672
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11673
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11674
|
+
return [2 /*return*/, {
|
|
11675
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11676
|
+
options: localVarRequestOptions,
|
|
11677
|
+
}];
|
|
11678
|
+
});
|
|
11679
|
+
});
|
|
11680
|
+
},
|
|
11539
11681
|
/**
|
|
11540
11682
|
*
|
|
11541
11683
|
* @summary Get all HospitalMedias.
|
|
@@ -12780,6 +12922,74 @@ var HospitalsApiFp = function (configuration) {
|
|
|
12780
12922
|
});
|
|
12781
12923
|
});
|
|
12782
12924
|
},
|
|
12925
|
+
/**
|
|
12926
|
+
*
|
|
12927
|
+
* @param {string} hospitalId
|
|
12928
|
+
* @param {string} [name]
|
|
12929
|
+
* @param {string} [slug]
|
|
12930
|
+
* @param {string} [languageCode]
|
|
12931
|
+
* @param {boolean} [showHidden]
|
|
12932
|
+
* @param {number} [page]
|
|
12933
|
+
* @param {number} [limit]
|
|
12934
|
+
* @param {Date} [lastRetrieved]
|
|
12935
|
+
* @param {*} [options] Override http request option.
|
|
12936
|
+
* @throws {RequiredError}
|
|
12937
|
+
*/
|
|
12938
|
+
apiV2HospitalsHospitalIdLandingsGet: function (hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12939
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12940
|
+
var localVarAxiosArgs;
|
|
12941
|
+
return __generator(this, function (_a) {
|
|
12942
|
+
switch (_a.label) {
|
|
12943
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
12944
|
+
case 1:
|
|
12945
|
+
localVarAxiosArgs = _a.sent();
|
|
12946
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12947
|
+
}
|
|
12948
|
+
});
|
|
12949
|
+
});
|
|
12950
|
+
},
|
|
12951
|
+
/**
|
|
12952
|
+
*
|
|
12953
|
+
* @param {string} hospitalId
|
|
12954
|
+
* @param {string} landingId
|
|
12955
|
+
* @param {string} [languageCode]
|
|
12956
|
+
* @param {*} [options] Override http request option.
|
|
12957
|
+
* @throws {RequiredError}
|
|
12958
|
+
*/
|
|
12959
|
+
apiV2HospitalsHospitalIdLandingsLandingIdGet: function (hospitalId, landingId, languageCode, options) {
|
|
12960
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12961
|
+
var localVarAxiosArgs;
|
|
12962
|
+
return __generator(this, function (_a) {
|
|
12963
|
+
switch (_a.label) {
|
|
12964
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdLandingsLandingIdGet(hospitalId, landingId, languageCode, options)];
|
|
12965
|
+
case 1:
|
|
12966
|
+
localVarAxiosArgs = _a.sent();
|
|
12967
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12968
|
+
}
|
|
12969
|
+
});
|
|
12970
|
+
});
|
|
12971
|
+
},
|
|
12972
|
+
/**
|
|
12973
|
+
*
|
|
12974
|
+
* @param {string} slug
|
|
12975
|
+
* @param {string} hospitalId
|
|
12976
|
+
* @param {string} [languageCode]
|
|
12977
|
+
* @param {*} [options] Override http request option.
|
|
12978
|
+
* @throws {RequiredError}
|
|
12979
|
+
*/
|
|
12980
|
+
apiV2HospitalsHospitalIdLandingsSlugGet: function (slug, hospitalId, languageCode, options) {
|
|
12981
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12982
|
+
var localVarAxiosArgs;
|
|
12983
|
+
return __generator(this, function (_a) {
|
|
12984
|
+
switch (_a.label) {
|
|
12985
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdLandingsSlugGet(slug, hospitalId, languageCode, options)];
|
|
12986
|
+
case 1:
|
|
12987
|
+
localVarAxiosArgs = _a.sent();
|
|
12988
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12989
|
+
}
|
|
12990
|
+
});
|
|
12991
|
+
});
|
|
12992
|
+
},
|
|
12783
12993
|
/**
|
|
12784
12994
|
*
|
|
12785
12995
|
* @summary Get all HospitalMedias.
|
|
@@ -13381,6 +13591,44 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
13381
13591
|
apiV2HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
|
|
13382
13592
|
return localVarFp.apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then(function (request) { return request(axios, basePath); });
|
|
13383
13593
|
},
|
|
13594
|
+
/**
|
|
13595
|
+
*
|
|
13596
|
+
* @param {string} hospitalId
|
|
13597
|
+
* @param {string} [name]
|
|
13598
|
+
* @param {string} [slug]
|
|
13599
|
+
* @param {string} [languageCode]
|
|
13600
|
+
* @param {boolean} [showHidden]
|
|
13601
|
+
* @param {number} [page]
|
|
13602
|
+
* @param {number} [limit]
|
|
13603
|
+
* @param {Date} [lastRetrieved]
|
|
13604
|
+
* @param {*} [options] Override http request option.
|
|
13605
|
+
* @throws {RequiredError}
|
|
13606
|
+
*/
|
|
13607
|
+
apiV2HospitalsHospitalIdLandingsGet: function (hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13608
|
+
return localVarFp.apiV2HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
13609
|
+
},
|
|
13610
|
+
/**
|
|
13611
|
+
*
|
|
13612
|
+
* @param {string} hospitalId
|
|
13613
|
+
* @param {string} landingId
|
|
13614
|
+
* @param {string} [languageCode]
|
|
13615
|
+
* @param {*} [options] Override http request option.
|
|
13616
|
+
* @throws {RequiredError}
|
|
13617
|
+
*/
|
|
13618
|
+
apiV2HospitalsHospitalIdLandingsLandingIdGet: function (hospitalId, landingId, languageCode, options) {
|
|
13619
|
+
return localVarFp.apiV2HospitalsHospitalIdLandingsLandingIdGet(hospitalId, landingId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
13620
|
+
},
|
|
13621
|
+
/**
|
|
13622
|
+
*
|
|
13623
|
+
* @param {string} slug
|
|
13624
|
+
* @param {string} hospitalId
|
|
13625
|
+
* @param {string} [languageCode]
|
|
13626
|
+
* @param {*} [options] Override http request option.
|
|
13627
|
+
* @throws {RequiredError}
|
|
13628
|
+
*/
|
|
13629
|
+
apiV2HospitalsHospitalIdLandingsSlugGet: function (slug, hospitalId, languageCode, options) {
|
|
13630
|
+
return localVarFp.apiV2HospitalsHospitalIdLandingsSlugGet(slug, hospitalId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
13631
|
+
},
|
|
13384
13632
|
/**
|
|
13385
13633
|
*
|
|
13386
13634
|
* @summary Get all HospitalMedias.
|
|
@@ -13850,6 +14098,50 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13850
14098
|
var _this = this;
|
|
13851
14099
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13852
14100
|
};
|
|
14101
|
+
/**
|
|
14102
|
+
*
|
|
14103
|
+
* @param {string} hospitalId
|
|
14104
|
+
* @param {string} [name]
|
|
14105
|
+
* @param {string} [slug]
|
|
14106
|
+
* @param {string} [languageCode]
|
|
14107
|
+
* @param {boolean} [showHidden]
|
|
14108
|
+
* @param {number} [page]
|
|
14109
|
+
* @param {number} [limit]
|
|
14110
|
+
* @param {Date} [lastRetrieved]
|
|
14111
|
+
* @param {*} [options] Override http request option.
|
|
14112
|
+
* @throws {RequiredError}
|
|
14113
|
+
* @memberof HospitalsApi
|
|
14114
|
+
*/
|
|
14115
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdLandingsGet = function (hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
14116
|
+
var _this = this;
|
|
14117
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14118
|
+
};
|
|
14119
|
+
/**
|
|
14120
|
+
*
|
|
14121
|
+
* @param {string} hospitalId
|
|
14122
|
+
* @param {string} landingId
|
|
14123
|
+
* @param {string} [languageCode]
|
|
14124
|
+
* @param {*} [options] Override http request option.
|
|
14125
|
+
* @throws {RequiredError}
|
|
14126
|
+
* @memberof HospitalsApi
|
|
14127
|
+
*/
|
|
14128
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdLandingsLandingIdGet = function (hospitalId, landingId, languageCode, options) {
|
|
14129
|
+
var _this = this;
|
|
14130
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdLandingsLandingIdGet(hospitalId, landingId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14131
|
+
};
|
|
14132
|
+
/**
|
|
14133
|
+
*
|
|
14134
|
+
* @param {string} slug
|
|
14135
|
+
* @param {string} hospitalId
|
|
14136
|
+
* @param {string} [languageCode]
|
|
14137
|
+
* @param {*} [options] Override http request option.
|
|
14138
|
+
* @throws {RequiredError}
|
|
14139
|
+
* @memberof HospitalsApi
|
|
14140
|
+
*/
|
|
14141
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdLandingsSlugGet = function (slug, hospitalId, languageCode, options) {
|
|
14142
|
+
var _this = this;
|
|
14143
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdLandingsSlugGet(slug, hospitalId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14144
|
+
};
|
|
13853
14145
|
/**
|
|
13854
14146
|
*
|
|
13855
14147
|
* @summary Get all HospitalMedias.
|
|
@@ -16311,6 +16603,7 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16311
16603
|
* @summary Get all ServiceReviews.
|
|
16312
16604
|
* @param {string} [id]
|
|
16313
16605
|
* @param {string} [hospitalId]
|
|
16606
|
+
* @param {string} [hospitalSpecialtyId]
|
|
16314
16607
|
* @param {string} [serviceId]
|
|
16315
16608
|
* @param {string} [serviceName]
|
|
16316
16609
|
* @param {string} [patientId]
|
|
@@ -16327,7 +16620,7 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16327
16620
|
* @param {*} [options] Override http request option.
|
|
16328
16621
|
* @throws {RequiredError}
|
|
16329
16622
|
*/
|
|
16330
|
-
apiV2ServicereviewsGet: function (id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
16623
|
+
apiV2ServicereviewsGet: function (id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
16331
16624
|
if (options === void 0) { options = {}; }
|
|
16332
16625
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16333
16626
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16346,6 +16639,9 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16346
16639
|
if (hospitalId !== undefined) {
|
|
16347
16640
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
16348
16641
|
}
|
|
16642
|
+
if (hospitalSpecialtyId !== undefined) {
|
|
16643
|
+
localVarQueryParameter['HospitalSpecialtyId'] = hospitalSpecialtyId;
|
|
16644
|
+
}
|
|
16349
16645
|
if (serviceId !== undefined) {
|
|
16350
16646
|
localVarQueryParameter['ServiceId'] = serviceId;
|
|
16351
16647
|
}
|
|
@@ -16814,6 +17110,7 @@ var ServiceReviewsApiFp = function (configuration) {
|
|
|
16814
17110
|
* @summary Get all ServiceReviews.
|
|
16815
17111
|
* @param {string} [id]
|
|
16816
17112
|
* @param {string} [hospitalId]
|
|
17113
|
+
* @param {string} [hospitalSpecialtyId]
|
|
16817
17114
|
* @param {string} [serviceId]
|
|
16818
17115
|
* @param {string} [serviceName]
|
|
16819
17116
|
* @param {string} [patientId]
|
|
@@ -16830,12 +17127,12 @@ var ServiceReviewsApiFp = function (configuration) {
|
|
|
16830
17127
|
* @param {*} [options] Override http request option.
|
|
16831
17128
|
* @throws {RequiredError}
|
|
16832
17129
|
*/
|
|
16833
|
-
apiV2ServicereviewsGet: function (id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
17130
|
+
apiV2ServicereviewsGet: function (id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
16834
17131
|
return __awaiter(this, void 0, void 0, function () {
|
|
16835
17132
|
var localVarAxiosArgs;
|
|
16836
17133
|
return __generator(this, function (_a) {
|
|
16837
17134
|
switch (_a.label) {
|
|
16838
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
17135
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
16839
17136
|
case 1:
|
|
16840
17137
|
localVarAxiosArgs = _a.sent();
|
|
16841
17138
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -17049,6 +17346,7 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
17049
17346
|
* @summary Get all ServiceReviews.
|
|
17050
17347
|
* @param {string} [id]
|
|
17051
17348
|
* @param {string} [hospitalId]
|
|
17349
|
+
* @param {string} [hospitalSpecialtyId]
|
|
17052
17350
|
* @param {string} [serviceId]
|
|
17053
17351
|
* @param {string} [serviceName]
|
|
17054
17352
|
* @param {string} [patientId]
|
|
@@ -17065,8 +17363,8 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
17065
17363
|
* @param {*} [options] Override http request option.
|
|
17066
17364
|
* @throws {RequiredError}
|
|
17067
17365
|
*/
|
|
17068
|
-
apiV2ServicereviewsGet: function (id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
17069
|
-
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); });
|
|
17366
|
+
apiV2ServicereviewsGet: function (id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
17367
|
+
return localVarFp.apiV2ServicereviewsGet(id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
17070
17368
|
},
|
|
17071
17369
|
/**
|
|
17072
17370
|
*
|
|
@@ -17188,6 +17486,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
17188
17486
|
* @summary Get all ServiceReviews.
|
|
17189
17487
|
* @param {string} [id]
|
|
17190
17488
|
* @param {string} [hospitalId]
|
|
17489
|
+
* @param {string} [hospitalSpecialtyId]
|
|
17191
17490
|
* @param {string} [serviceId]
|
|
17192
17491
|
* @param {string} [serviceName]
|
|
17193
17492
|
* @param {string} [patientId]
|
|
@@ -17205,9 +17504,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
17205
17504
|
* @throws {RequiredError}
|
|
17206
17505
|
* @memberof ServiceReviewsApi
|
|
17207
17506
|
*/
|
|
17208
|
-
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
17507
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
17209
17508
|
var _this = this;
|
|
17210
|
-
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); });
|
|
17509
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsGet(id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17211
17510
|
};
|
|
17212
17511
|
/**
|
|
17213
17512
|
*
|