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.
- package/dist/adminapi/apis/aiagent-api.d.ts +158 -0
- package/dist/adminapi/apis/aiagent-api.d.ts.map +1 -1
- package/dist/adminapi/apis/aiagent-api.js +162 -0
- package/dist/adminapi/apis/aiagent-api.js.map +1 -1
- package/dist/adminapi/apis/cluster-log-api.d.ts +114 -2
- package/dist/adminapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-log-api.js +75 -5
- package/dist/adminapi/apis/cluster-log-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +114 -2
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +75 -5
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/storage-create.d.ts +0 -6
- package/dist/adminapi/models/storage-create.d.ts.map +1 -1
- package/dist/adminapi/models/storage-update.d.ts +0 -6
- package/dist/adminapi/models/storage-update.d.ts.map +1 -1
- package/dist/adminapi/models/storage.d.ts +0 -6
- package/dist/adminapi/models/storage.d.ts.map +1 -1
- package/dist/internalapi/models/storage-create.d.ts +0 -6
- package/dist/internalapi/models/storage-create.d.ts.map +1 -1
- package/dist/internalapi/models/storage.d.ts +0 -6
- package/dist/internalapi/models/storage.d.ts.map +1 -1
- package/dist/openapi/apis/aiagent-api.d.ts +158 -0
- package/dist/openapi/apis/aiagent-api.d.ts.map +1 -1
- package/dist/openapi/apis/aiagent-api.js +162 -0
- package/dist/openapi/apis/aiagent-api.js.map +1 -1
- package/dist/openapi/apis/cluster-log-api.d.ts +114 -2
- package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-log-api.js +75 -5
- package/dist/openapi/apis/cluster-log-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +114 -2
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +75 -5
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/storage.d.ts +0 -6
- package/dist/openapi/models/storage.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/aiagent-api.ts +264 -0
- package/src/adminapi/apis/cluster-log-api.ts +187 -5
- package/src/adminapi/apis/shared-api.ts +187 -5
- package/src/adminapi/models/storage-create.ts +0 -6
- package/src/adminapi/models/storage-update.ts +0 -6
- package/src/adminapi/models/storage.ts +0 -6
- package/src/adminapi.yaml +162 -12
- package/src/internalapi/models/storage-create.ts +0 -6
- package/src/internalapi/models/storage.ts +0 -6
- package/src/internalapi.yaml +0 -8
- package/src/openapi/apis/aiagent-api.ts +264 -0
- package/src/openapi/apis/cluster-log-api.ts +187 -5
- package/src/openapi/apis/shared-api.ts +187 -5
- package/src/openapi/models/storage.ts +0 -6
- package/src/openapi.yaml +162 -4
|
@@ -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 = `/api/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 = `/api/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
|
|
@@ -849,10 +849,24 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
|
|
|
849
849
|
* @param {string} [componentName]
|
|
850
850
|
* @param {string} [instanceName]
|
|
851
851
|
* @param {string} [query]
|
|
852
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType=slow.
|
|
853
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType=slow.
|
|
854
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType=slow.
|
|
855
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType=slow.
|
|
856
|
+
* @param {number} [minRowsExamined]
|
|
857
|
+
* @param {number} [maxRowsExamined]
|
|
858
|
+
* @param {number} [minRowsSent]
|
|
859
|
+
* @param {number} [maxRowsSent]
|
|
860
|
+
* @param {string} [dbName]
|
|
861
|
+
* @param {string} [userName]
|
|
862
|
+
* @param {string} [clientIp]
|
|
863
|
+
* @param {string} [appName]
|
|
864
|
+
* @param {string} [templateId]
|
|
865
|
+
* @param {boolean} [unclassifiedOnly]
|
|
852
866
|
* @param {*} [options] Override http request option.
|
|
853
867
|
* @throws {RequiredError}
|
|
854
868
|
*/
|
|
855
|
-
queryLogHits: async (orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
869
|
+
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> => {
|
|
856
870
|
// verify required parameter 'orgName' is not null or undefined
|
|
857
871
|
assertParamExists('queryLogHits', 'orgName', orgName)
|
|
858
872
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -910,6 +924,62 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
|
|
|
910
924
|
localVarQueryParameter['query'] = query;
|
|
911
925
|
}
|
|
912
926
|
|
|
927
|
+
if (minExecutionTime !== undefined) {
|
|
928
|
+
localVarQueryParameter['minExecutionTime'] = minExecutionTime;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
if (maxExecutionTime !== undefined) {
|
|
932
|
+
localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
if (minLockTime !== undefined) {
|
|
936
|
+
localVarQueryParameter['minLockTime'] = minLockTime;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
if (maxLockTime !== undefined) {
|
|
940
|
+
localVarQueryParameter['maxLockTime'] = maxLockTime;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
if (minRowsExamined !== undefined) {
|
|
944
|
+
localVarQueryParameter['minRowsExamined'] = minRowsExamined;
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
if (maxRowsExamined !== undefined) {
|
|
948
|
+
localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
if (minRowsSent !== undefined) {
|
|
952
|
+
localVarQueryParameter['minRowsSent'] = minRowsSent;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
if (maxRowsSent !== undefined) {
|
|
956
|
+
localVarQueryParameter['maxRowsSent'] = maxRowsSent;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
if (dbName !== undefined) {
|
|
960
|
+
localVarQueryParameter['dbName'] = dbName;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
if (userName !== undefined) {
|
|
964
|
+
localVarQueryParameter['userName'] = userName;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
if (clientIp !== undefined) {
|
|
968
|
+
localVarQueryParameter['clientIp'] = clientIp;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
if (appName !== undefined) {
|
|
972
|
+
localVarQueryParameter['appName'] = appName;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
if (templateId !== undefined) {
|
|
976
|
+
localVarQueryParameter['templateId'] = templateId;
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
if (unclassifiedOnly !== undefined) {
|
|
980
|
+
localVarQueryParameter['unclassifiedOnly'] = unclassifiedOnly;
|
|
981
|
+
}
|
|
982
|
+
|
|
913
983
|
|
|
914
984
|
|
|
915
985
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1741,11 +1811,25 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
|
|
|
1741
1811
|
* @param {string} [componentName]
|
|
1742
1812
|
* @param {string} [instanceName]
|
|
1743
1813
|
* @param {string} [query]
|
|
1814
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType=slow.
|
|
1815
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType=slow.
|
|
1816
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType=slow.
|
|
1817
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType=slow.
|
|
1818
|
+
* @param {number} [minRowsExamined]
|
|
1819
|
+
* @param {number} [maxRowsExamined]
|
|
1820
|
+
* @param {number} [minRowsSent]
|
|
1821
|
+
* @param {number} [maxRowsSent]
|
|
1822
|
+
* @param {string} [dbName]
|
|
1823
|
+
* @param {string} [userName]
|
|
1824
|
+
* @param {string} [clientIp]
|
|
1825
|
+
* @param {string} [appName]
|
|
1826
|
+
* @param {string} [templateId]
|
|
1827
|
+
* @param {boolean} [unclassifiedOnly]
|
|
1744
1828
|
* @param {*} [options] Override http request option.
|
|
1745
1829
|
* @throws {RequiredError}
|
|
1746
1830
|
*/
|
|
1747
|
-
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>> {
|
|
1748
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.queryLogHits(orgName, clusterName, startTime, endTime, step, logType, componentName, instanceName, query, options);
|
|
1831
|
+
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>> {
|
|
1832
|
+
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);
|
|
1749
1833
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1750
1834
|
const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryLogHits']?.[localVarOperationServerIndex]?.url;
|
|
1751
1835
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2002,7 +2086,7 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
|
|
|
2002
2086
|
* @throws {RequiredError}
|
|
2003
2087
|
*/
|
|
2004
2088
|
queryLogHits(requestParameters: ClusterLogApiQueryLogHitsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogHitsResponse> {
|
|
2005
|
-
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));
|
|
2089
|
+
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));
|
|
2006
2090
|
},
|
|
2007
2091
|
/**
|
|
2008
2092
|
* Query pod logs of a cluster
|
|
@@ -3018,6 +3102,104 @@ export interface ClusterLogApiQueryLogHitsRequest {
|
|
|
3018
3102
|
* @memberof ClusterLogApiQueryLogHits
|
|
3019
3103
|
*/
|
|
3020
3104
|
readonly query?: string
|
|
3105
|
+
|
|
3106
|
+
/**
|
|
3107
|
+
* Minimum slow log execution time in seconds. Only applies when logType=slow.
|
|
3108
|
+
* @type {number}
|
|
3109
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3110
|
+
*/
|
|
3111
|
+
readonly minExecutionTime?: number
|
|
3112
|
+
|
|
3113
|
+
/**
|
|
3114
|
+
* Maximum slow log execution time in seconds. Only applies when logType=slow.
|
|
3115
|
+
* @type {number}
|
|
3116
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3117
|
+
*/
|
|
3118
|
+
readonly maxExecutionTime?: number
|
|
3119
|
+
|
|
3120
|
+
/**
|
|
3121
|
+
* Minimum slow log lock time in seconds. Only applies when logType=slow.
|
|
3122
|
+
* @type {number}
|
|
3123
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3124
|
+
*/
|
|
3125
|
+
readonly minLockTime?: number
|
|
3126
|
+
|
|
3127
|
+
/**
|
|
3128
|
+
* Maximum slow log lock time in seconds. Only applies when logType=slow.
|
|
3129
|
+
* @type {number}
|
|
3130
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3131
|
+
*/
|
|
3132
|
+
readonly maxLockTime?: number
|
|
3133
|
+
|
|
3134
|
+
/**
|
|
3135
|
+
*
|
|
3136
|
+
* @type {number}
|
|
3137
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3138
|
+
*/
|
|
3139
|
+
readonly minRowsExamined?: number
|
|
3140
|
+
|
|
3141
|
+
/**
|
|
3142
|
+
*
|
|
3143
|
+
* @type {number}
|
|
3144
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3145
|
+
*/
|
|
3146
|
+
readonly maxRowsExamined?: number
|
|
3147
|
+
|
|
3148
|
+
/**
|
|
3149
|
+
*
|
|
3150
|
+
* @type {number}
|
|
3151
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3152
|
+
*/
|
|
3153
|
+
readonly minRowsSent?: number
|
|
3154
|
+
|
|
3155
|
+
/**
|
|
3156
|
+
*
|
|
3157
|
+
* @type {number}
|
|
3158
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3159
|
+
*/
|
|
3160
|
+
readonly maxRowsSent?: number
|
|
3161
|
+
|
|
3162
|
+
/**
|
|
3163
|
+
*
|
|
3164
|
+
* @type {string}
|
|
3165
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3166
|
+
*/
|
|
3167
|
+
readonly dbName?: string
|
|
3168
|
+
|
|
3169
|
+
/**
|
|
3170
|
+
*
|
|
3171
|
+
* @type {string}
|
|
3172
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3173
|
+
*/
|
|
3174
|
+
readonly userName?: string
|
|
3175
|
+
|
|
3176
|
+
/**
|
|
3177
|
+
*
|
|
3178
|
+
* @type {string}
|
|
3179
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3180
|
+
*/
|
|
3181
|
+
readonly clientIp?: string
|
|
3182
|
+
|
|
3183
|
+
/**
|
|
3184
|
+
*
|
|
3185
|
+
* @type {string}
|
|
3186
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3187
|
+
*/
|
|
3188
|
+
readonly appName?: string
|
|
3189
|
+
|
|
3190
|
+
/**
|
|
3191
|
+
*
|
|
3192
|
+
* @type {string}
|
|
3193
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3194
|
+
*/
|
|
3195
|
+
readonly templateId?: string
|
|
3196
|
+
|
|
3197
|
+
/**
|
|
3198
|
+
*
|
|
3199
|
+
* @type {boolean}
|
|
3200
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3201
|
+
*/
|
|
3202
|
+
readonly unclassifiedOnly?: boolean
|
|
3021
3203
|
}
|
|
3022
3204
|
|
|
3023
3205
|
/**
|
|
@@ -3767,7 +3949,7 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
|
|
|
3767
3949
|
* @memberof ClusterLogApi
|
|
3768
3950
|
*/
|
|
3769
3951
|
public queryLogHits(requestParameters: ClusterLogApiQueryLogHitsRequest, options?: RawAxiosRequestConfig) {
|
|
3770
|
-
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));
|
|
3952
|
+
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));
|
|
3771
3953
|
}
|
|
3772
3954
|
|
|
3773
3955
|
/**
|