kb-cloud-client-typescript 2.3.0-alpha.96 → 2.3.0-alpha.98

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 (52) hide show
  1. package/dist/adminapi/apis/aiagent-api.d.ts +158 -0
  2. package/dist/adminapi/apis/aiagent-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/aiagent-api.js +162 -0
  4. package/dist/adminapi/apis/aiagent-api.js.map +1 -1
  5. package/dist/adminapi/apis/cluster-log-api.d.ts +114 -2
  6. package/dist/adminapi/apis/cluster-log-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/cluster-log-api.js +75 -5
  8. package/dist/adminapi/apis/cluster-log-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +114 -2
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +75 -5
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/storage-create.d.ts +0 -6
  14. package/dist/adminapi/models/storage-create.d.ts.map +1 -1
  15. package/dist/adminapi/models/storage-update.d.ts +0 -6
  16. package/dist/adminapi/models/storage-update.d.ts.map +1 -1
  17. package/dist/adminapi/models/storage.d.ts +0 -6
  18. package/dist/adminapi/models/storage.d.ts.map +1 -1
  19. package/dist/internalapi/models/storage-create.d.ts +0 -6
  20. package/dist/internalapi/models/storage-create.d.ts.map +1 -1
  21. package/dist/internalapi/models/storage.d.ts +0 -6
  22. package/dist/internalapi/models/storage.d.ts.map +1 -1
  23. package/dist/openapi/apis/aiagent-api.d.ts +158 -0
  24. package/dist/openapi/apis/aiagent-api.d.ts.map +1 -1
  25. package/dist/openapi/apis/aiagent-api.js +162 -0
  26. package/dist/openapi/apis/aiagent-api.js.map +1 -1
  27. package/dist/openapi/apis/cluster-log-api.d.ts +114 -2
  28. package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
  29. package/dist/openapi/apis/cluster-log-api.js +75 -5
  30. package/dist/openapi/apis/cluster-log-api.js.map +1 -1
  31. package/dist/openapi/apis/shared-api.d.ts +114 -2
  32. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  33. package/dist/openapi/apis/shared-api.js +75 -5
  34. package/dist/openapi/apis/shared-api.js.map +1 -1
  35. package/dist/openapi/models/storage.d.ts +0 -6
  36. package/dist/openapi/models/storage.d.ts.map +1 -1
  37. package/package.json +1 -1
  38. package/src/adminapi/apis/aiagent-api.ts +264 -0
  39. package/src/adminapi/apis/cluster-log-api.ts +187 -5
  40. package/src/adminapi/apis/shared-api.ts +187 -5
  41. package/src/adminapi/models/storage-create.ts +0 -6
  42. package/src/adminapi/models/storage-update.ts +0 -6
  43. package/src/adminapi/models/storage.ts +0 -6
  44. package/src/adminapi.yaml +162 -12
  45. package/src/internalapi/models/storage-create.ts +0 -6
  46. package/src/internalapi/models/storage.ts +0 -6
  47. package/src/internalapi.yaml +0 -8
  48. package/src/openapi/apis/aiagent-api.ts +264 -0
  49. package/src/openapi/apis/cluster-log-api.ts +187 -5
  50. package/src/openapi/apis/shared-api.ts +187 -5
  51. package/src/openapi/models/storage.ts +0 -6
  52. package/src/openapi.yaml +162 -4
@@ -79,11 +79,5 @@ export interface Storage {
79
79
  'tags'?: {
80
80
  [key: string]: string;
81
81
  };
82
- /**
83
- *
84
- * @type {Array<string>}
85
- * @memberof Storage
86
- */
87
- 'engines'?: Array<string>;
88
82
  }
89
83
  //# sourceMappingURL=storage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/storage.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACtC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACpC;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC7B"}
1
+ {"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/storage.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACtC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;CACvC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kb-cloud-client-typescript",
3
- "version": "2.3.0-alpha.96",
3
+ "version": "2.3.0-alpha.98",
4
4
  "description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
@@ -106,6 +106,55 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
106
106
  options: localVarRequestOptions,
107
107
  };
108
108
  },
109
+ /**
110
+ *
111
+ * @summary Browse a generated AI diagnosis report artifact
112
+ * @param {string} orgName
113
+ * @param {string} conversationId
114
+ * @param {string} actionId
115
+ * @param {string} artifactId
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ */
119
+ browseAIAgentTurnActionArtifact: async (orgName: string, conversationId: string, actionId: string, artifactId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
120
+ // verify required parameter 'orgName' is not null or undefined
121
+ assertParamExists('browseAIAgentTurnActionArtifact', 'orgName', orgName)
122
+ // verify required parameter 'conversationId' is not null or undefined
123
+ assertParamExists('browseAIAgentTurnActionArtifact', 'conversationId', conversationId)
124
+ // verify required parameter 'actionId' is not null or undefined
125
+ assertParamExists('browseAIAgentTurnActionArtifact', 'actionId', actionId)
126
+ // verify required parameter 'artifactId' is not null or undefined
127
+ assertParamExists('browseAIAgentTurnActionArtifact', 'artifactId', artifactId)
128
+ const localVarPath = `/admin/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/turn-actions/{actionId}/artifacts/{artifactId}/browse`
129
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
130
+ .replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)))
131
+ .replace(`{${"actionId"}}`, encodeURIComponent(String(actionId)))
132
+ .replace(`{${"artifactId"}}`, encodeURIComponent(String(artifactId)));
133
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
134
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
135
+ let baseOptions;
136
+ if (configuration) {
137
+ baseOptions = configuration.baseOptions;
138
+ }
139
+
140
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
141
+ const localVarHeaderParameter = {} as any;
142
+ const localVarQueryParameter = {} as any;
143
+
144
+ // authentication BearerToken required
145
+ await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
146
+
147
+
148
+
149
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
150
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
151
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
152
+
153
+ return {
154
+ url: toPathString(localVarUrlObj),
155
+ options: localVarRequestOptions,
156
+ };
157
+ },
109
158
  /**
110
159
  *
111
160
  * @summary Create an AI diagnosis conversation
@@ -181,6 +230,55 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
181
230
 
182
231
 
183
232
 
233
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
234
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
235
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
236
+
237
+ return {
238
+ url: toPathString(localVarUrlObj),
239
+ options: localVarRequestOptions,
240
+ };
241
+ },
242
+ /**
243
+ *
244
+ * @summary Download a generated AI diagnosis report artifact
245
+ * @param {string} orgName
246
+ * @param {string} conversationId
247
+ * @param {string} actionId
248
+ * @param {string} artifactId
249
+ * @param {*} [options] Override http request option.
250
+ * @throws {RequiredError}
251
+ */
252
+ downloadAIAgentTurnActionArtifact: async (orgName: string, conversationId: string, actionId: string, artifactId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
253
+ // verify required parameter 'orgName' is not null or undefined
254
+ assertParamExists('downloadAIAgentTurnActionArtifact', 'orgName', orgName)
255
+ // verify required parameter 'conversationId' is not null or undefined
256
+ assertParamExists('downloadAIAgentTurnActionArtifact', 'conversationId', conversationId)
257
+ // verify required parameter 'actionId' is not null or undefined
258
+ assertParamExists('downloadAIAgentTurnActionArtifact', 'actionId', actionId)
259
+ // verify required parameter 'artifactId' is not null or undefined
260
+ assertParamExists('downloadAIAgentTurnActionArtifact', 'artifactId', artifactId)
261
+ const localVarPath = `/admin/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/turn-actions/{actionId}/artifacts/{artifactId}/download`
262
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
263
+ .replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)))
264
+ .replace(`{${"actionId"}}`, encodeURIComponent(String(actionId)))
265
+ .replace(`{${"artifactId"}}`, encodeURIComponent(String(artifactId)));
266
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
267
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
268
+ let baseOptions;
269
+ if (configuration) {
270
+ baseOptions = configuration.baseOptions;
271
+ }
272
+
273
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
274
+ const localVarHeaderParameter = {} as any;
275
+ const localVarQueryParameter = {} as any;
276
+
277
+ // authentication BearerToken required
278
+ await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
279
+
280
+
281
+
184
282
  setSearchParams(localVarUrlObj, localVarQueryParameter);
185
283
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
186
284
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -681,6 +779,22 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
681
779
  const localVarOperationServerBasePath = operationServerMap['AIAgentApi.approveAIAgentToolConfirmation']?.[localVarOperationServerIndex]?.url;
682
780
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
683
781
  },
782
+ /**
783
+ *
784
+ * @summary Browse a generated AI diagnosis report artifact
785
+ * @param {string} orgName
786
+ * @param {string} conversationId
787
+ * @param {string} actionId
788
+ * @param {string} artifactId
789
+ * @param {*} [options] Override http request option.
790
+ * @throws {RequiredError}
791
+ */
792
+ async browseAIAgentTurnActionArtifact(orgName: string, conversationId: string, actionId: string, artifactId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
793
+ const localVarAxiosArgs = await localVarAxiosParamCreator.browseAIAgentTurnActionArtifact(orgName, conversationId, actionId, artifactId, options);
794
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
795
+ const localVarOperationServerBasePath = operationServerMap['AIAgentApi.browseAIAgentTurnActionArtifact']?.[localVarOperationServerIndex]?.url;
796
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
797
+ },
684
798
  /**
685
799
  *
686
800
  * @summary Create an AI diagnosis conversation
@@ -709,6 +823,22 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
709
823
  const localVarOperationServerBasePath = operationServerMap['AIAgentApi.deleteAIAgentConversation']?.[localVarOperationServerIndex]?.url;
710
824
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
711
825
  },
826
+ /**
827
+ *
828
+ * @summary Download a generated AI diagnosis report artifact
829
+ * @param {string} orgName
830
+ * @param {string} conversationId
831
+ * @param {string} actionId
832
+ * @param {string} artifactId
833
+ * @param {*} [options] Override http request option.
834
+ * @throws {RequiredError}
835
+ */
836
+ async downloadAIAgentTurnActionArtifact(orgName: string, conversationId: string, actionId: string, artifactId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
837
+ const localVarAxiosArgs = await localVarAxiosParamCreator.downloadAIAgentTurnActionArtifact(orgName, conversationId, actionId, artifactId, options);
838
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
839
+ const localVarOperationServerBasePath = operationServerMap['AIAgentApi.downloadAIAgentTurnActionArtifact']?.[localVarOperationServerIndex]?.url;
840
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
841
+ },
712
842
  /**
713
843
  *
714
844
  * @summary Get an AI diagnosis conversation
@@ -880,6 +1010,16 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
880
1010
  approveAIAgentToolConfirmation(requestParameters: AIAgentApiApproveAIAgentToolConfirmationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentToolConfirmationDecisionResponse> {
881
1011
  return localVarFp.approveAIAgentToolConfirmation(requestParameters.orgName, requestParameters.conversationId, requestParameters.confirmationId, requestParameters.aiAgentToolConfirmationDecisionRequest, options).then((request) => request(axios, basePath));
882
1012
  },
1013
+ /**
1014
+ *
1015
+ * @summary Browse a generated AI diagnosis report artifact
1016
+ * @param {AIAgentApiBrowseAIAgentTurnActionArtifactRequest} requestParameters Request parameters.
1017
+ * @param {*} [options] Override http request option.
1018
+ * @throws {RequiredError}
1019
+ */
1020
+ browseAIAgentTurnActionArtifact(requestParameters: AIAgentApiBrowseAIAgentTurnActionArtifactRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
1021
+ return localVarFp.browseAIAgentTurnActionArtifact(requestParameters.orgName, requestParameters.conversationId, requestParameters.actionId, requestParameters.artifactId, options).then((request) => request(axios, basePath));
1022
+ },
883
1023
  /**
884
1024
  *
885
1025
  * @summary Create an AI diagnosis conversation
@@ -900,6 +1040,16 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
900
1040
  deleteAIAgentConversation(requestParameters: AIAgentApiDeleteAIAgentConversationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentDeleteConversationResponse> {
901
1041
  return localVarFp.deleteAIAgentConversation(requestParameters.orgName, requestParameters.conversationId, options).then((request) => request(axios, basePath));
902
1042
  },
1043
+ /**
1044
+ *
1045
+ * @summary Download a generated AI diagnosis report artifact
1046
+ * @param {AIAgentApiDownloadAIAgentTurnActionArtifactRequest} requestParameters Request parameters.
1047
+ * @param {*} [options] Override http request option.
1048
+ * @throws {RequiredError}
1049
+ */
1050
+ downloadAIAgentTurnActionArtifact(requestParameters: AIAgentApiDownloadAIAgentTurnActionArtifactRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
1051
+ return localVarFp.downloadAIAgentTurnActionArtifact(requestParameters.orgName, requestParameters.conversationId, requestParameters.actionId, requestParameters.artifactId, options).then((request) => request(axios, basePath));
1052
+ },
903
1053
  /**
904
1054
  *
905
1055
  * @summary Get an AI diagnosis conversation
@@ -1019,6 +1169,16 @@ export interface AIAgentApiInterface {
1019
1169
  */
