@alicloud/dms20250414 4.6.0 → 5.0.0
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 +18 -33
- package/dist/client.js +36 -85
- package/dist/client.js.map +1 -1
- package/dist/models/AddUserToDataAgentWorkspaceRequest.d.ts +1 -1
- package/dist/models/AddUserToDataAgentWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/CreateAirflowRequest.d.ts +31 -10
- package/dist/models/CreateAirflowRequest.js +6 -0
- package/dist/models/CreateAirflowRequest.js.map +1 -1
- package/dist/models/CreateAirflowResponseBody.d.ts +36 -15
- package/dist/models/CreateAirflowResponseBody.js +6 -0
- package/dist/models/CreateAirflowResponseBody.js.map +1 -1
- package/dist/models/CreateAirflowShrinkRequest.d.ts +31 -10
- package/dist/models/CreateAirflowShrinkRequest.js +6 -0
- package/dist/models/CreateAirflowShrinkRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +38 -38
- package/dist/models/CreateCustomAgentResponseBody.d.ts +18 -18
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +30 -30
- package/dist/models/CreateDataAgentAccuracyTestRequest.d.ts +6 -6
- package/dist/models/CreateDataAgentAccuracyTestResponseBody.d.ts +5 -5
- package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/DataAgentApplication.d.ts +124 -2
- package/dist/models/DataAgentApplication.js +45 -1
- package/dist/models/DataAgentApplication.js.map +1 -1
- package/dist/models/DataAgentApplicationAgreement.d.ts +53 -0
- package/dist/models/{BatchCreateDataLakePartitionsShrinkRequest.js → DataAgentApplicationAgreement.js} +13 -19
- package/dist/models/DataAgentApplicationAgreement.js.map +1 -0
- package/dist/models/DeleteAgenticVpcEndpointResponseBody.d.ts +2 -2
- package/dist/models/DescribeCustomAgentResponseBody.d.ts +32 -32
- package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +38 -37
- package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
- package/dist/models/FileUploadCallbackRequest.d.ts +2 -2
- package/dist/models/GetAirflowRequest.d.ts +2 -2
- package/dist/models/GetAirflowResponseBody.d.ts +37 -17
- package/dist/models/GetAirflowResponseBody.js +6 -0
- package/dist/models/GetAirflowResponseBody.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.d.ts +3 -3
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.d.ts +10 -2
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.js +2 -0
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.d.ts +3 -3
- package/dist/models/GetDataAgentTaskModelUsageRequest.d.ts +2 -2
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.d.ts +21 -5
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.js +4 -0
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageShrinkRequest.d.ts +2 -2
- package/dist/models/GetDataAgentThemeUploadSignatureResponseBody.d.ts +1 -1
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.d.ts +1 -1
- package/dist/models/GetNotebookAndSubmitTaskRequest.d.ts +2 -2
- package/dist/models/ListAirflowsRequest.d.ts +5 -5
- package/dist/models/ListAirflowsResponseBody.d.ts +43 -23
- package/dist/models/ListAirflowsResponseBody.js +6 -0
- package/dist/models/ListAirflowsResponseBody.js.map +1 -1
- package/dist/models/ListCustomAgentRequest.d.ts +2 -2
- package/dist/models/ListCustomAgentResponseBody.d.ts +37 -37
- package/dist/models/ListDataAgentAccuracyTestResultsResponseBody.d.ts +3 -3
- package/dist/models/ListDataAgentAccuracyTestTasksResponseBody.d.ts +1 -1
- package/dist/models/ListDataAgentWorkspaceMemberResponseBody.d.ts +3 -3
- package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/ListDataCenterDatabaseResponseBody.d.ts +2 -2
- package/dist/models/ModifyCustomAgentRequest.d.ts +40 -40
- package/dist/models/ModifyCustomAgentResponseBody.d.ts +17 -17
- package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +33 -33
- package/dist/models/RedeployAirflowResponseBody.d.ts +1 -1
- package/dist/models/ResetAgenticApiKeyResponseBody.d.ts +1 -1
- package/dist/models/RetrieveKnowledgeBaseRequest.d.ts +2 -2
- package/dist/models/SendChatMessageRequest.d.ts +2 -2
- package/dist/models/SetWorkspaceQuotaRequest.d.ts +5 -5
- package/dist/models/SetWorkspaceQuotaResponseBody.d.ts +9 -9
- package/dist/models/UpdateAirflowRequest.d.ts +26 -5
- package/dist/models/UpdateAirflowRequest.js +6 -0
- package/dist/models/UpdateAirflowRequest.js.map +1 -1
- package/dist/models/UpdateAirflowResponseBody.d.ts +28 -7
- package/dist/models/UpdateAirflowResponseBody.js +6 -0
- package/dist/models/UpdateAirflowResponseBody.js.map +1 -1
- package/dist/models/UpdateAirflowShrinkRequest.d.ts +26 -5
- package/dist/models/UpdateAirflowShrinkRequest.js +6 -0
- package/dist/models/UpdateAirflowShrinkRequest.js.map +1 -1
- package/dist/models/UpdateDataAgentAccuracyTestRequest.d.ts +4 -4
- package/dist/models/UpdateDataAgentAccuracyTestResponseBody.d.ts +4 -4
- package/dist/models/UpdateOneMetaSqlTemplateRequest.d.ts +1 -1
- package/dist/models/model.d.ts +2 -4
- package/dist/models/model.js +20 -24
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +42 -96
- package/src/models/AddUserToDataAgentWorkspaceRequest.ts +1 -1
- package/src/models/AddUserToDataAgentWorkspaceResponseBody.ts +1 -1
- package/src/models/CreateAirflowRequest.ts +37 -10
- package/src/models/CreateAirflowResponseBody.ts +42 -15
- package/src/models/CreateAirflowShrinkRequest.ts +37 -10
- package/src/models/CreateCustomAgentRequest.ts +38 -38
- package/src/models/CreateCustomAgentResponseBody.ts +18 -18
- package/src/models/CreateCustomAgentShrinkRequest.ts +30 -30
- package/src/models/CreateDataAgentAccuracyTestRequest.ts +6 -6
- package/src/models/CreateDataAgentAccuracyTestResponseBody.ts +5 -5
- package/src/models/CreateDataAgentWorkspaceResponseBody.ts +1 -1
- package/src/models/DataAgentApplication.ts +159 -2
- package/src/models/DataAgentApplicationAgreement.ts +74 -0
- package/src/models/DeleteAgenticVpcEndpointResponseBody.ts +2 -2
- package/src/models/DescribeCustomAgentResponseBody.ts +32 -32
- package/src/models/DescribeDataAgentSessionResponseBody.ts +38 -37
- package/src/models/FileUploadCallbackRequest.ts +2 -2
- package/src/models/GetAirflowRequest.ts +2 -2
- package/src/models/GetAirflowResponseBody.ts +43 -17
- package/src/models/GetDataAgentTaskModelUsageMetricsRequest.ts +3 -3
- package/src/models/GetDataAgentTaskModelUsageMetricsResponseBody.ts +12 -2
- package/src/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.ts +3 -3
- package/src/models/GetDataAgentTaskModelUsageRequest.ts +2 -2
- package/src/models/GetDataAgentTaskModelUsageResponseBody.ts +25 -5
- package/src/models/GetDataAgentTaskModelUsageShrinkRequest.ts +2 -2
- package/src/models/GetDataAgentThemeUploadSignatureResponseBody.ts +1 -1
- package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.ts +1 -1
- package/src/models/GetNotebookAndSubmitTaskRequest.ts +2 -2
- package/src/models/ListAirflowsRequest.ts +5 -5
- package/src/models/ListAirflowsResponseBody.ts +49 -23
- package/src/models/ListCustomAgentRequest.ts +2 -2
- package/src/models/ListCustomAgentResponseBody.ts +37 -37
- package/src/models/ListDataAgentAccuracyTestResultsResponseBody.ts +3 -3
- package/src/models/ListDataAgentAccuracyTestTasksResponseBody.ts +1 -1
- package/src/models/ListDataAgentWorkspaceMemberResponseBody.ts +3 -3
- package/src/models/ListDataAgentWorkspaceResponseBody.ts +1 -1
- package/src/models/ListDataCenterDatabaseResponseBody.ts +2 -2
- package/src/models/ModifyCustomAgentRequest.ts +40 -40
- package/src/models/ModifyCustomAgentResponseBody.ts +17 -17
- package/src/models/ModifyCustomAgentShrinkRequest.ts +33 -33
- package/src/models/RedeployAirflowResponseBody.ts +1 -1
- package/src/models/ResetAgenticApiKeyResponseBody.ts +1 -1
- package/src/models/RetrieveKnowledgeBaseRequest.ts +2 -2
- package/src/models/SendChatMessageRequest.ts +2 -2
- package/src/models/SetWorkspaceQuotaRequest.ts +5 -5
- package/src/models/SetWorkspaceQuotaResponseBody.ts +9 -9
- package/src/models/UpdateAirflowRequest.ts +32 -5
- package/src/models/UpdateAirflowResponseBody.ts +34 -7
- package/src/models/UpdateAirflowShrinkRequest.ts +32 -5
- package/src/models/UpdateDataAgentAccuracyTestRequest.ts +4 -4
- package/src/models/UpdateDataAgentAccuracyTestResponseBody.ts +4 -4
- package/src/models/UpdateOneMetaSqlTemplateRequest.ts +1 -1
- package/src/models/model.ts +2 -4
- package/dist/models/BatchCreateDataLakePartitionsRequest.d.ts +0 -88
- package/dist/models/BatchCreateDataLakePartitionsRequest.js +0 -76
- package/dist/models/BatchCreateDataLakePartitionsRequest.js.map +0 -1
- package/dist/models/BatchCreateDataLakePartitionsResponse.d.ts +0 -19
- package/dist/models/BatchCreateDataLakePartitionsResponse.js +0 -69
- package/dist/models/BatchCreateDataLakePartitionsResponse.js.map +0 -1
- package/dist/models/BatchCreateDataLakePartitionsResponseBody.d.ts +0 -54
- package/dist/models/BatchCreateDataLakePartitionsResponseBody.js +0 -70
- package/dist/models/BatchCreateDataLakePartitionsResponseBody.js.map +0 -1
- package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.d.ts +0 -87
- package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.js.map +0 -1
- package/src/models/BatchCreateDataLakePartitionsRequest.ts +0 -118
- package/src/models/BatchCreateDataLakePartitionsResponse.ts +0 -40
- package/src/models/BatchCreateDataLakePartitionsResponseBody.ts +0 -78
- package/src/models/BatchCreateDataLakePartitionsShrinkRequest.ts +0 -114
|
@@ -2,6 +2,60 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class DataAgentApplicationLastRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The control action. Valid values:
|
|
9
|
+
* - DEPLOY
|
|
10
|
+
* - STOP
|
|
11
|
+
* - RESTART
|
|
12
|
+
* - DELETE
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* RESTART
|
|
16
|
+
*/
|
|
17
|
+
action?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The error code for the failure of the most recent user control request. If no error occurs, this parameter is empty.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* SCRIPT_EXIT_FAILED
|
|
24
|
+
*/
|
|
25
|
+
errorCode?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The summary of the failure cause for the most recent user control request. If no error occurs, this parameter is empty.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* stage=script, exitCode=2
|
|
32
|
+
*/
|
|
33
|
+
errorMessage?: string;
|
|
34
|
+
static names(): { [key: string]: string } {
|
|
35
|
+
return {
|
|
36
|
+
action: 'Action',
|
|
37
|
+
errorCode: 'ErrorCode',
|
|
38
|
+
errorMessage: 'ErrorMessage',
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
static types(): { [key: string]: any } {
|
|
43
|
+
return {
|
|
44
|
+
action: 'string',
|
|
45
|
+
errorCode: 'string',
|
|
46
|
+
errorMessage: 'string',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
5
59
|
export class DataAgentApplication extends $dara.Model {
|
|
6
60
|
/**
|
|
7
61
|
* @remarks
|
|
@@ -29,12 +83,44 @@ export class DataAgentApplication extends $dara.Model {
|
|
|
29
83
|
appName?: string;
|
|
30
84
|
/**
|
|
31
85
|
* @remarks
|
|
32
|
-
* The
|
|
86
|
+
* The access URL of the application. This URL is generated and returned as-is by RM when the deployment snapshot ready=true, and is not filtered again based on Status or ObservationStale. If not provided, this parameter is empty or omitted.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* https://abc123.app.pre.datapaw-app.cloud
|
|
90
|
+
*/
|
|
91
|
+
appUrl?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The extended information of the application.
|
|
33
95
|
*
|
|
34
96
|
* @example
|
|
35
97
|
* {}
|
|
36
98
|
*/
|
|
37
99
|
applicationExtraInfo?: string;
|
|
100
|
+
/**
|
|
101
|
+
* @remarks
|
|
102
|
+
* The control revision number of the application. The initial value is 0. This number increments after a control request is accepted and can be passed as ExpectedRevision.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* 6
|
|
106
|
+
*/
|
|
107
|
+
applicationRevision?: number;
|
|
108
|
+
/**
|
|
109
|
+
* @remarks
|
|
110
|
+
* The error code for the current service unavailability, which is expressed separately from the error code of the most recent control request. If no error occurs, this parameter is empty.
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* SCRIPT_EXIT_FAILED
|
|
114
|
+
*/
|
|
115
|
+
availabilityErrorCode?: string;
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The summary of the cause for the current service unavailability. If no error occurs, this parameter is empty.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* stage=script, exitCode=2
|
|
122
|
+
*/
|
|
123
|
+
availabilityErrorMessage?: string;
|
|
38
124
|
/**
|
|
39
125
|
* @remarks
|
|
40
126
|
* The name of the application creator.
|
|
@@ -53,7 +139,7 @@ export class DataAgentApplication extends $dara.Model {
|
|
|
53
139
|
creatorUid?: string;
|
|
54
140
|
/**
|
|
55
141
|
* @remarks
|
|
56
|
-
* The description of the application
|
|
142
|
+
* The description of the application, which can be up to 250 characters in length.
|
|
57
143
|
*
|
|
58
144
|
* @example
|
|
59
145
|
* this is a test application
|
|
@@ -75,6 +161,11 @@ export class DataAgentApplication extends $dara.Model {
|
|
|
75
161
|
* 2026-09-12T10:40:12.000+00:00
|
|
76
162
|
*/
|
|
77
163
|
gmtModified?: string;
|
|
164
|
+
/**
|
|
165
|
+
* @remarks
|
|
166
|
+
* The most recent user control request. If no control request has been made, this parameter is empty.
|
|
167
|
+
*/
|
|
168
|
+
lastRequest?: DataAgentApplicationLastRequest;
|
|
78
169
|
/**
|
|
79
170
|
* @remarks
|
|
80
171
|
* The UID of the Alibaba Cloud account.
|
|
@@ -83,6 +174,22 @@ export class DataAgentApplication extends $dara.Model {
|
|
|
83
174
|
* 1673828888852166
|
|
84
175
|
*/
|
|
85
176
|
mainUid?: string;
|
|
177
|
+
/**
|
|
178
|
+
* @remarks
|
|
179
|
+
* Specifies whether the runtime or service observation is missing or stale. If this parameter is set to true, the availability information may be outdated.
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* false
|
|
183
|
+
*/
|
|
184
|
+
observationStale?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* @remarks
|
|
187
|
+
* Specifies whether the current platform service is available. This does not indicate whether the most recent control request succeeded or whether the business components are healthy.
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* true
|
|
191
|
+
*/
|
|
192
|
+
ready?: boolean;
|
|
86
193
|
/**
|
|
87
194
|
* @remarks
|
|
88
195
|
* The region.
|
|
@@ -103,13 +210,42 @@ export class DataAgentApplication extends $dara.Model {
|
|
|
103
210
|
* @remarks
|
|
104
211
|
* The status of the application. Valid values:
|
|
105
212
|
* - REGISTERED
|
|
213
|
+
* - PREPARING
|
|
214
|
+
* - WAITING_AGREEMENT: Indicates that the system is waiting for the owner of the target workspace to sign a valid agreement. The original deployment or restart request is still being executed. After the agreement is signed, RM automatically resumes the original request.
|
|
215
|
+
* - SEALING
|
|
216
|
+
* - REVIEWING
|
|
106
217
|
* - DEPLOYING
|
|
107
218
|
* - DEPLOYED
|
|
219
|
+
* - DEPLOY_FAILED
|
|
220
|
+
* - STOPPING
|
|
221
|
+
* - STOPPED
|
|
222
|
+
* - STOP_FAILED
|
|
223
|
+
* - RECOVERING
|
|
224
|
+
* - UNAVAILABLE
|
|
225
|
+
* - DELETING
|
|
226
|
+
* - DELETE_FAILED
|
|
227
|
+
* - DELETED: The logical deletion terminal state. The application no longer appears in List or Describe operations.
|
|
108
228
|
*
|
|
109
229
|
* @example
|
|
110
230
|
* REGISTERED
|
|
111
231
|
*/
|
|
112
232
|
status?: string;
|
|
233
|
+
/**
|
|
234
|
+
* @remarks
|
|
235
|
+
* The ID of the vSwitch used for the actual deployment of the currently running application. If no resources are currently running, this parameter is empty.
|
|
236
|
+
*
|
|
237
|
+
* @example
|
|
238
|
+
* vsw-example
|
|
239
|
+
*/
|
|
240
|
+
vSwitchId?: string;
|
|
241
|
+
/**
|
|
242
|
+
* @remarks
|
|
243
|
+
* The ID of the VPC used for the actual deployment of the currently running application. If no resources are currently running, this parameter is empty.
|
|
244
|
+
*
|
|
245
|
+
* @example
|
|
246
|
+
* vpc-example
|
|
247
|
+
*/
|
|
248
|
+
vpcId?: string;
|
|
113
249
|
/**
|
|
114
250
|
* @remarks
|
|
115
251
|
* The ID of the workspace.
|
|
@@ -123,16 +259,25 @@ export class DataAgentApplication extends $dara.Model {
|
|
|
123
259
|
agentId: 'AgentId',
|
|
124
260
|
appId: 'AppId',
|
|
125
261
|
appName: 'AppName',
|
|
262
|
+
appUrl: 'AppUrl',
|
|
126
263
|
applicationExtraInfo: 'ApplicationExtraInfo',
|
|
264
|
+
applicationRevision: 'ApplicationRevision',
|
|
265
|
+
availabilityErrorCode: 'AvailabilityErrorCode',
|
|
266
|
+
availabilityErrorMessage: 'AvailabilityErrorMessage',
|
|
127
267
|
creatorName: 'CreatorName',
|
|
128
268
|
creatorUid: 'CreatorUid',
|
|
129
269
|
description: 'Description',
|
|
130
270
|
gmtCreated: 'GmtCreated',
|
|
131
271
|
gmtModified: 'GmtModified',
|
|
272
|
+
lastRequest: 'LastRequest',
|
|
132
273
|
mainUid: 'MainUid',
|
|
274
|
+
observationStale: 'ObservationStale',
|
|
275
|
+
ready: 'Ready',
|
|
133
276
|
region: 'Region',
|
|
134
277
|
sessionId: 'SessionId',
|
|
135
278
|
status: 'Status',
|
|
279
|
+
vSwitchId: 'VSwitchId',
|
|
280
|
+
vpcId: 'VpcId',
|
|
136
281
|
workspaceId: 'WorkspaceId',
|
|
137
282
|
};
|
|
138
283
|
}
|
|
@@ -142,21 +287,33 @@ export class DataAgentApplication extends $dara.Model {
|
|
|
142
287
|
agentId: 'string',
|
|
143
288
|
appId: 'string',
|
|
144
289
|
appName: 'string',
|
|
290
|
+
appUrl: 'string',
|
|
145
291
|
applicationExtraInfo: 'string',
|
|
292
|
+
applicationRevision: 'number',
|
|
293
|
+
availabilityErrorCode: 'string',
|
|
294
|
+
availabilityErrorMessage: 'string',
|
|
146
295
|
creatorName: 'string',
|
|
147
296
|
creatorUid: 'string',
|
|
148
297
|
description: 'string',
|
|
149
298
|
gmtCreated: 'string',
|
|
150
299
|
gmtModified: 'string',
|
|
300
|
+
lastRequest: DataAgentApplicationLastRequest,
|
|
151
301
|
mainUid: 'string',
|
|
302
|
+
observationStale: 'boolean',
|
|
303
|
+
ready: 'boolean',
|
|
152
304
|
region: 'string',
|
|
153
305
|
sessionId: 'string',
|
|
154
306
|
status: 'string',
|
|
307
|
+
vSwitchId: 'string',
|
|
308
|
+
vpcId: 'string',
|
|
155
309
|
workspaceId: 'string',
|
|
156
310
|
};
|
|
157
311
|
}
|
|
158
312
|
|
|
159
313
|
validate() {
|
|
314
|
+
if(this.lastRequest && typeof (this.lastRequest as any).validate === 'function') {
|
|
315
|
+
(this.lastRequest as any).validate();
|
|
316
|
+
}
|
|
160
317
|
super.validate();
|
|
161
318
|
}
|
|
162
319
|
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DataAgentApplicationAgreement extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The expiration time of the agreement in ISO 8601 UTC string format. This field is omitted if the agreement is unsigned. The agreement expires when this time is reached. The default validity period is 10 calendar years from the signing date.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 2036-11-23T08:00:00Z
|
|
12
|
+
*/
|
|
13
|
+
expiresAt?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The region of the workspace to which the agreement belongs.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* cn-hangzhou
|
|
20
|
+
*/
|
|
21
|
+
regionId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The signing time in ISO 8601 UTC string format. This field is omitted if the agreement is unsigned. Repeated signing within the validity period retains the original time, and re-signing after expiration updates the time.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 2026-11-23T08:00:00Z
|
|
28
|
+
*/
|
|
29
|
+
signedAt?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The agreement status. Valid values: NOT_SIGNED (unsigned), EXPIRED (expired), and SIGNED (signed and valid). Both NOT_SIGNED and EXPIRED are business statuses returned upon a successful query.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* SIGNED
|
|
36
|
+
*/
|
|
37
|
+
status?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The stable identifier of the workspace to which the agreement belongs.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 62q1xxxxxxxxxxxxxxxxxxx0
|
|
44
|
+
*/
|
|
45
|
+
workspaceId?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
expiresAt: 'ExpiresAt',
|
|
49
|
+
regionId: 'RegionId',
|
|
50
|
+
signedAt: 'SignedAt',
|
|
51
|
+
status: 'Status',
|
|
52
|
+
workspaceId: 'WorkspaceId',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
expiresAt: 'string',
|
|
59
|
+
regionId: 'string',
|
|
60
|
+
signedAt: 'string',
|
|
61
|
+
status: 'string',
|
|
62
|
+
workspaceId: 'string',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
67
|
+
super.validate();
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
constructor(map?: { [key: string]: any }) {
|
|
71
|
+
super(map);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -13,7 +13,7 @@ export class DeleteAgenticVpcEndpointResponseBodyData extends $dara.Model {
|
|
|
13
13
|
endpointId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The deletion status. A value of DELETING only indicates that the asynchronous deletion request is accepted, not that the deletion in the cloud is complete.
|
|
16
|
+
* The deletion status. A value of DELETING only indicates that the asynchronous deletion request is accepted, and does not indicate that the deletion in the cloud is complete.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* RELEASED
|
|
@@ -45,7 +45,7 @@ export class DeleteAgenticVpcEndpointResponseBodyData extends $dara.Model {
|
|
|
45
45
|
export class DeleteAgenticVpcEndpointResponseBody extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The deletion acceptance result. For duplicate requests, downstream errors are retained and idempotence is not guaranteed.
|
|
48
|
+
* The deletion acceptance result. For duplicate requests, downstream errors are retained, and idempotence is not guaranteed.
|
|
49
49
|
*/
|
|
50
50
|
data?: DeleteAgenticVpcEndpointResponseBodyData;
|
|
51
51
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeCustomAgentResponseBodyDataCallbackConfig extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The callback tool invocation parameters.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* {"ID":"test"}
|
|
@@ -13,7 +13,7 @@ export class DescribeCustomAgentResponseBodyDataCallbackConfig extends $dara.Mod
|
|
|
13
13
|
callbackArgs?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The prompt for generating
|
|
16
|
+
* The prompt for generating callback tool invocation parameters.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* send web report to 123456@163.com
|
|
@@ -21,7 +21,7 @@ export class DescribeCustomAgentResponseBodyDataCallbackConfig extends $dara.Mod
|
|
|
21
21
|
callbackPrompt?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The timing
|
|
24
|
+
* The timing of callback tool invocation.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 0
|
|
@@ -75,7 +75,7 @@ export class DescribeCustomAgentResponseBodyDataCallbackConfig extends $dara.Mod
|
|
|
75
75
|
export class DescribeCustomAgentResponseBodyDataExecutionConfig extends $dara.Model {
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* Specifies whether to prohibit appending data sources
|
|
78
|
+
* Specifies whether to prohibit appending data sources during the session.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* true
|
|
@@ -107,7 +107,7 @@ export class DescribeCustomAgentResponseBodyDataExecutionConfig extends $dara.Mo
|
|
|
107
107
|
skipSqlConfirm?: boolean;
|
|
108
108
|
/**
|
|
109
109
|
* @remarks
|
|
110
|
-
* Specifies whether to skip the
|
|
110
|
+
* Specifies whether to skip the web report rendering confirmation.
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
113
113
|
* false
|
|
@@ -146,8 +146,8 @@ export class DescribeCustomAgentResponseBodyDataKnowledgeConfigList extends $dar
|
|
|
146
146
|
/**
|
|
147
147
|
* @remarks
|
|
148
148
|
* The access type. Valid values:
|
|
149
|
-
* - mcp: MCP
|
|
150
|
-
* - dms_kb: DMS knowledge base
|
|
149
|
+
* - mcp: Accessed through MCP.
|
|
150
|
+
* - dms_kb: Accessed through the DMS knowledge base.
|
|
151
151
|
*
|
|
152
152
|
* @example
|
|
153
153
|
* mcp
|
|
@@ -163,7 +163,7 @@ export class DescribeCustomAgentResponseBodyDataKnowledgeConfigList extends $dar
|
|
|
163
163
|
kbUuid?: string;
|
|
164
164
|
/**
|
|
165
165
|
* @remarks
|
|
166
|
-
* The MCP server
|
|
166
|
+
* The ID of the MCP server.
|
|
167
167
|
*
|
|
168
168
|
* @example
|
|
169
169
|
* nhdpt9adf6ac**********ca
|
|
@@ -222,8 +222,8 @@ export class DescribeCustomAgentResponseBodyDataKnowledgeSemanticConfigList exte
|
|
|
222
222
|
/**
|
|
223
223
|
* @remarks
|
|
224
224
|
* The knowledge semantic type. Valid values:
|
|
225
|
-
* - sql_template: SQL template
|
|
226
|
-
* - ossie_model: Ossie semantic view
|
|
225
|
+
* - sql_template: SQL template.
|
|
226
|
+
* - ossie_model: Ossie semantic view.
|
|
227
227
|
*
|
|
228
228
|
* @example
|
|
229
229
|
* sql_template
|
|
@@ -259,7 +259,7 @@ export class DescribeCustomAgentResponseBodyDataKnowledgeSemanticConfigList exte
|
|
|
259
259
|
export class DescribeCustomAgentResponseBodyDataScheduleTaskConfig extends $dara.Model {
|
|
260
260
|
/**
|
|
261
261
|
* @remarks
|
|
262
|
-
* The cron expression for time-based
|
|
262
|
+
* The cron expression for time-based scheduling.
|
|
263
263
|
*
|
|
264
264
|
* @example
|
|
265
265
|
* 0 0 0 ? * 1-7
|
|
@@ -267,7 +267,7 @@ export class DescribeCustomAgentResponseBodyDataScheduleTaskConfig extends $dara
|
|
|
267
267
|
cronExpression?: string;
|
|
268
268
|
/**
|
|
269
269
|
* @remarks
|
|
270
|
-
* The question for the
|
|
270
|
+
* The question for the scheduled task.
|
|
271
271
|
*
|
|
272
272
|
* @example
|
|
273
273
|
* Analyze the data and provide the report
|
|
@@ -309,9 +309,9 @@ export class DescribeCustomAgentResponseBodyDataScheduleTaskConfig extends $dara
|
|
|
309
309
|
export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
310
310
|
/**
|
|
311
311
|
* @remarks
|
|
312
|
-
* The custom agent
|
|
313
|
-
* - Default: system-built-in custom agent
|
|
314
|
-
* - Common: common custom agent
|
|
312
|
+
* The type of the custom agent. Valid values:
|
|
313
|
+
* - Default: The system-built-in custom agent.
|
|
314
|
+
* - Common: A common custom agent.
|
|
315
315
|
*
|
|
316
316
|
* @example
|
|
317
317
|
* Common
|
|
@@ -319,7 +319,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
319
319
|
agentType?: string;
|
|
320
320
|
/**
|
|
321
321
|
* @remarks
|
|
322
|
-
* The
|
|
322
|
+
* The primary Alibaba Cloud account ID.
|
|
323
323
|
*
|
|
324
324
|
* @example
|
|
325
325
|
* 16738266********
|
|
@@ -335,7 +335,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
335
335
|
aliyunUid?: string;
|
|
336
336
|
/**
|
|
337
337
|
* @remarks
|
|
338
|
-
* The callback
|
|
338
|
+
* The callback configuration.
|
|
339
339
|
*/
|
|
340
340
|
callbackConfig?: DescribeCustomAgentResponseBodyDataCallbackConfig;
|
|
341
341
|
/**
|
|
@@ -391,7 +391,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
391
391
|
defaultAgent?: number;
|
|
392
392
|
/**
|
|
393
393
|
* @remarks
|
|
394
|
-
* The custom agent
|
|
394
|
+
* The description of the custom agent.
|
|
395
395
|
*
|
|
396
396
|
* @example
|
|
397
397
|
* Description for the test agent
|
|
@@ -428,7 +428,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
428
428
|
gmtModified?: string;
|
|
429
429
|
/**
|
|
430
430
|
* @remarks
|
|
431
|
-
* The
|
|
431
|
+
* The instruction.
|
|
432
432
|
*
|
|
433
433
|
* @example
|
|
434
434
|
* Analytical framework:
|
|
@@ -440,7 +440,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
440
440
|
instruction?: string;
|
|
441
441
|
/**
|
|
442
442
|
* @remarks
|
|
443
|
-
* Specifies whether a
|
|
443
|
+
* Specifies whether a scheduled task is configured.
|
|
444
444
|
*
|
|
445
445
|
* @example
|
|
446
446
|
* true
|
|
@@ -487,7 +487,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
487
487
|
modifierUserName?: string;
|
|
488
488
|
/**
|
|
489
489
|
* @remarks
|
|
490
|
-
* The custom agent
|
|
490
|
+
* The name of the custom agent.
|
|
491
491
|
*
|
|
492
492
|
* @example
|
|
493
493
|
* Test agent name
|
|
@@ -495,7 +495,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
495
495
|
name?: string;
|
|
496
496
|
/**
|
|
497
497
|
* @remarks
|
|
498
|
-
* The next run time of the
|
|
498
|
+
* The next run time of the scheduled task.
|
|
499
499
|
*
|
|
500
500
|
* @example
|
|
501
501
|
* 1767715200
|
|
@@ -540,12 +540,12 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
540
540
|
releaseTime?: string;
|
|
541
541
|
/**
|
|
542
542
|
* @remarks
|
|
543
|
-
* The
|
|
543
|
+
* The scheduled task configuration.
|
|
544
544
|
*/
|
|
545
545
|
scheduleTaskConfig?: DescribeCustomAgentResponseBodyDataScheduleTaskConfig;
|
|
546
546
|
/**
|
|
547
547
|
* @remarks
|
|
548
|
-
* The custom agent
|
|
548
|
+
* The status of the custom agent.
|
|
549
549
|
*
|
|
550
550
|
* @example
|
|
551
551
|
* RELEASED
|
|
@@ -575,11 +575,11 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
575
575
|
/**
|
|
576
576
|
* @remarks
|
|
577
577
|
* The web report theme. Valid values:
|
|
578
|
-
* - default:
|
|
579
|
-
* - journal:
|
|
580
|
-
* - legacy:
|
|
581
|
-
* - neobrutalism:
|
|
582
|
-
* - infographic:
|
|
578
|
+
* - default: Default.
|
|
579
|
+
* - journal: Journal.
|
|
580
|
+
* - legacy: Legacy.
|
|
581
|
+
* - neobrutalism: Neobrutalism.
|
|
582
|
+
* - infographic: Infographic.
|
|
583
583
|
*
|
|
584
584
|
* @example
|
|
585
585
|
* default
|
|
@@ -735,10 +735,10 @@ export class DescribeCustomAgentResponseBody extends $dara.Model {
|
|
|
735
735
|
requestId?: string;
|
|
736
736
|
/**
|
|
737
737
|
* @remarks
|
|
738
|
-
*
|
|
738
|
+
* Indicates whether the request was successful. Valid values:
|
|
739
739
|
*
|
|
740
|
-
* - **true**: The request
|
|
741
|
-
* - **false**: The request
|
|
740
|
+
* - **true**: The request was successful.
|
|
741
|
+
* - **false**: The request failed.
|
|
742
742
|
*
|
|
743
743
|
* @example
|
|
744
744
|
* true
|