kb-cloud-client-typescript 2.4.0-alpha.136 → 2.4.0-alpha.138

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.
Files changed (205) hide show
  1. package/dist/adminapi/api.d.ts +1 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +1 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/account-api.d.ts +743 -0
  6. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/account-api.js +811 -0
  8. package/dist/adminapi/apis/account-api.js.map +1 -1
  9. package/dist/adminapi/apis/diagnostics-api.d.ts +79 -0
  10. package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/diagnostics-api.js +84 -0
  12. package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
  13. package/dist/adminapi/apis/influxdb-api.d.ts +791 -0
  14. package/dist/adminapi/apis/influxdb-api.d.ts.map +1 -0
  15. package/dist/adminapi/apis/influxdb-api.js +875 -0
  16. package/dist/adminapi/apis/influxdb-api.js.map +1 -0
  17. package/dist/adminapi/apis/shared-api.d.ts +743 -0
  18. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  19. package/dist/adminapi/apis/shared-api.js +811 -0
  20. package/dist/adminapi/apis/shared-api.js.map +1 -1
  21. package/dist/adminapi/models/index.d.ts +14 -0
  22. package/dist/adminapi/models/index.d.ts.map +1 -1
  23. package/dist/adminapi/models/index.js +14 -0
  24. package/dist/adminapi/models/index.js.map +1 -1
  25. package/dist/adminapi/models/influx-dbbucket-permission.d.ts +37 -0
  26. package/dist/adminapi/models/influx-dbbucket-permission.d.ts.map +1 -0
  27. package/dist/adminapi/models/influx-dbbucket-permission.js +16 -0
  28. package/dist/adminapi/models/influx-dbbucket-permission.js.map +1 -0
  29. package/dist/adminapi/models/influx-dbbucket.d.ts +43 -0
  30. package/dist/adminapi/models/influx-dbbucket.d.ts.map +1 -0
  31. package/dist/adminapi/models/influx-dbbucket.js +16 -0
  32. package/dist/adminapi/models/influx-dbbucket.js.map +1 -0
  33. package/dist/adminapi/models/influx-dborganization.d.ts +31 -0
  34. package/dist/adminapi/models/influx-dborganization.d.ts.map +1 -0
  35. package/dist/adminapi/models/influx-dborganization.js +16 -0
  36. package/dist/adminapi/models/influx-dborganization.js.map +1 -0
  37. package/dist/adminapi/models/influx-dbpassword-change.d.ts +25 -0
  38. package/dist/adminapi/models/influx-dbpassword-change.d.ts.map +1 -0
  39. package/dist/adminapi/models/influx-dbpassword-change.js +16 -0
  40. package/dist/adminapi/models/influx-dbpassword-change.js.map +1 -0
  41. package/dist/adminapi/models/influx-dbpermission-action.d.ts +22 -0
  42. package/dist/adminapi/models/influx-dbpermission-action.d.ts.map +1 -0
  43. package/dist/adminapi/models/influx-dbpermission-action.js +26 -0
  44. package/dist/adminapi/models/influx-dbpermission-action.js.map +1 -0
  45. package/dist/adminapi/models/influx-dbpermission.d.ts +33 -0
  46. package/dist/adminapi/models/influx-dbpermission.d.ts.map +1 -0
  47. package/dist/adminapi/models/influx-dbpermission.js +16 -0
  48. package/dist/adminapi/models/influx-dbpermission.js.map +1 -0
  49. package/dist/adminapi/models/influx-dbresource.d.ts +37 -0
  50. package/dist/adminapi/models/influx-dbresource.d.ts.map +1 -0
  51. package/dist/adminapi/models/influx-dbresource.js +16 -0
  52. package/dist/adminapi/models/influx-dbresource.js.map +1 -0
  53. package/dist/adminapi/models/influx-dbtoken-create.d.ts +38 -0
  54. package/dist/adminapi/models/influx-dbtoken-create.d.ts.map +1 -0
  55. package/dist/adminapi/models/influx-dbtoken-create.js +16 -0
  56. package/dist/adminapi/models/influx-dbtoken-create.js.map +1 -0
  57. package/dist/adminapi/models/influx-dbtoken-created.d.ts +69 -0
  58. package/dist/adminapi/models/influx-dbtoken-created.d.ts.map +1 -0
  59. package/dist/adminapi/models/influx-dbtoken-created.js +16 -0
  60. package/dist/adminapi/models/influx-dbtoken-created.js.map +1 -0
  61. package/dist/adminapi/models/influx-dbtoken-status.d.ts +22 -0
  62. package/dist/adminapi/models/influx-dbtoken-status.d.ts.map +1 -0
  63. package/dist/adminapi/models/influx-dbtoken-status.js +26 -0
  64. package/dist/adminapi/models/influx-dbtoken-status.js.map +1 -0
  65. package/dist/adminapi/models/influx-dbtoken-update.d.ts +26 -0
  66. package/dist/adminapi/models/influx-dbtoken-update.d.ts.map +1 -0
  67. package/dist/adminapi/models/influx-dbtoken-update.js +16 -0
  68. package/dist/adminapi/models/influx-dbtoken-update.js.map +1 -0
  69. package/dist/adminapi/models/influx-dbtoken.d.ts +63 -0
  70. package/dist/adminapi/models/influx-dbtoken.d.ts.map +1 -0
  71. package/dist/adminapi/models/influx-dbtoken.js +16 -0
  72. package/dist/adminapi/models/influx-dbtoken.js.map +1 -0
  73. package/dist/adminapi/models/influx-dbuser-create.d.ts +31 -0
  74. package/dist/adminapi/models/influx-dbuser-create.d.ts.map +1 -0
  75. package/dist/adminapi/models/influx-dbuser-create.js +16 -0
  76. package/dist/adminapi/models/influx-dbuser-create.js.map +1 -0
  77. package/dist/adminapi/models/influx-dbuser.d.ts +43 -0
  78. package/dist/adminapi/models/influx-dbuser.d.ts.map +1 -0
  79. package/dist/adminapi/models/influx-dbuser.js +16 -0
  80. package/dist/adminapi/models/influx-dbuser.js.map +1 -0
  81. package/dist/openapi/api.d.ts +1 -0
  82. package/dist/openapi/api.d.ts.map +1 -1
  83. package/dist/openapi/api.js +1 -0
  84. package/dist/openapi/api.js.map +1 -1
  85. package/dist/openapi/apis/account-api.d.ts +743 -0
  86. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  87. package/dist/openapi/apis/account-api.js +811 -0
  88. package/dist/openapi/apis/account-api.js.map +1 -1
  89. package/dist/openapi/apis/diagnostics-api.d.ts +79 -0
  90. package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
  91. package/dist/openapi/apis/diagnostics-api.js +84 -0
  92. package/dist/openapi/apis/diagnostics-api.js.map +1 -1
  93. package/dist/openapi/apis/influxdb-api.d.ts +791 -0
  94. package/dist/openapi/apis/influxdb-api.d.ts.map +1 -0
  95. package/dist/openapi/apis/influxdb-api.js +875 -0
  96. package/dist/openapi/apis/influxdb-api.js.map +1 -0
  97. package/dist/openapi/apis/shared-api.d.ts +743 -0
  98. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  99. package/dist/openapi/apis/shared-api.js +811 -0
  100. package/dist/openapi/apis/shared-api.js.map +1 -1
  101. package/dist/openapi/models/index.d.ts +14 -0
  102. package/dist/openapi/models/index.d.ts.map +1 -1
  103. package/dist/openapi/models/index.js +14 -0
  104. package/dist/openapi/models/index.js.map +1 -1
  105. package/dist/openapi/models/influx-dbbucket-permission.d.ts +37 -0
  106. package/dist/openapi/models/influx-dbbucket-permission.d.ts.map +1 -0
  107. package/dist/openapi/models/influx-dbbucket-permission.js +16 -0
  108. package/dist/openapi/models/influx-dbbucket-permission.js.map +1 -0
  109. package/dist/openapi/models/influx-dbbucket.d.ts +43 -0
  110. package/dist/openapi/models/influx-dbbucket.d.ts.map +1 -0
  111. package/dist/openapi/models/influx-dbbucket.js +16 -0
  112. package/dist/openapi/models/influx-dbbucket.js.map +1 -0
  113. package/dist/openapi/models/influx-dborganization.d.ts +31 -0
  114. package/dist/openapi/models/influx-dborganization.d.ts.map +1 -0
  115. package/dist/openapi/models/influx-dborganization.js +16 -0
  116. package/dist/openapi/models/influx-dborganization.js.map +1 -0
  117. package/dist/openapi/models/influx-dbpassword-change.d.ts +25 -0
  118. package/dist/openapi/models/influx-dbpassword-change.d.ts.map +1 -0
  119. package/dist/openapi/models/influx-dbpassword-change.js +16 -0
  120. package/dist/openapi/models/influx-dbpassword-change.js.map +1 -0
  121. package/dist/openapi/models/influx-dbpermission-action.d.ts +22 -0
  122. package/dist/openapi/models/influx-dbpermission-action.d.ts.map +1 -0
  123. package/dist/openapi/models/influx-dbpermission-action.js +26 -0
  124. package/dist/openapi/models/influx-dbpermission-action.js.map +1 -0
  125. package/dist/openapi/models/influx-dbpermission.d.ts +33 -0
  126. package/dist/openapi/models/influx-dbpermission.d.ts.map +1 -0
  127. package/dist/openapi/models/influx-dbpermission.js +16 -0
  128. package/dist/openapi/models/influx-dbpermission.js.map +1 -0
  129. package/dist/openapi/models/influx-dbresource.d.ts +37 -0
  130. package/dist/openapi/models/influx-dbresource.d.ts.map +1 -0
  131. package/dist/openapi/models/influx-dbresource.js +16 -0
  132. package/dist/openapi/models/influx-dbresource.js.map +1 -0
  133. package/dist/openapi/models/influx-dbtoken-create.d.ts +38 -0
  134. package/dist/openapi/models/influx-dbtoken-create.d.ts.map +1 -0
  135. package/dist/openapi/models/influx-dbtoken-create.js +16 -0
  136. package/dist/openapi/models/influx-dbtoken-create.js.map +1 -0
  137. package/dist/openapi/models/influx-dbtoken-created.d.ts +69 -0
  138. package/dist/openapi/models/influx-dbtoken-created.d.ts.map +1 -0
  139. package/dist/openapi/models/influx-dbtoken-created.js +16 -0
  140. package/dist/openapi/models/influx-dbtoken-created.js.map +1 -0
  141. package/dist/openapi/models/influx-dbtoken-status.d.ts +22 -0
  142. package/dist/openapi/models/influx-dbtoken-status.d.ts.map +1 -0
  143. package/dist/openapi/models/influx-dbtoken-status.js +26 -0
  144. package/dist/openapi/models/influx-dbtoken-status.js.map +1 -0
  145. package/dist/openapi/models/influx-dbtoken-update.d.ts +26 -0
  146. package/dist/openapi/models/influx-dbtoken-update.d.ts.map +1 -0
  147. package/dist/openapi/models/influx-dbtoken-update.js +16 -0
  148. package/dist/openapi/models/influx-dbtoken-update.js.map +1 -0
  149. package/dist/openapi/models/influx-dbtoken.d.ts +63 -0
  150. package/dist/openapi/models/influx-dbtoken.d.ts.map +1 -0
  151. package/dist/openapi/models/influx-dbtoken.js +16 -0
  152. package/dist/openapi/models/influx-dbtoken.js.map +1 -0
  153. package/dist/openapi/models/influx-dbuser-create.d.ts +31 -0
  154. package/dist/openapi/models/influx-dbuser-create.d.ts.map +1 -0
  155. package/dist/openapi/models/influx-dbuser-create.js +16 -0
  156. package/dist/openapi/models/influx-dbuser-create.js.map +1 -0
  157. package/dist/openapi/models/influx-dbuser.d.ts +43 -0
  158. package/dist/openapi/models/influx-dbuser.d.ts.map +1 -0
  159. package/dist/openapi/models/influx-dbuser.js +16 -0
  160. package/dist/openapi/models/influx-dbuser.js.map +1 -0
  161. package/package.json +1 -1
  162. package/src/adminapi/.openapi-generator/FILES +15 -0
  163. package/src/adminapi/api.ts +1 -0
  164. package/src/adminapi/apis/account-api.ts +2360 -1055
  165. package/src/adminapi/apis/diagnostics-api.ts +138 -0
  166. package/src/adminapi/apis/influxdb-api.ts +1375 -0
  167. package/src/adminapi/apis/shared-api.ts +1523 -218
  168. package/src/adminapi/models/index.ts +14 -0
  169. package/src/adminapi/models/influx-dbbucket-permission.ts +42 -0
  170. package/src/adminapi/models/influx-dbbucket.ts +48 -0
  171. package/src/adminapi/models/influx-dborganization.ts +36 -0
  172. package/src/adminapi/models/influx-dbpassword-change.ts +30 -0
  173. package/src/adminapi/models/influx-dbpermission-action.ts +31 -0
  174. package/src/adminapi/models/influx-dbpermission.ts +44 -0
  175. package/src/adminapi/models/influx-dbresource.ts +42 -0
  176. package/src/adminapi/models/influx-dbtoken-create.ts +45 -0
  177. package/src/adminapi/models/influx-dbtoken-created.ts +80 -0
  178. package/src/adminapi/models/influx-dbtoken-status.ts +31 -0
  179. package/src/adminapi/models/influx-dbtoken-update.ts +35 -0
  180. package/src/adminapi/models/influx-dbtoken.ts +74 -0
  181. package/src/adminapi/models/influx-dbuser-create.ts +36 -0
  182. package/src/adminapi/models/influx-dbuser.ts +48 -0
  183. package/src/adminapi.yaml +704 -15
  184. package/src/openapi/.openapi-generator/FILES +15 -0
  185. package/src/openapi/api.ts +1 -0
  186. package/src/openapi/apis/account-api.ts +2360 -1055
  187. package/src/openapi/apis/diagnostics-api.ts +138 -0
  188. package/src/openapi/apis/influxdb-api.ts +1375 -0
  189. package/src/openapi/apis/shared-api.ts +1557 -252
  190. package/src/openapi/models/index.ts +14 -0
  191. package/src/openapi/models/influx-dbbucket-permission.ts +42 -0
  192. package/src/openapi/models/influx-dbbucket.ts +48 -0
  193. package/src/openapi/models/influx-dborganization.ts +36 -0
  194. package/src/openapi/models/influx-dbpassword-change.ts +30 -0
  195. package/src/openapi/models/influx-dbpermission-action.ts +31 -0
  196. package/src/openapi/models/influx-dbpermission.ts +44 -0
  197. package/src/openapi/models/influx-dbresource.ts +42 -0
  198. package/src/openapi/models/influx-dbtoken-create.ts +45 -0
  199. package/src/openapi/models/influx-dbtoken-created.ts +80 -0
  200. package/src/openapi/models/influx-dbtoken-status.ts +31 -0
  201. package/src/openapi/models/influx-dbtoken-update.ts +35 -0
  202. package/src/openapi/models/influx-dbtoken.ts +74 -0
  203. package/src/openapi/models/influx-dbuser-create.ts +36 -0
  204. package/src/openapi/models/influx-dbuser.ts +48 -0
  205. package/src/openapi.yaml +704 -15
