kb-cloud-client-typescript 2.3.0-alpha.72 → 2.3.0-alpha.73
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 +160 -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/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-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 +2 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +2 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/apis/aiagent-api.d.ts +160 -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/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-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 +2 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +2 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/sdk/adminapi/.openapi-generator/FILES +2 -0
- package/src/sdk/adminapi/apis/aiagent-api.ts +271 -0
- package/src/sdk/adminapi/models/ai-agent-event-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 +2 -0
- package/src/sdk/adminapi.yaml +143 -0
- package/src/sdk/openapi/.openapi-generator/FILES +2 -0
- package/src/sdk/openapi/apis/aiagent-api.ts +271 -0
- package/src/sdk/openapi/models/ai-agent-event-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 +2 -0
- package/src/sdk/openapi.yaml +143 -0
|
@@ -0,0 +1,113 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { AiAgentEventType } from './ai-agent-event-type';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface AiAgentTurnAction
|
|
24
|
+
*/
|
|
25
|
+
export interface AiAgentTurnAction {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof AiAgentTurnAction
|
|
30
|
+
*/
|
|
31
|
+
'actionId': string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof AiAgentTurnAction
|
|
36
|
+
*/
|
|
37
|
+
'conversationId': string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof AiAgentTurnAction
|
|
42
|
+
*/
|
|
43
|
+
'turnId': string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof AiAgentTurnAction
|
|
48
|
+
*/
|
|
49
|
+
'messageId'?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {AiAgentEventType}
|
|
53
|
+
* @memberof AiAgentTurnAction
|
|
54
|
+
*/
|
|
55
|
+
'type': AiAgentEventType;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof AiAgentTurnAction
|
|
60
|
+
*/
|
|
61
|
+
'status'?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof AiAgentTurnAction
|
|
66
|
+
*/
|
|
67
|
+
'title': string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof AiAgentTurnAction
|
|
72
|
+
*/
|
|
73
|
+
'summary'?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof AiAgentTurnAction
|
|
78
|
+
*/
|
|
79
|
+
'toolName'?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof AiAgentTurnAction
|
|
84
|
+
*/
|
|
85
|
+
'target'?: string | null;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof AiAgentTurnAction
|
|
90
|
+
*/
|
|
91
|
+
'confirmationId'?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {boolean}
|
|
95
|
+
* @memberof AiAgentTurnAction
|
|
96
|
+
*/
|
|
97
|
+
'hasDetail': boolean;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {{ [key: string]: any; }}
|
|
101
|
+
* @memberof AiAgentTurnAction
|
|
102
|
+
*/
|
|
103
|
+
'detail'?: { [key: string]: any; } | null;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof AiAgentTurnAction
|
|
108
|
+
*/
|
|
109
|
+
'createdAt': string;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
@@ -36,6 +36,8 @@ export * from './ai-agent-stop-conversation-response';
|
|
|
36
36
|
export * from './ai-agent-tool-confirmation-decision-request';
|
|
37
37
|
export * from './ai-agent-tool-confirmation-decision-response';
|
|
38
38
|
export * from './ai-agent-tool-confirmation-status';
|
|
39
|
+
export * from './ai-agent-turn-action';
|
|
40
|
+
export * from './ai-agent-turn-action-list';
|
|
39
41
|
export * from './ai-agent-turn-status';
|
|
40
42
|
export * from './ai-conversation';
|
|
41
43
|
export * from './ai-conversation-list-response';
|
package/src/sdk/openapi.yaml
CHANGED
|
@@ -14493,6 +14493,91 @@ paths:
|
|
|
14493
14493
|
$ref: '#/components/responses/500'
|
|
14494
14494
|
'503':
|
|
14495
14495
|
$ref: '#/components/responses/503'
|
|
14496
|
+
/api/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/turn-actions:
|
|
14497
|
+
get:
|
|
14498
|
+
tags:
|
|
14499
|
+
- AI Agent
|
|
14500
|
+
operationId: listAIAgentTurnActions
|
|
14501
|
+
summary: List stable AI diagnosis turn process actions
|
|
14502
|
+
parameters:
|
|
14503
|
+
- name: orgName
|
|
14504
|
+
in: path
|
|
14505
|
+
required: true
|
|
14506
|
+
schema:
|
|
14507
|
+
type: string
|
|
14508
|
+
- name: conversationId
|
|
14509
|
+
in: path
|
|
14510
|
+
required: true
|
|
14511
|
+
schema:
|
|
14512
|
+
type: string
|
|
14513
|
+
- name: turnId
|
|
14514
|
+
in: query
|
|
14515
|
+
required: false
|
|
14516
|
+
schema:
|
|
14517
|
+
type: string
|
|
14518
|
+
- name: after
|
|
14519
|
+
in: query
|
|
14520
|
+
required: false
|
|
14521
|
+
schema:
|
|
14522
|
+
type: string
|
|
14523
|
+
- name: limit
|
|
14524
|
+
in: query
|
|
14525
|
+
required: false
|
|
14526
|
+
schema:
|
|
14527
|
+
type: integer
|
|
14528
|
+
default: 100
|
|
14529
|
+
responses:
|
|
14530
|
+
'200':
|
|
14531
|
+
description: Stable AI diagnosis process actions
|
|
14532
|
+
content:
|
|
14533
|
+
application/json:
|
|
14534
|
+
schema:
|
|
14535
|
+
$ref: '#/components/schemas/aiAgentTurnActionList'
|
|
14536
|
+
'401':
|
|
14537
|
+
$ref: '#/components/responses/401'
|
|
14538
|
+
'403':
|
|
14539
|
+
$ref: '#/components/responses/403'
|
|
14540
|
+
'404':
|
|
14541
|
+
$ref: '#/components/responses/404'
|
|
14542
|
+
'500':
|
|
14543
|
+
$ref: '#/components/responses/500'
|
|
14544
|
+
/api/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/turn-actions/{actionId}:
|
|
14545
|
+
get:
|
|
14546
|
+
tags:
|
|
14547
|
+
- AI Agent
|
|
14548
|
+
operationId: getAIAgentTurnAction
|
|
14549
|
+
summary: Get one stable AI diagnosis turn process action
|
|
14550
|
+
parameters:
|
|
14551
|
+
- name: orgName
|
|
14552
|
+
in: path
|
|
14553
|
+
required: true
|
|
14554
|
+
schema:
|
|
14555
|
+
type: string
|
|
14556
|
+
- name: conversationId
|
|
14557
|
+
in: path
|
|
14558
|
+
required: true
|
|
14559
|
+
schema:
|
|
14560
|
+
type: string
|
|
14561
|
+
- name: actionId
|
|
14562
|
+
in: path
|
|
14563
|
+
required: true
|
|
14564
|
+
schema:
|
|
14565
|
+
type: string
|
|
14566
|
+
responses:
|
|
14567
|
+
'200':
|
|
14568
|
+
description: AI diagnosis process action detail
|
|
14569
|
+
content:
|
|
14570
|
+
application/json:
|
|
14571
|
+
schema:
|
|
14572
|
+
$ref: '#/components/schemas/aiAgentTurnAction'
|
|
14573
|
+
'401':
|
|
14574
|
+
$ref: '#/components/responses/401'
|
|
14575
|
+
'403':
|
|
14576
|
+
$ref: '#/components/responses/403'
|
|
14577
|
+
'404':
|
|
14578
|
+
$ref: '#/components/responses/404'
|
|
14579
|
+
'500':
|
|
14580
|
+
$ref: '#/components/responses/500'
|
|
14496
14581
|
/api/v1/organizations/{orgName}/ai-agent/conversations/{conversationId}/events:
|
|
14497
14582
|
get:
|
|
14498
14583
|
tags:
|
|
@@ -28647,6 +28732,7 @@ components:
|
|
|
28647
28732
|
type: string
|
|
28648
28733
|
enum:
|
|
28649
28734
|
- cloud.conversation.ready
|
|
28735
|
+
- cloud.stream.connected
|
|
28650
28736
|
- cloud.turn.started
|
|
28651
28737
|
- message.delta
|
|
28652
28738
|
- message.interim
|
|
@@ -28662,6 +28748,63 @@ components:
|
|
|
28662
28748
|
- run.completed
|
|
28663
28749
|
- run.failed
|
|
28664
28750
|
- run.cancelled
|
|
28751
|
+
aiAgentTurnAction:
|
|
28752
|
+
type: object
|
|
28753
|
+
required:
|
|
28754
|
+
- actionId
|
|
28755
|
+
- conversationId
|
|
28756
|
+
- turnId
|
|
28757
|
+
- type
|
|
28758
|
+
- title
|
|
28759
|
+
- hasDetail
|
|
28760
|
+
- createdAt
|
|
28761
|
+
properties:
|
|
28762
|
+
actionId:
|
|
28763
|
+
type: string
|
|
28764
|
+
conversationId:
|
|
28765
|
+
type: string
|
|
28766
|
+
turnId:
|
|
28767
|
+
type: string
|
|
28768
|
+
messageId:
|
|
28769
|
+
type: string
|
|
28770
|
+
x-nullable: true
|
|
28771
|
+
type:
|
|
28772
|
+
$ref: '#/components/schemas/aiAgentEventType'
|
|
28773
|
+
status:
|
|
28774
|
+
type: string
|
|
28775
|
+
x-nullable: true
|
|
28776
|
+
title:
|
|
28777
|
+
type: string
|
|
28778
|
+
summary:
|
|
28779
|
+
type: string
|
|
28780
|
+
x-nullable: true
|
|
28781
|
+
toolName:
|
|
28782
|
+
type: string
|
|
28783
|
+
x-nullable: true
|
|
28784
|
+
target:
|
|
28785
|
+
type: string
|
|
28786
|
+
x-nullable: true
|
|
28787
|
+
confirmationId:
|
|
28788
|
+
type: string
|
|
28789
|
+
x-nullable: true
|
|
28790
|
+
hasDetail:
|
|
28791
|
+
type: boolean
|
|
28792
|
+
detail:
|
|
28793
|
+
type: object
|
|
28794
|
+
additionalProperties: true
|
|
28795
|
+
x-nullable: true
|
|
28796
|
+
createdAt:
|
|
28797
|
+
type: string
|
|
28798
|
+
format: date-time
|
|
28799
|
+
aiAgentTurnActionList:
|
|
28800
|
+
type: object
|
|
28801
|
+
required:
|
|
28802
|
+
- items
|
|
28803
|
+
properties:
|
|
28804
|
+
items:
|
|
28805
|
+
type: array
|
|
28806
|
+
items:
|
|
28807
|
+
$ref: '#/components/schemas/aiAgentTurnAction'
|
|
28665
28808
|
aiAgentEvent:
|
|
28666
28809
|
type: object
|
|
28667
28810
|
required:
|