@teemill/platform 0.21.0 → 0.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -3
- package/api.ts +685 -16
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +388 -17
- package/dist/api.js +457 -1
- 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 +388 -17
- package/dist/esm/api.js +457 -1
- 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/CreateDomainRequest.md +20 -0
- package/docs/Domain.md +26 -0
- package/docs/InlineObject.md +22 -0
- package/docs/InlineObject1.md +20 -0
- package/docs/PaymentApi.md +2 -2
- package/docs/PlatformApi.md +356 -0
- 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.
|
|
8
|
+
* The version of the OpenAPI document: 0.22.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1680,6 +1680,164 @@ exports.PaymentApi = PaymentApi;
|
|
|
1680
1680
|
*/
|
|
1681
1681
|
const PlatformApiAxiosParamCreator = function (configuration) {
|
|
1682
1682
|
return {
|
|
1683
|
+
/**
|
|
1684
|
+
* Create a new client platform domain
|
|
1685
|
+
* @summary Create a platform client domain
|
|
1686
|
+
* @param {string} project Project unique identifier
|
|
1687
|
+
* @param {CreateDomainRequest} [createDomainRequest]
|
|
1688
|
+
* @param {*} [options] Override http request option.
|
|
1689
|
+
* @throws {RequiredError}
|
|
1690
|
+
*/
|
|
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);
|
|
1694
|
+
const localVarPath = `/v1/platform/clients/domains`;
|
|
1695
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1696
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1697
|
+
let baseOptions;
|
|
1698
|
+
if (configuration) {
|
|
1699
|
+
baseOptions = configuration.baseOptions;
|
|
1700
|
+
}
|
|
1701
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1702
|
+
const localVarHeaderParameter = {};
|
|
1703
|
+
const localVarQueryParameter = {};
|
|
1704
|
+
// authentication session-oauth required
|
|
1705
|
+
// oauth required
|
|
1706
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1707
|
+
// authentication api-key required
|
|
1708
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1709
|
+
if (project !== undefined) {
|
|
1710
|
+
localVarQueryParameter['project'] = project;
|
|
1711
|
+
}
|
|
1712
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1713
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1714
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1715
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1716
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDomainRequest, localVarRequestOptions, configuration);
|
|
1717
|
+
return {
|
|
1718
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1719
|
+
options: localVarRequestOptions,
|
|
1720
|
+
};
|
|
1721
|
+
}),
|
|
1722
|
+
/**
|
|
1723
|
+
* Create a new platform domain
|
|
1724
|
+
* @summary Create a platform domain
|
|
1725
|
+
* @param {string} project Project unique identifier
|
|
1726
|
+
* @param {CreateDomainRequest} [createDomainRequest]
|
|
1727
|
+
* @param {*} [options] Override http request option.
|
|
1728
|
+
* @throws {RequiredError}
|
|
1729
|
+
*/
|
|
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);
|
|
1733
|
+
const localVarPath = `/v1/platform/domains`;
|
|
1734
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1735
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1736
|
+
let baseOptions;
|
|
1737
|
+
if (configuration) {
|
|
1738
|
+
baseOptions = configuration.baseOptions;
|
|
1739
|
+
}
|
|
1740
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1741
|
+
const localVarHeaderParameter = {};
|
|
1742
|
+
const localVarQueryParameter = {};
|
|
1743
|
+
// authentication session-oauth required
|
|
1744
|
+
// oauth required
|
|
1745
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1746
|
+
// authentication api-key required
|
|
1747
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1748
|
+
if (project !== undefined) {
|
|
1749
|
+
localVarQueryParameter['project'] = project;
|
|
1750
|
+
}
|
|
1751
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1752
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1753
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1754
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1755
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDomainRequest, localVarRequestOptions, configuration);
|
|
1756
|
+
return {
|
|
1757
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1758
|
+
options: localVarRequestOptions,
|
|
1759
|
+
};
|
|
1760
|
+
}),
|
|
1761
|
+
/**
|
|
1762
|
+
* Delete an existing client platform domain
|
|
1763
|
+
* @summary Delete a platform client domain
|
|
1764
|
+
* @param {string} project Project unique identifier
|
|
1765
|
+
* @param {string} domain The domain identifier
|
|
1766
|
+
* @param {*} [options] Override http request option.
|
|
1767
|
+
* @throws {RequiredError}
|
|
1768
|
+
*/
|
|
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);
|
|
1772
|
+
// verify required parameter 'domain' is not null or undefined
|
|
1773
|
+
(0, common_1.assertParamExists)('deleteClientDomain', 'domain', domain);
|
|
1774
|
+
const localVarPath = `/v1/platform/clients/domains/{domain}`
|
|
1775
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
1776
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1777
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1778
|
+
let baseOptions;
|
|
1779
|
+
if (configuration) {
|
|
1780
|
+
baseOptions = configuration.baseOptions;
|
|
1781
|
+
}
|
|
1782
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
1783
|
+
const localVarHeaderParameter = {};
|
|
1784
|
+
const localVarQueryParameter = {};
|
|
1785
|
+
// authentication session-oauth required
|
|
1786
|
+
// oauth required
|
|
1787
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1788
|
+
// authentication api-key required
|
|
1789
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1790
|
+
if (project !== undefined) {
|
|
1791
|
+
localVarQueryParameter['project'] = project;
|
|
1792
|
+
}
|
|
1793
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1794
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1795
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1796
|
+
return {
|
|
1797
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1798
|
+
options: localVarRequestOptions,
|
|
1799
|
+
};
|
|
1800
|
+
}),
|
|
1801
|
+
/**
|
|
1802
|
+
* Delete an existing platform domain
|
|
1803
|
+
* @summary Delete a platform domain
|
|
1804
|
+
* @param {string} project Project unique identifier
|
|
1805
|
+
* @param {string} domain The domain identifier
|
|
1806
|
+
* @param {*} [options] Override http request option.
|
|
1807
|
+
* @throws {RequiredError}
|
|
1808
|
+
*/
|
|
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);
|
|
1812
|
+
// verify required parameter 'domain' is not null or undefined
|
|
1813
|
+
(0, common_1.assertParamExists)('deleteDomain', 'domain', domain);
|
|
1814
|
+
const localVarPath = `/v1/platform/domains/{domain}`
|
|
1815
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
1816
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1817
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1818
|
+
let baseOptions;
|
|
1819
|
+
if (configuration) {
|
|
1820
|
+
baseOptions = configuration.baseOptions;
|
|
1821
|
+
}
|
|
1822
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
1823
|
+
const localVarHeaderParameter = {};
|
|
1824
|
+
const localVarQueryParameter = {};
|
|
1825
|
+
// authentication session-oauth required
|
|
1826
|
+
// oauth required
|
|
1827
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1828
|
+
// authentication api-key required
|
|
1829
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1830
|
+
if (project !== undefined) {
|
|
1831
|
+
localVarQueryParameter['project'] = project;
|
|
1832
|
+
}
|
|
1833
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1834
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1835
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1836
|
+
return {
|
|
1837
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1838
|
+
options: localVarRequestOptions,
|
|
1839
|
+
};
|
|
1840
|
+
}),
|
|
1683
1841
|
/**
|
|
1684
1842
|
*
|
|
1685
1843
|
* @summary Get platform details
|
|
@@ -1716,6 +1874,78 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1716
1874
|
options: localVarRequestOptions,
|
|
1717
1875
|
};
|
|
1718
1876
|
}),
|
|
1877
|
+
/**
|
|
1878
|
+
* List the client domains attached to a platform
|
|
1879
|
+
* @summary List platform client domains
|
|
1880
|
+
* @param {string} project Project unique identifier
|
|
1881
|
+
* @param {*} [options] Override http request option.
|
|
1882
|
+
* @throws {RequiredError}
|
|
1883
|
+
*/
|
|
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);
|
|
1887
|
+
const localVarPath = `/v1/platform/clients/domains`;
|
|
1888
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1889
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1890
|
+
let baseOptions;
|
|
1891
|
+
if (configuration) {
|
|
1892
|
+
baseOptions = configuration.baseOptions;
|
|
1893
|
+
}
|
|
1894
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1895
|
+
const localVarHeaderParameter = {};
|
|
1896
|
+
const localVarQueryParameter = {};
|
|
1897
|
+
// authentication session-oauth required
|
|
1898
|
+
// oauth required
|
|
1899
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1900
|
+
// authentication api-key required
|
|
1901
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1902
|
+
if (project !== undefined) {
|
|
1903
|
+
localVarQueryParameter['project'] = project;
|
|
1904
|
+
}
|
|
1905
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1906
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1907
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1908
|
+
return {
|
|
1909
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1910
|
+
options: localVarRequestOptions,
|
|
1911
|
+
};
|
|
1912
|
+
}),
|
|
1913
|
+
/**
|
|
1914
|
+
* List the domains attached to a platform
|
|
1915
|
+
* @summary List platform domains
|
|
1916
|
+
* @param {string} project Project unique identifier
|
|
1917
|
+
* @param {*} [options] Override http request option.
|
|
1918
|
+
* @throws {RequiredError}
|
|
1919
|
+
*/
|
|
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);
|
|
1923
|
+
const localVarPath = `/v1/platform/domains`;
|
|
1924
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1925
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1926
|
+
let baseOptions;
|
|
1927
|
+
if (configuration) {
|
|
1928
|
+
baseOptions = configuration.baseOptions;
|
|
1929
|
+
}
|
|
1930
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1931
|
+
const localVarHeaderParameter = {};
|
|
1932
|
+
const localVarQueryParameter = {};
|
|
1933
|
+
// authentication session-oauth required
|
|
1934
|
+
// oauth required
|
|
1935
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1936
|
+
// authentication api-key required
|
|
1937
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1938
|
+
if (project !== undefined) {
|
|
1939
|
+
localVarQueryParameter['project'] = project;
|
|
1940
|
+
}
|
|
1941
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1942
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1943
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1944
|
+
return {
|
|
1945
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1946
|
+
options: localVarRequestOptions,
|
|
1947
|
+
};
|
|
1948
|
+
}),
|
|
1719
1949
|
/**
|
|
1720
1950
|
*
|
|
1721
1951
|
* @summary Update platform
|
|
@@ -1767,6 +1997,74 @@ exports.PlatformApiAxiosParamCreator = PlatformApiAxiosParamCreator;
|
|
|
1767
1997
|
const PlatformApiFp = function (configuration) {
|
|
1768
1998
|
const localVarAxiosParamCreator = (0, exports.PlatformApiAxiosParamCreator)(configuration);
|
|
1769
1999
|
return {
|
|
2000
|
+
/**
|
|
2001
|
+
* Create a new client platform domain
|
|
2002
|
+
* @summary Create a platform client domain
|
|
2003
|
+
* @param {string} project Project unique identifier
|
|
2004
|
+
* @param {CreateDomainRequest} [createDomainRequest]
|
|
2005
|
+
* @param {*} [options] Override http request option.
|
|
2006
|
+
* @throws {RequiredError}
|
|
2007
|
+
*/
|
|
2008
|
+
createClientDomain(project, createDomainRequest, options) {
|
|
2009
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2010
|
+
var _a, _b, _c;
|
|
2011
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createClientDomain(project, createDomainRequest, options);
|
|
2012
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
2014
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2015
|
+
});
|
|
2016
|
+
},
|
|
2017
|
+
/**
|
|
2018
|
+
* Create a new platform domain
|
|
2019
|
+
* @summary Create a platform domain
|
|
2020
|
+
* @param {string} project Project unique identifier
|
|
2021
|
+
* @param {CreateDomainRequest} [createDomainRequest]
|
|
2022
|
+
* @param {*} [options] Override http request option.
|
|
2023
|
+
* @throws {RequiredError}
|
|
2024
|
+
*/
|
|
2025
|
+
createDomain(project, createDomainRequest, options) {
|
|
2026
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2027
|
+
var _a, _b, _c;
|
|
2028
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createDomain(project, createDomainRequest, options);
|
|
2029
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
2031
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2032
|
+
});
|
|
2033
|
+
},
|
|
2034
|
+
/**
|
|
2035
|
+
* Delete an existing client platform domain
|
|
2036
|
+
* @summary Delete a platform client domain
|
|
2037
|
+
* @param {string} project Project unique identifier
|
|
2038
|
+
* @param {string} domain The domain identifier
|
|
2039
|
+
* @param {*} [options] Override http request option.
|
|
2040
|
+
* @throws {RequiredError}
|
|
2041
|
+
*/
|
|
2042
|
+
deleteClientDomain(project, domain, options) {
|
|
2043
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2044
|
+
var _a, _b, _c;
|
|
2045
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteClientDomain(project, domain, options);
|
|
2046
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
2048
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2049
|
+
});
|
|
2050
|
+
},
|
|
2051
|
+
/**
|
|
2052
|
+
* Delete an existing platform domain
|
|
2053
|
+
* @summary Delete a platform domain
|
|
2054
|
+
* @param {string} project Project unique identifier
|
|
2055
|
+
* @param {string} domain The domain identifier
|
|
2056
|
+
* @param {*} [options] Override http request option.
|
|
2057
|
+
* @throws {RequiredError}
|
|
2058
|
+
*/
|
|
2059
|
+
deleteDomain(project, domain, options) {
|
|
2060
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2061
|
+
var _a, _b, _c;
|
|
2062
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDomain(project, domain, options);
|
|
2063
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
2065
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2066
|
+
});
|
|
2067
|
+
},
|
|
1770
2068
|
/**
|
|
1771
2069
|
*
|
|
1772
2070
|
* @summary Get platform details
|
|
@@ -1783,6 +2081,38 @@ const PlatformApiFp = function (configuration) {
|
|
|
1783
2081
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1784
2082
|
});
|
|
1785
2083
|
},
|
|
2084
|
+
/**
|
|
2085
|
+
* List the client domains attached to a platform
|
|
2086
|
+
* @summary List platform client domains
|
|
2087
|
+
* @param {string} project Project unique identifier
|
|
2088
|
+
* @param {*} [options] Override http request option.
|
|
2089
|
+
* @throws {RequiredError}
|
|
2090
|
+
*/
|
|
2091
|
+
listClientDomains(project, options) {
|
|
2092
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2093
|
+
var _a, _b, _c;
|
|
2094
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listClientDomains(project, options);
|
|
2095
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
2097
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2098
|
+
});
|
|
2099
|
+
},
|
|
2100
|
+
/**
|
|
2101
|
+
* List the domains attached to a platform
|
|
2102
|
+
* @summary List platform domains
|
|
2103
|
+
* @param {string} project Project unique identifier
|
|
2104
|
+
* @param {*} [options] Override http request option.
|
|
2105
|
+
* @throws {RequiredError}
|
|
2106
|
+
*/
|
|
2107
|
+
listDomains(project, options) {
|
|
2108
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2109
|
+
var _a, _b, _c;
|
|
2110
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listDomains(project, options);
|
|
2111
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
2113
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2114
|
+
});
|
|
2115
|
+
},
|
|
1786
2116
|
/**
|
|
1787
2117
|
*
|
|
1788
2118
|
* @summary Update platform
|
|
@@ -1810,6 +2140,46 @@ exports.PlatformApiFp = PlatformApiFp;
|
|
|
1810
2140
|
const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
1811
2141
|
const localVarFp = (0, exports.PlatformApiFp)(configuration);
|
|
1812
2142
|
return {
|
|
2143
|
+
/**
|
|
2144
|
+
* Create a new client platform domain
|
|
2145
|
+
* @summary Create a platform client domain
|
|
2146
|
+
* @param {PlatformApiCreateClientDomainRequest} requestParameters Request parameters.
|
|
2147
|
+
* @param {*} [options] Override http request option.
|
|
2148
|
+
* @throws {RequiredError}
|
|
2149
|
+
*/
|
|
2150
|
+
createClientDomain(requestParameters, options) {
|
|
2151
|
+
return localVarFp.createClientDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
|
|
2152
|
+
},
|
|
2153
|
+
/**
|
|
2154
|
+
* Create a new platform domain
|
|
2155
|
+
* @summary Create a platform domain
|
|
2156
|
+
* @param {PlatformApiCreateDomainRequest} requestParameters Request parameters.
|
|
2157
|
+
* @param {*} [options] Override http request option.
|
|
2158
|
+
* @throws {RequiredError}
|
|
2159
|
+
*/
|
|
2160
|
+
createDomain(requestParameters, options) {
|
|
2161
|
+
return localVarFp.createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
|
|
2162
|
+
},
|
|
2163
|
+
/**
|
|
2164
|
+
* Delete an existing client platform domain
|
|
2165
|
+
* @summary Delete a platform client domain
|
|
2166
|
+
* @param {PlatformApiDeleteClientDomainRequest} requestParameters Request parameters.
|
|
2167
|
+
* @param {*} [options] Override http request option.
|
|
2168
|
+
* @throws {RequiredError}
|
|
2169
|
+
*/
|
|
2170
|
+
deleteClientDomain(requestParameters, options) {
|
|
2171
|
+
return localVarFp.deleteClientDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
2172
|
+
},
|
|
2173
|
+
/**
|
|
2174
|
+
* Delete an existing platform domain
|
|
2175
|
+
* @summary Delete a platform domain
|
|
2176
|
+
* @param {PlatformApiDeleteDomainRequest} requestParameters Request parameters.
|
|
2177
|
+
* @param {*} [options] Override http request option.
|
|
2178
|
+
* @throws {RequiredError}
|
|
2179
|
+
*/
|
|
2180
|
+
deleteDomain(requestParameters, options) {
|
|
2181
|
+
return localVarFp.deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
2182
|
+
},
|
|
1813
2183
|
/**
|
|
1814
2184
|
*
|
|
1815
2185
|
* @summary Get platform details
|
|
@@ -1820,6 +2190,26 @@ const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
1820
2190
|
getPlatform(requestParameters, options) {
|
|
1821
2191
|
return localVarFp.getPlatform(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1822
2192
|
},
|
|
2193
|
+
/**
|
|
2194
|
+
* List the client domains attached to a platform
|
|
2195
|
+
* @summary List platform client domains
|
|
2196
|
+
* @param {PlatformApiListClientDomainsRequest} requestParameters Request parameters.
|
|
2197
|
+
* @param {*} [options] Override http request option.
|
|
2198
|
+
* @throws {RequiredError}
|
|
2199
|
+
*/
|
|
2200
|
+
listClientDomains(requestParameters, options) {
|
|
2201
|
+
return localVarFp.listClientDomains(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2202
|
+
},
|
|
2203
|
+
/**
|
|
2204
|
+
* List the domains attached to a platform
|
|
2205
|
+
* @summary List platform domains
|
|
2206
|
+
* @param {PlatformApiListDomainsRequest} requestParameters Request parameters.
|
|
2207
|
+
* @param {*} [options] Override http request option.
|
|
2208
|
+
* @throws {RequiredError}
|
|
2209
|
+
*/
|
|
2210
|
+
listDomains(requestParameters, options) {
|
|
2211
|
+
return localVarFp.listDomains(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2212
|
+
},
|
|
1823
2213
|
/**
|
|
1824
2214
|
*
|
|
1825
2215
|
* @summary Update platform
|
|
@@ -1840,6 +2230,50 @@ exports.PlatformApiFactory = PlatformApiFactory;
|
|
|
1840
2230
|
* @extends {BaseAPI}
|
|
1841
2231
|
*/
|
|
1842
2232
|
class PlatformApi extends base_1.BaseAPI {
|
|
2233
|
+
/**
|
|
2234
|
+
* Create a new client platform domain
|
|
2235
|
+
* @summary Create a platform client domain
|
|
2236
|
+
* @param {PlatformApiCreateClientDomainRequest} requestParameters Request parameters.
|
|
2237
|
+
* @param {*} [options] Override http request option.
|
|
2238
|
+
* @throws {RequiredError}
|
|
2239
|
+
* @memberof PlatformApi
|
|
2240
|
+
*/
|
|
2241
|
+
createClientDomain(requestParameters, options) {
|
|
2242
|
+
return (0, exports.PlatformApiFp)(this.configuration).createClientDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2243
|
+
}
|
|
2244
|
+
/**
|
|
2245
|
+
* Create a new platform domain
|
|
2246
|
+
* @summary Create a platform domain
|
|
2247
|
+
* @param {PlatformApiCreateDomainRequest} requestParameters Request parameters.
|
|
2248
|
+
* @param {*} [options] Override http request option.
|
|
2249
|
+
* @throws {RequiredError}
|
|
2250
|
+
* @memberof PlatformApi
|
|
2251
|
+
*/
|
|
2252
|
+
createDomain(requestParameters, options) {
|
|
2253
|
+
return (0, exports.PlatformApiFp)(this.configuration).createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2254
|
+
}
|
|
2255
|
+
/**
|
|
2256
|
+
* Delete an existing client platform domain
|
|
2257
|
+
* @summary Delete a platform client domain
|
|
2258
|
+
* @param {PlatformApiDeleteClientDomainRequest} requestParameters Request parameters.
|
|
2259
|
+
* @param {*} [options] Override http request option.
|
|
2260
|
+
* @throws {RequiredError}
|
|
2261
|
+
* @memberof PlatformApi
|
|
2262
|
+
*/
|
|
2263
|
+
deleteClientDomain(requestParameters, options) {
|
|
2264
|
+
return (0, exports.PlatformApiFp)(this.configuration).deleteClientDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
2265
|
+
}
|
|
2266
|
+
/**
|
|
2267
|
+
* Delete an existing platform domain
|
|
2268
|
+
* @summary Delete a platform domain
|
|
2269
|
+
* @param {PlatformApiDeleteDomainRequest} requestParameters Request parameters.
|
|
2270
|
+
* @param {*} [options] Override http request option.
|
|
2271
|
+
* @throws {RequiredError}
|
|
2272
|
+
* @memberof PlatformApi
|
|
2273
|
+
*/
|
|
2274
|
+
deleteDomain(requestParameters, options) {
|
|
2275
|
+
return (0, exports.PlatformApiFp)(this.configuration).deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
2276
|
+
}
|
|
1843
2277
|
/**
|
|
1844
2278
|
*
|
|
1845
2279
|
* @summary Get platform details
|
|
@@ -1851,6 +2285,28 @@ class PlatformApi extends base_1.BaseAPI {
|
|
|
1851
2285
|
getPlatform(requestParameters, options) {
|
|
1852
2286
|
return (0, exports.PlatformApiFp)(this.configuration).getPlatform(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1853
2287
|
}
|
|
2288
|
+
/**
|
|
2289
|
+
* List the client domains attached to a platform
|
|
2290
|
+
* @summary List platform client domains
|
|
2291
|
+
* @param {PlatformApiListClientDomainsRequest} requestParameters Request parameters.
|
|
2292
|
+
* @param {*} [options] Override http request option.
|
|
2293
|
+
* @throws {RequiredError}
|
|
2294
|
+
* @memberof PlatformApi
|
|
2295
|
+
*/
|
|
2296
|
+
listClientDomains(requestParameters, options) {
|
|
2297
|
+
return (0, exports.PlatformApiFp)(this.configuration).listClientDomains(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2298
|
+
}
|
|
2299
|
+
/**
|
|
2300
|
+
* List the domains attached to a platform
|
|
2301
|
+
* @summary List platform domains
|
|
2302
|
+
* @param {PlatformApiListDomainsRequest} requestParameters Request parameters.
|
|
2303
|
+
* @param {*} [options] Override http request option.
|
|
2304
|
+
* @throws {RequiredError}
|
|
2305
|
+
* @memberof PlatformApi
|
|
2306
|
+
*/
|
|
2307
|
+
listDomains(requestParameters, options) {
|
|
2308
|
+
return (0, exports.PlatformApiFp)(this.configuration).listDomains(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2309
|
+
}
|
|
1854
2310
|
/**
|
|
1855
2311
|
*
|
|
1856
2312
|
* @summary Update platform
|
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