@@ -278,6 +278,24 @@ import type { ImportTaskListResponse } from '../models';
278
278
  // @ts-ignore
279
279
  import type { ImportTaskResponse } from '../models';
280
280
  // @ts-ignore
281
+ import type { InfluxDBBucket } from '../models';
282
+ // @ts-ignore
283
+ import type { InfluxDBOrganization } from '../models';
284
+ // @ts-ignore
285
+ import type { InfluxDBPasswordChange } from '../models';
286
+ // @ts-ignore
287
+ import type { InfluxDBToken } from '../models';
288
+ // @ts-ignore
289
+ import type { InfluxDBTokenCreate } from '../models';
290
+ // @ts-ignore
291
+ import type { InfluxDBTokenCreated } from '../models';
292
+ // @ts-ignore
293
+ import type { InfluxDBTokenUpdate } from '../models';
294
+ // @ts-ignore
295
+ import type { InfluxDBUser } from '../models';
296
+ // @ts-ignore
297
+ import type { InfluxDBUserCreate } from '../models';
298
+ // @ts-ignore
281
299
  import type { InstanceEventList } from '../models';
282
300
  // @ts-ignore
283
301
  import type { InstanceList } from '../models';
@@ -9794,30 +9812,28 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9794
9812
  };
9795
9813
  },
9796
9814
  /**
9797
- * kill a session in cluster
9798
- * @summary Kill cluster session
9799
- * @param {string} engineName name of the engine
9800
- * @param {string} orgName name of the Org
9801
- * @param {string} clusterName name of the Cluster
9802
- * @param {string} session session id
9803
- * @param {boolean} [keep] if keep is true, the session will not be killed but only closed
9815
+ *
9816
+ * @summary InfluxDB ChangePassword
9817
+ * @param {string} orgName
9818
+ * @param {string} clusterName
9819
+ * @param {string} userID
9820
+ * @param {InfluxDBPasswordChange} influxDBPasswordChange
9804
9821
  * @param {*} [options] Override http request option.
9805
9822
  * @throws {RequiredError}
9806
9823
  */
9807
- killSession: async (engineName: string, orgName: string, clusterName: string, session: string, keep?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9808
- // verify required parameter 'engineName' is not null or undefined
9809
- assertParamExists('killSession', 'engineName', engineName)
9824
+ influxDBChangePassword: async (orgName: string, clusterName: string, userID: string, influxDBPasswordChange: InfluxDBPasswordChange, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9810
9825
  // verify required parameter 'orgName' is not null or undefined
9811
- assertParamExists('killSession', 'orgName', orgName)
9826
+ assertParamExists('influxDBChangePassword', 'orgName', orgName)
9812
9827
  // verify required parameter 'clusterName' is not null or undefined
9813
- assertParamExists('killSession', 'clusterName', clusterName)
9814
- // verify required parameter 'session' is not null or undefined
9815
- assertParamExists('killSession', 'session', session)
9816
- const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/sessions/{session}`
9817
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
9828
+ assertParamExists('influxDBChangePassword', 'clusterName', clusterName)
9829
+ // verify required parameter 'userID' is not null or undefined
9830
+ assertParamExists('influxDBChangePassword', 'userID', userID)
9831
+ // verify required parameter 'influxDBPasswordChange' is not null or undefined
9832
+ assertParamExists('influxDBChangePassword', 'influxDBPasswordChange', influxDBPasswordChange)
9833
+ const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/password`
9818
9834
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9819
9835
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
9820
- .replace(`{${"session"}}`, encodeURIComponent(String(session)));
9836
+ .replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
9821
9837
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9822
9838
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9823
9839
  let baseOptions;
@@ -9825,7 +9841,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9825
9841
  baseOptions = configuration.baseOptions;
9826
9842
  }
9827
9843
 
9828
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
9844
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
9829
9845
  const localVarHeaderParameter = {} as any;
9830
9846
  const localVarQueryParameter = {} as any;
9831
9847
 
@@ -9836,15 +9852,14 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9836
9852
  // authentication DigestAuth required
9837
9853
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
9838
9854
 
9839
- if (keep !== undefined) {
9840
- localVarQueryParameter['keep'] = keep;
9841
- }
9842
-
9843
9855
 
9844
9856
 
9857
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9858
+
9845
9859
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9846
9860
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9847
9861
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9862
+ localVarRequestOptions.data = serializeDataIfNeeded(influxDBPasswordChange, localVarRequestOptions, configuration)
9848
9863
 
9849
9864
  return {
9850
9865
  url: toPathString(localVarUrlObj),
@@ -9852,39 +9867,28 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9852
9867
  };
9853
9868
  },
9854
9869
  /**
9855
- * 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.
9856
- * @summary List exact column names for account object privileges
9857
- * @param {string} engineName
9870
+ *
9871
+ * @summary InfluxDB CreateToken
9858
9872
  * @param {string} orgName
9859
9873
  * @param {string} clusterName
9860
- * @param {string} accountName
9861
- * @param {string} objectType Object type, table/view; PostgreSQL also supports materializedView/foreignTable
9862
- * @param {string} databaseName
9863
- * @param {string} objectName
9864
- * @param {string} [schemaName] Required for PostgreSQL; not accepted for MySQL
9874
+ * @param {string} userID
9875
+ * @param {InfluxDBTokenCreate} influxDBTokenCreate
9865
9876
  * @param {*} [options] Override http request option.
9866
9877
  * @throws {RequiredError}
9867
9878
  */
9868
- listAccountObjectPrivilegeColumns: async (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, schemaName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9869
- // verify required parameter 'engineName' is not null or undefined
9870
- assertParamExists('listAccountObjectPrivilegeColumns', 'engineName', engineName)
9879
+ influxDBCreateToken: async (orgName: string, clusterName: string, userID: string, influxDBTokenCreate: InfluxDBTokenCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9871
9880
  // verify required parameter 'orgName' is not null or undefined
9872
- assertParamExists('listAccountObjectPrivilegeColumns', 'orgName', orgName)
9881
+ assertParamExists('influxDBCreateToken', 'orgName', orgName)
9873
9882
  // verify required parameter 'clusterName' is not null or undefined
9874
- assertParamExists('listAccountObjectPrivilegeColumns', 'clusterName', clusterName)
9875
- // verify required parameter 'accountName' is not null or undefined
9876
- assertParamExists('listAccountObjectPrivilegeColumns', 'accountName', accountName)
9877
- // verify required parameter 'objectType' is not null or undefined
9878
- assertParamExists('listAccountObjectPrivilegeColumns', 'objectType', objectType)
9879
- // verify required parameter 'databaseName' is not null or undefined
9880
- assertParamExists('listAccountObjectPrivilegeColumns', 'databaseName', databaseName)
9881
- // verify required parameter 'objectName' is not null or undefined
9882
- assertParamExists('listAccountObjectPrivilegeColumns', 'objectName', objectName)
9883
- const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/columns`
9884
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
9883
+ assertParamExists('influxDBCreateToken', 'clusterName', clusterName)
9884
+ // verify required parameter 'userID' is not null or undefined
9885
+ assertParamExists('influxDBCreateToken', 'userID', userID)
9886
+ // verify required parameter 'influxDBTokenCreate' is not null or undefined
9887
+ assertParamExists('influxDBCreateToken', 'influxDBTokenCreate', influxDBTokenCreate)
9888
+ const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens`
9885
9889
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9886
9890
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
9887
- .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
9891
+ .replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
9888
9892
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9889
9893
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9890
9894
  let baseOptions;
@@ -9892,7 +9896,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9892
9896
  baseOptions = configuration.baseOptions;
9893
9897
  }
9894
9898
 
9895
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9899
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9896
9900
  const localVarHeaderParameter = {} as any;
9897
9901
  const localVarQueryParameter = {} as any;
9898
9902
 
@@ -9903,27 +9907,14 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9903
9907
  // authentication DigestAuth required
9904
9908
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
9905
9909
 
9906
- if (objectType !== undefined) {
9907
- localVarQueryParameter['objectType'] = objectType;
9908
- }
9909
-
9910
- if (databaseName !== undefined) {
9911
- localVarQueryParameter['databaseName'] = databaseName;
9912
- }
9913
-
9914
- if (objectName !== undefined) {
9915
- localVarQueryParameter['objectName'] = objectName;
9916
- }
9917
-
9918
- if (schemaName !== undefined) {
9919
- localVarQueryParameter['schemaName'] = schemaName;
9920
- }
9921
-
9922
9910
 
9923
9911
 
9912
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9913
+
9924
9914
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9925
9915
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9926
9916
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9917
+ localVarRequestOptions.data = serializeDataIfNeeded(influxDBTokenCreate, localVarRequestOptions, configuration)
9927
9918
 
9928
9919
  return {
9929
9920
  url: toPathString(localVarUrlObj),
@@ -9931,37 +9922,24 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9931
9922
  };
9932
9923
  },
