kb-cloud-client-typescript 2.4.0-alpha.136 → 2.4.0-alpha.137
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/adminapi/api.d.ts +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/account-api.d.ts +743 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +811 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.d.ts +79 -0
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.js +84 -0
- package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
- package/dist/adminapi/apis/influxdb-api.d.ts +791 -0
- package/dist/adminapi/apis/influxdb-api.d.ts.map +1 -0
- package/dist/adminapi/apis/influxdb-api.js +875 -0
- package/dist/adminapi/apis/influxdb-api.js.map +1 -0
- package/dist/adminapi/apis/shared-api.d.ts +743 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +811 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +14 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +14 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/influx-dbbucket-permission.d.ts +37 -0
- package/dist/adminapi/models/influx-dbbucket-permission.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbbucket-permission.js +16 -0
- package/dist/adminapi/models/influx-dbbucket-permission.js.map +1 -0
- package/dist/adminapi/models/influx-dbbucket.d.ts +43 -0
- package/dist/adminapi/models/influx-dbbucket.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbbucket.js +16 -0
- package/dist/adminapi/models/influx-dbbucket.js.map +1 -0
- package/dist/adminapi/models/influx-dborganization.d.ts +31 -0
- package/dist/adminapi/models/influx-dborganization.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dborganization.js +16 -0
- package/dist/adminapi/models/influx-dborganization.js.map +1 -0
- package/dist/adminapi/models/influx-dbpassword-change.d.ts +25 -0
- package/dist/adminapi/models/influx-dbpassword-change.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbpassword-change.js +16 -0
- package/dist/adminapi/models/influx-dbpassword-change.js.map +1 -0
- package/dist/adminapi/models/influx-dbpermission-action.d.ts +22 -0
- package/dist/adminapi/models/influx-dbpermission-action.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbpermission-action.js +26 -0
- package/dist/adminapi/models/influx-dbpermission-action.js.map +1 -0
- package/dist/adminapi/models/influx-dbpermission.d.ts +33 -0
- package/dist/adminapi/models/influx-dbpermission.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbpermission.js +16 -0
- package/dist/adminapi/models/influx-dbpermission.js.map +1 -0
- package/dist/adminapi/models/influx-dbresource.d.ts +37 -0
- package/dist/adminapi/models/influx-dbresource.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbresource.js +16 -0
- package/dist/adminapi/models/influx-dbresource.js.map +1 -0
- package/dist/adminapi/models/influx-dbtoken-create.d.ts +38 -0
- package/dist/adminapi/models/influx-dbtoken-create.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbtoken-create.js +16 -0
- package/dist/adminapi/models/influx-dbtoken-create.js.map +1 -0
- package/dist/adminapi/models/influx-dbtoken-created.d.ts +69 -0
- package/dist/adminapi/models/influx-dbtoken-created.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbtoken-created.js +16 -0
- package/dist/adminapi/models/influx-dbtoken-created.js.map +1 -0
- package/dist/adminapi/models/influx-dbtoken-status.d.ts +22 -0
- package/dist/adminapi/models/influx-dbtoken-status.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbtoken-status.js +26 -0
- package/dist/adminapi/models/influx-dbtoken-status.js.map +1 -0
- package/dist/adminapi/models/influx-dbtoken-update.d.ts +26 -0
- package/dist/adminapi/models/influx-dbtoken-update.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbtoken-update.js +16 -0
- package/dist/adminapi/models/influx-dbtoken-update.js.map +1 -0
- package/dist/adminapi/models/influx-dbtoken.d.ts +63 -0
- package/dist/adminapi/models/influx-dbtoken.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbtoken.js +16 -0
- package/dist/adminapi/models/influx-dbtoken.js.map +1 -0
- package/dist/adminapi/models/influx-dbuser-create.d.ts +31 -0
- package/dist/adminapi/models/influx-dbuser-create.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbuser-create.js +16 -0
- package/dist/adminapi/models/influx-dbuser-create.js.map +1 -0
- package/dist/adminapi/models/influx-dbuser.d.ts +43 -0
- package/dist/adminapi/models/influx-dbuser.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbuser.js +16 -0
- package/dist/adminapi/models/influx-dbuser.js.map +1 -0
- package/dist/openapi/api.d.ts +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +743 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +811 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/diagnostics-api.d.ts +79 -0
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.js +84 -0
- package/dist/openapi/apis/diagnostics-api.js.map +1 -1
- package/dist/openapi/apis/influxdb-api.d.ts +791 -0
- package/dist/openapi/apis/influxdb-api.d.ts.map +1 -0
- package/dist/openapi/apis/influxdb-api.js +875 -0
- package/dist/openapi/apis/influxdb-api.js.map +1 -0
- package/dist/openapi/apis/shared-api.d.ts +743 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +811 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +14 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +14 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/influx-dbbucket-permission.d.ts +37 -0
- package/dist/openapi/models/influx-dbbucket-permission.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbbucket-permission.js +16 -0
- package/dist/openapi/models/influx-dbbucket-permission.js.map +1 -0
- package/dist/openapi/models/influx-dbbucket.d.ts +43 -0
- package/dist/openapi/models/influx-dbbucket.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbbucket.js +16 -0
- package/dist/openapi/models/influx-dbbucket.js.map +1 -0
- package/dist/openapi/models/influx-dborganization.d.ts +31 -0
- package/dist/openapi/models/influx-dborganization.d.ts.map +1 -0
- package/dist/openapi/models/influx-dborganization.js +16 -0
- package/dist/openapi/models/influx-dborganization.js.map +1 -0
- package/dist/openapi/models/influx-dbpassword-change.d.ts +25 -0
- package/dist/openapi/models/influx-dbpassword-change.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbpassword-change.js +16 -0
- package/dist/openapi/models/influx-dbpassword-change.js.map +1 -0
- package/dist/openapi/models/influx-dbpermission-action.d.ts +22 -0
- package/dist/openapi/models/influx-dbpermission-action.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbpermission-action.js +26 -0
- package/dist/openapi/models/influx-dbpermission-action.js.map +1 -0
- package/dist/openapi/models/influx-dbpermission.d.ts +33 -0
- package/dist/openapi/models/influx-dbpermission.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbpermission.js +16 -0
- package/dist/openapi/models/influx-dbpermission.js.map +1 -0
- package/dist/openapi/models/influx-dbresource.d.ts +37 -0
- package/dist/openapi/models/influx-dbresource.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbresource.js +16 -0
- package/dist/openapi/models/influx-dbresource.js.map +1 -0
- package/dist/openapi/models/influx-dbtoken-create.d.ts +38 -0
- package/dist/openapi/models/influx-dbtoken-create.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbtoken-create.js +16 -0
- package/dist/openapi/models/influx-dbtoken-create.js.map +1 -0
- package/dist/openapi/models/influx-dbtoken-created.d.ts +69 -0
- package/dist/openapi/models/influx-dbtoken-created.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbtoken-created.js +16 -0
- package/dist/openapi/models/influx-dbtoken-created.js.map +1 -0
- package/dist/openapi/models/influx-dbtoken-status.d.ts +22 -0
- package/dist/openapi/models/influx-dbtoken-status.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbtoken-status.js +26 -0
- package/dist/openapi/models/influx-dbtoken-status.js.map +1 -0
- package/dist/openapi/models/influx-dbtoken-update.d.ts +26 -0
- package/dist/openapi/models/influx-dbtoken-update.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbtoken-update.js +16 -0
- package/dist/openapi/models/influx-dbtoken-update.js.map +1 -0
- package/dist/openapi/models/influx-dbtoken.d.ts +63 -0
- package/dist/openapi/models/influx-dbtoken.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbtoken.js +16 -0
- package/dist/openapi/models/influx-dbtoken.js.map +1 -0
- package/dist/openapi/models/influx-dbuser-create.d.ts +31 -0
- package/dist/openapi/models/influx-dbuser-create.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbuser-create.js +16 -0
- package/dist/openapi/models/influx-dbuser-create.js.map +1 -0
- package/dist/openapi/models/influx-dbuser.d.ts +43 -0
- package/dist/openapi/models/influx-dbuser.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbuser.js +16 -0
- package/dist/openapi/models/influx-dbuser.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +15 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/account-api.ts +2360 -1055
- package/src/adminapi/apis/diagnostics-api.ts +138 -0
- package/src/adminapi/apis/influxdb-api.ts +1375 -0
- package/src/adminapi/apis/shared-api.ts +1523 -218
- package/src/adminapi/models/index.ts +14 -0
- package/src/adminapi/models/influx-dbbucket-permission.ts +42 -0
- package/src/adminapi/models/influx-dbbucket.ts +48 -0
- package/src/adminapi/models/influx-dborganization.ts +36 -0
- package/src/adminapi/models/influx-dbpassword-change.ts +30 -0
- package/src/adminapi/models/influx-dbpermission-action.ts +31 -0
- package/src/adminapi/models/influx-dbpermission.ts +44 -0
- package/src/adminapi/models/influx-dbresource.ts +42 -0
- package/src/adminapi/models/influx-dbtoken-create.ts +45 -0
- package/src/adminapi/models/influx-dbtoken-created.ts +80 -0
- package/src/adminapi/models/influx-dbtoken-status.ts +31 -0
- package/src/adminapi/models/influx-dbtoken-update.ts +35 -0
- package/src/adminapi/models/influx-dbtoken.ts +74 -0
- package/src/adminapi/models/influx-dbuser-create.ts +36 -0
- package/src/adminapi/models/influx-dbuser.ts +48 -0
- package/src/adminapi.yaml +704 -15
- package/src/openapi/.openapi-generator/FILES +15 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/account-api.ts +2360 -1055
- package/src/openapi/apis/diagnostics-api.ts +138 -0
- package/src/openapi/apis/influxdb-api.ts +1375 -0
- package/src/openapi/apis/shared-api.ts +1557 -252
- package/src/openapi/models/index.ts +14 -0
- package/src/openapi/models/influx-dbbucket-permission.ts +42 -0
- package/src/openapi/models/influx-dbbucket.ts +48 -0
- package/src/openapi/models/influx-dborganization.ts +36 -0
- package/src/openapi/models/influx-dbpassword-change.ts +30 -0
- package/src/openapi/models/influx-dbpermission-action.ts +31 -0
- package/src/openapi/models/influx-dbpermission.ts +44 -0
- package/src/openapi/models/influx-dbresource.ts +42 -0
- package/src/openapi/models/influx-dbtoken-create.ts +45 -0
- package/src/openapi/models/influx-dbtoken-created.ts +80 -0
- package/src/openapi/models/influx-dbtoken-status.ts +31 -0
- package/src/openapi/models/influx-dbtoken-update.ts +35 -0
- package/src/openapi/models/influx-dbtoken.ts +74 -0
- package/src/openapi/models/influx-dbuser-create.ts +36 -0
- package/src/openapi/models/influx-dbuser.ts +48 -0
- package/src/openapi.yaml +704 -15
|
@@ -1907,6 +1907,444 @@ const AccountApiAxiosParamCreator = function (configuration) {
|
|
|
1907
1907
|
options: localVarRequestOptions,
|
|
1908
1908
|
};
|
|
1909
1909
|
},
|
|
1910
|
+
/**
|
|
1911
|
+
*
|
|
1912
|
+
* @summary InfluxDB ChangePassword
|
|
1913
|
+
* @param {string} orgName
|
|
1914
|
+
* @param {string} clusterName
|
|
1915
|
+
* @param {string} userID
|
|
1916
|
+
* @param {InfluxDBPasswordChange} influxDBPasswordChange
|
|
1917
|
+
* @param {*} [options] Override http request option.
|
|
1918
|
+
* @throws {RequiredError}
|
|
1919
|
+
*/
|
|
1920
|
+
influxDBChangePassword: async (orgName, clusterName, userID, influxDBPasswordChange, options = {}) => {
|
|
1921
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1922
|
+
(0, common_1.assertParamExists)('influxDBChangePassword', 'orgName', orgName);
|
|
1923
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1924
|
+
(0, common_1.assertParamExists)('influxDBChangePassword', 'clusterName', clusterName);
|
|
1925
|
+
// verify required parameter 'userID' is not null or undefined
|
|
1926
|
+
(0, common_1.assertParamExists)('influxDBChangePassword', 'userID', userID);
|
|
1927
|
+
// verify required parameter 'influxDBPasswordChange' is not null or undefined
|
|
1928
|
+
(0, common_1.assertParamExists)('influxDBChangePassword', 'influxDBPasswordChange', influxDBPasswordChange);
|
|
1929
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/password`
|
|
1930
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1931
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1932
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
1933
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1934
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1935
|
+
let baseOptions;
|
|
1936
|
+
if (configuration) {
|
|
1937
|
+
baseOptions = configuration.baseOptions;
|
|
1938
|
+
}
|
|
1939
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1940
|
+
const localVarHeaderParameter = {};
|
|
1941
|
+
const localVarQueryParameter = {};
|
|
1942
|
+
// authentication BearerToken required
|
|
1943
|
+
// http bearer authentication required
|
|
1944
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1945
|
+
// authentication DigestAuth required
|
|
1946
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1947
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1948
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1949
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1950
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1951
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBPasswordChange, localVarRequestOptions, configuration);
|
|
1952
|
+
return {
|
|
1953
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1954
|
+
options: localVarRequestOptions,
|
|
1955
|
+
};
|
|
1956
|
+
},
|
|
1957
|
+
/**
|
|
1958
|
+
*
|
|
1959
|
+
* @summary InfluxDB CreateToken
|
|
1960
|
+
* @param {string} orgName
|
|
1961
|
+
* @param {string} clusterName
|
|
1962
|
+
* @param {string} userID
|
|
1963
|
+
* @param {InfluxDBTokenCreate} influxDBTokenCreate
|
|
1964
|
+
* @param {*} [options] Override http request option.
|
|
1965
|
+
* @throws {RequiredError}
|
|
1966
|
+
*/
|
|
1967
|
+
influxDBCreateToken: async (orgName, clusterName, userID, influxDBTokenCreate, options = {}) => {
|
|
1968
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1969
|
+
(0, common_1.assertParamExists)('influxDBCreateToken', 'orgName', orgName);
|
|
1970
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1971
|
+
(0, common_1.assertParamExists)('influxDBCreateToken', 'clusterName', clusterName);
|
|
1972
|
+
// verify required parameter 'userID' is not null or undefined
|
|
1973
|
+
(0, common_1.assertParamExists)('influxDBCreateToken', 'userID', userID);
|
|
1974
|
+
// verify required parameter 'influxDBTokenCreate' is not null or undefined
|
|
1975
|
+
(0, common_1.assertParamExists)('influxDBCreateToken', 'influxDBTokenCreate', influxDBTokenCreate);
|
|
1976
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens`
|
|
1977
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1978
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1979
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
1980
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1981
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1982
|
+
let baseOptions;
|
|
1983
|
+
if (configuration) {
|
|
1984
|
+
baseOptions = configuration.baseOptions;
|
|
1985
|
+
}
|
|
1986
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1987
|
+
const localVarHeaderParameter = {};
|
|
1988
|
+
const localVarQueryParameter = {};
|
|
1989
|
+
// authentication BearerToken required
|
|
1990
|
+
// http bearer authentication required
|
|
1991
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1992
|
+
// authentication DigestAuth required
|
|
1993
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1994
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1995
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1996
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1997
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1998
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBTokenCreate, localVarRequestOptions, configuration);
|
|
1999
|
+
return {
|
|
2000
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2001
|
+
options: localVarRequestOptions,
|
|
2002
|
+
};
|
|
2003
|
+
},
|
|
2004
|
+
/**
|
|
2005
|
+
*
|
|
2006
|
+
* @summary InfluxDB CreateUser
|
|
2007
|
+
* @param {string} orgName
|
|
2008
|
+
* @param {string} clusterName
|
|
2009
|
+
* @param {InfluxDBUserCreate} influxDBUserCreate
|
|
2010
|
+
* @param {*} [options] Override http request option.
|
|
2011
|
+
* @throws {RequiredError}
|
|
2012
|
+
*/
|
|
2013
|
+
influxDBCreateUser: async (orgName, clusterName, influxDBUserCreate, options = {}) => {
|
|
2014
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2015
|
+
(0, common_1.assertParamExists)('influxDBCreateUser', 'orgName', orgName);
|
|
2016
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2017
|
+
(0, common_1.assertParamExists)('influxDBCreateUser', 'clusterName', clusterName);
|
|
2018
|
+
// verify required parameter 'influxDBUserCreate' is not null or undefined
|
|
2019
|
+
(0, common_1.assertParamExists)('influxDBCreateUser', 'influxDBUserCreate', influxDBUserCreate);
|
|
2020
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
2021
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2022
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2023
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2024
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2025
|
+
let baseOptions;
|
|
2026
|
+
if (configuration) {
|
|
2027
|
+
baseOptions = configuration.baseOptions;
|
|
2028
|
+
}
|
|
2029
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2030
|
+
const localVarHeaderParameter = {};
|
|
2031
|
+
const localVarQueryParameter = {};
|
|
2032
|
+
// authentication BearerToken required
|
|
2033
|
+
// http bearer authentication required
|
|
2034
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2035
|
+
// authentication DigestAuth required
|
|
2036
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2037
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2038
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2039
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2040
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2041
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBUserCreate, localVarRequestOptions, configuration);
|
|
2042
|
+
return {
|
|
2043
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2044
|
+
options: localVarRequestOptions,
|
|
2045
|
+
};
|
|
2046
|
+
},
|
|
2047
|
+
/**
|
|
2048
|
+
*
|
|
2049
|
+
* @summary InfluxDB DeleteToken
|
|
2050
|
+
* @param {string} orgName
|
|
2051
|
+
* @param {string} clusterName
|
|
2052
|
+
* @param {string} userID
|
|
2053
|
+
* @param {string} tokenID
|
|
2054
|
+
* @param {*} [options] Override http request option.
|
|
2055
|
+
* @throws {RequiredError}
|
|
2056
|
+
*/
|
|
2057
|
+
influxDBDeleteToken: async (orgName, clusterName, userID, tokenID, options = {}) => {
|
|
2058
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2059
|
+
(0, common_1.assertParamExists)('influxDBDeleteToken', 'orgName', orgName);
|
|
2060
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2061
|
+
(0, common_1.assertParamExists)('influxDBDeleteToken', 'clusterName', clusterName);
|
|
2062
|
+
// verify required parameter 'userID' is not null or undefined
|
|
2063
|
+
(0, common_1.assertParamExists)('influxDBDeleteToken', 'userID', userID);
|
|
2064
|
+
// verify required parameter 'tokenID' is not null or undefined
|
|
2065
|
+
(0, common_1.assertParamExists)('influxDBDeleteToken', 'tokenID', tokenID);
|
|
2066
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens/{tokenID}`
|
|
2067
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2068
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2069
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)))
|
|
2070
|
+
.replace(`{${"tokenID"}}`, encodeURIComponent(String(tokenID)));
|
|
2071
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2072
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2073
|
+
let baseOptions;
|
|
2074
|
+
if (configuration) {
|
|
2075
|
+
baseOptions = configuration.baseOptions;
|
|
2076
|
+
}
|
|
2077
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
2078
|
+
const localVarHeaderParameter = {};
|
|
2079
|
+
const localVarQueryParameter = {};
|
|
2080
|
+
// authentication BearerToken required
|
|
2081
|
+
// http bearer authentication required
|
|
2082
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2083
|
+
// authentication DigestAuth required
|
|
2084
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2085
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2086
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2087
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2088
|
+
return {
|
|
2089
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2090
|
+
options: localVarRequestOptions,
|
|
2091
|
+
};
|
|
2092
|
+
},
|
|
2093
|
+
/**
|
|
2094
|
+
*
|
|
2095
|
+
* @summary InfluxDB DeleteUser
|
|
2096
|
+
* @param {string} orgName
|
|
2097
|
+
* @param {string} clusterName
|
|
2098
|
+
* @param {string} userID
|
|
2099
|
+
* @param {*} [options] Override http request option.
|
|
2100
|
+
* @throws {RequiredError}
|
|
2101
|
+
*/
|
|
2102
|
+
influxDBDeleteUser: async (orgName, clusterName, userID, options = {}) => {
|
|
2103
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2104
|
+
(0, common_1.assertParamExists)('influxDBDeleteUser', 'orgName', orgName);
|
|
2105
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2106
|
+
(0, common_1.assertParamExists)('influxDBDeleteUser', 'clusterName', clusterName);
|
|
2107
|
+
// verify required parameter 'userID' is not null or undefined
|
|
2108
|
+
(0, common_1.assertParamExists)('influxDBDeleteUser', 'userID', userID);
|
|
2109
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}`
|
|
2110
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2111
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2112
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
2113
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2114
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2115
|
+
let baseOptions;
|
|
2116
|
+
if (configuration) {
|
|
2117
|
+
baseOptions = configuration.baseOptions;
|
|
2118
|
+
}
|
|
2119
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
2120
|
+
const localVarHeaderParameter = {};
|
|
2121
|
+
const localVarQueryParameter = {};
|
|
2122
|
+
// authentication BearerToken required
|
|
2123
|
+
// http bearer authentication required
|
|
2124
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2125
|
+
// authentication DigestAuth required
|
|
2126
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2127
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2128
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2129
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2130
|
+
return {
|
|
2131
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2132
|
+
options: localVarRequestOptions,
|
|
2133
|
+
};
|
|
2134
|
+
},
|
|
2135
|
+
/**
|
|
2136
|
+
*
|
|
2137
|
+
* @summary InfluxDB ListBuckets
|
|
2138
|
+
* @param {string} orgName
|
|
2139
|
+
* @param {string} clusterName
|
|
2140
|
+
* @param {string} influxOrgID
|
|
2141
|
+
* @param {*} [options] Override http request option.
|
|
2142
|
+
* @throws {RequiredError}
|
|
2143
|
+
*/
|
|
2144
|
+
influxDBListBuckets: async (orgName, clusterName, influxOrgID, options = {}) => {
|
|
2145
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2146
|
+
(0, common_1.assertParamExists)('influxDBListBuckets', 'orgName', orgName);
|
|
2147
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2148
|
+
(0, common_1.assertParamExists)('influxDBListBuckets', 'clusterName', clusterName);
|
|
2149
|
+
// verify required parameter 'influxOrgID' is not null or undefined
|
|
2150
|
+
(0, common_1.assertParamExists)('influxDBListBuckets', 'influxOrgID', influxOrgID);
|
|
2151
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets`
|
|
2152
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2153
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2154
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2155
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2156
|
+
let baseOptions;
|
|
2157
|
+
if (configuration) {
|
|
2158
|
+
baseOptions = configuration.baseOptions;
|
|
2159
|
+
}
|
|
2160
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2161
|
+
const localVarHeaderParameter = {};
|
|
2162
|
+
const localVarQueryParameter = {};
|
|
2163
|
+
// authentication BearerToken required
|
|
2164
|
+
// http bearer authentication required
|
|
2165
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2166
|
+
// authentication DigestAuth required
|
|
2167
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2168
|
+
if (influxOrgID !== undefined) {
|
|
2169
|
+
localVarQueryParameter['influxOrgID'] = influxOrgID;
|
|
2170
|
+
}
|
|
2171
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2172
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2173
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2174
|
+
return {
|
|
2175
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2176
|
+
options: localVarRequestOptions,
|
|
2177
|
+
};
|
|
2178
|
+
},
|
|
2179
|
+
/**
|
|
2180
|
+
*
|
|
2181
|
+
* @summary InfluxDB ListOrganizations
|
|
2182
|
+
* @param {string} orgName
|
|
2183
|
+
* @param {string} clusterName
|
|
2184
|
+
* @param {*} [options] Override http request option.
|
|
2185
|
+
* @throws {RequiredError}
|
|
2186
|
+
*/
|
|
2187
|
+
influxDBListOrganizations: async (orgName, clusterName, options = {}) => {
|
|
2188
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2189
|
+
(0, common_1.assertParamExists)('influxDBListOrganizations', 'orgName', orgName);
|
|
2190
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2191
|
+
(0, common_1.assertParamExists)('influxDBListOrganizations', 'clusterName', clusterName);
|
|
2192
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/organizations`
|
|
2193
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2194
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2195
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2196
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2197
|
+
let baseOptions;
|
|
2198
|
+
if (configuration) {
|
|
2199
|
+
baseOptions = configuration.baseOptions;
|
|
2200
|
+
}
|
|
2201
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2202
|
+
const localVarHeaderParameter = {};
|
|
2203
|
+
const localVarQueryParameter = {};
|
|
2204
|
+
// authentication BearerToken required
|
|
2205
|
+
// http bearer authentication required
|
|
2206
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2207
|
+
// authentication DigestAuth required
|
|
2208
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2209
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2210
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2211
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2212
|
+
return {
|
|
2213
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2214
|
+
options: localVarRequestOptions,
|
|
2215
|
+
};
|
|
2216
|
+
},
|
|
2217
|
+
/**
|
|
2218
|
+
*
|
|
2219
|
+
* @summary InfluxDB ListTokens
|
|
2220
|
+
* @param {string} orgName
|
|
2221
|
+
* @param {string} clusterName
|
|
2222
|
+
* @param {string} userID
|
|
2223
|
+
* @param {*} [options] Override http request option.
|
|
2224
|
+
* @throws {RequiredError}
|
|
2225
|
+
*/
|
|
2226
|
+
influxDBListTokens: async (orgName, clusterName, userID, options = {}) => {
|
|
2227
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2228
|
+
(0, common_1.assertParamExists)('influxDBListTokens', 'orgName', orgName);
|
|
2229
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2230
|
+
(0, common_1.assertParamExists)('influxDBListTokens', 'clusterName', clusterName);
|
|
2231
|
+
// verify required parameter 'userID' is not null or undefined
|
|
2232
|
+
(0, common_1.assertParamExists)('influxDBListTokens', 'userID', userID);
|
|
2233
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens`
|
|
2234
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2235
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2236
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
2237
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2238
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2239
|
+
let baseOptions;
|
|
2240
|
+
if (configuration) {
|
|
2241
|
+
baseOptions = configuration.baseOptions;
|
|
2242
|
+
}
|
|
2243
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2244
|
+
const localVarHeaderParameter = {};
|
|
2245
|
+
const localVarQueryParameter = {};
|
|
2246
|
+
// authentication BearerToken required
|
|
2247
|
+
// http bearer authentication required
|
|
2248
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2249
|
+
// authentication DigestAuth required
|
|
2250
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2251
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2252
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2253
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2254
|
+
return {
|
|
2255
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2256
|
+
options: localVarRequestOptions,
|
|
2257
|
+
};
|
|
2258
|
+
},
|
|
2259
|
+
/**
|
|
2260
|
+
*
|
|
2261
|
+
* @summary InfluxDB ListUsers
|
|
2262
|
+
* @param {string} orgName
|
|
2263
|
+
* @param {string} clusterName
|
|
2264
|
+
* @param {*} [options] Override http request option.
|
|
2265
|
+
* @throws {RequiredError}
|
|
2266
|
+
*/
|
|
2267
|
+
influxDBListUsers: async (orgName, clusterName, options = {}) => {
|
|
2268
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2269
|
+
(0, common_1.assertParamExists)('influxDBListUsers', 'orgName', orgName);
|
|
2270
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2271
|
+
(0, common_1.assertParamExists)('influxDBListUsers', 'clusterName', clusterName);
|
|
2272
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
2273
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2274
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2275
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2276
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2277
|
+
let baseOptions;
|
|
2278
|
+
if (configuration) {
|
|
2279
|
+
baseOptions = configuration.baseOptions;
|
|
2280
|
+
}
|
|
2281
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2282
|
+
const localVarHeaderParameter = {};
|
|
2283
|
+
const localVarQueryParameter = {};
|
|
2284
|
+
// authentication BearerToken required
|
|
2285
|
+
// http bearer authentication required
|
|
2286
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2287
|
+
// authentication DigestAuth required
|
|
2288
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2289
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2290
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2291
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2292
|
+
return {
|
|
2293
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2294
|
+
options: localVarRequestOptions,
|
|
2295
|
+
};
|
|
2296
|
+
},
|
|
2297
|
+
/**
|
|
2298
|
+
*
|
|
2299
|
+
* @summary InfluxDB UpdateToken
|
|
2300
|
+
* @param {string} orgName
|
|
2301
|
+
* @param {string} clusterName
|
|
2302
|
+
* @param {string} userID
|
|
2303
|
+
* @param {string} tokenID
|
|
2304
|
+
* @param {InfluxDBTokenUpdate} influxDBTokenUpdate
|
|
2305
|
+
* @param {*} [options] Override http request option.
|
|
2306
|
+
* @throws {RequiredError}
|
|
2307
|
+
*/
|
|
2308
|
+
influxDBUpdateToken: async (orgName, clusterName, userID, tokenID, influxDBTokenUpdate, options = {}) => {
|
|
2309
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2310
|
+
(0, common_1.assertParamExists)('influxDBUpdateToken', 'orgName', orgName);
|
|
2311
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2312
|
+
(0, common_1.assertParamExists)('influxDBUpdateToken', 'clusterName', clusterName);
|
|
2313
|
+
// verify required parameter 'userID' is not null or undefined
|
|
2314
|
+
(0, common_1.assertParamExists)('influxDBUpdateToken', 'userID', userID);
|
|
2315
|
+
// verify required parameter 'tokenID' is not null or undefined
|
|
2316
|
+
(0, common_1.assertParamExists)('influxDBUpdateToken', 'tokenID', tokenID);
|
|
2317
|
+
// verify required parameter 'influxDBTokenUpdate' is not null or undefined
|
|
2318
|
+
(0, common_1.assertParamExists)('influxDBUpdateToken', 'influxDBTokenUpdate', influxDBTokenUpdate);
|
|
2319
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens/{tokenID}`
|
|
2320
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2321
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2322
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)))
|
|
2323
|
+
.replace(`{${"tokenID"}}`, encodeURIComponent(String(tokenID)));
|
|
2324
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2325
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2326
|
+
let baseOptions;
|
|
2327
|
+
if (configuration) {
|
|
2328
|
+
baseOptions = configuration.baseOptions;
|
|
2329
|
+
}
|
|
2330
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
2331
|
+
const localVarHeaderParameter = {};
|
|
2332
|
+
const localVarQueryParameter = {};
|
|
2333
|
+
// authentication BearerToken required
|
|
2334
|
+
// http bearer authentication required
|
|
2335
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2336
|
+
// authentication DigestAuth required
|
|
2337
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2338
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2339
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2340
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2341
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2342
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBTokenUpdate, localVarRequestOptions, configuration);
|
|
2343
|
+
return {
|
|
2344
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2345
|
+
options: localVarRequestOptions,
|
|
2346
|
+
};
|
|
2347
|
+
},
|
|
1910
2348
|
/**
|
|
1911
2349
|
* Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
1912
2350
|
* @summary List exact column names for account object privileges
|
|
@@ -4585,6 +5023,169 @@ const AccountApiFp = function (configuration) {
|
|
|
4585
5023
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.getServiceAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4586
5024
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4587
5025
|
},
|
|
5026
|
+
/**
|
|
5027
|
+
*
|
|
5028
|
+
* @summary InfluxDB ChangePassword
|
|
5029
|
+
* @param {string} orgName
|
|
5030
|
+
* @param {string} clusterName
|
|
5031
|
+
* @param {string} userID
|
|
5032
|
+
* @param {InfluxDBPasswordChange} influxDBPasswordChange
|
|
5033
|
+
* @param {*} [options] Override http request option.
|
|
5034
|
+
* @throws {RequiredError}
|
|
5035
|
+
*/
|
|
5036
|
+
async influxDBChangePassword(orgName, clusterName, userID, influxDBPasswordChange, options) {
|
|
5037
|
+
var _a, _b, _c;
|
|
5038
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBChangePassword(orgName, clusterName, userID, influxDBPasswordChange, options);
|
|
5039
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5040
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.influxDBChangePassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5041
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5042
|
+
},
|
|
5043
|
+
/**
|
|
5044
|
+
*
|
|
5045
|
+
* @summary InfluxDB CreateToken
|
|
5046
|
+
* @param {string} orgName
|
|
5047
|
+
* @param {string} clusterName
|
|
5048
|
+
* @param {string} userID
|
|
5049
|
+
* @param {InfluxDBTokenCreate} influxDBTokenCreate
|
|
5050
|
+
* @param {*} [options] Override http request option.
|
|
5051
|
+
* @throws {RequiredError}
|
|
5052
|
+
*/
|
|
5053
|
+
async influxDBCreateToken(orgName, clusterName, userID, influxDBTokenCreate, options) {
|
|
5054
|
+
var _a, _b, _c;
|
|
5055
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateToken(orgName, clusterName, userID, influxDBTokenCreate, options);
|
|
5056
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5057
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.influxDBCreateToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5058
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5059
|
+
},
|
|
5060
|
+
/**
|
|
5061
|
+
*
|
|
5062
|
+
* @summary InfluxDB CreateUser
|
|
5063
|
+
* @param {string} orgName
|
|
5064
|
+
* @param {string} clusterName
|
|
5065
|
+
* @param {InfluxDBUserCreate} influxDBUserCreate
|
|
5066
|
+
* @param {*} [options] Override http request option.
|
|
5067
|
+
* @throws {RequiredError}
|
|
5068
|
+
*/
|
|
5069
|
+
async influxDBCreateUser(orgName, clusterName, influxDBUserCreate, options) {
|
|
5070
|
+
var _a, _b, _c;
|
|
5071
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateUser(orgName, clusterName, influxDBUserCreate, options);
|
|
5072
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5073
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.influxDBCreateUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5074
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5075
|
+
},
|
|
5076
|
+
/**
|
|
5077
|
+
*
|
|
5078
|
+
* @summary InfluxDB DeleteToken
|
|
5079
|
+
* @param {string} orgName
|
|
5080
|
+
* @param {string} clusterName
|
|
5081
|
+
* @param {string} userID
|
|
5082
|
+
* @param {string} tokenID
|
|
5083
|
+
* @param {*} [options] Override http request option.
|
|
5084
|
+
* @throws {RequiredError}
|
|
5085
|
+
*/
|
|
5086
|
+
async influxDBDeleteToken(orgName, clusterName, userID, tokenID, options) {
|
|
5087
|
+
var _a, _b, _c;
|
|
5088
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteToken(orgName, clusterName, userID, tokenID, options);
|
|
5089
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5090
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.influxDBDeleteToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5091
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5092
|
+
},
|
|
5093
|
+
/**
|
|
5094
|
+
*
|
|
5095
|
+
* @summary InfluxDB DeleteUser
|
|
5096
|
+
* @param {string} orgName
|
|
5097
|
+
* @param {string} clusterName
|
|
5098
|
+
* @param {string} userID
|
|
5099
|
+
* @param {*} [options] Override http request option.
|
|
5100
|
+
* @throws {RequiredError}
|
|
5101
|
+
*/
|
|
5102
|
+
async influxDBDeleteUser(orgName, clusterName, userID, options) {
|
|
5103
|
+
var _a, _b, _c;
|
|
5104
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteUser(orgName, clusterName, userID, options);
|
|
5105
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5106
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.influxDBDeleteUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5107
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5108
|
+
},
|
|
5109
|
+
/**
|
|
5110
|
+
*
|
|
5111
|
+
* @summary InfluxDB ListBuckets
|
|
5112
|
+
* @param {string} orgName
|
|
5113
|
+
* @param {string} clusterName
|
|
5114
|
+
* @param {string} influxOrgID
|
|
5115
|
+
* @param {*} [options] Override http request option.
|
|
5116
|
+
* @throws {RequiredError}
|
|
5117
|
+
*/
|
|
5118
|
+
async influxDBListBuckets(orgName, clusterName, influxOrgID, options) {
|
|
5119
|
+
var _a, _b, _c;
|
|
5120
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListBuckets(orgName, clusterName, influxOrgID, options);
|
|
5121
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5122
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.influxDBListBuckets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5123
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5124
|
+
},
|
|
5125
|
+
/**
|
|
5126
|
+
*
|
|
5127
|
+
* @summary InfluxDB ListOrganizations
|
|
5128
|
+
* @param {string} orgName
|
|
5129
|
+
* @param {string} clusterName
|
|
5130
|
+
* @param {*} [options] Override http request option.
|
|
5131
|
+
* @throws {RequiredError}
|
|
5132
|
+
*/
|
|
5133
|
+
async influxDBListOrganizations(orgName, clusterName, options) {
|
|
5134
|
+
var _a, _b, _c;
|
|
5135
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListOrganizations(orgName, clusterName, options);
|
|
5136
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5137
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.influxDBListOrganizations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5138
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5139
|
+
},
|
|
5140
|
+
/**
|
|
5141
|
+
*
|
|
5142
|
+
* @summary InfluxDB ListTokens
|
|
5143
|
+
* @param {string} orgName
|
|
5144
|
+
* @param {string} clusterName
|
|
5145
|
+
* @param {string} userID
|
|
5146
|
+
* @param {*} [options] Override http request option.
|
|
5147
|
+
* @throws {RequiredError}
|
|
5148
|
+
*/
|
|
5149
|
+
async influxDBListTokens(orgName, clusterName, userID, options) {
|
|
5150
|
+
var _a, _b, _c;
|
|
5151
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListTokens(orgName, clusterName, userID, options);
|
|
5152
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5153
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.influxDBListTokens']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5154
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5155
|
+
},
|
|
5156
|
+
/**
|
|
5157
|
+
*
|
|
5158
|
+
* @summary InfluxDB ListUsers
|
|
5159
|
+
* @param {string} orgName
|
|
5160
|
+
* @param {string} clusterName
|
|
5161
|
+
* @param {*} [options] Override http request option.
|
|
5162
|
+
* @throws {RequiredError}
|
|
5163
|
+
*/
|
|
5164
|
+
async influxDBListUsers(orgName, clusterName, options) {
|
|
5165
|
+
var _a, _b, _c;
|
|
5166
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListUsers(orgName, clusterName, options);
|
|
5167
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5168
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.influxDBListUsers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5169
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5170
|
+
},
|
|
5171
|
+
/**
|
|
5172
|
+
*
|
|
5173
|
+
* @summary InfluxDB UpdateToken
|
|
5174
|
+
* @param {string} orgName
|
|
5175
|
+
* @param {string} clusterName
|
|
5176
|
+
* @param {string} userID
|
|
5177
|
+
* @param {string} tokenID
|
|
5178
|
+
* @param {InfluxDBTokenUpdate} influxDBTokenUpdate
|
|
5179
|
+
* @param {*} [options] Override http request option.
|
|
5180
|
+
* @throws {RequiredError}
|
|
5181
|
+
*/
|
|
5182
|
+
async influxDBUpdateToken(orgName, clusterName, userID, tokenID, influxDBTokenUpdate, options) {
|
|
5183
|
+
var _a, _b, _c;
|
|
5184
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBUpdateToken(orgName, clusterName, userID, tokenID, influxDBTokenUpdate, options);
|
|
5185
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5186
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.influxDBUpdateToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5187
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5188
|
+
},
|
|
4588
5189
|
/**
|
|
4589
5190
|
* Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
4590
5191
|
* @summary List exact column names for account object privileges
|
|
@@ -5724,6 +6325,106 @@ const AccountApiFactory = function (configuration, basePath, axios) {
|
|
|
5724
6325
|
getServiceAccount(requestParameters, options) {
|
|
5725
6326
|
return localVarFp.getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
5726
6327
|
},
|
|
6328
|
+
/**
|
|
6329
|
+
*
|
|
6330
|
+
* @summary InfluxDB ChangePassword
|
|
6331
|
+
* @param {AccountApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
|
|
6332
|
+
* @param {*} [options] Override http request option.
|
|
6333
|
+
* @throws {RequiredError}
|
|
6334
|
+
*/
|
|
6335
|
+
influxDBChangePassword(requestParameters, options) {
|
|
6336
|
+
return localVarFp.influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(axios, basePath));
|
|
6337
|
+
},
|
|
6338
|
+
/**
|
|
6339
|
+
*
|
|
6340
|
+
* @summary InfluxDB CreateToken
|
|
6341
|
+
* @param {AccountApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
|
|
6342
|
+
* @param {*} [options] Override http request option.
|
|
6343
|
+
* @throws {RequiredError}
|
|
6344
|
+
*/
|
|
6345
|
+
influxDBCreateToken(requestParameters, options) {
|
|
6346
|
+
return localVarFp.influxDBCreateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBTokenCreate, options).then((request) => request(axios, basePath));
|
|
6347
|
+
},
|
|
6348
|
+
/**
|
|
6349
|
+
*
|
|
6350
|
+
* @summary InfluxDB CreateUser
|
|
6351
|
+
* @param {AccountApiInfluxDBCreateUserRequest} requestParameters Request parameters.
|
|
6352
|
+
* @param {*} [options] Override http request option.
|
|
6353
|
+
* @throws {RequiredError}
|
|
6354
|
+
*/
|
|
6355
|
+
influxDBCreateUser(requestParameters, options) {
|
|
6356
|
+
return localVarFp.influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(axios, basePath));
|
|
6357
|
+
},
|
|
6358
|
+
/**
|
|
6359
|
+
*
|
|
6360
|
+
* @summary InfluxDB DeleteToken
|
|
6361
|
+
* @param {AccountApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
|
|
6362
|
+
* @param {*} [options] Override http request option.
|
|
6363
|
+
* @throws {RequiredError}
|
|
6364
|
+
*/
|
|
6365
|
+
influxDBDeleteToken(requestParameters, options) {
|
|
6366
|
+
return localVarFp.influxDBDeleteToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, options).then((request) => request(axios, basePath));
|
|
6367
|
+
},
|
|
6368
|
+
/**
|
|
6369
|
+
*
|
|
6370
|
+
* @summary InfluxDB DeleteUser
|
|
6371
|
+
* @param {AccountApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
|
|
6372
|
+
* @param {*} [options] Override http request option.
|
|
6373
|
+
* @throws {RequiredError}
|
|
6374
|
+
*/
|
|
6375
|
+
influxDBDeleteUser(requestParameters, options) {
|
|
6376
|
+
return localVarFp.influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
|
|
6377
|
+
},
|
|
6378
|
+
/**
|
|
6379
|
+
*
|
|
6380
|
+
* @summary InfluxDB ListBuckets
|
|
6381
|
+
* @param {AccountApiInfluxDBListBucketsRequest} requestParameters Request parameters.
|
|
6382
|
+
* @param {*} [options] Override http request option.
|
|
6383
|
+
* @throws {RequiredError}
|
|
6384
|
+
*/
|
|
6385
|
+
influxDBListBuckets(requestParameters, options) {
|
|
6386
|
+
return localVarFp.influxDBListBuckets(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxOrgID, options).then((request) => request(axios, basePath));
|
|
6387
|
+
},
|
|
6388
|
+
/**
|
|
6389
|
+
*
|
|
6390
|
+
* @summary InfluxDB ListOrganizations
|
|
6391
|
+
* @param {AccountApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
|
|
6392
|
+
* @param {*} [options] Override http request option.
|
|
6393
|
+
* @throws {RequiredError}
|
|
6394
|
+
*/
|
|
6395
|
+
influxDBListOrganizations(requestParameters, options) {
|
|
6396
|
+
return localVarFp.influxDBListOrganizations(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
6397
|
+
},
|
|
6398
|
+
/**
|
|
6399
|
+
*
|
|
6400
|
+
* @summary InfluxDB ListTokens
|
|
6401
|
+
* @param {AccountApiInfluxDBListTokensRequest} requestParameters Request parameters.
|
|
6402
|
+
* @param {*} [options] Override http request option.
|
|
6403
|
+
* @throws {RequiredError}
|
|
6404
|
+
*/
|
|
6405
|
+
influxDBListTokens(requestParameters, options) {
|
|
6406
|
+
return localVarFp.influxDBListTokens(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
|
|
6407
|
+
},
|
|
6408
|
+
/**
|
|
6409
|
+
*
|
|
6410
|
+
* @summary InfluxDB ListUsers
|
|
6411
|
+
* @param {AccountApiInfluxDBListUsersRequest} requestParameters Request parameters.
|
|
6412
|
+
* @param {*} [options] Override http request option.
|
|
6413
|
+
* @throws {RequiredError}
|
|
6414
|
+
*/
|
|
6415
|
+
influxDBListUsers(requestParameters, options) {
|
|
6416
|
+
return localVarFp.influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
6417
|
+
},
|
|
6418
|
+
/**
|
|
6419
|
+
*
|
|
6420
|
+
* @summary InfluxDB UpdateToken
|
|
6421
|
+
* @param {AccountApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
|
|
6422
|
+
* @param {*} [options] Override http request option.
|
|
6423
|
+
* @throws {RequiredError}
|
|
6424
|
+
*/
|
|
6425
|
+
influxDBUpdateToken(requestParameters, options) {
|
|
6426
|
+
return localVarFp.influxDBUpdateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, requestParameters.influxDBTokenUpdate, options).then((request) => request(axios, basePath));
|
|
6427
|
+
},
|
|
5727
6428
|
/**
|
|
5728
6429
|
* Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
5729
6430
|
* @summary List exact column names for account object privileges
|
|
@@ -6605,6 +7306,116 @@ class AccountApi extends base_1.BaseAPI {
|
|
|
6605
7306
|
getServiceAccount(requestParameters, options) {
|
|
6606
7307
|
return (0, exports.AccountApiFp)(this.configuration).getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
6607
7308
|
}
|
|
7309
|
+
/**
|
|
7310
|
+
*
|
|
7311
|
+
* @summary InfluxDB ChangePassword
|
|
7312
|
+
* @param {AccountApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
|
|
7313
|
+
* @param {*} [options] Override http request option.
|
|
7314
|
+
* @throws {RequiredError}
|
|
7315
|
+
* @memberof AccountApi
|
|
7316
|
+
*/
|
|
7317
|
+
influxDBChangePassword(requestParameters, options) {
|
|
7318
|
+
return (0, exports.AccountApiFp)(this.configuration).influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(this.axios, this.basePath));
|
|
7319
|
+
}
|
|
7320
|
+
/**
|
|
7321
|
+
*
|
|
7322
|
+
* @summary InfluxDB CreateToken
|
|
7323
|
+
* @param {AccountApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
|
|
7324
|
+
* @param {*} [options] Override http request option.
|
|
7325
|
+
* @throws {RequiredError}
|
|
7326
|
+
* @memberof AccountApi
|
|
7327
|
+
*/
|
|
7328
|
+
influxDBCreateToken(requestParameters, options) {
|
|
7329
|
+
return (0, exports.AccountApiFp)(this.configuration).influxDBCreateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBTokenCreate, options).then((request) => request(this.axios, this.basePath));
|
|
7330
|
+
}
|
|
7331
|
+
/**
|
|
7332
|
+
*
|
|
7333
|
+
* @summary InfluxDB CreateUser
|
|
7334
|
+
* @param {AccountApiInfluxDBCreateUserRequest} requestParameters Request parameters.
|
|
7335
|
+
* @param {*} [options] Override http request option.
|
|
7336
|
+
* @throws {RequiredError}
|
|
7337
|
+
* @memberof AccountApi
|
|
7338
|
+
*/
|
|
7339
|
+
influxDBCreateUser(requestParameters, options) {
|
|
7340
|
+
return (0, exports.AccountApiFp)(this.configuration).influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(this.axios, this.basePath));
|
|
7341
|
+
}
|
|
7342
|
+
/**
|
|
7343
|
+
*
|
|
7344
|
+
* @summary InfluxDB DeleteToken
|
|
7345
|
+
* @param {AccountApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
|
|
7346
|
+
* @param {*} [options] Override http request option.
|
|
7347
|
+
* @throws {RequiredError}
|
|
7348
|
+
* @memberof AccountApi
|
|
7349
|
+
*/
|
|
7350
|
+
influxDBDeleteToken(requestParameters, options) {
|
|
7351
|
+
return (0, exports.AccountApiFp)(this.configuration).influxDBDeleteToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, options).then((request) => request(this.axios, this.basePath));
|
|
7352
|
+
}
|
|
7353
|
+
/**
|
|
7354
|
+
*
|
|
7355
|
+
* @summary InfluxDB DeleteUser
|
|
7356
|
+
* @param {AccountApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
|
|
7357
|
+
* @param {*} [options] Override http request option.
|
|
7358
|
+
* @throws {RequiredError}
|
|
7359
|
+
* @memberof AccountApi
|
|
7360
|
+
*/
|
|
7361
|
+
influxDBDeleteUser(requestParameters, options) {
|
|
7362
|
+
return (0, exports.AccountApiFp)(this.configuration).influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
|
|
7363
|
+
}
|
|
7364
|
+
/**
|
|
7365
|
+
*
|
|
7366
|
+
* @summary InfluxDB ListBuckets
|
|
7367
|
+
* @param {AccountApiInfluxDBListBucketsRequest} requestParameters Request parameters.
|
|
7368
|
+
* @param {*} [options] Override http request option.
|
|
7369
|
+
* @throws {RequiredError}
|
|
7370
|
+
* @memberof AccountApi
|
|
7371
|
+
*/
|
|
7372
|
+
influxDBListBuckets(requestParameters, options) {
|
|
7373
|
+
return (0, exports.AccountApiFp)(this.configuration).influxDBListBuckets(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxOrgID, options).then((request) => request(this.axios, this.basePath));
|
|
7374
|
+
}
|
|
7375
|
+
/**
|
|
7376
|
+
*
|
|
7377
|
+
* @summary InfluxDB ListOrganizations
|
|
7378
|
+
* @param {AccountApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
|
|
7379
|
+
* @param {*} [options] Override http request option.
|
|
7380
|
+
* @throws {RequiredError}
|
|
7381
|
+
* @memberof AccountApi
|
|
7382
|
+
*/
|
|
7383
|
+
influxDBListOrganizations(requestParameters, options) {
|
|
7384
|
+
return (0, exports.AccountApiFp)(this.configuration).influxDBListOrganizations(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
7385
|
+
}
|
|
7386
|
+
/**
|
|
7387
|
+
*
|
|
7388
|
+
* @summary InfluxDB ListTokens
|
|
7389
|
+
* @param {AccountApiInfluxDBListTokensRequest} requestParameters Request parameters.
|
|
7390
|
+
* @param {*} [options] Override http request option.
|
|
7391
|
+
* @throws {RequiredError}
|
|
7392
|
+
* @memberof AccountApi
|
|
7393
|
+
*/
|
|
7394
|
+
influxDBListTokens(requestParameters, options) {
|
|
7395
|
+
return (0, exports.AccountApiFp)(this.configuration).influxDBListTokens(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
|
|
7396
|
+
}
|
|
7397
|
+
/**
|
|
7398
|
+
*
|
|
7399
|
+
* @summary InfluxDB ListUsers
|
|
7400
|
+
* @param {AccountApiInfluxDBListUsersRequest} requestParameters Request parameters.
|
|
7401
|
+
* @param {*} [options] Override http request option.
|
|
7402
|
+
* @throws {RequiredError}
|
|
7403
|
+
* @memberof AccountApi
|
|
7404
|
+
*/
|
|
7405
|
+
influxDBListUsers(requestParameters, options) {
|
|
7406
|
+
return (0, exports.AccountApiFp)(this.configuration).influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
7407
|
+
}
|
|
7408
|
+
/**
|
|
7409
|
+
*
|
|
7410
|
+
* @summary InfluxDB UpdateToken
|
|
7411
|
+
* @param {AccountApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
|
|
7412
|
+
* @param {*} [options] Override http request option.
|
|
7413
|
+
* @throws {RequiredError}
|
|
7414
|
+
* @memberof AccountApi
|
|
7415
|
+
*/
|
|
7416
|
+
influxDBUpdateToken(requestParameters, options) {
|
|
7417
|
+
return (0, exports.AccountApiFp)(this.configuration).influxDBUpdateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, requestParameters.influxDBTokenUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
7418
|
+
}
|
|
6608
7419
|
/**
|
|
6609
7420
|
* Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
6610
7421
|
* @summary List exact column names for account object privileges
|