@alicloud/dms20250414 4.6.0 → 5.0.1
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 +24 -39
- package/dist/client.js +42 -91
- 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/AgenticCatalog.d.ts +16 -10
- package/dist/models/AgenticCatalog.js.map +1 -1
- package/dist/models/AgenticDatabase.d.ts +109 -0
- package/dist/models/AgenticDatabase.js.map +1 -1
- package/dist/models/AgenticTableBaseInfo.d.ts +60 -0
- package/dist/models/AgenticTableBaseInfo.js.map +1 -1
- package/dist/models/AgenticTableEngineMeta.d.ts +84 -0
- package/dist/models/AgenticTableEngineMeta.js.map +1 -1
- package/dist/models/AgenticTableIndex.d.ts +49 -0
- package/dist/models/AgenticTableIndex.js.map +1 -1
- package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.d.ts +4 -4
- 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 +53 -38
- package/dist/models/CreateCustomAgentRequest.js +2 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +33 -18
- package/dist/models/CreateCustomAgentResponseBody.js +2 -0
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- 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 +47 -32
- package/dist/models/DescribeCustomAgentResponseBody.js +2 -0
- package/dist/models/DescribeCustomAgentResponseBody.js.map +1 -1
- 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/GetAgenticDatabaseResponseBody.d.ts +6 -6
- 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/ListAgenticDatabaseRequest.d.ts +9 -9
- package/dist/models/ListAgenticDatabaseResponseBody.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 +51 -37
- package/dist/models/ListCustomAgentResponseBody.js +2 -0
- package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
- 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 +55 -40
- package/dist/models/ModifyCustomAgentRequest.js +2 -0
- package/dist/models/ModifyCustomAgentRequest.js.map +1 -1
- package/dist/models/ModifyCustomAgentResponseBody.d.ts +32 -17
- package/dist/models/ModifyCustomAgentResponseBody.js +2 -0
- package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -1
- 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/SearchAgenticDatabaseRequest.d.ts +3 -3
- package/dist/models/SearchAgenticDatabaseResponseBody.d.ts +5 -5
- 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 +2 -2
- package/src/client.ts +48 -102
- package/src/models/AddUserToDataAgentWorkspaceRequest.ts +1 -1
- package/src/models/AddUserToDataAgentWorkspaceResponseBody.ts +1 -1
- package/src/models/AgenticCatalog.ts +16 -10
- package/src/models/AgenticDatabase.ts +109 -0
- package/src/models/AgenticTableBaseInfo.ts +60 -0
- package/src/models/AgenticTableEngineMeta.ts +84 -0
- package/src/models/AgenticTableIndex.ts +49 -0
- package/src/models/CreateAgenticSqlExecuteCredentialResponseBody.ts +4 -4
- 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 +55 -38
- package/src/models/CreateCustomAgentResponseBody.ts +35 -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 +49 -32
- package/src/models/DescribeDataAgentSessionResponseBody.ts +38 -37
- package/src/models/FileUploadCallbackRequest.ts +2 -2
- package/src/models/GetAgenticDatabaseResponseBody.ts +6 -6
- 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/ListAgenticDatabaseRequest.ts +9 -9
- package/src/models/ListAgenticDatabaseResponseBody.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 +53 -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 +57 -40
- package/src/models/ModifyCustomAgentResponseBody.ts +34 -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/SearchAgenticDatabaseRequest.ts +3 -3
- package/src/models/SearchAgenticDatabaseResponseBody.ts +5 -5
- 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,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateCustomAgentResponseBodyDataCallbackConfig extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The parameters to invoke the callback tool.
|
|
5
|
+
* The parameters used to invoke the callback tool.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* {"ID":"test"}
|
|
@@ -10,7 +10,7 @@ export declare class CreateCustomAgentResponseBodyDataCallbackConfig extends $da
|
|
|
10
10
|
callbackArgs?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The prompt
|
|
13
|
+
* The prompt used to generate parameters to invoke the callback tool.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* send web report to 123456@163.com
|
|
@@ -54,7 +54,22 @@ export declare class CreateCustomAgentResponseBodyDataCallbackConfig extends $da
|
|
|
54
54
|
export declare class CreateCustomAgentResponseBodyDataExecutionConfig extends $dara.Model {
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
*
|
|
57
|
+
* The tendency of the agent to ask follow-up questions to clarify requirements. **This parameter takes effect only when SkipAskHuman is set to false and SkipPlan is set to false**. Valid values: [0, 1].
|
|
58
|
+
*
|
|
59
|
+
* The following are descriptions of some tendency values:
|
|
60
|
+
* - 0.0: Do not ask questions at all. The agent does not ask the user any questions, skips confirmation after generating the plan, and executes it directly.
|
|
61
|
+
* - 0.1: Confirm the plan only. The agent confirms the generated plan only once and does not ask additional questions about requirements or details.
|
|
62
|
+
* - 0.4: Ask questions when the task is blocked. The agent handles the task autonomously by default and asks questions only when the task cannot proceed or be completed.
|
|
63
|
+
* - 0.7: Ask questions when key criteria are uncertain. The agent proactively asks questions when there are critical ambiguities in the goals, scope, business criteria, or acceptance criteria.
|
|
64
|
+
* - 1.0: Fully align throughout the process. The agent proactively clarifies requirements during planning and execution, and continuously confirms when encountering important ambiguities, assumptions, or solution branches.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* 1.0
|
|
68
|
+
*/
|
|
69
|
+
clarificationTendency?: number;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* Specifies whether to prohibit appending data sources in the session.
|
|
58
73
|
*
|
|
59
74
|
* @example
|
|
60
75
|
* true
|
|
@@ -62,7 +77,7 @@ export declare class CreateCustomAgentResponseBodyDataExecutionConfig extends $d
|
|
|
62
77
|
forbiddenAppendDataSource?: boolean;
|
|
63
78
|
/**
|
|
64
79
|
* @remarks
|
|
65
|
-
* Specifies whether to
|
|
80
|
+
* Specifies whether to disable user inquiries during the process.
|
|
66
81
|
*
|
|
67
82
|
* @example
|
|
68
83
|
* true
|
|
@@ -86,7 +101,7 @@ export declare class CreateCustomAgentResponseBodyDataExecutionConfig extends $d
|
|
|
86
101
|
skipSqlConfirm?: boolean;
|
|
87
102
|
/**
|
|
88
103
|
* @remarks
|
|
89
|
-
* Specifies whether to skip the
|
|
104
|
+
* Specifies whether to skip the web report drawing confirmation.
|
|
90
105
|
*
|
|
91
106
|
* @example
|
|
92
107
|
* true
|
|
@@ -190,7 +205,7 @@ export declare class CreateCustomAgentResponseBodyDataKnowledgeSemanticConfigLis
|
|
|
190
205
|
export declare class CreateCustomAgentResponseBodyDataScheduleTaskConfig extends $dara.Model {
|
|
191
206
|
/**
|
|
192
207
|
* @remarks
|
|
193
|
-
* The cron expression for
|
|
208
|
+
* The cron expression for periodic scheduling.
|
|
194
209
|
*
|
|
195
210
|
* @example
|
|
196
211
|
* 0 0 0 ? * 1-7
|
|
@@ -198,7 +213,7 @@ export declare class CreateCustomAgentResponseBodyDataScheduleTaskConfig extends
|
|
|
198
213
|
cronExpression?: string;
|
|
199
214
|
/**
|
|
200
215
|
* @remarks
|
|
201
|
-
* The
|
|
216
|
+
* The query for the periodic task.
|
|
202
217
|
*
|
|
203
218
|
* @example
|
|
204
219
|
* Analyze this data and provide a brief report
|
|
@@ -226,7 +241,7 @@ export declare class CreateCustomAgentResponseBodyDataScheduleTaskConfig extends
|
|
|
226
241
|
export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
227
242
|
/**
|
|
228
243
|
* @remarks
|
|
229
|
-
* The custom agent
|
|
244
|
+
* The type of the custom agent. Valid values:
|
|
230
245
|
* - Default: The system-built-in custom agent.
|
|
231
246
|
* - Common: The common custom agent.
|
|
232
247
|
*
|
|
@@ -236,7 +251,7 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
236
251
|
agentType?: string;
|
|
237
252
|
/**
|
|
238
253
|
* @remarks
|
|
239
|
-
* The
|
|
254
|
+
* The parent Alibaba Cloud account ID.
|
|
240
255
|
*
|
|
241
256
|
* @example
|
|
242
257
|
* 16738266********
|
|
@@ -341,14 +356,14 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
341
356
|
*
|
|
342
357
|
* @example
|
|
343
358
|
* Analysis framework:
|
|
344
|
-
* 1. Monitor core metrics (GMV, order volume, UV, and conversion rate) on a daily, weekly, and monthly basis
|
|
345
|
-
* 2. Segment data by new and
|
|
346
|
-
* 3. Conduct funnel analysis based on user behavior
|
|
359
|
+
* 1. Monitor core metrics (GMV, order volume, UV, and conversion rate) on a daily, weekly, and monthly basis to analyze trend changes and year-over-year or month-over-month fluctuations.
|
|
360
|
+
* 2. Segment data by new and existing customers, channels, and regions to identify growth sources and shortcomings.
|
|
361
|
+
* 3. Conduct funnel analysis based on the user behavior path (browse -> add to cart -> pay) to locate churn points
|
|
347
362
|
*/
|
|
348
363
|
instruction?: string;
|
|
349
364
|
/**
|
|
350
365
|
* @remarks
|
|
351
|
-
* Indicates whether a
|
|
366
|
+
* Indicates whether a scheduled task is configured.
|
|
352
367
|
*
|
|
353
368
|
* @example
|
|
354
369
|
* false
|
|
@@ -361,9 +376,9 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
361
376
|
* @example
|
|
362
377
|
* Core metric definitions:
|
|
363
378
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
364
|
-
* 2. Order volume
|
|
379
|
+
* 2. Order volume is the number of valid orders placed per day.
|
|
365
380
|
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
366
|
-
* 4. Conversion rate = Number of paid orders / UV,
|
|
381
|
+
* 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
|
|
367
382
|
*/
|
|
368
383
|
knowledge?: string;
|
|
369
384
|
/**
|
|
@@ -402,7 +417,7 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
402
417
|
name?: string;
|
|
403
418
|
/**
|
|
404
419
|
* @remarks
|
|
405
|
-
* The next
|
|
420
|
+
* The next run time of the scheduled task.
|
|
406
421
|
* - Timestamp format.
|
|
407
422
|
*
|
|
408
423
|
* @example
|
|
@@ -449,12 +464,12 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
449
464
|
releaseTime?: string;
|
|
450
465
|
/**
|
|
451
466
|
* @remarks
|
|
452
|
-
* The
|
|
467
|
+
* The scheduled task configuration.
|
|
453
468
|
*/
|
|
454
469
|
scheduleTaskConfig?: CreateCustomAgentResponseBodyDataScheduleTaskConfig;
|
|
455
470
|
/**
|
|
456
471
|
* @remarks
|
|
457
|
-
* The custom agent
|
|
472
|
+
* The status of the custom agent.
|
|
458
473
|
*
|
|
459
474
|
* @example
|
|
460
475
|
* NEW
|
|
@@ -66,6 +66,7 @@ exports.CreateCustomAgentResponseBodyDataCallbackConfig = CreateCustomAgentRespo
|
|
|
66
66
|
class CreateCustomAgentResponseBodyDataExecutionConfig extends $dara.Model {
|
|
67
67
|
static names() {
|
|
68
68
|
return {
|
|
69
|
+
clarificationTendency: 'ClarificationTendency',
|
|
69
70
|
forbiddenAppendDataSource: 'ForbiddenAppendDataSource',
|
|
70
71
|
skipAskHuman: 'SkipAskHuman',
|
|
71
72
|
skipPlan: 'SkipPlan',
|
|
@@ -75,6 +76,7 @@ class CreateCustomAgentResponseBodyDataExecutionConfig extends $dara.Model {
|
|
|
75
76
|
}
|
|
76
77
|
static types() {
|
|
77
78
|
return {
|
|
79
|
+
clarificationTendency: 'number',
|
|
78
80
|
forbiddenAppendDataSource: 'boolean',
|
|
79
81
|
skipAskHuman: 'boolean',
|
|
80
82
|
skipPlan: 'boolean',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCustomAgentResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateCustomAgentResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+CAAgD,SAAQ,KAAK,CAAC,KAAK;IAyC9E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,cAAc,EAAE,gBAAgB;YAChC,YAAY,EAAE,cAAc;YAC5B,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,cAAc,EAAE,QAAQ;YACxB,YAAY,EAAE,QAAQ;YACtB,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,0GAoEC;AAED,MAAa,gDAAiD,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateCustomAgentResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateCustomAgentResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+CAAgD,SAAQ,KAAK,CAAC,KAAK;IAyC9E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,cAAc,EAAE,gBAAgB;YAChC,YAAY,EAAE,cAAc;YAC5B,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,cAAc,EAAE,QAAQ;YACxB,YAAY,EAAE,QAAQ;YACtB,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,0GAoEC;AAED,MAAa,gDAAiD,SAAQ,KAAK,CAAC,KAAK;IAwD/E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,qBAAqB,EAAE,uBAAuB;YAC9C,yBAAyB,EAAE,2BAA2B;YACtD,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;YAChC,oBAAoB,EAAE,sBAAsB;SAC7C,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,qBAAqB,EAAE,QAAQ;YAC/B,yBAAyB,EAAE,SAAS;YACpC,YAAY,EAAE,SAAS;YACvB,QAAQ,EAAE,SAAS;YACnB,cAAc,EAAE,SAAS;YACzB,oBAAoB,EAAE,SAAS;SAChC,CAAC;IACJ,CAAC;IAED,QAAQ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GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjYD,8EAiYC;AAED,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAwC5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,iCAAiC;YACvC,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtED,sEAsEC"}
|
|
@@ -3,8 +3,8 @@ export declare class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
5
|
* The type of the custom agent. Valid values:
|
|
6
|
-
* - Default:
|
|
7
|
-
* - Common:
|
|
6
|
+
* - Default: the system-built-in custom agent. Each workspace can have at most one Default agent, which cannot be deleted.
|
|
7
|
+
* - Common: a common custom agent.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* Common
|
|
@@ -18,8 +18,8 @@ export declare class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
20
|
* The creation source. Valid values:
|
|
21
|
-
* -
|
|
22
|
-
* - SmartNew:
|
|
21
|
+
* - Default (leave empty): created by using a form.
|
|
22
|
+
* - SmartNew: intelligent development.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* SmartNew
|
|
@@ -35,19 +35,19 @@ export declare class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
35
35
|
DMSUnit?: string;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The specified data scope in **JSON
|
|
38
|
+
* The specified data scope in **JSON string format**.
|
|
39
39
|
* - General parameter description:
|
|
40
|
-
* - tableFlag:
|
|
41
|
-
* - scope:
|
|
42
|
-
* - personal:
|
|
40
|
+
* - tableFlag: true indicates that the data scope is specified.
|
|
41
|
+
* - scope: personal is a fixed value.
|
|
42
|
+
* - personal: the parameters passed for file and database types.
|
|
43
43
|
*
|
|
44
44
|
* **File type**. Pass parameters in the following format:
|
|
45
|
-
* - DataSourceType:
|
|
46
|
-
* - FileId:
|
|
47
|
-
* - Database:
|
|
48
|
-
* - Tables:
|
|
49
|
-
* - TableIds:
|
|
50
|
-
* - RegionId:
|
|
45
|
+
* - DataSourceType: remote_data_center is a fixed value.
|
|
46
|
+
* - FileId: the file ID.
|
|
47
|
+
* - Database: the database name returned by the ListDataCenterTable operation, which is usually the file name.
|
|
48
|
+
* - Tables: the table names returned by the ListDataCenterTable operation.
|
|
49
|
+
* - TableIds: the table IDs returned by the ListDataCenterTable operation.
|
|
50
|
+
* - RegionId: the current region.
|
|
51
51
|
* ```
|
|
52
52
|
* {
|
|
53
53
|
* "tableFlag": true,
|
|
@@ -68,16 +68,16 @@ export declare class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
68
68
|
* ```
|
|
69
69
|
*
|
|
70
70
|
* **Database type**. Pass parameters in the following format:
|
|
71
|
-
* - DataSourceType:
|
|
72
|
-
* - DmsInstanceId:
|
|
73
|
-
* - DmsDatabaseId:
|
|
74
|
-
* - FileId:
|
|
75
|
-
* - DbName:
|
|
76
|
-
* - Database:
|
|
77
|
-
* - Tables:
|
|
78
|
-
* - TableIds:
|
|
79
|
-
* - Engine:
|
|
80
|
-
* - RegionId:
|
|
71
|
+
* - DataSourceType: database is a fixed value.
|
|
72
|
+
* - DmsInstanceId: the DMS instance ID returned by the data center operation.
|
|
73
|
+
* - DmsDatabaseId: the DMS database ID returned by the data center operation.
|
|
74
|
+
* - FileId: the instance name. (Deprecated)
|
|
75
|
+
* - DbName: the database name returned by the data center operation.
|
|
76
|
+
* - Database: the database name returned by the data center operation.
|
|
77
|
+
* - Tables: the table names returned by the data center operation.
|
|
78
|
+
* - TableIds: the table IDs returned by the data center operation.
|
|
79
|
+
* - Engine: the engine type (mysql or postgresql).
|
|
80
|
+
* - RegionId: the current region.
|
|
81
81
|
* ```
|
|
82
82
|
* {
|
|
83
83
|
* "tableFlag": true,
|
|
@@ -132,27 +132,27 @@ export declare class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
132
132
|
/**
|
|
133
133
|
* @remarks
|
|
134
134
|
* The instruction.
|
|
135
|
-
* - Input limit:
|
|
135
|
+
* - Input limit: up to 10,000 characters.
|
|
136
136
|
*
|
|
137
137
|
* @example
|
|
138
138
|
* Core metric definitions:
|
|
139
139
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
140
|
-
* 2. Order volume
|
|
140
|
+
* 2. Order volume is the number of valid orders placed per day.
|
|
141
141
|
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
142
|
-
* 4. Conversion rate = Number of paid orders / UV,
|
|
142
|
+
* 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
|
|
143
143
|
*/
|
|
144
144
|
instruction?: string;
|
|
145
145
|
/**
|
|
146
146
|
* @remarks
|
|
147
147
|
* The knowledge.
|
|
148
|
-
* - Input limit:
|
|
148
|
+
* - Input limit: up to 10,000 characters.
|
|
149
149
|
*
|
|
150
150
|
* @example
|
|
151
151
|
* Core metric definitions:
|
|
152
152
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
153
|
-
* 2. Order volume
|
|
153
|
+
* 2. Order volume is the number of valid orders placed per day.
|
|
154
154
|
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
155
|
-
* 4. Conversion rate = Number of paid orders / UV,
|
|
155
|
+
* 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
|
|
156
156
|
*/
|
|
157
157
|
knowledge?: string;
|
|
158
158
|
/**
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateDataAgentAccuracyTestRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The ID of the custom agent
|
|
5
|
+
* The ID of the custom agent that requires accuracy testing.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* ca-xxxxxxxxxxxxxxxxxxxx
|
|
@@ -10,7 +10,7 @@ export declare class CreateDataAgentAccuracyTestRequest extends $dara.Model {
|
|
|
10
10
|
customAgentId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* Deprecated
|
|
13
|
+
* **[Deprecated]**.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* null
|
|
@@ -18,7 +18,7 @@ export declare class CreateDataAgentAccuracyTestRequest extends $dara.Model {
|
|
|
18
18
|
dataset?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The data source.
|
|
21
|
+
* The data source. Configure it in the custom agent.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* [{"isInternal":"N","TableIds":["51***70","51***71"],"DataSourceType":"database","Database":"internal_data_employees","DmsInstanceId":"27***5","DmsDatabaseId":"71***04","Tables":["employees","salaries"],"FileId":"rm-
|
|
@@ -91,10 +91,10 @@ export declare class CreateDataAgentAccuracyTestRequest extends $dara.Model {
|
|
|
91
91
|
name?: string;
|
|
92
92
|
/**
|
|
93
93
|
* @remarks
|
|
94
|
-
* Specifies whether
|
|
94
|
+
* Specifies whether to display sessions after analysis. This feature is not supported.
|
|
95
95
|
*
|
|
96
96
|
* @example
|
|
97
|
-
*
|
|
97
|
+
* false
|
|
98
98
|
*/
|
|
99
99
|
needDelete?: boolean;
|
|
100
100
|
/**
|
|
@@ -110,7 +110,7 @@ export declare class CreateDataAgentAccuracyTestRequest extends $dara.Model {
|
|
|
110
110
|
* The workspace ID.
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
113
|
-
*
|
|
113
|
+
* 1abc2de34fg56hijk7l8mnopq
|
|
114
114
|
*/
|
|
115
115
|
workspaceId?: string;
|
|
116
116
|
static names(): {
|
|
@@ -27,7 +27,7 @@ export declare class CreateDataAgentAccuracyTestResponseBody extends $dara.Model
|
|
|
27
27
|
data?: CreateDataAgentAccuracyTestResponseBodyData;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
* The error code returned
|
|
30
|
+
* The error code returned when an exception occurs.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* UnknownError
|
|
@@ -35,7 +35,7 @@ export declare class CreateDataAgentAccuracyTestResponseBody extends $dara.Model
|
|
|
35
35
|
errorCode?: string;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The error message returned
|
|
38
|
+
* The error message returned when the call fails.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* UnknownError
|
|
@@ -51,10 +51,10 @@ export declare class CreateDataAgentAccuracyTestResponseBody extends $dara.Model
|
|
|
51
51
|
requestId?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* Indicates whether the request
|
|
54
|
+
* Indicates whether the request is successful. Valid values:
|
|
55
55
|
*
|
|
56
|
-
* - **true**: The request
|
|
57
|
-
* - **false**: The request
|
|
56
|
+
* - **true**: The request is successful.
|
|
57
|
+
* - **false**: The request fails.
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* true
|
|
@@ -42,7 +42,7 @@ export declare class CreateDataAgentWorkspaceResponseBodyData extends $dara.Mode
|
|
|
42
42
|
modifyTime?: number;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The name of the user
|
|
45
|
+
* The name of the user\"s role in the workspace.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* owner
|
|
@@ -1,4 +1,44 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DataAgentApplicationLastRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The control action. Valid values:
|
|
6
|
+
* - DEPLOY
|
|
7
|
+
* - STOP
|
|
8
|
+
* - RESTART
|
|
9
|
+
* - DELETE
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* RESTART
|
|
13
|
+
*/
|
|
14
|
+
action?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The error code for the failure of the most recent user control request. If no error occurs, this parameter is empty.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* SCRIPT_EXIT_FAILED
|
|
21
|
+
*/
|
|
22
|
+
errorCode?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The summary of the failure cause for the most recent user control request. If no error occurs, this parameter is empty.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* stage=script, exitCode=2
|
|
29
|
+
*/
|
|
30
|
+
errorMessage?: string;
|
|
31
|
+
static names(): {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
static types(): {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
};
|
|
37
|
+
validate(): void;
|
|
38
|
+
constructor(map?: {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
});
|
|
41
|
+
}
|
|
2
42
|
export declare class DataAgentApplication extends $dara.Model {
|
|
3
43
|
/**
|
|
4
44
|
* @remarks
|
|
@@ -26,12 +66,44 @@ export declare class DataAgentApplication extends $dara.Model {
|
|
|
26
66
|
appName?: string;
|
|
27
67
|
/**
|
|
28
68
|
* @remarks
|
|
29
|
-
* The
|
|
69
|
+
* 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.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* https://abc123.app.pre.datapaw-app.cloud
|
|
73
|
+
*/
|
|
74
|
+
appUrl?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @remarks
|
|
77
|
+
* The extended information of the application.
|
|
30
78
|
*
|
|
31
79
|
* @example
|
|
32
80
|
* {}
|
|
33
81
|
*/
|
|
34
82
|
applicationExtraInfo?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* 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.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* 6
|
|
89
|
+
*/
|
|
90
|
+
applicationRevision?: number;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* 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.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* SCRIPT_EXIT_FAILED
|
|
97
|
+
*/
|
|
98
|
+
availabilityErrorCode?: string;
|
|
99
|
+
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* The summary of the cause for the current service unavailability. If no error occurs, this parameter is empty.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* stage=script, exitCode=2
|
|
105
|
+
*/
|
|
106
|
+
availabilityErrorMessage?: string;
|
|
35
107
|
/**
|
|
36
108
|
* @remarks
|
|
37
109
|
* The name of the application creator.
|
|
@@ -50,7 +122,7 @@ export declare class DataAgentApplication extends $dara.Model {
|
|
|
50
122
|
creatorUid?: string;
|
|
51
123
|
/**
|
|
52
124
|
* @remarks
|
|
53
|
-
* The description of the application
|
|
125
|
+
* The description of the application, which can be up to 250 characters in length.
|
|
54
126
|
*
|
|
55
127
|
* @example
|
|
56
128
|
* this is a test application
|
|
@@ -72,6 +144,11 @@ export declare class DataAgentApplication extends $dara.Model {
|
|
|
72
144
|
* 2026-09-12T10:40:12.000+00:00
|
|
73
145
|
*/
|
|
74
146
|
gmtModified?: string;
|
|
147
|
+
/**
|
|
148
|
+
* @remarks
|
|
149
|
+
* The most recent user control request. If no control request has been made, this parameter is empty.
|
|
150
|
+
*/
|
|
151
|
+
lastRequest?: DataAgentApplicationLastRequest;
|
|
75
152
|
/**
|
|
76
153
|
* @remarks
|
|
77
154
|
* The UID of the Alibaba Cloud account.
|
|
@@ -80,6 +157,22 @@ export declare class DataAgentApplication extends $dara.Model {
|
|
|
80
157
|
* 1673828888852166
|
|
81
158
|
*/
|
|
82
159
|
mainUid?: string;
|
|
160
|
+
/**
|
|
161
|
+
* @remarks
|
|
162
|
+
* Specifies whether the runtime or service observation is missing or stale. If this parameter is set to true, the availability information may be outdated.
|
|
163
|
+
*
|
|
164
|
+
* @example
|
|
165
|
+
* false
|
|
166
|
+
*/
|
|
167
|
+
observationStale?: boolean;
|
|
168
|
+
/**
|
|
169
|
+
* @remarks
|
|
170
|
+
* 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.
|
|
171
|
+
*
|
|
172
|
+
* @example
|
|
173
|
+
* true
|
|
174
|
+
*/
|
|
175
|
+
ready?: boolean;
|
|
83
176
|
/**
|
|
84
177
|
* @remarks
|
|
85
178
|
* The region.
|
|
@@ -100,13 +193,42 @@ export declare class DataAgentApplication extends $dara.Model {
|
|
|
100
193
|
* @remarks
|
|
101
194
|
* The status of the application. Valid values:
|
|
102
195
|
* - REGISTERED
|
|
196
|
+
* - PREPARING
|
|
197
|
+
* - 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.
|
|
198
|
+
* - SEALING
|
|
199
|
+
* - REVIEWING
|
|
103
200
|
* - DEPLOYING
|
|
104
201
|
* - DEPLOYED
|
|
202
|
+
* - DEPLOY_FAILED
|
|
203
|
+
* - STOPPING
|
|
204
|
+
* - STOPPED
|
|
205
|
+
* - STOP_FAILED
|
|
206
|
+
* - RECOVERING
|
|
207
|
+
* - UNAVAILABLE
|
|
208
|
+
* - DELETING
|
|
209
|
+
* - DELETE_FAILED
|
|
210
|
+
* - DELETED: The logical deletion terminal state. The application no longer appears in List or Describe operations.
|
|
105
211
|
*
|
|
106
212
|
* @example
|
|
107
213
|
* REGISTERED
|
|
108
214
|
*/
|
|
109
215
|
status?: string;
|
|
216
|
+
/**
|
|
217
|
+
* @remarks
|
|
218
|
+
* 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.
|
|
219
|
+
*
|
|
220
|
+
* @example
|
|
221
|
+
* vsw-example
|
|
222
|
+
*/
|
|
223
|
+
vSwitchId?: string;
|
|
224
|
+
/**
|
|
225
|
+
* @remarks
|
|
226
|
+
* 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.
|
|
227
|
+
*
|
|
228
|
+
* @example
|
|
229
|
+
* vpc-example
|
|
230
|
+
*/
|
|
231
|
+
vpcId?: string;
|
|
110
232
|
/**
|
|
111
233
|
* @remarks
|
|
112
234
|
* The ID of the workspace.
|
|
@@ -33,25 +33,57 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.DataAgentApplication = void 0;
|
|
36
|
+
exports.DataAgentApplication = exports.DataAgentApplicationLastRequest = void 0;
|
|
37
37
|
// This file is auto-generated, don't edit it
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DataAgentApplicationLastRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
action: 'Action',
|
|
43
|
+
errorCode: 'ErrorCode',
|
|
44
|
+
errorMessage: 'ErrorMessage',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static types() {
|
|
48
|
+
return {
|
|
49
|
+
action: 'string',
|
|
50
|
+
errorCode: 'string',
|
|
51
|
+
errorMessage: 'string',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
validate() {
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
constructor(map) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.DataAgentApplicationLastRequest = DataAgentApplicationLastRequest;
|
|
39
62
|
class DataAgentApplication extends $dara.Model {
|
|
40
63
|
static names() {
|
|
41
64
|
return {
|
|
42
65
|
agentId: 'AgentId',
|
|
43
66
|
appId: 'AppId',
|
|
44
67
|
appName: 'AppName',
|
|
68
|
+
appUrl: 'AppUrl',
|
|
45
69
|
applicationExtraInfo: 'ApplicationExtraInfo',
|
|
70
|
+
applicationRevision: 'ApplicationRevision',
|
|
71
|
+
availabilityErrorCode: 'AvailabilityErrorCode',
|
|
72
|
+
availabilityErrorMessage: 'AvailabilityErrorMessage',
|
|
46
73
|
creatorName: 'CreatorName',
|
|
47
74
|
creatorUid: 'CreatorUid',
|
|
48
75
|
description: 'Description',
|
|
49
76
|
gmtCreated: 'GmtCreated',
|
|
50
77
|
gmtModified: 'GmtModified',
|
|
78
|
+
lastRequest: 'LastRequest',
|
|
51
79
|
mainUid: 'MainUid',
|
|
80
|
+
observationStale: 'ObservationStale',
|
|
81
|
+
ready: 'Ready',
|
|
52
82
|
region: 'Region',
|
|
53
83
|
sessionId: 'SessionId',
|
|
54
84
|
status: 'Status',
|
|
85
|
+
vSwitchId: 'VSwitchId',
|
|
86
|
+
vpcId: 'VpcId',
|
|
55
87
|
workspaceId: 'WorkspaceId',
|
|
56
88
|
};
|
|
57
89
|
}
|
|
@@ -60,20 +92,32 @@ class DataAgentApplication extends $dara.Model {
|
|
|
60
92
|
agentId: 'string',
|
|
61
93
|
appId: 'string',
|
|
62
94
|
appName: 'string',
|
|
95
|
+
appUrl: 'string',
|
|
63
96
|
applicationExtraInfo: 'string',
|
|
97
|
+
applicationRevision: 'number',
|
|
98
|
+
availabilityErrorCode: 'string',
|
|
99
|
+
availabilityErrorMessage: 'string',
|
|
64
100
|
creatorName: 'string',
|
|
65
101
|
creatorUid: 'string',
|
|
66
102
|
description: 'string',
|
|
67
103
|
gmtCreated: 'string',
|
|
68
104
|
gmtModified: 'string',
|
|
105
|
+
lastRequest: DataAgentApplicationLastRequest,
|
|
69
106
|
mainUid: 'string',
|
|
107
|
+
observationStale: 'boolean',
|
|
108
|
+
ready: 'boolean',
|
|
70
109
|
region: 'string',
|
|
71
110
|
sessionId: 'string',
|
|
72
111
|
status: 'string',
|
|
112
|
+
vSwitchId: 'string',
|
|
113
|
+
vpcId: 'string',
|
|
73
114
|
workspaceId: 'string',
|
|
74
115
|
};
|
|
75
116
|
}
|
|
76
117
|
validate() {
|
|
118
|
+
if (this.lastRequest && typeof this.lastRequest.validate === 'function') {
|
|
119
|
+
this.lastRequest.validate();
|
|
120
|
+
}
|
|
77
121
|
super.validate();
|
|
78
122
|
}
|
|
79
123
|
constructor(map) {
|