ch-admin-api-client-typescript 3.4.8 → 3.5.1
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 +314 -24
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +326 -14
- package/package.json +1 -1
- package/src/api.ts +466 -30
package/lib/api.js
CHANGED
|
@@ -20798,6 +20798,160 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20798
20798
|
});
|
|
20799
20799
|
});
|
|
20800
20800
|
},
|
|
20801
|
+
/**
|
|
20802
|
+
*
|
|
20803
|
+
* @summary Get all GetAllLanguages.
|
|
20804
|
+
* @param {string} hospitalId
|
|
20805
|
+
* @param {string} [name]
|
|
20806
|
+
* @param {number} [page]
|
|
20807
|
+
* @param {number} [limit]
|
|
20808
|
+
* @param {Date} [lastRetrieved]
|
|
20809
|
+
* @param {*} [options] Override http request option.
|
|
20810
|
+
* @throws {RequiredError}
|
|
20811
|
+
*/
|
|
20812
|
+
apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, page, limit, lastRetrieved, options) {
|
|
20813
|
+
if (options === void 0) { options = {}; }
|
|
20814
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
20815
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
20816
|
+
return __generator(this, function (_a) {
|
|
20817
|
+
switch (_a.label) {
|
|
20818
|
+
case 0:
|
|
20819
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
20820
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesGet', 'hospitalId', hospitalId);
|
|
20821
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/languages"
|
|
20822
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
20823
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20824
|
+
if (configuration) {
|
|
20825
|
+
baseOptions = configuration.baseOptions;
|
|
20826
|
+
}
|
|
20827
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
20828
|
+
localVarHeaderParameter = {};
|
|
20829
|
+
localVarQueryParameter = {};
|
|
20830
|
+
// authentication oauth2 required
|
|
20831
|
+
// oauth required
|
|
20832
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
20833
|
+
case 1:
|
|
20834
|
+
// authentication oauth2 required
|
|
20835
|
+
// oauth required
|
|
20836
|
+
_a.sent();
|
|
20837
|
+
if (name !== undefined) {
|
|
20838
|
+
localVarQueryParameter['Name'] = name;
|
|
20839
|
+
}
|
|
20840
|
+
if (page !== undefined) {
|
|
20841
|
+
localVarQueryParameter['page'] = page;
|
|
20842
|
+
}
|
|
20843
|
+
if (limit !== undefined) {
|
|
20844
|
+
localVarQueryParameter['limit'] = limit;
|
|
20845
|
+
}
|
|
20846
|
+
if (lastRetrieved !== undefined) {
|
|
20847
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
20848
|
+
lastRetrieved.toISOString() :
|
|
20849
|
+
lastRetrieved;
|
|
20850
|
+
}
|
|
20851
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20852
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20853
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20854
|
+
return [2 /*return*/, {
|
|
20855
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
20856
|
+
options: localVarRequestOptions,
|
|
20857
|
+
}];
|
|
20858
|
+
}
|
|
20859
|
+
});
|
|
20860
|
+
});
|
|
20861
|
+
},
|
|
20862
|
+
/**
|
|
20863
|
+
*
|
|
20864
|
+
* @summary Delete GetAllLanguage.
|
|
20865
|
+
* @param {string} hospitalId
|
|
20866
|
+
* @param {string} languageCode
|
|
20867
|
+
* @param {*} [options] Override http request option.
|
|
20868
|
+
* @throws {RequiredError}
|
|
20869
|
+
*/
|
|
20870
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
|
|
20871
|
+
if (options === void 0) { options = {}; }
|
|
20872
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
20873
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
20874
|
+
return __generator(this, function (_a) {
|
|
20875
|
+
switch (_a.label) {
|
|
20876
|
+
case 0:
|
|
20877
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
20878
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'hospitalId', hospitalId);
|
|
20879
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
20880
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'languageCode', languageCode);
|
|
20881
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/languages/{languageCode}"
|
|
20882
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
20883
|
+
.replace("{" + "languageCode" + "}", encodeURIComponent(String(languageCode)));
|
|
20884
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20885
|
+
if (configuration) {
|
|
20886
|
+
baseOptions = configuration.baseOptions;
|
|
20887
|
+
}
|
|
20888
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
20889
|
+
localVarHeaderParameter = {};
|
|
20890
|
+
localVarQueryParameter = {};
|
|
20891
|
+
// authentication oauth2 required
|
|
20892
|
+
// oauth required
|
|
20893
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
20894
|
+
case 1:
|
|
20895
|
+
// authentication oauth2 required
|
|
20896
|
+
// oauth required
|
|
20897
|
+
_a.sent();
|
|
20898
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20899
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20900
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20901
|
+
return [2 /*return*/, {
|
|
20902
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
20903
|
+
options: localVarRequestOptions,
|
|
20904
|
+
}];
|
|
20905
|
+
}
|
|
20906
|
+
});
|
|
20907
|
+
});
|
|
20908
|
+
},
|
|
20909
|
+
/**
|
|
20910
|
+
*
|
|
20911
|
+
* @summary Create HospitalLanguages.
|
|
20912
|
+
* @param {string} hospitalId
|
|
20913
|
+
* @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
|
|
20914
|
+
* @param {*} [options] Override http request option.
|
|
20915
|
+
* @throws {RequiredError}
|
|
20916
|
+
*/
|
|
20917
|
+
apiV1HospitalsHospitalIdLanguagesPost: function (hospitalId, createHospitalLanguageCommand, options) {
|
|
20918
|
+
if (options === void 0) { options = {}; }
|
|
20919
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
20920
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
20921
|
+
return __generator(this, function (_a) {
|
|
20922
|
+
switch (_a.label) {
|
|
20923
|
+
case 0:
|
|
20924
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
20925
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesPost', 'hospitalId', hospitalId);
|
|
20926
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/languages"
|
|
20927
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
20928
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20929
|
+
if (configuration) {
|
|
20930
|
+
baseOptions = configuration.baseOptions;
|
|
20931
|
+
}
|
|
20932
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
20933
|
+
localVarHeaderParameter = {};
|
|
20934
|
+
localVarQueryParameter = {};
|
|
20935
|
+
// authentication oauth2 required
|
|
20936
|
+
// oauth required
|
|
20937
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
20938
|
+
case 1:
|
|
20939
|
+
// authentication oauth2 required
|
|
20940
|
+
// oauth required
|
|
20941
|
+
_a.sent();
|
|
20942
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20943
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20944
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20945
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20946
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createHospitalLanguageCommand, localVarRequestOptions, configuration);
|
|
20947
|
+
return [2 /*return*/, {
|
|
20948
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
20949
|
+
options: localVarRequestOptions,
|
|
20950
|
+
}];
|
|
20951
|
+
}
|
|
20952
|
+
});
|
|
20953
|
+
});
|
|
20954
|
+
},
|
|
20801
20955
|
/**
|
|
20802
20956
|
*
|
|
20803
20957
|
* @summary Get all HospitalMedias.
|
|
@@ -23604,6 +23758,72 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23604
23758
|
});
|
|
23605
23759
|
});
|
|
23606
23760
|
},
|
|
23761
|
+
/**
|
|
23762
|
+
*
|
|
23763
|
+
* @summary Get all GetAllLanguages.
|
|
23764
|
+
* @param {string} hospitalId
|
|
23765
|
+
* @param {string} [name]
|
|
23766
|
+
* @param {number} [page]
|
|
23767
|
+
* @param {number} [limit]
|
|
23768
|
+
* @param {Date} [lastRetrieved]
|
|
23769
|
+
* @param {*} [options] Override http request option.
|
|
23770
|
+
* @throws {RequiredError}
|
|
23771
|
+
*/
|
|
23772
|
+
apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, page, limit, lastRetrieved, options) {
|
|
23773
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
23774
|
+
var localVarAxiosArgs;
|
|
23775
|
+
return __generator(this, function (_a) {
|
|
23776
|
+
switch (_a.label) {
|
|
23777
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options)];
|
|
23778
|
+
case 1:
|
|
23779
|
+
localVarAxiosArgs = _a.sent();
|
|
23780
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
23781
|
+
}
|
|
23782
|
+
});
|
|
23783
|
+
});
|
|
23784
|
+
},
|
|
23785
|
+
/**
|
|
23786
|
+
*
|
|
23787
|
+
* @summary Delete GetAllLanguage.
|
|
23788
|
+
* @param {string} hospitalId
|
|
23789
|
+
* @param {string} languageCode
|
|
23790
|
+
* @param {*} [options] Override http request option.
|
|
23791
|
+
* @throws {RequiredError}
|
|
23792
|
+
*/
|
|
23793
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
|
|
23794
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
23795
|
+
var localVarAxiosArgs;
|
|
23796
|
+
return __generator(this, function (_a) {
|
|
23797
|
+
switch (_a.label) {
|
|
23798
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options)];
|
|
23799
|
+
case 1:
|
|
23800
|
+
localVarAxiosArgs = _a.sent();
|
|
23801
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
23802
|
+
}
|
|
23803
|
+
});
|
|
23804
|
+
});
|
|
23805
|
+
},
|
|
23806
|
+
/**
|
|
23807
|
+
*
|
|
23808
|
+
* @summary Create HospitalLanguages.
|
|
23809
|
+
* @param {string} hospitalId
|
|
23810
|
+
* @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
|
|
23811
|
+
* @param {*} [options] Override http request option.
|
|
23812
|
+
* @throws {RequiredError}
|
|
23813
|
+
*/
|
|
23814
|
+
apiV1HospitalsHospitalIdLanguagesPost: function (hospitalId, createHospitalLanguageCommand, options) {
|
|
23815
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
23816
|
+
var localVarAxiosArgs;
|
|
23817
|
+
return __generator(this, function (_a) {
|
|
23818
|
+
switch (_a.label) {
|
|
23819
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options)];
|
|
23820
|
+
case 1:
|
|
23821
|
+
localVarAxiosArgs = _a.sent();
|
|
23822
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
23823
|
+
}
|
|
23824
|
+
});
|
|
23825
|
+
});
|
|
23826
|
+
},
|
|
23607
23827
|
/**
|
|
23608
23828
|
*
|
|
23609
23829
|
* @summary Get all HospitalMedias.
|
|
@@ -24851,6 +25071,42 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24851
25071
|
apiV1HospitalsHospitalIdHandlesPost: function (hospitalId, createHospitalSnsHandleCommand, options) {
|
|
24852
25072
|
return localVarFp.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then(function (request) { return request(axios, basePath); });
|
|
24853
25073
|
},
|
|
25074
|
+
/**
|
|
25075
|
+
*
|
|
25076
|
+
* @summary Get all GetAllLanguages.
|
|
25077
|
+
* @param {string} hospitalId
|
|
25078
|
+
* @param {string} [name]
|
|
25079
|
+
* @param {number} [page]
|
|
25080
|
+
* @param {number} [limit]
|
|
25081
|
+
* @param {Date} [lastRetrieved]
|
|
25082
|
+
* @param {*} [options] Override http request option.
|
|
25083
|
+
* @throws {RequiredError}
|
|
25084
|
+
*/
|
|
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
|
+
},
|
|
25088
|
+
/**
|
|
25089
|
+
*
|
|
25090
|
+
* @summary Delete GetAllLanguage.
|
|
25091
|
+
* @param {string} hospitalId
|
|
25092
|
+
* @param {string} languageCode
|
|
25093
|
+
* @param {*} [options] Override http request option.
|
|
25094
|
+
* @throws {RequiredError}
|
|
25095
|
+
*/
|
|
25096
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
|
|
25097
|
+
return localVarFp.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
25098
|
+
},
|
|
25099
|
+
/**
|
|
25100
|
+
*
|
|
25101
|
+
* @summary Create HospitalLanguages.
|
|
25102
|
+
* @param {string} hospitalId
|
|
25103
|
+
* @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
|
|
25104
|
+
* @param {*} [options] Override http request option.
|
|
25105
|
+
* @throws {RequiredError}
|
|
25106
|
+
*/
|
|
25107
|
+
apiV1HospitalsHospitalIdLanguagesPost: function (hospitalId, createHospitalLanguageCommand, options) {
|
|
25108
|
+
return localVarFp.apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
25109
|
+
},
|
|
24854
25110
|
/**
|
|
24855
25111
|
*
|
|
24856
25112
|
* @summary Get all HospitalMedias.
|
|
@@ -25776,6 +26032,48 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25776
26032
|
var _this = this;
|
|
25777
26033
|
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25778
26034
|
};
|
|
26035
|
+
/**
|
|
26036
|
+
*
|
|
26037
|
+
* @summary Get all GetAllLanguages.
|
|
26038
|
+
* @param {string} hospitalId
|
|
26039
|
+
* @param {string} [name]
|
|
26040
|
+
* @param {number} [page]
|
|
26041
|
+
* @param {number} [limit]
|
|
26042
|
+
* @param {Date} [lastRetrieved]
|
|
26043
|
+
* @param {*} [options] Override http request option.
|
|
26044
|
+
* @throws {RequiredError}
|
|
26045
|
+
* @memberof HospitalsApi
|
|
26046
|
+
*/
|
|
26047
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLanguagesGet = function (hospitalId, name, page, limit, lastRetrieved, options) {
|
|
26048
|
+
var _this = this;
|
|
26049
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26050
|
+
};
|
|
26051
|
+
/**
|
|
26052
|
+
*
|
|
26053
|
+
* @summary Delete GetAllLanguage.
|
|
26054
|
+
* @param {string} hospitalId
|
|
26055
|
+
* @param {string} languageCode
|
|
26056
|
+
* @param {*} [options] Override http request option.
|
|
26057
|
+
* @throws {RequiredError}
|
|
26058
|
+
* @memberof HospitalsApi
|
|
26059
|
+
*/
|
|
26060
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete = function (hospitalId, languageCode, options) {
|
|
26061
|
+
var _this = this;
|
|
26062
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26063
|
+
};
|
|
26064
|
+
/**
|
|
26065
|
+
*
|
|
26066
|
+
* @summary Create HospitalLanguages.
|
|
26067
|
+
* @param {string} hospitalId
|
|
26068
|
+
* @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
|
|
26069
|
+
* @param {*} [options] Override http request option.
|
|
26070
|
+
* @throws {RequiredError}
|
|
26071
|
+
* @memberof HospitalsApi
|
|
26072
|
+
*/
|
|
26073
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLanguagesPost = function (hospitalId, createHospitalLanguageCommand, options) {
|
|
26074
|
+
var _this = this;
|
|
26075
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26076
|
+
};
|
|
25779
26077
|
/**
|
|
25780
26078
|
*
|
|
25781
26079
|
* @summary Get all HospitalMedias.
|
|
@@ -31110,6 +31408,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31110
31408
|
/**
|
|
31111
31409
|
*
|
|
31112
31410
|
* @summary Get all ServiceReviews.
|
|
31411
|
+
* @param {string} [id]
|
|
31113
31412
|
* @param {string} [serviceId]
|
|
31114
31413
|
* @param {string} [serviceName]
|
|
31115
31414
|
* @param {string} [patientId]
|
|
@@ -31126,7 +31425,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31126
31425
|
* @param {*} [options] Override http request option.
|
|
31127
31426
|
* @throws {RequiredError}
|
|
31128
31427
|
*/
|
|
31129
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31428
|
+
apiV1ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31130
31429
|
if (options === void 0) { options = {}; }
|
|
31131
31430
|
return __awaiter(_this, void 0, void 0, function () {
|
|
31132
31431
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -31148,6 +31447,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31148
31447
|
// authentication oauth2 required
|
|
31149
31448
|
// oauth required
|
|
31150
31449
|
_a.sent();
|
|
31450
|
+
if (id !== undefined) {
|
|
31451
|
+
localVarQueryParameter['Id'] = id;
|
|
31452
|
+
}
|
|
31151
31453
|
if (serviceId !== undefined) {
|
|
31152
31454
|
localVarQueryParameter['ServiceId'] = serviceId;
|
|
31153
31455
|
}
|
|
@@ -31288,10 +31590,11 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31288
31590
|
/**
|
|
31289
31591
|
*
|
|
31290
31592
|
* @param {string} serviceReviewId
|
|
31593
|
+
* @param {string} [languageCode]
|
|
31291
31594
|
* @param {*} [options] Override http request option.
|
|
31292
31595
|
* @throws {RequiredError}
|
|
31293
31596
|
*/
|
|
31294
|
-
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
31597
|
+
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
31295
31598
|
if (options === void 0) { options = {}; }
|
|
31296
31599
|
return __awaiter(_this, void 0, void 0, function () {
|
|
31297
31600
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -31316,6 +31619,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31316
31619
|
// authentication oauth2 required
|
|
31317
31620
|
// oauth required
|
|
31318
31621
|
_a.sent();
|
|
31622
|
+
if (languageCode !== undefined) {
|
|
31623
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
31624
|
+
}
|
|
31319
31625
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31320
31626
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31321
31627
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -31640,6 +31946,7 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
31640
31946
|
/**
|
|
31641
31947
|
*
|
|
31642
31948
|
* @summary Get all ServiceReviews.
|
|
31949
|
+
* @param {string} [id]
|
|
31643
31950
|
* @param {string} [serviceId]
|
|
31644
31951
|
* @param {string} [serviceName]
|
|
31645
31952
|
* @param {string} [patientId]
|
|
@@ -31656,12 +31963,12 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
31656
31963
|
* @param {*} [options] Override http request option.
|
|
31657
31964
|
* @throws {RequiredError}
|
|
31658
31965
|
*/
|
|
31659
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31966
|
+
apiV1ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31660
31967
|
return __awaiter(this, void 0, void 0, function () {
|
|
31661
31968
|
var localVarAxiosArgs;
|
|
31662
31969
|
return __generator(this, function (_a) {
|
|
31663
31970
|
switch (_a.label) {
|
|
31664
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
31971
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
31665
31972
|
case 1:
|
|
31666
31973
|
localVarAxiosArgs = _a.sent();
|
|
31667
31974
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -31712,15 +32019,16 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
31712
32019
|
/**
|
|
31713
32020
|
*
|
|
31714
32021
|
* @param {string} serviceReviewId
|
|
32022
|
+
* @param {string} [languageCode]
|
|
31715
32023
|
* @param {*} [options] Override http request option.
|
|
31716
32024
|
* @throws {RequiredError}
|
|
31717
32025
|
*/
|
|
31718
|
-
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
32026
|
+
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
31719
32027
|
return __awaiter(this, void 0, void 0, function () {
|
|
31720
32028
|
var localVarAxiosArgs;
|
|
31721
32029
|
return __generator(this, function (_a) {
|
|
31722
32030
|
switch (_a.label) {
|
|
31723
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options)];
|
|
32031
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options)];
|
|
31724
32032
|
case 1:
|
|
31725
32033
|
localVarAxiosArgs = _a.sent();
|
|
31726
32034
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -31871,6 +32179,7 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
31871
32179
|
/**
|
|
31872
32180
|
*
|
|
31873
32181
|
* @summary Get all ServiceReviews.
|
|
32182
|
+
* @param {string} [id]
|
|
31874
32183
|
* @param {string} [serviceId]
|
|
31875
32184
|
* @param {string} [serviceName]
|
|
31876
32185
|
* @param {string} [patientId]
|
|
@@ -31887,8 +32196,8 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
31887
32196
|
* @param {*} [options] Override http request option.
|
|
31888
32197
|
* @throws {RequiredError}
|
|
31889
32198
|
*/
|
|
31890
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31891
|
-
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
32199
|
+
apiV1ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
32200
|
+
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); });
|
|
31892
32201
|
},
|
|
31893
32202
|
/**
|
|
31894
32203
|
*
|
|
@@ -31913,11 +32222,12 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
31913
32222
|
/**
|
|
31914
32223
|
*
|
|
31915
32224
|
* @param {string} serviceReviewId
|
|
32225
|
+
* @param {string} [languageCode]
|
|
31916
32226
|
* @param {*} [options] Override http request option.
|
|
31917
32227
|
* @throws {RequiredError}
|
|
31918
32228
|
*/
|
|
31919
|
-
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
31920
|
-
return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
32229
|
+
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
32230
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
31921
32231
|
},
|
|
31922
32232
|
/**
|
|
31923
32233
|
*
|
|
@@ -32006,6 +32316,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
32006
32316
|
/**
|
|
32007
32317
|
*
|
|
32008
32318
|
* @summary Get all ServiceReviews.
|
|
32319
|
+
* @param {string} [id]
|
|
32009
32320
|
* @param {string} [serviceId]
|
|
32010
32321
|
* @param {string} [serviceName]
|
|
32011
32322
|
* @param {string} [patientId]
|
|
@@ -32023,9 +32334,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
32023
32334
|
* @throws {RequiredError}
|
|
32024
32335
|
* @memberof ServiceReviewsApi
|
|
32025
32336
|
*/
|
|
32026
|
-
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
32337
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
32027
32338
|
var _this = this;
|
|
32028
|
-
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); });
|
|
32339
|
+
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); });
|
|
32029
32340
|
};
|
|
32030
32341
|
/**
|
|
32031
32342
|
*
|
|
@@ -32054,13 +32365,14 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
32054
32365
|
/**
|
|
32055
32366
|
*
|
|
32056
32367
|
* @param {string} serviceReviewId
|
|
32368
|
+
* @param {string} [languageCode]
|
|
32057
32369
|
* @param {*} [options] Override http request option.
|
|
32058
32370
|
* @throws {RequiredError}
|
|
32059
32371
|
* @memberof ServiceReviewsApi
|
|
32060
32372
|
*/
|
|
32061
|
-
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdGet = function (serviceReviewId, options) {
|
|
32373
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdGet = function (serviceReviewId, languageCode, options) {
|
|
32062
32374
|
var _this = this;
|
|
32063
|
-
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32375
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32064
32376
|
};
|
|
32065
32377
|
/**
|
|
32066
32378
|
*
|