@alicloud/rdsai20250507 3.9.1 → 3.9.3
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/client.d.ts +14 -14
- package/dist/client.js +41 -22
- package/dist/client.js.map +1 -1
- package/dist/models/ChatMessagesRequest.d.ts +27 -5
- package/dist/models/ChatMessagesRequest.js +6 -0
- package/dist/models/ChatMessagesRequest.js.map +1 -1
- package/dist/models/ChatMessagesResponseBody.d.ts +49 -2
- package/dist/models/ChatMessagesResponseBody.js +15 -0
- package/dist/models/ChatMessagesResponseBody.js.map +1 -1
- package/dist/models/ChatMessagesShrinkRequest.d.ts +3 -5
- package/dist/models/ChatMessagesShrinkRequest.js.map +1 -1
- package/dist/models/ChatMessagesTaskStopRequest.d.ts +9 -3
- package/dist/models/ChatMessagesTaskStopRequest.js +2 -0
- package/dist/models/ChatMessagesTaskStopRequest.js.map +1 -1
- package/dist/models/ChatMessagesTaskStopResponseBody.d.ts +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +6 -2
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +2 -2
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +6 -2
- package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
- package/dist/models/CreateSkillRequest.d.ts +30 -12
- package/dist/models/CreateSkillRequest.js +6 -0
- package/dist/models/CreateSkillRequest.js.map +1 -1
- package/dist/models/CreateSkillResponseBody.d.ts +225 -10
- package/dist/models/CreateSkillResponseBody.js +91 -1
- package/dist/models/CreateSkillResponseBody.js.map +1 -1
- package/dist/models/CreateSkillShrinkRequest.d.ts +30 -12
- package/dist/models/CreateSkillShrinkRequest.js +6 -0
- package/dist/models/CreateSkillShrinkRequest.js.map +1 -1
- package/dist/models/DeleteCustomAgentRequest.d.ts +1 -1
- package/dist/models/DeleteCustomAgentResponseBody.d.ts +1 -1
- package/dist/models/DeleteSkillRequest.d.ts +9 -3
- package/dist/models/DeleteSkillRequest.js +2 -0
- package/dist/models/DeleteSkillRequest.js.map +1 -1
- package/dist/models/DeleteSkillResponseBody.d.ts +23 -2
- package/dist/models/DeleteSkillResponseBody.js +6 -0
- package/dist/models/DeleteSkillResponseBody.js.map +1 -1
- package/dist/models/DescribeAppInstanceAttributeRequest.d.ts +8 -1
- package/dist/models/DescribeAppInstanceAttributeRequest.js.map +1 -1
- package/dist/models/DescribeAppInstanceAttributeResponseBody.d.ts +155 -5
- package/dist/models/DescribeAppInstanceAttributeResponseBody.js +4 -0
- package/dist/models/DescribeAppInstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/GetConversationsRequest.d.ts +9 -1
- package/dist/models/GetConversationsRequest.js +2 -0
- package/dist/models/GetConversationsRequest.js.map +1 -1
- package/dist/models/GetConversationsResponseBody.d.ts +17 -4
- package/dist/models/GetConversationsResponseBody.js +2 -0
- package/dist/models/GetConversationsResponseBody.js.map +1 -1
- package/dist/models/GetMessagesRequest.d.ts +9 -1
- package/dist/models/GetMessagesRequest.js +2 -0
- package/dist/models/GetMessagesRequest.js.map +1 -1
- package/dist/models/GetMessagesResponseBody.d.ts +74 -3
- package/dist/models/GetMessagesResponseBody.js +21 -0
- package/dist/models/GetMessagesResponseBody.js.map +1 -1
- package/dist/models/GetSkillRequest.d.ts +14 -7
- package/dist/models/GetSkillRequest.js +2 -0
- package/dist/models/GetSkillRequest.js.map +1 -1
- package/dist/models/GetSkillResponseBody.d.ts +177 -11
- package/dist/models/GetSkillResponseBody.js +61 -1
- package/dist/models/GetSkillResponseBody.js.map +1 -1
- package/dist/models/ListSkillRequest.d.ts +15 -7
- package/dist/models/ListSkillRequest.js +2 -0
- package/dist/models/ListSkillRequest.js.map +1 -1
- package/dist/models/ListSkillResponseBody.d.ts +69 -13
- package/dist/models/ListSkillResponseBody.js +14 -0
- package/dist/models/ListSkillResponseBody.js.map +1 -1
- package/dist/models/ModifyMessagesFeedbacksRequest.d.ts +4 -9
- package/dist/models/ModifyMessagesFeedbacksRequest.js.map +1 -1
- package/dist/models/ModifyMessagesFeedbacksResponseBody.d.ts +1 -1
- package/dist/models/UpdateCustomAgentRequest.d.ts +5 -5
- package/dist/models/UpdateCustomAgentResponseBody.d.ts +10 -6
- package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +5 -5
- package/dist/models/UpdateSkillRequest.d.ts +6 -6
- package/dist/models/UpdateSkillResponseBody.d.ts +8 -8
- package/dist/models/UpdateSkillShrinkRequest.d.ts +6 -6
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +18 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +50 -22
- package/src/models/ChatMessagesRequest.ts +33 -5
- package/src/models/ChatMessagesResponseBody.ts +62 -2
- package/src/models/ChatMessagesShrinkRequest.ts +3 -5
- package/src/models/ChatMessagesTaskStopRequest.ts +11 -3
- package/src/models/ChatMessagesTaskStopResponseBody.ts +1 -1
- package/src/models/CreateCustomAgentRequest.ts +6 -2
- package/src/models/CreateCustomAgentResponseBody.ts +2 -2
- package/src/models/CreateCustomAgentShrinkRequest.ts +6 -2
- package/src/models/CreateSkillRequest.ts +36 -12
- package/src/models/CreateSkillResponseBody.ts +297 -10
- package/src/models/CreateSkillShrinkRequest.ts +36 -12
- package/src/models/DeleteCustomAgentRequest.ts +1 -1
- package/src/models/DeleteCustomAgentResponseBody.ts +1 -1
- package/src/models/DeleteSkillRequest.ts +11 -3
- package/src/models/DeleteSkillResponseBody.ts +29 -2
- package/src/models/DescribeAppInstanceAttributeRequest.ts +8 -1
- package/src/models/DescribeAppInstanceAttributeResponseBody.ts +159 -5
- package/src/models/GetConversationsRequest.ts +11 -1
- package/src/models/GetConversationsResponseBody.ts +19 -4
- package/src/models/GetMessagesRequest.ts +11 -1
- package/src/models/GetMessagesResponseBody.ts +93 -3
- package/src/models/GetSkillRequest.ts +16 -7
- package/src/models/GetSkillResponseBody.ts +228 -11
- package/src/models/ListSkillRequest.ts +17 -7
- package/src/models/ListSkillResponseBody.ts +83 -13
- package/src/models/ModifyMessagesFeedbacksRequest.ts +4 -9
- package/src/models/ModifyMessagesFeedbacksResponseBody.ts +1 -1
- package/src/models/UpdateCustomAgentRequest.ts +5 -5
- package/src/models/UpdateCustomAgentResponseBody.ts +10 -6
- package/src/models/UpdateCustomAgentShrinkRequest.ts +5 -5
- package/src/models/UpdateSkillRequest.ts +6 -6
- package/src/models/UpdateSkillResponseBody.ts +8 -8
- package/src/models/UpdateSkillShrinkRequest.ts +6 -6
- package/src/models/model.ts +3 -0
|
@@ -3,7 +3,21 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeAppInstanceAttributeResponseBodyComponents extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The component status.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* enable
|
|
12
|
+
*/
|
|
6
13
|
status?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The component type.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* supabase
|
|
20
|
+
*/
|
|
7
21
|
type?: string;
|
|
8
22
|
static names(): { [key: string]: string } {
|
|
9
23
|
return {
|
|
@@ -29,10 +43,45 @@ export class DescribeAppInstanceAttributeResponseBodyComponents extends $dara.Mo
|
|
|
29
43
|
}
|
|
30
44
|
|
|
31
45
|
export class DescribeAppInstanceAttributeResponseBodyUploadKeyList extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* Reserved parameter.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* Reserved parameter
|
|
52
|
+
*/
|
|
32
53
|
isSystemKey?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* Reserved parameter.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* Reserved parameter
|
|
60
|
+
*/
|
|
33
61
|
remark?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* Reserved parameter.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* Reserved parameter
|
|
68
|
+
*/
|
|
34
69
|
slsStorageBytes?: number;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* Reserved parameter.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* Reserved parameter
|
|
76
|
+
*/
|
|
35
77
|
status?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* Reserved parameter.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* Reserved parameter
|
|
84
|
+
*/
|
|
36
85
|
uploadKey?: string;
|
|
37
86
|
static names(): { [key: string]: string } {
|
|
38
87
|
return {
|
|
@@ -80,27 +129,67 @@ export class DescribeAppInstanceAttributeResponseBody extends $dara.Model {
|
|
|
80
129
|
* supabase
|
|
81
130
|
*/
|
|
82
131
|
appType?: string;
|
|
132
|
+
/**
|
|
133
|
+
* @remarks
|
|
134
|
+
* Reserved parameter.
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* Reserved parameter
|
|
138
|
+
*/
|
|
83
139
|
branchName?: string;
|
|
140
|
+
/**
|
|
141
|
+
* @remarks
|
|
142
|
+
* Reserved parameter.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* Reserved parameter
|
|
146
|
+
*/
|
|
84
147
|
branchingEnabled?: string;
|
|
148
|
+
/**
|
|
149
|
+
* @remarks
|
|
150
|
+
* The list of components.
|
|
151
|
+
*/
|
|
85
152
|
components?: DescribeAppInstanceAttributeResponseBodyComponents[];
|
|
86
153
|
/**
|
|
87
154
|
* @remarks
|
|
88
|
-
* The
|
|
155
|
+
* The ID of the RDS PostgreSQL database instance that the AI application is connected to.
|
|
89
156
|
*
|
|
90
157
|
* @example
|
|
91
158
|
* pgm-2ze49qv594vi****
|
|
92
159
|
*/
|
|
93
160
|
DBInstanceName?: string;
|
|
161
|
+
/**
|
|
162
|
+
* @remarks
|
|
163
|
+
* The instance ID of the EIP.
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
* eip-wz9sfo01afag4hxc0utq0
|
|
167
|
+
*/
|
|
94
168
|
eipId?: string;
|
|
169
|
+
/**
|
|
170
|
+
* @remarks
|
|
171
|
+
* The activation status of the EIP.
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* on
|
|
175
|
+
*/
|
|
95
176
|
eipStatus?: string;
|
|
96
177
|
/**
|
|
97
178
|
* @remarks
|
|
98
|
-
* The instance
|
|
179
|
+
* The instance class of the AI application.
|
|
99
180
|
*
|
|
100
181
|
* @example
|
|
101
182
|
* rdsai.supabase.basic
|
|
102
183
|
*/
|
|
103
184
|
instanceClass?: string;
|
|
185
|
+
/**
|
|
186
|
+
* @remarks
|
|
187
|
+
* The latest minor version of the RDS AI application instance.
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* 20260903
|
|
191
|
+
*/
|
|
192
|
+
instanceLatestVersion?: string;
|
|
104
193
|
/**
|
|
105
194
|
* @remarks
|
|
106
195
|
* The minor version of the RDS AI application instance.
|
|
@@ -117,13 +206,49 @@ export class DescribeAppInstanceAttributeResponseBody extends $dara.Model {
|
|
|
117
206
|
* ra-supabase-8moov5lxba****
|
|
118
207
|
*/
|
|
119
208
|
instanceName?: string;
|
|
209
|
+
/**
|
|
210
|
+
* @remarks
|
|
211
|
+
* Reserved parameter.
|
|
212
|
+
*
|
|
213
|
+
* @example
|
|
214
|
+
* Reserved parameter
|
|
215
|
+
*/
|
|
120
216
|
loginToken?: string;
|
|
217
|
+
/**
|
|
218
|
+
* @remarks
|
|
219
|
+
* The minor version details of each component of the RDS AI application instance.
|
|
220
|
+
*
|
|
221
|
+
* @example
|
|
222
|
+
* {\\"studio\\":\\"20260602r1\\",\\"storage\\":\\"v1.48.9\\",\\"auth\\":\\"v2.188.1\\",\\"kong\\":\\"3.9.0\\",\\"rest\\":\\"v12.2.12\\",\\"meta\\":\\"v0.89.3\\",\\"realtime-dev\\":\\"v2.34.47\\",\\"postgres\\":\\"rds_postgres_1700_20260830\\"}
|
|
223
|
+
*/
|
|
224
|
+
minorVersionDetail?: string;
|
|
225
|
+
/**
|
|
226
|
+
* @remarks
|
|
227
|
+
* The creator of the NAT gateway.
|
|
228
|
+
*
|
|
229
|
+
* @example
|
|
230
|
+
* user
|
|
231
|
+
*/
|
|
121
232
|
natCreatedBy?: string;
|
|
233
|
+
/**
|
|
234
|
+
* @remarks
|
|
235
|
+
* The ID of the NAT gateway.
|
|
236
|
+
*
|
|
237
|
+
* @example
|
|
238
|
+
* ngw-bp1l82hw87m2y77ci1hie
|
|
239
|
+
*/
|
|
122
240
|
natGatewayId?: string;
|
|
241
|
+
/**
|
|
242
|
+
* @remarks
|
|
243
|
+
* The activation status of the NAT gateway.
|
|
244
|
+
*
|
|
245
|
+
* @example
|
|
246
|
+
* off
|
|
247
|
+
*/
|
|
123
248
|
natStatus?: string;
|
|
124
249
|
/**
|
|
125
250
|
* @remarks
|
|
126
|
-
* The public
|
|
251
|
+
* The public connection string of the AI application.
|
|
127
252
|
*
|
|
128
253
|
* @example
|
|
129
254
|
* 8.152. XXX.XXX:8000
|
|
@@ -145,17 +270,42 @@ export class DescribeAppInstanceAttributeResponseBody extends $dara.Model {
|
|
|
145
270
|
* FE9C65D7-930F-57A5-A207-8C396329241C
|
|
146
271
|
*/
|
|
147
272
|
requestId?: string;
|
|
273
|
+
/**
|
|
274
|
+
* @remarks
|
|
275
|
+
* Reserved parameter.
|
|
276
|
+
*
|
|
277
|
+
* @example
|
|
278
|
+
* Reserved parameter
|
|
279
|
+
*/
|
|
148
280
|
retentionHours?: string;
|
|
281
|
+
/**
|
|
282
|
+
* @remarks
|
|
283
|
+
* Reserved parameter.
|
|
284
|
+
*
|
|
285
|
+
* @example
|
|
286
|
+
* Reserved parameter
|
|
287
|
+
*/
|
|
149
288
|
sqlExtendMoInstanceId?: string;
|
|
150
289
|
/**
|
|
151
290
|
* @remarks
|
|
152
|
-
* The instance status. For more information, see [Instance status](https://help.aliyun.com/document_detail/2623972.html).
|
|
291
|
+
* The instance status. For more information, see [Instance status table](https://help.aliyun.com/document_detail/2623972.html).
|
|
153
292
|
*
|
|
154
293
|
* @example
|
|
155
294
|
* Running
|
|
156
295
|
*/
|
|
157
296
|
status?: string;
|
|
297
|
+
/**
|
|
298
|
+
* @remarks
|
|
299
|
+
* Reserved parameter.
|
|
300
|
+
*
|
|
301
|
+
* @example
|
|
302
|
+
* Reserved parameter
|
|
303
|
+
*/
|
|
158
304
|
uploadKey?: string;
|
|
305
|
+
/**
|
|
306
|
+
* @remarks
|
|
307
|
+
* Reserved parameter.
|
|
308
|
+
*/
|
|
159
309
|
uploadKeyList?: DescribeAppInstanceAttributeResponseBodyUploadKeyList[];
|
|
160
310
|
/**
|
|
161
311
|
* @remarks
|
|
@@ -167,7 +317,7 @@ export class DescribeAppInstanceAttributeResponseBody extends $dara.Model {
|
|
|
167
317
|
vSwitchId?: string;
|
|
168
318
|
/**
|
|
169
319
|
* @remarks
|
|
170
|
-
* The internal
|
|
320
|
+
* The internal connection string of the AI application.
|
|
171
321
|
*
|
|
172
322
|
* @example
|
|
173
323
|
* 172.16.XXX.XXX:8000
|
|
@@ -192,9 +342,11 @@ export class DescribeAppInstanceAttributeResponseBody extends $dara.Model {
|
|
|
192
342
|
eipId: 'EipId',
|
|
193
343
|
eipStatus: 'EipStatus',
|
|
194
344
|
instanceClass: 'InstanceClass',
|
|
345
|
+
instanceLatestVersion: 'InstanceLatestVersion',
|
|
195
346
|
instanceMinorVersion: 'InstanceMinorVersion',
|
|
196
347
|
instanceName: 'InstanceName',
|
|
197
348
|
loginToken: 'LoginToken',
|
|
349
|
+
minorVersionDetail: 'MinorVersionDetail',
|
|
198
350
|
natCreatedBy: 'NatCreatedBy',
|
|
199
351
|
natGatewayId: 'NatGatewayId',
|
|
200
352
|
natStatus: 'NatStatus',
|
|
@@ -223,9 +375,11 @@ export class DescribeAppInstanceAttributeResponseBody extends $dara.Model {
|
|
|
223
375
|
eipId: 'string',
|
|
224
376
|
eipStatus: 'string',
|
|
225
377
|
instanceClass: 'string',
|
|
378
|
+
instanceLatestVersion: 'string',
|
|
226
379
|
instanceMinorVersion: 'string',
|
|
227
380
|
instanceName: 'string',
|
|
228
381
|
loginToken: 'string',
|
|
382
|
+
minorVersionDetail: 'string',
|
|
229
383
|
natCreatedBy: 'string',
|
|
230
384
|
natGatewayId: 'string',
|
|
231
385
|
natStatus: 'string',
|
|
@@ -21,7 +21,7 @@ export class GetConversationsRequest extends $dara.Model {
|
|
|
21
21
|
limit?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The pinned bookmark flag for the application.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* true
|
|
@@ -35,12 +35,21 @@ export class GetConversationsRequest extends $dara.Model {
|
|
|
35
35
|
* CreatedAt
|
|
36
36
|
*/
|
|
37
37
|
sortBy?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The ContextDB workspace ID.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 00000000-0000-4000-8000-000000000001
|
|
44
|
+
*/
|
|
45
|
+
workspaceId?: string;
|
|
38
46
|
static names(): { [key: string]: string } {
|
|
39
47
|
return {
|
|
40
48
|
lastId: 'LastId',
|
|
41
49
|
limit: 'Limit',
|
|
42
50
|
pinned: 'Pinned',
|
|
43
51
|
sortBy: 'SortBy',
|
|
52
|
+
workspaceId: 'WorkspaceId',
|
|
44
53
|
};
|
|
45
54
|
}
|
|
46
55
|
|
|
@@ -50,6 +59,7 @@ export class GetConversationsRequest extends $dara.Model {
|
|
|
50
59
|
limit: 'string',
|
|
51
60
|
pinned: 'string',
|
|
52
61
|
sortBy: 'string',
|
|
62
|
+
workspaceId: 'string',
|
|
53
63
|
};
|
|
54
64
|
}
|
|
55
65
|
|
|
@@ -13,7 +13,7 @@ export class GetConversationsResponseBodyData extends $dara.Model {
|
|
|
13
13
|
createdAt?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The historical conversation ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 60b335ca-124d-4ee1-864b-de554987****
|
|
@@ -24,18 +24,31 @@ export class GetConversationsResponseBodyData extends $dara.Model {
|
|
|
24
24
|
* The conversation introduction.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
|
-
*
|
|
27
|
+
* Test searching for RDS resources
|
|
28
28
|
*/
|
|
29
29
|
introduction?: string;
|
|
30
30
|
isRunning?: boolean;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The
|
|
33
|
+
* The historical conversation name.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
|
-
*
|
|
36
|
+
* Search for RDS resources
|
|
37
37
|
*/
|
|
38
38
|
name?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The session status. Valid values:
|
|
42
|
+
* - idle: The session is idle.
|
|
43
|
+
* - running: The session is generating a response.
|
|
44
|
+
* - pending_approval: The session is waiting for approval or manual review.
|
|
45
|
+
*
|
|
46
|
+
* If both pending_approval and running conditions are met, pending_approval is returned.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* idle
|
|
50
|
+
*/
|
|
51
|
+
status?: string;
|
|
39
52
|
updatedAt?: string;
|
|
40
53
|
static names(): { [key: string]: string } {
|
|
41
54
|
return {
|
|
@@ -44,6 +57,7 @@ export class GetConversationsResponseBodyData extends $dara.Model {
|
|
|
44
57
|
introduction: 'Introduction',
|
|
45
58
|
isRunning: 'IsRunning',
|
|
46
59
|
name: 'Name',
|
|
60
|
+
status: 'Status',
|
|
47
61
|
updatedAt: 'UpdatedAt',
|
|
48
62
|
};
|
|
49
63
|
}
|
|
@@ -55,6 +69,7 @@ export class GetConversationsResponseBodyData extends $dara.Model {
|
|
|
55
69
|
introduction: 'string',
|
|
56
70
|
isRunning: 'boolean',
|
|
57
71
|
name: 'string',
|
|
72
|
+
status: 'string',
|
|
58
73
|
updatedAt: 'string',
|
|
59
74
|
};
|
|
60
75
|
}
|
|
@@ -22,18 +22,27 @@ export class GetMessagesRequest extends $dara.Model {
|
|
|
22
22
|
firstId?: string;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The number of entries per page
|
|
25
|
+
* The number of entries per page for a paged query. Valid values: 1 to 100. Default value: 100.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* 10
|
|
29
29
|
*/
|
|
30
30
|
limit?: number;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The ContextDB workspace ID.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* 00000000-0000-4000-8000-000000000001
|
|
37
|
+
*/
|
|
38
|
+
workspaceId?: string;
|
|
31
39
|
static names(): { [key: string]: string } {
|
|
32
40
|
return {
|
|
33
41
|
conversationId: 'ConversationId',
|
|
34
42
|
eventMode: 'EventMode',
|
|
35
43
|
firstId: 'FirstId',
|
|
36
44
|
limit: 'Limit',
|
|
45
|
+
workspaceId: 'WorkspaceId',
|
|
37
46
|
};
|
|
38
47
|
}
|
|
39
48
|
|
|
@@ -43,6 +52,7 @@ export class GetMessagesRequest extends $dara.Model {
|
|
|
43
52
|
eventMode: 'string',
|
|
44
53
|
firstId: 'string',
|
|
45
54
|
limit: 'number',
|
|
55
|
+
workspaceId: 'string',
|
|
46
56
|
};
|
|
47
57
|
}
|
|
48
58
|
|
|
@@ -3,10 +3,79 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class GetMessagesResponseBodyDataEvents extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The approval status of the tool calling.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* pending
|
|
12
|
+
*/
|
|
13
|
+
approvalStatus?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The tool calling ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* call-example
|
|
20
|
+
*/
|
|
21
|
+
callId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The session ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* conversation-example
|
|
28
|
+
*/
|
|
29
|
+
conversationId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The description of the tool calling.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* Search ContextDB records
|
|
36
|
+
*/
|
|
37
|
+
description?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The message ID.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* message-example
|
|
44
|
+
*/
|
|
45
|
+
messageId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The tool approval round ID.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* round-example
|
|
52
|
+
*/
|
|
53
|
+
roundId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The parameters of the tool calling.
|
|
57
|
+
*/
|
|
58
|
+
toolArguments?: { [key: string]: any };
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The tool name.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* contextdb.search
|
|
65
|
+
*/
|
|
66
|
+
toolName?: string;
|
|
6
67
|
answer?: string;
|
|
7
68
|
event?: string;
|
|
8
69
|
static names(): { [key: string]: string } {
|
|
9
70
|
return {
|
|
71
|
+
approvalStatus: 'ApprovalStatus',
|
|
72
|
+
callId: 'CallId',
|
|
73
|
+
conversationId: 'ConversationId',
|
|
74
|
+
description: 'Description',
|
|
75
|
+
messageId: 'MessageId',
|
|
76
|
+
roundId: 'RoundId',
|
|
77
|
+
toolArguments: 'ToolArguments',
|
|
78
|
+
toolName: 'ToolName',
|
|
10
79
|
answer: 'answer',
|
|
11
80
|
event: 'event',
|
|
12
81
|
};
|
|
@@ -14,12 +83,23 @@ export class GetMessagesResponseBodyDataEvents extends $dara.Model {
|
|
|
14
83
|
|
|
15
84
|
static types(): { [key: string]: any } {
|
|
16
85
|
return {
|
|
86
|
+
approvalStatus: 'string',
|
|
87
|
+
callId: 'string',
|
|
88
|
+
conversationId: 'string',
|
|
89
|
+
description: 'string',
|
|
90
|
+
messageId: 'string',
|
|
91
|
+
roundId: 'string',
|
|
92
|
+
toolArguments: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
93
|
+
toolName: 'string',
|
|
17
94
|
answer: 'string',
|
|
18
95
|
event: 'string',
|
|
19
96
|
};
|
|
20
97
|
}
|
|
21
98
|
|
|
22
99
|
validate() {
|
|
100
|
+
if(this.toolArguments) {
|
|
101
|
+
$dara.Model.validateMap(this.toolArguments);
|
|
102
|
+
}
|
|
23
103
|
super.validate();
|
|
24
104
|
}
|
|
25
105
|
|
|
@@ -32,11 +112,20 @@ export class GetMessagesResponseBodyDataMessageFiles extends $dara.Model {
|
|
|
32
112
|
id?: string;
|
|
33
113
|
previewUrl?: string;
|
|
34
114
|
type?: string;
|
|
115
|
+
/**
|
|
116
|
+
* @remarks
|
|
117
|
+
* The upload file ID.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* file-example
|
|
121
|
+
*/
|
|
122
|
+
uploadFileId?: string;
|
|
35
123
|
static names(): { [key: string]: string } {
|
|
36
124
|
return {
|
|
37
125
|
id: 'Id',
|
|
38
126
|
previewUrl: 'PreviewUrl',
|
|
39
127
|
type: 'Type',
|
|
128
|
+
uploadFileId: 'UploadFileId',
|
|
40
129
|
};
|
|
41
130
|
}
|
|
42
131
|
|
|
@@ -45,6 +134,7 @@ export class GetMessagesResponseBodyDataMessageFiles extends $dara.Model {
|
|
|
45
134
|
id: 'string',
|
|
46
135
|
previewUrl: 'string',
|
|
47
136
|
type: 'string',
|
|
137
|
+
uploadFileId: 'string',
|
|
48
138
|
};
|
|
49
139
|
}
|
|
50
140
|
|
|
@@ -63,12 +153,12 @@ export class GetMessagesResponseBodyData extends $dara.Model {
|
|
|
63
153
|
* The answer.
|
|
64
154
|
*
|
|
65
155
|
* @example
|
|
66
|
-
* The disk usage of instance rm-bp14as9914vd3**** is 23%, and
|
|
156
|
+
* The disk usage of the instance rm-bp14as9914vd3**** you queried is 23%, and no capacity expansion is needed at this time. If you need to view the detailed configurations or performance monitoring of a specific instance, or perform other operations, let me know your specific requirements!
|
|
67
157
|
*/
|
|
68
158
|
answer?: string;
|
|
69
159
|
/**
|
|
70
160
|
* @remarks
|
|
71
|
-
* The
|
|
161
|
+
* The session ID.
|
|
72
162
|
*
|
|
73
163
|
* @example
|
|
74
164
|
* 9cbbe885-b240-4803-9d15-6781a3fd****
|
|
@@ -109,7 +199,7 @@ export class GetMessagesResponseBodyData extends $dara.Model {
|
|
|
109
199
|
* The query statement.
|
|
110
200
|
*
|
|
111
201
|
* @example
|
|
112
|
-
*
|
|
202
|
+
* Disk usage of instance rm-bp14as9914vd3****, is capacity expansion needed
|
|
113
203
|
*/
|
|
114
204
|
query?: string;
|
|
115
205
|
/**
|
|
@@ -5,12 +5,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetSkillRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
9
|
-
*
|
|
10
|
-
* *
|
|
11
|
-
* *
|
|
12
|
-
* *
|
|
13
|
-
* * ja-JP: Japanese
|
|
8
|
+
* The supported languages. Valid values:
|
|
9
|
+
* * zh-CN: Simplified Chinese
|
|
10
|
+
* * zh-TW: Traditional Chinese
|
|
11
|
+
* * en-US: English
|
|
12
|
+
* * ja-JP: Japanese
|
|
14
13
|
*
|
|
15
14
|
* @example
|
|
16
15
|
* zh-CN
|
|
@@ -18,7 +17,7 @@ export class GetSkillRequest extends $dara.Model {
|
|
|
18
17
|
language?: string;
|
|
19
18
|
/**
|
|
20
19
|
* @remarks
|
|
21
|
-
* The unique identifier of the
|
|
20
|
+
* The unique identifier of the Skill.
|
|
22
21
|
*
|
|
23
22
|
* This parameter is required.
|
|
24
23
|
*
|
|
@@ -26,10 +25,19 @@ export class GetSkillRequest extends $dara.Model {
|
|
|
26
25
|
* 550e8400-e29b-41d4-a716-44665544****
|
|
27
26
|
*/
|
|
28
27
|
skillId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The ContextDB workspace ID.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* 00000000-0000-4000-8000-000000000001
|
|
34
|
+
*/
|
|
35
|
+
workspaceId?: string;
|
|
29
36
|
static names(): { [key: string]: string } {
|
|
30
37
|
return {
|
|
31
38
|
language: 'Language',
|
|
32
39
|
skillId: 'SkillId',
|
|
40
|
+
workspaceId: 'WorkspaceId',
|
|
33
41
|
};
|
|
34
42
|
}
|
|
35
43
|
|
|
@@ -37,6 +45,7 @@ export class GetSkillRequest extends $dara.Model {
|
|
|
37
45
|
return {
|
|
38
46
|
language: 'string',
|
|
39
47
|
skillId: 'string',
|
|
48
|
+
workspaceId: 'string',
|
|
40
49
|
};
|
|
41
50
|
}
|
|
42
51
|
|