@teemill/platform 0.22.0 → 0.22.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +149 -41
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +89 -23
- package/dist/api.js +85 -39
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +89 -23
- package/dist/esm/api.js +85 -39
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/InlineObject.md +2 -2
- package/docs/PlatformApi.md +30 -4
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/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.22.
|
|
7
|
+
* The version of the OpenAPI document: 0.22.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1664,11 +1664,14 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1664
1664
|
/**
|
|
1665
1665
|
* Create a new client platform domain
|
|
1666
1666
|
* @summary Create a platform client domain
|
|
1667
|
+
* @param {string} project Project unique identifier
|
|
1667
1668
|
* @param {CreateDomainRequest} [createDomainRequest]
|
|
1668
1669
|
* @param {*} [options] Override http request option.
|
|
1669
1670
|
* @throws {RequiredError}
|
|
1670
1671
|
*/
|
|
1671
|
-
createClientDomain: (createDomainRequest_1, ...args_1) => __awaiter(this, [createDomainRequest_1, ...args_1], void 0, function* (createDomainRequest, options = {}) {
|
|
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);
|
|
1672
1675
|
const localVarPath = `/v1/platform/clients/domains`;
|
|
1673
1676
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1674
1677
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1684,6 +1687,9 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1684
1687
|
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1685
1688
|
// authentication api-key required
|
|
1686
1689
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1690
|
+
if (project !== undefined) {
|
|
1691
|
+
localVarQueryParameter['project'] = project;
|
|
1692
|
+
}
|
|
1687
1693
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1688
1694
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1689
1695
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1697,11 +1703,14 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1697
1703
|
/**
|
|
1698
1704
|
* Create a new platform domain
|
|
1699
1705
|
* @summary Create a platform domain
|
|
1706
|
+
* @param {string} project Project unique identifier
|
|
1700
1707
|
* @param {CreateDomainRequest} [createDomainRequest]
|
|
1701
1708
|
* @param {*} [options] Override http request option.
|
|
1702
1709
|
* @throws {RequiredError}
|
|
1703
1710
|
*/
|
|
1704
|
-
createDomain: (createDomainRequest_1, ...args_1) => __awaiter(this, [createDomainRequest_1, ...args_1], void 0, function* (createDomainRequest, options = {}) {
|
|
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);
|
|
1705
1714
|
const localVarPath = `/v1/platform/domains`;
|
|
1706
1715
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1707
1716
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1717,6 +1726,9 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1717
1726
|
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1718
1727
|
// authentication api-key required
|
|
1719
1728
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1729
|
+
if (project !== undefined) {
|
|
1730
|
+
localVarQueryParameter['project'] = project;
|
|
1731
|
+
}
|
|
1720
1732
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1721
1733
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1722
1734
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1730,11 +1742,14 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1730
1742
|
/**
|
|
1731
1743
|
* Delete an existing client platform domain
|
|
1732
1744
|
* @summary Delete a platform client domain
|
|
1745
|
+
* @param {string} project Project unique identifier
|
|
1733
1746
|
* @param {string} domain The domain identifier
|
|
1734
1747
|
* @param {*} [options] Override http request option.
|
|
1735
1748
|
* @throws {RequiredError}
|
|
1736
1749
|
*/
|
|
1737
|
-
deleteClientDomain: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
|
|
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);
|
|
1738
1753
|
// verify required parameter 'domain' is not null or undefined
|
|
1739
1754
|
assertParamExists('deleteClientDomain', 'domain', domain);
|
|
1740
1755
|
const localVarPath = `/v1/platform/clients/domains/{domain}`
|
|
@@ -1753,6 +1768,9 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1753
1768
|
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1754
1769
|
// authentication api-key required
|
|
1755
1770
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1771
|
+
if (project !== undefined) {
|
|
1772
|
+
localVarQueryParameter['project'] = project;
|
|
1773
|
+
}
|
|
1756
1774
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1757
1775
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1758
1776
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1764,11 +1782,14 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1764
1782
|
/**
|
|
1765
1783
|
* Delete an existing platform domain
|
|
1766
1784
|
* @summary Delete a platform domain
|
|
1785
|
+
* @param {string} project Project unique identifier
|
|
1767
1786
|
* @param {string} domain The domain identifier
|
|
1768
1787
|
* @param {*} [options] Override http request option.
|
|
1769
1788
|
* @throws {RequiredError}
|
|
1770
1789
|
*/
|
|
1771
|
-
deleteDomain: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
|
|
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);
|
|
1772
1793
|
// verify required parameter 'domain' is not null or undefined
|
|
1773
1794
|
assertParamExists('deleteDomain', 'domain', domain);
|
|
1774
1795
|
const localVarPath = `/v1/platform/domains/{domain}`
|
|
@@ -1787,6 +1808,9 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1787
1808
|
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1788
1809
|
// authentication api-key required
|
|
1789
1810
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1811
|
+
if (project !== undefined) {
|
|
1812
|
+
localVarQueryParameter['project'] = project;
|
|
1813
|
+
}
|
|
1790
1814
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1791
1815
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1792
1816
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1834,10 +1858,13 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1834
1858
|
/**
|
|
1835
1859
|
* List the client domains attached to a platform
|
|
1836
1860
|
* @summary List platform client domains
|
|
1861
|
+
* @param {string} project Project unique identifier
|
|
1837
1862
|
* @param {*} [options] Override http request option.
|
|
1838
1863
|
* @throws {RequiredError}
|
|
1839
1864
|
*/
|
|
1840
|
-
listClientDomains: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
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);
|
|
1841
1868
|
const localVarPath = `/v1/platform/clients/domains`;
|
|
1842
1869
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1843
1870
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1853,6 +1880,9 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1853
1880
|
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1854
1881
|
// authentication api-key required
|
|
1855
1882
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1883
|
+
if (project !== undefined) {
|
|
1884
|
+
localVarQueryParameter['project'] = project;
|
|
1885
|
+
}
|
|
1856
1886
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1857
1887
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1858
1888
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1864,10 +1894,13 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1864
1894
|
/**
|
|
1865
1895
|
* List the domains attached to a platform
|
|
1866
1896
|
* @summary List platform domains
|
|
1897
|
+
* @param {string} project Project unique identifier
|
|
1867
1898
|
* @param {*} [options] Override http request option.
|
|
1868
1899
|
* @throws {RequiredError}
|
|
1869
1900
|
*/
|
|
1870
|
-
listDomains: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
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);
|
|
1871
1904
|
const localVarPath = `/v1/platform/domains`;
|
|
1872
1905
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1873
1906
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1883,6 +1916,9 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
1883
1916
|
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1884
1917
|
// authentication api-key required
|
|
1885
1918
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1919
|
+
if (project !== undefined) {
|
|
1920
|
+
localVarQueryParameter['project'] = project;
|
|
1921
|
+
}
|
|
1886
1922
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1887
1923
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1888
1924
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1944,14 +1980,15 @@ export const PlatformApiFp = function (configuration) {
|
|
|
1944
1980
|
/**
|
|
1945
1981
|
* Create a new client platform domain
|
|
1946
1982
|
* @summary Create a platform client domain
|
|
1983
|
+
* @param {string} project Project unique identifier
|
|
1947
1984
|
* @param {CreateDomainRequest} [createDomainRequest]
|
|
1948
1985
|
* @param {*} [options] Override http request option.
|
|
1949
1986
|
* @throws {RequiredError}
|
|
1950
1987
|
*/
|
|
1951
|
-
createClientDomain(createDomainRequest, options) {
|
|
1988
|
+
createClientDomain(project, createDomainRequest, options) {
|
|
1952
1989
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1953
1990
|
var _a, _b, _c;
|
|
1954
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createClientDomain(createDomainRequest, options);
|
|
1991
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createClientDomain(project, createDomainRequest, options);
|
|
1955
1992
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1956
1993
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.createClientDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1957
1994
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1960,14 +1997,15 @@ export const PlatformApiFp = function (configuration) {
|
|
|
1960
1997
|
/**
|
|
1961
1998
|
* Create a new platform domain
|
|
1962
1999
|
* @summary Create a platform domain
|
|
2000
|
+
* @param {string} project Project unique identifier
|
|
1963
2001
|
* @param {CreateDomainRequest} [createDomainRequest]
|
|
1964
2002
|
* @param {*} [options] Override http request option.
|
|
1965
2003
|
* @throws {RequiredError}
|
|
1966
2004
|
*/
|
|
1967
|
-
createDomain(createDomainRequest, options) {
|
|
2005
|
+
createDomain(project, createDomainRequest, options) {
|
|
1968
2006
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1969
2007
|
var _a, _b, _c;
|
|
1970
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createDomain(createDomainRequest, options);
|
|
2008
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createDomain(project, createDomainRequest, options);
|
|
1971
2009
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1972
2010
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.createDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1973
2011
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1976,14 +2014,15 @@ export const PlatformApiFp = function (configuration) {
|
|
|
1976
2014
|
/**
|
|
1977
2015
|
* Delete an existing client platform domain
|
|
1978
2016
|
* @summary Delete a platform client domain
|
|
2017
|
+
* @param {string} project Project unique identifier
|
|
1979
2018
|
* @param {string} domain The domain identifier
|
|
1980
2019
|
* @param {*} [options] Override http request option.
|
|
1981
2020
|
* @throws {RequiredError}
|
|
1982
2021
|
*/
|
|
1983
|
-
deleteClientDomain(domain, options) {
|
|
2022
|
+
deleteClientDomain(project, domain, options) {
|
|
1984
2023
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1985
2024
|
var _a, _b, _c;
|
|
1986
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteClientDomain(domain, options);
|
|
2025
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteClientDomain(project, domain, options);
|
|
1987
2026
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1988
2027
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.deleteClientDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1989
2028
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1992,14 +2031,15 @@ export const PlatformApiFp = function (configuration) {
|
|
|
1992
2031
|
/**
|
|
1993
2032
|
* Delete an existing platform domain
|
|
1994
2033
|
* @summary Delete a platform domain
|
|
2034
|
+
* @param {string} project Project unique identifier
|
|
1995
2035
|
* @param {string} domain The domain identifier
|
|
1996
2036
|
* @param {*} [options] Override http request option.
|
|
1997
2037
|
* @throws {RequiredError}
|
|
1998
2038
|
*/
|
|
1999
|
-
deleteDomain(domain, options) {
|
|
2039
|
+
deleteDomain(project, domain, options) {
|
|
2000
2040
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2001
2041
|
var _a, _b, _c;
|
|
2002
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDomain(domain, options);
|
|
2042
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDomain(project, domain, options);
|
|
2003
2043
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2004
2044
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.deleteDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2005
2045
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2024,13 +2064,14 @@ export const PlatformApiFp = function (configuration) {
|
|
|
2024
2064
|
/**
|
|
2025
2065
|
* List the client domains attached to a platform
|
|
2026
2066
|
* @summary List platform client domains
|
|
2067
|
+
* @param {string} project Project unique identifier
|
|
2027
2068
|
* @param {*} [options] Override http request option.
|
|
2028
2069
|
* @throws {RequiredError}
|
|
2029
2070
|
*/
|
|
2030
|
-
listClientDomains(options) {
|
|
2071
|
+
listClientDomains(project, options) {
|
|
2031
2072
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2032
2073
|
var _a, _b, _c;
|
|
2033
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listClientDomains(options);
|
|
2074
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listClientDomains(project, options);
|
|
2034
2075
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2035
2076
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.listClientDomains']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2036
2077
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2039,13 +2080,14 @@ export const PlatformApiFp = function (configuration) {
|
|
|
2039
2080
|
/**
|
|
2040
2081
|
* List the domains attached to a platform
|
|
2041
2082
|
* @summary List platform domains
|
|
2083
|
+
* @param {string} project Project unique identifier
|
|
2042
2084
|
* @param {*} [options] Override http request option.
|
|
2043
2085
|
* @throws {RequiredError}
|
|
2044
2086
|
*/
|
|
2045
|
-
listDomains(options) {
|
|
2087
|
+
listDomains(project, options) {
|
|
2046
2088
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2047
2089
|
var _a, _b, _c;
|
|
2048
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listDomains(options);
|
|
2090
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listDomains(project, options);
|
|
2049
2091
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2050
2092
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.listDomains']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2051
2093
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2084,8 +2126,8 @@ export const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
2084
2126
|
* @param {*} [options] Override http request option.
|
|
2085
2127
|
* @throws {RequiredError}
|
|
2086
2128
|
*/
|
|
2087
|
-
createClientDomain(requestParameters
|
|
2088
|
-
return localVarFp.createClientDomain(requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
|
|
2129
|
+
createClientDomain(requestParameters, options) {
|
|
2130
|
+
return localVarFp.createClientDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
|
|
2089
2131
|
},
|
|
2090
2132
|
/**
|
|
2091
2133
|
* Create a new platform domain
|
|
@@ -2094,8 +2136,8 @@ export const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
2094
2136
|
* @param {*} [options] Override http request option.
|
|
2095
2137
|
* @throws {RequiredError}
|
|
2096
2138
|
*/
|
|
2097
|
-
createDomain(requestParameters
|
|
2098
|
-
return localVarFp.createDomain(requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
|
|
2139
|
+
createDomain(requestParameters, options) {
|
|
2140
|
+
return localVarFp.createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
|
|
2099
2141
|
},
|
|
2100
2142
|
/**
|
|
2101
2143
|
* Delete an existing client platform domain
|
|
@@ -2105,7 +2147,7 @@ export const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
2105
2147
|
* @throws {RequiredError}
|
|
2106
2148
|
*/
|
|
2107
2149
|
deleteClientDomain(requestParameters, options) {
|
|
2108
|
-
return localVarFp.deleteClientDomain(requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
2150
|
+
return localVarFp.deleteClientDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
2109
2151
|
},
|
|
2110
2152
|
/**
|
|
2111
2153
|
* Delete an existing platform domain
|
|
@@ -2115,7 +2157,7 @@ export const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
2115
2157
|
* @throws {RequiredError}
|
|
2116
2158
|
*/
|
|
2117
2159
|
deleteDomain(requestParameters, options) {
|
|
2118
|
-
return localVarFp.deleteDomain(requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
2160
|
+
return localVarFp.deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
2119
2161
|
},
|
|
2120
2162
|
/**
|
|
2121
2163
|
*
|
|
@@ -2130,20 +2172,22 @@ export const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
2130
2172
|
/**
|
|
2131
2173
|
* List the client domains attached to a platform
|
|
2132
2174
|
* @summary List platform client domains
|
|
2175
|
+
* @param {PlatformApiListClientDomainsRequest} requestParameters Request parameters.
|
|
2133
2176
|
* @param {*} [options] Override http request option.
|
|
2134
2177
|
* @throws {RequiredError}
|
|
2135
2178
|
*/
|
|
2136
|
-
listClientDomains(options) {
|
|
2137
|
-
return localVarFp.listClientDomains(options).then((request) => request(axios, basePath));
|
|
2179
|
+
listClientDomains(requestParameters, options) {
|
|
2180
|
+
return localVarFp.listClientDomains(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2138
2181
|
},
|
|
2139
2182
|
/**
|
|
2140
2183
|
* List the domains attached to a platform
|
|
2141
2184
|
* @summary List platform domains
|
|
2185
|
+
* @param {PlatformApiListDomainsRequest} requestParameters Request parameters.
|
|
2142
2186
|
* @param {*} [options] Override http request option.
|
|
2143
2187
|
* @throws {RequiredError}
|
|
2144
2188
|
*/
|
|
2145
|
-
listDomains(options) {
|
|
2146
|
-
return localVarFp.listDomains(options).then((request) => request(axios, basePath));
|
|
2189
|
+
listDomains(requestParameters, options) {
|
|
2190
|
+
return localVarFp.listDomains(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2147
2191
|
},
|
|
2148
2192
|
/**
|
|
2149
2193
|
*
|
|
@@ -2172,8 +2216,8 @@ export class PlatformApi extends BaseAPI {
|
|
|
2172
2216
|
* @throws {RequiredError}
|
|
2173
2217
|
* @memberof PlatformApi
|
|
2174
2218
|
*/
|
|
2175
|
-
createClientDomain(requestParameters
|
|
2176
|
-
return PlatformApiFp(this.configuration).createClientDomain(requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2219
|
+
createClientDomain(requestParameters, options) {
|
|
2220
|
+
return PlatformApiFp(this.configuration).createClientDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2177
2221
|
}
|
|
2178
2222
|
/**
|
|
2179
2223
|
* Create a new platform domain
|
|
@@ -2183,8 +2227,8 @@ export class PlatformApi extends BaseAPI {
|
|
|
2183
2227
|
* @throws {RequiredError}
|
|
2184
2228
|
* @memberof PlatformApi
|
|
2185
2229
|
*/
|
|
2186
|
-
createDomain(requestParameters
|
|
2187
|
-
return PlatformApiFp(this.configuration).createDomain(requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2230
|
+
createDomain(requestParameters, options) {
|
|
2231
|
+
return PlatformApiFp(this.configuration).createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2188
2232
|
}
|
|
2189
2233
|
/**
|
|
2190
2234
|
* Delete an existing client platform domain
|
|
@@ -2195,7 +2239,7 @@ export class PlatformApi extends BaseAPI {
|
|
|
2195
2239
|
* @memberof PlatformApi
|
|
2196
2240
|
*/
|
|
2197
2241
|
deleteClientDomain(requestParameters, options) {
|
|
2198
|
-
return PlatformApiFp(this.configuration).deleteClientDomain(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
2242
|
+
return PlatformApiFp(this.configuration).deleteClientDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
2199
2243
|
}
|
|
2200
2244
|
/**
|
|
2201
2245
|
* Delete an existing platform domain
|
|
@@ -2206,7 +2250,7 @@ export class PlatformApi extends BaseAPI {
|
|
|
2206
2250
|
* @memberof PlatformApi
|
|
2207
2251
|
*/
|
|
2208
2252
|
deleteDomain(requestParameters, options) {
|
|
2209
|
-
return PlatformApiFp(this.configuration).deleteDomain(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
2253
|
+
return PlatformApiFp(this.configuration).deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
2210
2254
|
}
|
|
2211
2255
|
/**
|
|
2212
2256
|
*
|
|
@@ -2222,22 +2266,24 @@ export class PlatformApi extends BaseAPI {
|
|
|
2222
2266
|
/**
|
|
2223
2267
|
* List the client domains attached to a platform
|
|
2224
2268
|
* @summary List platform client domains
|
|
2269
|
+
* @param {PlatformApiListClientDomainsRequest} requestParameters Request parameters.
|
|
2225
2270
|
* @param {*} [options] Override http request option.
|
|
2226
2271
|
* @throws {RequiredError}
|
|
2227
2272
|
* @memberof PlatformApi
|
|
2228
2273
|
*/
|
|
2229
|
-
listClientDomains(options) {
|
|
2230
|
-
return PlatformApiFp(this.configuration).listClientDomains(options).then((request) => request(this.axios, this.basePath));
|
|
2274
|
+
listClientDomains(requestParameters, options) {
|
|
2275
|
+
return PlatformApiFp(this.configuration).listClientDomains(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2231
2276
|
}
|
|
2232
2277
|
/**
|
|
2233
2278
|
* List the domains attached to a platform
|
|
2234
2279
|
* @summary List platform domains
|
|
2280
|
+
* @param {PlatformApiListDomainsRequest} requestParameters Request parameters.
|
|
2235
2281
|
* @param {*} [options] Override http request option.
|
|
2236
2282
|
* @throws {RequiredError}
|
|
2237
2283
|
* @memberof PlatformApi
|
|
2238
2284
|
*/
|
|
2239
|
-
listDomains(options) {
|
|
2240
|
-
return PlatformApiFp(this.configuration).listDomains(options).then((request) => request(this.axios, this.basePath));
|
|
2285
|
+
listDomains(requestParameters, options) {
|
|
2286
|
+
return PlatformApiFp(this.configuration).listDomains(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2241
2287
|
}
|
|
2242
2288
|
/**
|
|
2243
2289
|
*
|
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
package/docs/InlineObject.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**domains** | [**Array<Domain>**](Domain.md) | | [
|
|
9
|
-
**nextPageToken** | **number** | | [
|
|
8
|
+
**domains** | [**Array<Domain>**](Domain.md) | | [default to undefined]
|
|
9
|
+
**nextPageToken** | **number** | | [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
package/docs/PlatformApi.md
CHANGED
|
@@ -30,9 +30,11 @@ import {
|
|
|
30
30
|
const configuration = new Configuration();
|
|
31
31
|
const apiInstance = new PlatformApi(configuration);
|
|
32
32
|
|
|
33
|
+
let project: string; //Project unique identifier (default to undefined)
|
|
33
34
|
let createDomainRequest: CreateDomainRequest; // (optional)
|
|
34
35
|
|
|
35
36
|
const { status, data } = await apiInstance.createClientDomain(
|
|
37
|
+
project,
|
|
36
38
|
createDomainRequest
|
|
37
39
|
);
|
|
38
40
|
```
|
|
@@ -42,6 +44,7 @@ const { status, data } = await apiInstance.createClientDomain(
|
|
|
42
44
|
|Name | Type | Description | Notes|
|
|
43
45
|
|------------- | ------------- | ------------- | -------------|
|
|
44
46
|
| **createDomainRequest** | **CreateDomainRequest**| | |
|
|
47
|
+
| **project** | [**string**] | Project unique identifier | defaults to undefined|
|
|
45
48
|
|
|
46
49
|
|
|
47
50
|
### Return type
|
|
@@ -87,9 +90,11 @@ import {
|
|
|
87
90
|
const configuration = new Configuration();
|
|
88
91
|
const apiInstance = new PlatformApi(configuration);
|
|
89
92
|
|
|
93
|
+
let project: string; //Project unique identifier (default to undefined)
|
|
90
94
|
let createDomainRequest: CreateDomainRequest; // (optional)
|
|
91
95
|
|
|
92
96
|
const { status, data } = await apiInstance.createDomain(
|
|
97
|
+
project,
|
|
93
98
|
createDomainRequest
|
|
94
99
|
);
|
|
95
100
|
```
|
|
@@ -99,6 +104,7 @@ const { status, data } = await apiInstance.createDomain(
|
|
|
99
104
|
|Name | Type | Description | Notes|
|
|
100
105
|
|------------- | ------------- | ------------- | -------------|
|
|
101
106
|
| **createDomainRequest** | **CreateDomainRequest**| | |
|
|
107
|
+
| **project** | [**string**] | Project unique identifier | defaults to undefined|
|
|
102
108
|
|
|
103
109
|
|
|
104
110
|
### Return type
|
|
@@ -143,9 +149,11 @@ import {
|
|
|
143
149
|
const configuration = new Configuration();
|
|
144
150
|
const apiInstance = new PlatformApi(configuration);
|
|
145
151
|
|
|
152
|
+
let project: string; //Project unique identifier (default to undefined)
|
|
146
153
|
let domain: string; //The domain identifier (default to undefined)
|
|
147
154
|
|
|
148
155
|
const { status, data } = await apiInstance.deleteClientDomain(
|
|
156
|
+
project,
|
|
149
157
|
domain
|
|
150
158
|
);
|
|
151
159
|
```
|
|
@@ -154,6 +162,7 @@ const { status, data } = await apiInstance.deleteClientDomain(
|
|
|
154
162
|
|
|
155
163
|
|Name | Type | Description | Notes|
|
|
156
164
|
|------------- | ------------- | ------------- | -------------|
|
|
165
|
+
| **project** | [**string**] | Project unique identifier | defaults to undefined|
|
|
157
166
|
| **domain** | [**string**] | The domain identifier | defaults to undefined|
|
|
158
167
|
|
|
159
168
|
|
|
@@ -199,9 +208,11 @@ import {
|
|
|
199
208
|
const configuration = new Configuration();
|
|
200
209
|
const apiInstance = new PlatformApi(configuration);
|
|
201
210
|
|
|
211
|
+
let project: string; //Project unique identifier (default to undefined)
|
|
202
212
|
let domain: string; //The domain identifier (default to undefined)
|
|
203
213
|
|
|
204
214
|
const { status, data } = await apiInstance.deleteDomain(
|
|
215
|
+
project,
|
|
205
216
|
domain
|
|
206
217
|
);
|
|
207
218
|
```
|
|
@@ -210,6 +221,7 @@ const { status, data } = await apiInstance.deleteDomain(
|
|
|
210
221
|
|
|
211
222
|
|Name | Type | Description | Notes|
|
|
212
223
|
|------------- | ------------- | ------------- | -------------|
|
|
224
|
+
| **project** | [**string**] | Project unique identifier | defaults to undefined|
|
|
213
225
|
| **domain** | [**string**] | The domain identifier | defaults to undefined|
|
|
214
226
|
|
|
215
227
|
|
|
@@ -309,11 +321,18 @@ import {
|
|
|
309
321
|
const configuration = new Configuration();
|
|
310
322
|
const apiInstance = new PlatformApi(configuration);
|
|
311
323
|
|
|
312
|
-
|
|
324
|
+
let project: string; //Project unique identifier (default to undefined)
|
|
325
|
+
|
|
326
|
+
const { status, data } = await apiInstance.listClientDomains(
|
|
327
|
+
project
|
|
328
|
+
);
|
|
313
329
|
```
|
|
314
330
|
|
|
315
331
|
### Parameters
|
|
316
|
-
|
|
332
|
+
|
|
333
|
+
|Name | Type | Description | Notes|
|
|
334
|
+
|------------- | ------------- | ------------- | -------------|
|
|
335
|
+
| **project** | [**string**] | Project unique identifier | defaults to undefined|
|
|
317
336
|
|
|
318
337
|
|
|
319
338
|
### Return type
|
|
@@ -358,11 +377,18 @@ import {
|
|
|
358
377
|
const configuration = new Configuration();
|
|
359
378
|
const apiInstance = new PlatformApi(configuration);
|
|
360
379
|
|
|
361
|
-
|
|
380
|
+
let project: string; //Project unique identifier (default to undefined)
|
|
381
|
+
|
|
382
|
+
const { status, data } = await apiInstance.listDomains(
|
|
383
|
+
project
|
|
384
|
+
);
|
|
362
385
|
```
|
|
363
386
|
|
|
364
387
|
### Parameters
|
|
365
|
-
|
|
388
|
+
|
|
389
|
+
|Name | Type | Description | Notes|
|
|
390
|
+
|------------- | ------------- | ------------- | -------------|
|
|
391
|
+
| **project** | [**string**] | Project unique identifier | defaults to undefined|
|
|
366
392
|
|
|
367
393
|
|
|
368
394
|
### Return type
|
package/index.ts
CHANGED