1020
1170
  approveAIAgentToolConfirmation(requestParameters: AIAgentApiApproveAIAgentToolConfirmationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentToolConfirmationDecisionResponse>;
1021
1171
 
1172
+ /**
1173
+ *
1174
+ * @summary Browse a generated AI diagnosis report artifact
1175
+ * @param {AIAgentApiBrowseAIAgentTurnActionArtifactRequest} requestParameters Request parameters.
1176
+ * @param {*} [options] Override http request option.
1177
+ * @throws {RequiredError}
1178
+ * @memberof AIAgentApiInterface
1179
+ */
1180
+ browseAIAgentTurnActionArtifact(requestParameters: AIAgentApiBrowseAIAgentTurnActionArtifactRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
1181
+
1022
1182
  /**
1023
1183
  *
1024
1184
  * @summary Create an AI diagnosis conversation
@@ -1039,6 +1199,16 @@ export interface AIAgentApiInterface {
1039
1199
  */
1040
1200
  deleteAIAgentConversation(requestParameters: AIAgentApiDeleteAIAgentConversationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentDeleteConversationResponse>;
1041
1201
 
1202
+ /**
1203
+ *
1204
+ * @summary Download a generated AI diagnosis report artifact
1205
+ * @param {AIAgentApiDownloadAIAgentTurnActionArtifactRequest} requestParameters Request parameters.
1206
+ * @param {*} [options] Override http request option.
1207
+ * @throws {RequiredError}
1208
+ * @memberof AIAgentApiInterface
1209
+ */
1210
+ downloadAIAgentTurnActionArtifact(requestParameters: AIAgentApiDownloadAIAgentTurnActionArtifactRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
1211
+
1042
1212
  /**
1043
1213
  *
1044
1214
  * @summary Get an AI diagnosis conversation
@@ -1176,6 +1346,41 @@ export interface AIAgentApiApproveAIAgentToolConfirmationRequest {
1176
1346
  readonly aiAgentToolConfirmationDecisionRequest?: AiAgentToolConfirmationDecisionRequest
1177
1347
  }
1178
1348
 
1349
+ /**
1350
+ * Request parameters for browseAIAgentTurnActionArtifact operation in AIAgentApi.
1351
+ * @export
1352
+ * @interface AIAgentApiBrowseAIAgentTurnActionArtifactRequest
1353
+ */
1354
+ export interface AIAgentApiBrowseAIAgentTurnActionArtifactRequest {
1355
+ /**
1356
+ *
1357
+ * @type {string}
1358
+ * @memberof AIAgentApiBrowseAIAgentTurnActionArtifact
1359
+ */
1360
+ readonly orgName: string
1361
+
1362
+ /**
1363
+ *
1364
+ * @type {string}
1365
+ * @memberof AIAgentApiBrowseAIAgentTurnActionArtifact
1366
+ */
1367
+ readonly conversationId: string
1368
+
1369
+ /**
1370
+ *
1371
+ * @type {string}
1372
+ * @memberof AIAgentApiBrowseAIAgentTurnActionArtifact
1373
+ */
1374
+ readonly actionId: string
1375
+
1376
+ /**
1377
+ *
1378
+ * @type {string}
1379
+ * @memberof AIAgentApiBrowseAIAgentTurnActionArtifact
1380
+ */
1381
+ readonly artifactId: string
1382
+ }
1383
+
1179
1384
  /**
1180
1385
  * Request parameters for createAIAgentConversation operation in AIAgentApi.
1181
1386
  * @export
@@ -1218,6 +1423,41 @@ export interface AIAgentApiDeleteAIAgentConversationRequest {
1218
1423
  readonly conversationId: string
1219
1424
  }
1220
1425
 
1426
+ /**
1427
+ * Request parameters for downloadAIAgentTurnActionArtifact operation in AIAgentApi.
1428
+ * @export
1429
+ * @interface AIAgentApiDownloadAIAgentTurnActionArtifactRequest
1430
+ */
1431
+ export interface AIAgentApiDownloadAIAgentTurnActionArtifactRequest {
1432
+ /**
1433
+ *
1434
+ * @type {string}
1435
+ * @memberof AIAgentApiDownloadAIAgentTurnActionArtifact
1436
+ */
1437
+ readonly orgName: string
1438
+
1439
+ /**
1440
+ *
1441
+ * @type {string}
1442
+ * @memberof AIAgentApiDownloadAIAgentTurnActionArtifact
1443
+ */
1444
+ readonly conversationId: string
1445
+
1446
+ /**
1447
+ *
1448
+ * @type {string}
1449
+ * @memberof AIAgentApiDownloadAIAgentTurnActionArtifact
1450
+ */
1451
+ readonly actionId: string
1452
+
1453
+ /**
1454
+ *
1455
+ * @type {string}
1456
+ * @memberof AIAgentApiDownloadAIAgentTurnActionArtifact
1457
+ */
1458
+ readonly artifactId: string
1459
+ }
1460
+
1221
1461
  /**
1222
1462
  * Request parameters for getAIAgentConversation operation in AIAgentApi.
1223
1463
  * @export
@@ -1524,6 +1764,18 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
1524
1764
  return AIAgentApiFp(this.configuration).approveAIAgentToolConfirmation(requestParameters.orgName, requestParameters.conversationId, requestParameters.confirmationId, requestParameters.aiAgentToolConfirmationDecisionRequest, options).then((request) => request(this.axios, this.basePath));
1525
1765
  }
1526
1766
 
1767
+ /**
1768
+ *
1769
+ * @summary Browse a generated AI diagnosis report artifact
1770
+ * @param {AIAgentApiBrowseAIAgentTurnActionArtifactRequest} requestParameters Request parameters.
1771
+ * @param {*} [options] Override http request option.
1772
+ * @throws {RequiredError}
1773
+ * @memberof AIAgentApi
1774
+ */
1775
+ public browseAIAgentTurnActionArtifact(requestParameters: AIAgentApiBrowseAIAgentTurnActionArtifactRequest, options?: RawAxiosRequestConfig) {
1776
+ return AIAgentApiFp(this.configuration).browseAIAgentTurnActionArtifact(requestParameters.orgName, requestParameters.conversationId, requestParameters.actionId, requestParameters.artifactId, options).then((request) => request(this.axios, this.basePath));
1777
+ }
1778
+
1527
1779
  /**
1528
1780
  *
1529
1781
  * @summary Create an AI diagnosis conversation
@@ -1548,6 +1800,18 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
1548
1800
  return AIAgentApiFp(this.configuration).deleteAIAgentConversation(requestParameters.orgName, requestParameters.conversationId, options).then((request) => request(this.axios, this.basePath));
1549
1801
  }
1550
1802
 
1803
+ /**
1804
+ *
1805
+ * @summary Download a generated AI diagnosis report artifact
1806
+ * @param {AIAgentApiDownloadAIAgentTurnActionArtifactRequest} requestParameters Request parameters.
1807
+ * @param {*} [options] Override http request option.
1808
+ * @throws {RequiredError}
1809
+ * @memberof AIAgentApi
1810
+ */
1811
+ public downloadAIAgentTurnActionArtifact(requestParameters: AIAgentApiDownloadAIAgentTurnActionArtifactRequest, options?: RawAxiosRequestConfig) {
1812
+ return AIAgentApiFp(this.configuration).downloadAIAgentTurnActionArtifact(requestParameters.orgName, requestParameters.conversationId, requestParameters.actionId, requestParameters.artifactId, options).then((request) => request(this.axios, this.basePath));
1813
+ }
1814
+
1551
1815
  /**
1552
1816
  *
1553
1817
  * @summary Get an AI diagnosis conversation
@@ -579,10 +579,24 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
579
579
  * @param {string} [componentName]
580
580
  * @param {string} [instanceName]
581
581
  * @param {string} [query]
582
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType&#x3D;slow.
583
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType&#x3D;slow.
584
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType&#x3D;slow.
585
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType&#x3D;slow.
586
+ * @param {number} [minRowsExamined]
587
+ * @param {number} [maxRowsExamined]
588
+ * @param {number} [minRowsSent]
589
+ * @param {number} [maxRowsSent]
590
+ * @param {string} [dbName]
591
+ * @param {string} [userName]
592
+ * @param {string} [clientIp]
593
+ * @param {string} [appName]
594
+ * @param {string} [templateId]
595
+ * @param {boolean} [unclassifiedOnly]
582
596
  * @param {*} [options] Override http request option.
583
597
  * @throws {RequiredError}
584
598
  */
585
- queryLogHits: async (orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
599
+ queryLogHits: async (orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
586
600
  // verify required parameter 'orgName' is not null or undefined
587
601
  assertParamExists('queryLogHits', 'orgName', orgName)
588
602
  // verify required parameter 'clusterName' is not null or undefined
@@ -640,6 +654,62 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
640
654
  localVarQueryParameter['query'] = query;
641
655
  }
642
656
 
657
+ if (minExecutionTime !== undefined) {
658
+ localVarQueryParameter['minExecutionTime'] = minExecutionTime;
659
+ }
660
+
661
+ if (maxExecutionTime !== undefined) {
662
+ localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
663
+ }
664
+
665
+ if (minLockTime !== undefined) {
666
+ localVarQueryParameter['minLockTime'] = minLockTime;
667
+ }
668
+
669
+ if (maxLockTime !== undefined) {
670
+ localVarQueryParameter['maxLockTime'] = maxLockTime;
671
+ }
672
+
673
+ if (minRowsExamined !== undefined) {
674
+ localVarQueryParameter['minRowsExamined'] = minRowsExamined;
675
+ }
676
+
677
+ if (maxRowsExamined !== undefined) {
678
+ localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
679
+ }
680
+
681
+ if (minRowsSent !== undefined) {
682
+ localVarQueryParameter['minRowsSent'] = minRowsSent;
683
+ }
684
+
685
+ if (maxRowsSent !== undefined) {
686
+ localVarQueryParameter['maxRowsSent'] = maxRowsSent;
687
+ }
688
+
689
+ if (dbName !== undefined) {
690
+ localVarQueryParameter['dbName'] = dbName;
691
+ }
692
+
693
+ if (userName !== undefined) {
694
+ localVarQueryParameter['userName'] = userName;
695
+ }
696
+
697
+ if (clientIp !== undefined) {
698
+ localVarQueryParameter['clientIp'] = clientIp;
699
+ }
700
+
701
+ if (appName !== undefined) {
702
+ localVarQueryParameter['appName'] = appName;
703
+ }
704
+
705
+ if (templateId !== undefined) {
706
+ localVarQueryParameter['templateId'] = templateId;
707
+ }
708
+
709
+ if (unclassifiedOnly !== undefined) {
710
+ localVarQueryParameter['unclassifiedOnly'] = unclassifiedOnly;
711
+ }
712
+
643
713
 
644
714
 
645
715
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1402,11 +1472,25 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
1402
1472
  * @param {string} [componentName]
1403
1473
  * @param {string} [instanceName]
1404
1474
  * @param {string} [query]
1475
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType&#x3D;slow.
1476
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType&#x3D;slow.
1477
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType&#x3D;slow.
1478
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType&#x3D;slow.
1479
+ * @param {number} [minRowsExamined]
1480
+ * @param {number} [maxRowsExamined]
1481
+ * @param {number} [minRowsSent]
1482
+ * @param {number} [maxRowsSent]
1483
+ * @param {string} [dbName]
1484
+ * @param {string} [userName]
1485
+ * @param {string} [clientIp]
1486
+ * @param {string} [appName]
1487
+ * @param {string} [templateId]
1488
+ * @param {boolean} [unclassifiedOnly]
1405
1489
  * @param {*} [options] Override http request option.
1406
1490
  * @throws {RequiredError}
1407
1491
  */
1408
- async queryLogHits(orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogHitsResponse>> {
1409
- const localVarAxiosArgs = await localVarAxiosParamCreator.queryLogHits(orgName, clusterName, startTime, endTime, step, logType, componentName, instanceName, query, options);
1492
+ async queryLogHits(orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogHitsResponse>> {
1493
+ const localVarAxiosArgs = await localVarAxiosParamCreator.queryLogHits(orgName, clusterName, startTime, endTime, step, logType, componentName, instanceName, query, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, userName, clientIp, appName, templateId, unclassifiedOnly, options);
1410
1494
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1411
1495
  const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryLogHits']?.[localVarOperationServerIndex]?.url;
1412
1496
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1633,7 +1717,7 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
1633
1717
  * @throws {RequiredError}
1634
1718
  */
1635
1719
  queryLogHits(requestParameters: ClusterLogApiQueryLogHitsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogHitsResponse> {
1636
- return localVarFp.queryLogHits(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.step, requestParameters.logType, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(axios, basePath));
1720
+ return localVarFp.queryLogHits(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.step, requestParameters.logType, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.userName, requestParameters.clientIp, requestParameters.appName, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(axios, basePath));
1637
1721
  },
1638
1722
  /**
1639
1723
  * Query pod logs of a cluster
@@ -2367,6 +2451,104 @@ export interface ClusterLogApiQueryLogHitsRequest {
2367
2451
  * @memberof ClusterLogApiQueryLogHits
2368
2452
  */
2369
2453
  readonly query?: string
2454
+
2455
+ /**
2456
+ * Minimum slow log execution time in seconds. Only applies when logType&#x3D;slow.
2457
+ * @type {number}
2458
+ * @memberof ClusterLogApiQueryLogHits
2459
+ */
2460
+ readonly minExecutionTime?: number
2461
+
2462
+ /**
2463
+ * Maximum slow log execution time in seconds. Only applies when logType&#x3D;slow.
2464
+ * @type {number}
2465
+ * @memberof ClusterLogApiQueryLogHits
2466
+ */
2467
+ readonly maxExecutionTime?: number
2468
+
2469
+ /**
2470
+ * Minimum slow log lock time in seconds. Only applies when logType&#x3D;slow.
2471
+ * @type {number}
2472
+ * @memberof ClusterLogApiQueryLogHits
2473
+ */
2474
+ readonly minLockTime?: number
2475
+
2476
+ /**
2477
+ * Maximum slow log lock time in seconds. Only applies when logType&#x3D;slow.
2478
+ * @type {number}
2479
+ * @memberof ClusterLogApiQueryLogHits
2480
+ */
2481
+ readonly maxLockTime?: number
2482
+
2483
+ /**
2484
+ *
2485
+ * @type {number}
2486
+ * @memberof ClusterLogApiQueryLogHits
2487
+ */
2488
+ readonly minRowsExamined?: number
2489
+
2490
+ /**
2491
+ *
2492
+ * @type {number}
2493
+ * @memberof ClusterLogApiQueryLogHits
2494
+ */
2495
+ readonly maxRowsExamined?: number
2496
+
2497
+ /**
2498
+ *
2499
+ * @type {number}
2500
+ * @memberof ClusterLogApiQueryLogHits
2501
+ */
2502
+ readonly minRowsSent?: number
2503
+
2504
+ /**
2505
+ *
2506
+ * @type {number}
2507
+ * @memberof ClusterLogApiQueryLogHits
2508
+ */
2509
+ readonly maxRowsSent?: number
2510
+
2511
+ /**
2512
+ *
2513
+ * @type {string}
2514
+ * @memberof ClusterLogApiQueryLogHits
2515
+ */
2516
+ readonly dbName?: string
2517
+
2518
+ /**
2519
+ *
2520
+ * @type {string}
2521
+ * @memberof ClusterLogApiQueryLogHits
2522
+ */
2523
+ readonly userName?: string
2524
+
2525
+ /**
2526
+ *
2527
+ * @type {string}
2528
+ * @memberof ClusterLogApiQueryLogHits
2529
+ */
2530
+ readonly clientIp?: string
2531
+
2532
+ /**
2533
+ *
2534
+ * @type {string}
2535
+ * @memberof ClusterLogApiQueryLogHits
2536
+ */
2537
+ readonly appName?: string
2538
+
2539
+ /**
2540
+ *
2541
+ * @type {string}
2542
+ * @memberof ClusterLogApiQueryLogHits
2543
+ */
2544
+ readonly templateId?: string
2545
+
2546
+ /**
2547
+ *
2548
+ * @type {boolean}
2549
+ * @memberof ClusterLogApiQueryLogHits
2550
+ */
2551
+ readonly unclassifiedOnly?: boolean
2370
2552
  }
2371
2553
 
2372
2554
  /**
@@ -3080,7 +3262,7 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
3080
3262
  * @memberof ClusterLogApi
3081
3263
  */
3082
3264
  public queryLogHits(requestParameters: ClusterLogApiQueryLogHitsRequest, options?: RawAxiosRequestConfig) {
3083
- return ClusterLogApiFp(this.configuration).queryLogHits(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.step, requestParameters.logType, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(this.axios, this.basePath));
3265
+ return ClusterLogApiFp(this.configuration).queryLogHits(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.step, requestParameters.logType, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.userName, requestParameters.clientIp, requestParameters.appName, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(this.axios, this.basePath));
3084
3266
  }
3085
3267
 
3086
3268
  /**