@teemill/platform 0.22.0 → 0.22.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +149 -41
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +89 -23
- package/dist/api.js +85 -39
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +89 -23
- package/dist/esm/api.js +85 -39
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/InlineObject.md +2 -2
- package/docs/PlatformApi.md +30 -4
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform API
|
|
6
6
|
* Manage Your podOS platform
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.22.
|
|
8
|
+
* The version of the OpenAPI document: 0.22.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1683,11 +1683,14 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1683
1683
|
/**
|
|
1684
1684
|
* Create a new client platform domain
|
|
1685
1685
|
* @summary Create a platform client domain
|
|
1686
|
+
* @param {string} project Project unique identifier
|
|
1686
1687
|
* @param {CreateDomainRequest} [createDomainRequest]
|
|
1687
1688
|
* @param {*} [options] Override http request option.
|
|
1688
1689
|
* @throws {RequiredError}
|
|
1689
1690
|
*/
|
|
1690
|
-
createClientDomain: (createDomainRequest_1, ...args_1) => __awaiter(this, [createDomainRequest_1, ...args_1], void 0, function* (createDomainRequest, options = {}) {
|
|
1691
|
+
createClientDomain: (project_1, createDomainRequest_1, ...args_1) => __awaiter(this, [project_1, createDomainRequest_1, ...args_1], void 0, function* (project, createDomainRequest, options = {}) {
|
|
1692
|
+
// verify required parameter 'project' is not null or undefined
|
|
1693
|
+
(0, common_1.assertParamExists)('createClientDomain', 'project', project);
|
|
1691
1694
|
const localVarPath = `/v1/platform/clients/domains`;
|
|
1692
1695
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1693
1696
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1703,6 +1706,9 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1703
1706
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1704
1707
|
// authentication api-key required
|
|
1705
1708
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1709
|
+
if (project !== undefined) {
|
|
1710
|
+
localVarQueryParameter['project'] = project;
|
|
1711
|
+
}
|
|
1706
1712
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1707
1713
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1708
1714
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1716,11 +1722,14 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1716
1722
|
/**
|
|
1717
1723
|
* Create a new platform domain
|
|
1718
1724
|
* @summary Create a platform domain
|
|
1725
|
+
* @param {string} project Project unique identifier
|
|
1719
1726
|
* @param {CreateDomainRequest} [createDomainRequest]
|
|
1720
1727
|
* @param {*} [options] Override http request option.
|
|
1721
1728
|
* @throws {RequiredError}
|
|
1722
1729
|
*/
|
|
1723
|
-
createDomain: (createDomainRequest_1, ...args_1) => __awaiter(this, [createDomainRequest_1, ...args_1], void 0, function* (createDomainRequest, options = {}) {
|
|
1730
|
+
createDomain: (project_1, createDomainRequest_1, ...args_1) => __awaiter(this, [project_1, createDomainRequest_1, ...args_1], void 0, function* (project, createDomainRequest, options = {}) {
|
|
1731
|
+
// verify required parameter 'project' is not null or undefined
|
|
1732
|
+
(0, common_1.assertParamExists)('createDomain', 'project', project);
|
|
1724
1733
|
const localVarPath = `/v1/platform/domains`;
|
|
1725
1734
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1726
1735
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1736,6 +1745,9 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1736
1745
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1737
1746
|
// authentication api-key required
|
|
1738
1747
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1748
|
+
if (project !== undefined) {
|
|
1749
|
+
localVarQueryParameter['project'] = project;
|
|
1750
|
+
}
|
|
1739
1751
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1740
1752
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1741
1753
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1749,11 +1761,14 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1749
1761
|
/**
|
|
1750
1762
|
* Delete an existing client platform domain
|
|
1751
1763
|
* @summary Delete a platform client domain
|
|
1764
|
+
* @param {string} project Project unique identifier
|
|
1752
1765
|
* @param {string} domain The domain identifier
|
|
1753
1766
|
* @param {*} [options] Override http request option.
|
|
1754
1767
|
* @throws {RequiredError}
|
|
1755
1768
|
*/
|
|
1756
|
-
deleteClientDomain: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
|
|
1769
|
+
deleteClientDomain: (project_1, domain_1, ...args_1) => __awaiter(this, [project_1, domain_1, ...args_1], void 0, function* (project, domain, options = {}) {
|
|
1770
|
+
// verify required parameter 'project' is not null or undefined
|
|
1771
|
+
(0, common_1.assertParamExists)('deleteClientDomain', 'project', project);
|
|
1757
1772
|
// verify required parameter 'domain' is not null or undefined
|
|
1758
1773
|
(0, common_1.assertParamExists)('deleteClientDomain', 'domain', domain);
|
|
1759
1774
|
const localVarPath = `/v1/platform/clients/domains/{domain}`
|
|
@@ -1772,6 +1787,9 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1772
1787
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1773
1788
|
// authentication api-key required
|
|
1774
1789
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1790
|
+
if (project !== undefined) {
|
|
1791
|
+
localVarQueryParameter['project'] = project;
|
|
1792
|
+
}
|
|
1775
1793
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1776
1794
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1777
1795
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1783,11 +1801,14 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1783
1801
|
/**
|
|
1784
1802
|
* Delete an existing platform domain
|
|
1785
1803
|
* @summary Delete a platform domain
|
|
1804
|
+
* @param {string} project Project unique identifier
|
|
1786
1805
|
* @param {string} domain The domain identifier
|
|
1787
1806
|
* @param {*} [options] Override http request option.
|
|
1788
1807
|
* @throws {RequiredError}
|
|
1789
1808
|
*/
|
|
1790
|
-
deleteDomain: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
|
|
1809
|
+
deleteDomain: (project_1, domain_1, ...args_1) => __awaiter(this, [project_1, domain_1, ...args_1], void 0, function* (project, domain, options = {}) {
|
|
1810
|
+
// verify required parameter 'project' is not null or undefined
|
|
1811
|
+
(0, common_1.assertParamExists)('deleteDomain', 'project', project);
|
|
1791
1812
|
// verify required parameter 'domain' is not null or undefined
|
|
1792
1813
|
(0, common_1.assertParamExists)('deleteDomain', 'domain', domain);
|
|
1793
1814
|
const localVarPath = `/v1/platform/domains/{domain}`
|
|
@@ -1806,6 +1827,9 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1806
1827
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1807
1828
|
// authentication api-key required
|
|
1808
1829
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1830
|
+
if (project !== undefined) {
|
|
1831
|
+
localVarQueryParameter['project'] = project;
|
|
1832
|
+
}
|
|
1809
1833
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1810
1834
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1811
1835
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1853,10 +1877,13 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1853
1877
|
/**
|
|
1854
1878
|
* List the client domains attached to a platform
|
|
1855
1879
|
* @summary List platform client domains
|
|
1880
|
+
* @param {string} project Project unique identifier
|
|
1856
1881
|
* @param {*} [options] Override http request option.
|
|
1857
1882
|
* @throws {RequiredError}
|
|
1858
1883
|
*/
|
|
1859
|
-
listClientDomains: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
1884
|
+
listClientDomains: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
1885
|
+
// verify required parameter 'project' is not null or undefined
|
|
1886
|
+
(0, common_1.assertParamExists)('listClientDomains', 'project', project);
|
|
1860
1887
|
const localVarPath = `/v1/platform/clients/domains`;
|
|
1861
1888
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1862
1889
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1872,6 +1899,9 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1872
1899
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1873
1900
|
// authentication api-key required
|
|
1874
1901
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1902
|
+
if (project !== undefined) {
|
|
1903
|
+
localVarQueryParameter['project'] = project;
|
|
1904
|
+
}
|
|
1875
1905
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1876
1906
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1877
1907
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1883,10 +1913,13 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1883
1913
|
/**
|
|
1884
1914
|
* List the domains attached to a platform
|
|
1885
1915
|
* @summary List platform domains
|
|
1916
|
+
* @param {string} project Project unique identifier
|
|
1886
1917
|
* @param {*} [options] Override http request option.
|
|
1887
1918
|
* @throws {RequiredError}
|
|
1888
1919
|
*/
|
|
1889
|
-
listDomains: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
1920
|
+
listDomains: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
1921
|
+
// verify required parameter 'project' is not null or undefined
|
|
1922
|
+
(0, common_1.assertParamExists)('listDomains', 'project', project);
|
|
1890
1923
|
const localVarPath = `/v1/platform/domains`;
|
|
1891
1924
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1892
1925
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1902,6 +1935,9 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1902
1935
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1903
1936
|
// authentication api-key required
|
|
1904
1937
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1938
|
+
if (project !== undefined) {
|
|
1939
|
+
localVarQueryParameter['project'] = project;
|
|
1940
|
+
}
|
|
1905
1941
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1906
1942
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1907
1943
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1964,14 +2000,15 @@ const PlatformApiFp = function (configuration) {
|
|
|
1964
2000
|
/**
|
|
1965
2001
|
* Create a new client platform domain
|
|
1966
2002
|
* @summary Create a platform client domain
|
|
2003
|
+
* @param {string} project Project unique identifier
|
|
1967
2004
|
* @param {CreateDomainRequest} [createDomainRequest]
|
|
1968
2005
|
* @param {*} [options] Override http request option.
|
|
1969
2006
|
* @throws {RequiredError}
|
|
1970
2007
|
*/
|
|
1971
|
-
createClientDomain(createDomainRequest, options) {
|
|
2008
|
+
createClientDomain(project, createDomainRequest, options) {
|
|
1972
2009
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1973
2010
|
var _a, _b, _c;
|
|
1974
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createClientDomain(createDomainRequest, options);
|
|
2011
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createClientDomain(project, createDomainRequest, options);
|
|
1975
2012
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1976
2013
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlatformApi.createClientDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1977
2014
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1980,14 +2017,15 @@ const PlatformApiFp = function (configuration) {
|
|
|
1980
2017
|
/**
|
|
1981
2018
|
* Create a new platform domain
|
|
1982
2019
|
* @summary Create a platform domain
|
|
2020
|
+
* @param {string} project Project unique identifier
|
|
1983
2021
|
* @param {CreateDomainRequest} [createDomainRequest]
|
|
1984
2022
|
* @param {*} [options] Override http request option.
|
|
1985
2023
|
* @throws {RequiredError}
|
|
1986
2024
|
*/
|
|
1987
|
-
createDomain(createDomainRequest, options) {
|
|
2025
|
+
createDomain(project, createDomainRequest, options) {
|
|
1988
2026
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1989
2027
|
var _a, _b, _c;
|
|
1990
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createDomain(createDomainRequest, options);
|
|
2028
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createDomain(project, createDomainRequest, options);
|
|
1991
2029
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1992
2030
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlatformApi.createDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1993
2031
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1996,14 +2034,15 @@ const PlatformApiFp = function (configuration) {
|
|
|
1996
2034
|
/**
|
|
1997
2035
|
* Delete an existing client platform domain
|
|
1998
2036
|
* @summary Delete a platform client domain
|
|
2037
|
+
* @param {string} project Project unique identifier
|
|
1999
2038
|
* @param {string} domain The domain identifier
|
|
2000
2039
|
* @param {*} [options] Override http request option.
|
|
2001
2040
|
* @throws {RequiredError}
|
|
2002
2041
|
*/
|
|
2003
|
-
deleteClientDomain(domain, options) {
|
|
2042
|
+
deleteClientDomain(project, domain, options) {
|
|
2004
2043
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2005
2044
|
var _a, _b, _c;
|
|
2006
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteClientDomain(domain, options);
|
|
2045
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteClientDomain(project, domain, options);
|
|
2007
2046
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2008
2047
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlatformApi.deleteClientDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2009
2048
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2012,14 +2051,15 @@ const PlatformApiFp = function (configuration) {
|
|
|
2012
2051
|
/**
|
|
2013
2052
|
* Delete an existing platform domain
|
|
2014
2053
|
* @summary Delete a platform domain
|
|
2054
|
+
* @param {string} project Project unique identifier
|
|
2015
2055
|
* @param {string} domain The domain identifier
|
|
2016
2056
|
* @param {*} [options] Override http request option.
|
|
2017
2057
|
* @throws {RequiredError}
|
|
2018
2058
|
*/
|
|
2019
|
-
deleteDomain(domain, options) {
|
|
2059
|
+
deleteDomain(project, domain, options) {
|
|
2020
2060
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2021
2061
|
var _a, _b, _c;
|
|
2022
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDomain(domain, options);
|
|
2062
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDomain(project, domain, options);
|
|
2023
2063
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2024
2064
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlatformApi.deleteDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2025
2065
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2044,13 +2084,14 @@ const PlatformApiFp = function (configuration) {
|
|
|
2044
2084
|
/**
|
|
2045
2085
|
* List the client domains attached to a platform
|
|
2046
2086
|
* @summary List platform client domains
|
|
2087
|
+
* @param {string} project Project unique identifier
|
|
2047
2088
|
* @param {*} [options] Override http request option.
|
|
2048
2089
|
* @throws {RequiredError}
|
|
2049
2090
|
*/
|
|
2050
|
-
listClientDomains(options) {
|
|
2091
|
+
listClientDomains(project, options) {
|
|
2051
2092
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2052
2093
|
var _a, _b, _c;
|
|
2053
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listClientDomains(options);
|
|
2094
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listClientDomains(project, options);
|
|
2054
2095
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2055
2096
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlatformApi.listClientDomains']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2056
2097
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2059,13 +2100,14 @@ const PlatformApiFp = function (configuration) {
|
|
|
2059
2100
|
/**
|
|
2060
2101
|
* List the domains attached to a platform
|
|
2061
2102
|
* @summary List platform domains
|
|
2103
|
+
* @param {string} project Project unique identifier
|
|
2062
2104
|
* @param {*} [options] Override http request option.
|
|
2063
2105
|
* @throws {RequiredError}
|
|
2064
2106
|
*/
|
|
2065
|
-
listDomains(options) {
|
|
2107
|
+
listDomains(project, options) {
|
|
2066
2108
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2067
2109
|
var _a, _b, _c;
|
|
2068
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listDomains(options);
|
|
2110
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listDomains(project, options);
|
|
2069
2111
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2070
2112
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlatformApi.listDomains']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2071
2113
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2105,8 +2147,8 @@ const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
2105
2147
|
* @param {*} [options] Override http request option.
|
|
2106
2148
|
* @throws {RequiredError}
|
|
2107
2149
|
*/
|
|
2108
|
-
createClientDomain(requestParameters
|
|
2109
|
-
return localVarFp.createClientDomain(requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
|
|
2150
|
+
createClientDomain(requestParameters, options) {
|
|
2151
|
+
return localVarFp.createClientDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
|
|
2110
2152
|
},
|
|
2111
2153
|
/**
|
|
2112
2154
|
* Create a new platform domain
|
|
@@ -2115,8 +2157,8 @@ const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
2115
2157
|
* @param {*} [options] Override http request option.
|
|
2116
2158
|
* @throws {RequiredError}
|
|
2117
2159
|
*/
|
|
2118
|
-
createDomain(requestParameters
|
|
2119
|
-
return localVarFp.createDomain(requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
|
|
2160
|
+
createDomain(requestParameters, options) {
|
|
2161
|
+
return localVarFp.createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
|
|
2120
2162
|
},
|
|
2121
2163
|
/**
|
|
2122
2164
|
* Delete an existing client platform domain
|
|
@@ -2126,7 +2168,7 @@ const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
2126
2168
|
* @throws {RequiredError}
|
|
2127
2169
|
*/
|
|
2128
2170
|
deleteClientDomain(requestParameters, options) {
|
|
2129
|
-
return localVarFp.deleteClientDomain(requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
2171
|
+
return localVarFp.deleteClientDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
2130
2172
|
},
|
|
2131
2173
|
/**
|
|
2132
2174
|
* Delete an existing platform domain
|
|
@@ -2136,7 +2178,7 @@ const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
2136
2178
|
* @throws {RequiredError}
|
|
2137
2179
|
*/
|
|
2138
2180
|
deleteDomain(requestParameters, options) {
|
|
2139
|
-
return localVarFp.deleteDomain(requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
2181
|
+
return localVarFp.deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
2140
2182
|
},
|
|
2141
2183
|
/**
|
|
2142
2184
|
*
|
|
@@ -2151,20 +2193,22 @@ const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
2151
2193
|
/**
|
|
2152
2194
|
* List the client domains attached to a platform
|
|
2153
2195
|
* @summary List platform client domains
|
|
2196
|
+
* @param {PlatformApiListClientDomainsRequest} requestParameters Request parameters.
|
|
2154
2197
|
* @param {*} [options] Override http request option.
|
|
2155
2198
|
* @throws {RequiredError}
|
|
2156
2199
|
*/
|
|
2157
|
-
listClientDomains(options) {
|
|
2158
|
-
return localVarFp.listClientDomains(options).then((request) => request(axios, basePath));
|
|
2200
|
+
listClientDomains(requestParameters, options) {
|
|
2201
|
+
return localVarFp.listClientDomains(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2159
2202
|
},
|
|
2160
2203
|
/**
|
|
2161
2204
|
* List the domains attached to a platform
|
|
2162
2205
|
* @summary List platform domains
|
|
2206
|
+
* @param {PlatformApiListDomainsRequest} requestParameters Request parameters.
|
|
2163
2207
|
* @param {*} [options] Override http request option.
|
|
2164
2208
|
* @throws {RequiredError}
|
|
2165
2209
|
*/
|
|
2166
|
-
listDomains(options) {
|
|
2167
|
-
return localVarFp.listDomains(options).then((request) => request(axios, basePath));
|
|
2210
|
+
listDomains(requestParameters, options) {
|
|
2211
|
+
return localVarFp.listDomains(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2168
2212
|
},
|
|
2169
2213
|
/**
|
|
2170
2214
|
*
|
|
@@ -2194,8 +2238,8 @@ class PlatformApi extends base_1.BaseAPI {
|
|
|
2194
2238
|
* @throws {RequiredError}
|
|
2195
2239
|
* @memberof PlatformApi
|
|
2196
2240
|
*/
|
|
2197
|
-
createClientDomain(requestParameters
|
|
2198
|
-
return (0, exports.PlatformApiFp)(this.configuration).createClientDomain(requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2241
|
+
createClientDomain(requestParameters, options) {
|
|
2242
|
+
return (0, exports.PlatformApiFp)(this.configuration).createClientDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2199
2243
|
}
|
|
2200
2244
|
/**
|
|
2201
2245
|
* Create a new platform domain
|
|
@@ -2205,8 +2249,8 @@ class PlatformApi extends base_1.BaseAPI {
|
|
|
2205
2249
|
* @throws {RequiredError}
|
|
2206
2250
|
* @memberof PlatformApi
|
|
2207
2251
|
*/
|
|
2208
|
-
createDomain(requestParameters
|
|
2209
|
-
return (0, exports.PlatformApiFp)(this.configuration).createDomain(requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2252
|
+
createDomain(requestParameters, options) {
|
|
2253
|
+
return (0, exports.PlatformApiFp)(this.configuration).createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2210
2254
|
}
|
|
2211
2255
|
/**
|
|
2212
2256
|
* Delete an existing client platform domain
|
|
@@ -2217,7 +2261,7 @@ class PlatformApi extends base_1.BaseAPI {
|
|
|
2217
2261
|
* @memberof PlatformApi
|
|
2218
2262
|
*/
|
|
2219
2263
|
deleteClientDomain(requestParameters, options) {
|
|
2220
|
-
return (0, exports.PlatformApiFp)(this.configuration).deleteClientDomain(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
2264
|
+
return (0, exports.PlatformApiFp)(this.configuration).deleteClientDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
2221
2265
|
}
|
|
2222
2266
|
/**
|
|
2223
2267
|
* Delete an existing platform domain
|
|
@@ -2228,7 +2272,7 @@ class PlatformApi extends base_1.BaseAPI {
|
|
|
2228
2272
|
* @memberof PlatformApi
|
|
2229
2273
|
*/
|
|
2230
2274
|
deleteDomain(requestParameters, options) {
|
|
2231
|
-
return (0, exports.PlatformApiFp)(this.configuration).deleteDomain(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
2275
|
+
return (0, exports.PlatformApiFp)(this.configuration).deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
2232
2276
|
}
|
|
2233
2277
|
/**
|
|
2234
2278
|
*
|
|
@@ -2244,22 +2288,24 @@ class PlatformApi extends base_1.BaseAPI {
|
|
|
2244
2288
|
/**
|
|
2245
2289
|
* List the client domains attached to a platform
|
|
2246
2290
|
* @summary List platform client domains
|
|
2291
|
+
* @param {PlatformApiListClientDomainsRequest} requestParameters Request parameters.
|
|
2247
2292
|
* @param {*} [options] Override http request option.
|
|
2248
2293
|
* @throws {RequiredError}
|
|
2249
2294
|
* @memberof PlatformApi
|
|
2250
2295
|
*/
|
|
2251
|
-
listClientDomains(options) {
|
|
2252
|
-
return (0, exports.PlatformApiFp)(this.configuration).listClientDomains(options).then((request) => request(this.axios, this.basePath));
|
|
2296
|
+
listClientDomains(requestParameters, options) {
|
|
2297
|
+
return (0, exports.PlatformApiFp)(this.configuration).listClientDomains(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2253
2298
|
}
|
|
2254
2299
|
/**
|
|
2255
2300
|
* List the domains attached to a platform
|
|
2256
2301
|
* @summary List platform domains
|
|
2302
|
+
* @param {PlatformApiListDomainsRequest} requestParameters Request parameters.
|
|
2257
2303
|
* @param {*} [options] Override http request option.
|
|
2258
2304
|
* @throws {RequiredError}
|
|
2259
2305
|
* @memberof PlatformApi
|
|
2260
2306
|
*/
|
|
2261
|
-
listDomains(options) {
|
|
2262
|
-
return (0, exports.PlatformApiFp)(this.configuration).listDomains(options).then((request) => request(this.axios, this.basePath));
|
|
2307
|
+
listDomains(requestParameters, options) {
|
|
2308
|
+
return (0, exports.PlatformApiFp)(this.configuration).listDomains(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2263
2309
|
}
|
|
2264
2310
|
/**
|
|
2265
2311
|
*
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED