kb-cloud-client-typescript 2.3.0-alpha.95 → 2.3.0-alpha.97
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/models/database-option.d.ts +6 -0
- package/dist/adminapi/models/database-option.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/models/database-option.d.ts +6 -0
- package/dist/openapi/models/database-option.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/aiagent-api.ts +264 -0
- package/src/adminapi/models/database-option.ts +6 -0
- package/src/adminapi.yaml +100 -0
- package/src/openapi/apis/aiagent-api.ts +264 -0
- package/src/openapi/models/database-option.ts +6 -0
- package/src/openapi.yaml +100 -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
|
|
@@ -68,6 +68,12 @@ export interface DatabaseOption {
|
|
|
68
68
|
* @memberof DatabaseOption
|
|
69
69
|
*/
|
|
70
70
|
'listOption'?: Array<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Database names that should be visible in database lists but protected from destructive operations.
|
|
73
|
+
* @type {Array<string>}
|
|
74
|
+
* @memberof DatabaseOption
|
|
75
|
+
*/
|
|
76
|
+
'protectedDatabases'?: Array<string>;
|
|
71
77
|
/**
|
|
72
78
|
* The database option cloud be set when creating databases
|
|
73
79
|
* @type {Array<string>}
|
package/src/adminapi.yaml
CHANGED
|
@@ -1414,6 +1414,100 @@ paths:
|
|
|
1414
1414
|
$ref: '#/components/responses/404'
|
|
1415
1415
|
'500':
|
|
1416
1416
|
$ref: '#/components/responses/500'
|
|
1417
|
+
/admin/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/turn-actions/{actionId}/artifacts/{artifactId}/browse:
|
|
1418
|
+
get:
|
|
1419
|
+
tags:
|
|
1420
|
+
- AI Agent
|
|
1421
|
+
operationId: browseAIAgentTurnActionArtifact
|
|
1422
|
+
summary: Browse a generated AI diagnosis report artifact
|
|
1423
|
+
parameters:
|
|
1424
|
+
- name: orgName
|
|
1425
|
+
in: path
|
|
1426
|
+
required: true
|
|
1427
|
+
schema:
|
|
1428
|
+
type: string
|
|
1429
|
+
- name: conversationId
|
|
1430
|
+
in: path
|
|
1431
|
+
required: true
|
|
1432
|
+
schema:
|
|
1433
|
+
type: string
|
|
1434
|
+
- name: actionId
|
|
1435
|
+
in: path
|
|
1436
|
+
required: true
|
|
1437
|
+
schema:
|
|
1438
|
+
type: string
|
|
1439
|
+
- name: artifactId
|
|
1440
|
+
in: path
|
|
1441
|
+
required: true
|
|
1442
|
+
schema:
|
|
1443
|
+
type: string
|
|
1444
|
+
responses:
|
|
1445
|
+
'200':
|
|
1446
|
+
description: Generated report artifact content for browser preview
|
|
1447
|
+
content:
|
|
1448
|
+
application/octet-stream:
|
|
1449
|
+
schema:
|
|
1450
|
+
type: string
|
|
1451
|
+
format: binary
|
|
1452
|
+
'400':
|
|
1453
|
+
$ref: '#/components/responses/400'
|
|
1454
|
+
'401':
|
|
1455
|
+
$ref: '#/components/responses/401'
|
|
1456
|
+
'403':
|
|
1457
|
+
$ref: '#/components/responses/403'
|
|
1458
|
+
'404':
|
|
1459
|
+
$ref: '#/components/responses/404'
|
|
1460
|
+
'500':
|
|
1461
|
+
$ref: '#/components/responses/500'
|
|
1462
|
+
'503':
|
|
1463
|
+
$ref: '#/components/responses/503'
|
|
1464
|
+
/admin/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/turn-actions/{actionId}/artifacts/{artifactId}/download:
|
|
1465
|
+
get:
|
|
1466
|
+
tags:
|
|
1467
|
+
- AI Agent
|
|
1468
|
+
operationId: downloadAIAgentTurnActionArtifact
|
|
1469
|
+
summary: Download a generated AI diagnosis report artifact
|
|
1470
|
+
parameters:
|
|
1471
|
+
- name: orgName
|
|
1472
|
+
in: path
|
|
1473
|
+
required: true
|
|
1474
|
+
schema:
|
|
1475
|
+
type: string
|
|
1476
|
+
- name: conversationId
|
|
1477
|
+
in: path
|
|
1478
|
+
required: true
|
|
1479
|
+
schema:
|
|
1480
|
+
type: string
|
|
1481
|
+
- name: actionId
|
|
1482
|
+
in: path
|
|
1483
|
+
required: true
|
|
1484
|
+
schema:
|
|
1485
|
+
type: string
|
|
1486
|
+
- name: artifactId
|
|
1487
|
+
in: path
|
|
1488
|
+
required: true
|
|
1489
|
+
schema:
|
|
1490
|
+
type: string
|
|
1491
|
+
responses:
|
|
1492
|
+
'200':
|
|
1493
|
+
description: Generated report artifact content
|
|
1494
|
+
content:
|
|
1495
|
+
application/octet-stream:
|
|
1496
|
+
schema:
|
|
1497
|
+
type: string
|
|
1498
|
+
format: binary
|
|
1499
|
+
'400':
|
|
1500
|
+
$ref: '#/components/responses/400'
|
|
1501
|
+
'401':
|
|
1502
|
+
$ref: '#/components/responses/401'
|
|
1503
|
+
'403':
|
|
1504
|
+
$ref: '#/components/responses/403'
|
|
1505
|
+
'404':
|
|
1506
|
+
$ref: '#/components/responses/404'
|
|
1507
|
+
'500':
|
|
1508
|
+
$ref: '#/components/responses/500'
|
|
1509
|
+
'503':
|
|
1510
|
+
$ref: '#/components/responses/503'
|
|
1417
1511
|
/admin/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/events:
|
|
1418
1512
|
get:
|
|
1419
1513
|
tags:
|
|
@@ -29709,6 +29803,12 @@ components:
|
|
|
29709
29803
|
The database option information that will be displayed when listing databases
|
|
29710
29804
|
items:
|
|
29711
29805
|
type: string
|
|
29806
|
+
protectedDatabases:
|
|
29807
|
+
type: array
|
|
29808
|
+
description: |
|
|
29809
|
+
Database names that should be visible in database lists but protected from destructive operations.
|
|
29810
|
+
items:
|
|
29811
|
+
type: string
|
|
29712
29812
|
availableOptions:
|
|
29713
29813
|
type: array
|
|
29714
29814
|
description: |
|