9933
9924
  /**
9934
- * Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
9935
- * @summary Discover existing native privilege objects with stable routine identities
9936
- * @param {string} engineName
9925
+ *
9926
+ * @summary InfluxDB CreateUser
9937
9927
  * @param {string} orgName
9938
9928
  * @param {string} clusterName
9939
- * @param {string} accountName
9940
- * @param {string} objectType
9941
- * @param {string} [databaseName]
9942
- * @param {string} [schemaName]
9943
- * @param {number} [offset]
9944
- * @param {number} [limit]
9945
- * @param {string} [catalogName]
9929
+ * @param {InfluxDBUserCreate} influxDBUserCreate
9946
9930
  * @param {*} [options] Override http request option.
9947
9931
  * @throws {RequiredError}
9948
9932
  */
9949
- listAccountObjectPrivilegeObjects: async (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName?: string, schemaName?: string, offset?: number, limit?: number, catalogName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9950
- // verify required parameter 'engineName' is not null or undefined
9951
- assertParamExists('listAccountObjectPrivilegeObjects', 'engineName', engineName)
9933
+ influxDBCreateUser: async (orgName: string, clusterName: string, influxDBUserCreate: InfluxDBUserCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9952
9934
  // verify required parameter 'orgName' is not null or undefined
9953
- assertParamExists('listAccountObjectPrivilegeObjects', 'orgName', orgName)
9935
+ assertParamExists('influxDBCreateUser', 'orgName', orgName)
9954
9936
  // verify required parameter 'clusterName' is not null or undefined
9955
- assertParamExists('listAccountObjectPrivilegeObjects', 'clusterName', clusterName)
9956
- // verify required parameter 'accountName' is not null or undefined
9957
- assertParamExists('listAccountObjectPrivilegeObjects', 'accountName', accountName)
9958
- // verify required parameter 'objectType' is not null or undefined
9959
- assertParamExists('listAccountObjectPrivilegeObjects', 'objectType', objectType)
9960
- const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/objects`
9961
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
9937
+ assertParamExists('influxDBCreateUser', 'clusterName', clusterName)
9938
+ // verify required parameter 'influxDBUserCreate' is not null or undefined
9939
+ assertParamExists('influxDBCreateUser', 'influxDBUserCreate', influxDBUserCreate)
9940
+ const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts`
9962
9941
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9963
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
9964
- .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
9942
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
9965
9943
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9966
9944
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9967
9945
  let baseOptions;
@@ -9969,7 +9947,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9969
9947
  baseOptions = configuration.baseOptions;
9970
9948
  }
9971
9949
 
9972
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9950
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9973
9951
  const localVarHeaderParameter = {} as any;
9974
9952
  const localVarQueryParameter = {} as any;
9975
9953
 
@@ -9980,35 +9958,14 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9980
9958
  // authentication DigestAuth required
9981
9959
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
9982
9960
 
9983
- if (objectType !== undefined) {
9984
- localVarQueryParameter['objectType'] = objectType;
9985
- }
9986
-
9987
- if (databaseName !== undefined) {
9988
- localVarQueryParameter['databaseName'] = databaseName;
9989
- }
9990
-
9991
- if (schemaName !== undefined) {
9992
- localVarQueryParameter['schemaName'] = schemaName;
9993
- }
9994
-
9995
- if (offset !== undefined) {
9996
- localVarQueryParameter['offset'] = offset;
9997
- }
9998
-
9999
- if (limit !== undefined) {
10000
- localVarQueryParameter['limit'] = limit;
10001
- }
10002
-
10003
- if (catalogName !== undefined) {
10004
- localVarQueryParameter['catalogName'] = catalogName;
10005
- }
10006
-
10007
9961
 
10008
9962
 
9963
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9964
+
10009
9965
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10010
9966
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10011
9967
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9968
+ localVarRequestOptions.data = serializeDataIfNeeded(influxDBUserCreate, localVarRequestOptions, configuration)
10012
9969
 
10013
9970
  return {
10014
9971
  url: toPathString(localVarUrlObj),
@@ -10016,25 +9973,29 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
10016
9973
  };
10017
9974
  },
10018
9975
  /**
10019
- * list accounts in cluster
10020
- * @summary List cluster accounts
10021
- * @param {string} engineName name of the engine
10022
- * @param {string} orgName name of the organization
10023
- * @param {string} clusterName name of the cluster
9976
+ *
9977
+ * @summary InfluxDB DeleteToken
9978
+ * @param {string} orgName
9979
+ * @param {string} clusterName
9980
+ * @param {string} userID
9981
+ * @param {string} tokenID
10024
9982
  * @param {*} [options] Override http request option.
10025
9983
  * @throws {RequiredError}
10026
9984
  */
10027
- listAccounts: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10028
- // verify required parameter 'engineName' is not null or undefined
10029
- assertParamExists('listAccounts', 'engineName', engineName)
9985
+ influxDBDeleteToken: async (orgName: string, clusterName: string, userID: string, tokenID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10030
9986
  // verify required parameter 'orgName' is not null or undefined
10031
- assertParamExists('listAccounts', 'orgName', orgName)
9987
+ assertParamExists('influxDBDeleteToken', 'orgName', orgName)
10032
9988
  // verify required parameter 'clusterName' is not null or undefined
10033
- assertParamExists('listAccounts', 'clusterName', clusterName)
10034
- const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts`
10035
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
9989
+ assertParamExists('influxDBDeleteToken', 'clusterName', clusterName)
9990
+ // verify required parameter 'userID' is not null or undefined
9991
+ assertParamExists('influxDBDeleteToken', 'userID', userID)
9992
+ // verify required parameter 'tokenID' is not null or undefined
9993
+ assertParamExists('influxDBDeleteToken', 'tokenID', tokenID)
9994
+ const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens/{tokenID}`
10036
9995
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10037
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
9996
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
9997
+ .replace(`{${"userID"}}`, encodeURIComponent(String(userID)))
9998
+ .replace(`{${"tokenID"}}`, encodeURIComponent(String(tokenID)));
10038
9999
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10039
10000
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10040
10001
  let baseOptions;
@@ -10042,7 +10003,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
10042
10003
  baseOptions = configuration.baseOptions;
10043
10004
  }
10044
10005
 
10045
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10006
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
10046
10007
  const localVarHeaderParameter = {} as any;
10047
10008
  const localVarQueryParameter = {} as any;
10048
10009
 
@@ -10066,64 +10027,24 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
10066
10027
  },
10067
10028
  /**
10068
10029
  *
10069
- * @summary list the available clusters for the organization to create the a relation
10030
+ * @summary InfluxDB DeleteUser
10070
10031
  * @param {string} orgName
10071
10032
  * @param {string} clusterName
10072
- * @param {string} targetType
10033
+ * @param {string} userID
10073
10034
  * @param {*} [options] Override http request option.
10074
10035
  * @throws {RequiredError}
10075
10036
  */
10076
- listAvailableClustersForRelation: async (orgName: string, clusterName: string, targetType: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10037
+ influxDBDeleteUser: async (orgName: string, clusterName: string, userID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10077
10038
  // verify required parameter 'orgName' is not null or undefined
10078
- assertParamExists('listAvailableClustersForRelation', 'orgName', orgName)
10039
+ assertParamExists('influxDBDeleteUser', 'orgName', orgName)
10079
10040
  // verify required parameter 'clusterName' is not null or undefined
10080
- assertParamExists('listAvailableClustersForRelation', 'clusterName', clusterName)
10081
- // verify required parameter 'targetType' is not null or undefined
10082
- assertParamExists('listAvailableClustersForRelation', 'targetType', targetType)
10083
- const localVarPath = `/admin/v1/organizations/{orgName}/cluster/{clusterName}/available-relations`
10041
+ assertParamExists('influxDBDeleteUser', 'clusterName', clusterName)
10042
+ // verify required parameter 'userID' is not null or undefined
10043
+ assertParamExists('influxDBDeleteUser', 'userID', userID)
10044
+ const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}`
10084
10045
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10085
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
10086
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
10087
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10088
- let baseOptions;
10089
- if (configuration) {
10090
- baseOptions = configuration.baseOptions;
10091
- }
10092
-
10093
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10094
- const localVarHeaderParameter = {} as any;
10095
- const localVarQueryParameter = {} as any;
10096
-
10097
- // authentication BearerToken required
10098
- // http bearer authentication required
10099
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
10100
-
10101
- // authentication DigestAuth required
10102
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10103
-
10104
- if (targetType !== undefined) {
10105
- localVarQueryParameter['targetType'] = targetType;
10106
- }
10107
-
10108
-
10109
-
10110
- setSearchParams(localVarUrlObj, localVarQueryParameter);
10111
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10112
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10113
-
10114
- return {
10115
- url: toPathString(localVarUrlObj),
10116
- options: localVarRequestOptions,
10117
- };
10118
- },
10119
- /**
10120
- *
10121
- * @summary List available model
10122
- * @param {*} [options] Override http request option.
10123
- * @throws {RequiredError}
10124
- */
10125
- listAvailableModel: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10126
- const localVarPath = `/admin/v1/llm/models`;
10046
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
10047
+ .replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
10127
10048
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10128
10049
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10129
10050
  let baseOptions;
@@ -10131,7 +10052,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
10131
10052
  baseOptions = configuration.baseOptions;
10132
10053
  }
10133
10054
 
10134
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10055
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
10135
10056
  const localVarHeaderParameter = {} as any;
10136
10057
  const localVarQueryParameter = {} as any;
10137
10058
 
@@ -10155,21 +10076,21 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
10155
10076
  },
10156
10077
  /**
10157
10078
  *
10158
- * @summary List available nodes for rebuilding instance
10159
- * @param {string} orgName name of the Org
10160
- * @param {string} clusterName name of the KubeBlocks cluster
10161
- * @param {string} name name of the instance to be rebuilt
10079
+ * @summary InfluxDB ListBuckets
10080
+ * @param {string} orgName
10081
+ * @param {string} clusterName
10082
+ * @param {string} influxOrgID
10162
10083
  * @param {*} [options] Override http request option.
10163
10084
  * @throws {RequiredError}
10164
10085
  */
10165
- listAvailableNodes: async (orgName: string, clusterName: string, name: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10086
+ influxDBListBuckets: async (orgName: string, clusterName: string, influxOrgID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10166
10087
  // verify required parameter 'orgName' is not null or undefined
10167
- assertParamExists('listAvailableNodes', 'orgName', orgName)
10088
+ assertParamExists('influxDBListBuckets', 'orgName', orgName)
10168
10089
  // verify required parameter 'clusterName' is not null or undefined
10169
- assertParamExists('listAvailableNodes', 'clusterName', clusterName)
10170
- // verify required parameter 'name' is not null or undefined
10171
- assertParamExists('listAvailableNodes', 'name', name)
10172
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/rebuildInstance/availableNodes`
10090
+ assertParamExists('influxDBListBuckets', 'clusterName', clusterName)
10091
+ // verify required parameter 'influxOrgID' is not null or undefined
10092
+ assertParamExists('influxDBListBuckets', 'influxOrgID', influxOrgID)
10093
+ const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets`
10173
10094
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10174
10095
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
10175
10096
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -10190,8 +10111,8 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
10190
10111
  // authentication DigestAuth required
10191
10112
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10192
10113
 
10193
- if (name !== undefined) {
10194
- localVarQueryParameter['name'] = name;
10114
+ if (influxOrgID !== undefined) {
10115
+ localVarQueryParameter['influxOrgID'] = influxOrgID;
10195
10116
  }
10196
10117
 
10197
10118
 
@@ -10207,19 +10128,18 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
10207
10128
  },
10208
10129
  /**
10209
10130
  *
10210
- * @summary List backup schedules
10211
- * @param {string} orgName name of the org
10212
- * @param {string} clusterName name of the cluster
10213
- * @param {string} [backupMethod] filter by backup method
10131
+ * @summary InfluxDB ListOrganizations
10132
+ * @param {string} orgName
10133
+ * @param {string} clusterName
10214
10134
  * @param {*} [options] Override http request option.
10215
10135
  * @throws {RequiredError}
10216
10136
  */
10217
- listBackupSchedules: async (orgName: string, clusterName: string, backupMethod?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10137
+ influxDBListOrganizations: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10218
10138
  // verify required parameter 'orgName' is not null or undefined
10219
- assertParamExists('listBackupSchedules', 'orgName', orgName)
10139
+ assertParamExists('influxDBListOrganizations', 'orgName', orgName)
10220
10140
  // verify required parameter 'clusterName' is not null or undefined
10221
- assertParamExists('listBackupSchedules', 'clusterName', clusterName)
10222
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/backupSchedules`
10141
+ assertParamExists('influxDBListOrganizations', 'clusterName', clusterName)
10142
+ const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/organizations`
10223
10143
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10224
10144
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
10225
10145
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -10240,10 +10160,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
10240
10160
  // authentication DigestAuth required
10241
10161
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10242
10162
 
10243
- if (backupMethod !== undefined) {
10244
- localVarQueryParameter['backupMethod'] = backupMethod;
10245
- }
10246
-
10247
10163
 
10248
10164
 
10249
10165
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -10257,13 +10173,24 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
10257
10173
  },
10258
10174
  /**
10259
10175
  *
10260
- * @summary List classes
10261
- * @param {string} [engineName] filter by engine name
10176
+ * @summary InfluxDB ListTokens
10177
+ * @param {string} orgName
10178
+ * @param {string} clusterName
10179
+ * @param {string} userID
10262
10180
  * @param {*} [options] Override http request option.
10263
10181
  * @throws {RequiredError}
10264
10182
  */
10265
- listClasses: async (engineName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10266
- const localVarPath = `/admin/v1/classes`;
10183
+ influxDBListTokens: async (orgName: string, clusterName: string, userID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10184
+ // verify required parameter 'orgName' is not null or undefined
10185
+ assertParamExists('influxDBListTokens', 'orgName', orgName)
10186
+ // verify required parameter 'clusterName' is not null or undefined
10187
+ assertParamExists('influxDBListTokens', 'clusterName', clusterName)
10188
+ // verify required parameter 'userID' is not null or undefined
10189
+ assertParamExists('influxDBListTokens', 'userID', userID)
10190
+ const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens`
10191
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10192
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
10193
+ .replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
10267
10194
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10268
10195
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10269
10196
  let baseOptions;
@@ -10282,10 +10209,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
10282
10209
  // authentication DigestAuth required
10283
10210
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10284
10211
 
10285
- if (engineName !== undefined) {
10286
- localVarQueryParameter['engineName'] = engineName;
10287
- }
10288
-
10289
10212
 
10290
10213
 
10291
10214
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -10299,24 +10222,632 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
10299
10222
  },
