@teemill/platform 0.20.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/README.md +16 -3
- package/api.ts +990 -92
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +538 -17
- package/dist/api.js +612 -2
- 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 +538 -17
- package/dist/esm/api.js +607 -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 +330 -0
- package/docs/SaveTermsRequest.md +24 -0
- package/docs/Terms.md +32 -0
- package/docs/TermsApi.md +127 -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.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
|
|
@@ -2251,3 +2661,199 @@ export class ReviewsApi extends BaseAPI {
|
|
|
2251
2661
|
return ReviewsApiFp(this.configuration).moderateReview(requestParameters.project, requestParameters.platformId, requestParameters.reviewId, requestParameters.moderateReviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2252
2662
|
}
|
|
2253
2663
|
}
|
|
2664
|
+
/**
|
|
2665
|
+
* TermsApi - axios parameter creator
|
|
2666
|
+
* @export
|
|
2667
|
+
*/
|
|
2668
|
+
export const TermsApiAxiosParamCreator = function (configuration) {
|
|
2669
|
+
return {
|
|
2670
|
+
/**
|
|
2671
|
+
*
|
|
2672
|
+
* @summary Get the platform\'s terms
|
|
2673
|
+
* @param {string} project Project unique identifier
|
|
2674
|
+
* @param {string} platformId The platform identifier
|
|
2675
|
+
* @param {*} [options] Override http request option.
|
|
2676
|
+
* @throws {RequiredError}
|
|
2677
|
+
*/
|
|
2678
|
+
getTerms: (project_1, platformId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, ...args_1], void 0, function* (project, platformId, options = {}) {
|
|
2679
|
+
// verify required parameter 'project' is not null or undefined
|
|
2680
|
+
assertParamExists('getTerms', 'project', project);
|
|
2681
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
2682
|
+
assertParamExists('getTerms', 'platformId', platformId);
|
|
2683
|
+
const localVarPath = `/v1/platform/{platformId}/terms`
|
|
2684
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
|
|
2685
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2686
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2687
|
+
let baseOptions;
|
|
2688
|
+
if (configuration) {
|
|
2689
|
+
baseOptions = configuration.baseOptions;
|
|
2690
|
+
}
|
|
2691
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2692
|
+
const localVarHeaderParameter = {};
|
|
2693
|
+
const localVarQueryParameter = {};
|
|
2694
|
+
// authentication session-oauth required
|
|
2695
|
+
// oauth required
|
|
2696
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
2697
|
+
// authentication api-key required
|
|
2698
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
2699
|
+
if (project !== undefined) {
|
|
2700
|
+
localVarQueryParameter['project'] = project;
|
|
2701
|
+
}
|
|
2702
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2703
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2704
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2705
|
+
return {
|
|
2706
|
+
url: toPathString(localVarUrlObj),
|
|
2707
|
+
options: localVarRequestOptions,
|
|
2708
|
+
};
|
|
2709
|
+
}),
|
|
2710
|
+
/**
|
|
2711
|
+
*
|
|
2712
|
+
* @summary Save the platform\'s terms
|
|
2713
|
+
* @param {string} project Project unique identifier
|
|
2714
|
+
* @param {string} platformId The platform identifier
|
|
2715
|
+
* @param {SaveTermsRequest} saveTermsRequest Save terms
|
|
2716
|
+
* @param {*} [options] Override http request option.
|
|
2717
|
+
* @throws {RequiredError}
|
|
2718
|
+
*/
|
|
2719
|
+
saveTerms: (project_1, platformId_1, saveTermsRequest_1, ...args_1) => __awaiter(this, [project_1, platformId_1, saveTermsRequest_1, ...args_1], void 0, function* (project, platformId, saveTermsRequest, options = {}) {
|
|
2720
|
+
// verify required parameter 'project' is not null or undefined
|
|
2721
|
+
assertParamExists('saveTerms', 'project', project);
|
|
2722
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
2723
|
+
assertParamExists('saveTerms', 'platformId', platformId);
|
|
2724
|
+
// verify required parameter 'saveTermsRequest' is not null or undefined
|
|
2725
|
+
assertParamExists('saveTerms', 'saveTermsRequest', saveTermsRequest);
|
|
2726
|
+
const localVarPath = `/v1/platform/{platformId}/terms`
|
|
2727
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
|
|
2728
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2729
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2730
|
+
let baseOptions;
|
|
2731
|
+
if (configuration) {
|
|
2732
|
+
baseOptions = configuration.baseOptions;
|
|
2733
|
+
}
|
|
2734
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2735
|
+
const localVarHeaderParameter = {};
|
|
2736
|
+
const localVarQueryParameter = {};
|
|
2737
|
+
// authentication session-oauth required
|
|
2738
|
+
// oauth required
|
|
2739
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
2740
|
+
// authentication api-key required
|
|
2741
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
2742
|
+
if (project !== undefined) {
|
|
2743
|
+
localVarQueryParameter['project'] = project;
|
|
2744
|
+
}
|
|
2745
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2746
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2747
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2748
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2749
|
+
localVarRequestOptions.data = serializeDataIfNeeded(saveTermsRequest, localVarRequestOptions, configuration);
|
|
2750
|
+
return {
|
|
2751
|
+
url: toPathString(localVarUrlObj),
|
|
2752
|
+
options: localVarRequestOptions,
|
|
2753
|
+
};
|
|
2754
|
+
}),
|
|
2755
|
+
};
|
|
2756
|
+
};
|
|
2757
|
+
/**
|
|
2758
|
+
* TermsApi - functional programming interface
|
|
2759
|
+
* @export
|
|
2760
|
+
*/
|
|
2761
|
+
export const TermsApiFp = function (configuration) {
|
|
2762
|
+
const localVarAxiosParamCreator = TermsApiAxiosParamCreator(configuration);
|
|
2763
|
+
return {
|
|
2764
|
+
/**
|
|
2765
|
+
*
|
|
2766
|
+
* @summary Get the platform\'s terms
|
|
2767
|
+
* @param {string} project Project unique identifier
|
|
2768
|
+
* @param {string} platformId The platform identifier
|
|
2769
|
+
* @param {*} [options] Override http request option.
|
|
2770
|
+
* @throws {RequiredError}
|
|
2771
|
+
*/
|
|
2772
|
+
getTerms(project, platformId, options) {
|
|
2773
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2774
|
+
var _a, _b, _c;
|
|
2775
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTerms(project, platformId, options);
|
|
2776
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2777
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TermsApi.getTerms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2778
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2779
|
+
});
|
|
2780
|
+
},
|
|
2781
|
+
/**
|
|
2782
|
+
*
|
|
2783
|
+
* @summary Save the platform\'s terms
|
|
2784
|
+
* @param {string} project Project unique identifier
|
|
2785
|
+
* @param {string} platformId The platform identifier
|
|
2786
|
+
* @param {SaveTermsRequest} saveTermsRequest Save terms
|
|
2787
|
+
* @param {*} [options] Override http request option.
|
|
2788
|
+
* @throws {RequiredError}
|
|
2789
|
+
*/
|
|
2790
|
+
saveTerms(project, platformId, saveTermsRequest, options) {
|
|
2791
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2792
|
+
var _a, _b, _c;
|
|
2793
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.saveTerms(project, platformId, saveTermsRequest, options);
|
|
2794
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2795
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TermsApi.saveTerms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2796
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2797
|
+
});
|
|
2798
|
+
},
|
|
2799
|
+
};
|
|
2800
|
+
};
|
|
2801
|
+
/**
|
|
2802
|
+
* TermsApi - factory interface
|
|
2803
|
+
* @export
|
|
2804
|
+
*/
|
|
2805
|
+
export const TermsApiFactory = function (configuration, basePath, axios) {
|
|
2806
|
+
const localVarFp = TermsApiFp(configuration);
|
|
2807
|
+
return {
|
|
2808
|
+
/**
|
|
2809
|
+
*
|
|
2810
|
+
* @summary Get the platform\'s terms
|
|
2811
|
+
* @param {TermsApiGetTermsRequest} requestParameters Request parameters.
|
|
2812
|
+
* @param {*} [options] Override http request option.
|
|
2813
|
+
* @throws {RequiredError}
|
|
2814
|
+
*/
|
|
2815
|
+
getTerms(requestParameters, options) {
|
|
2816
|
+
return localVarFp.getTerms(requestParameters.project, requestParameters.platformId, options).then((request) => request(axios, basePath));
|
|
2817
|
+
},
|
|
2818
|
+
/**
|
|
2819
|
+
*
|
|
2820
|
+
* @summary Save the platform\'s terms
|
|
2821
|
+
* @param {TermsApiSaveTermsRequest} requestParameters Request parameters.
|
|
2822
|
+
* @param {*} [options] Override http request option.
|
|
2823
|
+
* @throws {RequiredError}
|
|
2824
|
+
*/
|
|
2825
|
+
saveTerms(requestParameters, options) {
|
|
2826
|
+
return localVarFp.saveTerms(requestParameters.project, requestParameters.platformId, requestParameters.saveTermsRequest, options).then((request) => request(axios, basePath));
|
|
2827
|
+
},
|
|
2828
|
+
};
|
|
2829
|
+
};
|
|
2830
|
+
/**
|
|
2831
|
+
* TermsApi - object-oriented interface
|
|
2832
|
+
* @export
|
|
2833
|
+
* @class TermsApi
|
|
2834
|
+
* @extends {BaseAPI}
|
|
2835
|
+
*/
|
|
2836
|
+
export class TermsApi extends BaseAPI {
|
|
2837
|
+
/**
|
|
2838
|
+
*
|
|
2839
|
+
* @summary Get the platform\'s terms
|
|
2840
|
+
* @param {TermsApiGetTermsRequest} requestParameters Request parameters.
|
|
2841
|
+
* @param {*} [options] Override http request option.
|
|
2842
|
+
* @throws {RequiredError}
|
|
2843
|
+
* @memberof TermsApi
|
|
2844
|
+
*/
|
|
2845
|
+
getTerms(requestParameters, options) {
|
|
2846
|
+
return TermsApiFp(this.configuration).getTerms(requestParameters.project, requestParameters.platformId, options).then((request) => request(this.axios, this.basePath));
|
|
2847
|
+
}
|
|
2848
|
+
/**
|
|
2849
|
+
*
|
|
2850
|
+
* @summary Save the platform\'s terms
|
|
2851
|
+
* @param {TermsApiSaveTermsRequest} requestParameters Request parameters.
|
|
2852
|
+
* @param {*} [options] Override http request option.
|
|
2853
|
+
* @throws {RequiredError}
|
|
2854
|
+
* @memberof TermsApi
|
|
2855
|
+
*/
|
|
2856
|
+
saveTerms(requestParameters, options) {
|
|
2857
|
+
return TermsApiFp(this.configuration).saveTerms(requestParameters.project, requestParameters.platformId, requestParameters.saveTermsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2858
|
+
}
|
|
2859
|
+
}
|