@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/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.22.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1661,6 +1661,164 @@ export class PaymentApi extends BaseAPI {
|
|
|
1661
1661
|
*/
|
|
1662
1662
|
export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
1663
1663
|
return {
|
|
1664
|
+
/**
|
|
1665
|
+
* Create a new client platform domain
|
|
1666
|
+
* @summary Create a platform client domain
|
|
1667
|
+
* @param {string} project Project unique identifier
|
|
1668
|
+
* @param {CreateDomainRequest} [createDomainRequest]
|
|
1669
|
+
* @param {*} [options] Override http request option.
|
|
1670
|
+
* @throws {RequiredError}
|
|
1671
|
+
*/
|
|
1672
|
+
createClientDomain: (project_1, createDomainRequest_1, ...args_1) => __awaiter(this, [project_1, createDomainRequest_1, ...args_1], void 0, function* (project, createDomainRequest, options = {}) {
|
|
1673
|
+
// verify required parameter 'project' is not null or undefined
|
|
1674
|
+
assertParamExists('createClientDomain', 'project', project);
|
|
1675
|
+
const localVarPath = `/v1/platform/clients/domains`;
|
|
1676
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1677
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1678
|
+
let baseOptions;
|
|
1679
|
+
if (configuration) {
|
|
1680
|
+
baseOptions = configuration.baseOptions;
|
|
1681
|
+
}
|
|
1682
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1683
|
+
const localVarHeaderParameter = {};
|
|
1684
|
+
const localVarQueryParameter = {};
|
|
1685
|
+
// authentication session-oauth required
|
|
1686
|
+
// oauth required
|
|
1687
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1688
|
+
// authentication api-key required
|
|
1689
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1690
|
+
if (project !== undefined) {
|
|
1691
|
+
localVarQueryParameter['project'] = project;
|
|
1692
|
+
}
|
|
1693
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1694
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1695
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1696
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1697
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createDomainRequest, localVarRequestOptions, configuration);
|
|
1698
|
+
return {
|
|
1699
|
+
url: toPathString(localVarUrlObj),
|
|
1700
|
+
options: localVarRequestOptions,
|
|
1701
|
+
};
|
|
1702
|
+
}),
|
|
1703
|
+
/**
|
|
1704
|
+
* Create a new platform domain
|
|
1705
|
+
* @summary Create a platform domain
|
|
1706
|
+
* @param {string} project Project unique identifier
|
|
1707
|
+
* @param {CreateDomainRequest} [createDomainRequest]
|
|
1708
|
+
* @param {*} [options] Override http request option.
|
|
1709
|
+
* @throws {RequiredError}
|
|
1710
|
+
*/
|
|
1711
|
+
createDomain: (project_1, createDomainRequest_1, ...args_1) => __awaiter(this, [project_1, createDomainRequest_1, ...args_1], void 0, function* (project, createDomainRequest, options = {}) {
|
|
1712
|
+
// verify required parameter 'project' is not null or undefined
|
|
1713
|
+
assertParamExists('createDomain', 'project', project);
|
|
1714
|
+
const localVarPath = `/v1/platform/domains`;
|
|
1715
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1716
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1717
|
+
let baseOptions;
|
|
1718
|
+
if (configuration) {
|
|
1719
|
+
baseOptions = configuration.baseOptions;
|
|
1720
|
+
}
|
|
1721
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1722
|
+
const localVarHeaderParameter = {};
|
|
1723
|
+
const localVarQueryParameter = {};
|
|
1724
|
+
// authentication session-oauth required
|
|
1725
|
+
// oauth required
|
|
1726
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1727
|
+
// authentication api-key required
|
|
1728
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1729
|
+
if (project !== undefined) {
|
|
1730
|
+
localVarQueryParameter['project'] = project;
|
|
1731
|
+
}
|
|
1732
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1733
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1734
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1735
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1736
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createDomainRequest, localVarRequestOptions, configuration);
|
|
1737
|
+
return {
|
|
1738
|
+
url: toPathString(localVarUrlObj),
|
|
1739
|
+
options: localVarRequestOptions,
|
|
1740
|
+
};
|
|
1741
|
+
}),
|
|
1742
|
+
/**
|
|
1743
|
+
* Delete an existing client platform domain
|
|
1744
|
+
* @summary Delete a platform client domain
|
|
1745
|
+
* @param {string} project Project unique identifier
|
|
1746
|
+
* @param {string} domain The domain identifier
|
|
1747
|
+
* @param {*} [options] Override http request option.
|
|
1748
|
+
* @throws {RequiredError}
|
|
1749
|
+
*/
|
|
1750
|
+
deleteClientDomain: (project_1, domain_1, ...args_1) => __awaiter(this, [project_1, domain_1, ...args_1], void 0, function* (project, domain, options = {}) {
|
|
1751
|
+
// verify required parameter 'project' is not null or undefined
|
|
1752
|
+
assertParamExists('deleteClientDomain', 'project', project);
|
|
1753
|
+
// verify required parameter 'domain' is not null or undefined
|
|
1754
|
+
assertParamExists('deleteClientDomain', 'domain', domain);
|
|
1755
|
+
const localVarPath = `/v1/platform/clients/domains/{domain}`
|
|
1756
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
1757
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1758
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1759
|
+
let baseOptions;
|
|
1760
|
+
if (configuration) {
|
|
1761
|
+
baseOptions = configuration.baseOptions;
|
|
1762
|
+
}
|
|
1763
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
1764
|
+
const localVarHeaderParameter = {};
|
|
1765
|
+
const localVarQueryParameter = {};
|
|
1766
|
+
// authentication session-oauth required
|
|
1767
|
+
// oauth required
|
|
1768
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1769
|
+
// authentication api-key required
|
|
1770
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1771
|
+
if (project !== undefined) {
|
|
1772
|
+
localVarQueryParameter['project'] = project;
|
|
1773
|
+
}
|
|
1774
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1775
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1776
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1777
|
+
return {
|
|
1778
|
+
url: toPathString(localVarUrlObj),
|
|
1779
|
+
options: localVarRequestOptions,
|
|
1780
|
+
};
|
|
1781
|
+
}),
|
|
1782
|
+
/**
|
|
1783
|
+
* Delete an existing platform domain
|
|
1784
|
+
* @summary Delete a platform domain
|
|
1785
|
+
* @param {string} project Project unique identifier
|
|
1786
|
+
* @param {string} domain The domain identifier
|
|
1787
|
+
* @param {*} [options] Override http request option.
|
|
1788
|
+
* @throws {RequiredError}
|
|
1789
|
+
*/
|
|
1790
|
+
deleteDomain: (project_1, domain_1, ...args_1) => __awaiter(this, [project_1, domain_1, ...args_1], void 0, function* (project, domain, options = {}) {
|
|
1791
|
+
// verify required parameter 'project' is not null or undefined
|
|
1792
|
+
assertParamExists('deleteDomain', 'project', project);
|
|
1793
|
+
// verify required parameter 'domain' is not null or undefined
|
|
1794
|
+
assertParamExists('deleteDomain', 'domain', domain);
|
|
1795
|
+
const localVarPath = `/v1/platform/domains/{domain}`
|
|
1796
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
1797
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1798
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1799
|
+
let baseOptions;
|
|
1800
|
+
if (configuration) {
|
|
1801
|
+
baseOptions = configuration.baseOptions;
|
|
1802
|
+
}
|
|
1803
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
1804
|
+
const localVarHeaderParameter = {};
|
|
1805
|
+
const localVarQueryParameter = {};
|
|
1806
|
+
// authentication session-oauth required
|
|
1807
|
+
// oauth required
|
|
1808
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1809
|
+
// authentication api-key required
|
|
1810
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1811
|
+
if (project !== undefined) {
|
|
1812
|
+
localVarQueryParameter['project'] = project;
|
|
1813
|
+
}
|
|
1814
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1815
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1816
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1817
|
+
return {
|
|
1818
|
+
url: toPathString(localVarUrlObj),
|
|
1819
|
+
options: localVarRequestOptions,
|
|
1820
|
+
};
|
|
1821
|
+
}),
|
|
1664
1822
|
/**
|
|
1665
1823
|
*
|
|
1666
1824
|
* @summary Get platform details
|
|
@@ -1697,6 +1855,78 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1697
1855
|
options: localVarRequestOptions,
|
|
1698
1856
|
};
|
|
1699
1857
|
}),
|
|
1858
|
+
/**
|
|
1859
|
+
* List the client domains attached to a platform
|
|
1860
|
+
* @summary List platform client domains
|
|
1861
|
+
* @param {string} project Project unique identifier
|
|
1862
|
+
* @param {*} [options] Override http request option.
|
|
1863
|
+
* @throws {RequiredError}
|
|
1864
|
+
*/
|
|
1865
|
+
listClientDomains: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
1866
|
+
// verify required parameter 'project' is not null or undefined
|
|
1867
|
+
assertParamExists('listClientDomains', 'project', project);
|
|
1868
|
+
const localVarPath = `/v1/platform/clients/domains`;
|
|
1869
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1870
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1871
|
+
let baseOptions;
|
|
1872
|
+
if (configuration) {
|
|
1873
|
+
baseOptions = configuration.baseOptions;
|
|
1874
|
+
}
|
|
1875
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1876
|
+
const localVarHeaderParameter = {};
|
|
1877
|
+
const localVarQueryParameter = {};
|
|
1878
|
+
// authentication session-oauth required
|
|
1879
|
+
// oauth required
|
|
1880
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1881
|
+
// authentication api-key required
|
|
1882
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1883
|
+
if (project !== undefined) {
|
|
1884
|
+
localVarQueryParameter['project'] = project;
|
|
1885
|
+
}
|
|
1886
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1887
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1888
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1889
|
+
return {
|
|
1890
|
+
url: toPathString(localVarUrlObj),
|
|
1891
|
+
options: localVarRequestOptions,
|
|
1892
|
+
};
|
|
1893
|
+
}),
|
|
1894
|
+
/**
|
|
1895
|
+
* List the domains attached to a platform
|
|
1896
|
+
* @summary List platform domains
|
|
1897
|
+
* @param {string} project Project unique identifier
|
|
1898
|
+
* @param {*} [options] Override http request option.
|
|
1899
|
+
* @throws {RequiredError}
|
|
1900
|
+
*/
|
|
1901
|
+
listDomains: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
1902
|
+
// verify required parameter 'project' is not null or undefined
|
|
1903
|
+
assertParamExists('listDomains', 'project', project);
|
|
1904
|
+
const localVarPath = `/v1/platform/domains`;
|
|
1905
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1906
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1907
|
+
let baseOptions;
|
|
1908
|
+
if (configuration) {
|
|
1909
|
+
baseOptions = configuration.baseOptions;
|
|
1910
|
+
}
|
|
1911
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1912
|
+
const localVarHeaderParameter = {};
|
|
1913
|
+
const localVarQueryParameter = {};
|
|
1914
|
+
// authentication session-oauth required
|
|
1915
|
+
// oauth required
|
|
1916
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1917
|
+
// authentication api-key required
|
|
1918
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1919
|
+
if (project !== undefined) {
|
|
1920
|
+
localVarQueryParameter['project'] = project;
|
|
1921
|
+
}
|
|
1922
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1923
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1924
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1925
|
+
return {
|
|
1926
|
+
url: toPathString(localVarUrlObj),
|
|
1927
|
+
options: localVarRequestOptions,
|
|
1928
|
+
};
|
|
1929
|
+
}),
|
|
1700
1930
|
/**
|
|
1701
1931
|
*
|
|
1702
1932
|
* @summary Update platform
|
|
@@ -1747,6 +1977,74 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1747
1977
|
export const PlatformApiFp = function (configuration) {
|
|
1748
1978
|
const localVarAxiosParamCreator = PlatformApiAxiosParamCreator(configuration);
|
|
1749
1979
|
return {
|
|
1980
|
+
/**
|
|
1981
|
+
* Create a new client platform domain
|
|
1982
|
+
* @summary Create a platform client domain
|
|
1983
|
+
* @param {string} project Project unique identifier
|
|
1984
|
+
* @param {CreateDomainRequest} [createDomainRequest]
|
|
1985
|
+
* @param {*} [options] Override http request option.
|
|
1986
|
+
* @throws {RequiredError}
|
|
1987
|
+
*/
|
|
1988
|
+
createClientDomain(project, createDomainRequest, options) {
|
|
1989
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1990
|
+
var _a, _b, _c;
|
|
1991
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createClientDomain(project, createDomainRequest, options);
|
|
1992
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1993
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.createClientDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1994
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1995
|
+
});
|
|
1996
|
+
},
|
|
1997
|
+
/**
|
|
1998
|
+
* Create a new platform domain
|
|
1999
|
+
* @summary Create a platform domain
|
|
2000
|
+
* @param {string} project Project unique identifier
|
|
2001
|
+
* @param {CreateDomainRequest} [createDomainRequest]
|
|
2002
|
+
* @param {*} [options] Override http request option.
|
|
2003
|
+
* @throws {RequiredError}
|
|
2004
|
+
*/
|
|
2005
|
+
createDomain(project, createDomainRequest, options) {
|
|
2006
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2007
|
+
var _a, _b, _c;
|
|
2008
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createDomain(project, createDomainRequest, options);
|
|
2009
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2010
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.createDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2011
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2012
|
+
});
|
|
2013
|
+
},
|
|
2014
|
+
/**
|
|
2015
|
+
* Delete an existing client platform domain
|
|
2016
|
+
* @summary Delete a platform client domain
|
|
2017
|
+
* @param {string} project Project unique identifier
|
|
2018
|
+
* @param {string} domain The domain identifier
|
|
2019
|
+
* @param {*} [options] Override http request option.
|
|
2020
|
+
* @throws {RequiredError}
|
|
2021
|
+
*/
|
|
2022
|
+
deleteClientDomain(project, domain, options) {
|
|
2023
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2024
|
+
var _a, _b, _c;
|
|
2025
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteClientDomain(project, domain, options);
|
|
2026
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2027
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.deleteClientDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2028
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2029
|
+
});
|
|
2030
|
+
},
|
|
2031
|
+
/**
|
|
2032
|
+
* Delete an existing platform domain
|
|
2033
|
+
* @summary Delete a platform domain
|
|
2034
|
+
* @param {string} project Project unique identifier
|
|
2035
|
+
* @param {string} domain The domain identifier
|
|
2036
|
+
* @param {*} [options] Override http request option.
|
|
2037
|
+
* @throws {RequiredError}
|
|
2038
|
+
*/
|
|
2039
|
+
deleteDomain(project, domain, options) {
|
|
2040
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2041
|
+
var _a, _b, _c;
|
|
2042
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDomain(project, domain, options);
|
|
2043
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2044
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.deleteDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2045
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2046
|
+
});
|
|
2047
|
+
},
|
|
1750
2048
|
/**
|
|
1751
2049
|
*
|
|
1752
2050
|
* @summary Get platform details
|
|
@@ -1763,6 +2061,38 @@ export const PlatformApiFp = function (configuration) {
|
|
|
1763
2061
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1764
2062
|
});
|
|
1765
2063
|
},
|
|
2064
|
+
/**
|
|
2065
|
+
* List the client domains attached to a platform
|
|
2066
|
+
* @summary List platform client domains
|
|
2067
|
+
* @param {string} project Project unique identifier
|
|
2068
|
+
* @param {*} [options] Override http request option.
|
|
2069
|
+
* @throws {RequiredError}
|
|
2070
|
+
*/
|
|
2071
|
+
listClientDomains(project, options) {
|
|
2072
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2073
|
+
var _a, _b, _c;
|
|
2074
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listClientDomains(project, options);
|
|
2075
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2076
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.listClientDomains']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2077
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2078
|
+
});
|
|
2079
|
+
},
|
|
2080
|
+
/**
|
|
2081
|
+
* List the domains attached to a platform
|
|
2082
|
+
* @summary List platform domains
|
|
2083
|
+
* @param {string} project Project unique identifier
|
|
2084
|
+
* @param {*} [options] Override http request option.
|
|
2085
|
+
* @throws {RequiredError}
|
|
2086
|
+
*/
|
|
2087
|
+
listDomains(project, options) {
|
|
2088
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2089
|
+
var _a, _b, _c;
|
|
2090
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listDomains(project, options);
|
|
2091
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2092
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.listDomains']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2093
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2094
|
+
});
|
|
2095
|
+
},
|
|
1766
2096
|
/**
|
|
1767
2097
|
*
|
|
1768
2098
|
* @summary Update platform
|
|
@@ -1789,6 +2119,46 @@ export const PlatformApiFp = function (configuration) {
|
|
|
1789
2119
|
export const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
1790
2120
|
const localVarFp = PlatformApiFp(configuration);
|
|
1791
2121
|
return {
|
|
2122
|
+
/**
|
|
2123
|
+
* Create a new client platform domain
|
|
2124
|
+
* @summary Create a platform client domain
|
|
2125
|
+
* @param {PlatformApiCreateClientDomainRequest} requestParameters Request parameters.
|
|
2126
|
+
* @param {*} [options] Override http request option.
|
|
2127
|
+
* @throws {RequiredError}
|
|
2128
|
+
*/
|
|
2129
|
+
createClientDomain(requestParameters, options) {
|
|
2130
|
+
return localVarFp.createClientDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
|
|
2131
|
+
},
|
|
2132
|
+
/**
|
|
2133
|
+
* Create a new platform domain
|
|
2134
|
+
* @summary Create a platform domain
|
|
2135
|
+
* @param {PlatformApiCreateDomainRequest} requestParameters Request parameters.
|
|
2136
|
+
* @param {*} [options] Override http request option.
|
|
2137
|
+
* @throws {RequiredError}
|
|
2138
|
+
*/
|
|
2139
|
+
createDomain(requestParameters, options) {
|
|
2140
|
+
return localVarFp.createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
|
|
2141
|
+
},
|
|
2142
|
+
/**
|
|
2143
|
+
* Delete an existing client platform domain
|
|
2144
|
+
* @summary Delete a platform client domain
|
|
2145
|
+
* @param {PlatformApiDeleteClientDomainRequest} requestParameters Request parameters.
|
|
2146
|
+
* @param {*} [options] Override http request option.
|
|
2147
|
+
* @throws {RequiredError}
|
|
2148
|
+
*/
|
|
2149
|
+
deleteClientDomain(requestParameters, options) {
|
|
2150
|
+
return localVarFp.deleteClientDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
2151
|
+
},
|
|
2152
|
+
/**
|
|
2153
|
+
* Delete an existing platform domain
|
|
2154
|
+
* @summary Delete a platform domain
|
|
2155
|
+
* @param {PlatformApiDeleteDomainRequest} requestParameters Request parameters.
|
|
2156
|
+
* @param {*} [options] Override http request option.
|
|
2157
|
+
* @throws {RequiredError}
|
|
2158
|
+
*/
|
|
2159
|
+
deleteDomain(requestParameters, options) {
|
|
2160
|
+
return localVarFp.deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
2161
|
+
},
|
|
1792
2162
|
/**
|
|
1793
2163
|
*
|
|
1794
2164
|
* @summary Get platform details
|
|
@@ -1799,6 +2169,26 @@ export const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
1799
2169
|
getPlatform(requestParameters, options) {
|
|
1800
2170
|
return localVarFp.getPlatform(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1801
2171
|
},
|
|
2172
|
+
/**
|
|
2173
|
+
* List the client domains attached to a platform
|
|
2174
|
+
* @summary List platform client domains
|
|
2175
|
+
* @param {PlatformApiListClientDomainsRequest} requestParameters Request parameters.
|
|
2176
|
+
* @param {*} [options] Override http request option.
|
|
2177
|
+
* @throws {RequiredError}
|
|
2178
|
+
*/
|
|
2179
|
+
listClientDomains(requestParameters, options) {
|
|
2180
|
+
return localVarFp.listClientDomains(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2181
|
+
},
|
|
2182
|
+
/**
|
|
2183
|
+
* List the domains attached to a platform
|
|
2184
|
+
* @summary List platform domains
|
|
2185
|
+
* @param {PlatformApiListDomainsRequest} requestParameters Request parameters.
|
|
2186
|
+
* @param {*} [options] Override http request option.
|
|
2187
|
+
* @throws {RequiredError}
|
|
2188
|
+
*/
|
|
2189
|
+
listDomains(requestParameters, options) {
|
|
2190
|
+
return localVarFp.listDomains(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2191
|
+
},
|
|
1802
2192
|
/**
|
|
1803
2193
|
*
|
|
1804
2194
|
* @summary Update platform
|
|
@@ -1818,6 +2208,50 @@ export const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
1818
2208
|
* @extends {BaseAPI}
|
|
1819
2209
|
*/
|
|
1820
2210
|
export class PlatformApi extends BaseAPI {
|
|
2211
|
+
/**
|
|
2212
|
+
* Create a new client platform domain
|
|
2213
|
+
* @summary Create a platform client domain
|
|
2214
|
+
* @param {PlatformApiCreateClientDomainRequest} requestParameters Request parameters.
|
|
2215
|
+
* @param {*} [options] Override http request option.
|
|
2216
|
+
* @throws {RequiredError}
|
|
2217
|
+
* @memberof PlatformApi
|
|
2218
|
+
*/
|
|
2219
|
+
createClientDomain(requestParameters, options) {
|
|
2220
|
+
return PlatformApiFp(this.configuration).createClientDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2221
|
+
}
|
|
2222
|
+
/**
|
|
2223
|
+
* Create a new platform domain
|
|
2224
|
+
* @summary Create a platform domain
|
|
2225
|
+
* @param {PlatformApiCreateDomainRequest} requestParameters Request parameters.
|
|
2226
|
+
* @param {*} [options] Override http request option.
|
|
2227
|
+
* @throws {RequiredError}
|
|
2228
|
+
* @memberof PlatformApi
|
|
2229
|
+
*/
|
|
2230
|
+
createDomain(requestParameters, options) {
|
|
2231
|
+
return PlatformApiFp(this.configuration).createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2232
|
+
}
|
|
2233
|
+
/**
|
|
2234
|
+
* Delete an existing client platform domain
|
|
2235
|
+
* @summary Delete a platform client domain
|
|
2236
|
+
* @param {PlatformApiDeleteClientDomainRequest} requestParameters Request parameters.
|
|
2237
|
+
* @param {*} [options] Override http request option.
|
|
2238
|
+
* @throws {RequiredError}
|
|
2239
|
+
* @memberof PlatformApi
|
|
2240
|
+
*/
|
|
2241
|
+
deleteClientDomain(requestParameters, options) {
|
|
2242
|
+
return PlatformApiFp(this.configuration).deleteClientDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
2243
|
+
}
|
|
2244
|
+
/**
|
|
2245
|
+
* Delete an existing platform domain
|
|
2246
|
+
* @summary Delete a platform domain
|
|
2247
|
+
* @param {PlatformApiDeleteDomainRequest} requestParameters Request parameters.
|
|
2248
|
+
* @param {*} [options] Override http request option.
|
|
2249
|
+
* @throws {RequiredError}
|
|
2250
|
+
* @memberof PlatformApi
|
|
2251
|
+
*/
|
|
2252
|
+
deleteDomain(requestParameters, options) {
|
|
2253
|
+
return PlatformApiFp(this.configuration).deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
2254
|
+
}
|
|
1821
2255
|
/**
|
|
1822
2256
|
*
|
|
1823
2257
|
* @summary Get platform details
|
|
@@ -1829,6 +2263,28 @@ export class PlatformApi extends BaseAPI {
|
|
|
1829
2263
|
getPlatform(requestParameters, options) {
|
|
1830
2264
|
return PlatformApiFp(this.configuration).getPlatform(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1831
2265
|
}
|
|
2266
|
+
/**
|
|
2267
|
+
* List the client domains attached to a platform
|
|
2268
|
+
* @summary List platform client domains
|
|
2269
|
+
* @param {PlatformApiListClientDomainsRequest} requestParameters Request parameters.
|
|
2270
|
+
* @param {*} [options] Override http request option.
|
|
2271
|
+
* @throws {RequiredError}
|
|
2272
|
+
* @memberof PlatformApi
|
|
2273
|
+
*/
|
|
2274
|
+
listClientDomains(requestParameters, options) {
|
|
2275
|
+
return PlatformApiFp(this.configuration).listClientDomains(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2276
|
+
}
|
|
2277
|
+
/**
|
|
2278
|
+
* List the domains attached to a platform
|
|
2279
|
+
* @summary List platform domains
|
|
2280
|
+
* @param {PlatformApiListDomainsRequest} requestParameters Request parameters.
|
|
2281
|
+
* @param {*} [options] Override http request option.
|
|
2282
|
+
* @throws {RequiredError}
|
|
2283
|
+
* @memberof PlatformApi
|
|
2284
|
+
*/
|
|
2285
|
+
listDomains(requestParameters, options) {
|
|
2286
|
+
return PlatformApiFp(this.configuration).listDomains(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2287
|
+
}
|
|
1832
2288
|
/**
|
|
1833
2289
|
*
|
|
1834
2290
|
* @summary Update platform
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# CreateDomainRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**domain** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { CreateDomainRequest } from '@teemill/platform';
|
|
14
|
+
|
|
15
|
+
const instance: CreateDomainRequest = {
|
|
16
|
+
domain,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/Domain.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Domain
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [default to undefined]
|
|
9
|
+
**name** | **string** | | [default to undefined]
|
|
10
|
+
**priority** | **number** | | [default to undefined]
|
|
11
|
+
**enabledAt** | **string** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { Domain } from '@teemill/platform';
|
|
17
|
+
|
|
18
|
+
const instance: Domain = {
|
|
19
|
+
id,
|
|
20
|
+
name,
|
|
21
|
+
priority,
|
|
22
|
+
enabledAt,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|