kb-cloud-client-typescript 2.3.0-alpha.72 → 2.3.0-alpha.74
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 +234 -2
- package/dist/adminapi/apis/aiagent-api.d.ts.map +1 -1
- package/dist/adminapi/apis/aiagent-api.js +243 -5
- package/dist/adminapi/apis/aiagent-api.js.map +1 -1
- package/dist/adminapi/models/ai-agent-conversation.d.ts +6 -0
- package/dist/adminapi/models/ai-agent-conversation.d.ts.map +1 -1
- package/dist/adminapi/models/ai-agent-create-conversation-request.d.ts +6 -0
- package/dist/adminapi/models/ai-agent-create-conversation-request.d.ts.map +1 -1
- package/dist/adminapi/models/ai-agent-delete-conversation-response.d.ts +31 -0
- package/dist/adminapi/models/ai-agent-delete-conversation-response.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-delete-conversation-response.js +16 -0
- package/dist/adminapi/models/ai-agent-delete-conversation-response.js.map +1 -0
- package/dist/adminapi/models/ai-agent-event-type.d.ts +1 -0
- package/dist/adminapi/models/ai-agent-event-type.d.ts.map +1 -1
- package/dist/adminapi/models/ai-agent-event-type.js +1 -0
- package/dist/adminapi/models/ai-agent-event-type.js.map +1 -1
- package/dist/adminapi/models/ai-agent-message-part-type.d.ts +1 -0
- package/dist/adminapi/models/ai-agent-message-part-type.d.ts.map +1 -1
- package/dist/adminapi/models/ai-agent-message-part-type.js +1 -0
- package/dist/adminapi/models/ai-agent-message-part-type.js.map +1 -1
- package/dist/adminapi/models/ai-agent-turn-action-list.d.ts +26 -0
- package/dist/adminapi/models/ai-agent-turn-action-list.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-turn-action-list.js +16 -0
- package/dist/adminapi/models/ai-agent-turn-action-list.js.map +1 -0
- package/dist/adminapi/models/ai-agent-turn-action.d.ts +106 -0
- package/dist/adminapi/models/ai-agent-turn-action.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-turn-action.js +16 -0
- package/dist/adminapi/models/ai-agent-turn-action.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +3 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +3 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/apis/aiagent-api.d.ts +234 -2
- package/dist/openapi/apis/aiagent-api.d.ts.map +1 -1
- package/dist/openapi/apis/aiagent-api.js +243 -5
- package/dist/openapi/apis/aiagent-api.js.map +1 -1
- package/dist/openapi/models/ai-agent-conversation.d.ts +6 -0
- package/dist/openapi/models/ai-agent-conversation.d.ts.map +1 -1
- package/dist/openapi/models/ai-agent-create-conversation-request.d.ts +6 -0
- package/dist/openapi/models/ai-agent-create-conversation-request.d.ts.map +1 -1
- package/dist/openapi/models/ai-agent-delete-conversation-response.d.ts +31 -0
- package/dist/openapi/models/ai-agent-delete-conversation-response.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-delete-conversation-response.js +16 -0
- package/dist/openapi/models/ai-agent-delete-conversation-response.js.map +1 -0
- package/dist/openapi/models/ai-agent-event-type.d.ts +1 -0
- package/dist/openapi/models/ai-agent-event-type.d.ts.map +1 -1
- package/dist/openapi/models/ai-agent-event-type.js +1 -0
- package/dist/openapi/models/ai-agent-event-type.js.map +1 -1
- package/dist/openapi/models/ai-agent-message-part-type.d.ts +1 -0
- package/dist/openapi/models/ai-agent-message-part-type.d.ts.map +1 -1
- package/dist/openapi/models/ai-agent-message-part-type.js +1 -0
- package/dist/openapi/models/ai-agent-message-part-type.js.map +1 -1
- package/dist/openapi/models/ai-agent-turn-action-list.d.ts +26 -0
- package/dist/openapi/models/ai-agent-turn-action-list.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-turn-action-list.js +16 -0
- package/dist/openapi/models/ai-agent-turn-action-list.js.map +1 -0
- package/dist/openapi/models/ai-agent-turn-action.d.ts +106 -0
- package/dist/openapi/models/ai-agent-turn-action.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-turn-action.js +16 -0
- package/dist/openapi/models/ai-agent-turn-action.js.map +1 -0
- package/dist/openapi/models/index.d.ts +3 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +3 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/sdk/adminapi/.openapi-generator/FILES +3 -0
- package/src/sdk/adminapi/apis/aiagent-api.ts +399 -5
- package/src/sdk/adminapi/models/ai-agent-conversation.ts +6 -0
- package/src/sdk/adminapi/models/ai-agent-create-conversation-request.ts +6 -0
- package/src/sdk/adminapi/models/ai-agent-delete-conversation-response.ts +36 -0
- package/src/sdk/adminapi/models/ai-agent-event-type.ts +1 -0
- package/src/sdk/adminapi/models/ai-agent-message-part-type.ts +1 -0
- package/src/sdk/adminapi/models/ai-agent-turn-action-list.ts +33 -0
- package/src/sdk/adminapi/models/ai-agent-turn-action.ts +113 -0
- package/src/sdk/adminapi/models/index.ts +3 -0
- package/src/sdk/adminapi.yaml +198 -0
- package/src/sdk/openapi/.openapi-generator/FILES +3 -0
- package/src/sdk/openapi/apis/aiagent-api.ts +399 -5
- package/src/sdk/openapi/models/ai-agent-conversation.ts +6 -0
- package/src/sdk/openapi/models/ai-agent-create-conversation-request.ts +6 -0
- package/src/sdk/openapi/models/ai-agent-delete-conversation-response.ts +36 -0
- package/src/sdk/openapi/models/ai-agent-event-type.ts +1 -0
- package/src/sdk/openapi/models/ai-agent-message-part-type.ts +1 -0
- package/src/sdk/openapi/models/ai-agent-turn-action-list.ts +33 -0
- package/src/sdk/openapi/models/ai-agent-turn-action.ts +113 -0
- package/src/sdk/openapi/models/index.ts +3 -0
- package/src/sdk/openapi.yaml +198 -0
|
@@ -30,6 +30,8 @@ import type { AiAgentConversationList } from '../models';
|
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
import type { AiAgentCreateConversationRequest } from '../models';
|
|
32
32
|
// @ts-ignore
|
|
33
|
+
import type { AiAgentDeleteConversationResponse } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
33
35
|
import type { AiAgentEvent } from '../models';
|
|
34
36
|
// @ts-ignore
|
|
35
37
|
import type { AiAgentMessageList } from '../models';
|
|
@@ -45,6 +47,10 @@ import type { AiAgentStopConversationResponse } from '../models';
|
|
|
45
47
|
import type { AiAgentToolConfirmationDecisionRequest } from '../models';
|
|
46
48
|
// @ts-ignore
|
|
47
49
|
import type { AiAgentToolConfirmationDecisionResponse } from '../models';
|
|
50
|
+
// @ts-ignore
|
|
51
|
+
import type { AiAgentTurnAction } from '../models';
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
import type { AiAgentTurnActionList } from '../models';
|
|
48
54
|
/**
|
|
49
55
|
* AIAgentApi - axios parameter creator
|
|
50
56
|
* @export
|
|
@@ -143,6 +149,47 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
143
149
|
options: localVarRequestOptions,
|
|
144
150
|
};
|
|
145
151
|
},
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @summary Delete an AI diagnosis conversation
|
|
155
|
+
* @param {string} orgName
|
|
156
|
+
* @param {string} conversationId
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
deleteAIAgentConversation: async (orgName: string, conversationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
161
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
162
|
+
assertParamExists('deleteAIAgentConversation', 'orgName', orgName)
|
|
163
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
164
|
+
assertParamExists('deleteAIAgentConversation', 'conversationId', conversationId)
|
|
165
|
+
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}`
|
|
166
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
167
|
+
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
168
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
169
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
170
|
+
let baseOptions;
|
|
171
|
+
if (configuration) {
|
|
172
|
+
baseOptions = configuration.baseOptions;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
176
|
+
const localVarHeaderParameter = {} as any;
|
|
177
|
+
const localVarQueryParameter = {} as any;
|
|
178
|
+
|
|
179
|
+
// authentication BearerToken required
|
|
180
|
+
await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
185
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
186
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
187
|
+
|
|
188
|
+
return {
|
|
189
|
+
url: toPathString(localVarUrlObj),
|
|
190
|
+
options: localVarRequestOptions,
|
|
191
|
+
};
|
|
192
|
+
},
|
|
146
193
|
/**
|
|
147
194
|
*
|
|
148
195
|
* @summary Get an AI diagnosis conversation
|
|
@@ -212,6 +259,51 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
212
259
|
|
|
213
260
|
|
|
214
261
|
|
|
262
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
263
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
264
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
265
|
+
|
|
266
|
+
return {
|
|
267
|
+
url: toPathString(localVarUrlObj),
|
|
268
|
+
options: localVarRequestOptions,
|
|
269
|
+
};
|
|
270
|
+
},
|
|
271
|
+
/**
|
|
272
|
+
*
|
|
273
|
+
* @summary Get one stable AI diagnosis turn process action
|
|
274
|
+
* @param {string} orgName
|
|
275
|
+
* @param {string} conversationId
|
|
276
|
+
* @param {string} actionId
|
|
277
|
+
* @param {*} [options] Override http request option.
|
|
278
|
+
* @throws {RequiredError}
|
|
279
|
+
*/
|
|
280
|
+
getAIAgentTurnAction: async (orgName: string, conversationId: string, actionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
281
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
282
|
+
assertParamExists('getAIAgentTurnAction', 'orgName', orgName)
|
|
283
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
284
|
+
assertParamExists('getAIAgentTurnAction', 'conversationId', conversationId)
|
|
285
|
+
// verify required parameter 'actionId' is not null or undefined
|
|
286
|
+
assertParamExists('getAIAgentTurnAction', 'actionId', actionId)
|
|
287
|
+
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/turn-actions/{actionId}`
|
|
288
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
289
|
+
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)))
|
|
290
|
+
.replace(`{${"actionId"}}`, encodeURIComponent(String(actionId)));
|
|
291
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
292
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
293
|
+
let baseOptions;
|
|
294
|
+
if (configuration) {
|
|
295
|
+
baseOptions = configuration.baseOptions;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
299
|
+
const localVarHeaderParameter = {} as any;
|
|
300
|
+
const localVarQueryParameter = {} as any;
|
|
301
|
+
|
|
302
|
+
// authentication BearerToken required
|
|
303
|
+
await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
215
307
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
216
308
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
217
309
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -227,10 +319,11 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
227
319
|
* @param {string} orgName
|
|
228
320
|
* @param {number} [limit]
|
|
229
321
|
* @param {string} [after]
|
|
322
|
+
* @param {string} [clusterName]
|
|
230
323
|
* @param {*} [options] Override http request option.
|
|
231
324
|
* @throws {RequiredError}
|
|
232
325
|
*/
|
|
233
|
-
listAIAgentConversations: async (orgName: string, limit?: number, after?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
326
|
+
listAIAgentConversations: async (orgName: string, limit?: number, after?: string, clusterName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
234
327
|
// verify required parameter 'orgName' is not null or undefined
|
|
235
328
|
assertParamExists('listAIAgentConversations', 'orgName', orgName)
|
|
236
329
|
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations`
|
|
@@ -257,6 +350,10 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
257
350
|
localVarQueryParameter['after'] = after;
|
|
258
351
|
}
|
|
259
352
|
|
|
353
|
+
if (clusterName !== undefined) {
|
|
354
|
+
localVarQueryParameter['clusterName'] = clusterName;
|
|
355
|
+
}
|
|
356
|
+
|
|
260
357
|
|
|
261
358
|
|
|
262
359
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -310,6 +407,62 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
310
407
|
|
|
311
408
|
|
|
312
409
|
|
|
410
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
411
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
412
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
413
|
+
|
|
414
|
+
return {
|
|
415
|
+
url: toPathString(localVarUrlObj),
|
|
416
|
+
options: localVarRequestOptions,
|
|
417
|
+
};
|
|
418
|
+
},
|
|
419
|
+
/**
|
|
420
|
+
*
|
|
421
|
+
* @summary List stable AI diagnosis turn process actions
|
|
422
|
+
* @param {string} orgName
|
|
423
|
+
* @param {string} conversationId
|
|
424
|
+
* @param {string} [turnId]
|
|
425
|
+
* @param {string} [after]
|
|
426
|
+
* @param {number} [limit]
|
|
427
|
+
* @param {*} [options] Override http request option.
|
|
428
|
+
* @throws {RequiredError}
|
|
429
|
+
*/
|
|
430
|
+
listAIAgentTurnActions: async (orgName: string, conversationId: string, turnId?: string, after?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
431
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
432
|
+
assertParamExists('listAIAgentTurnActions', 'orgName', orgName)
|
|
433
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
434
|
+
assertParamExists('listAIAgentTurnActions', 'conversationId', conversationId)
|
|
435
|
+
const localVarPath = `/api/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/turn-actions`
|
|
436
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
437
|
+
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
438
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
439
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
440
|
+
let baseOptions;
|
|
441
|
+
if (configuration) {
|
|
442
|
+
baseOptions = configuration.baseOptions;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
446
|
+
const localVarHeaderParameter = {} as any;
|
|
447
|
+
const localVarQueryParameter = {} as any;
|
|
448
|
+
|
|
449
|
+
// authentication BearerToken required
|
|
450
|
+
await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
|
|
451
|
+
|
|
452
|
+
if (turnId !== undefined) {
|
|
453
|
+
localVarQueryParameter['turnId'] = turnId;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
if (after !== undefined) {
|
|
457
|
+
localVarQueryParameter['after'] = after;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
if (limit !== undefined) {
|
|
461
|
+
localVarQueryParameter['limit'] = limit;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
313
466
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
314
467
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
315
468
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -542,6 +695,20 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
542
695
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.createAIAgentConversation']?.[localVarOperationServerIndex]?.url;
|
|
543
696
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
544
697
|
},
|
|
698
|
+
/**
|
|
699
|
+
*
|
|
700
|
+
* @summary Delete an AI diagnosis conversation
|
|
701
|
+
* @param {string} orgName
|
|
702
|
+
* @param {string} conversationId
|
|
703
|
+
* @param {*} [options] Override http request option.
|
|
704
|
+
* @throws {RequiredError}
|
|
705
|
+
*/
|
|
706
|
+
async deleteAIAgentConversation(orgName: string, conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentDeleteConversationResponse>> {
|
|
707
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAIAgentConversation(orgName, conversationId, options);
|
|
708
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
709
|
+
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.deleteAIAgentConversation']?.[localVarOperationServerIndex]?.url;
|
|
710
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
711
|
+
},
|
|
545
712
|
/**
|
|
546
713
|
*
|
|
547
714
|
* @summary Get an AI diagnosis conversation
|
|
@@ -569,17 +736,33 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
569
736
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.getAIAgentStatus']?.[localVarOperationServerIndex]?.url;
|
|
570
737
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
571
738
|
},
|
|
739
|
+
/**
|
|
740
|
+
*
|
|
741
|
+
* @summary Get one stable AI diagnosis turn process action
|
|
742
|
+
* @param {string} orgName
|
|
743
|
+
* @param {string} conversationId
|
|
744
|
+
* @param {string} actionId
|
|
745
|
+
* @param {*} [options] Override http request option.
|
|
746
|
+
* @throws {RequiredError}
|
|
747
|
+
*/
|
|
748
|
+
async getAIAgentTurnAction(orgName: string, conversationId: string, actionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentTurnAction>> {
|
|
749
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentTurnAction(orgName, conversationId, actionId, options);
|
|
750
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
751
|
+
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.getAIAgentTurnAction']?.[localVarOperationServerIndex]?.url;
|
|
752
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
753
|
+
},
|
|
572
754
|
/**
|
|
573
755
|
*
|
|
574
756
|
* @summary List AI diagnosis conversations
|
|
575
757
|
* @param {string} orgName
|
|
576
758
|
* @param {number} [limit]
|
|
577
759
|
* @param {string} [after]
|
|
760
|
+
* @param {string} [clusterName]
|
|
578
761
|
* @param {*} [options] Override http request option.
|
|
579
762
|
* @throws {RequiredError}
|
|
580
763
|
*/
|
|
581
|
-
async listAIAgentConversations(orgName: string, limit?: number, after?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentConversationList>> {
|
|
582
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentConversations(orgName, limit, after, options);
|
|
764
|
+
async listAIAgentConversations(orgName: string, limit?: number, after?: string, clusterName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentConversationList>> {
|
|
765
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentConversations(orgName, limit, after, clusterName, options);
|
|
583
766
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
584
767
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.listAIAgentConversations']?.[localVarOperationServerIndex]?.url;
|
|
585
768
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -600,6 +783,23 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
600
783
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.listAIAgentMessages']?.[localVarOperationServerIndex]?.url;
|
|
601
784
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
602
785
|
},
|
|
786
|
+
/**
|
|
787
|
+
*
|
|
788
|
+
* @summary List stable AI diagnosis turn process actions
|
|
789
|
+
* @param {string} orgName
|
|
790
|
+
* @param {string} conversationId
|
|
791
|
+
* @param {string} [turnId]
|
|
792
|
+
* @param {string} [after]
|
|
793
|
+
* @param {number} [limit]
|
|
794
|
+
* @param {*} [options] Override http request option.
|
|
795
|
+
* @throws {RequiredError}
|
|
796
|
+
*/
|
|
797
|
+
async listAIAgentTurnActions(orgName: string, conversationId: string, turnId?: string, after?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentTurnActionList>> {
|
|
798
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentTurnActions(orgName, conversationId, turnId, after, limit, options);
|
|
799
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
800
|
+
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.listAIAgentTurnActions']?.[localVarOperationServerIndex]?.url;
|
|
801
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
802
|
+
},
|
|
603
803
|
/**
|
|
604
804
|
*
|
|
605
805
|
* @summary Reject one AI diagnosis tool confirmation
|
|
@@ -690,6 +890,16 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
690
890
|
createAIAgentConversation(requestParameters: AIAgentApiCreateAIAgentConversationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentConversation> {
|
|
691
891
|
return localVarFp.createAIAgentConversation(requestParameters.orgName, requestParameters.aiAgentCreateConversationRequest, options).then((request) => request(axios, basePath));
|
|
692
892
|
},
|
|
893
|
+
/**
|
|
894
|
+
*
|
|
895
|
+
* @summary Delete an AI diagnosis conversation
|
|
896
|
+
* @param {AIAgentApiDeleteAIAgentConversationRequest} requestParameters Request parameters.
|
|
897
|
+
* @param {*} [options] Override http request option.
|
|
898
|
+
* @throws {RequiredError}
|
|
899
|
+
*/
|
|
900
|
+
deleteAIAgentConversation(requestParameters: AIAgentApiDeleteAIAgentConversationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentDeleteConversationResponse> {
|
|
901
|
+
return localVarFp.deleteAIAgentConversation(requestParameters.orgName, requestParameters.conversationId, options).then((request) => request(axios, basePath));
|
|
902
|
+
},
|
|
693
903
|
/**
|
|
694
904
|
*
|
|
695
905
|
* @summary Get an AI diagnosis conversation
|
|
@@ -710,6 +920,16 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
710
920
|
getAIAgentStatus(requestParameters: AIAgentApiGetAIAgentStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentRuntimeStatus> {
|
|
711
921
|
return localVarFp.getAIAgentStatus(requestParameters.orgName, options).then((request) => request(axios, basePath));
|
|
712
922
|
},
|
|
923
|
+
/**
|
|
924
|
+
*
|
|
925
|
+
* @summary Get one stable AI diagnosis turn process action
|
|
926
|
+
* @param {AIAgentApiGetAIAgentTurnActionRequest} requestParameters Request parameters.
|
|
927
|
+
* @param {*} [options] Override http request option.
|
|
928
|
+
* @throws {RequiredError}
|
|
929
|
+
*/
|
|
930
|
+
getAIAgentTurnAction(requestParameters: AIAgentApiGetAIAgentTurnActionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentTurnAction> {
|
|
931
|
+
return localVarFp.getAIAgentTurnAction(requestParameters.orgName, requestParameters.conversationId, requestParameters.actionId, options).then((request) => request(axios, basePath));
|
|
932
|
+
},
|
|
713
933
|
/**
|
|
714
934
|
*
|
|
715
935
|
* @summary List AI diagnosis conversations
|
|
@@ -718,7 +938,7 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
718
938
|
* @throws {RequiredError}
|
|
719
939
|
*/
|
|
720
940
|
listAIAgentConversations(requestParameters: AIAgentApiListAIAgentConversationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentConversationList> {
|
|
721
|
-
return localVarFp.listAIAgentConversations(requestParameters.orgName, requestParameters.limit, requestParameters.after, options).then((request) => request(axios, basePath));
|
|
941
|
+
return localVarFp.listAIAgentConversations(requestParameters.orgName, requestParameters.limit, requestParameters.after, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
722
942
|
},
|
|
723
943
|
/**
|
|
724
944
|
*
|
|
@@ -730,6 +950,16 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
730
950
|
listAIAgentMessages(requestParameters: AIAgentApiListAIAgentMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentMessageList> {
|
|
731
951
|
return localVarFp.listAIAgentMessages(requestParameters.orgName, requestParameters.conversationId, requestParameters.after, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
732
952
|
},
|
|
953
|
+
/**
|
|
954
|
+
*
|
|
955
|
+
* @summary List stable AI diagnosis turn process actions
|
|
956
|
+
* @param {AIAgentApiListAIAgentTurnActionsRequest} requestParameters Request parameters.
|
|
957
|
+
* @param {*} [options] Override http request option.
|
|
958
|
+
* @throws {RequiredError}
|
|
959
|
+
*/
|
|
960
|
+
listAIAgentTurnActions(requestParameters: AIAgentApiListAIAgentTurnActionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentTurnActionList> {
|
|
961
|
+
return localVarFp.listAIAgentTurnActions(requestParameters.orgName, requestParameters.conversationId, requestParameters.turnId, requestParameters.after, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
962
|
+
},
|
|
733
963
|
/**
|
|
734
964
|
*
|
|
735
965
|
* @summary Reject one AI diagnosis tool confirmation
|
|
@@ -799,6 +1029,16 @@ export interface AIAgentApiInterface {
|
|
|
799
1029
|
*/
|
|
800
1030
|
createAIAgentConversation(requestParameters: AIAgentApiCreateAIAgentConversationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentConversation>;
|
|
801
1031
|
|
|
1032
|
+
/**
|
|
1033
|
+
*
|
|
1034
|
+
* @summary Delete an AI diagnosis conversation
|
|
1035
|
+
* @param {AIAgentApiDeleteAIAgentConversationRequest} requestParameters Request parameters.
|
|
1036
|
+
* @param {*} [options] Override http request option.
|
|
1037
|
+
* @throws {RequiredError}
|
|
1038
|
+
* @memberof AIAgentApiInterface
|
|
1039
|
+
*/
|
|
1040
|
+
deleteAIAgentConversation(requestParameters: AIAgentApiDeleteAIAgentConversationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentDeleteConversationResponse>;
|
|
1041
|
+
|
|
802
1042
|
/**
|
|
803
1043
|
*
|
|
804
1044
|
* @summary Get an AI diagnosis conversation
|
|
@@ -819,6 +1059,16 @@ export interface AIAgentApiInterface {
|
|
|
819
1059
|
*/
|
|
820
1060
|
getAIAgentStatus(requestParameters: AIAgentApiGetAIAgentStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentRuntimeStatus>;
|
|
821
1061
|
|
|
1062
|
+
/**
|
|
1063
|
+
*
|
|
1064
|
+
* @summary Get one stable AI diagnosis turn process action
|
|
1065
|
+
* @param {AIAgentApiGetAIAgentTurnActionRequest} requestParameters Request parameters.
|
|
1066
|
+
* @param {*} [options] Override http request option.
|
|
1067
|
+
* @throws {RequiredError}
|
|
1068
|
+
* @memberof AIAgentApiInterface
|
|
1069
|
+
*/
|
|
1070
|
+
getAIAgentTurnAction(requestParameters: AIAgentApiGetAIAgentTurnActionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentTurnAction>;
|
|
1071
|
+
|
|
822
1072
|
/**
|
|
823
1073
|
*
|
|
824
1074
|
* @summary List AI diagnosis conversations
|
|
@@ -839,6 +1089,16 @@ export interface AIAgentApiInterface {
|
|
|
839
1089
|
*/
|
|
840
1090
|
listAIAgentMessages(requestParameters: AIAgentApiListAIAgentMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentMessageList>;
|
|
841
1091
|
|
|
1092
|
+
/**
|
|
1093
|
+
*
|
|
1094
|
+
* @summary List stable AI diagnosis turn process actions
|
|
1095
|
+
* @param {AIAgentApiListAIAgentTurnActionsRequest} requestParameters Request parameters.
|
|
1096
|
+
* @param {*} [options] Override http request option.
|
|
1097
|
+
* @throws {RequiredError}
|
|
1098
|
+
* @memberof AIAgentApiInterface
|
|
1099
|
+
*/
|
|
1100
|
+
listAIAgentTurnActions(requestParameters: AIAgentApiListAIAgentTurnActionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentTurnActionList>;
|
|
1101
|
+
|
|
842
1102
|
/**
|
|
843
1103
|
*
|
|
844
1104
|
* @summary Reject one AI diagnosis tool confirmation
|
|
@@ -937,6 +1197,27 @@ export interface AIAgentApiCreateAIAgentConversationRequest {
|
|
|
937
1197
|
readonly aiAgentCreateConversationRequest: AiAgentCreateConversationRequest
|
|
938
1198
|
}
|
|
939
1199
|
|
|
1200
|
+
/**
|
|
1201
|
+
* Request parameters for deleteAIAgentConversation operation in AIAgentApi.
|
|
1202
|
+
* @export
|
|
1203
|
+
* @interface AIAgentApiDeleteAIAgentConversationRequest
|
|
1204
|
+
*/
|
|
1205
|
+
export interface AIAgentApiDeleteAIAgentConversationRequest {
|
|
1206
|
+
/**
|
|
1207
|
+
*
|
|
1208
|
+
* @type {string}
|
|
1209
|
+
* @memberof AIAgentApiDeleteAIAgentConversation
|
|
1210
|
+
*/
|
|
1211
|
+
readonly orgName: string
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
*
|
|
1215
|
+
* @type {string}
|
|
1216
|
+
* @memberof AIAgentApiDeleteAIAgentConversation
|
|
1217
|
+
*/
|
|
1218
|
+
readonly conversationId: string
|
|
1219
|
+
}
|
|
1220
|
+
|
|
940
1221
|
/**
|
|
941
1222
|
* Request parameters for getAIAgentConversation operation in AIAgentApi.
|
|
942
1223
|
* @export
|
|
@@ -972,6 +1253,34 @@ export interface AIAgentApiGetAIAgentStatusRequest {
|
|
|
972
1253
|
readonly orgName: string
|
|
973
1254
|
}
|
|
974
1255
|
|
|
1256
|
+
/**
|
|
1257
|
+
* Request parameters for getAIAgentTurnAction operation in AIAgentApi.
|
|
1258
|
+
* @export
|
|
1259
|
+
* @interface AIAgentApiGetAIAgentTurnActionRequest
|
|
1260
|
+
*/
|
|
1261
|
+
export interface AIAgentApiGetAIAgentTurnActionRequest {
|
|
1262
|
+
/**
|
|
1263
|
+
*
|
|
1264
|
+
* @type {string}
|
|
1265
|
+
* @memberof AIAgentApiGetAIAgentTurnAction
|
|
1266
|
+
*/
|
|
1267
|
+
readonly orgName: string
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
*
|
|
1271
|
+
* @type {string}
|
|
1272
|
+
* @memberof AIAgentApiGetAIAgentTurnAction
|
|
1273
|
+
*/
|
|
1274
|
+
readonly conversationId: string
|
|
1275
|
+
|
|
1276
|
+
/**
|
|
1277
|
+
*
|
|
1278
|
+
* @type {string}
|
|
1279
|
+
* @memberof AIAgentApiGetAIAgentTurnAction
|
|
1280
|
+
*/
|
|
1281
|
+
readonly actionId: string
|
|
1282
|
+
}
|
|
1283
|
+
|
|
975
1284
|
/**
|
|
976
1285
|
* Request parameters for listAIAgentConversations operation in AIAgentApi.
|
|
977
1286
|
* @export
|
|
@@ -998,6 +1307,13 @@ export interface AIAgentApiListAIAgentConversationsRequest {
|
|
|
998
1307
|
* @memberof AIAgentApiListAIAgentConversations
|
|
999
1308
|
*/
|
|
1000
1309
|
readonly after?: string
|
|
1310
|
+
|
|
1311
|
+
/**
|
|
1312
|
+
*
|
|
1313
|
+
* @type {string}
|
|
1314
|
+
* @memberof AIAgentApiListAIAgentConversations
|
|
1315
|
+
*/
|
|
1316
|
+
readonly clusterName?: string
|
|
1001
1317
|
}
|
|
1002
1318
|
|
|
1003
1319
|
/**
|
|
@@ -1035,6 +1351,48 @@ export interface AIAgentApiListAIAgentMessagesRequest {
|
|
|
1035
1351
|
readonly limit?: number
|
|
1036
1352
|
}
|
|
1037
1353
|
|
|
1354
|
+
/**
|
|
1355
|
+
* Request parameters for listAIAgentTurnActions operation in AIAgentApi.
|
|
1356
|
+
* @export
|
|
1357
|
+
* @interface AIAgentApiListAIAgentTurnActionsRequest
|
|
1358
|
+
*/
|
|
1359
|
+
export interface AIAgentApiListAIAgentTurnActionsRequest {
|
|
1360
|
+
/**
|
|
1361
|
+
*
|
|
1362
|
+
* @type {string}
|
|
1363
|
+
* @memberof AIAgentApiListAIAgentTurnActions
|
|
1364
|
+
*/
|
|
1365
|
+
readonly orgName: string
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
*
|
|
1369
|
+
* @type {string}
|
|
1370
|
+
* @memberof AIAgentApiListAIAgentTurnActions
|
|
1371
|
+
*/
|
|
1372
|
+
readonly conversationId: string
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
*
|
|
1376
|
+
* @type {string}
|
|
1377
|
+
* @memberof AIAgentApiListAIAgentTurnActions
|
|
1378
|
+
*/
|
|
1379
|
+
readonly turnId?: string
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
*
|
|
1383
|
+
* @type {string}
|
|
1384
|
+
* @memberof AIAgentApiListAIAgentTurnActions
|
|
1385
|
+
*/
|
|
1386
|
+
readonly after?: string
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
*
|
|
1390
|
+
* @type {number}
|
|
1391
|
+
* @memberof AIAgentApiListAIAgentTurnActions
|
|
1392
|
+
*/
|
|
1393
|
+
readonly limit?: number
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1038
1396
|
/**
|
|
1039
1397
|
* Request parameters for rejectAIAgentToolConfirmation operation in AIAgentApi.
|
|
1040
1398
|
* @export
|
|
@@ -1178,6 +1536,18 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1178
1536
|
return AIAgentApiFp(this.configuration).createAIAgentConversation(requestParameters.orgName, requestParameters.aiAgentCreateConversationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1179
1537
|
}
|
|
1180
1538
|
|
|
1539
|
+
/**
|
|
1540
|
+
*
|
|
1541
|
+
* @summary Delete an AI diagnosis conversation
|
|
1542
|
+
* @param {AIAgentApiDeleteAIAgentConversationRequest} requestParameters Request parameters.
|
|
1543
|
+
* @param {*} [options] Override http request option.
|
|
1544
|
+
* @throws {RequiredError}
|
|
1545
|
+
* @memberof AIAgentApi
|
|
1546
|
+
*/
|
|
1547
|
+
public deleteAIAgentConversation(requestParameters: AIAgentApiDeleteAIAgentConversationRequest, options?: RawAxiosRequestConfig) {
|
|
1548
|
+
return AIAgentApiFp(this.configuration).deleteAIAgentConversation(requestParameters.orgName, requestParameters.conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1181
1551
|
/**
|
|
1182
1552
|
*
|
|
1183
1553
|
* @summary Get an AI diagnosis conversation
|
|
@@ -1202,6 +1572,18 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1202
1572
|
return AIAgentApiFp(this.configuration).getAIAgentStatus(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
|
|
1203
1573
|
}
|
|
1204
1574
|
|
|
1575
|
+
/**
|
|
1576
|
+
*
|
|
1577
|
+
* @summary Get one stable AI diagnosis turn process action
|
|
1578
|
+
* @param {AIAgentApiGetAIAgentTurnActionRequest} requestParameters Request parameters.
|
|
1579
|
+
* @param {*} [options] Override http request option.
|
|
1580
|
+
* @throws {RequiredError}
|
|
1581
|
+
* @memberof AIAgentApi
|
|
1582
|
+
*/
|
|
1583
|
+
public getAIAgentTurnAction(requestParameters: AIAgentApiGetAIAgentTurnActionRequest, options?: RawAxiosRequestConfig) {
|
|
1584
|
+
return AIAgentApiFp(this.configuration).getAIAgentTurnAction(requestParameters.orgName, requestParameters.conversationId, requestParameters.actionId, options).then((request) => request(this.axios, this.basePath));
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1205
1587
|
/**
|
|
1206
1588
|
*
|
|
1207
1589
|
* @summary List AI diagnosis conversations
|
|
@@ -1211,7 +1593,7 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1211
1593
|
* @memberof AIAgentApi
|
|
1212
1594
|
*/
|
|
1213
1595
|
public listAIAgentConversations(requestParameters: AIAgentApiListAIAgentConversationsRequest, options?: RawAxiosRequestConfig) {
|
|
1214
|
-
return AIAgentApiFp(this.configuration).listAIAgentConversations(requestParameters.orgName, requestParameters.limit, requestParameters.after, options).then((request) => request(this.axios, this.basePath));
|
|
1596
|
+
return AIAgentApiFp(this.configuration).listAIAgentConversations(requestParameters.orgName, requestParameters.limit, requestParameters.after, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
1215
1597
|
}
|
|
1216
1598
|
|
|
1217
1599
|
/**
|
|
@@ -1226,6 +1608,18 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1226
1608
|
return AIAgentApiFp(this.configuration).listAIAgentMessages(requestParameters.orgName, requestParameters.conversationId, requestParameters.after, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
1227
1609
|
}
|
|
1228
1610
|
|
|
1611
|
+
/**
|
|
1612
|
+
*
|
|
1613
|
+
* @summary List stable AI diagnosis turn process actions
|
|
1614
|
+
* @param {AIAgentApiListAIAgentTurnActionsRequest} requestParameters Request parameters.
|
|
1615
|
+
* @param {*} [options] Override http request option.
|
|
1616
|
+
* @throws {RequiredError}
|
|
1617
|
+
* @memberof AIAgentApi
|
|
1618
|
+
*/
|
|
1619
|
+
public listAIAgentTurnActions(requestParameters: AIAgentApiListAIAgentTurnActionsRequest, options?: RawAxiosRequestConfig) {
|
|
1620
|
+
return AIAgentApiFp(this.configuration).listAIAgentTurnActions(requestParameters.orgName, requestParameters.conversationId, requestParameters.turnId, requestParameters.after, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1229
1623
|
/**
|
|
1230
1624
|
*
|
|
1231
1625
|
* @summary Reject one AI diagnosis tool confirmation
|
|
@@ -35,6 +35,12 @@ export interface AiAgentConversation {
|
|
|
35
35
|
* @memberof AiAgentConversation
|
|
36
36
|
*/
|
|
37
37
|
'conversationId': string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof AiAgentConversation
|
|
42
|
+
*/
|
|
43
|
+
'entryClusterName'?: string | null;
|
|
38
44
|
/**
|
|
39
45
|
*
|
|
40
46
|
* @type {string}
|
|
@@ -32,5 +32,11 @@ export interface AiAgentCreateConversationRequest {
|
|
|
32
32
|
* @memberof AiAgentCreateConversationRequest
|
|
33
33
|
*/
|
|
34
34
|
'model'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof AiAgentCreateConversationRequest
|
|
39
|
+
*/
|
|
40
|
+
'entryClusterName'?: string | null;
|
|
35
41
|
}
|
|
36
42
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* ***KubeBlocks Cloud API*** is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface AiAgentDeleteConversationResponse
|
|
21
|
+
*/
|
|
22
|
+
export interface AiAgentDeleteConversationResponse {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AiAgentDeleteConversationResponse
|
|
27
|
+
*/
|
|
28
|
+
'conversationId': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AiAgentDeleteConversationResponse
|
|
33
|
+
*/
|
|
34
|
+
'status': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
export const AiAgentEventType = {
|
|
24
24
|
cloud_conversation_ready: 'cloud.conversation.ready',
|
|
25
|
+
cloud_stream_connected: 'cloud.stream.connected',
|
|
25
26
|
cloud_turn_started: 'cloud.turn.started',
|
|
26
27
|
message_delta: 'message.delta',
|
|
27
28
|
message_interim: 'message.interim',
|