ch-admin-api-client-typescript 5.19.8 → 5.19.13
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/hospital-branches-api.d.ts +185 -0
- package/lib/api/hospital-branches-api.d.ts.map +1 -1
- package/lib/api/hospital-branches-api.js +283 -0
- package/lib/api/hospitals-api.d.ts +434 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +612 -0
- package/lib/models/add-hospital-into-branch-command.d.ts +31 -0
- package/lib/models/add-hospital-into-branch-command.d.ts.map +1 -0
- package/lib/models/add-hospital-into-branch-command.js +15 -0
- package/lib/models/create-hospital-branch-command.d.ts +0 -6
- package/lib/models/create-hospital-branch-command.d.ts.map +1 -1
- package/lib/models/create-notice-command.d.ts +62 -0
- package/lib/models/create-notice-command.d.ts.map +1 -0
- package/lib/models/create-notice-command.js +15 -0
- package/lib/models/hospital-branch-item-mapping-model.d.ts +38 -0
- package/lib/models/hospital-branch-item-mapping-model.d.ts.map +1 -0
- package/lib/models/hospital-branch-item-mapping-model.js +15 -0
- package/lib/models/hospital-branch-item-model.d.ts +0 -12
- package/lib/models/hospital-branch-item-model.d.ts.map +1 -1
- package/lib/models/hospital-branch-model.d.ts +6 -11
- package/lib/models/hospital-branch-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +9 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +9 -0
- package/lib/models/notice-item-model.d.ts +87 -0
- package/lib/models/notice-item-model.d.ts.map +1 -0
- package/lib/models/notice-item-model.js +15 -0
- package/lib/models/notice-model.d.ts +105 -0
- package/lib/models/notice-model.d.ts.map +1 -0
- package/lib/models/notice-model.js +15 -0
- package/lib/models/notice-status.d.ts +23 -0
- package/lib/models/notice-status.d.ts.map +1 -0
- package/lib/models/notice-status.js +26 -0
- package/lib/models/notices-model.d.ts +33 -0
- package/lib/models/notices-model.d.ts.map +1 -0
- package/lib/models/notices-model.js +15 -0
- package/lib/models/update-hospital-branch-item-command.d.ts +31 -0
- package/lib/models/update-hospital-branch-item-command.d.ts.map +1 -0
- package/lib/models/update-hospital-branch-item-command.js +15 -0
- package/lib/models/update-notice-command.d.ts +62 -0
- package/lib/models/update-notice-command.d.ts.map +1 -0
- package/lib/models/update-notice-command.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +9 -0
- package/src/api/hospital-branches-api.ts +324 -0
- package/src/api/hospitals-api.ts +758 -4
- package/src/models/add-hospital-into-branch-command.ts +36 -0
- package/src/models/create-hospital-branch-command.ts +0 -6
- package/src/models/create-notice-command.ts +69 -0
- package/src/models/hospital-branch-item-mapping-model.ts +45 -0
- package/src/models/hospital-branch-item-model.ts +0 -12
- package/src/models/hospital-branch-model.ts +8 -11
- package/src/models/index.ts +9 -0
- package/src/models/notice-item-model.ts +96 -0
- package/src/models/notice-model.ts +114 -0
- package/src/models/notice-status.ts +32 -0
- package/src/models/notices-model.ts +42 -0
- package/src/models/update-hospital-branch-item-command.ts +36 -0
- package/src/models/update-notice-command.ts +69 -0
package/lib/api/hospitals-api.js
CHANGED
|
@@ -3782,6 +3782,332 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3782
3782
|
});
|
|
3783
3783
|
});
|
|
3784
3784
|
},
|
|
3785
|
+
/**
|
|
3786
|
+
*
|
|
3787
|
+
* @summary Get notices
|
|
3788
|
+
* @param {string} hospitalId
|
|
3789
|
+
* @param {string} [id]
|
|
3790
|
+
* @param {string} [languageCode]
|
|
3791
|
+
* @param {string} [name]
|
|
3792
|
+
* @param {NoticeStatus} [status]
|
|
3793
|
+
* @param {boolean} [showHidden]
|
|
3794
|
+
* @param {number} [page]
|
|
3795
|
+
* @param {number} [limit]
|
|
3796
|
+
* @param {Date} [lastRetrieved]
|
|
3797
|
+
* @param {*} [options] Override http request option.
|
|
3798
|
+
* @throws {RequiredError}
|
|
3799
|
+
*/
|
|
3800
|
+
apiV1HospitalsHospitalIdNoticesGet: function (hospitalId, id, languageCode, name, status, showHidden, page, limit, lastRetrieved, options) {
|
|
3801
|
+
if (options === void 0) { options = {}; }
|
|
3802
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3803
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3804
|
+
return __generator(this, function (_a) {
|
|
3805
|
+
switch (_a.label) {
|
|
3806
|
+
case 0:
|
|
3807
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3808
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesGet', 'hospitalId', hospitalId);
|
|
3809
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/notices"
|
|
3810
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
3811
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3812
|
+
if (configuration) {
|
|
3813
|
+
baseOptions = configuration.baseOptions;
|
|
3814
|
+
}
|
|
3815
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3816
|
+
localVarHeaderParameter = {};
|
|
3817
|
+
localVarQueryParameter = {};
|
|
3818
|
+
// authentication oauth2 required
|
|
3819
|
+
// oauth required
|
|
3820
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3821
|
+
case 1:
|
|
3822
|
+
// authentication oauth2 required
|
|
3823
|
+
// oauth required
|
|
3824
|
+
_a.sent();
|
|
3825
|
+
if (id !== undefined) {
|
|
3826
|
+
localVarQueryParameter['Id'] = id;
|
|
3827
|
+
}
|
|
3828
|
+
if (languageCode !== undefined) {
|
|
3829
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
3830
|
+
}
|
|
3831
|
+
if (name !== undefined) {
|
|
3832
|
+
localVarQueryParameter['Name'] = name;
|
|
3833
|
+
}
|
|
3834
|
+
if (status !== undefined) {
|
|
3835
|
+
localVarQueryParameter['Status'] = status;
|
|
3836
|
+
}
|
|
3837
|
+
if (showHidden !== undefined) {
|
|
3838
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
3839
|
+
}
|
|
3840
|
+
if (page !== undefined) {
|
|
3841
|
+
localVarQueryParameter['page'] = page;
|
|
3842
|
+
}
|
|
3843
|
+
if (limit !== undefined) {
|
|
3844
|
+
localVarQueryParameter['limit'] = limit;
|
|
3845
|
+
}
|
|
3846
|
+
if (lastRetrieved !== undefined) {
|
|
3847
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
3848
|
+
lastRetrieved.toISOString() :
|
|
3849
|
+
lastRetrieved;
|
|
3850
|
+
}
|
|
3851
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3852
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3853
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3854
|
+
return [2 /*return*/, {
|
|
3855
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3856
|
+
options: localVarRequestOptions,
|
|
3857
|
+
}];
|
|
3858
|
+
}
|
|
3859
|
+
});
|
|
3860
|
+
});
|
|
3861
|
+
},
|
|
3862
|
+
/**
|
|
3863
|
+
*
|
|
3864
|
+
* @summary Delete notice
|
|
3865
|
+
* @param {string} hospitalId
|
|
3866
|
+
* @param {string} noticeId
|
|
3867
|
+
* @param {string} [languageCode]
|
|
3868
|
+
* @param {boolean} [isPermanent]
|
|
3869
|
+
* @param {*} [options] Override http request option.
|
|
3870
|
+
* @throws {RequiredError}
|
|
3871
|
+
*/
|
|
3872
|
+
apiV1HospitalsHospitalIdNoticesNoticeIdDelete: function (hospitalId, noticeId, languageCode, isPermanent, options) {
|
|
3873
|
+
if (options === void 0) { options = {}; }
|
|
3874
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3875
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3876
|
+
return __generator(this, function (_a) {
|
|
3877
|
+
switch (_a.label) {
|
|
3878
|
+
case 0:
|
|
3879
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3880
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesNoticeIdDelete', 'hospitalId', hospitalId);
|
|
3881
|
+
// verify required parameter 'noticeId' is not null or undefined
|
|
3882
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesNoticeIdDelete', 'noticeId', noticeId);
|
|
3883
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/notices/{noticeId}"
|
|
3884
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3885
|
+
.replace("{".concat("noticeId", "}"), encodeURIComponent(String(noticeId)));
|
|
3886
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3887
|
+
if (configuration) {
|
|
3888
|
+
baseOptions = configuration.baseOptions;
|
|
3889
|
+
}
|
|
3890
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
3891
|
+
localVarHeaderParameter = {};
|
|
3892
|
+
localVarQueryParameter = {};
|
|
3893
|
+
// authentication oauth2 required
|
|
3894
|
+
// oauth required
|
|
3895
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3896
|
+
case 1:
|
|
3897
|
+
// authentication oauth2 required
|
|
3898
|
+
// oauth required
|
|
3899
|
+
_a.sent();
|
|
3900
|
+
if (languageCode !== undefined) {
|
|
3901
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
3902
|
+
}
|
|
3903
|
+
if (isPermanent !== undefined) {
|
|
3904
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
3905
|
+
}
|
|
3906
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3907
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3908
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3909
|
+
return [2 /*return*/, {
|
|
3910
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3911
|
+
options: localVarRequestOptions,
|
|
3912
|
+
}];
|
|
3913
|
+
}
|
|
3914
|
+
});
|
|
3915
|
+
});
|
|
3916
|
+
},
|
|
3917
|
+
/**
|
|
3918
|
+
*
|
|
3919
|
+
* @summary Get notice by id
|
|
3920
|
+
* @param {string} hospitalId
|
|
3921
|
+
* @param {string} noticeId
|
|
3922
|
+
* @param {string} [languageCode]
|
|
3923
|
+
* @param {*} [options] Override http request option.
|
|
3924
|
+
* @throws {RequiredError}
|
|
3925
|
+
*/
|
|
3926
|
+
apiV1HospitalsHospitalIdNoticesNoticeIdGet: function (hospitalId, noticeId, languageCode, options) {
|
|
3927
|
+
if (options === void 0) { options = {}; }
|
|
3928
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3929
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3930
|
+
return __generator(this, function (_a) {
|
|
3931
|
+
switch (_a.label) {
|
|
3932
|
+
case 0:
|
|
3933
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3934
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesNoticeIdGet', 'hospitalId', hospitalId);
|
|
3935
|
+
// verify required parameter 'noticeId' is not null or undefined
|
|
3936
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesNoticeIdGet', 'noticeId', noticeId);
|
|
3937
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/notices/{noticeId}"
|
|
3938
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3939
|
+
.replace("{".concat("noticeId", "}"), encodeURIComponent(String(noticeId)));
|
|
3940
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3941
|
+
if (configuration) {
|
|
3942
|
+
baseOptions = configuration.baseOptions;
|
|
3943
|
+
}
|
|
3944
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3945
|
+
localVarHeaderParameter = {};
|
|
3946
|
+
localVarQueryParameter = {};
|
|
3947
|
+
// authentication oauth2 required
|
|
3948
|
+
// oauth required
|
|
3949
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3950
|
+
case 1:
|
|
3951
|
+
// authentication oauth2 required
|
|
3952
|
+
// oauth required
|
|
3953
|
+
_a.sent();
|
|
3954
|
+
if (languageCode !== undefined) {
|
|
3955
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
3956
|
+
}
|
|
3957
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3958
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3959
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3960
|
+
return [2 /*return*/, {
|
|
3961
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3962
|
+
options: localVarRequestOptions,
|
|
3963
|
+
}];
|
|
3964
|
+
}
|
|
3965
|
+
});
|
|
3966
|
+
});
|
|
3967
|
+
},
|
|
3968
|
+
/**
|
|
3969
|
+
*
|
|
3970
|
+
* @summary Update notice
|
|
3971
|
+
* @param {string} hospitalId
|
|
3972
|
+
* @param {string} noticeId
|
|
3973
|
+
* @param {UpdateNoticeCommand} [updateNoticeCommand]
|
|
3974
|
+
* @param {*} [options] Override http request option.
|
|
3975
|
+
* @throws {RequiredError}
|
|
3976
|
+
*/
|
|
3977
|
+
apiV1HospitalsHospitalIdNoticesNoticeIdPut: function (hospitalId, noticeId, updateNoticeCommand, options) {
|
|
3978
|
+
if (options === void 0) { options = {}; }
|
|
3979
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3980
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3981
|
+
return __generator(this, function (_a) {
|
|
3982
|
+
switch (_a.label) {
|
|
3983
|
+
case 0:
|
|
3984
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3985
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesNoticeIdPut', 'hospitalId', hospitalId);
|
|
3986
|
+
// verify required parameter 'noticeId' is not null or undefined
|
|
3987
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesNoticeIdPut', 'noticeId', noticeId);
|
|
3988
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/notices/{noticeId}"
|
|
3989
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3990
|
+
.replace("{".concat("noticeId", "}"), encodeURIComponent(String(noticeId)));
|
|
3991
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3992
|
+
if (configuration) {
|
|
3993
|
+
baseOptions = configuration.baseOptions;
|
|
3994
|
+
}
|
|
3995
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
3996
|
+
localVarHeaderParameter = {};
|
|
3997
|
+
localVarQueryParameter = {};
|
|
3998
|
+
// authentication oauth2 required
|
|
3999
|
+
// oauth required
|
|
4000
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
4001
|
+
case 1:
|
|
4002
|
+
// authentication oauth2 required
|
|
4003
|
+
// oauth required
|
|
4004
|
+
_a.sent();
|
|
4005
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4006
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4007
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4008
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4009
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateNoticeCommand, localVarRequestOptions, configuration);
|
|
4010
|
+
return [2 /*return*/, {
|
|
4011
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4012
|
+
options: localVarRequestOptions,
|
|
4013
|
+
}];
|
|
4014
|
+
}
|
|
4015
|
+
});
|
|
4016
|
+
});
|
|
4017
|
+
},
|
|
4018
|
+
/**
|
|
4019
|
+
*
|
|
4020
|
+
* @summary Reactivate notice
|
|
4021
|
+
* @param {string} hospitalId
|
|
4022
|
+
* @param {string} noticeId
|
|
4023
|
+
* @param {*} [options] Override http request option.
|
|
4024
|
+
* @throws {RequiredError}
|
|
4025
|
+
*/
|
|
4026
|
+
apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut: function (hospitalId, noticeId, options) {
|
|
4027
|
+
if (options === void 0) { options = {}; }
|
|
4028
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
4029
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4030
|
+
return __generator(this, function (_a) {
|
|
4031
|
+
switch (_a.label) {
|
|
4032
|
+
case 0:
|
|
4033
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4034
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut', 'hospitalId', hospitalId);
|
|
4035
|
+
// verify required parameter 'noticeId' is not null or undefined
|
|
4036
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut', 'noticeId', noticeId);
|
|
4037
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/notices/{noticeId}/reactivate"
|
|
4038
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
4039
|
+
.replace("{".concat("noticeId", "}"), encodeURIComponent(String(noticeId)));
|
|
4040
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4041
|
+
if (configuration) {
|
|
4042
|
+
baseOptions = configuration.baseOptions;
|
|
4043
|
+
}
|
|
4044
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
4045
|
+
localVarHeaderParameter = {};
|
|
4046
|
+
localVarQueryParameter = {};
|
|
4047
|
+
// authentication oauth2 required
|
|
4048
|
+
// oauth required
|
|
4049
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
4050
|
+
case 1:
|
|
4051
|
+
// authentication oauth2 required
|
|
4052
|
+
// oauth required
|
|
4053
|
+
_a.sent();
|
|
4054
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4055
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4056
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4057
|
+
return [2 /*return*/, {
|
|
4058
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4059
|
+
options: localVarRequestOptions,
|
|
4060
|
+
}];
|
|
4061
|
+
}
|
|
4062
|
+
});
|
|
4063
|
+
});
|
|
4064
|
+
},
|
|
4065
|
+
/**
|
|
4066
|
+
*
|
|
4067
|
+
* @summary Create notice
|
|
4068
|
+
* @param {string} hospitalId
|
|
4069
|
+
* @param {CreateNoticeCommand} [createNoticeCommand]
|
|
4070
|
+
* @param {*} [options] Override http request option.
|
|
4071
|
+
* @throws {RequiredError}
|
|
4072
|
+
*/
|
|
4073
|
+
apiV1HospitalsHospitalIdNoticesPost: function (hospitalId, createNoticeCommand, options) {
|
|
4074
|
+
if (options === void 0) { options = {}; }
|
|
4075
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
4076
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4077
|
+
return __generator(this, function (_a) {
|
|
4078
|
+
switch (_a.label) {
|
|
4079
|
+
case 0:
|
|
4080
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4081
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesPost', 'hospitalId', hospitalId);
|
|
4082
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/notices"
|
|
4083
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
4084
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4085
|
+
if (configuration) {
|
|
4086
|
+
baseOptions = configuration.baseOptions;
|
|
4087
|
+
}
|
|
4088
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
4089
|
+
localVarHeaderParameter = {};
|
|
4090
|
+
localVarQueryParameter = {};
|
|
4091
|
+
// authentication oauth2 required
|
|
4092
|
+
// oauth required
|
|
4093
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
4094
|
+
case 1:
|
|
4095
|
+
// authentication oauth2 required
|
|
4096
|
+
// oauth required
|
|
4097
|
+
_a.sent();
|
|
4098
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4099
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4100
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4101
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4102
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createNoticeCommand, localVarRequestOptions, configuration);
|
|
4103
|
+
return [2 /*return*/, {
|
|
4104
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4105
|
+
options: localVarRequestOptions,
|
|
4106
|
+
}];
|
|
4107
|
+
}
|
|
4108
|
+
});
|
|
4109
|
+
});
|
|
4110
|
+
},
|
|
3785
4111
|
/**
|
|
3786
4112
|
*
|
|
3787
4113
|
* @summary Get hospitalPaymentMethods list
|
|
@@ -9554,6 +9880,143 @@ var HospitalsApiFp = function (configuration) {
|
|
|
9554
9880
|
});
|
|
9555
9881
|
});
|
|
9556
9882
|
},
|
|
9883
|
+
/**
|
|
9884
|
+
*
|
|
9885
|
+
* @summary Get notices
|
|
9886
|
+
* @param {string} hospitalId
|
|
9887
|
+
* @param {string} [id]
|
|
9888
|
+
* @param {string} [languageCode]
|
|
9889
|
+
* @param {string} [name]
|
|
9890
|
+
* @param {NoticeStatus} [status]
|
|
9891
|
+
* @param {boolean} [showHidden]
|
|
9892
|
+
* @param {number} [page]
|
|
9893
|
+
* @param {number} [limit]
|
|
9894
|
+
* @param {Date} [lastRetrieved]
|
|
9895
|
+
* @param {*} [options] Override http request option.
|
|
9896
|
+
* @throws {RequiredError}
|
|
9897
|
+
*/
|
|
9898
|
+
apiV1HospitalsHospitalIdNoticesGet: function (hospitalId, id, languageCode, name, status, showHidden, page, limit, lastRetrieved, options) {
|
|
9899
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9900
|
+
var localVarAxiosArgs;
|
|
9901
|
+
return __generator(this, function (_a) {
|
|
9902
|
+
switch (_a.label) {
|
|
9903
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdNoticesGet(hospitalId, id, languageCode, name, status, showHidden, page, limit, lastRetrieved, options)];
|
|
9904
|
+
case 1:
|
|
9905
|
+
localVarAxiosArgs = _a.sent();
|
|
9906
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
9907
|
+
}
|
|
9908
|
+
});
|
|
9909
|
+
});
|
|
9910
|
+
},
|
|
9911
|
+
/**
|
|
9912
|
+
*
|
|
9913
|
+
* @summary Delete notice
|
|
9914
|
+
* @param {string} hospitalId
|
|
9915
|
+
* @param {string} noticeId
|
|
9916
|
+
* @param {string} [languageCode]
|
|
9917
|
+
* @param {boolean} [isPermanent]
|
|
9918
|
+
* @param {*} [options] Override http request option.
|
|
9919
|
+
* @throws {RequiredError}
|
|
9920
|
+
*/
|
|
9921
|
+
apiV1HospitalsHospitalIdNoticesNoticeIdDelete: function (hospitalId, noticeId, languageCode, isPermanent, options) {
|
|
9922
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9923
|
+
var localVarAxiosArgs;
|
|
9924
|
+
return __generator(this, function (_a) {
|
|
9925
|
+
switch (_a.label) {
|
|
9926
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdNoticesNoticeIdDelete(hospitalId, noticeId, languageCode, isPermanent, options)];
|
|
9927
|
+
case 1:
|
|
9928
|
+
localVarAxiosArgs = _a.sent();
|
|
9929
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
9930
|
+
}
|
|
9931
|
+
});
|
|
9932
|
+
});
|
|
9933
|
+
},
|
|
9934
|
+
/**
|
|
9935
|
+
*
|
|
9936
|
+
* @summary Get notice by id
|
|
9937
|
+
* @param {string} hospitalId
|
|
9938
|
+
* @param {string} noticeId
|
|
9939
|
+
* @param {string} [languageCode]
|
|
9940
|
+
* @param {*} [options] Override http request option.
|
|
9941
|
+
* @throws {RequiredError}
|
|
9942
|
+
*/
|
|
9943
|
+
apiV1HospitalsHospitalIdNoticesNoticeIdGet: function (hospitalId, noticeId, languageCode, options) {
|
|
9944
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9945
|
+
var localVarAxiosArgs;
|
|
9946
|
+
return __generator(this, function (_a) {
|
|
9947
|
+
switch (_a.label) {
|
|
9948
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdNoticesNoticeIdGet(hospitalId, noticeId, languageCode, options)];
|
|
9949
|
+
case 1:
|
|
9950
|
+
localVarAxiosArgs = _a.sent();
|
|
9951
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
9952
|
+
}
|
|
9953
|
+
});
|
|
9954
|
+
});
|
|
9955
|
+
},
|
|
9956
|
+
/**
|
|
9957
|
+
*
|
|
9958
|
+
* @summary Update notice
|
|
9959
|
+
* @param {string} hospitalId
|
|
9960
|
+
* @param {string} noticeId
|
|
9961
|
+
* @param {UpdateNoticeCommand} [updateNoticeCommand]
|
|
9962
|
+
* @param {*} [options] Override http request option.
|
|
9963
|
+
* @throws {RequiredError}
|
|
9964
|
+
*/
|
|
9965
|
+
apiV1HospitalsHospitalIdNoticesNoticeIdPut: function (hospitalId, noticeId, updateNoticeCommand, options) {
|
|
9966
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9967
|
+
var localVarAxiosArgs;
|
|
9968
|
+
return __generator(this, function (_a) {
|
|
9969
|
+
switch (_a.label) {
|
|
9970
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdNoticesNoticeIdPut(hospitalId, noticeId, updateNoticeCommand, options)];
|
|
9971
|
+
case 1:
|
|
9972
|
+
localVarAxiosArgs = _a.sent();
|
|
9973
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
9974
|
+
}
|
|
9975
|
+
});
|
|
9976
|
+
});
|
|
9977
|
+
},
|
|
9978
|
+
/**
|
|
9979
|
+
*
|
|
9980
|
+
* @summary Reactivate notice
|
|
9981
|
+
* @param {string} hospitalId
|
|
9982
|
+
* @param {string} noticeId
|
|
9983
|
+
* @param {*} [options] Override http request option.
|
|
9984
|
+
* @throws {RequiredError}
|
|
9985
|
+
*/
|
|
9986
|
+
apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut: function (hospitalId, noticeId, options) {
|
|
9987
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9988
|
+
var localVarAxiosArgs;
|
|
9989
|
+
return __generator(this, function (_a) {
|
|
9990
|
+
switch (_a.label) {
|
|
9991
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut(hospitalId, noticeId, options)];
|
|
9992
|
+
case 1:
|
|
9993
|
+
localVarAxiosArgs = _a.sent();
|
|
9994
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
9995
|
+
}
|
|
9996
|
+
});
|
|
9997
|
+
});
|
|
9998
|
+
},
|
|
9999
|
+
/**
|
|
10000
|
+
*
|
|
10001
|
+
* @summary Create notice
|
|
10002
|
+
* @param {string} hospitalId
|
|
10003
|
+
* @param {CreateNoticeCommand} [createNoticeCommand]
|
|
10004
|
+
* @param {*} [options] Override http request option.
|
|
10005
|
+
* @throws {RequiredError}
|
|
10006
|
+
*/
|
|
10007
|
+
apiV1HospitalsHospitalIdNoticesPost: function (hospitalId, createNoticeCommand, options) {
|
|
10008
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
10009
|
+
var localVarAxiosArgs;
|
|
10010
|
+
return __generator(this, function (_a) {
|
|
10011
|
+
switch (_a.label) {
|
|
10012
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdNoticesPost(hospitalId, createNoticeCommand, options)];
|
|
10013
|
+
case 1:
|
|
10014
|
+
localVarAxiosArgs = _a.sent();
|
|
10015
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
10016
|
+
}
|
|
10017
|
+
});
|
|
10018
|
+
});
|
|
10019
|
+
},
|
|
9557
10020
|
/**
|
|
9558
10021
|
*
|
|
9559
10022
|
* @summary Get hospitalPaymentMethods list
|
|
@@ -12171,6 +12634,83 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12171
12634
|
apiV1HospitalsHospitalIdMediasPost: function (hospitalId, createMediaCommand, options) {
|
|
12172
12635
|
return localVarFp.apiV1HospitalsHospitalIdMediasPost(hospitalId, createMediaCommand, options).then(function (request) { return request(axios, basePath); });
|
|
12173
12636
|
},
|
|
12637
|
+
/**
|
|
12638
|
+
*
|
|
12639
|
+
* @summary Get notices
|
|
12640
|
+
* @param {string} hospitalId
|
|
12641
|
+
* @param {string} [id]
|
|
12642
|
+
* @param {string} [languageCode]
|
|
12643
|
+
* @param {string} [name]
|
|
12644
|
+
* @param {NoticeStatus} [status]
|
|
12645
|
+
* @param {boolean} [showHidden]
|
|
12646
|
+
* @param {number} [page]
|
|
12647
|
+
* @param {number} [limit]
|
|
12648
|
+
* @param {Date} [lastRetrieved]
|
|
12649
|
+
* @param {*} [options] Override http request option.
|
|
12650
|
+
* @throws {RequiredError}
|
|
12651
|
+
*/
|
|
12652
|
+
apiV1HospitalsHospitalIdNoticesGet: function (hospitalId, id, languageCode, name, status, showHidden, page, limit, lastRetrieved, options) {
|
|
12653
|
+
return localVarFp.apiV1HospitalsHospitalIdNoticesGet(hospitalId, id, languageCode, name, status, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12654
|
+
},
|
|
12655
|
+
/**
|
|
12656
|
+
*
|
|
12657
|
+
* @summary Delete notice
|
|
12658
|
+
* @param {string} hospitalId
|
|
12659
|
+
* @param {string} noticeId
|
|
12660
|
+
* @param {string} [languageCode]
|
|
12661
|
+
* @param {boolean} [isPermanent]
|
|
12662
|
+
* @param {*} [options] Override http request option.
|
|
12663
|
+
* @throws {RequiredError}
|
|
12664
|
+
*/
|
|
12665
|
+
apiV1HospitalsHospitalIdNoticesNoticeIdDelete: function (hospitalId, noticeId, languageCode, isPermanent, options) {
|
|
12666
|
+
return localVarFp.apiV1HospitalsHospitalIdNoticesNoticeIdDelete(hospitalId, noticeId, languageCode, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
12667
|
+
},
|
|
12668
|
+
/**
|
|
12669
|
+
*
|
|
12670
|
+
* @summary Get notice by id
|
|
12671
|
+
* @param {string} hospitalId
|
|
12672
|
+
* @param {string} noticeId
|
|
12673
|
+
* @param {string} [languageCode]
|
|
12674
|
+
* @param {*} [options] Override http request option.
|
|
12675
|
+
* @throws {RequiredError}
|
|
12676
|
+
*/
|
|
12677
|
+
apiV1HospitalsHospitalIdNoticesNoticeIdGet: function (hospitalId, noticeId, languageCode, options) {
|
|
12678
|
+
return localVarFp.apiV1HospitalsHospitalIdNoticesNoticeIdGet(hospitalId, noticeId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
12679
|
+
},
|
|
12680
|
+
/**
|
|
12681
|
+
*
|
|
12682
|
+
* @summary Update notice
|
|
12683
|
+
* @param {string} hospitalId
|
|
12684
|
+
* @param {string} noticeId
|
|
12685
|
+
* @param {UpdateNoticeCommand} [updateNoticeCommand]
|
|
12686
|
+
* @param {*} [options] Override http request option.
|
|
12687
|
+
* @throws {RequiredError}
|
|
12688
|
+
*/
|
|
12689
|
+
apiV1HospitalsHospitalIdNoticesNoticeIdPut: function (hospitalId, noticeId, updateNoticeCommand, options) {
|
|
12690
|
+
return localVarFp.apiV1HospitalsHospitalIdNoticesNoticeIdPut(hospitalId, noticeId, updateNoticeCommand, options).then(function (request) { return request(axios, basePath); });
|
|
12691
|
+
},
|
|
12692
|
+
/**
|
|
12693
|
+
*
|
|
12694
|
+
* @summary Reactivate notice
|
|
12695
|
+
* @param {string} hospitalId
|
|
12696
|
+
* @param {string} noticeId
|
|
12697
|
+
* @param {*} [options] Override http request option.
|
|
12698
|
+
* @throws {RequiredError}
|
|
12699
|
+
*/
|
|
12700
|
+
apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut: function (hospitalId, noticeId, options) {
|
|
12701
|
+
return localVarFp.apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut(hospitalId, noticeId, options).then(function (request) { return request(axios, basePath); });
|
|
12702
|
+
},
|
|
12703
|
+
/**
|
|
12704
|
+
*
|
|
12705
|
+
* @summary Create notice
|
|
12706
|
+
* @param {string} hospitalId
|
|
12707
|
+
* @param {CreateNoticeCommand} [createNoticeCommand]
|
|
12708
|
+
* @param {*} [options] Override http request option.
|
|
12709
|
+
* @throws {RequiredError}
|
|
12710
|
+
*/
|
|
12711
|
+
apiV1HospitalsHospitalIdNoticesPost: function (hospitalId, createNoticeCommand, options) {
|
|
12712
|
+
return localVarFp.apiV1HospitalsHospitalIdNoticesPost(hospitalId, createNoticeCommand, options).then(function (request) { return request(axios, basePath); });
|
|
12713
|
+
},
|
|
12174
12714
|
/**
|
|
12175
12715
|
*
|
|
12176
12716
|
* @summary Get hospitalPaymentMethods list
|
|
@@ -14004,6 +14544,78 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
14004
14544
|
var _this = this;
|
|
14005
14545
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdMediasPost(requestParameters.hospitalId, requestParameters.createMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14006
14546
|
};
|
|
14547
|
+
/**
|
|
14548
|
+
*
|
|
14549
|
+
* @summary Get notices
|
|
14550
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdNoticesGetRequest} requestParameters Request parameters.
|
|
14551
|
+
* @param {*} [options] Override http request option.
|
|
14552
|
+
* @throws {RequiredError}
|
|
14553
|
+
* @memberof HospitalsApi
|
|
14554
|
+
*/
|
|
14555
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdNoticesGet = function (requestParameters, options) {
|
|
14556
|
+
var _this = this;
|
|
14557
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdNoticesGet(requestParameters.hospitalId, requestParameters.id, requestParameters.languageCode, requestParameters.name, requestParameters.status, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14558
|
+
};
|
|
14559
|
+
/**
|
|
14560
|
+
*
|
|
14561
|
+
* @summary Delete notice
|
|
14562
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdDeleteRequest} requestParameters Request parameters.
|
|
14563
|
+
* @param {*} [options] Override http request option.
|
|
14564
|
+
* @throws {RequiredError}
|
|
14565
|
+
* @memberof HospitalsApi
|
|
14566
|
+
*/
|
|
14567
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdNoticesNoticeIdDelete = function (requestParameters, options) {
|
|
14568
|
+
var _this = this;
|
|
14569
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdNoticesNoticeIdDelete(requestParameters.hospitalId, requestParameters.noticeId, requestParameters.languageCode, requestParameters.isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14570
|
+
};
|
|
14571
|
+
/**
|
|
14572
|
+
*
|
|
14573
|
+
* @summary Get notice by id
|
|
14574
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdGetRequest} requestParameters Request parameters.
|
|
14575
|
+
* @param {*} [options] Override http request option.
|
|
14576
|
+
* @throws {RequiredError}
|
|
14577
|
+
* @memberof HospitalsApi
|
|
14578
|
+
*/
|
|
14579
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdNoticesNoticeIdGet = function (requestParameters, options) {
|
|
14580
|
+
var _this = this;
|
|
14581
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdNoticesNoticeIdGet(requestParameters.hospitalId, requestParameters.noticeId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14582
|
+
};
|
|
14583
|
+
/**
|
|
14584
|
+
*
|
|
14585
|
+
* @summary Update notice
|
|
14586
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdPutRequest} requestParameters Request parameters.
|
|
14587
|
+
* @param {*} [options] Override http request option.
|
|
14588
|
+
* @throws {RequiredError}
|
|
14589
|
+
* @memberof HospitalsApi
|
|
14590
|
+
*/
|
|
14591
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdNoticesNoticeIdPut = function (requestParameters, options) {
|
|
14592
|
+
var _this = this;
|
|
14593
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdNoticesNoticeIdPut(requestParameters.hospitalId, requestParameters.noticeId, requestParameters.updateNoticeCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14594
|
+
};
|
|
14595
|
+
/**
|
|
14596
|
+
*
|
|
14597
|
+
* @summary Reactivate notice
|
|
14598
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdNoticesNoticeIdReactivatePutRequest} requestParameters Request parameters.
|
|
14599
|
+
* @param {*} [options] Override http request option.
|
|
14600
|
+
* @throws {RequiredError}
|
|
14601
|
+
* @memberof HospitalsApi
|
|
14602
|
+
*/
|
|
14603
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut = function (requestParameters, options) {
|
|
14604
|
+
var _this = this;
|
|
14605
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut(requestParameters.hospitalId, requestParameters.noticeId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14606
|
+
};
|
|
14607
|
+
/**
|
|
14608
|
+
*
|
|
14609
|
+
* @summary Create notice
|
|
14610
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdNoticesPostRequest} requestParameters Request parameters.
|
|
14611
|
+
* @param {*} [options] Override http request option.
|
|
14612
|
+
* @throws {RequiredError}
|
|
14613
|
+
* @memberof HospitalsApi
|
|
14614
|
+
*/
|
|
14615
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdNoticesPost = function (requestParameters, options) {
|
|
14616
|
+
var _this = this;
|
|
14617
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdNoticesPost(requestParameters.hospitalId, requestParameters.createNoticeCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14618
|
+
};
|
|
14007
14619
|
/**
|
|
14008
14620
|
*
|
|
14009
14621
|
* @summary Get hospitalPaymentMethods list
|