ch-admin-api-client-typescript 5.2.4 → 5.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/hospitals-api.d.ts +875 -28
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +1338 -72
- package/lib/api/survey-results-api.d.ts +12 -3
- package/lib/api/survey-results-api.d.ts.map +1 -1
- package/lib/api/survey-results-api.js +12 -6
- package/lib/models/create-policy-command.d.ts +74 -0
- package/lib/models/create-policy-command.d.ts.map +1 -0
- package/lib/models/create-policy-command.js +15 -0
- package/lib/models/footer-navigation-item-model.d.ts +61 -0
- package/lib/models/footer-navigation-item-model.d.ts.map +1 -0
- package/lib/models/footer-navigation-item-model.js +15 -0
- package/lib/models/index.d.ts +8 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +8 -0
- package/lib/models/policies-model.d.ts +33 -0
- package/lib/models/policies-model.d.ts.map +1 -0
- package/lib/models/policies-model.js +15 -0
- package/lib/models/policy-item-model.d.ts +68 -0
- package/lib/models/policy-item-model.d.ts.map +1 -0
- package/lib/models/policy-item-model.js +15 -0
- package/lib/models/policy-model.d.ts +124 -0
- package/lib/models/policy-model.d.ts.map +1 -0
- package/lib/models/policy-model.js +15 -0
- package/lib/models/save-footer-navigation-item-model.d.ts +49 -0
- package/lib/models/save-footer-navigation-item-model.d.ts.map +1 -0
- package/lib/models/save-footer-navigation-item-model.js +15 -0
- package/lib/models/save-footer-navigations-command.d.ts +26 -0
- package/lib/models/save-footer-navigations-command.d.ts.map +1 -0
- package/lib/models/save-footer-navigations-command.js +15 -0
- package/lib/models/update-policy-command.d.ts +80 -0
- package/lib/models/update-policy-command.d.ts.map +1 -0
- package/lib/models/update-policy-command.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +8 -0
- package/src/api/hospitals-api.ts +1592 -112
- package/src/api/survey-results-api.ts +20 -6
- package/src/models/create-policy-command.ts +81 -0
- package/src/models/footer-navigation-item-model.ts +66 -0
- package/src/models/index.ts +8 -0
- package/src/models/policies-model.ts +42 -0
- package/src/models/policy-item-model.ts +75 -0
- package/src/models/policy-model.ts +135 -0
- package/src/models/save-footer-navigation-item-model.ts +54 -0
- package/src/models/save-footer-navigations-command.ts +33 -0
- package/src/models/update-policy-command.ts +87 -0
package/lib/api/hospitals-api.js
CHANGED
|
@@ -1756,6 +1756,256 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
1756
1756
|
});
|
|
1757
1757
|
});
|
|
1758
1758
|
},
|
|
1759
|
+
/**
|
|
1760
|
+
*
|
|
1761
|
+
* @summary Get footerNavigationItems
|
|
1762
|
+
* @param {string} hospitalId
|
|
1763
|
+
* @param {string} languageCode
|
|
1764
|
+
* @param {*} [options] Override http request option.
|
|
1765
|
+
* @throws {RequiredError}
|
|
1766
|
+
*/
|
|
1767
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodeGet: function (hospitalId, languageCode, options) {
|
|
1768
|
+
if (options === void 0) { options = {}; }
|
|
1769
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1770
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1771
|
+
return __generator(this, function (_a) {
|
|
1772
|
+
switch (_a.label) {
|
|
1773
|
+
case 0:
|
|
1774
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
1775
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdFooternavigationsLanguageCodeGet', 'hospitalId', hospitalId);
|
|
1776
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
1777
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdFooternavigationsLanguageCodeGet', 'languageCode', languageCode);
|
|
1778
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/footernavigations/{languageCode}"
|
|
1779
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
1780
|
+
.replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)));
|
|
1781
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1782
|
+
if (configuration) {
|
|
1783
|
+
baseOptions = configuration.baseOptions;
|
|
1784
|
+
}
|
|
1785
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1786
|
+
localVarHeaderParameter = {};
|
|
1787
|
+
localVarQueryParameter = {};
|
|
1788
|
+
// authentication oauth2 required
|
|
1789
|
+
// oauth required
|
|
1790
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
1791
|
+
case 1:
|
|
1792
|
+
// authentication oauth2 required
|
|
1793
|
+
// oauth required
|
|
1794
|
+
_a.sent();
|
|
1795
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1796
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1797
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1798
|
+
return [2 /*return*/, {
|
|
1799
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1800
|
+
options: localVarRequestOptions,
|
|
1801
|
+
}];
|
|
1802
|
+
}
|
|
1803
|
+
});
|
|
1804
|
+
});
|
|
1805
|
+
},
|
|
1806
|
+
/**
|
|
1807
|
+
*
|
|
1808
|
+
* @summary Delete footerNavigationItem
|
|
1809
|
+
* @param {string} hospitalId
|
|
1810
|
+
* @param {string} languageCode
|
|
1811
|
+
* @param {string} id
|
|
1812
|
+
* @param {*} [options] Override http request option.
|
|
1813
|
+
* @throws {RequiredError}
|
|
1814
|
+
*/
|
|
1815
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdDelete: function (hospitalId, languageCode, id, options) {
|
|
1816
|
+
if (options === void 0) { options = {}; }
|
|
1817
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1818
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1819
|
+
return __generator(this, function (_a) {
|
|
1820
|
+
switch (_a.label) {
|
|
1821
|
+
case 0:
|
|
1822
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
1823
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdDelete', 'hospitalId', hospitalId);
|
|
1824
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
1825
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdDelete', 'languageCode', languageCode);
|
|
1826
|
+
// verify required parameter 'id' is not null or undefined
|
|
1827
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdDelete', 'id', id);
|
|
1828
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/footernavigations/{languageCode}/{id}"
|
|
1829
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
1830
|
+
.replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)))
|
|
1831
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
1832
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1833
|
+
if (configuration) {
|
|
1834
|
+
baseOptions = configuration.baseOptions;
|
|
1835
|
+
}
|
|
1836
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
1837
|
+
localVarHeaderParameter = {};
|
|
1838
|
+
localVarQueryParameter = {};
|
|
1839
|
+
// authentication oauth2 required
|
|
1840
|
+
// oauth required
|
|
1841
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
1842
|
+
case 1:
|
|
1843
|
+
// authentication oauth2 required
|
|
1844
|
+
// oauth required
|
|
1845
|
+
_a.sent();
|
|
1846
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1847
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1848
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1849
|
+
return [2 /*return*/, {
|
|
1850
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1851
|
+
options: localVarRequestOptions,
|
|
1852
|
+
}];
|
|
1853
|
+
}
|
|
1854
|
+
});
|
|
1855
|
+
});
|
|
1856
|
+
},
|
|
1857
|
+
/**
|
|
1858
|
+
*
|
|
1859
|
+
* @summary Get footerNavigationItem by Id
|
|
1860
|
+
* @param {string} hospitalId
|
|
1861
|
+
* @param {string} languageCode
|
|
1862
|
+
* @param {string} id
|
|
1863
|
+
* @param {*} [options] Override http request option.
|
|
1864
|
+
* @throws {RequiredError}
|
|
1865
|
+
*/
|
|
1866
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdGet: function (hospitalId, languageCode, id, options) {
|
|
1867
|
+
if (options === void 0) { options = {}; }
|
|
1868
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1869
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1870
|
+
return __generator(this, function (_a) {
|
|
1871
|
+
switch (_a.label) {
|
|
1872
|
+
case 0:
|
|
1873
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
1874
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdGet', 'hospitalId', hospitalId);
|
|
1875
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
1876
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdGet', 'languageCode', languageCode);
|
|
1877
|
+
// verify required parameter 'id' is not null or undefined
|
|
1878
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdGet', 'id', id);
|
|
1879
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/footernavigations/{languageCode}/{id}"
|
|
1880
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
1881
|
+
.replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)))
|
|
1882
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
1883
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1884
|
+
if (configuration) {
|
|
1885
|
+
baseOptions = configuration.baseOptions;
|
|
1886
|
+
}
|
|
1887
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1888
|
+
localVarHeaderParameter = {};
|
|
1889
|
+
localVarQueryParameter = {};
|
|
1890
|
+
// authentication oauth2 required
|
|
1891
|
+
// oauth required
|
|
1892
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
1893
|
+
case 1:
|
|
1894
|
+
// authentication oauth2 required
|
|
1895
|
+
// oauth required
|
|
1896
|
+
_a.sent();
|
|
1897
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1898
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1899
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1900
|
+
return [2 /*return*/, {
|
|
1901
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1902
|
+
options: localVarRequestOptions,
|
|
1903
|
+
}];
|
|
1904
|
+
}
|
|
1905
|
+
});
|
|
1906
|
+
});
|
|
1907
|
+
},
|
|
1908
|
+
/**
|
|
1909
|
+
*
|
|
1910
|
+
* @summary Get footerNavigationItems by ParentId
|
|
1911
|
+
* @param {string} hospitalId
|
|
1912
|
+
* @param {string} languageCode
|
|
1913
|
+
* @param {string} parentId
|
|
1914
|
+
* @param {*} [options] Override http request option.
|
|
1915
|
+
* @throws {RequiredError}
|
|
1916
|
+
*/
|
|
1917
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodeParentIdSubitemsGet: function (hospitalId, languageCode, parentId, options) {
|
|
1918
|
+
if (options === void 0) { options = {}; }
|
|
1919
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1920
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1921
|
+
return __generator(this, function (_a) {
|
|
1922
|
+
switch (_a.label) {
|
|
1923
|
+
case 0:
|
|
1924
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
1925
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdFooternavigationsLanguageCodeParentIdSubitemsGet', 'hospitalId', hospitalId);
|
|
1926
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
1927
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdFooternavigationsLanguageCodeParentIdSubitemsGet', 'languageCode', languageCode);
|
|
1928
|
+
// verify required parameter 'parentId' is not null or undefined
|
|
1929
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdFooternavigationsLanguageCodeParentIdSubitemsGet', 'parentId', parentId);
|
|
1930
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/footernavigations/{languageCode}/{parentId}/subitems"
|
|
1931
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
1932
|
+
.replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)))
|
|
1933
|
+
.replace("{".concat("parentId", "}"), encodeURIComponent(String(parentId)));
|
|
1934
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1935
|
+
if (configuration) {
|
|
1936
|
+
baseOptions = configuration.baseOptions;
|
|
1937
|
+
}
|
|
1938
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1939
|
+
localVarHeaderParameter = {};
|
|
1940
|
+
localVarQueryParameter = {};
|
|
1941
|
+
// authentication oauth2 required
|
|
1942
|
+
// oauth required
|
|
1943
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
1944
|
+
case 1:
|
|
1945
|
+
// authentication oauth2 required
|
|
1946
|
+
// oauth required
|
|
1947
|
+
_a.sent();
|
|
1948
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1949
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1950
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1951
|
+
return [2 /*return*/, {
|
|
1952
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1953
|
+
options: localVarRequestOptions,
|
|
1954
|
+
}];
|
|
1955
|
+
}
|
|
1956
|
+
});
|
|
1957
|
+
});
|
|
1958
|
+
},
|
|
1959
|
+
/**
|
|
1960
|
+
*
|
|
1961
|
+
* @summary Save footerNavigationItem
|
|
1962
|
+
* @param {string} hospitalId
|
|
1963
|
+
* @param {string} languageCode
|
|
1964
|
+
* @param {SaveFooterNavigationsCommand} [saveFooterNavigationsCommand]
|
|
1965
|
+
* @param {*} [options] Override http request option.
|
|
1966
|
+
* @throws {RequiredError}
|
|
1967
|
+
*/
|
|
1968
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodePost: function (hospitalId, languageCode, saveFooterNavigationsCommand, options) {
|
|
1969
|
+
if (options === void 0) { options = {}; }
|
|
1970
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1971
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1972
|
+
return __generator(this, function (_a) {
|
|
1973
|
+
switch (_a.label) {
|
|
1974
|
+
case 0:
|
|
1975
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
1976
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdFooternavigationsLanguageCodePost', 'hospitalId', hospitalId);
|
|
1977
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
1978
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdFooternavigationsLanguageCodePost', 'languageCode', languageCode);
|
|
1979
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/footernavigations/{languageCode}"
|
|
1980
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
1981
|
+
.replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)));
|
|
1982
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1983
|
+
if (configuration) {
|
|
1984
|
+
baseOptions = configuration.baseOptions;
|
|
1985
|
+
}
|
|
1986
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1987
|
+
localVarHeaderParameter = {};
|
|
1988
|
+
localVarQueryParameter = {};
|
|
1989
|
+
// authentication oauth2 required
|
|
1990
|
+
// oauth required
|
|
1991
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
1992
|
+
case 1:
|
|
1993
|
+
// authentication oauth2 required
|
|
1994
|
+
// oauth required
|
|
1995
|
+
_a.sent();
|
|
1996
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1997
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1998
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1999
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2000
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(saveFooterNavigationsCommand, localVarRequestOptions, configuration);
|
|
2001
|
+
return [2 /*return*/, {
|
|
2002
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2003
|
+
options: localVarRequestOptions,
|
|
2004
|
+
}];
|
|
2005
|
+
}
|
|
2006
|
+
});
|
|
2007
|
+
});
|
|
2008
|
+
},
|
|
1759
2009
|
/**
|
|
1760
2010
|
*
|
|
1761
2011
|
* @summary Get Hospital.
|
|
@@ -2900,13 +3150,19 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2900
3150
|
},
|
|
2901
3151
|
/**
|
|
2902
3152
|
*
|
|
2903
|
-
* @summary
|
|
3153
|
+
* @summary Get all policies
|
|
2904
3154
|
* @param {string} hospitalId
|
|
2905
|
-
* @param {
|
|
3155
|
+
* @param {string} [name]
|
|
3156
|
+
* @param {string} [slug]
|
|
3157
|
+
* @param {string} [languageCode]
|
|
3158
|
+
* @param {boolean} [showHidden]
|
|
3159
|
+
* @param {number} [page]
|
|
3160
|
+
* @param {number} [limit]
|
|
3161
|
+
* @param {Date} [lastRetrieved]
|
|
2906
3162
|
* @param {*} [options] Override http request option.
|
|
2907
3163
|
* @throws {RequiredError}
|
|
2908
3164
|
*/
|
|
2909
|
-
|
|
3165
|
+
apiV1HospitalsHospitalIdPoliciesGet: function (hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
2910
3166
|
if (options === void 0) { options = {}; }
|
|
2911
3167
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2912
3168
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2914,14 +3170,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2914
3170
|
switch (_a.label) {
|
|
2915
3171
|
case 0:
|
|
2916
3172
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
2917
|
-
(0, common_1.assertParamExists)('
|
|
2918
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}"
|
|
3173
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesGet', 'hospitalId', hospitalId);
|
|
3174
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/policies"
|
|
2919
3175
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
2920
3176
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2921
3177
|
if (configuration) {
|
|
2922
3178
|
baseOptions = configuration.baseOptions;
|
|
2923
3179
|
}
|
|
2924
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
3180
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
2925
3181
|
localVarHeaderParameter = {};
|
|
2926
3182
|
localVarQueryParameter = {};
|
|
2927
3183
|
// authentication oauth2 required
|
|
@@ -2931,11 +3187,32 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2931
3187
|
// authentication oauth2 required
|
|
2932
3188
|
// oauth required
|
|
2933
3189
|
_a.sent();
|
|
2934
|
-
|
|
3190
|
+
if (name !== undefined) {
|
|
3191
|
+
localVarQueryParameter['Name'] = name;
|
|
3192
|
+
}
|
|
3193
|
+
if (slug !== undefined) {
|
|
3194
|
+
localVarQueryParameter['Slug'] = slug;
|
|
3195
|
+
}
|
|
3196
|
+
if (languageCode !== undefined) {
|
|
3197
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
3198
|
+
}
|
|
3199
|
+
if (showHidden !== undefined) {
|
|
3200
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
3201
|
+
}
|
|
3202
|
+
if (page !== undefined) {
|
|
3203
|
+
localVarQueryParameter['page'] = page;
|
|
3204
|
+
}
|
|
3205
|
+
if (limit !== undefined) {
|
|
3206
|
+
localVarQueryParameter['limit'] = limit;
|
|
3207
|
+
}
|
|
3208
|
+
if (lastRetrieved !== undefined) {
|
|
3209
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
3210
|
+
lastRetrieved.toISOString() :
|
|
3211
|
+
lastRetrieved;
|
|
3212
|
+
}
|
|
2935
3213
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2936
3214
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2937
3215
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2938
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateHospitalCommand, localVarRequestOptions, configuration);
|
|
2939
3216
|
return [2 /*return*/, {
|
|
2940
3217
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2941
3218
|
options: localVarRequestOptions,
|
|
@@ -2946,12 +3223,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2946
3223
|
},
|
|
2947
3224
|
/**
|
|
2948
3225
|
*
|
|
2949
|
-
* @summary Delete
|
|
3226
|
+
* @summary Delete policy
|
|
2950
3227
|
* @param {string} hospitalId
|
|
3228
|
+
* @param {string} policyId
|
|
3229
|
+
* @param {boolean} [isPermanent]
|
|
2951
3230
|
* @param {*} [options] Override http request option.
|
|
2952
3231
|
* @throws {RequiredError}
|
|
2953
3232
|
*/
|
|
2954
|
-
|
|
3233
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdDelete: function (hospitalId, policyId, isPermanent, options) {
|
|
2955
3234
|
if (options === void 0) { options = {}; }
|
|
2956
3235
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2957
3236
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2959,14 +3238,303 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2959
3238
|
switch (_a.label) {
|
|
2960
3239
|
case 0:
|
|
2961
3240
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
2962
|
-
(0, common_1.assertParamExists)('
|
|
2963
|
-
|
|
2964
|
-
|
|
3241
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPolicyIdDelete', 'hospitalId', hospitalId);
|
|
3242
|
+
// verify required parameter 'policyId' is not null or undefined
|
|
3243
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPolicyIdDelete', 'policyId', policyId);
|
|
3244
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/policies/{policyId}"
|
|
3245
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3246
|
+
.replace("{".concat("policyId", "}"), encodeURIComponent(String(policyId)));
|
|
2965
3247
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2966
3248
|
if (configuration) {
|
|
2967
3249
|
baseOptions = configuration.baseOptions;
|
|
2968
3250
|
}
|
|
2969
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
3251
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
3252
|
+
localVarHeaderParameter = {};
|
|
3253
|
+
localVarQueryParameter = {};
|
|
3254
|
+
// authentication oauth2 required
|
|
3255
|
+
// oauth required
|
|
3256
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3257
|
+
case 1:
|
|
3258
|
+
// authentication oauth2 required
|
|
3259
|
+
// oauth required
|
|
3260
|
+
_a.sent();
|
|
3261
|
+
if (isPermanent !== undefined) {
|
|
3262
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
3263
|
+
}
|
|
3264
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3265
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3266
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3267
|
+
return [2 /*return*/, {
|
|
3268
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3269
|
+
options: localVarRequestOptions,
|
|
3270
|
+
}];
|
|
3271
|
+
}
|
|
3272
|
+
});
|
|
3273
|
+
});
|
|
3274
|
+
},
|
|
3275
|
+
/**
|
|
3276
|
+
*
|
|
3277
|
+
* @summary Get policy
|
|
3278
|
+
* @param {string} hospitalId
|
|
3279
|
+
* @param {string} policyId
|
|
3280
|
+
* @param {string} [languageCode]
|
|
3281
|
+
* @param {*} [options] Override http request option.
|
|
3282
|
+
* @throws {RequiredError}
|
|
3283
|
+
*/
|
|
3284
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdGet: function (hospitalId, policyId, languageCode, options) {
|
|
3285
|
+
if (options === void 0) { options = {}; }
|
|
3286
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3287
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3288
|
+
return __generator(this, function (_a) {
|
|
3289
|
+
switch (_a.label) {
|
|
3290
|
+
case 0:
|
|
3291
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3292
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPolicyIdGet', 'hospitalId', hospitalId);
|
|
3293
|
+
// verify required parameter 'policyId' is not null or undefined
|
|
3294
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPolicyIdGet', 'policyId', policyId);
|
|
3295
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/policies/{policyId}"
|
|
3296
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3297
|
+
.replace("{".concat("policyId", "}"), encodeURIComponent(String(policyId)));
|
|
3298
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3299
|
+
if (configuration) {
|
|
3300
|
+
baseOptions = configuration.baseOptions;
|
|
3301
|
+
}
|
|
3302
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3303
|
+
localVarHeaderParameter = {};
|
|
3304
|
+
localVarQueryParameter = {};
|
|
3305
|
+
// authentication oauth2 required
|
|
3306
|
+
// oauth required
|
|
3307
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3308
|
+
case 1:
|
|
3309
|
+
// authentication oauth2 required
|
|
3310
|
+
// oauth required
|
|
3311
|
+
_a.sent();
|
|
3312
|
+
if (languageCode !== undefined) {
|
|
3313
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
3314
|
+
}
|
|
3315
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3316
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3317
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3318
|
+
return [2 /*return*/, {
|
|
3319
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3320
|
+
options: localVarRequestOptions,
|
|
3321
|
+
}];
|
|
3322
|
+
}
|
|
3323
|
+
});
|
|
3324
|
+
});
|
|
3325
|
+
},
|
|
3326
|
+
/**
|
|
3327
|
+
*
|
|
3328
|
+
* @summary Update policy
|
|
3329
|
+
* @param {string} hospitalId
|
|
3330
|
+
* @param {string} policyId
|
|
3331
|
+
* @param {UpdatePolicyCommand} [updatePolicyCommand]
|
|
3332
|
+
* @param {*} [options] Override http request option.
|
|
3333
|
+
* @throws {RequiredError}
|
|
3334
|
+
*/
|
|
3335
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdPut: function (hospitalId, policyId, updatePolicyCommand, options) {
|
|
3336
|
+
if (options === void 0) { options = {}; }
|
|
3337
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3338
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3339
|
+
return __generator(this, function (_a) {
|
|
3340
|
+
switch (_a.label) {
|
|
3341
|
+
case 0:
|
|
3342
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3343
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPolicyIdPut', 'hospitalId', hospitalId);
|
|
3344
|
+
// verify required parameter 'policyId' is not null or undefined
|
|
3345
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPolicyIdPut', 'policyId', policyId);
|
|
3346
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/policies/{policyId}"
|
|
3347
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3348
|
+
.replace("{".concat("policyId", "}"), encodeURIComponent(String(policyId)));
|
|
3349
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3350
|
+
if (configuration) {
|
|
3351
|
+
baseOptions = configuration.baseOptions;
|
|
3352
|
+
}
|
|
3353
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
3354
|
+
localVarHeaderParameter = {};
|
|
3355
|
+
localVarQueryParameter = {};
|
|
3356
|
+
// authentication oauth2 required
|
|
3357
|
+
// oauth required
|
|
3358
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3359
|
+
case 1:
|
|
3360
|
+
// authentication oauth2 required
|
|
3361
|
+
// oauth required
|
|
3362
|
+
_a.sent();
|
|
3363
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3364
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3365
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3366
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3367
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updatePolicyCommand, localVarRequestOptions, configuration);
|
|
3368
|
+
return [2 /*return*/, {
|
|
3369
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3370
|
+
options: localVarRequestOptions,
|
|
3371
|
+
}];
|
|
3372
|
+
}
|
|
3373
|
+
});
|
|
3374
|
+
});
|
|
3375
|
+
},
|
|
3376
|
+
/**
|
|
3377
|
+
*
|
|
3378
|
+
* @summary Reactive policy
|
|
3379
|
+
* @param {string} hospitalId
|
|
3380
|
+
* @param {string} policyId
|
|
3381
|
+
* @param {*} [options] Override http request option.
|
|
3382
|
+
* @throws {RequiredError}
|
|
3383
|
+
*/
|
|
3384
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdReactivePut: function (hospitalId, policyId, options) {
|
|
3385
|
+
if (options === void 0) { options = {}; }
|
|
3386
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3387
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3388
|
+
return __generator(this, function (_a) {
|
|
3389
|
+
switch (_a.label) {
|
|
3390
|
+
case 0:
|
|
3391
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3392
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPolicyIdReactivePut', 'hospitalId', hospitalId);
|
|
3393
|
+
// verify required parameter 'policyId' is not null or undefined
|
|
3394
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPolicyIdReactivePut', 'policyId', policyId);
|
|
3395
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/policies/{policyId}/reactive"
|
|
3396
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3397
|
+
.replace("{".concat("policyId", "}"), encodeURIComponent(String(policyId)));
|
|
3398
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3399
|
+
if (configuration) {
|
|
3400
|
+
baseOptions = configuration.baseOptions;
|
|
3401
|
+
}
|
|
3402
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
3403
|
+
localVarHeaderParameter = {};
|
|
3404
|
+
localVarQueryParameter = {};
|
|
3405
|
+
// authentication oauth2 required
|
|
3406
|
+
// oauth required
|
|
3407
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3408
|
+
case 1:
|
|
3409
|
+
// authentication oauth2 required
|
|
3410
|
+
// oauth required
|
|
3411
|
+
_a.sent();
|
|
3412
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3413
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3414
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3415
|
+
return [2 /*return*/, {
|
|
3416
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3417
|
+
options: localVarRequestOptions,
|
|
3418
|
+
}];
|
|
3419
|
+
}
|
|
3420
|
+
});
|
|
3421
|
+
});
|
|
3422
|
+
},
|
|
3423
|
+
/**
|
|
3424
|
+
*
|
|
3425
|
+
* @summary Create policy
|
|
3426
|
+
* @param {string} hospitalId
|
|
3427
|
+
* @param {CreatePolicyCommand} [createPolicyCommand]
|
|
3428
|
+
* @param {*} [options] Override http request option.
|
|
3429
|
+
* @throws {RequiredError}
|
|
3430
|
+
*/
|
|
3431
|
+
apiV1HospitalsHospitalIdPoliciesPost: function (hospitalId, createPolicyCommand, options) {
|
|
3432
|
+
if (options === void 0) { options = {}; }
|
|
3433
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3434
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3435
|
+
return __generator(this, function (_a) {
|
|
3436
|
+
switch (_a.label) {
|
|
3437
|
+
case 0:
|
|
3438
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3439
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPost', 'hospitalId', hospitalId);
|
|
3440
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/policies"
|
|
3441
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
3442
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3443
|
+
if (configuration) {
|
|
3444
|
+
baseOptions = configuration.baseOptions;
|
|
3445
|
+
}
|
|
3446
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
3447
|
+
localVarHeaderParameter = {};
|
|
3448
|
+
localVarQueryParameter = {};
|
|
3449
|
+
// authentication oauth2 required
|
|
3450
|
+
// oauth required
|
|
3451
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3452
|
+
case 1:
|
|
3453
|
+
// authentication oauth2 required
|
|
3454
|
+
// oauth required
|
|
3455
|
+
_a.sent();
|
|
3456
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3457
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3458
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3459
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3460
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPolicyCommand, localVarRequestOptions, configuration);
|
|
3461
|
+
return [2 /*return*/, {
|
|
3462
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3463
|
+
options: localVarRequestOptions,
|
|
3464
|
+
}];
|
|
3465
|
+
}
|
|
3466
|
+
});
|
|
3467
|
+
});
|
|
3468
|
+
},
|
|
3469
|
+
/**
|
|
3470
|
+
*
|
|
3471
|
+
* @summary Update Hospital.
|
|
3472
|
+
* @param {string} hospitalId
|
|
3473
|
+
* @param {UpdateHospitalCommand} [updateHospitalCommand]
|
|
3474
|
+
* @param {*} [options] Override http request option.
|
|
3475
|
+
* @throws {RequiredError}
|
|
3476
|
+
*/
|
|
3477
|
+
apiV1HospitalsHospitalIdPut: function (hospitalId, updateHospitalCommand, options) {
|
|
3478
|
+
if (options === void 0) { options = {}; }
|
|
3479
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3480
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3481
|
+
return __generator(this, function (_a) {
|
|
3482
|
+
switch (_a.label) {
|
|
3483
|
+
case 0:
|
|
3484
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3485
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPut', 'hospitalId', hospitalId);
|
|
3486
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}"
|
|
3487
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
3488
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3489
|
+
if (configuration) {
|
|
3490
|
+
baseOptions = configuration.baseOptions;
|
|
3491
|
+
}
|
|
3492
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
3493
|
+
localVarHeaderParameter = {};
|
|
3494
|
+
localVarQueryParameter = {};
|
|
3495
|
+
// authentication oauth2 required
|
|
3496
|
+
// oauth required
|
|
3497
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3498
|
+
case 1:
|
|
3499
|
+
// authentication oauth2 required
|
|
3500
|
+
// oauth required
|
|
3501
|
+
_a.sent();
|
|
3502
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3503
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3504
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3505
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3506
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateHospitalCommand, localVarRequestOptions, configuration);
|
|
3507
|
+
return [2 /*return*/, {
|
|
3508
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3509
|
+
options: localVarRequestOptions,
|
|
3510
|
+
}];
|
|
3511
|
+
}
|
|
3512
|
+
});
|
|
3513
|
+
});
|
|
3514
|
+
},
|
|
3515
|
+
/**
|
|
3516
|
+
*
|
|
3517
|
+
* @summary Delete HospitalSpecialty.
|
|
3518
|
+
* @param {string} hospitalId
|
|
3519
|
+
* @param {*} [options] Override http request option.
|
|
3520
|
+
* @throws {RequiredError}
|
|
3521
|
+
*/
|
|
3522
|
+
apiV1HospitalsHospitalIdReactivePut: function (hospitalId, options) {
|
|
3523
|
+
if (options === void 0) { options = {}; }
|
|
3524
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3525
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3526
|
+
return __generator(this, function (_a) {
|
|
3527
|
+
switch (_a.label) {
|
|
3528
|
+
case 0:
|
|
3529
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3530
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdReactivePut', 'hospitalId', hospitalId);
|
|
3531
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/reactive"
|
|
3532
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
3533
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3534
|
+
if (configuration) {
|
|
3535
|
+
baseOptions = configuration.baseOptions;
|
|
3536
|
+
}
|
|
3537
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
2970
3538
|
localVarHeaderParameter = {};
|
|
2971
3539
|
localVarQueryParameter = {};
|
|
2972
3540
|
// authentication oauth2 required
|
|
@@ -3142,7 +3710,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3142
3710
|
* @param {*} [options] Override http request option.
|
|
3143
3711
|
* @throws {RequiredError}
|
|
3144
3712
|
*/
|
|
3145
|
-
|
|
3713
|
+
apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdReadGet: function (hospitalId, containerId, fileId, minutesAvailableUntil, options) {
|
|
3146
3714
|
if (options === void 0) { options = {}; }
|
|
3147
3715
|
return __awaiter(_this, void 0, void 0, function () {
|
|
3148
3716
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -3150,12 +3718,12 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3150
3718
|
switch (_a.label) {
|
|
3151
3719
|
case 0:
|
|
3152
3720
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
3153
|
-
(0, common_1.assertParamExists)('
|
|
3721
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdReadGet', 'hospitalId', hospitalId);
|
|
3154
3722
|
// verify required parameter 'containerId' is not null or undefined
|
|
3155
|
-
(0, common_1.assertParamExists)('
|
|
3723
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdReadGet', 'containerId', containerId);
|
|
3156
3724
|
// verify required parameter 'fileId' is not null or undefined
|
|
3157
|
-
(0, common_1.assertParamExists)('
|
|
3158
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/securecontainers/{containerId}/files/{fileId}/
|
|
3725
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdReadGet', 'fileId', fileId);
|
|
3726
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/securecontainers/{containerId}/files/{fileId}/read"
|
|
3159
3727
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3160
3728
|
.replace("{".concat("containerId", "}"), encodeURIComponent(String(containerId)))
|
|
3161
3729
|
.replace("{".concat("fileId", "}"), encodeURIComponent(String(fileId)));
|
|
@@ -3279,35 +3847,125 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3279
3847
|
// authentication oauth2 required
|
|
3280
3848
|
// oauth required
|
|
3281
3849
|
_a.sent();
|
|
3282
|
-
if (id !== undefined) {
|
|
3283
|
-
localVarQueryParameter['Id'] = id;
|
|
3284
|
-
}
|
|
3285
|
-
if (languageCode !== undefined) {
|
|
3286
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
3287
|
-
}
|
|
3288
|
-
if (showHidden !== undefined) {
|
|
3289
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
3290
|
-
}
|
|
3291
|
-
if (userName !== undefined) {
|
|
3292
|
-
localVarQueryParameter['UserName'] = userName;
|
|
3293
|
-
}
|
|
3294
|
-
if (userEmail !== undefined) {
|
|
3295
|
-
localVarQueryParameter['UserEmail'] = userEmail;
|
|
3296
|
-
}
|
|
3297
|
-
if (userId !== undefined) {
|
|
3298
|
-
localVarQueryParameter['UserId'] = userId;
|
|
3299
|
-
}
|
|
3300
|
-
if (page !== undefined) {
|
|
3301
|
-
localVarQueryParameter['page'] = page;
|
|
3302
|
-
}
|
|
3303
|
-
if (limit !== undefined) {
|
|
3304
|
-
localVarQueryParameter['limit'] = limit;
|
|
3305
|
-
}
|
|
3306
|
-
if (lastRetrieved !== undefined) {
|
|
3307
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
3308
|
-
lastRetrieved.toISOString() :
|
|
3309
|
-
lastRetrieved;
|
|
3310
|
-
}
|
|
3850
|
+
if (id !== undefined) {
|
|
3851
|
+
localVarQueryParameter['Id'] = id;
|
|
3852
|
+
}
|
|
3853
|
+
if (languageCode !== undefined) {
|
|
3854
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
3855
|
+
}
|
|
3856
|
+
if (showHidden !== undefined) {
|
|
3857
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
3858
|
+
}
|
|
3859
|
+
if (userName !== undefined) {
|
|
3860
|
+
localVarQueryParameter['UserName'] = userName;
|
|
3861
|
+
}
|
|
3862
|
+
if (userEmail !== undefined) {
|
|
3863
|
+
localVarQueryParameter['UserEmail'] = userEmail;
|
|
3864
|
+
}
|
|
3865
|
+
if (userId !== undefined) {
|
|
3866
|
+
localVarQueryParameter['UserId'] = userId;
|
|
3867
|
+
}
|
|
3868
|
+
if (page !== undefined) {
|
|
3869
|
+
localVarQueryParameter['page'] = page;
|
|
3870
|
+
}
|
|
3871
|
+
if (limit !== undefined) {
|
|
3872
|
+
localVarQueryParameter['limit'] = limit;
|
|
3873
|
+
}
|
|
3874
|
+
if (lastRetrieved !== undefined) {
|
|
3875
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
3876
|
+
lastRetrieved.toISOString() :
|
|
3877
|
+
lastRetrieved;
|
|
3878
|
+
}
|
|
3879
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3880
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3881
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3882
|
+
return [2 /*return*/, {
|
|
3883
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3884
|
+
options: localVarRequestOptions,
|
|
3885
|
+
}];
|
|
3886
|
+
}
|
|
3887
|
+
});
|
|
3888
|
+
});
|
|
3889
|
+
},
|
|
3890
|
+
/**
|
|
3891
|
+
*
|
|
3892
|
+
* @summary Create secure file container
|
|
3893
|
+
* @param {string} hospitalId
|
|
3894
|
+
* @param {*} [options] Override http request option.
|
|
3895
|
+
* @throws {RequiredError}
|
|
3896
|
+
*/
|
|
3897
|
+
apiV1HospitalsHospitalIdSecurecontainersPost: function (hospitalId, options) {
|
|
3898
|
+
if (options === void 0) { options = {}; }
|
|
3899
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3900
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3901
|
+
return __generator(this, function (_a) {
|
|
3902
|
+
switch (_a.label) {
|
|
3903
|
+
case 0:
|
|
3904
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3905
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurecontainersPost', 'hospitalId', hospitalId);
|
|
3906
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/securecontainers"
|
|
3907
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
3908
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3909
|
+
if (configuration) {
|
|
3910
|
+
baseOptions = configuration.baseOptions;
|
|
3911
|
+
}
|
|
3912
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
3913
|
+
localVarHeaderParameter = {};
|
|
3914
|
+
localVarQueryParameter = {};
|
|
3915
|
+
// authentication oauth2 required
|
|
3916
|
+
// oauth required
|
|
3917
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3918
|
+
case 1:
|
|
3919
|
+
// authentication oauth2 required
|
|
3920
|
+
// oauth required
|
|
3921
|
+
_a.sent();
|
|
3922
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3923
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3924
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3925
|
+
return [2 /*return*/, {
|
|
3926
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3927
|
+
options: localVarRequestOptions,
|
|
3928
|
+
}];
|
|
3929
|
+
}
|
|
3930
|
+
});
|
|
3931
|
+
});
|
|
3932
|
+
},
|
|
3933
|
+
/**
|
|
3934
|
+
*
|
|
3935
|
+
* @summary Get file content by uri
|
|
3936
|
+
* @param {string} hospitalId
|
|
3937
|
+
* @param {string} uri
|
|
3938
|
+
* @param {*} [options] Override http request option.
|
|
3939
|
+
* @throws {RequiredError}
|
|
3940
|
+
*/
|
|
3941
|
+
apiV1HospitalsHospitalIdSecurefilesUriGet: function (hospitalId, uri, options) {
|
|
3942
|
+
if (options === void 0) { options = {}; }
|
|
3943
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3944
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3945
|
+
return __generator(this, function (_a) {
|
|
3946
|
+
switch (_a.label) {
|
|
3947
|
+
case 0:
|
|
3948
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
3949
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurefilesUriGet', 'hospitalId', hospitalId);
|
|
3950
|
+
// verify required parameter 'uri' is not null or undefined
|
|
3951
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurefilesUriGet', 'uri', uri);
|
|
3952
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/securefiles/{uri}"
|
|
3953
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
3954
|
+
.replace("{".concat("uri", "}"), encodeURIComponent(String(uri)));
|
|
3955
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3956
|
+
if (configuration) {
|
|
3957
|
+
baseOptions = configuration.baseOptions;
|
|
3958
|
+
}
|
|
3959
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3960
|
+
localVarHeaderParameter = {};
|
|
3961
|
+
localVarQueryParameter = {};
|
|
3962
|
+
// authentication oauth2 required
|
|
3963
|
+
// oauth required
|
|
3964
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
3965
|
+
case 1:
|
|
3966
|
+
// authentication oauth2 required
|
|
3967
|
+
// oauth required
|
|
3968
|
+
_a.sent();
|
|
3311
3969
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3312
3970
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3313
3971
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3321,12 +3979,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3321
3979
|
},
|
|
3322
3980
|
/**
|
|
3323
3981
|
*
|
|
3324
|
-
* @summary
|
|
3982
|
+
* @summary Get secure file url with read access by uri
|
|
3325
3983
|
* @param {string} hospitalId
|
|
3984
|
+
* @param {string} uri
|
|
3985
|
+
* @param {number} [minutesAvailableUntil]
|
|
3326
3986
|
* @param {*} [options] Override http request option.
|
|
3327
3987
|
* @throws {RequiredError}
|
|
3328
3988
|
*/
|
|
3329
|
-
|
|
3989
|
+
apiV1HospitalsHospitalIdSecurefilesUriReadGet: function (hospitalId, uri, minutesAvailableUntil, options) {
|
|
3330
3990
|
if (options === void 0) { options = {}; }
|
|
3331
3991
|
return __awaiter(_this, void 0, void 0, function () {
|
|
3332
3992
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -3334,14 +3994,17 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3334
3994
|
switch (_a.label) {
|
|
3335
3995
|
case 0:
|
|
3336
3996
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
3337
|
-
(0, common_1.assertParamExists)('
|
|
3338
|
-
|
|
3339
|
-
|
|
3997
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurefilesUriReadGet', 'hospitalId', hospitalId);
|
|
3998
|
+
// verify required parameter 'uri' is not null or undefined
|
|
3999
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdSecurefilesUriReadGet', 'uri', uri);
|
|
4000
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/securefiles/{uri}/read"
|
|
4001
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
4002
|
+
.replace("{".concat("uri", "}"), encodeURIComponent(String(uri)));
|
|
3340
4003
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3341
4004
|
if (configuration) {
|
|
3342
4005
|
baseOptions = configuration.baseOptions;
|
|
3343
4006
|
}
|
|
3344
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
4007
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3345
4008
|
localVarHeaderParameter = {};
|
|
3346
4009
|
localVarQueryParameter = {};
|
|
3347
4010
|
// authentication oauth2 required
|
|
@@ -3351,6 +4014,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
3351
4014
|
// authentication oauth2 required
|
|
3352
4015
|
// oauth required
|
|
3353
4016
|
_a.sent();
|
|
4017
|
+
if (minutesAvailableUntil !== undefined) {
|
|
4018
|
+
localVarQueryParameter['minutesAvailableUntil'] = minutesAvailableUntil;
|
|
4019
|
+
}
|
|
3354
4020
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3355
4021
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3356
4022
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6621,6 +7287,115 @@ var HospitalsApiFp = function (configuration) {
|
|
|
6621
7287
|
});
|
|
6622
7288
|
});
|
|
6623
7289
|
},
|
|
7290
|
+
/**
|
|
7291
|
+
*
|
|
7292
|
+
* @summary Get footerNavigationItems
|
|
7293
|
+
* @param {string} hospitalId
|
|
7294
|
+
* @param {string} languageCode
|
|
7295
|
+
* @param {*} [options] Override http request option.
|
|
7296
|
+
* @throws {RequiredError}
|
|
7297
|
+
*/
|
|
7298
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodeGet: function (hospitalId, languageCode, options) {
|
|
7299
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7300
|
+
var localVarAxiosArgs;
|
|
7301
|
+
return __generator(this, function (_a) {
|
|
7302
|
+
switch (_a.label) {
|
|
7303
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdFooternavigationsLanguageCodeGet(hospitalId, languageCode, options)];
|
|
7304
|
+
case 1:
|
|
7305
|
+
localVarAxiosArgs = _a.sent();
|
|
7306
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7307
|
+
}
|
|
7308
|
+
});
|
|
7309
|
+
});
|
|
7310
|
+
},
|
|
7311
|
+
/**
|
|
7312
|
+
*
|
|
7313
|
+
* @summary Delete footerNavigationItem
|
|
7314
|
+
* @param {string} hospitalId
|
|
7315
|
+
* @param {string} languageCode
|
|
7316
|
+
* @param {string} id
|
|
7317
|
+
* @param {*} [options] Override http request option.
|
|
7318
|
+
* @throws {RequiredError}
|
|
7319
|
+
*/
|
|
7320
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdDelete: function (hospitalId, languageCode, id, options) {
|
|
7321
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7322
|
+
var localVarAxiosArgs;
|
|
7323
|
+
return __generator(this, function (_a) {
|
|
7324
|
+
switch (_a.label) {
|
|
7325
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdDelete(hospitalId, languageCode, id, options)];
|
|
7326
|
+
case 1:
|
|
7327
|
+
localVarAxiosArgs = _a.sent();
|
|
7328
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7329
|
+
}
|
|
7330
|
+
});
|
|
7331
|
+
});
|
|
7332
|
+
},
|
|
7333
|
+
/**
|
|
7334
|
+
*
|
|
7335
|
+
* @summary Get footerNavigationItem by Id
|
|
7336
|
+
* @param {string} hospitalId
|
|
7337
|
+
* @param {string} languageCode
|
|
7338
|
+
* @param {string} id
|
|
7339
|
+
* @param {*} [options] Override http request option.
|
|
7340
|
+
* @throws {RequiredError}
|
|
7341
|
+
*/
|
|
7342
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdGet: function (hospitalId, languageCode, id, options) {
|
|
7343
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7344
|
+
var localVarAxiosArgs;
|
|
7345
|
+
return __generator(this, function (_a) {
|
|
7346
|
+
switch (_a.label) {
|
|
7347
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdGet(hospitalId, languageCode, id, options)];
|
|
7348
|
+
case 1:
|
|
7349
|
+
localVarAxiosArgs = _a.sent();
|
|
7350
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7351
|
+
}
|
|
7352
|
+
});
|
|
7353
|
+
});
|
|
7354
|
+
},
|
|
7355
|
+
/**
|
|
7356
|
+
*
|
|
7357
|
+
* @summary Get footerNavigationItems by ParentId
|
|
7358
|
+
* @param {string} hospitalId
|
|
7359
|
+
* @param {string} languageCode
|
|
7360
|
+
* @param {string} parentId
|
|
7361
|
+
* @param {*} [options] Override http request option.
|
|
7362
|
+
* @throws {RequiredError}
|
|
7363
|
+
*/
|
|
7364
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodeParentIdSubitemsGet: function (hospitalId, languageCode, parentId, options) {
|
|
7365
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7366
|
+
var localVarAxiosArgs;
|
|
7367
|
+
return __generator(this, function (_a) {
|
|
7368
|
+
switch (_a.label) {
|
|
7369
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdFooternavigationsLanguageCodeParentIdSubitemsGet(hospitalId, languageCode, parentId, options)];
|
|
7370
|
+
case 1:
|
|
7371
|
+
localVarAxiosArgs = _a.sent();
|
|
7372
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7373
|
+
}
|
|
7374
|
+
});
|
|
7375
|
+
});
|
|
7376
|
+
},
|
|
7377
|
+
/**
|
|
7378
|
+
*
|
|
7379
|
+
* @summary Save footerNavigationItem
|
|
7380
|
+
* @param {string} hospitalId
|
|
7381
|
+
* @param {string} languageCode
|
|
7382
|
+
* @param {SaveFooterNavigationsCommand} [saveFooterNavigationsCommand]
|
|
7383
|
+
* @param {*} [options] Override http request option.
|
|
7384
|
+
* @throws {RequiredError}
|
|
7385
|
+
*/
|
|
7386
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodePost: function (hospitalId, languageCode, saveFooterNavigationsCommand, options) {
|
|
7387
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7388
|
+
var localVarAxiosArgs;
|
|
7389
|
+
return __generator(this, function (_a) {
|
|
7390
|
+
switch (_a.label) {
|
|
7391
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdFooternavigationsLanguageCodePost(hospitalId, languageCode, saveFooterNavigationsCommand, options)];
|
|
7392
|
+
case 1:
|
|
7393
|
+
localVarAxiosArgs = _a.sent();
|
|
7394
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7395
|
+
}
|
|
7396
|
+
});
|
|
7397
|
+
});
|
|
7398
|
+
},
|
|
6624
7399
|
/**
|
|
6625
7400
|
*
|
|
6626
7401
|
* @summary Get Hospital.
|
|
@@ -7054,12 +7829,148 @@ var HospitalsApiFp = function (configuration) {
|
|
|
7054
7829
|
* @param {*} [options] Override http request option.
|
|
7055
7830
|
* @throws {RequiredError}
|
|
7056
7831
|
*/
|
|
7057
|
-
apiV1HospitalsHospitalIdMediasMediaIdGet: function (hospitalId, mediaId, options) {
|
|
7832
|
+
apiV1HospitalsHospitalIdMediasMediaIdGet: function (hospitalId, mediaId, options) {
|
|
7833
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7834
|
+
var localVarAxiosArgs;
|
|
7835
|
+
return __generator(this, function (_a) {
|
|
7836
|
+
switch (_a.label) {
|
|
7837
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdMediasMediaIdGet(hospitalId, mediaId, options)];
|
|
7838
|
+
case 1:
|
|
7839
|
+
localVarAxiosArgs = _a.sent();
|
|
7840
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7841
|
+
}
|
|
7842
|
+
});
|
|
7843
|
+
});
|
|
7844
|
+
},
|
|
7845
|
+
/**
|
|
7846
|
+
*
|
|
7847
|
+
* @summary Update HospitalMedia.
|
|
7848
|
+
* @param {string} hospitalId
|
|
7849
|
+
* @param {string} mediaId
|
|
7850
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
7851
|
+
* @param {*} [options] Override http request option.
|
|
7852
|
+
* @throws {RequiredError}
|
|
7853
|
+
*/
|
|
7854
|
+
apiV1HospitalsHospitalIdMediasMediaIdPut: function (hospitalId, mediaId, updateMediaCommand, options) {
|
|
7855
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7856
|
+
var localVarAxiosArgs;
|
|
7857
|
+
return __generator(this, function (_a) {
|
|
7858
|
+
switch (_a.label) {
|
|
7859
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdMediasMediaIdPut(hospitalId, mediaId, updateMediaCommand, options)];
|
|
7860
|
+
case 1:
|
|
7861
|
+
localVarAxiosArgs = _a.sent();
|
|
7862
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7863
|
+
}
|
|
7864
|
+
});
|
|
7865
|
+
});
|
|
7866
|
+
},
|
|
7867
|
+
/**
|
|
7868
|
+
*
|
|
7869
|
+
* @summary Create HospitalMedia.
|
|
7870
|
+
* @param {string} hospitalId
|
|
7871
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
7872
|
+
* @param {*} [options] Override http request option.
|
|
7873
|
+
* @throws {RequiredError}
|
|
7874
|
+
*/
|
|
7875
|
+
apiV1HospitalsHospitalIdMediasPost: function (hospitalId, createMediaCommand, options) {
|
|
7876
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7877
|
+
var localVarAxiosArgs;
|
|
7878
|
+
return __generator(this, function (_a) {
|
|
7879
|
+
switch (_a.label) {
|
|
7880
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdMediasPost(hospitalId, createMediaCommand, options)];
|
|
7881
|
+
case 1:
|
|
7882
|
+
localVarAxiosArgs = _a.sent();
|
|
7883
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7884
|
+
}
|
|
7885
|
+
});
|
|
7886
|
+
});
|
|
7887
|
+
},
|
|
7888
|
+
/**
|
|
7889
|
+
*
|
|
7890
|
+
* @summary Get all policies
|
|
7891
|
+
* @param {string} hospitalId
|
|
7892
|
+
* @param {string} [name]
|
|
7893
|
+
* @param {string} [slug]
|
|
7894
|
+
* @param {string} [languageCode]
|
|
7895
|
+
* @param {boolean} [showHidden]
|
|
7896
|
+
* @param {number} [page]
|
|
7897
|
+
* @param {number} [limit]
|
|
7898
|
+
* @param {Date} [lastRetrieved]
|
|
7899
|
+
* @param {*} [options] Override http request option.
|
|
7900
|
+
* @throws {RequiredError}
|
|
7901
|
+
*/
|
|
7902
|
+
apiV1HospitalsHospitalIdPoliciesGet: function (hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
7903
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7904
|
+
var localVarAxiosArgs;
|
|
7905
|
+
return __generator(this, function (_a) {
|
|
7906
|
+
switch (_a.label) {
|
|
7907
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPoliciesGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
7908
|
+
case 1:
|
|
7909
|
+
localVarAxiosArgs = _a.sent();
|
|
7910
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7911
|
+
}
|
|
7912
|
+
});
|
|
7913
|
+
});
|
|
7914
|
+
},
|
|
7915
|
+
/**
|
|
7916
|
+
*
|
|
7917
|
+
* @summary Delete policy
|
|
7918
|
+
* @param {string} hospitalId
|
|
7919
|
+
* @param {string} policyId
|
|
7920
|
+
* @param {boolean} [isPermanent]
|
|
7921
|
+
* @param {*} [options] Override http request option.
|
|
7922
|
+
* @throws {RequiredError}
|
|
7923
|
+
*/
|
|
7924
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdDelete: function (hospitalId, policyId, isPermanent, options) {
|
|
7925
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7926
|
+
var localVarAxiosArgs;
|
|
7927
|
+
return __generator(this, function (_a) {
|
|
7928
|
+
switch (_a.label) {
|
|
7929
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPoliciesPolicyIdDelete(hospitalId, policyId, isPermanent, options)];
|
|
7930
|
+
case 1:
|
|
7931
|
+
localVarAxiosArgs = _a.sent();
|
|
7932
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7933
|
+
}
|
|
7934
|
+
});
|
|
7935
|
+
});
|
|
7936
|
+
},
|
|
7937
|
+
/**
|
|
7938
|
+
*
|
|
7939
|
+
* @summary Get policy
|
|
7940
|
+
* @param {string} hospitalId
|
|
7941
|
+
* @param {string} policyId
|
|
7942
|
+
* @param {string} [languageCode]
|
|
7943
|
+
* @param {*} [options] Override http request option.
|
|
7944
|
+
* @throws {RequiredError}
|
|
7945
|
+
*/
|
|
7946
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdGet: function (hospitalId, policyId, languageCode, options) {
|
|
7947
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7948
|
+
var localVarAxiosArgs;
|
|
7949
|
+
return __generator(this, function (_a) {
|
|
7950
|
+
switch (_a.label) {
|
|
7951
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPoliciesPolicyIdGet(hospitalId, policyId, languageCode, options)];
|
|
7952
|
+
case 1:
|
|
7953
|
+
localVarAxiosArgs = _a.sent();
|
|
7954
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7955
|
+
}
|
|
7956
|
+
});
|
|
7957
|
+
});
|
|
7958
|
+
},
|
|
7959
|
+
/**
|
|
7960
|
+
*
|
|
7961
|
+
* @summary Update policy
|
|
7962
|
+
* @param {string} hospitalId
|
|
7963
|
+
* @param {string} policyId
|
|
7964
|
+
* @param {UpdatePolicyCommand} [updatePolicyCommand]
|
|
7965
|
+
* @param {*} [options] Override http request option.
|
|
7966
|
+
* @throws {RequiredError}
|
|
7967
|
+
*/
|
|
7968
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdPut: function (hospitalId, policyId, updatePolicyCommand, options) {
|
|
7058
7969
|
return __awaiter(this, void 0, void 0, function () {
|
|
7059
7970
|
var localVarAxiosArgs;
|
|
7060
7971
|
return __generator(this, function (_a) {
|
|
7061
7972
|
switch (_a.label) {
|
|
7062
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
7973
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPoliciesPolicyIdPut(hospitalId, policyId, updatePolicyCommand, options)];
|
|
7063
7974
|
case 1:
|
|
7064
7975
|
localVarAxiosArgs = _a.sent();
|
|
7065
7976
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7069,19 +7980,18 @@ var HospitalsApiFp = function (configuration) {
|
|
|
7069
7980
|
},
|
|
7070
7981
|
/**
|
|
7071
7982
|
*
|
|
7072
|
-
* @summary
|
|
7983
|
+
* @summary Reactive policy
|
|
7073
7984
|
* @param {string} hospitalId
|
|
7074
|
-
* @param {string}
|
|
7075
|
-
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
7985
|
+
* @param {string} policyId
|
|
7076
7986
|
* @param {*} [options] Override http request option.
|
|
7077
7987
|
* @throws {RequiredError}
|
|
7078
7988
|
*/
|
|
7079
|
-
|
|
7989
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdReactivePut: function (hospitalId, policyId, options) {
|
|
7080
7990
|
return __awaiter(this, void 0, void 0, function () {
|
|
7081
7991
|
var localVarAxiosArgs;
|
|
7082
7992
|
return __generator(this, function (_a) {
|
|
7083
7993
|
switch (_a.label) {
|
|
7084
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
7994
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPoliciesPolicyIdReactivePut(hospitalId, policyId, options)];
|
|
7085
7995
|
case 1:
|
|
7086
7996
|
localVarAxiosArgs = _a.sent();
|
|
7087
7997
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7091,18 +8001,18 @@ var HospitalsApiFp = function (configuration) {
|
|
|
7091
8001
|
},
|
|
7092
8002
|
/**
|
|
7093
8003
|
*
|
|
7094
|
-
* @summary Create
|
|
8004
|
+
* @summary Create policy
|
|
7095
8005
|
* @param {string} hospitalId
|
|
7096
|
-
* @param {
|
|
8006
|
+
* @param {CreatePolicyCommand} [createPolicyCommand]
|
|
7097
8007
|
* @param {*} [options] Override http request option.
|
|
7098
8008
|
* @throws {RequiredError}
|
|
7099
8009
|
*/
|
|
7100
|
-
|
|
8010
|
+
apiV1HospitalsHospitalIdPoliciesPost: function (hospitalId, createPolicyCommand, options) {
|
|
7101
8011
|
return __awaiter(this, void 0, void 0, function () {
|
|
7102
8012
|
var localVarAxiosArgs;
|
|
7103
8013
|
return __generator(this, function (_a) {
|
|
7104
8014
|
switch (_a.label) {
|
|
7105
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
8015
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPoliciesPost(hospitalId, createPolicyCommand, options)];
|
|
7106
8016
|
case 1:
|
|
7107
8017
|
localVarAxiosArgs = _a.sent();
|
|
7108
8018
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7225,12 +8135,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
7225
8135
|
* @param {*} [options] Override http request option.
|
|
7226
8136
|
* @throws {RequiredError}
|
|
7227
8137
|
*/
|
|
7228
|
-
|
|
8138
|
+
apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdReadGet: function (hospitalId, containerId, fileId, minutesAvailableUntil, options) {
|
|
7229
8139
|
return __awaiter(this, void 0, void 0, function () {
|
|
7230
8140
|
var localVarAxiosArgs;
|
|
7231
8141
|
return __generator(this, function (_a) {
|
|
7232
8142
|
switch (_a.label) {
|
|
7233
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
8143
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdReadGet(hospitalId, containerId, fileId, minutesAvailableUntil, options)];
|
|
7234
8144
|
case 1:
|
|
7235
8145
|
localVarAxiosArgs = _a.sent();
|
|
7236
8146
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7309,6 +8219,49 @@ var HospitalsApiFp = function (configuration) {
|
|
|
7309
8219
|
});
|
|
7310
8220
|
});
|
|
7311
8221
|
},
|
|
8222
|
+
/**
|
|
8223
|
+
*
|
|
8224
|
+
* @summary Get file content by uri
|
|
8225
|
+
* @param {string} hospitalId
|
|
8226
|
+
* @param {string} uri
|
|
8227
|
+
* @param {*} [options] Override http request option.
|
|
8228
|
+
* @throws {RequiredError}
|
|
8229
|
+
*/
|
|
8230
|
+
apiV1HospitalsHospitalIdSecurefilesUriGet: function (hospitalId, uri, options) {
|
|
8231
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8232
|
+
var localVarAxiosArgs;
|
|
8233
|
+
return __generator(this, function (_a) {
|
|
8234
|
+
switch (_a.label) {
|
|
8235
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSecurefilesUriGet(hospitalId, uri, options)];
|
|
8236
|
+
case 1:
|
|
8237
|
+
localVarAxiosArgs = _a.sent();
|
|
8238
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
8239
|
+
}
|
|
8240
|
+
});
|
|
8241
|
+
});
|
|
8242
|
+
},
|
|
8243
|
+
/**
|
|
8244
|
+
*
|
|
8245
|
+
* @summary Get secure file url with read access by uri
|
|
8246
|
+
* @param {string} hospitalId
|
|
8247
|
+
* @param {string} uri
|
|
8248
|
+
* @param {number} [minutesAvailableUntil]
|
|
8249
|
+
* @param {*} [options] Override http request option.
|
|
8250
|
+
* @throws {RequiredError}
|
|
8251
|
+
*/
|
|
8252
|
+
apiV1HospitalsHospitalIdSecurefilesUriReadGet: function (hospitalId, uri, minutesAvailableUntil, options) {
|
|
8253
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8254
|
+
var localVarAxiosArgs;
|
|
8255
|
+
return __generator(this, function (_a) {
|
|
8256
|
+
switch (_a.label) {
|
|
8257
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSecurefilesUriReadGet(hospitalId, uri, minutesAvailableUntil, options)];
|
|
8258
|
+
case 1:
|
|
8259
|
+
localVarAxiosArgs = _a.sent();
|
|
8260
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
8261
|
+
}
|
|
8262
|
+
});
|
|
8263
|
+
});
|
|
8264
|
+
},
|
|
7312
8265
|
/**
|
|
7313
8266
|
*
|
|
7314
8267
|
* @summary Get all HospitalSpecialties.
|
|
@@ -8741,6 +9694,65 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
8741
9694
|
apiV1HospitalsHospitalIdEvaluationsPost: function (hospitalId, createHospitalEvaluationCommand, options) {
|
|
8742
9695
|
return localVarFp.apiV1HospitalsHospitalIdEvaluationsPost(hospitalId, createHospitalEvaluationCommand, options).then(function (request) { return request(axios, basePath); });
|
|
8743
9696
|
},
|
|
9697
|
+
/**
|
|
9698
|
+
*
|
|
9699
|
+
* @summary Get footerNavigationItems
|
|
9700
|
+
* @param {string} hospitalId
|
|
9701
|
+
* @param {string} languageCode
|
|
9702
|
+
* @param {*} [options] Override http request option.
|
|
9703
|
+
* @throws {RequiredError}
|
|
9704
|
+
*/
|
|
9705
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodeGet: function (hospitalId, languageCode, options) {
|
|
9706
|
+
return localVarFp.apiV1HospitalsHospitalIdFooternavigationsLanguageCodeGet(hospitalId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
9707
|
+
},
|
|
9708
|
+
/**
|
|
9709
|
+
*
|
|
9710
|
+
* @summary Delete footerNavigationItem
|
|
9711
|
+
* @param {string} hospitalId
|
|
9712
|
+
* @param {string} languageCode
|
|
9713
|
+
* @param {string} id
|
|
9714
|
+
* @param {*} [options] Override http request option.
|
|
9715
|
+
* @throws {RequiredError}
|
|
9716
|
+
*/
|
|
9717
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdDelete: function (hospitalId, languageCode, id, options) {
|
|
9718
|
+
return localVarFp.apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdDelete(hospitalId, languageCode, id, options).then(function (request) { return request(axios, basePath); });
|
|
9719
|
+
},
|
|
9720
|
+
/**
|
|
9721
|
+
*
|
|
9722
|
+
* @summary Get footerNavigationItem by Id
|
|
9723
|
+
* @param {string} hospitalId
|
|
9724
|
+
* @param {string} languageCode
|
|
9725
|
+
* @param {string} id
|
|
9726
|
+
* @param {*} [options] Override http request option.
|
|
9727
|
+
* @throws {RequiredError}
|
|
9728
|
+
*/
|
|
9729
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdGet: function (hospitalId, languageCode, id, options) {
|
|
9730
|
+
return localVarFp.apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdGet(hospitalId, languageCode, id, options).then(function (request) { return request(axios, basePath); });
|
|
9731
|
+
},
|
|
9732
|
+
/**
|
|
9733
|
+
*
|
|
9734
|
+
* @summary Get footerNavigationItems by ParentId
|
|
9735
|
+
* @param {string} hospitalId
|
|
9736
|
+
* @param {string} languageCode
|
|
9737
|
+
* @param {string} parentId
|
|
9738
|
+
* @param {*} [options] Override http request option.
|
|
9739
|
+
* @throws {RequiredError}
|
|
9740
|
+
*/
|
|
9741
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodeParentIdSubitemsGet: function (hospitalId, languageCode, parentId, options) {
|
|
9742
|
+
return localVarFp.apiV1HospitalsHospitalIdFooternavigationsLanguageCodeParentIdSubitemsGet(hospitalId, languageCode, parentId, options).then(function (request) { return request(axios, basePath); });
|
|
9743
|
+
},
|
|
9744
|
+
/**
|
|
9745
|
+
*
|
|
9746
|
+
* @summary Save footerNavigationItem
|
|
9747
|
+
* @param {string} hospitalId
|
|
9748
|
+
* @param {string} languageCode
|
|
9749
|
+
* @param {SaveFooterNavigationsCommand} [saveFooterNavigationsCommand]
|
|
9750
|
+
* @param {*} [options] Override http request option.
|
|
9751
|
+
* @throws {RequiredError}
|
|
9752
|
+
*/
|
|
9753
|
+
apiV1HospitalsHospitalIdFooternavigationsLanguageCodePost: function (hospitalId, languageCode, saveFooterNavigationsCommand, options) {
|
|
9754
|
+
return localVarFp.apiV1HospitalsHospitalIdFooternavigationsLanguageCodePost(hospitalId, languageCode, saveFooterNavigationsCommand, options).then(function (request) { return request(axios, basePath); });
|
|
9755
|
+
},
|
|
8744
9756
|
/**
|
|
8745
9757
|
*
|
|
8746
9758
|
* @summary Get Hospital.
|
|
@@ -9010,6 +10022,81 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
9010
10022
|
apiV1HospitalsHospitalIdMediasPost: function (hospitalId, createMediaCommand, options) {
|
|
9011
10023
|
return localVarFp.apiV1HospitalsHospitalIdMediasPost(hospitalId, createMediaCommand, options).then(function (request) { return request(axios, basePath); });
|
|
9012
10024
|
},
|
|
10025
|
+
/**
|
|
10026
|
+
*
|
|
10027
|
+
* @summary Get all policies
|
|
10028
|
+
* @param {string} hospitalId
|
|
10029
|
+
* @param {string} [name]
|
|
10030
|
+
* @param {string} [slug]
|
|
10031
|
+
* @param {string} [languageCode]
|
|
10032
|
+
* @param {boolean} [showHidden]
|
|
10033
|
+
* @param {number} [page]
|
|
10034
|
+
* @param {number} [limit]
|
|
10035
|
+
* @param {Date} [lastRetrieved]
|
|
10036
|
+
* @param {*} [options] Override http request option.
|
|
10037
|
+
* @throws {RequiredError}
|
|
10038
|
+
*/
|
|
10039
|
+
apiV1HospitalsHospitalIdPoliciesGet: function (hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
10040
|
+
return localVarFp.apiV1HospitalsHospitalIdPoliciesGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
10041
|
+
},
|
|
10042
|
+
/**
|
|
10043
|
+
*
|
|
10044
|
+
* @summary Delete policy
|
|
10045
|
+
* @param {string} hospitalId
|
|
10046
|
+
* @param {string} policyId
|
|
10047
|
+
* @param {boolean} [isPermanent]
|
|
10048
|
+
* @param {*} [options] Override http request option.
|
|
10049
|
+
* @throws {RequiredError}
|
|
10050
|
+
*/
|
|
10051
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdDelete: function (hospitalId, policyId, isPermanent, options) {
|
|
10052
|
+
return localVarFp.apiV1HospitalsHospitalIdPoliciesPolicyIdDelete(hospitalId, policyId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
10053
|
+
},
|
|
10054
|
+
/**
|
|
10055
|
+
*
|
|
10056
|
+
* @summary Get policy
|
|
10057
|
+
* @param {string} hospitalId
|
|
10058
|
+
* @param {string} policyId
|
|
10059
|
+
* @param {string} [languageCode]
|
|
10060
|
+
* @param {*} [options] Override http request option.
|
|
10061
|
+
* @throws {RequiredError}
|
|
10062
|
+
*/
|
|
10063
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdGet: function (hospitalId, policyId, languageCode, options) {
|
|
10064
|
+
return localVarFp.apiV1HospitalsHospitalIdPoliciesPolicyIdGet(hospitalId, policyId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
10065
|
+
},
|
|
10066
|
+
/**
|
|
10067
|
+
*
|
|
10068
|
+
* @summary Update policy
|
|
10069
|
+
* @param {string} hospitalId
|
|
10070
|
+
* @param {string} policyId
|
|
10071
|
+
* @param {UpdatePolicyCommand} [updatePolicyCommand]
|
|
10072
|
+
* @param {*} [options] Override http request option.
|
|
10073
|
+
* @throws {RequiredError}
|
|
10074
|
+
*/
|
|
10075
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdPut: function (hospitalId, policyId, updatePolicyCommand, options) {
|
|
10076
|
+
return localVarFp.apiV1HospitalsHospitalIdPoliciesPolicyIdPut(hospitalId, policyId, updatePolicyCommand, options).then(function (request) { return request(axios, basePath); });
|
|
10077
|
+
},
|
|
10078
|
+
/**
|
|
10079
|
+
*
|
|
10080
|
+
* @summary Reactive policy
|
|
10081
|
+
* @param {string} hospitalId
|
|
10082
|
+
* @param {string} policyId
|
|
10083
|
+
* @param {*} [options] Override http request option.
|
|
10084
|
+
* @throws {RequiredError}
|
|
10085
|
+
*/
|
|
10086
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdReactivePut: function (hospitalId, policyId, options) {
|
|
10087
|
+
return localVarFp.apiV1HospitalsHospitalIdPoliciesPolicyIdReactivePut(hospitalId, policyId, options).then(function (request) { return request(axios, basePath); });
|
|
10088
|
+
},
|
|
10089
|
+
/**
|
|
10090
|
+
*
|
|
10091
|
+
* @summary Create policy
|
|
10092
|
+
* @param {string} hospitalId
|
|
10093
|
+
* @param {CreatePolicyCommand} [createPolicyCommand]
|
|
10094
|
+
* @param {*} [options] Override http request option.
|
|
10095
|
+
* @throws {RequiredError}
|
|
10096
|
+
*/
|
|
10097
|
+
apiV1HospitalsHospitalIdPoliciesPost: function (hospitalId, createPolicyCommand, options) {
|
|
10098
|
+
return localVarFp.apiV1HospitalsHospitalIdPoliciesPost(hospitalId, createPolicyCommand, options).then(function (request) { return request(axios, basePath); });
|
|
10099
|
+
},
|
|
9013
10100
|
/**
|
|
9014
10101
|
*
|
|
9015
10102
|
* @summary Update Hospital.
|
|
@@ -9075,8 +10162,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
9075
10162
|
* @param {*} [options] Override http request option.
|
|
9076
10163
|
* @throws {RequiredError}
|
|
9077
10164
|
*/
|
|
9078
|
-
|
|
9079
|
-
return localVarFp.
|
|
10165
|
+
apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdReadGet: function (hospitalId, containerId, fileId, minutesAvailableUntil, options) {
|
|
10166
|
+
return localVarFp.apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdReadGet(hospitalId, containerId, fileId, minutesAvailableUntil, options).then(function (request) { return request(axios, basePath); });
|
|
9080
10167
|
},
|
|
9081
10168
|
/**
|
|
9082
10169
|
*
|
|
@@ -9119,6 +10206,29 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
9119
10206
|
apiV1HospitalsHospitalIdSecurecontainersPost: function (hospitalId, options) {
|
|
9120
10207
|
return localVarFp.apiV1HospitalsHospitalIdSecurecontainersPost(hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
9121
10208
|
},
|
|
10209
|
+
/**
|
|
10210
|
+
*
|
|
10211
|
+
* @summary Get file content by uri
|
|
10212
|
+
* @param {string} hospitalId
|
|
10213
|
+
* @param {string} uri
|
|
10214
|
+
* @param {*} [options] Override http request option.
|
|
10215
|
+
* @throws {RequiredError}
|
|
10216
|
+
*/
|
|
10217
|
+
apiV1HospitalsHospitalIdSecurefilesUriGet: function (hospitalId, uri, options) {
|
|
10218
|
+
return localVarFp.apiV1HospitalsHospitalIdSecurefilesUriGet(hospitalId, uri, options).then(function (request) { return request(axios, basePath); });
|
|
10219
|
+
},
|
|
10220
|
+
/**
|
|
10221
|
+
*
|
|
10222
|
+
* @summary Get secure file url with read access by uri
|
|
10223
|
+
* @param {string} hospitalId
|
|
10224
|
+
* @param {string} uri
|
|
10225
|
+
* @param {number} [minutesAvailableUntil]
|
|
10226
|
+
* @param {*} [options] Override http request option.
|
|
10227
|
+
* @throws {RequiredError}
|
|
10228
|
+
*/
|
|
10229
|
+
apiV1HospitalsHospitalIdSecurefilesUriReadGet: function (hospitalId, uri, minutesAvailableUntil, options) {
|
|
10230
|
+
return localVarFp.apiV1HospitalsHospitalIdSecurefilesUriReadGet(hospitalId, uri, minutesAvailableUntil, options).then(function (request) { return request(axios, basePath); });
|
|
10231
|
+
},
|
|
9122
10232
|
/**
|
|
9123
10233
|
*
|
|
9124
10234
|
* @summary Get all HospitalSpecialties.
|
|
@@ -10096,6 +11206,66 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
10096
11206
|
var _this = this;
|
|
10097
11207
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdEvaluationsPost(requestParameters.hospitalId, requestParameters.createHospitalEvaluationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10098
11208
|
};
|
|
11209
|
+
/**
|
|
11210
|
+
*
|
|
11211
|
+
* @summary Get footerNavigationItems
|
|
11212
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdFooternavigationsLanguageCodeGetRequest} requestParameters Request parameters.
|
|
11213
|
+
* @param {*} [options] Override http request option.
|
|
11214
|
+
* @throws {RequiredError}
|
|
11215
|
+
* @memberof HospitalsApi
|
|
11216
|
+
*/
|
|
11217
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdFooternavigationsLanguageCodeGet = function (requestParameters, options) {
|
|
11218
|
+
var _this = this;
|
|
11219
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdFooternavigationsLanguageCodeGet(requestParameters.hospitalId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11220
|
+
};
|
|
11221
|
+
/**
|
|
11222
|
+
*
|
|
11223
|
+
* @summary Delete footerNavigationItem
|
|
11224
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdDeleteRequest} requestParameters Request parameters.
|
|
11225
|
+
* @param {*} [options] Override http request option.
|
|
11226
|
+
* @throws {RequiredError}
|
|
11227
|
+
* @memberof HospitalsApi
|
|
11228
|
+
*/
|
|
11229
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdDelete = function (requestParameters, options) {
|
|
11230
|
+
var _this = this;
|
|
11231
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdDelete(requestParameters.hospitalId, requestParameters.languageCode, requestParameters.id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11232
|
+
};
|
|
11233
|
+
/**
|
|
11234
|
+
*
|
|
11235
|
+
* @summary Get footerNavigationItem by Id
|
|
11236
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdGetRequest} requestParameters Request parameters.
|
|
11237
|
+
* @param {*} [options] Override http request option.
|
|
11238
|
+
* @throws {RequiredError}
|
|
11239
|
+
* @memberof HospitalsApi
|
|
11240
|
+
*/
|
|
11241
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdGet = function (requestParameters, options) {
|
|
11242
|
+
var _this = this;
|
|
11243
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdFooternavigationsLanguageCodeIdGet(requestParameters.hospitalId, requestParameters.languageCode, requestParameters.id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11244
|
+
};
|
|
11245
|
+
/**
|
|
11246
|
+
*
|
|
11247
|
+
* @summary Get footerNavigationItems by ParentId
|
|
11248
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdFooternavigationsLanguageCodeParentIdSubitemsGetRequest} requestParameters Request parameters.
|
|
11249
|
+
* @param {*} [options] Override http request option.
|
|
11250
|
+
* @throws {RequiredError}
|
|
11251
|
+
* @memberof HospitalsApi
|
|
11252
|
+
*/
|
|
11253
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdFooternavigationsLanguageCodeParentIdSubitemsGet = function (requestParameters, options) {
|
|
11254
|
+
var _this = this;
|
|
11255
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdFooternavigationsLanguageCodeParentIdSubitemsGet(requestParameters.hospitalId, requestParameters.languageCode, requestParameters.parentId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11256
|
+
};
|
|
11257
|
+
/**
|
|
11258
|
+
*
|
|
11259
|
+
* @summary Save footerNavigationItem
|
|
11260
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdFooternavigationsLanguageCodePostRequest} requestParameters Request parameters.
|
|
11261
|
+
* @param {*} [options] Override http request option.
|
|
11262
|
+
* @throws {RequiredError}
|
|
11263
|
+
* @memberof HospitalsApi
|
|
11264
|
+
*/
|
|
11265
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdFooternavigationsLanguageCodePost = function (requestParameters, options) {
|
|
11266
|
+
var _this = this;
|
|
11267
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdFooternavigationsLanguageCodePost(requestParameters.hospitalId, requestParameters.languageCode, requestParameters.saveFooterNavigationsCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11268
|
+
};
|
|
10099
11269
|
/**
|
|
10100
11270
|
*
|
|
10101
11271
|
* @summary Get Hospital.
|
|
@@ -10360,6 +11530,78 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
10360
11530
|
var _this = this;
|
|
10361
11531
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdMediasPost(requestParameters.hospitalId, requestParameters.createMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10362
11532
|
};
|
|
11533
|
+
/**
|
|
11534
|
+
*
|
|
11535
|
+
* @summary Get all policies
|
|
11536
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPoliciesGetRequest} requestParameters Request parameters.
|
|
11537
|
+
* @param {*} [options] Override http request option.
|
|
11538
|
+
* @throws {RequiredError}
|
|
11539
|
+
* @memberof HospitalsApi
|
|
11540
|
+
*/
|
|
11541
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdPoliciesGet = function (requestParameters, options) {
|
|
11542
|
+
var _this = this;
|
|
11543
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdPoliciesGet(requestParameters.hospitalId, requestParameters.name, requestParameters.slug, requestParameters.languageCode, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11544
|
+
};
|
|
11545
|
+
/**
|
|
11546
|
+
*
|
|
11547
|
+
* @summary Delete policy
|
|
11548
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPoliciesPolicyIdDeleteRequest} requestParameters Request parameters.
|
|
11549
|
+
* @param {*} [options] Override http request option.
|
|
11550
|
+
* @throws {RequiredError}
|
|
11551
|
+
* @memberof HospitalsApi
|
|
11552
|
+
*/
|
|
11553
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdPoliciesPolicyIdDelete = function (requestParameters, options) {
|
|
11554
|
+
var _this = this;
|
|
11555
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdPoliciesPolicyIdDelete(requestParameters.hospitalId, requestParameters.policyId, requestParameters.isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11556
|
+
};
|
|
11557
|
+
/**
|
|
11558
|
+
*
|
|
11559
|
+
* @summary Get policy
|
|
11560
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPoliciesPolicyIdGetRequest} requestParameters Request parameters.
|
|
11561
|
+
* @param {*} [options] Override http request option.
|
|
11562
|
+
* @throws {RequiredError}
|
|
11563
|
+
* @memberof HospitalsApi
|
|
11564
|
+
*/
|
|
11565
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdPoliciesPolicyIdGet = function (requestParameters, options) {
|
|
11566
|
+
var _this = this;
|
|
11567
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdPoliciesPolicyIdGet(requestParameters.hospitalId, requestParameters.policyId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11568
|
+
};
|
|
11569
|
+
/**
|
|
11570
|
+
*
|
|
11571
|
+
* @summary Update policy
|
|
11572
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPoliciesPolicyIdPutRequest} requestParameters Request parameters.
|
|
11573
|
+
* @param {*} [options] Override http request option.
|
|
11574
|
+
* @throws {RequiredError}
|
|
11575
|
+
* @memberof HospitalsApi
|
|
11576
|
+
*/
|
|
11577
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdPoliciesPolicyIdPut = function (requestParameters, options) {
|
|
11578
|
+
var _this = this;
|
|
11579
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdPoliciesPolicyIdPut(requestParameters.hospitalId, requestParameters.policyId, requestParameters.updatePolicyCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11580
|
+
};
|
|
11581
|
+
/**
|
|
11582
|
+
*
|
|
11583
|
+
* @summary Reactive policy
|
|
11584
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPoliciesPolicyIdReactivePutRequest} requestParameters Request parameters.
|
|
11585
|
+
* @param {*} [options] Override http request option.
|
|
11586
|
+
* @throws {RequiredError}
|
|
11587
|
+
* @memberof HospitalsApi
|
|
11588
|
+
*/
|
|
11589
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdPoliciesPolicyIdReactivePut = function (requestParameters, options) {
|
|
11590
|
+
var _this = this;
|
|
11591
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdPoliciesPolicyIdReactivePut(requestParameters.hospitalId, requestParameters.policyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11592
|
+
};
|
|
11593
|
+
/**
|
|
11594
|
+
*
|
|
11595
|
+
* @summary Create policy
|
|
11596
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPoliciesPostRequest} requestParameters Request parameters.
|
|
11597
|
+
* @param {*} [options] Override http request option.
|
|
11598
|
+
* @throws {RequiredError}
|
|
11599
|
+
* @memberof HospitalsApi
|
|
11600
|
+
*/
|
|
11601
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdPoliciesPost = function (requestParameters, options) {
|
|
11602
|
+
var _this = this;
|
|
11603
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdPoliciesPost(requestParameters.hospitalId, requestParameters.createPolicyCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11604
|
+
};
|
|
10363
11605
|
/**
|
|
10364
11606
|
*
|
|
10365
11607
|
* @summary Update Hospital.
|
|
@@ -10423,14 +11665,14 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
10423
11665
|
/**
|
|
10424
11666
|
*
|
|
10425
11667
|
* @summary Get secure file url with read access
|
|
10426
|
-
* @param {
|
|
11668
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdReadGetRequest} requestParameters Request parameters.
|
|
10427
11669
|
* @param {*} [options] Override http request option.
|
|
10428
11670
|
* @throws {RequiredError}
|
|
10429
11671
|
* @memberof HospitalsApi
|
|
10430
11672
|
*/
|
|
10431
|
-
HospitalsApi.prototype.
|
|
11673
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdReadGet = function (requestParameters, options) {
|
|
10432
11674
|
var _this = this;
|
|
10433
|
-
return (0, exports.HospitalsApiFp)(this.configuration).
|
|
11675
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSecurecontainersContainerIdFilesFileIdReadGet(requestParameters.hospitalId, requestParameters.containerId, requestParameters.fileId, requestParameters.minutesAvailableUntil, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10434
11676
|
};
|
|
10435
11677
|
/**
|
|
10436
11678
|
*
|
|
@@ -10468,6 +11710,30 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
10468
11710
|
var _this = this;
|
|
10469
11711
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSecurecontainersPost(requestParameters.hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10470
11712
|
};
|
|
11713
|
+
/**
|
|
11714
|
+
*
|
|
11715
|
+
* @summary Get file content by uri
|
|
11716
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdSecurefilesUriGetRequest} requestParameters Request parameters.
|
|
11717
|
+
* @param {*} [options] Override http request option.
|
|
11718
|
+
* @throws {RequiredError}
|
|
11719
|
+
* @memberof HospitalsApi
|
|
11720
|
+
*/
|
|
11721
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSecurefilesUriGet = function (requestParameters, options) {
|
|
11722
|
+
var _this = this;
|
|
11723
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSecurefilesUriGet(requestParameters.hospitalId, requestParameters.uri, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11724
|
+
};
|
|
11725
|
+
/**
|
|
11726
|
+
*
|
|
11727
|
+
* @summary Get secure file url with read access by uri
|
|
11728
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdSecurefilesUriReadGetRequest} requestParameters Request parameters.
|
|
11729
|
+
* @param {*} [options] Override http request option.
|
|
11730
|
+
* @throws {RequiredError}
|
|
11731
|
+
* @memberof HospitalsApi
|
|
11732
|
+
*/
|
|
11733
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSecurefilesUriReadGet = function (requestParameters, options) {
|
|
11734
|
+
var _this = this;
|
|
11735
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdSecurefilesUriReadGet(requestParameters.hospitalId, requestParameters.uri, requestParameters.minutesAvailableUntil, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11736
|
+
};
|
|
10471
11737
|
/**
|
|
10472
11738
|
*
|
|
10473
11739
|
* @summary Get all HospitalSpecialties.
|