10300
10223
  /**
10301
10224
  *
10302
- * @summary List the roles granted to a ClickHouse account
10225
+ * @summary InfluxDB ListUsers
10303
10226
  * @param {string} orgName
10304
10227
  * @param {string} clusterName
10305
- * @param {string} accountName
10306
10228
  * @param {*} [options] Override http request option.
10307
10229
  * @throws {RequiredError}
10308
10230
  */
10309
- listClickhouseAccountRoles: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10231
+ influxDBListUsers: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10310
10232
  // verify required parameter 'orgName' is not null or undefined
10311
- assertParamExists('listClickhouseAccountRoles', 'orgName', orgName)
10233
+ assertParamExists('influxDBListUsers', 'orgName', orgName)
10312
10234
  // verify required parameter 'clusterName' is not null or undefined
10313
- assertParamExists('listClickhouseAccountRoles', 'clusterName', clusterName)
10314
- // verify required parameter 'accountName' is not null or undefined
10315
- assertParamExists('listClickhouseAccountRoles', 'accountName', accountName)
10316
- const localVarPath = `/admin/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles`
10235
+ assertParamExists('influxDBListUsers', 'clusterName', clusterName)
10236
+ const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts`
10317
10237
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10318
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
10319
- .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
10238
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
10239
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10240
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10241
+ let baseOptions;
10242
+ if (configuration) {
10243
+ baseOptions = configuration.baseOptions;
10244
+ }
10245
+
10246
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10247
+ const localVarHeaderParameter = {} as any;
10248
+ const localVarQueryParameter = {} as any;
10249
+
10250
+ // authentication BearerToken required
10251
+ // http bearer authentication required
10252
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10253
+
10254
+ // authentication DigestAuth required
10255
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10256
+
10257
+
10258
+
10259
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10260
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10261
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10262
+
10263
+ return {
10264
+ url: toPathString(localVarUrlObj),
10265
+ options: localVarRequestOptions,
10266
+ };
10267
+ },
10268
+ /**
10269
+ *
10270
+ * @summary InfluxDB UpdateToken
10271
+ * @param {string} orgName
10272
+ * @param {string} clusterName
10273
+ * @param {string} userID
10274
+ * @param {string} tokenID
10275
+ * @param {InfluxDBTokenUpdate} influxDBTokenUpdate
10276
+ * @param {*} [options] Override http request option.
10277
+ * @throws {RequiredError}
10278
+ */
10279
+ influxDBUpdateToken: async (orgName: string, clusterName: string, userID: string, tokenID: string, influxDBTokenUpdate: InfluxDBTokenUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10280
+ // verify required parameter 'orgName' is not null or undefined
10281
+ assertParamExists('influxDBUpdateToken', 'orgName', orgName)
10282
+ // verify required parameter 'clusterName' is not null or undefined
10283
+ assertParamExists('influxDBUpdateToken', 'clusterName', clusterName)
10284
+ // verify required parameter 'userID' is not null or undefined
10285
+ assertParamExists('influxDBUpdateToken', 'userID', userID)
10286
+ // verify required parameter 'tokenID' is not null or undefined
10287
+ assertParamExists('influxDBUpdateToken', 'tokenID', tokenID)
10288
+ // verify required parameter 'influxDBTokenUpdate' is not null or undefined
10289
+ assertParamExists('influxDBUpdateToken', 'influxDBTokenUpdate', influxDBTokenUpdate)
10290
+ const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens/{tokenID}`
10291
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10292
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
10293
+ .replace(`{${"userID"}}`, encodeURIComponent(String(userID)))
10294
+ .replace(`{${"tokenID"}}`, encodeURIComponent(String(tokenID)));
10295
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10296
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10297
+ let baseOptions;
10298
+ if (configuration) {
10299
+ baseOptions = configuration.baseOptions;
10300
+ }
10301
+
10302
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
10303
+ const localVarHeaderParameter = {} as any;
10304
+ const localVarQueryParameter = {} as any;
10305
+
10306
+ // authentication BearerToken required
10307
+ // http bearer authentication required
10308
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10309
+
10310
+ // authentication DigestAuth required
10311
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10312
+
10313
+
10314
+
10315
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10316
+
10317
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10318
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10319
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10320
+ localVarRequestOptions.data = serializeDataIfNeeded(influxDBTokenUpdate, localVarRequestOptions, configuration)
10321
+
10322
+ return {
10323
+ url: toPathString(localVarUrlObj),
10324
+ options: localVarRequestOptions,
10325
+ };
10326
+ },
10327
+ /**
10328
+ * kill a session in cluster
10329
+ * @summary Kill cluster session
10330
+ * @param {string} engineName name of the engine
10331
+ * @param {string} orgName name of the Org
10332
+ * @param {string} clusterName name of the Cluster
10333
+ * @param {string} session session id
10334
+ * @param {boolean} [keep] if keep is true, the session will not be killed but only closed
10335
+ * @param {*} [options] Override http request option.
10336
+ * @throws {RequiredError}
10337
+ */
10338
+ killSession: async (engineName: string, orgName: string, clusterName: string, session: string, keep?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10339
+ // verify required parameter 'engineName' is not null or undefined
10340
+ assertParamExists('killSession', 'engineName', engineName)
10341
+ // verify required parameter 'orgName' is not null or undefined
10342
+ assertParamExists('killSession', 'orgName', orgName)
10343
+ // verify required parameter 'clusterName' is not null or undefined
10344
+ assertParamExists('killSession', 'clusterName', clusterName)
10345
+ // verify required parameter 'session' is not null or undefined
10346
+ assertParamExists('killSession', 'session', session)
10347
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/sessions/{session}`
10348
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
10349
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10350
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
10351
+ .replace(`{${"session"}}`, encodeURIComponent(String(session)));
10352
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10353
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10354
+ let baseOptions;
10355
+ if (configuration) {
10356
+ baseOptions = configuration.baseOptions;
10357
+ }
10358
+
10359
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
10360
+ const localVarHeaderParameter = {} as any;
10361
+ const localVarQueryParameter = {} as any;
10362
+
10363
+ // authentication BearerToken required
10364
+ // http bearer authentication required
10365
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10366
+
10367
+ // authentication DigestAuth required
10368
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10369
+
10370
+ if (keep !== undefined) {
10371
+ localVarQueryParameter['keep'] = keep;
10372
+ }
10373
+
10374
+
10375
+
10376
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10377
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10378
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10379
+
10380
+ return {
10381
+ url: toPathString(localVarUrlObj),
10382
+ options: localVarRequestOptions,
10383
+ };
10384
+ },
10385
+ /**
10386
+ * 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.
10387
+ * @summary List exact column names for account object privileges
10388
+ * @param {string} engineName
10389
+ * @param {string} orgName
10390
+ * @param {string} clusterName
10391
+ * @param {string} accountName
10392
+ * @param {string} objectType Object type, table/view; PostgreSQL also supports materializedView/foreignTable
10393
+ * @param {string} databaseName
10394
+ * @param {string} objectName
10395
+ * @param {string} [schemaName] Required for PostgreSQL; not accepted for MySQL
10396
+ * @param {*} [options] Override http request option.
10397
+ * @throws {RequiredError}
10398
+ */
10399
+ listAccountObjectPrivilegeColumns: async (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, schemaName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10400
+ // verify required parameter 'engineName' is not null or undefined
10401
+ assertParamExists('listAccountObjectPrivilegeColumns', 'engineName', engineName)
10402
+ // verify required parameter 'orgName' is not null or undefined
10403
+ assertParamExists('listAccountObjectPrivilegeColumns', 'orgName', orgName)
10404
+ // verify required parameter 'clusterName' is not null or undefined
10405
+ assertParamExists('listAccountObjectPrivilegeColumns', 'clusterName', clusterName)
10406
+ // verify required parameter 'accountName' is not null or undefined
10407
+ assertParamExists('listAccountObjectPrivilegeColumns', 'accountName', accountName)
10408
+ // verify required parameter 'objectType' is not null or undefined
10409
+ assertParamExists('listAccountObjectPrivilegeColumns', 'objectType', objectType)
10410
+ // verify required parameter 'databaseName' is not null or undefined
10411
+ assertParamExists('listAccountObjectPrivilegeColumns', 'databaseName', databaseName)
10412
+ // verify required parameter 'objectName' is not null or undefined
10413
+ assertParamExists('listAccountObjectPrivilegeColumns', 'objectName', objectName)
10414
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/columns`
10415
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
10416
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10417
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
10418
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
10419
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10420
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10421
+ let baseOptions;
10422
+ if (configuration) {
10423
+ baseOptions = configuration.baseOptions;
10424
+ }
10425
+
10426
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10427
+ const localVarHeaderParameter = {} as any;
10428
+ const localVarQueryParameter = {} as any;
10429
+
10430
+ // authentication BearerToken required
10431
+ // http bearer authentication required
10432
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10433
+
10434
+ // authentication DigestAuth required
10435
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10436
+
10437
+ if (objectType !== undefined) {
10438
+ localVarQueryParameter['objectType'] = objectType;
10439
+ }
10440
+
10441
+ if (databaseName !== undefined) {
10442
+ localVarQueryParameter['databaseName'] = databaseName;
10443
+ }
10444
+
10445
+ if (objectName !== undefined) {
10446
+ localVarQueryParameter['objectName'] = objectName;
10447
+ }
10448
+
10449
+ if (schemaName !== undefined) {
10450
+ localVarQueryParameter['schemaName'] = schemaName;
10451
+ }
10452
+
10453
+
10454
+
10455
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10456
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10457
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10458
+
10459
+ return {
10460
+ url: toPathString(localVarUrlObj),
10461
+ options: localVarRequestOptions,
10462
+ };
10463
+ },
10464
+ /**
10465
+ * Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
10466
+ * @summary Discover existing native privilege objects with stable routine identities
10467
+ * @param {string} engineName
10468
+ * @param {string} orgName
10469
+ * @param {string} clusterName
10470
+ * @param {string} accountName
10471
+ * @param {string} objectType
10472
+ * @param {string} [databaseName]
10473
+ * @param {string} [schemaName]
10474
+ * @param {number} [offset]
10475
+ * @param {number} [limit]
10476
+ * @param {string} [catalogName]
10477
+ * @param {*} [options] Override http request option.
10478
+ * @throws {RequiredError}
10479
+ */
10480
+ listAccountObjectPrivilegeObjects: async (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName?: string, schemaName?: string, offset?: number, limit?: number, catalogName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10481
+ // verify required parameter 'engineName' is not null or undefined
10482
+ assertParamExists('listAccountObjectPrivilegeObjects', 'engineName', engineName)
10483
+ // verify required parameter 'orgName' is not null or undefined
10484
+ assertParamExists('listAccountObjectPrivilegeObjects', 'orgName', orgName)
10485
+ // verify required parameter 'clusterName' is not null or undefined
10486
+ assertParamExists('listAccountObjectPrivilegeObjects', 'clusterName', clusterName)
10487
+ // verify required parameter 'accountName' is not null or undefined
10488
+ assertParamExists('listAccountObjectPrivilegeObjects', 'accountName', accountName)
10489
+ // verify required parameter 'objectType' is not null or undefined
10490
+ assertParamExists('listAccountObjectPrivilegeObjects', 'objectType', objectType)
10491
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/objects`
10492
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
10493
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10494
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
10495
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
10496
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10497
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10498
+ let baseOptions;
10499
+ if (configuration) {
10500
+ baseOptions = configuration.baseOptions;
10501
+ }
10502
+
10503
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10504
+ const localVarHeaderParameter = {} as any;
10505
+ const localVarQueryParameter = {} as any;
10506
+
10507
+ // authentication BearerToken required
10508
+ // http bearer authentication required
10509
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10510
+
10511
+ // authentication DigestAuth required
10512
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10513
+
10514
+ if (objectType !== undefined) {
10515
+ localVarQueryParameter['objectType'] = objectType;
10516
+ }
10517
+
10518
+ if (databaseName !== undefined) {
10519
+ localVarQueryParameter['databaseName'] = databaseName;
10520
+ }
10521
+
10522
+ if (schemaName !== undefined) {
10523
+ localVarQueryParameter['schemaName'] = schemaName;
10524
+ }
10525
+
10526
+ if (offset !== undefined) {
10527
+ localVarQueryParameter['offset'] = offset;
10528
+ }
10529
+
10530
+ if (limit !== undefined) {
10531
+ localVarQueryParameter['limit'] = limit;
10532
+ }
10533
+
10534
+ if (catalogName !== undefined) {
10535
+ localVarQueryParameter['catalogName'] = catalogName;
10536
+ }
10537
+
10538
+
10539
+
10540
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10541
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10542
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10543
+
10544
+ return {
10545
+ url: toPathString(localVarUrlObj),
10546
+ options: localVarRequestOptions,
10547
+ };
10548
+ },
10549
+ /**
10550
+ * list accounts in cluster
10551
+ * @summary List cluster accounts
10552
+ * @param {string} engineName name of the engine
10553
+ * @param {string} orgName name of the organization
10554
+ * @param {string} clusterName name of the cluster
10555
+ * @param {*} [options] Override http request option.
10556
+ * @throws {RequiredError}
10557
+ */
10558
+ listAccounts: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10559
+ // verify required parameter 'engineName' is not null or undefined
10560
+ assertParamExists('listAccounts', 'engineName', engineName)
10561
+ // verify required parameter 'orgName' is not null or undefined
10562
+ assertParamExists('listAccounts', 'orgName', orgName)
10563
+ // verify required parameter 'clusterName' is not null or undefined
10564
+ assertParamExists('listAccounts', 'clusterName', clusterName)
10565
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts`
10566
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
10567
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10568
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
10569
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10570
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10571
+ let baseOptions;
10572
+ if (configuration) {
10573
+ baseOptions = configuration.baseOptions;
10574
+ }
10575
+
10576
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10577
+ const localVarHeaderParameter = {} as any;
10578
+ const localVarQueryParameter = {} as any;
10579
+
10580
+ // authentication BearerToken required
10581
+ // http bearer authentication required
10582
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10583
+
10584
+ // authentication DigestAuth required
10585
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10586
+
10587
+
10588
+
10589
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10590
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10591
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10592
+
10593
+ return {
10594
+ url: toPathString(localVarUrlObj),
10595
+ options: localVarRequestOptions,
10596
+ };
10597
+ },
10598
+ /**
10599
+ *
10600
+ * @summary list the available clusters for the organization to create the a relation
10601
+ * @param {string} orgName
10602
+ * @param {string} clusterName
10603
+ * @param {string} targetType
10604
+ * @param {*} [options] Override http request option.
10605
+ * @throws {RequiredError}
10606
+ */
10607
+ listAvailableClustersForRelation: async (orgName: string, clusterName: string, targetType: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10608
+ // verify required parameter 'orgName' is not null or undefined
10609
+ assertParamExists('listAvailableClustersForRelation', 'orgName', orgName)
10610
+ // verify required parameter 'clusterName' is not null or undefined
10611
+ assertParamExists('listAvailableClustersForRelation', 'clusterName', clusterName)
10612
+ // verify required parameter 'targetType' is not null or undefined
10613
+ assertParamExists('listAvailableClustersForRelation', 'targetType', targetType)
10614
+ const localVarPath = `/admin/v1/organizations/{orgName}/cluster/{clusterName}/available-relations`
10615
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10616
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
10617
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10618
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10619
+ let baseOptions;
10620
+ if (configuration) {
10621
+ baseOptions = configuration.baseOptions;
10622
+ }
10623
+
10624
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10625
+ const localVarHeaderParameter = {} as any;
10626
+ const localVarQueryParameter = {} as any;
10627
+
10628
+ // authentication BearerToken required
10629
+ // http bearer authentication required
10630
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10631
+
10632
+ // authentication DigestAuth required
10633
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10634
+
10635
+ if (targetType !== undefined) {
10636
+ localVarQueryParameter['targetType'] = targetType;
10637
+ }
10638
+
10639
+
10640
+
10641
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10642
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10643
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10644
+
10645
+ return {
10646
+ url: toPathString(localVarUrlObj),
10647
+ options: localVarRequestOptions,
10648
+ };
10649
+ },
10650
+ /**
10651
+ *
10652
+ * @summary List available model
10653
+ * @param {*} [options] Override http request option.
10654
+ * @throws {RequiredError}
10655
+ */
10656
+ listAvailableModel: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10657
+ const localVarPath = `/admin/v1/llm/models`;
10658
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10659
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10660
+ let baseOptions;
10661
+ if (configuration) {
10662
+ baseOptions = configuration.baseOptions;
10663
+ }
10664
+
10665
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10666
+ const localVarHeaderParameter = {} as any;
10667
+ const localVarQueryParameter = {} as any;
10668
+
10669
+ // authentication BearerToken required
10670
+ // http bearer authentication required
10671
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10672
+
10673
+ // authentication DigestAuth required
10674
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10675
+
10676
+
10677
+
10678
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10679
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10680
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10681
+
10682
+ return {
10683
+ url: toPathString(localVarUrlObj),
10684
+ options: localVarRequestOptions,
10685
+ };
10686
+ },
10687
+ /**
10688
+ *
10689
+ * @summary List available nodes for rebuilding instance
10690
+ * @param {string} orgName name of the Org
10691
+ * @param {string} clusterName name of the KubeBlocks cluster
10692
+ * @param {string} name name of the instance to be rebuilt
10693
+ * @param {*} [options] Override http request option.
10694
+ * @throws {RequiredError}
10695
+ */
10696
+ listAvailableNodes: async (orgName: string, clusterName: string, name: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10697
+ // verify required parameter 'orgName' is not null or undefined
10698
+ assertParamExists('listAvailableNodes', 'orgName', orgName)
10699
+ // verify required parameter 'clusterName' is not null or undefined
10700
+ assertParamExists('listAvailableNodes', 'clusterName', clusterName)
10701
+ // verify required parameter 'name' is not null or undefined
10702
+ assertParamExists('listAvailableNodes', 'name', name)
10703
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/rebuildInstance/availableNodes`
10704
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10705
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
10706
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10707
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10708
+ let baseOptions;
10709
+ if (configuration) {
10710
+ baseOptions = configuration.baseOptions;
10711
+ }
10712
+
10713
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10714
+ const localVarHeaderParameter = {} as any;
10715
+ const localVarQueryParameter = {} as any;
10716
+
10717
+ // authentication BearerToken required
10718
+ // http bearer authentication required
10719
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10720
+
10721
+ // authentication DigestAuth required
10722
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10723
+
10724
+ if (name !== undefined) {
10725
+ localVarQueryParameter['name'] = name;
10726
+ }
10727
+
10728
+
10729
+
10730
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10731
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10732
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10733
+
10734
+ return {
10735
+ url: toPathString(localVarUrlObj),
10736
+ options: localVarRequestOptions,
10737
+ };
10738
+ },
10739
+ /**
10740
+ *
10741
+ * @summary List backup schedules
10742
+ * @param {string} orgName name of the org
10743
+ * @param {string} clusterName name of the cluster
10744
+ * @param {string} [backupMethod] filter by backup method
10745
+ * @param {*} [options] Override http request option.
10746
+ * @throws {RequiredError}
10747
+ */
10748
+ listBackupSchedules: async (orgName: string, clusterName: string, backupMethod?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10749
+ // verify required parameter 'orgName' is not null or undefined
10750
+ assertParamExists('listBackupSchedules', 'orgName', orgName)
10751
+ // verify required parameter 'clusterName' is not null or undefined
10752
+ assertParamExists('listBackupSchedules', 'clusterName', clusterName)
10753
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/backupSchedules`
10754
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10755
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
10756
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10757
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10758
+ let baseOptions;
10759
+ if (configuration) {
10760
+ baseOptions = configuration.baseOptions;
10761
+ }
10762
+
10763
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10764
+ const localVarHeaderParameter = {} as any;
10765
+ const localVarQueryParameter = {} as any;
10766
+
10767
+ // authentication BearerToken required
10768
+ // http bearer authentication required
10769
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10770
+
10771
+ // authentication DigestAuth required
10772
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10773
+
10774
+ if (backupMethod !== undefined) {
10775
+ localVarQueryParameter['backupMethod'] = backupMethod;
10776
+ }
10777
+
10778
+
10779
+
10780
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10781
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10782
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10783
+
10784
+ return {
10785
+ url: toPathString(localVarUrlObj),
10786
+ options: localVarRequestOptions,
10787
+ };
10788
+ },
10789
+ /**
10790
+ *
10791
+ * @summary List classes
10792
+ * @param {string} [engineName] filter by engine name
10793
+ * @param {*} [options] Override http request option.
10794
+ * @throws {RequiredError}
10795
+ */
10796
+ listClasses: async (engineName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10797
+ const localVarPath = `/admin/v1/classes`;
10798
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10799
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10800
+ let baseOptions;
10801
+ if (configuration) {
10802
+ baseOptions = configuration.baseOptions;
10803
+ }
10804
+
10805
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10806
+ const localVarHeaderParameter = {} as any;
10807
+ const localVarQueryParameter = {} as any;
10808
+
10809
+ // authentication BearerToken required
10810
+ // http bearer authentication required
10811
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10812
+
10813
+ // authentication DigestAuth required
10814
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
10815
+
10816
+ if (engineName !== undefined) {
10817
+ localVarQueryParameter['engineName'] = engineName;
10818
+ }
10819
+
10820
+
10821
+
10822
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10823
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10824
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10825
+
10826
+ return {
10827
+ url: toPathString(localVarUrlObj),
10828
+ options: localVarRequestOptions,
10829
+ };
10830
+ },
10831
+ /**
10832
+ *
10833
+ * @summary List the roles granted to a ClickHouse account
10834
+ * @param {string} orgName
10835
+ * @param {string} clusterName
10836
+ * @param {string} accountName
10837
+ * @param {*} [options] Override http request option.
10838
+ * @throws {RequiredError}
10839
+ */
10840
+ listClickhouseAccountRoles: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10841
+ // verify required parameter 'orgName' is not null or undefined
10842
+ assertParamExists('listClickhouseAccountRoles', 'orgName', orgName)
10843
+ // verify required parameter 'clusterName' is not null or undefined
10844
+ assertParamExists('listClickhouseAccountRoles', 'clusterName', clusterName)
10845
+ // verify required parameter 'accountName' is not null or undefined
10846
+ assertParamExists('listClickhouseAccountRoles', 'accountName', accountName)
10847
+ const localVarPath = `/admin/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles`
10848
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10849
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
10850
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
10320
10851
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10321
10852
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10322
10853
  let baseOptions;
