ch-admin-api-client-typescript 3.4.9 → 3.5.0
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 +20 -20
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +36 -36
- package/package.json +1 -1
- package/src/api.ts +36 -36
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
|
*
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -31952,7 +31952,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
31952
31952
|
},
|
|
31953
31953
|
/**
|
|
31954
31954
|
*
|
|
31955
|
-
* @summary Get all
|
|
31955
|
+
* @summary Get all GetAllLanguages.
|
|
31956
31956
|
* @param {string} hospitalId
|
|
31957
31957
|
* @param {string} [name]
|
|
31958
31958
|
* @param {number} [page]
|
|
@@ -31961,10 +31961,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
31961
31961
|
* @param {*} [options] Override http request option.
|
|
31962
31962
|
* @throws {RequiredError}
|
|
31963
31963
|
*/
|
|
31964
|
-
|
|
31964
|
+
apiV1HospitalsHospitalIdLanguagesGet: async (hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31965
31965
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
31966
|
-
assertParamExists('
|
|
31967
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
31966
|
+
assertParamExists('apiV1HospitalsHospitalIdLanguagesGet', 'hospitalId', hospitalId)
|
|
31967
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/languages`
|
|
31968
31968
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
31969
31969
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31970
31970
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -32012,18 +32012,18 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
32012
32012
|
},
|
|
32013
32013
|
/**
|
|
32014
32014
|
*
|
|
32015
|
-
* @summary Delete
|
|
32015
|
+
* @summary Delete GetAllLanguage.
|
|
32016
32016
|
* @param {string} hospitalId
|
|
32017
32017
|
* @param {string} languageCode
|
|
32018
32018
|
* @param {*} [options] Override http request option.
|
|
32019
32019
|
* @throws {RequiredError}
|
|
32020
32020
|
*/
|
|
32021
|
-
|
|
32021
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: async (hospitalId: string, languageCode: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32022
32022
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
32023
|
-
assertParamExists('
|
|
32023
|
+
assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'hospitalId', hospitalId)
|
|
32024
32024
|
// verify required parameter 'languageCode' is not null or undefined
|
|
32025
|
-
assertParamExists('
|
|
32026
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
32025
|
+
assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'languageCode', languageCode)
|
|
32026
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/languages/{languageCode}`
|
|
32027
32027
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
32028
32028
|
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
|
|
32029
32029
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -32060,10 +32060,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
32060
32060
|
* @param {*} [options] Override http request option.
|
|
32061
32061
|
* @throws {RequiredError}
|
|
32062
32062
|
*/
|
|
32063
|
-
|
|
32063
|
+
apiV1HospitalsHospitalIdLanguagesPost: async (hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32064
32064
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
32065
|
-
assertParamExists('
|
|
32066
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
32065
|
+
assertParamExists('apiV1HospitalsHospitalIdLanguagesPost', 'hospitalId', hospitalId)
|
|
32066
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/languages`
|
|
32067
32067
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
32068
32068
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32069
32069
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34568,7 +34568,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
34568
34568
|
},
|
|
34569
34569
|
/**
|
|
34570
34570
|
*
|
|
34571
|
-
* @summary Get all
|
|
34571
|
+
* @summary Get all GetAllLanguages.
|
|
34572
34572
|
* @param {string} hospitalId
|
|
34573
34573
|
* @param {string} [name]
|
|
34574
34574
|
* @param {number} [page]
|
|
@@ -34577,20 +34577,20 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
34577
34577
|
* @param {*} [options] Override http request option.
|
|
34578
34578
|
* @throws {RequiredError}
|
|
34579
34579
|
*/
|
|
34580
|
-
async
|
|
34581
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
34580
|
+
async apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalLanguagesModel>> {
|
|
34581
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options);
|
|
34582
34582
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34583
34583
|
},
|
|
34584
34584
|
/**
|
|
34585
34585
|
*
|
|
34586
|
-
* @summary Delete
|
|
34586
|
+
* @summary Delete GetAllLanguage.
|
|
34587
34587
|
* @param {string} hospitalId
|
|
34588
34588
|
* @param {string} languageCode
|
|
34589
34589
|
* @param {*} [options] Override http request option.
|
|
34590
34590
|
* @throws {RequiredError}
|
|
34591
34591
|
*/
|
|
34592
|
-
async
|
|
34593
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
34592
|
+
async apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
34593
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options);
|
|
34594
34594
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34595
34595
|
},
|
|
34596
34596
|
/**
|
|
@@ -34601,8 +34601,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
34601
34601
|
* @param {*} [options] Override http request option.
|
|
34602
34602
|
* @throws {RequiredError}
|
|
34603
34603
|
*/
|
|
34604
|
-
async
|
|
34605
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
34604
|
+
async apiV1HospitalsHospitalIdLanguagesPost(hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
34605
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options);
|
|
34606
34606
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34607
34607
|
},
|
|
34608
34608
|
/**
|
|
@@ -35513,7 +35513,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
35513
35513
|
},
|
|
35514
35514
|
/**
|
|
35515
35515
|
*
|
|
35516
|
-
* @summary Get all
|
|
35516
|
+
* @summary Get all GetAllLanguages.
|
|
35517
35517
|
* @param {string} hospitalId
|
|
35518
35518
|
* @param {string} [name]
|
|
35519
35519
|
* @param {number} [page]
|
|
@@ -35522,19 +35522,19 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
35522
35522
|
* @param {*} [options] Override http request option.
|
|
35523
35523
|
* @throws {RequiredError}
|
|
35524
35524
|
*/
|
|
35525
|
-
|
|
35526
|
-
return localVarFp.
|
|
35525
|
+
apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalLanguagesModel> {
|
|
35526
|
+
return localVarFp.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35527
35527
|
},
|
|
35528
35528
|
/**
|
|
35529
35529
|
*
|
|
35530
|
-
* @summary Delete
|
|
35530
|
+
* @summary Delete GetAllLanguage.
|
|
35531
35531
|
* @param {string} hospitalId
|
|
35532
35532
|
* @param {string} languageCode
|
|
35533
35533
|
* @param {*} [options] Override http request option.
|
|
35534
35534
|
* @throws {RequiredError}
|
|
35535
35535
|
*/
|
|
35536
|
-
|
|
35537
|
-
return localVarFp.
|
|
35536
|
+
apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: any): AxiosPromise<boolean> {
|
|
35537
|
+
return localVarFp.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then((request) => request(axios, basePath));
|
|
35538
35538
|
},
|
|
35539
35539
|
/**
|
|
35540
35540
|
*
|
|
@@ -35544,8 +35544,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
35544
35544
|
* @param {*} [options] Override http request option.
|
|
35545
35545
|
* @throws {RequiredError}
|
|
35546
35546
|
*/
|
|
35547
|
-
|
|
35548
|
-
return localVarFp.
|
|
35547
|
+
apiV1HospitalsHospitalIdLanguagesPost(hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options?: any): AxiosPromise<boolean> {
|
|
35548
|
+
return localVarFp.apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options).then((request) => request(axios, basePath));
|
|
35549
35549
|
},
|
|
35550
35550
|
/**
|
|
35551
35551
|
*
|
|
@@ -36471,7 +36471,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
36471
36471
|
|
|
36472
36472
|
/**
|
|
36473
36473
|
*
|
|
36474
|
-
* @summary Get all
|
|
36474
|
+
* @summary Get all GetAllLanguages.
|
|
36475
36475
|
* @param {string} hospitalId
|
|
36476
36476
|
* @param {string} [name]
|
|
36477
36477
|
* @param {number} [page]
|
|
@@ -36481,21 +36481,21 @@ export class HospitalsApi extends BaseAPI {
|
|
|
36481
36481
|
* @throws {RequiredError}
|
|
36482
36482
|
* @memberof HospitalsApi
|
|
36483
36483
|
*/
|
|
36484
|
-
public
|
|
36485
|
-
return HospitalsApiFp(this.configuration).
|
|
36484
|
+
public apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
36485
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
36486
36486
|
}
|
|
36487
36487
|
|
|
36488
36488
|
/**
|
|
36489
36489
|
*
|
|
36490
|
-
* @summary Delete
|
|
36490
|
+
* @summary Delete GetAllLanguage.
|
|
36491
36491
|
* @param {string} hospitalId
|
|
36492
36492
|
* @param {string} languageCode
|
|
36493
36493
|
* @param {*} [options] Override http request option.
|
|
36494
36494
|
* @throws {RequiredError}
|
|
36495
36495
|
* @memberof HospitalsApi
|
|
36496
36496
|
*/
|
|
36497
|
-
public
|
|
36498
|
-
return HospitalsApiFp(this.configuration).
|
|
36497
|
+
public apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: AxiosRequestConfig) {
|
|
36498
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
36499
36499
|
}
|
|
36500
36500
|
|
|
36501
36501
|
/**
|
|
@@ -36507,8 +36507,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
36507
36507
|
* @throws {RequiredError}
|
|
36508
36508
|
* @memberof HospitalsApi
|
|
36509
36509
|
*/
|
|
36510
|
-
public
|
|
36511
|
-
return HospitalsApiFp(this.configuration).
|
|
36510
|
+
public apiV1HospitalsHospitalIdLanguagesPost(hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options?: AxiosRequestConfig) {
|
|
36511
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
36512
36512
|
}
|
|
36513
36513
|
|
|
36514
36514
|
/**
|