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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -8085,6 +8085,444 @@ const SharedApiAxiosParamCreator = function (configuration) {
8085
8085
  options: localVarRequestOptions,
8086
8086
  };
8087
8087
  },
8088
+ /**
8089
+ *
8090
+ * @summary InfluxDB ChangePassword
8091
+ * @param {string} orgName
8092
+ * @param {string} clusterName
8093
+ * @param {string} userID
8094
+ * @param {InfluxDBPasswordChange} influxDBPasswordChange
8095
+ * @param {*} [options] Override http request option.
8096
+ * @throws {RequiredError}
8097
+ */
8098
+ influxDBChangePassword: async (orgName, clusterName, userID, influxDBPasswordChange, options = {}) => {
8099
+ // verify required parameter 'orgName' is not null or undefined
8100
+ (0, common_1.assertParamExists)('influxDBChangePassword', 'orgName', orgName);
8101
+ // verify required parameter 'clusterName' is not null or undefined
8102
+ (0, common_1.assertParamExists)('influxDBChangePassword', 'clusterName', clusterName);
8103
+ // verify required parameter 'userID' is not null or undefined
8104
+ (0, common_1.assertParamExists)('influxDBChangePassword', 'userID', userID);
8105
+ // verify required parameter 'influxDBPasswordChange' is not null or undefined
8106
+ (0, common_1.assertParamExists)('influxDBChangePassword', 'influxDBPasswordChange', influxDBPasswordChange);
8107
+ const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/password`
8108
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8109
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
8110
+ .replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
8111
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8112
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8113
+ let baseOptions;
8114
+ if (configuration) {
8115
+ baseOptions = configuration.baseOptions;
8116
+ }
8117
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
8118
+ const localVarHeaderParameter = {};
8119
+ const localVarQueryParameter = {};
8120
+ // authentication BearerToken required
8121
+ // http bearer authentication required
8122
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8123
+ // authentication DigestAuth required
8124
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8125
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8126
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8127
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8128
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8129
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBPasswordChange, localVarRequestOptions, configuration);
8130
+ return {
8131
+ url: (0, common_1.toPathString)(localVarUrlObj),
8132
+ options: localVarRequestOptions,
8133
+ };
8134
+ },
8135
+ /**
8136
+ *
8137
+ * @summary InfluxDB CreateToken
8138
+ * @param {string} orgName
8139
+ * @param {string} clusterName
8140
+ * @param {string} userID
8141
+ * @param {InfluxDBTokenCreate} influxDBTokenCreate
8142
+ * @param {*} [options] Override http request option.
8143
+ * @throws {RequiredError}
8144
+ */
8145
+ influxDBCreateToken: async (orgName, clusterName, userID, influxDBTokenCreate, options = {}) => {
8146
+ // verify required parameter 'orgName' is not null or undefined
8147
+ (0, common_1.assertParamExists)('influxDBCreateToken', 'orgName', orgName);
8148
+ // verify required parameter 'clusterName' is not null or undefined
8149
+ (0, common_1.assertParamExists)('influxDBCreateToken', 'clusterName', clusterName);
8150
+ // verify required parameter 'userID' is not null or undefined
8151
+ (0, common_1.assertParamExists)('influxDBCreateToken', 'userID', userID);
8152
+ // verify required parameter 'influxDBTokenCreate' is not null or undefined
8153
+ (0, common_1.assertParamExists)('influxDBCreateToken', 'influxDBTokenCreate', influxDBTokenCreate);
8154
+ const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens`
8155
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8156
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
8157
+ .replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
8158
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8159
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8160
+ let baseOptions;
8161
+ if (configuration) {
8162
+ baseOptions = configuration.baseOptions;
8163
+ }
8164
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
8165
+ const localVarHeaderParameter = {};
8166
+ const localVarQueryParameter = {};
8167
+ // authentication BearerToken required
8168
+ // http bearer authentication required
8169
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8170
+ // authentication DigestAuth required
8171
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8172
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8173
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8174
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8175
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8176
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBTokenCreate, localVarRequestOptions, configuration);
8177
+ return {
8178
+ url: (0, common_1.toPathString)(localVarUrlObj),
8179
+ options: localVarRequestOptions,
8180
+ };
8181
+ },
8182
+ /**
8183
+ *
8184
+ * @summary InfluxDB CreateUser
8185
+ * @param {string} orgName
8186
+ * @param {string} clusterName
8187
+ * @param {InfluxDBUserCreate} influxDBUserCreate
8188
+ * @param {*} [options] Override http request option.
8189
+ * @throws {RequiredError}
8190
+ */
8191
+ influxDBCreateUser: async (orgName, clusterName, influxDBUserCreate, options = {}) => {
8192
+ // verify required parameter 'orgName' is not null or undefined
8193
+ (0, common_1.assertParamExists)('influxDBCreateUser', 'orgName', orgName);
8194
+ // verify required parameter 'clusterName' is not null or undefined
8195
+ (0, common_1.assertParamExists)('influxDBCreateUser', 'clusterName', clusterName);
8196
+ // verify required parameter 'influxDBUserCreate' is not null or undefined
8197
+ (0, common_1.assertParamExists)('influxDBCreateUser', 'influxDBUserCreate', influxDBUserCreate);
8198
+ const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts`
8199
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8200
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
8201
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8202
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8203
+ let baseOptions;
8204
+ if (configuration) {
8205
+ baseOptions = configuration.baseOptions;
8206
+ }
8207
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
8208
+ const localVarHeaderParameter = {};
8209
+ const localVarQueryParameter = {};
8210
+ // authentication BearerToken required
8211
+ // http bearer authentication required
8212
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8213
+ // authentication DigestAuth required
8214
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8215
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8216
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8217
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8218
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8219
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBUserCreate, localVarRequestOptions, configuration);
8220
+ return {
8221
+ url: (0, common_1.toPathString)(localVarUrlObj),
8222
+ options: localVarRequestOptions,
8223
+ };
8224
+ },
8225
+ /**
8226
+ *
8227
+ * @summary InfluxDB DeleteToken
8228
+ * @param {string} orgName
8229
+ * @param {string} clusterName
8230
+ * @param {string} userID
8231
+ * @param {string} tokenID
8232
+ * @param {*} [options] Override http request option.
8233
+ * @throws {RequiredError}
8234
+ */
8235
+ influxDBDeleteToken: async (orgName, clusterName, userID, tokenID, options = {}) => {
8236
+ // verify required parameter 'orgName' is not null or undefined
8237
+ (0, common_1.assertParamExists)('influxDBDeleteToken', 'orgName', orgName);
8238
+ // verify required parameter 'clusterName' is not null or undefined
8239
+ (0, common_1.assertParamExists)('influxDBDeleteToken', 'clusterName', clusterName);
8240
+ // verify required parameter 'userID' is not null or undefined
8241
+ (0, common_1.assertParamExists)('influxDBDeleteToken', 'userID', userID);
8242
+ // verify required parameter 'tokenID' is not null or undefined
8243
+ (0, common_1.assertParamExists)('influxDBDeleteToken', 'tokenID', tokenID);
8244
+ const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens/{tokenID}`
8245
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8246
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
8247
+ .replace(`{${"userID"}}`, encodeURIComponent(String(userID)))
8248
+ .replace(`{${"tokenID"}}`, encodeURIComponent(String(tokenID)));
8249
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8250
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8251
+ let baseOptions;
8252
+ if (configuration) {
8253
+ baseOptions = configuration.baseOptions;
8254
+ }
8255
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
8256
+ const localVarHeaderParameter = {};
8257
+ const localVarQueryParameter = {};
8258
+ // authentication BearerToken required
8259
+ // http bearer authentication required
8260
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8261
+ // authentication DigestAuth required
8262
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8263
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8264
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8265
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8266
+ return {
8267
+ url: (0, common_1.toPathString)(localVarUrlObj),
8268
+ options: localVarRequestOptions,
8269
+ };
8270
+ },
8271
+ /**
8272
+ *
8273
+ * @summary InfluxDB DeleteUser
8274
+ * @param {string} orgName
8275
+ * @param {string} clusterName
8276
+ * @param {string} userID
8277
+ * @param {*} [options] Override http request option.
8278
+ * @throws {RequiredError}
8279
+ */
8280
+ influxDBDeleteUser: async (orgName, clusterName, userID, options = {}) => {
8281
+ // verify required parameter 'orgName' is not null or undefined
8282
+ (0, common_1.assertParamExists)('influxDBDeleteUser', 'orgName', orgName);
8283
+ // verify required parameter 'clusterName' is not null or undefined
8284
+ (0, common_1.assertParamExists)('influxDBDeleteUser', 'clusterName', clusterName);
8285
+ // verify required parameter 'userID' is not null or undefined
8286
+ (0, common_1.assertParamExists)('influxDBDeleteUser', 'userID', userID);
8287
+ const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}`
8288
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8289
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
8290
+ .replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
8291
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8292
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8293
+ let baseOptions;
8294
+ if (configuration) {
8295
+ baseOptions = configuration.baseOptions;
8296
+ }
8297
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
8298
+ const localVarHeaderParameter = {};
8299
+ const localVarQueryParameter = {};
8300
+ // authentication BearerToken required
8301
+ // http bearer authentication required
8302
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8303
+ // authentication DigestAuth required
8304
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8305
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8306
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8307
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8308
+ return {
8309
+ url: (0, common_1.toPathString)(localVarUrlObj),
8310
+ options: localVarRequestOptions,
8311
+ };
8312
+ },
8313
+ /**
8314
+ *
8315
+ * @summary InfluxDB ListBuckets
8316
+ * @param {string} orgName
8317
+ * @param {string} clusterName
8318
+ * @param {string} influxOrgID
8319
+ * @param {*} [options] Override http request option.
8320
+ * @throws {RequiredError}
8321
+ */
8322
+ influxDBListBuckets: async (orgName, clusterName, influxOrgID, options = {}) => {
8323
+ // verify required parameter 'orgName' is not null or undefined
8324
+ (0, common_1.assertParamExists)('influxDBListBuckets', 'orgName', orgName);
8325
+ // verify required parameter 'clusterName' is not null or undefined
8326
+ (0, common_1.assertParamExists)('influxDBListBuckets', 'clusterName', clusterName);
8327
+ // verify required parameter 'influxOrgID' is not null or undefined
8328
+ (0, common_1.assertParamExists)('influxDBListBuckets', 'influxOrgID', influxOrgID);
8329
+ const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets`
8330
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8331
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
8332
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8333
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8334
+ let baseOptions;
8335
+ if (configuration) {
8336
+ baseOptions = configuration.baseOptions;
8337
+ }
8338
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
8339
+ const localVarHeaderParameter = {};
8340
+ const localVarQueryParameter = {};
8341
+ // authentication BearerToken required
8342
+ // http bearer authentication required
8343
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8344
+ // authentication DigestAuth required
8345
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8346
+ if (influxOrgID !== undefined) {
8347
+ localVarQueryParameter['influxOrgID'] = influxOrgID;
8348
+ }
8349
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8350
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8351
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8352
+ return {
8353
+ url: (0, common_1.toPathString)(localVarUrlObj),
8354
+ options: localVarRequestOptions,
8355
+ };
8356
+ },
8357
+ /**
8358
+ *
8359
+ * @summary InfluxDB ListOrganizations
8360
+ * @param {string} orgName
8361
+ * @param {string} clusterName
8362
+ * @param {*} [options] Override http request option.
8363
+ * @throws {RequiredError}
8364
+ */
8365
+ influxDBListOrganizations: async (orgName, clusterName, options = {}) => {
8366
+ // verify required parameter 'orgName' is not null or undefined
8367
+ (0, common_1.assertParamExists)('influxDBListOrganizations', 'orgName', orgName);
8368
+ // verify required parameter 'clusterName' is not null or undefined
8369
+ (0, common_1.assertParamExists)('influxDBListOrganizations', 'clusterName', clusterName);
8370
+ const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/organizations`
8371
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8372
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
8373
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8374
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8375
+ let baseOptions;
8376
+ if (configuration) {
8377
+ baseOptions = configuration.baseOptions;
8378
+ }
8379
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
8380
+ const localVarHeaderParameter = {};
8381
+ const localVarQueryParameter = {};
8382
+ // authentication BearerToken required
8383
+ // http bearer authentication required
8384
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8385
+ // authentication DigestAuth required
8386
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8387
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8388
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8389
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8390
+ return {
8391
+ url: (0, common_1.toPathString)(localVarUrlObj),
8392
+ options: localVarRequestOptions,
8393
+ };
8394
+ },
8395
+ /**
8396
+ *
8397
+ * @summary InfluxDB ListTokens
8398
+ * @param {string} orgName
8399
+ * @param {string} clusterName
8400
+ * @param {string} userID
8401
+ * @param {*} [options] Override http request option.
8402
+ * @throws {RequiredError}
8403
+ */
8404
+ influxDBListTokens: async (orgName, clusterName, userID, options = {}) => {
8405
+ // verify required parameter 'orgName' is not null or undefined
8406
+ (0, common_1.assertParamExists)('influxDBListTokens', 'orgName', orgName);
8407
+ // verify required parameter 'clusterName' is not null or undefined
8408
+ (0, common_1.assertParamExists)('influxDBListTokens', 'clusterName', clusterName);
8409
+ // verify required parameter 'userID' is not null or undefined
8410
+ (0, common_1.assertParamExists)('influxDBListTokens', 'userID', userID);
8411
+ const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens`
8412
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8413
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
8414
+ .replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
8415
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8416
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8417
+ let baseOptions;
8418
+ if (configuration) {
8419
+ baseOptions = configuration.baseOptions;
8420
+ }
8421
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
8422
+ const localVarHeaderParameter = {};
8423
+ const localVarQueryParameter = {};
8424
+ // authentication BearerToken required
8425
+ // http bearer authentication required
8426
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8427
+ // authentication DigestAuth required
8428
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8429
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8430
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8431
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8432
+ return {
8433
+ url: (0, common_1.toPathString)(localVarUrlObj),
8434
+ options: localVarRequestOptions,
8435
+ };
8436
+ },
8437
+ /**
8438
+ *
8439
+ * @summary InfluxDB ListUsers
8440
+ * @param {string} orgName
8441
+ * @param {string} clusterName
8442
+ * @param {*} [options] Override http request option.
8443
+ * @throws {RequiredError}
8444
+ */
8445
+ influxDBListUsers: async (orgName, clusterName, options = {}) => {
8446
+ // verify required parameter 'orgName' is not null or undefined
8447
+ (0, common_1.assertParamExists)('influxDBListUsers', 'orgName', orgName);
8448
+ // verify required parameter 'clusterName' is not null or undefined
8449
+ (0, common_1.assertParamExists)('influxDBListUsers', 'clusterName', clusterName);
8450
+ const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts`
8451
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8452
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
8453
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8454
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8455
+ let baseOptions;
8456
+ if (configuration) {
8457
+ baseOptions = configuration.baseOptions;
8458
+ }
8459
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
8460
+ const localVarHeaderParameter = {};
8461
+ const localVarQueryParameter = {};
8462
+ // authentication BearerToken required
8463
+ // http bearer authentication required
8464
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8465
+ // authentication DigestAuth required
8466
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8467
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8468
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8469
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8470
+ return {
8471
+ url: (0, common_1.toPathString)(localVarUrlObj),
8472
+ options: localVarRequestOptions,
8473
+ };
8474
+ },
8475
+ /**
8476
+ *
8477
+ * @summary InfluxDB UpdateToken
8478
+ * @param {string} orgName
8479
+ * @param {string} clusterName
8480
+ * @param {string} userID
8481
+ * @param {string} tokenID
8482
+ * @param {InfluxDBTokenUpdate} influxDBTokenUpdate
8483
+ * @param {*} [options] Override http request option.
8484
+ * @throws {RequiredError}
8485
+ */
8486
+ influxDBUpdateToken: async (orgName, clusterName, userID, tokenID, influxDBTokenUpdate, options = {}) => {
8487
+ // verify required parameter 'orgName' is not null or undefined
8488
+ (0, common_1.assertParamExists)('influxDBUpdateToken', 'orgName', orgName);
8489
+ // verify required parameter 'clusterName' is not null or undefined
8490
+ (0, common_1.assertParamExists)('influxDBUpdateToken', 'clusterName', clusterName);
8491
+ // verify required parameter 'userID' is not null or undefined
8492
+ (0, common_1.assertParamExists)('influxDBUpdateToken', 'userID', userID);
8493
+ // verify required parameter 'tokenID' is not null or undefined
8494
+ (0, common_1.assertParamExists)('influxDBUpdateToken', 'tokenID', tokenID);
8495
+ // verify required parameter 'influxDBTokenUpdate' is not null or undefined
8496
+ (0, common_1.assertParamExists)('influxDBUpdateToken', 'influxDBTokenUpdate', influxDBTokenUpdate);
8497
+ const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens/{tokenID}`
8498
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8499
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
8500
+ .replace(`{${"userID"}}`, encodeURIComponent(String(userID)))
8501
+ .replace(`{${"tokenID"}}`, encodeURIComponent(String(tokenID)));
8502
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8503
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8504
+ let baseOptions;
8505
+ if (configuration) {
8506
+ baseOptions = configuration.baseOptions;
8507
+ }
8508
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
8509
+ const localVarHeaderParameter = {};
8510
+ const localVarQueryParameter = {};
8511
+ // authentication BearerToken required
8512
+ // http bearer authentication required
8513
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8514
+ // authentication DigestAuth required
8515
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8516
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8517
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8518
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8519
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8520
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBTokenUpdate, localVarRequestOptions, configuration);
8521
+ return {
8522
+ url: (0, common_1.toPathString)(localVarUrlObj),
8523
+ options: localVarRequestOptions,
8524
+ };
8525
+ },
8088
8526
  /**
8089
8527
  * kill a session in cluster
8090
8528
  * @summary Kill cluster session
@@ -19703,6 +20141,169 @@ const SharedApiFp = function (configuration) {
19703
20141
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.importPreflight']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19704
20142
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19705
20143
  },
20144
+ /**
20145
+ *
20146
+ * @summary InfluxDB ChangePassword
20147
+ * @param {string} orgName
20148
+ * @param {string} clusterName
20149
+ * @param {string} userID
20150
+ * @param {InfluxDBPasswordChange} influxDBPasswordChange
20151
+ * @param {*} [options] Override http request option.
20152
+ * @throws {RequiredError}
20153
+ */
20154
+ async influxDBChangePassword(orgName, clusterName, userID, influxDBPasswordChange, options) {
20155
+ var _a, _b, _c;
20156
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBChangePassword(orgName, clusterName, userID, influxDBPasswordChange, options);
20157
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20158
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBChangePassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20159
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20160
+ },
20161
+ /**
20162
+ *
20163
+ * @summary InfluxDB CreateToken
20164
+ * @param {string} orgName
20165
+ * @param {string} clusterName
20166
+ * @param {string} userID
20167
+ * @param {InfluxDBTokenCreate} influxDBTokenCreate
20168
+ * @param {*} [options] Override http request option.
20169
+ * @throws {RequiredError}
20170
+ */
20171
+ async influxDBCreateToken(orgName, clusterName, userID, influxDBTokenCreate, options) {
20172
+ var _a, _b, _c;
20173
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateToken(orgName, clusterName, userID, influxDBTokenCreate, options);
20174
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20175
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBCreateToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20176
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20177
+ },
20178
+ /**
20179
+ *
20180
+ * @summary InfluxDB CreateUser
20181
+ * @param {string} orgName
20182
+ * @param {string} clusterName
20183
+ * @param {InfluxDBUserCreate} influxDBUserCreate
20184
+ * @param {*} [options] Override http request option.
20185
+ * @throws {RequiredError}
20186
+ */
20187
+ async influxDBCreateUser(orgName, clusterName, influxDBUserCreate, options) {
20188
+ var _a, _b, _c;
20189
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateUser(orgName, clusterName, influxDBUserCreate, options);
20190
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20191
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBCreateUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20192
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20193
+ },
20194
+ /**
20195
+ *
20196
+ * @summary InfluxDB DeleteToken
20197
+ * @param {string} orgName
20198
+ * @param {string} clusterName
20199
+ * @param {string} userID
20200
+ * @param {string} tokenID
20201
+ * @param {*} [options] Override http request option.
20202
+ * @throws {RequiredError}
20203
+ */
20204
+ async influxDBDeleteToken(orgName, clusterName, userID, tokenID, options) {
20205
+ var _a, _b, _c;
20206
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteToken(orgName, clusterName, userID, tokenID, options);
20207
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20208
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBDeleteToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20209
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20210
+ },
20211
+ /**
20212
+ *
20213
+ * @summary InfluxDB DeleteUser
20214
+ * @param {string} orgName
20215
+ * @param {string} clusterName
20216
+ * @param {string} userID
20217
+ * @param {*} [options] Override http request option.
20218
+ * @throws {RequiredError}
20219
+ */
20220
+ async influxDBDeleteUser(orgName, clusterName, userID, options) {
20221
+ var _a, _b, _c;
20222
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteUser(orgName, clusterName, userID, options);
20223
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20224
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBDeleteUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20225
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20226
+ },
20227
+ /**
20228
+ *
20229
+ * @summary InfluxDB ListBuckets
20230
+ * @param {string} orgName
20231
+ * @param {string} clusterName
20232
+ * @param {string} influxOrgID
20233
+ * @param {*} [options] Override http request option.
20234
+ * @throws {RequiredError}
20235
+ */
20236
+ async influxDBListBuckets(orgName, clusterName, influxOrgID, options) {
20237
+ var _a, _b, _c;
20238
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListBuckets(orgName, clusterName, influxOrgID, options);
20239
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20240
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBListBuckets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20241
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20242
+ },
20243
+ /**
20244
+ *
20245
+ * @summary InfluxDB ListOrganizations
20246
+ * @param {string} orgName
20247
+ * @param {string} clusterName
20248
+ * @param {*} [options] Override http request option.
20249
+ * @throws {RequiredError}
20250
+ */
20251
+ async influxDBListOrganizations(orgName, clusterName, options) {
20252
+ var _a, _b, _c;
20253
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListOrganizations(orgName, clusterName, options);
20254
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20255
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBListOrganizations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20256
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20257
+ },
20258
+ /**
20259
+ *
20260
+ * @summary InfluxDB ListTokens
20261
+ * @param {string} orgName
20262
+ * @param {string} clusterName
20263
+ * @param {string} userID
20264
+ * @param {*} [options] Override http request option.
20265
+ * @throws {RequiredError}
20266
+ */
20267
+ async influxDBListTokens(orgName, clusterName, userID, options) {
20268
+ var _a, _b, _c;
20269
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListTokens(orgName, clusterName, userID, options);
20270
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20271
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBListTokens']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20272
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20273
+ },
20274
+ /**
20275
+ *
20276
+ * @summary InfluxDB ListUsers
20277
+ * @param {string} orgName
20278
+ * @param {string} clusterName
20279
+ * @param {*} [options] Override http request option.
20280
+ * @throws {RequiredError}
20281
+ */
20282
+ async influxDBListUsers(orgName, clusterName, options) {
20283
+ var _a, _b, _c;
20284
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListUsers(orgName, clusterName, options);
20285
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20286
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBListUsers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20287
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20288
+ },
20289
+ /**
20290
+ *
20291
+ * @summary InfluxDB UpdateToken
20292
+ * @param {string} orgName
20293
+ * @param {string} clusterName
20294
+ * @param {string} userID
20295
+ * @param {string} tokenID
20296
+ * @param {InfluxDBTokenUpdate} influxDBTokenUpdate
20297
+ * @param {*} [options] Override http request option.
20298
+ * @throws {RequiredError}
20299
+ */
20300
+ async influxDBUpdateToken(orgName, clusterName, userID, tokenID, influxDBTokenUpdate, options) {
20301
+ var _a, _b, _c;
20302
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBUpdateToken(orgName, clusterName, userID, tokenID, influxDBTokenUpdate, options);
20303
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20304
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBUpdateToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20305
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20306
+ },
19706
20307
  /**
19707
20308
  * kill a session in cluster
19708
20309
  * @summary Kill cluster session
@@ -24583,6 +25184,106 @@ const SharedApiFactory = function (configuration, basePath, axios) {
24583
25184
  importPreflight(requestParameters, options) {
24584
25185
  return localVarFp.importPreflight(requestParameters.orgName, requestParameters.clusterName, requestParameters.importPreflightRequest, options).then((request) => request(axios, basePath));
24585
25186
  },
25187
+ /**
25188
+ *
25189
+ * @summary InfluxDB ChangePassword
25190
+ * @param {SharedApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
25191
+ * @param {*} [options] Override http request option.
25192
+ * @throws {RequiredError}
25193
+ */
25194
+ influxDBChangePassword(requestParameters, options) {
25195
+ return localVarFp.influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(axios, basePath));
25196
+ },
25197
+ /**
25198
+ *
25199
+ * @summary InfluxDB CreateToken
25200
+ * @param {SharedApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
25201
+ * @param {*} [options] Override http request option.
25202
+ * @throws {RequiredError}
25203
+ */
25204
+ influxDBCreateToken(requestParameters, options) {
25205
+ return localVarFp.influxDBCreateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBTokenCreate, options).then((request) => request(axios, basePath));
25206
+ },
25207
+ /**
25208
+ *
25209
+ * @summary InfluxDB CreateUser
25210
+ * @param {SharedApiInfluxDBCreateUserRequest} requestParameters Request parameters.
25211
+ * @param {*} [options] Override http request option.
25212
+ * @throws {RequiredError}
25213
+ */
25214
+ influxDBCreateUser(requestParameters, options) {
25215
+ return localVarFp.influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(axios, basePath));
25216
+ },
25217
+ /**
25218
+ *
25219
+ * @summary InfluxDB DeleteToken
25220
+ * @param {SharedApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
25221
+ * @param {*} [options] Override http request option.
25222
+ * @throws {RequiredError}
25223
+ */
25224
+ influxDBDeleteToken(requestParameters, options) {
25225
+ return localVarFp.influxDBDeleteToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, options).then((request) => request(axios, basePath));
25226
+ },
25227
+ /**
25228
+ *
25229
+ * @summary InfluxDB DeleteUser
25230
+ * @param {SharedApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
25231
+ * @param {*} [options] Override http request option.
25232
+ * @throws {RequiredError}
25233
+ */
25234
+ influxDBDeleteUser(requestParameters, options) {
25235
+ return localVarFp.influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
25236
+ },
25237
+ /**
25238
+ *
25239
+ * @summary InfluxDB ListBuckets
25240
+ * @param {SharedApiInfluxDBListBucketsRequest} requestParameters Request parameters.
25241
+ * @param {*} [options] Override http request option.
25242
+ * @throws {RequiredError}
25243
+ */
25244
+ influxDBListBuckets(requestParameters, options) {
25245
+ return localVarFp.influxDBListBuckets(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxOrgID, options).then((request) => request(axios, basePath));
25246
+ },
25247
+ /**
25248
+ *
25249
+ * @summary InfluxDB ListOrganizations
25250
+ * @param {SharedApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
25251
+ * @param {*} [options] Override http request option.
25252
+ * @throws {RequiredError}
25253
+ */
25254
+ influxDBListOrganizations(requestParameters, options) {
25255
+ return localVarFp.influxDBListOrganizations(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
25256
+ },
25257
+ /**
25258
+ *
25259
+ * @summary InfluxDB ListTokens
25260
+ * @param {SharedApiInfluxDBListTokensRequest} requestParameters Request parameters.
25261
+ * @param {*} [options] Override http request option.
25262
+ * @throws {RequiredError}
25263
+ */
25264
+ influxDBListTokens(requestParameters, options) {
25265
+ return localVarFp.influxDBListTokens(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
25266
+ },
25267
+ /**
25268
+ *
25269
+ * @summary InfluxDB ListUsers
25270
+ * @param {SharedApiInfluxDBListUsersRequest} requestParameters Request parameters.
25271
+ * @param {*} [options] Override http request option.
25272
+ * @throws {RequiredError}
25273
+ */
25274
+ influxDBListUsers(requestParameters, options) {
25275
+ return localVarFp.influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
25276
+ },
25277
+ /**
25278
+ *
25279
+ * @summary InfluxDB UpdateToken
25280
+ * @param {SharedApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
25281
+ * @param {*} [options] Override http request option.
25282
+ * @throws {RequiredError}
25283
+ */
25284
+ influxDBUpdateToken(requestParameters, options) {
25285
+ return localVarFp.influxDBUpdateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, requestParameters.influxDBTokenUpdate, options).then((request) => request(axios, basePath));
25286
+ },
24586
25287
  /**
24587
25288
  * kill a session in cluster
24588
25289
  * @summary Kill cluster session
@@ -28332,6 +29033,116 @@ class SharedApi extends base_1.BaseAPI {
28332
29033
  importPreflight(requestParameters, options) {
28333
29034
  return (0, exports.SharedApiFp)(this.configuration).importPreflight(requestParameters.orgName, requestParameters.clusterName, requestParameters.importPreflightRequest, options).then((request) => request(this.axios, this.basePath));
28334
29035
  }
29036
+ /**
29037
+ *
29038
+ * @summary InfluxDB ChangePassword
29039
+ * @param {SharedApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
29040
+ * @param {*} [options] Override http request option.
29041
+ * @throws {RequiredError}
29042
+ * @memberof SharedApi
29043
+ */
29044
+ influxDBChangePassword(requestParameters, options) {
29045
+ return (0, exports.SharedApiFp)(this.configuration).influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(this.axios, this.basePath));
29046
+ }
29047
+ /**
29048
+ *
29049
+ * @summary InfluxDB CreateToken
29050
+ * @param {SharedApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
29051
+ * @param {*} [options] Override http request option.
29052
+ * @throws {RequiredError}
29053
+ * @memberof SharedApi
29054
+ */
29055
+ influxDBCreateToken(requestParameters, options) {
29056
+ return (0, exports.SharedApiFp)(this.configuration).influxDBCreateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBTokenCreate, options).then((request) => request(this.axios, this.basePath));
29057
+ }
29058
+ /**
29059
+ *
29060
+ * @summary InfluxDB CreateUser
29061
+ * @param {SharedApiInfluxDBCreateUserRequest} requestParameters Request parameters.
29062
+ * @param {*} [options] Override http request option.
29063
+ * @throws {RequiredError}
29064
+ * @memberof SharedApi
29065
+ */
29066
+ influxDBCreateUser(requestParameters, options) {
29067
+ return (0, exports.SharedApiFp)(this.configuration).influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(this.axios, this.basePath));
29068
+ }
29069
+ /**
29070
+ *
29071
+ * @summary InfluxDB DeleteToken
29072
+ * @param {SharedApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
29073
+ * @param {*} [options] Override http request option.
29074
+ * @throws {RequiredError}
29075
+ * @memberof SharedApi
29076
+ */
29077
+ influxDBDeleteToken(requestParameters, options) {
29078
+ return (0, exports.SharedApiFp)(this.configuration).influxDBDeleteToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, options).then((request) => request(this.axios, this.basePath));
29079
+ }
29080
+ /**
29081
+ *
29082
+ * @summary InfluxDB DeleteUser
29083
+ * @param {SharedApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
29084
+ * @param {*} [options] Override http request option.
29085
+ * @throws {RequiredError}
29086
+ * @memberof SharedApi
29087
+ */
29088
+ influxDBDeleteUser(requestParameters, options) {
29089
+ return (0, exports.SharedApiFp)(this.configuration).influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
29090
+ }
29091
+ /**
29092
+ *
29093
+ * @summary InfluxDB ListBuckets
29094
+ * @param {SharedApiInfluxDBListBucketsRequest} requestParameters Request parameters.
29095
+ * @param {*} [options] Override http request option.
29096
+ * @throws {RequiredError}
29097
+ * @memberof SharedApi
29098
+ */
29099
+ influxDBListBuckets(requestParameters, options) {
29100
+ return (0, exports.SharedApiFp)(this.configuration).influxDBListBuckets(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxOrgID, options).then((request) => request(this.axios, this.basePath));
29101
+ }
29102
+ /**
29103
+ *
29104
+ * @summary InfluxDB ListOrganizations
29105
+ * @param {SharedApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
29106
+ * @param {*} [options] Override http request option.
29107
+ * @throws {RequiredError}
29108
+ * @memberof SharedApi
29109
+ */
29110
+ influxDBListOrganizations(requestParameters, options) {
29111
+ return (0, exports.SharedApiFp)(this.configuration).influxDBListOrganizations(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
29112
+ }
29113
+ /**
29114
+ *
29115
+ * @summary InfluxDB ListTokens
29116
+ * @param {SharedApiInfluxDBListTokensRequest} requestParameters Request parameters.
29117
+ * @param {*} [options] Override http request option.
29118
+ * @throws {RequiredError}
29119
+ * @memberof SharedApi
29120
+ */
29121
+ influxDBListTokens(requestParameters, options) {
29122
+ return (0, exports.SharedApiFp)(this.configuration).influxDBListTokens(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
29123
+ }
29124
+ /**
29125
+ *
29126
+ * @summary InfluxDB ListUsers
29127
+ * @param {SharedApiInfluxDBListUsersRequest} requestParameters Request parameters.
29128
+ * @param {*} [options] Override http request option.
29129
+ * @throws {RequiredError}
29130
+ * @memberof SharedApi
29131
+ */
29132
+ influxDBListUsers(requestParameters, options) {
29133
+ return (0, exports.SharedApiFp)(this.configuration).influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
29134
+ }
29135
+ /**
29136
+ *
29137
+ * @summary InfluxDB UpdateToken
29138
+ * @param {SharedApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
29139
+ * @param {*} [options] Override http request option.
29140
+ * @throws {RequiredError}
29141
+ * @memberof SharedApi
29142
+ */
29143
+ influxDBUpdateToken(requestParameters, options) {
29144
+ return (0, exports.SharedApiFp)(this.configuration).influxDBUpdateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, requestParameters.influxDBTokenUpdate, options).then((request) => request(this.axios, this.basePath));
29145
+ }
28335
29146
  /**
28336
29147
  * kill a session in cluster
28337
29148
  * @summary Kill cluster session