@teemill/platform 0.21.0 → 0.22.0

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/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.21.0
7
+ * The version of the OpenAPI document: 0.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1661,6 +1661,140 @@ 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 {CreateDomainRequest} [createDomainRequest]
1668
+ * @param {*} [options] Override http request option.
1669
+ * @throws {RequiredError}
1670
+ */
1671
+ createClientDomain: (createDomainRequest_1, ...args_1) => __awaiter(this, [createDomainRequest_1, ...args_1], void 0, function* (createDomainRequest, options = {}) {
1672
+ const localVarPath = `/v1/platform/clients/domains`;
1673
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1674
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1675
+ let baseOptions;
1676
+ if (configuration) {
1677
+ baseOptions = configuration.baseOptions;
1678
+ }
1679
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1680
+ const localVarHeaderParameter = {};
1681
+ const localVarQueryParameter = {};
1682
+ // authentication session-oauth required
1683
+ // oauth required
1684
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
1685
+ // authentication api-key required
1686
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1687
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1688
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1689
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1690
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1691
+ localVarRequestOptions.data = serializeDataIfNeeded(createDomainRequest, localVarRequestOptions, configuration);
1692
+ return {
1693
+ url: toPathString(localVarUrlObj),
1694
+ options: localVarRequestOptions,
1695
+ };
1696
+ }),
1697
+ /**
1698
+ * Create a new platform domain
1699
+ * @summary Create a platform domain
1700
+ * @param {CreateDomainRequest} [createDomainRequest]
1701
+ * @param {*} [options] Override http request option.
1702
+ * @throws {RequiredError}
1703
+ */
1704
+ createDomain: (createDomainRequest_1, ...args_1) => __awaiter(this, [createDomainRequest_1, ...args_1], void 0, function* (createDomainRequest, options = {}) {
1705
+ const localVarPath = `/v1/platform/domains`;
1706
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1707
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1708
+ let baseOptions;
1709
+ if (configuration) {
1710
+ baseOptions = configuration.baseOptions;
1711
+ }
1712
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1713
+ const localVarHeaderParameter = {};
1714
+ const localVarQueryParameter = {};
1715
+ // authentication session-oauth required
1716
+ // oauth required
1717
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
1718
+ // authentication api-key required
1719
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1720
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1721
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1722
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1723
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1724
+ localVarRequestOptions.data = serializeDataIfNeeded(createDomainRequest, localVarRequestOptions, configuration);
1725
+ return {
1726
+ url: toPathString(localVarUrlObj),
1727
+ options: localVarRequestOptions,
1728
+ };
1729
+ }),
1730
+ /**
1731
+ * Delete an existing client platform domain
1732
+ * @summary Delete a platform client domain
1733
+ * @param {string} domain The domain identifier
1734
+ * @param {*} [options] Override http request option.
1735
+ * @throws {RequiredError}
1736
+ */
1737
+ deleteClientDomain: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
1738
+ // verify required parameter 'domain' is not null or undefined
1739
+ assertParamExists('deleteClientDomain', 'domain', domain);
1740
+ const localVarPath = `/v1/platform/clients/domains/{domain}`
1741
+ .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
1742
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1743
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1744
+ let baseOptions;
1745
+ if (configuration) {
1746
+ baseOptions = configuration.baseOptions;
1747
+ }
1748
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
1749
+ const localVarHeaderParameter = {};
1750
+ const localVarQueryParameter = {};
1751
+ // authentication session-oauth required
1752
+ // oauth required
1753
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
1754
+ // authentication api-key required
1755
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1756
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1757
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1758
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1759
+ return {
1760
+ url: toPathString(localVarUrlObj),
1761
+ options: localVarRequestOptions,
1762
+ };
1763
+ }),
1764
+ /**
1765
+ * Delete an existing platform domain
1766
+ * @summary Delete a platform domain
1767
+ * @param {string} domain The domain identifier
1768
+ * @param {*} [options] Override http request option.
1769
+ * @throws {RequiredError}
1770
+ */
1771
+ deleteDomain: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
1772
+ // verify required parameter 'domain' is not null or undefined
1773
+ assertParamExists('deleteDomain', 'domain', domain);
1774
+ const localVarPath = `/v1/platform/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, 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 setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
1788
+ // authentication api-key required
1789
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1790
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1791
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1792
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1793
+ return {
1794
+ url: toPathString(localVarUrlObj),
1795
+ options: localVarRequestOptions,
1796
+ };
1797
+ }),
1664
1798
  /**
1665
1799
  *
1666
1800
  * @summary Get platform details
@@ -1697,6 +1831,66 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
1697
1831
  options: localVarRequestOptions,
1698
1832
  };
1699
1833
  }),
1834
+ /**
1835
+ * List the client domains attached to a platform
1836
+ * @summary List platform client domains
1837
+ * @param {*} [options] Override http request option.
1838
+ * @throws {RequiredError}
1839
+ */
1840
+ listClientDomains: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
1841
+ const localVarPath = `/v1/platform/clients/domains`;
1842
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1843
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1844
+ let baseOptions;
1845
+ if (configuration) {
1846
+ baseOptions = configuration.baseOptions;
1847
+ }
1848
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1849
+ const localVarHeaderParameter = {};
1850
+ const localVarQueryParameter = {};
1851
+ // authentication session-oauth required
1852
+ // oauth required
1853
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
1854
+ // authentication api-key required
1855
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1856
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1857
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1858
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1859
+ return {
1860
+ url: toPathString(localVarUrlObj),
1861
+ options: localVarRequestOptions,
1862
+ };
1863
+ }),
1864
+ /**
1865
+ * List the domains attached to a platform
1866
+ * @summary List platform domains
1867
+ * @param {*} [options] Override http request option.
1868
+ * @throws {RequiredError}
1869
+ */
1870
+ listDomains: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
1871
+ const localVarPath = `/v1/platform/domains`;
1872
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1873
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1874
+ let baseOptions;
1875
+ if (configuration) {
1876
+ baseOptions = configuration.baseOptions;
1877
+ }
1878
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1879
+ const localVarHeaderParameter = {};
1880
+ const localVarQueryParameter = {};
1881
+ // authentication session-oauth required
1882
+ // oauth required
1883
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
1884
+ // authentication api-key required
1885
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
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
+ }),
1700
1894
  /**
1701
1895
  *
1702
1896
  * @summary Update platform
@@ -1747,6 +1941,70 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
1747
1941
  export const PlatformApiFp = function (configuration) {
1748
1942
  const localVarAxiosParamCreator = PlatformApiAxiosParamCreator(configuration);
1749
1943
  return {
1944
+ /**
1945
+ * Create a new client platform domain
1946
+ * @summary Create a platform client domain
1947
+ * @param {CreateDomainRequest} [createDomainRequest]
1948
+ * @param {*} [options] Override http request option.
1949
+ * @throws {RequiredError}
1950
+ */
1951
+ createClientDomain(createDomainRequest, options) {
1952
+ return __awaiter(this, void 0, void 0, function* () {
1953
+ var _a, _b, _c;
1954
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createClientDomain(createDomainRequest, options);
1955
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1956
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.createClientDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1957
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1958
+ });
1959
+ },
1960
+ /**
1961
+ * Create a new platform domain
1962
+ * @summary Create a platform domain
1963
+ * @param {CreateDomainRequest} [createDomainRequest]
1964
+ * @param {*} [options] Override http request option.
1965
+ * @throws {RequiredError}
1966
+ */
1967
+ createDomain(createDomainRequest, options) {
1968
+ return __awaiter(this, void 0, void 0, function* () {
1969
+ var _a, _b, _c;
1970
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createDomain(createDomainRequest, options);
1971
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1972
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.createDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1973
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1974
+ });
1975
+ },
1976
+ /**
1977
+ * Delete an existing client platform domain
1978
+ * @summary Delete a platform client domain
1979
+ * @param {string} domain The domain identifier
1980
+ * @param {*} [options] Override http request option.
1981
+ * @throws {RequiredError}
1982
+ */
1983
+ deleteClientDomain(domain, options) {
1984
+ return __awaiter(this, void 0, void 0, function* () {
1985
+ var _a, _b, _c;
1986
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteClientDomain(domain, options);
1987
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1988
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.deleteClientDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1989
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1990
+ });
1991
+ },
1992
+ /**
1993
+ * Delete an existing platform domain
1994
+ * @summary Delete a platform domain
1995
+ * @param {string} domain The domain identifier
1996
+ * @param {*} [options] Override http request option.
1997
+ * @throws {RequiredError}
1998
+ */
1999
+ deleteDomain(domain, options) {
2000
+ return __awaiter(this, void 0, void 0, function* () {
2001
+ var _a, _b, _c;
2002
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDomain(domain, options);
2003
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2004
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.deleteDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2005
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2006
+ });
2007
+ },
1750
2008
  /**
1751
2009
  *
1752
2010
  * @summary Get platform details
@@ -1763,6 +2021,36 @@ export const PlatformApiFp = function (configuration) {
1763
2021
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1764
2022
  });
1765
2023
  },
2024
+ /**
2025
+ * List the client domains attached to a platform
2026
+ * @summary List platform client domains
2027
+ * @param {*} [options] Override http request option.
2028
+ * @throws {RequiredError}
2029
+ */
2030
+ listClientDomains(options) {
2031
+ return __awaiter(this, void 0, void 0, function* () {
2032
+ var _a, _b, _c;
2033
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listClientDomains(options);
2034
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2035
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.listClientDomains']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2036
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2037
+ });
2038
+ },
2039
+ /**
2040
+ * List the domains attached to a platform
2041
+ * @summary List platform domains
2042
+ * @param {*} [options] Override http request option.
2043
+ * @throws {RequiredError}
2044
+ */
2045
+ listDomains(options) {
2046
+ return __awaiter(this, void 0, void 0, function* () {
2047
+ var _a, _b, _c;
2048
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listDomains(options);
2049
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2050
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.listDomains']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2051
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2052
+ });
2053
+ },
1766
2054
  /**
1767
2055
  *
1768
2056
  * @summary Update platform
@@ -1789,6 +2077,46 @@ export const PlatformApiFp = function (configuration) {
1789
2077
  export const PlatformApiFactory = function (configuration, basePath, axios) {
1790
2078
  const localVarFp = PlatformApiFp(configuration);
1791
2079
  return {
2080
+ /**
2081
+ * Create a new client platform domain
2082
+ * @summary Create a platform client domain
2083
+ * @param {PlatformApiCreateClientDomainRequest} requestParameters Request parameters.
2084
+ * @param {*} [options] Override http request option.
2085
+ * @throws {RequiredError}
2086
+ */
2087
+ createClientDomain(requestParameters = {}, options) {
2088
+ return localVarFp.createClientDomain(requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
2089
+ },
2090
+ /**
2091
+ * Create a new platform domain
2092
+ * @summary Create a platform domain
2093
+ * @param {PlatformApiCreateDomainRequest} requestParameters Request parameters.
2094
+ * @param {*} [options] Override http request option.
2095
+ * @throws {RequiredError}
2096
+ */
2097
+ createDomain(requestParameters = {}, options) {
2098
+ return localVarFp.createDomain(requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
2099
+ },
2100
+ /**
2101
+ * Delete an existing client platform domain
2102
+ * @summary Delete a platform client domain
2103
+ * @param {PlatformApiDeleteClientDomainRequest} requestParameters Request parameters.
2104
+ * @param {*} [options] Override http request option.
2105
+ * @throws {RequiredError}
2106
+ */
2107
+ deleteClientDomain(requestParameters, options) {
2108
+ return localVarFp.deleteClientDomain(requestParameters.domain, options).then((request) => request(axios, basePath));
2109
+ },
2110
+ /**
2111
+ * Delete an existing platform domain
2112
+ * @summary Delete a platform domain
2113
+ * @param {PlatformApiDeleteDomainRequest} requestParameters Request parameters.
2114
+ * @param {*} [options] Override http request option.
2115
+ * @throws {RequiredError}
2116
+ */
2117
+ deleteDomain(requestParameters, options) {
2118
+ return localVarFp.deleteDomain(requestParameters.domain, options).then((request) => request(axios, basePath));
2119
+ },
1792
2120
  /**
1793
2121
  *
1794
2122
  * @summary Get platform details
@@ -1799,6 +2127,24 @@ export const PlatformApiFactory = function (configuration, basePath, axios) {
1799
2127
  getPlatform(requestParameters, options) {
1800
2128
  return localVarFp.getPlatform(requestParameters.project, options).then((request) => request(axios, basePath));
1801
2129
  },
2130
+ /**
2131
+ * List the client domains attached to a platform
2132
+ * @summary List platform client domains
2133
+ * @param {*} [options] Override http request option.
2134
+ * @throws {RequiredError}
2135
+ */
2136
+ listClientDomains(options) {
2137
+ return localVarFp.listClientDomains(options).then((request) => request(axios, basePath));
2138
+ },
2139
+ /**
2140
+ * List the domains attached to a platform
2141
+ * @summary List platform domains
2142
+ * @param {*} [options] Override http request option.
2143
+ * @throws {RequiredError}
2144
+ */
2145
+ listDomains(options) {
2146
+ return localVarFp.listDomains(options).then((request) => request(axios, basePath));
2147
+ },
1802
2148
  /**
1803
2149
  *
1804
2150
  * @summary Update platform
@@ -1818,6 +2164,50 @@ export const PlatformApiFactory = function (configuration, basePath, axios) {
1818
2164
  * @extends {BaseAPI}
1819
2165
  */
1820
2166
  export class PlatformApi extends BaseAPI {
2167
+ /**
2168
+ * Create a new client platform domain
2169
+ * @summary Create a platform client domain
2170
+ * @param {PlatformApiCreateClientDomainRequest} requestParameters Request parameters.
2171
+ * @param {*} [options] Override http request option.
2172
+ * @throws {RequiredError}
2173
+ * @memberof PlatformApi
2174
+ */
2175
+ createClientDomain(requestParameters = {}, options) {
2176
+ return PlatformApiFp(this.configuration).createClientDomain(requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
2177
+ }
2178
+ /**
2179
+ * Create a new platform domain
2180
+ * @summary Create a platform domain
2181
+ * @param {PlatformApiCreateDomainRequest} requestParameters Request parameters.
2182
+ * @param {*} [options] Override http request option.
2183
+ * @throws {RequiredError}
2184
+ * @memberof PlatformApi
2185
+ */
2186
+ createDomain(requestParameters = {}, options) {
2187
+ return PlatformApiFp(this.configuration).createDomain(requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
2188
+ }
2189
+ /**
2190
+ * Delete an existing client platform domain
2191
+ * @summary Delete a platform client domain
2192
+ * @param {PlatformApiDeleteClientDomainRequest} requestParameters Request parameters.
2193
+ * @param {*} [options] Override http request option.
2194
+ * @throws {RequiredError}
2195
+ * @memberof PlatformApi
2196
+ */
2197
+ deleteClientDomain(requestParameters, options) {
2198
+ return PlatformApiFp(this.configuration).deleteClientDomain(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2199
+ }
2200
+ /**
2201
+ * Delete an existing platform domain
2202
+ * @summary Delete a platform domain
2203
+ * @param {PlatformApiDeleteDomainRequest} requestParameters Request parameters.
2204
+ * @param {*} [options] Override http request option.
2205
+ * @throws {RequiredError}
2206
+ * @memberof PlatformApi
2207
+ */
2208
+ deleteDomain(requestParameters, options) {
2209
+ return PlatformApiFp(this.configuration).deleteDomain(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2210
+ }
1821
2211
  /**
1822
2212
  *
1823
2213
  * @summary Get platform details
@@ -1829,6 +2219,26 @@ export class PlatformApi extends BaseAPI {
1829
2219
  getPlatform(requestParameters, options) {
1830
2220
  return PlatformApiFp(this.configuration).getPlatform(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
1831
2221
  }
2222
+ /**
2223
+ * List the client domains attached to a platform
2224
+ * @summary List platform client domains
2225
+ * @param {*} [options] Override http request option.
2226
+ * @throws {RequiredError}
2227
+ * @memberof PlatformApi
2228
+ */
2229
+ listClientDomains(options) {
2230
+ return PlatformApiFp(this.configuration).listClientDomains(options).then((request) => request(this.axios, this.basePath));
2231
+ }
2232
+ /**
2233
+ * List the domains attached to a platform
2234
+ * @summary List platform domains
2235
+ * @param {*} [options] Override http request option.
2236
+ * @throws {RequiredError}
2237
+ * @memberof PlatformApi
2238
+ */
2239
+ listDomains(options) {
2240
+ return PlatformApiFp(this.configuration).listDomains(options).then((request) => request(this.axios, this.basePath));
2241
+ }
1832
2242
  /**
1833
2243
  *
1834
2244
  * @summary Update platform
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.21.0
5
+ * The version of the OpenAPI document: 0.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.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.21.0
7
+ * The version of the OpenAPI document: 0.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.21.0
5
+ * The version of the OpenAPI document: 0.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.21.0
7
+ * The version of the OpenAPI document: 0.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.21.0
5
+ * The version of the OpenAPI document: 0.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.21.0
7
+ * The version of the OpenAPI document: 0.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.21.0
5
+ * The version of the OpenAPI document: 0.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.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.21.0
7
+ * The version of the OpenAPI document: 0.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.21.0
5
+ * The version of the OpenAPI document: 0.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.21.0
8
+ * The version of the OpenAPI document: 0.22.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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)
@@ -0,0 +1,22 @@
1
+ # InlineObject
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **domains** | [**Array<Domain>**](Domain.md) | | [optional] [default to undefined]
9
+ **nextPageToken** | **number** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { InlineObject } from '@teemill/platform';
15
+
16
+ const instance: InlineObject = {
17
+ domains,
18
+ nextPageToken,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # InlineObject1
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **redirect_url** | **string** | The URL to redirect to | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { InlineObject1 } from '@teemill/platform';
14
+
15
+ const instance: InlineObject1 = {
16
+ redirect_url,
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)