@@ -22947,6 +23478,159 @@ export const SharedApiFp = function(configuration?: Configuration) {
22947
23478
  const localVarOperationServerBasePath = operationServerMap['SharedApi.importPreflight']?.[localVarOperationServerIndex]?.url;
22948
23479
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22949
23480
  },
23481
+ /**
23482
+ *
23483
+ * @summary InfluxDB ChangePassword
23484
+ * @param {string} orgName
23485
+ * @param {string} clusterName
23486
+ * @param {string} userID
23487
+ * @param {InfluxDBPasswordChange} influxDBPasswordChange
23488
+ * @param {*} [options] Override http request option.
23489
+ * @throws {RequiredError}
23490
+ */
23491
+ async influxDBChangePassword(orgName: string, clusterName: string, userID: string, influxDBPasswordChange: InfluxDBPasswordChange, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
23492
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBChangePassword(orgName, clusterName, userID, influxDBPasswordChange, options);
23493
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23494
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBChangePassword']?.[localVarOperationServerIndex]?.url;
23495
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23496
+ },
23497
+ /**
23498
+ *
23499
+ * @summary InfluxDB CreateToken
23500
+ * @param {string} orgName
23501
+ * @param {string} clusterName
23502
+ * @param {string} userID
23503
+ * @param {InfluxDBTokenCreate} influxDBTokenCreate
23504
+ * @param {*} [options] Override http request option.
23505
+ * @throws {RequiredError}
23506
+ */
23507
+ async influxDBCreateToken(orgName: string, clusterName: string, userID: string, influxDBTokenCreate: InfluxDBTokenCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InfluxDBTokenCreated>> {
23508
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateToken(orgName, clusterName, userID, influxDBTokenCreate, options);
23509
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23510
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBCreateToken']?.[localVarOperationServerIndex]?.url;
23511
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23512
+ },
23513
+ /**
23514
+ *
23515
+ * @summary InfluxDB CreateUser
23516
+ * @param {string} orgName
23517
+ * @param {string} clusterName
23518
+ * @param {InfluxDBUserCreate} influxDBUserCreate
23519
+ * @param {*} [options] Override http request option.
23520
+ * @throws {RequiredError}
23521
+ */
23522
+ async influxDBCreateUser(orgName: string, clusterName: string, influxDBUserCreate: InfluxDBUserCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InfluxDBUser>> {
23523
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateUser(orgName, clusterName, influxDBUserCreate, options);
23524
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23525
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBCreateUser']?.[localVarOperationServerIndex]?.url;
23526
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23527
+ },
23528
+ /**
23529
+ *
23530
+ * @summary InfluxDB DeleteToken
23531
+ * @param {string} orgName
23532
+ * @param {string} clusterName
23533
+ * @param {string} userID
23534
+ * @param {string} tokenID
23535
+ * @param {*} [options] Override http request option.
23536
+ * @throws {RequiredError}
23537
+ */
23538
+ async influxDBDeleteToken(orgName: string, clusterName: string, userID: string, tokenID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
23539
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteToken(orgName, clusterName, userID, tokenID, options);
23540
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23541
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBDeleteToken']?.[localVarOperationServerIndex]?.url;
23542
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23543
+ },
23544
+ /**
23545
+ *
23546
+ * @summary InfluxDB DeleteUser
23547
+ * @param {string} orgName
23548
+ * @param {string} clusterName
23549
+ * @param {string} userID
23550
+ * @param {*} [options] Override http request option.
23551
+ * @throws {RequiredError}
23552
+ */
23553
+ async influxDBDeleteUser(orgName: string, clusterName: string, userID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
23554
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteUser(orgName, clusterName, userID, options);
23555
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23556
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBDeleteUser']?.[localVarOperationServerIndex]?.url;
23557
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23558
+ },
23559
+ /**
23560
+ *
23561
+ * @summary InfluxDB ListBuckets
23562
+ * @param {string} orgName
23563
+ * @param {string} clusterName
23564
+ * @param {string} influxOrgID
23565
+ * @param {*} [options] Override http request option.
23566
+ * @throws {RequiredError}
23567
+ */
23568
+ async influxDBListBuckets(orgName: string, clusterName: string, influxOrgID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InfluxDBBucket>>> {
23569
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListBuckets(orgName, clusterName, influxOrgID, options);
23570
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23571
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBListBuckets']?.[localVarOperationServerIndex]?.url;
23572
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23573
+ },
23574
+ /**
23575
+ *
23576
+ * @summary InfluxDB ListOrganizations
23577
+ * @param {string} orgName
23578
+ * @param {string} clusterName
23579
+ * @param {*} [options] Override http request option.
23580
+ * @throws {RequiredError}
23581
+ */
23582
+ async influxDBListOrganizations(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InfluxDBOrganization>>> {
23583
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListOrganizations(orgName, clusterName, options);
23584
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23585
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBListOrganizations']?.[localVarOperationServerIndex]?.url;
23586
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23587
+ },
23588
+ /**
23589
+ *
23590
+ * @summary InfluxDB ListTokens
23591
+ * @param {string} orgName
23592
+ * @param {string} clusterName
23593
+ * @param {string} userID
23594
+ * @param {*} [options] Override http request option.
23595
+ * @throws {RequiredError}
23596
+ */
23597
+ async influxDBListTokens(orgName: string, clusterName: string, userID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InfluxDBToken>>> {
23598
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListTokens(orgName, clusterName, userID, options);
23599
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23600
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBListTokens']?.[localVarOperationServerIndex]?.url;
23601
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23602
+ },
23603
+ /**
23604
+ *
23605
+ * @summary InfluxDB ListUsers
23606
+ * @param {string} orgName
23607
+ * @param {string} clusterName
23608
+ * @param {*} [options] Override http request option.
23609
+ * @throws {RequiredError}
23610
+ */
23611
+ async influxDBListUsers(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InfluxDBUser>>> {
23612
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListUsers(orgName, clusterName, options);
23613
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23614
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBListUsers']?.[localVarOperationServerIndex]?.url;
23615
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23616
+ },
23617
+ /**
23618
+ *
23619
+ * @summary InfluxDB UpdateToken
23620
+ * @param {string} orgName
23621
+ * @param {string} clusterName
23622
+ * @param {string} userID
23623
+ * @param {string} tokenID
23624
+ * @param {InfluxDBTokenUpdate} influxDBTokenUpdate
23625
+ * @param {*} [options] Override http request option.
23626
+ * @throws {RequiredError}
23627
+ */
23628
+ async influxDBUpdateToken(orgName: string, clusterName: string, userID: string, tokenID: string, influxDBTokenUpdate: InfluxDBTokenUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
23629
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBUpdateToken(orgName, clusterName, userID, tokenID, influxDBTokenUpdate, options);
23630
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23631
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBUpdateToken']?.[localVarOperationServerIndex]?.url;
23632
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23633
+ },
22950
23634
  /**
22951
23635
  * kill a session in cluster
22952
23636
  * @summary Kill cluster session
@@ -27676,6 +28360,106 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
27676
28360
  importPreflight(requestParameters: SharedApiImportPreflightRequest, options?: RawAxiosRequestConfig): AxiosPromise<PreCheckTaskResponse> {
27677
28361
  return localVarFp.importPreflight(requestParameters.orgName, requestParameters.clusterName, requestParameters.importPreflightRequest, options).then((request) => request(axios, basePath));
27678
28362
  },
28363
+ /**
28364
+ *
28365
+ * @summary InfluxDB ChangePassword
28366
+ * @param {SharedApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
28367
+ * @param {*} [options] Override http request option.
28368
+ * @throws {RequiredError}
28369
+ */
28370
+ influxDBChangePassword(requestParameters: SharedApiInfluxDBChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
28371
+ return localVarFp.influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(axios, basePath));
28372
+ },
28373
+ /**
28374
+ *
28375
+ * @summary InfluxDB CreateToken
28376
+ * @param {SharedApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
28377
+ * @param {*} [options] Override http request option.
28378
+ * @throws {RequiredError}
28379
+ */
28380
+ influxDBCreateToken(requestParameters: SharedApiInfluxDBCreateTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBTokenCreated> {
28381
+ return localVarFp.influxDBCreateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBTokenCreate, options).then((request) => request(axios, basePath));
28382
+ },
28383
+ /**
28384
+ *
28385
+ * @summary InfluxDB CreateUser
28386
+ * @param {SharedApiInfluxDBCreateUserRequest} requestParameters Request parameters.
28387
+ * @param {*} [options] Override http request option.
28388
+ * @throws {RequiredError}
28389
+ */
28390
+ influxDBCreateUser(requestParameters: SharedApiInfluxDBCreateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBUser> {
28391
+ return localVarFp.influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(axios, basePath));
28392
+ },
28393
+ /**
28394
+ *
28395
+ * @summary InfluxDB DeleteToken
28396
+ * @param {SharedApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
28397
+ * @param {*} [options] Override http request option.
28398
+ * @throws {RequiredError}
28399
+ */
28400
+ influxDBDeleteToken(requestParameters: SharedApiInfluxDBDeleteTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
28401
+ return localVarFp.influxDBDeleteToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, options).then((request) => request(axios, basePath));
28402
+ },
28403
+ /**
28404
+ *
28405
+ * @summary InfluxDB DeleteUser
28406
+ * @param {SharedApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
28407
+ * @param {*} [options] Override http request option.
28408
+ * @throws {RequiredError}
28409
+ */
28410
+ influxDBDeleteUser(requestParameters: SharedApiInfluxDBDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
28411
+ return localVarFp.influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
28412
+ },
28413
+ /**
28414
+ *
28415
+ * @summary InfluxDB ListBuckets
28416
+ * @param {SharedApiInfluxDBListBucketsRequest} requestParameters Request parameters.
28417
+ * @param {*} [options] Override http request option.
28418
+ * @throws {RequiredError}
28419
+ */
28420
+ influxDBListBuckets(requestParameters: SharedApiInfluxDBListBucketsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBBucket>> {
28421
+ return localVarFp.influxDBListBuckets(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxOrgID, options).then((request) => request(axios, basePath));
28422
+ },
28423
+ /**
28424
+ *
28425
+ * @summary InfluxDB ListOrganizations
28426
+ * @param {SharedApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
28427
+ * @param {*} [options] Override http request option.
28428
+ * @throws {RequiredError}
28429
+ */
28430
+ influxDBListOrganizations(requestParameters: SharedApiInfluxDBListOrganizationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBOrganization>> {
28431
+ return localVarFp.influxDBListOrganizations(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
28432
+ },
28433
+ /**
28434
+ *
28435
+ * @summary InfluxDB ListTokens
28436
+ * @param {SharedApiInfluxDBListTokensRequest} requestParameters Request parameters.
28437
+ * @param {*} [options] Override http request option.
28438
+ * @throws {RequiredError}
28439
+ */
28440
+ influxDBListTokens(requestParameters: SharedApiInfluxDBListTokensRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBToken>> {
28441
+ return localVarFp.influxDBListTokens(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
28442
+ },
28443
+ /**
28444
+ *
28445
+ * @summary InfluxDB ListUsers
28446
+ * @param {SharedApiInfluxDBListUsersRequest} requestParameters Request parameters.
28447
+ * @param {*} [options] Override http request option.
28448
+ * @throws {RequiredError}
28449
+ */
28450
+ influxDBListUsers(requestParameters: SharedApiInfluxDBListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBUser>> {
28451
+ return localVarFp.influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
28452
+ },
28453
+ /**
28454
+ *
28455
+ * @summary InfluxDB UpdateToken
28456
+ * @param {SharedApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
28457
+ * @param {*} [options] Override http request option.
28458
+ * @throws {RequiredError}
28459
+ */
28460
+ influxDBUpdateToken(requestParameters: SharedApiInfluxDBUpdateTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
28461
+ return localVarFp.influxDBUpdateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, requestParameters.influxDBTokenUpdate, options).then((request) => request(axios, basePath));
28462
+ },
27679
28463
  /**
27680
28464
  * kill a session in cluster
27681
28465
  * @summary Kill cluster session
@@ -31268,6 +32052,106 @@ export interface SharedApiInterface {
31268
32052
  */
31269
32053
  importPreflight(requestParameters: SharedApiImportPreflightRequest, options?: RawAxiosRequestConfig): AxiosPromise<PreCheckTaskResponse>;
31270
32054
 
32055
+ /**
32056
+ *
32057
+ * @summary InfluxDB ChangePassword
32058
+ * @param {SharedApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
32059
+ * @param {*} [options] Override http request option.
32060
+ * @throws {RequiredError}
32061
+ * @memberof SharedApiInterface
32062
+ */
32063
+ influxDBChangePassword(requestParameters: SharedApiInfluxDBChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
32064
+
32065
+ /**
32066
+ *
32067
+ * @summary InfluxDB CreateToken
32068
+ * @param {SharedApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
32069
+ * @param {*} [options] Override http request option.
32070
+ * @throws {RequiredError}
32071
+ * @memberof SharedApiInterface
32072
+ */
32073
+ influxDBCreateToken(requestParameters: SharedApiInfluxDBCreateTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBTokenCreated>;
32074
+
32075
+ /**
32076
+ *
32077
+ * @summary InfluxDB CreateUser
32078
+ * @param {SharedApiInfluxDBCreateUserRequest} requestParameters Request parameters.
32079
+ * @param {*} [options] Override http request option.
32080
+ * @throws {RequiredError}
32081
+ * @memberof SharedApiInterface
32082
+ */
32083
+ influxDBCreateUser(requestParameters: SharedApiInfluxDBCreateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBUser>;
32084
+
32085
+ /**
32086
+ *
32087
+ * @summary InfluxDB DeleteToken
32088
+ * @param {SharedApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
32089
+ * @param {*} [options] Override http request option.
32090
+ * @throws {RequiredError}
32091
+ * @memberof SharedApiInterface
32092
+ */
32093
+ influxDBDeleteToken(requestParameters: SharedApiInfluxDBDeleteTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
32094
+
32095
+ /**
32096
+ *
32097
+ * @summary InfluxDB DeleteUser
32098
+ * @param {SharedApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
32099
+ * @param {*} [options] Override http request option.
32100
+ * @throws {RequiredError}
32101
+ * @memberof SharedApiInterface
32102
+ */
32103
+ influxDBDeleteUser(requestParameters: SharedApiInfluxDBDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
32104
+
32105
+ /**
32106
+ *
32107
+ * @summary InfluxDB ListBuckets
32108
+ * @param {SharedApiInfluxDBListBucketsRequest} requestParameters Request parameters.
32109
+ * @param {*} [options] Override http request option.
32110
+ * @throws {RequiredError}
32111
+ * @memberof SharedApiInterface
32112
+ */
32113
+ influxDBListBuckets(requestParameters: SharedApiInfluxDBListBucketsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBBucket>>;
32114
+
32115
+ /**
32116
+ *
32117
+ * @summary InfluxDB ListOrganizations
32118
+ * @param {SharedApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
32119
+ * @param {*} [options] Override http request option.
32120
+ * @throws {RequiredError}
32121
+ * @memberof SharedApiInterface
32122
+ */
32123
+ influxDBListOrganizations(requestParameters: SharedApiInfluxDBListOrganizationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBOrganization>>;
32124
+
32125
+ /**
32126
+ *
32127
+ * @summary InfluxDB ListTokens
32128
+ * @param {SharedApiInfluxDBListTokensRequest} requestParameters Request parameters.
32129
+ * @param {*} [options] Override http request option.
32130
+ * @throws {RequiredError}
32131
+ * @memberof SharedApiInterface
32132
+ */
32133
+ influxDBListTokens(requestParameters: SharedApiInfluxDBListTokensRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBToken>>;
32134
+
32135
+ /**
32136
+ *
32137
+ * @summary InfluxDB ListUsers
32138
+ * @param {SharedApiInfluxDBListUsersRequest} requestParameters Request parameters.
32139
+ * @param {*} [options] Override http request option.
32140
+ * @throws {RequiredError}
32141
+ * @memberof SharedApiInterface
32142
+ */
32143
+ influxDBListUsers(requestParameters: SharedApiInfluxDBListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBUser>>;
32144
+
32145
+ /**
32146
+ *
32147
+ * @summary InfluxDB UpdateToken
32148
+ * @param {SharedApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
32149
+ * @param {*} [options] Override http request option.
32150
+ * @throws {RequiredError}
32151
+ * @memberof SharedApiInterface
32152
+ */
32153
+ influxDBUpdateToken(requestParameters: SharedApiInfluxDBUpdateTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
32154
+
31271
32155
  /**
31272
32156
  * kill a session in cluster
31273
32157
  * @summary Kill cluster session
@@ -38846,6 +39730,307 @@ export interface SharedApiImportPreflightRequest {
38846
39730
  readonly importPreflightRequest: ImportPreflightRequest
38847
39731
  }
38848
39732
 
39733
+ /**
39734
+ * Request parameters for influxDBChangePassword operation in SharedApi.
39735
+ * @export
39736
+ * @interface SharedApiInfluxDBChangePasswordRequest
39737
+ */
39738
+ export interface SharedApiInfluxDBChangePasswordRequest {
39739
+ /**
39740
+ *
39741
+ * @type {string}
39742
+ * @memberof SharedApiInfluxDBChangePassword
39743
+ */
39744
+ readonly orgName: string
39745
+
39746
+ /**
39747
+ *
39748
+ * @type {string}
39749
+ * @memberof SharedApiInfluxDBChangePassword
39750
+ */
39751
+ readonly clusterName: string
39752
+
39753
+ /**
39754
+ *
39755
+ * @type {string}
39756
+ * @memberof SharedApiInfluxDBChangePassword
39757
+ */
39758
+ readonly userID: string
39759
+
39760
+ /**
39761
+ *
39762
+ * @type {InfluxDBPasswordChange}
39763
+ * @memberof SharedApiInfluxDBChangePassword
39764
+ */
39765
+ readonly influxDBPasswordChange: InfluxDBPasswordChange
39766
+ }
39767
+
39768
+ /**
39769
+ * Request parameters for influxDBCreateToken operation in SharedApi.
39770
+ * @export
39771
+ * @interface SharedApiInfluxDBCreateTokenRequest
39772
+ */
39773
+ export interface SharedApiInfluxDBCreateTokenRequest {
39774
+ /**
39775
+ *
39776
+ * @type {string}
39777
+ * @memberof SharedApiInfluxDBCreateToken
39778
+ */
39779
+ readonly orgName: string
39780
+
39781
+ /**
39782
+ *
39783
+ * @type {string}
39784
+ * @memberof SharedApiInfluxDBCreateToken
39785
+ */
39786
+ readonly clusterName: string
39787
+
39788
+ /**
39789
+ *
39790
+ * @type {string}
39791
+ * @memberof SharedApiInfluxDBCreateToken
39792
+ */
39793
+ readonly userID: string
39794
+
39795
+ /**
39796
+ *
39797
+ * @type {InfluxDBTokenCreate}
39798
+ * @memberof SharedApiInfluxDBCreateToken
39799
+ */
39800
+ readonly influxDBTokenCreate: InfluxDBTokenCreate
39801
+ }
39802
+
39803
+ /**
39804
+ * Request parameters for influxDBCreateUser operation in SharedApi.
39805
+ * @export
39806
+ * @interface SharedApiInfluxDBCreateUserRequest
39807
+ */
39808
+ export interface SharedApiInfluxDBCreateUserRequest {
39809
+ /**
39810
+ *
39811
+ * @type {string}
39812
+ * @memberof SharedApiInfluxDBCreateUser
39813
+ */
39814
+ readonly orgName: string
39815
+
39816
+ /**
39817
+ *
39818
+ * @type {string}
39819
+ * @memberof SharedApiInfluxDBCreateUser
39820
+ */
39821
+ readonly clusterName: string
39822
+
39823
+ /**
39824
+ *
39825
+ * @type {InfluxDBUserCreate}
39826
+ * @memberof SharedApiInfluxDBCreateUser
39827
+ */
39828
+ readonly influxDBUserCreate: InfluxDBUserCreate
39829
+ }
39830
+
39831
+ /**
39832
+ * Request parameters for influxDBDeleteToken operation in SharedApi.
39833
+ * @export
39834
+ * @interface SharedApiInfluxDBDeleteTokenRequest
39835
+ */
39836
+ export interface SharedApiInfluxDBDeleteTokenRequest {
39837
+ /**
39838
+ *
39839
+ * @type {string}
39840
+ * @memberof SharedApiInfluxDBDeleteToken
39841
+ */
39842
+ readonly orgName: string
39843
+
39844
+ /**
39845
+ *
39846
+ * @type {string}
39847
+ * @memberof SharedApiInfluxDBDeleteToken
39848
+ */
39849
+ readonly clusterName: string
39850
+
39851
+ /**
39852
+ *
39853
+ * @type {string}
39854
+ * @memberof SharedApiInfluxDBDeleteToken
39855
+ */
39856
+ readonly userID: string
39857
+
39858
+ /**
39859
+ *
39860
+ * @type {string}
39861
+ * @memberof SharedApiInfluxDBDeleteToken
39862
+ */
39863
+ readonly tokenID: string
39864
+ }
39865
+
39866
+ /**
39867
+ * Request parameters for influxDBDeleteUser operation in SharedApi.
39868
+ * @export
39869
+ * @interface SharedApiInfluxDBDeleteUserRequest
39870
+ */
39871
+ export interface SharedApiInfluxDBDeleteUserRequest {
39872
+ /**
39873
+ *
39874
+ * @type {string}
39875
+ * @memberof SharedApiInfluxDBDeleteUser
39876
+ */
39877
+ readonly orgName: string
39878
+
39879
+ /**
39880
+ *
39881
+ * @type {string}
39882
+ * @memberof SharedApiInfluxDBDeleteUser
39883
+ */
39884
+ readonly clusterName: string
39885
+
39886
+ /**
39887
+ *
39888
+ * @type {string}
39889
+ * @memberof SharedApiInfluxDBDeleteUser
39890
+ */
39891
+ readonly userID: string
39892
+ }
39893
+
39894
+ /**
39895
+ * Request parameters for influxDBListBuckets operation in SharedApi.
39896
+ * @export
39897
+ * @interface SharedApiInfluxDBListBucketsRequest
39898
+ */
39899
+ export interface SharedApiInfluxDBListBucketsRequest {
39900
+ /**
39901
+ *
39902
+ * @type {string}
39903
+ * @memberof SharedApiInfluxDBListBuckets
39904
+ */
39905
+ readonly orgName: string
39906
+
39907
+ /**
39908
+ *
39909
+ * @type {string}
39910
+ * @memberof SharedApiInfluxDBListBuckets
39911
+ */
39912
+ readonly clusterName: string
39913
+
39914
+ /**
39915
+ *
39916
+ * @type {string}
39917
+ * @memberof SharedApiInfluxDBListBuckets
39918
+ */
39919
+ readonly influxOrgID: string
39920
+ }
39921
+
39922
+ /**
39923
+ * Request parameters for influxDBListOrganizations operation in SharedApi.
39924
+ * @export
39925
+ * @interface SharedApiInfluxDBListOrganizationsRequest
39926
+ */
39927
+ export interface SharedApiInfluxDBListOrganizationsRequest {
39928
+ /**
39929
+ *
39930
+ * @type {string}
39931
+ * @memberof SharedApiInfluxDBListOrganizations
39932
+ */
39933
+ readonly orgName: string
39934
+
39935
+ /**
39936
+ *
39937
+ * @type {string}
39938
+ * @memberof SharedApiInfluxDBListOrganizations
39939
+ */
39940
+ readonly clusterName: string
39941
+ }
39942
+
39943
+ /**
39944
+ * Request parameters for influxDBListTokens operation in SharedApi.
39945
+ * @export
39946
+ * @interface SharedApiInfluxDBListTokensRequest
39947
+ */
39948
+ export interface SharedApiInfluxDBListTokensRequest {
39949
+ /**
39950
+ *
39951
+ * @type {string}
39952
+ * @memberof SharedApiInfluxDBListTokens
39953
+ */
39954
+ readonly orgName: string
39955
+
39956
+ /**
39957
+ *
39958
+ * @type {string}
39959
+ * @memberof SharedApiInfluxDBListTokens
39960
+ */
39961
+ readonly clusterName: string
39962
+
39963
+ /**
39964
+ *
39965
+ * @type {string}
39966
+ * @memberof SharedApiInfluxDBListTokens
39967
+ */
39968
+ readonly userID: string
39969
+ }
39970
+
39971
+ /**
39972
+ * Request parameters for influxDBListUsers operation in SharedApi.
39973
+ * @export
39974
+ * @interface SharedApiInfluxDBListUsersRequest
39975
+ */
39976
+ export interface SharedApiInfluxDBListUsersRequest {
39977
+ /**
39978
+ *
39979
+ * @type {string}
39980
+ * @memberof SharedApiInfluxDBListUsers
39981
+ */
39982
+ readonly orgName: string
39983
+
39984
+ /**
39985
+ *
39986
+ * @type {string}
39987
+ * @memberof SharedApiInfluxDBListUsers
39988
+ */
39989
+ readonly clusterName: string
39990
+ }
39991
+
39992
+ /**
39993
+ * Request parameters for influxDBUpdateToken operation in SharedApi.
39994
+ * @export
39995
+ * @interface SharedApiInfluxDBUpdateTokenRequest
39996
+ */
39997
+ export interface SharedApiInfluxDBUpdateTokenRequest {
39998
+ /**
39999
+ *
40000
+ * @type {string}
40001
+ * @memberof SharedApiInfluxDBUpdateToken
40002
+ */
40003
+ readonly orgName: string
40004
+
40005
+ /**
40006
+ *
40007
+ * @type {string}
40008
+ * @memberof SharedApiInfluxDBUpdateToken
40009
+ */
40010
+ readonly clusterName: string
40011
+
40012
+ /**
40013
+ *
40014
+ * @type {string}
40015
+ * @memberof SharedApiInfluxDBUpdateToken
40016
+ */
40017
+ readonly userID: string
40018
+
40019
+ /**
40020
+ *
40021
+ * @type {string}
40022
+ * @memberof SharedApiInfluxDBUpdateToken
40023
+ */
40024
+ readonly tokenID: string
40025
+
40026
+ /**
40027
+ *
40028
+ * @type {InfluxDBTokenUpdate}
40029
+ * @memberof SharedApiInfluxDBUpdateToken
40030
+ */
40031
+ readonly influxDBTokenUpdate: InfluxDBTokenUpdate
40032
+ }
40033
+
38849
40034
  /**
38850
40035
  * Request parameters for killSession operation in SharedApi.
38851
40036
  * @export
@@ -47475,6 +48660,126 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
47475
48660
  return SharedApiFp(this.configuration).importPreflight(requestParameters.orgName, requestParameters.clusterName, requestParameters.importPreflightRequest, options).then((request) => request(this.axios, this.basePath));
47476
48661
  }
47477
48662
 
48663
+ /**
48664
+ *
48665
+ * @summary InfluxDB ChangePassword
48666
+ * @param {SharedApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
48667
+ * @param {*} [options] Override http request option.
48668
+ * @throws {RequiredError}
48669
+ * @memberof SharedApi
48670
+ */
48671
+ public influxDBChangePassword(requestParameters: SharedApiInfluxDBChangePasswordRequest, options?: RawAxiosRequestConfig) {
48672
+ return SharedApiFp(this.configuration).influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(this.axios, this.basePath));
48673
+ }
48674
+
48675
+ /**
48676
+ *
48677
+ * @summary InfluxDB CreateToken
48678
+ * @param {SharedApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
48679
+ * @param {*} [options] Override http request option.
48680
+ * @throws {RequiredError}
48681
+ * @memberof SharedApi
48682
+ */
48683
+ public influxDBCreateToken(requestParameters: SharedApiInfluxDBCreateTokenRequest, options?: RawAxiosRequestConfig) {
48684
+ return SharedApiFp(this.configuration).influxDBCreateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBTokenCreate, options).then((request) => request(this.axios, this.basePath));
48685
+ }
48686
+
48687
+ /**
48688
+ *
48689
+ * @summary InfluxDB CreateUser
48690
+ * @param {SharedApiInfluxDBCreateUserRequest} requestParameters Request parameters.
48691
+ * @param {*} [options] Override http request option.
48692
+ * @throws {RequiredError}
48693
+ * @memberof SharedApi
48694
+ */
48695
+ public influxDBCreateUser(requestParameters: SharedApiInfluxDBCreateUserRequest, options?: RawAxiosRequestConfig) {
48696
+ return SharedApiFp(this.configuration).influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(this.axios, this.basePath));
48697
+ }
48698
+
48699
+ /**
48700
+ *
48701
+ * @summary InfluxDB DeleteToken
48702
+ * @param {SharedApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
48703
+ * @param {*} [options] Override http request option.
48704
+ * @throws {RequiredError}
48705
+ * @memberof SharedApi
48706
+ */
48707
+ public influxDBDeleteToken(requestParameters: SharedApiInfluxDBDeleteTokenRequest, options?: RawAxiosRequestConfig) {
48708
+ return SharedApiFp(this.configuration).influxDBDeleteToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, options).then((request) => request(this.axios, this.basePath));
48709
+ }
48710
+
48711
+ /**
48712
+ *
48713
+ * @summary InfluxDB DeleteUser
48714
+ * @param {SharedApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
48715
+ * @param {*} [options] Override http request option.
48716
+ * @throws {RequiredError}
48717
+ * @memberof SharedApi
48718
+ */
48719
+ public influxDBDeleteUser(requestParameters: SharedApiInfluxDBDeleteUserRequest, options?: RawAxiosRequestConfig) {
48720
+ return SharedApiFp(this.configuration).influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
48721
+ }
48722
+
48723
+ /**
48724
+ *
48725
+ * @summary InfluxDB ListBuckets
48726
+ * @param {SharedApiInfluxDBListBucketsRequest} requestParameters Request parameters.
48727
+ * @param {*} [options] Override http request option.
48728
+ * @throws {RequiredError}
48729
+ * @memberof SharedApi
48730
+ */
48731
+ public influxDBListBuckets(requestParameters: SharedApiInfluxDBListBucketsRequest, options?: RawAxiosRequestConfig) {
48732
+ return SharedApiFp(this.configuration).influxDBListBuckets(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxOrgID, options).then((request) => request(this.axios, this.basePath));
48733
+ }
48734
+
48735
+ /**
48736
+ *
48737
+ * @summary InfluxDB ListOrganizations
48738
+ * @param {SharedApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
48739
+ * @param {*} [options] Override http request option.
48740
+ * @throws {RequiredError}
48741
+ * @memberof SharedApi
48742
+ */
48743
+ public influxDBListOrganizations(requestParameters: SharedApiInfluxDBListOrganizationsRequest, options?: RawAxiosRequestConfig) {
48744
+ return SharedApiFp(this.configuration).influxDBListOrganizations(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
48745
+ }
48746
+
48747
+ /**
48748
+ *
48749
+ * @summary InfluxDB ListTokens
48750
+ * @param {SharedApiInfluxDBListTokensRequest} requestParameters Request parameters.
48751
+ * @param {*} [options] Override http request option.
48752
+ * @throws {RequiredError}
48753
+ * @memberof SharedApi
48754
+ */
48755
+ public influxDBListTokens(requestParameters: SharedApiInfluxDBListTokensRequest, options?: RawAxiosRequestConfig) {
48756
+ return SharedApiFp(this.configuration).influxDBListTokens(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
48757
+ }
48758
+
48759
+ /**
48760
+ *
48761
+ * @summary InfluxDB ListUsers
48762
+ * @param {SharedApiInfluxDBListUsersRequest} requestParameters Request parameters.
48763
+ * @param {*} [options] Override http request option.
48764
+ * @throws {RequiredError}
48765
+ * @memberof SharedApi
48766
+ */
48767
+ public influxDBListUsers(requestParameters: SharedApiInfluxDBListUsersRequest, options?: RawAxiosRequestConfig) {
48768
+ return SharedApiFp(this.configuration).influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
48769
+ }
48770
+
48771
+ /**
48772
+ *
48773
+ * @summary InfluxDB UpdateToken
48774
+ * @param {SharedApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
48775
+ * @param {*} [options] Override http request option.
48776
+ * @throws {RequiredError}
48777
+ * @memberof SharedApi
48778
+ */
48779
+ public influxDBUpdateToken(requestParameters: SharedApiInfluxDBUpdateTokenRequest, options?: RawAxiosRequestConfig) {
48780
+ return SharedApiFp(this.configuration).influxDBUpdateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, requestParameters.influxDBTokenUpdate, options).then((request) => request(this.axios, this.basePath));
48781
+ }
48782
+
47478
48783
  /**
47479
48784
  * kill a session in cluster
47480
48785
  * @summary Kill cluster session