ch-admin-api-client-typescript 3.4.9 → 3.5.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 +175 -31
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +148 -50
- package/package.json +1 -1
- package/src/api.ts +243 -53
package/lib/api.js
CHANGED
|
@@ -20800,7 +20800,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20800
20800
|
},
|
|
20801
20801
|
/**
|
|
20802
20802
|
*
|
|
20803
|
-
* @summary Get all
|
|
20803
|
+
* @summary Get all GetAllLanguages.
|
|
20804
20804
|
* @param {string} hospitalId
|
|
20805
20805
|
* @param {string} [name]
|
|
20806
20806
|
* @param {number} [page]
|
|
@@ -20809,7 +20809,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20809
20809
|
* @param {*} [options] Override http request option.
|
|
20810
20810
|
* @throws {RequiredError}
|
|
20811
20811
|
*/
|
|
20812
|
-
|
|
20812
|
+
apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, page, limit, lastRetrieved, options) {
|
|
20813
20813
|
if (options === void 0) { options = {}; }
|
|
20814
20814
|
return __awaiter(_this, void 0, void 0, function () {
|
|
20815
20815
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -20817,8 +20817,8 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20817
20817
|
switch (_a.label) {
|
|
20818
20818
|
case 0:
|
|
20819
20819
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
20820
|
-
common_1.assertParamExists('
|
|
20821
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/
|
|
20820
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesGet', 'hospitalId', hospitalId);
|
|
20821
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/languages"
|
|
20822
20822
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
20823
20823
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20824
20824
|
if (configuration) {
|
|
@@ -20861,13 +20861,13 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20861
20861
|
},
|
|
20862
20862
|
/**
|
|
20863
20863
|
*
|
|
20864
|
-
* @summary Delete
|
|
20864
|
+
* @summary Delete GetAllLanguage.
|
|
20865
20865
|
* @param {string} hospitalId
|
|
20866
20866
|
* @param {string} languageCode
|
|
20867
20867
|
* @param {*} [options] Override http request option.
|
|
20868
20868
|
* @throws {RequiredError}
|
|
20869
20869
|
*/
|
|
20870
|
-
|
|
20870
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
|
|
20871
20871
|
if (options === void 0) { options = {}; }
|
|
20872
20872
|
return __awaiter(_this, void 0, void 0, function () {
|
|
20873
20873
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -20875,10 +20875,10 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20875
20875
|
switch (_a.label) {
|
|
20876
20876
|
case 0:
|
|
20877
20877
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
20878
|
-
common_1.assertParamExists('
|
|
20878
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'hospitalId', hospitalId);
|
|
20879
20879
|
// verify required parameter 'languageCode' is not null or undefined
|
|
20880
|
-
common_1.assertParamExists('
|
|
20881
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/
|
|
20880
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'languageCode', languageCode);
|
|
20881
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/languages/{languageCode}"
|
|
20882
20882
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
20883
20883
|
.replace("{" + "languageCode" + "}", encodeURIComponent(String(languageCode)));
|
|
20884
20884
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -20914,7 +20914,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20914
20914
|
* @param {*} [options] Override http request option.
|
|
20915
20915
|
* @throws {RequiredError}
|
|
20916
20916
|
*/
|
|
20917
|
-
|
|
20917
|
+
apiV1HospitalsHospitalIdLanguagesPost: function (hospitalId, createHospitalLanguageCommand, options) {
|
|
20918
20918
|
if (options === void 0) { options = {}; }
|
|
20919
20919
|
return __awaiter(_this, void 0, void 0, function () {
|
|
20920
20920
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -20922,8 +20922,8 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20922
20922
|
switch (_a.label) {
|
|
20923
20923
|
case 0:
|
|
20924
20924
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
20925
|
-
common_1.assertParamExists('
|
|
20926
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/
|
|
20925
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesPost', 'hospitalId', hospitalId);
|
|
20926
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/languages"
|
|
20927
20927
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
20928
20928
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20929
20929
|
if (configuration) {
|
|
@@ -23760,7 +23760,7 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23760
23760
|
},
|
|
23761
23761
|
/**
|
|
23762
23762
|
*
|
|
23763
|
-
* @summary Get all
|
|
23763
|
+
* @summary Get all GetAllLanguages.
|
|
23764
23764
|
* @param {string} hospitalId
|
|
23765
23765
|
* @param {string} [name]
|
|
23766
23766
|
* @param {number} [page]
|
|
@@ -23769,12 +23769,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23769
23769
|
* @param {*} [options] Override http request option.
|
|
23770
23770
|
* @throws {RequiredError}
|
|
23771
23771
|
*/
|
|
23772
|
-
|
|
23772
|
+
apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, page, limit, lastRetrieved, options) {
|
|
23773
23773
|
return __awaiter(this, void 0, void 0, function () {
|
|
23774
23774
|
var localVarAxiosArgs;
|
|
23775
23775
|
return __generator(this, function (_a) {
|
|
23776
23776
|
switch (_a.label) {
|
|
23777
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
23777
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options)];
|
|
23778
23778
|
case 1:
|
|
23779
23779
|
localVarAxiosArgs = _a.sent();
|
|
23780
23780
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -23784,18 +23784,18 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23784
23784
|
},
|
|
23785
23785
|
/**
|
|
23786
23786
|
*
|
|
23787
|
-
* @summary Delete
|
|
23787
|
+
* @summary Delete GetAllLanguage.
|
|
23788
23788
|
* @param {string} hospitalId
|
|
23789
23789
|
* @param {string} languageCode
|
|
23790
23790
|
* @param {*} [options] Override http request option.
|
|
23791
23791
|
* @throws {RequiredError}
|
|
23792
23792
|
*/
|
|
23793
|
-
|
|
23793
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
|
|
23794
23794
|
return __awaiter(this, void 0, void 0, function () {
|
|
23795
23795
|
var localVarAxiosArgs;
|
|
23796
23796
|
return __generator(this, function (_a) {
|
|
23797
23797
|
switch (_a.label) {
|
|
23798
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
23798
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options)];
|
|
23799
23799
|
case 1:
|
|
23800
23800
|
localVarAxiosArgs = _a.sent();
|
|
23801
23801
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -23811,12 +23811,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23811
23811
|
* @param {*} [options] Override http request option.
|
|
23812
23812
|
* @throws {RequiredError}
|
|
23813
23813
|
*/
|
|
23814
|
-
|
|
23814
|
+
apiV1HospitalsHospitalIdLanguagesPost: function (hospitalId, createHospitalLanguageCommand, options) {
|
|
23815
23815
|
return __awaiter(this, void 0, void 0, function () {
|
|
23816
23816
|
var localVarAxiosArgs;
|
|
23817
23817
|
return __generator(this, function (_a) {
|
|
23818
23818
|
switch (_a.label) {
|
|
23819
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
23819
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options)];
|
|
23820
23820
|
case 1:
|
|
23821
23821
|
localVarAxiosArgs = _a.sent();
|
|
23822
23822
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -25073,7 +25073,7 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
25073
25073
|
},
|
|
25074
25074
|
/**
|
|
25075
25075
|
*
|
|
25076
|
-
* @summary Get all
|
|
25076
|
+
* @summary Get all GetAllLanguages.
|
|
25077
25077
|
* @param {string} hospitalId
|
|
25078
25078
|
* @param {string} [name]
|
|
25079
25079
|
* @param {number} [page]
|
|
@@ -25082,19 +25082,19 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
25082
25082
|
* @param {*} [options] Override http request option.
|
|
25083
25083
|
* @throws {RequiredError}
|
|
25084
25084
|
*/
|
|
25085
|
-
|
|
25086
|
-
return localVarFp.
|
|
25085
|
+
apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, page, limit, lastRetrieved, options) {
|
|
25086
|
+
return localVarFp.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
25087
25087
|
},
|
|
25088
25088
|
/**
|
|
25089
25089
|
*
|
|
25090
|
-
* @summary Delete
|
|
25090
|
+
* @summary Delete GetAllLanguage.
|
|
25091
25091
|
* @param {string} hospitalId
|
|
25092
25092
|
* @param {string} languageCode
|
|
25093
25093
|
* @param {*} [options] Override http request option.
|
|
25094
25094
|
* @throws {RequiredError}
|
|
25095
25095
|
*/
|
|
25096
|
-
|
|
25097
|
-
return localVarFp.
|
|
25096
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
|
|
25097
|
+
return localVarFp.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
25098
25098
|
},
|
|
25099
25099
|
/**
|
|
25100
25100
|
*
|
|
@@ -25104,8 +25104,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
25104
25104
|
* @param {*} [options] Override http request option.
|
|
25105
25105
|
* @throws {RequiredError}
|
|
25106
25106
|
*/
|
|
25107
|
-
|
|
25108
|
-
return localVarFp.
|
|
25107
|
+
apiV1HospitalsHospitalIdLanguagesPost: function (hospitalId, createHospitalLanguageCommand, options) {
|
|
25108
|
+
return localVarFp.apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
25109
25109
|
},
|
|
25110
25110
|
/**
|
|
25111
25111
|
*
|
|
@@ -26034,7 +26034,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
26034
26034
|
};
|
|
26035
26035
|
/**
|
|
26036
26036
|
*
|
|
26037
|
-
* @summary Get all
|
|
26037
|
+
* @summary Get all GetAllLanguages.
|
|
26038
26038
|
* @param {string} hospitalId
|
|
26039
26039
|
* @param {string} [name]
|
|
26040
26040
|
* @param {number} [page]
|
|
@@ -26044,22 +26044,22 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
26044
26044
|
* @throws {RequiredError}
|
|
26045
26045
|
* @memberof HospitalsApi
|
|
26046
26046
|
*/
|
|
26047
|
-
HospitalsApi.prototype.
|
|
26047
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLanguagesGet = function (hospitalId, name, page, limit, lastRetrieved, options) {
|
|
26048
26048
|
var _this = this;
|
|
26049
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
26049
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26050
26050
|
};
|
|
26051
26051
|
/**
|
|
26052
26052
|
*
|
|
26053
|
-
* @summary Delete
|
|
26053
|
+
* @summary Delete GetAllLanguage.
|
|
26054
26054
|
* @param {string} hospitalId
|
|
26055
26055
|
* @param {string} languageCode
|
|
26056
26056
|
* @param {*} [options] Override http request option.
|
|
26057
26057
|
* @throws {RequiredError}
|
|
26058
26058
|
* @memberof HospitalsApi
|
|
26059
26059
|
*/
|
|
26060
|
-
HospitalsApi.prototype.
|
|
26060
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete = function (hospitalId, languageCode, options) {
|
|
26061
26061
|
var _this = this;
|
|
26062
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
26062
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26063
26063
|
};
|
|
26064
26064
|
/**
|
|
26065
26065
|
*
|
|
@@ -26070,9 +26070,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
26070
26070
|
* @throws {RequiredError}
|
|
26071
26071
|
* @memberof HospitalsApi
|
|
26072
26072
|
*/
|
|
26073
|
-
HospitalsApi.prototype.
|
|
26073
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLanguagesPost = function (hospitalId, createHospitalLanguageCommand, options) {
|
|
26074
26074
|
var _this = this;
|
|
26075
|
-
return exports.HospitalsApiFp(this.configuration).
|
|
26075
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26076
26076
|
};
|
|
26077
26077
|
/**
|
|
26078
26078
|
*
|
|
@@ -31070,6 +31070,48 @@ exports.SearchApiAxiosParamCreator = function (configuration) {
|
|
|
31070
31070
|
});
|
|
31071
31071
|
});
|
|
31072
31072
|
},
|
|
31073
|
+
/**
|
|
31074
|
+
*
|
|
31075
|
+
* @summary Update or Re-create hospitalSpecialties Azure Search Services Index
|
|
31076
|
+
* @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
|
|
31077
|
+
* @param {*} [options] Override http request option.
|
|
31078
|
+
* @throws {RequiredError}
|
|
31079
|
+
*/
|
|
31080
|
+
apiV1SearchHospitalspecialtiesPost: function (updateHospitalSpecialtiesSearchIndexCommand, options) {
|
|
31081
|
+
if (options === void 0) { options = {}; }
|
|
31082
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
31083
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
31084
|
+
return __generator(this, function (_a) {
|
|
31085
|
+
switch (_a.label) {
|
|
31086
|
+
case 0:
|
|
31087
|
+
localVarPath = "/api/v1/search/hospitalspecialties";
|
|
31088
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
31089
|
+
if (configuration) {
|
|
31090
|
+
baseOptions = configuration.baseOptions;
|
|
31091
|
+
}
|
|
31092
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
31093
|
+
localVarHeaderParameter = {};
|
|
31094
|
+
localVarQueryParameter = {};
|
|
31095
|
+
// authentication oauth2 required
|
|
31096
|
+
// oauth required
|
|
31097
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
31098
|
+
case 1:
|
|
31099
|
+
// authentication oauth2 required
|
|
31100
|
+
// oauth required
|
|
31101
|
+
_a.sent();
|
|
31102
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31103
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31104
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31105
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
31106
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration);
|
|
31107
|
+
return [2 /*return*/, {
|
|
31108
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
31109
|
+
options: localVarRequestOptions,
|
|
31110
|
+
}];
|
|
31111
|
+
}
|
|
31112
|
+
});
|
|
31113
|
+
});
|
|
31114
|
+
},
|
|
31073
31115
|
/**
|
|
31074
31116
|
*
|
|
31075
31117
|
* @summary Update or Re-create specialties Azure Search Services Index
|
|
@@ -31223,6 +31265,26 @@ exports.SearchApiFp = function (configuration) {
|
|
|
31223
31265
|
});
|
|
31224
31266
|
});
|
|
31225
31267
|
},
|
|
31268
|
+
/**
|
|
31269
|
+
*
|
|
31270
|
+
* @summary Update or Re-create hospitalSpecialties Azure Search Services Index
|
|
31271
|
+
* @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
|
|
31272
|
+
* @param {*} [options] Override http request option.
|
|
31273
|
+
* @throws {RequiredError}
|
|
31274
|
+
*/
|
|
31275
|
+
apiV1SearchHospitalspecialtiesPost: function (updateHospitalSpecialtiesSearchIndexCommand, options) {
|
|
31276
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
31277
|
+
var localVarAxiosArgs;
|
|
31278
|
+
return __generator(this, function (_a) {
|
|
31279
|
+
switch (_a.label) {
|
|
31280
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand, options)];
|
|
31281
|
+
case 1:
|
|
31282
|
+
localVarAxiosArgs = _a.sent();
|
|
31283
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
31284
|
+
}
|
|
31285
|
+
});
|
|
31286
|
+
});
|
|
31287
|
+
},
|
|
31226
31288
|
/**
|
|
31227
31289
|
*
|
|
31228
31290
|
* @summary Update or Re-create specialties Azure Search Services Index
|
|
@@ -31302,6 +31364,16 @@ exports.SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
31302
31364
|
apiV1SearchHospitalsPost: function (updateHospitalsSearchIndexCommand, options) {
|
|
31303
31365
|
return localVarFp.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
|
|
31304
31366
|
},
|
|
31367
|
+
/**
|
|
31368
|
+
*
|
|
31369
|
+
* @summary Update or Re-create hospitalSpecialties Azure Search Services Index
|
|
31370
|
+
* @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
|
|
31371
|
+
* @param {*} [options] Override http request option.
|
|
31372
|
+
* @throws {RequiredError}
|
|
31373
|
+
*/
|
|
31374
|
+
apiV1SearchHospitalspecialtiesPost: function (updateHospitalSpecialtiesSearchIndexCommand, options) {
|
|
31375
|
+
return localVarFp.apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
|
|
31376
|
+
},
|
|
31305
31377
|
/**
|
|
31306
31378
|
*
|
|
31307
31379
|
* @summary Update or Re-create specialties Azure Search Services Index
|
|
@@ -31371,6 +31443,18 @@ var SearchApi = /** @class */ (function (_super) {
|
|
|
31371
31443
|
var _this = this;
|
|
31372
31444
|
return exports.SearchApiFp(this.configuration).apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
31373
31445
|
};
|
|
31446
|
+
/**
|
|
31447
|
+
*
|
|
31448
|
+
* @summary Update or Re-create hospitalSpecialties Azure Search Services Index
|
|
31449
|
+
* @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
|
|
31450
|
+
* @param {*} [options] Override http request option.
|
|
31451
|
+
* @throws {RequiredError}
|
|
31452
|
+
* @memberof SearchApi
|
|
31453
|
+
*/
|
|
31454
|
+
SearchApi.prototype.apiV1SearchHospitalspecialtiesPost = function (updateHospitalSpecialtiesSearchIndexCommand, options) {
|
|
31455
|
+
var _this = this;
|
|
31456
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
31457
|
+
};
|
|
31374
31458
|
/**
|
|
31375
31459
|
*
|
|
31376
31460
|
* @summary Update or Re-create specialties Azure Search Services Index
|
|
@@ -31408,6 +31492,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31408
31492
|
/**
|
|
31409
31493
|
*
|
|
31410
31494
|
* @summary Get all ServiceReviews.
|
|
31495
|
+
* @param {string} [id]
|
|
31411
31496
|
* @param {string} [serviceId]
|
|
31412
31497
|
* @param {string} [serviceName]
|
|
31413
31498
|
* @param {string} [patientId]
|
|
@@ -31424,7 +31509,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31424
31509
|
* @param {*} [options] Override http request option.
|
|
31425
31510
|
* @throws {RequiredError}
|
|
31426
31511
|
*/
|
|
31427
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31512
|
+
apiV1ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31428
31513
|
if (options === void 0) { options = {}; }
|
|
31429
31514
|
return __awaiter(_this, void 0, void 0, function () {
|
|
31430
31515
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -31446,6 +31531,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31446
31531
|
// authentication oauth2 required
|
|
31447
31532
|
// oauth required
|
|
31448
31533
|
_a.sent();
|
|
31534
|
+
if (id !== undefined) {
|
|
31535
|
+
localVarQueryParameter['Id'] = id;
|
|
31536
|
+
}
|
|
31449
31537
|
if (serviceId !== undefined) {
|
|
31450
31538
|
localVarQueryParameter['ServiceId'] = serviceId;
|
|
31451
31539
|
}
|
|
@@ -31586,10 +31674,11 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31586
31674
|
/**
|
|
31587
31675
|
*
|
|
31588
31676
|
* @param {string} serviceReviewId
|
|
31677
|
+
* @param {string} [languageCode]
|
|
31589
31678
|
* @param {*} [options] Override http request option.
|
|
31590
31679
|
* @throws {RequiredError}
|
|
31591
31680
|
*/
|
|
31592
|
-
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
31681
|
+
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
31593
31682
|
if (options === void 0) { options = {}; }
|
|
31594
31683
|
return __awaiter(_this, void 0, void 0, function () {
|
|
31595
31684
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -31614,6 +31703,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31614
31703
|
// authentication oauth2 required
|
|
31615
31704
|
// oauth required
|
|
31616
31705
|
_a.sent();
|
|
31706
|
+
if (languageCode !== undefined) {
|
|
31707
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
31708
|
+
}
|
|
31617
31709
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31618
31710
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31619
31711
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -31938,6 +32030,7 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
31938
32030
|
/**
|
|
31939
32031
|
*
|
|
31940
32032
|
* @summary Get all ServiceReviews.
|
|
32033
|
+
* @param {string} [id]
|
|
31941
32034
|
* @param {string} [serviceId]
|
|
31942
32035
|
* @param {string} [serviceName]
|
|
31943
32036
|
* @param {string} [patientId]
|
|
@@ -31954,12 +32047,12 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
31954
32047
|
* @param {*} [options] Override http request option.
|
|
31955
32048
|
* @throws {RequiredError}
|
|
31956
32049
|
*/
|
|
31957
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
32050
|
+
apiV1ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31958
32051
|
return __awaiter(this, void 0, void 0, function () {
|
|
31959
32052
|
var localVarAxiosArgs;
|
|
31960
32053
|
return __generator(this, function (_a) {
|
|
31961
32054
|
switch (_a.label) {
|
|
31962
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
32055
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
31963
32056
|
case 1:
|
|
31964
32057
|
localVarAxiosArgs = _a.sent();
|
|
31965
32058
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -32010,15 +32103,16 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
32010
32103
|
/**
|
|
32011
32104
|
*
|
|
32012
32105
|
* @param {string} serviceReviewId
|
|
32106
|
+
* @param {string} [languageCode]
|
|
32013
32107
|
* @param {*} [options] Override http request option.
|
|
32014
32108
|
* @throws {RequiredError}
|
|
32015
32109
|
*/
|
|
32016
|
-
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
32110
|
+
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
32017
32111
|
return __awaiter(this, void 0, void 0, function () {
|
|
32018
32112
|
var localVarAxiosArgs;
|
|
32019
32113
|
return __generator(this, function (_a) {
|
|
32020
32114
|
switch (_a.label) {
|
|
32021
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options)];
|
|
32115
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options)];
|
|
32022
32116
|
case 1:
|
|
32023
32117
|
localVarAxiosArgs = _a.sent();
|
|
32024
32118
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -32169,6 +32263,7 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
32169
32263
|
/**
|
|
32170
32264
|
*
|
|
32171
32265
|
* @summary Get all ServiceReviews.
|
|
32266
|
+
* @param {string} [id]
|
|
32172
32267
|
* @param {string} [serviceId]
|
|
32173
32268
|
* @param {string} [serviceName]
|
|
32174
32269
|
* @param {string} [patientId]
|
|
@@ -32185,8 +32280,8 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
32185
32280
|
* @param {*} [options] Override http request option.
|
|
32186
32281
|
* @throws {RequiredError}
|
|
32187
32282
|
*/
|
|
32188
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
32189
|
-
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
32283
|
+
apiV1ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
32284
|
+
return localVarFp.apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
32190
32285
|
},
|
|
32191
32286
|
/**
|
|
32192
32287
|
*
|
|
@@ -32211,11 +32306,12 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
32211
32306
|
/**
|
|
32212
32307
|
*
|
|
32213
32308
|
* @param {string} serviceReviewId
|
|
32309
|
+
* @param {string} [languageCode]
|
|
32214
32310
|
* @param {*} [options] Override http request option.
|
|
32215
32311
|
* @throws {RequiredError}
|
|
32216
32312
|
*/
|
|
32217
|
-
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
32218
|
-
return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
32313
|
+
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
32314
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
32219
32315
|
},
|
|
32220
32316
|
/**
|
|
32221
32317
|
*
|
|
@@ -32304,6 +32400,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
32304
32400
|
/**
|
|
32305
32401
|
*
|
|
32306
32402
|
* @summary Get all ServiceReviews.
|
|
32403
|
+
* @param {string} [id]
|
|
32307
32404
|
* @param {string} [serviceId]
|
|
32308
32405
|
* @param {string} [serviceName]
|
|
32309
32406
|
* @param {string} [patientId]
|
|
@@ -32321,9 +32418,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
32321
32418
|
* @throws {RequiredError}
|
|
32322
32419
|
* @memberof ServiceReviewsApi
|
|
32323
32420
|
*/
|
|
32324
|
-
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
32421
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
32325
32422
|
var _this = this;
|
|
32326
|
-
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32423
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32327
32424
|
};
|
|
32328
32425
|
/**
|
|
32329
32426
|
*
|
|
@@ -32352,13 +32449,14 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
32352
32449
|
/**
|
|
32353
32450
|
*
|
|
32354
32451
|
* @param {string} serviceReviewId
|
|
32452
|
+
* @param {string} [languageCode]
|
|
32355
32453
|
* @param {*} [options] Override http request option.
|
|
32356
32454
|
* @throws {RequiredError}
|
|
32357
32455
|
* @memberof ServiceReviewsApi
|
|
32358
32456
|
*/
|
|
32359
|
-
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdGet = function (serviceReviewId, options) {
|
|
32457
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdGet = function (serviceReviewId, languageCode, options) {
|
|
32360
32458
|
var _this = this;
|
|
32361
|
-
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32459
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32362
32460
|
};
|
|
32363
32461
|
/**
|
|
32364
32462
|
*
|