@alicloud/dms20250414 4.5.1 → 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.
Files changed (182) hide show
  1. package/dist/client.d.ts +71 -26
  2. package/dist/client.js +173 -26
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddUserToDataAgentWorkspaceRequest.d.ts +1 -1
  5. package/dist/models/AddUserToDataAgentWorkspaceResponseBody.d.ts +1 -1
  6. package/dist/models/CreateAirflowRequest.d.ts +31 -10
  7. package/dist/models/CreateAirflowRequest.js +6 -0
  8. package/dist/models/CreateAirflowRequest.js.map +1 -1
  9. package/dist/models/CreateAirflowResponseBody.d.ts +36 -15
  10. package/dist/models/CreateAirflowResponseBody.js +6 -0
  11. package/dist/models/CreateAirflowResponseBody.js.map +1 -1
  12. package/dist/models/CreateAirflowShrinkRequest.d.ts +31 -10
  13. package/dist/models/CreateAirflowShrinkRequest.js +6 -0
  14. package/dist/models/CreateAirflowShrinkRequest.js.map +1 -1
  15. package/dist/models/CreateCustomAgentRequest.d.ts +38 -38
  16. package/dist/models/CreateCustomAgentResponseBody.d.ts +18 -18
  17. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +30 -30
  18. package/dist/models/CreateDataAgentAccuracyTestRequest.d.ts +6 -6
  19. package/dist/models/CreateDataAgentAccuracyTestResponseBody.d.ts +5 -5
  20. package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +1 -1
  21. package/dist/models/DataAgentApplication.d.ts +124 -2
  22. package/dist/models/DataAgentApplication.js +45 -1
  23. package/dist/models/DataAgentApplication.js.map +1 -1
  24. package/dist/models/DataAgentApplicationAgreement.d.ts +53 -0
  25. package/dist/models/DataAgentApplicationAgreement.js +66 -0
  26. package/dist/models/DataAgentApplicationAgreement.js.map +1 -0
  27. package/dist/models/DeleteAgenticVpcEndpointResponseBody.d.ts +2 -2
  28. package/dist/models/DescribeCustomAgentResponseBody.d.ts +32 -32
  29. package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +38 -37
  30. package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
  31. package/dist/models/DmsGatewayOrder.d.ts +1 -0
  32. package/dist/models/DmsGatewayOrder.js +2 -0
  33. package/dist/models/DmsGatewayOrder.js.map +1 -1
  34. package/dist/models/FileUploadCallbackRequest.d.ts +2 -2
  35. package/dist/models/GetAirflowRequest.d.ts +2 -2
  36. package/dist/models/GetAirflowResponseBody.d.ts +37 -17
  37. package/dist/models/GetAirflowResponseBody.js +6 -0
  38. package/dist/models/GetAirflowResponseBody.js.map +1 -1
  39. package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.d.ts +3 -3
  40. package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.d.ts +10 -2
  41. package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.js +2 -0
  42. package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.js.map +1 -1
  43. package/dist/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.d.ts +3 -3
  44. package/dist/models/GetDataAgentTaskModelUsageRequest.d.ts +2 -2
  45. package/dist/models/GetDataAgentTaskModelUsageResponseBody.d.ts +21 -5
  46. package/dist/models/GetDataAgentTaskModelUsageResponseBody.js +4 -0
  47. package/dist/models/GetDataAgentTaskModelUsageResponseBody.js.map +1 -1
  48. package/dist/models/GetDataAgentTaskModelUsageShrinkRequest.d.ts +2 -2
  49. package/dist/models/GetDataAgentThemeUploadSignatureResponseBody.d.ts +1 -1
  50. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.d.ts +23 -0
  51. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.js +58 -0
  52. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.js.map +1 -0
  53. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.d.ts +19 -0
  54. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.js +69 -0
  55. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.js.map +1 -0
  56. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.d.ts +77 -0
  57. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.js +90 -0
  58. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.js.map +1 -0
  59. package/dist/models/GetNotebookAndSubmitTaskRequest.d.ts +2 -2
  60. package/dist/models/ListAirflowsRequest.d.ts +5 -5
  61. package/dist/models/ListAirflowsResponseBody.d.ts +43 -23
  62. package/dist/models/ListAirflowsResponseBody.js +6 -0
  63. package/dist/models/ListAirflowsResponseBody.js.map +1 -1
  64. package/dist/models/ListCustomAgentRequest.d.ts +2 -2
  65. package/dist/models/ListCustomAgentResponseBody.d.ts +37 -37
  66. package/dist/models/ListDataAgentAccuracyTestResultsResponseBody.d.ts +3 -3
  67. package/dist/models/ListDataAgentAccuracyTestTasksResponseBody.d.ts +1 -1
  68. package/dist/models/ListDataAgentWorkspaceMemberResponseBody.d.ts +3 -3
  69. package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +1 -1
  70. package/dist/models/ListDataCenterDatabaseResponseBody.d.ts +2 -2
  71. package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.d.ts +37 -0
  72. package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.js +62 -0
  73. package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.js.map +1 -0
  74. package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.d.ts +19 -0
  75. package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.js +69 -0
  76. package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.js.map +1 -0
  77. package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.d.ts +98 -0
  78. package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.js +99 -0
  79. package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.js.map +1 -0
  80. package/dist/models/ModifyCustomAgentRequest.d.ts +40 -40
  81. package/dist/models/ModifyCustomAgentResponseBody.d.ts +17 -17
  82. package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +33 -33
  83. package/dist/models/RedeployAirflowResponseBody.d.ts +1 -1
  84. package/dist/models/ResetAgenticApiKeyResponseBody.d.ts +1 -1
  85. package/dist/models/RetrieveKnowledgeBaseRequest.d.ts +2 -2
  86. package/dist/models/SendChatMessageRequest.d.ts +70 -76
  87. package/dist/models/SendChatMessageRequest.js.map +1 -1
  88. package/dist/models/SendChatMessageShrinkRequest.d.ts +18 -21
  89. package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
  90. package/dist/models/SetWorkspaceQuotaRequest.d.ts +5 -5
  91. package/dist/models/SetWorkspaceQuotaResponseBody.d.ts +9 -9
  92. package/dist/models/UpdateAirflowRequest.d.ts +26 -5
  93. package/dist/models/UpdateAirflowRequest.js +6 -0
  94. package/dist/models/UpdateAirflowRequest.js.map +1 -1
  95. package/dist/models/UpdateAirflowResponseBody.d.ts +28 -7
  96. package/dist/models/UpdateAirflowResponseBody.js +6 -0
  97. package/dist/models/UpdateAirflowResponseBody.js.map +1 -1
  98. package/dist/models/UpdateAirflowShrinkRequest.d.ts +26 -5
  99. package/dist/models/UpdateAirflowShrinkRequest.js +6 -0
  100. package/dist/models/UpdateAirflowShrinkRequest.js.map +1 -1
  101. package/dist/models/UpdateDataAgentAccuracyTestRequest.d.ts +4 -4
  102. package/dist/models/UpdateDataAgentAccuracyTestResponseBody.d.ts +4 -4
  103. package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.d.ts +36 -0
  104. package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.js +62 -0
  105. package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.js.map +1 -0
  106. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.d.ts +19 -0
  107. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.js +69 -0
  108. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.js.map +1 -0
  109. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.d.ts +82 -0
  110. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.js +95 -0
  111. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.js.map +1 -0
  112. package/dist/models/UpdateOneMetaSqlTemplateRequest.d.ts +1 -1
  113. package/dist/models/WorkspaceActionStatusResponseBody.d.ts +1 -1
  114. package/dist/models/model.d.ts +14 -0
  115. package/dist/models/model.js +44 -15
  116. package/dist/models/model.js.map +1 -1
  117. package/package.json +1 -1
  118. package/src/client.ts +192 -26
  119. package/src/models/AddUserToDataAgentWorkspaceRequest.ts +1 -1
  120. package/src/models/AddUserToDataAgentWorkspaceResponseBody.ts +1 -1
  121. package/src/models/CreateAirflowRequest.ts +37 -10
  122. package/src/models/CreateAirflowResponseBody.ts +42 -15
  123. package/src/models/CreateAirflowShrinkRequest.ts +37 -10
  124. package/src/models/CreateCustomAgentRequest.ts +38 -38
  125. package/src/models/CreateCustomAgentResponseBody.ts +18 -18
  126. package/src/models/CreateCustomAgentShrinkRequest.ts +30 -30
  127. package/src/models/CreateDataAgentAccuracyTestRequest.ts +6 -6
  128. package/src/models/CreateDataAgentAccuracyTestResponseBody.ts +5 -5
  129. package/src/models/CreateDataAgentWorkspaceResponseBody.ts +1 -1
  130. package/src/models/DataAgentApplication.ts +159 -2
  131. package/src/models/DataAgentApplicationAgreement.ts +74 -0
  132. package/src/models/DeleteAgenticVpcEndpointResponseBody.ts +2 -2
  133. package/src/models/DescribeCustomAgentResponseBody.ts +32 -32
  134. package/src/models/DescribeDataAgentSessionResponseBody.ts +38 -37
  135. package/src/models/DmsGatewayOrder.ts +3 -0
  136. package/src/models/FileUploadCallbackRequest.ts +2 -2
  137. package/src/models/GetAirflowRequest.ts +2 -2
  138. package/src/models/GetAirflowResponseBody.ts +43 -17
  139. package/src/models/GetDataAgentTaskModelUsageMetricsRequest.ts +3 -3
  140. package/src/models/GetDataAgentTaskModelUsageMetricsResponseBody.ts +12 -2
  141. package/src/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.ts +3 -3
  142. package/src/models/GetDataAgentTaskModelUsageRequest.ts +2 -2
  143. package/src/models/GetDataAgentTaskModelUsageResponseBody.ts +25 -5
  144. package/src/models/GetDataAgentTaskModelUsageShrinkRequest.ts +2 -2
  145. package/src/models/GetDataAgentThemeUploadSignatureResponseBody.ts +1 -1
  146. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.ts +36 -0
  147. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.ts +40 -0
  148. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.ts +113 -0
  149. package/src/models/GetNotebookAndSubmitTaskRequest.ts +2 -2
  150. package/src/models/ListAirflowsRequest.ts +5 -5
  151. package/src/models/ListAirflowsResponseBody.ts +49 -23
  152. package/src/models/ListCustomAgentRequest.ts +2 -2
  153. package/src/models/ListCustomAgentResponseBody.ts +37 -37
  154. package/src/models/ListDataAgentAccuracyTestResultsResponseBody.ts +3 -3
  155. package/src/models/ListDataAgentAccuracyTestTasksResponseBody.ts +1 -1
  156. package/src/models/ListDataAgentWorkspaceMemberResponseBody.ts +3 -3
  157. package/src/models/ListDataAgentWorkspaceResponseBody.ts +1 -1
  158. package/src/models/ListDataCenterDatabaseResponseBody.ts +2 -2
  159. package/src/models/ListMyAgenticNotificationChannelConfigsRequest.ts +54 -0
  160. package/src/models/ListMyAgenticNotificationChannelConfigsResponse.ts +40 -0
  161. package/src/models/ListMyAgenticNotificationChannelConfigsResponseBody.ts +141 -0
  162. package/src/models/ModifyCustomAgentRequest.ts +40 -40
  163. package/src/models/ModifyCustomAgentResponseBody.ts +17 -17
  164. package/src/models/ModifyCustomAgentShrinkRequest.ts +33 -33
  165. package/src/models/RedeployAirflowResponseBody.ts +1 -1
  166. package/src/models/ResetAgenticApiKeyResponseBody.ts +1 -1
  167. package/src/models/RetrieveKnowledgeBaseRequest.ts +2 -2
  168. package/src/models/SendChatMessageRequest.ts +70 -76
  169. package/src/models/SendChatMessageShrinkRequest.ts +18 -21
  170. package/src/models/SetWorkspaceQuotaRequest.ts +5 -5
  171. package/src/models/SetWorkspaceQuotaResponseBody.ts +9 -9
  172. package/src/models/UpdateAirflowRequest.ts +32 -5
  173. package/src/models/UpdateAirflowResponseBody.ts +34 -7
  174. package/src/models/UpdateAirflowShrinkRequest.ts +32 -5
  175. package/src/models/UpdateDataAgentAccuracyTestRequest.ts +4 -4
  176. package/src/models/UpdateDataAgentAccuracyTestResponseBody.ts +4 -4
  177. package/src/models/UpdateMyAgenticNotificationChannelConfigRequest.ts +53 -0
  178. package/src/models/UpdateMyAgenticNotificationChannelConfigResponse.ts +40 -0
  179. package/src/models/UpdateMyAgenticNotificationChannelConfigResponseBody.ts +121 -0
  180. package/src/models/UpdateOneMetaSqlTemplateRequest.ts +1 -1
  181. package/src/models/WorkspaceActionStatusResponseBody.ts +1 -1
  182. package/src/models/model.ts +14 -0
@@ -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 extension information of the application.
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. The description can be up to 250 characters in length.
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) {
@@ -1 +1 @@
1
- {"version":3,"file":"DataAgentApplication.js","sourceRoot":"","sources":["../../src/models/DataAgentApplication.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAoHnD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,SAAS;YAClB,oBAAoB,EAAE,sBAAsB;YAC5C,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;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,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,WAAW,IAAI,OAAQ,IAAI,CAAC,WAAmB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC/E,IAAI,CAAC,WAAmB,CAAC,QAAQ,EAAE,CAAC;QACvC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxQD,oDAwQC"}
@@ -0,0 +1,53 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DataAgentApplicationAgreement extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * 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.
6
+ *
7
+ * @example
8
+ * 2036-11-23T08:00:00Z
9
+ */
10
+ expiresAt?: string;
11
+ /**
12
+ * @remarks
13
+ * The region of the workspace to which the agreement belongs.
14
+ *
15
+ * @example
16
+ * cn-hangzhou
17
+ */
18
+ regionId?: string;
19
+ /**
20
+ * @remarks
21
+ * 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.
22
+ *
23
+ * @example
24
+ * 2026-11-23T08:00:00Z
25
+ */
26
+ signedAt?: string;
27
+ /**
28
+ * @remarks
29
+ * 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.
30
+ *
31
+ * @example
32
+ * SIGNED
33
+ */
34
+ status?: string;
35
+ /**
36
+ * @remarks
37
+ * The stable identifier of the workspace to which the agreement belongs.
38
+ *
39
+ * @example
40
+ * 62q1xxxxxxxxxxxxxxxxxxx0
41
+ */
42
+ workspaceId?: string;
43
+ static names(): {
44
+ [key: string]: string;
45
+ };
46
+ static types(): {
47
+ [key: string]: any;
48
+ };
49
+ validate(): void;
50
+ constructor(map?: {
51
+ [key: string]: any;
52
+ });
53
+ }
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DataAgentApplicationAgreement = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DataAgentApplicationAgreement extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ expiresAt: 'ExpiresAt',
43
+ regionId: 'RegionId',
44
+ signedAt: 'SignedAt',
45
+ status: 'Status',
46
+ workspaceId: 'WorkspaceId',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ expiresAt: 'string',
52
+ regionId: 'string',
53
+ signedAt: 'string',
54
+ status: 'string',
55
+ workspaceId: 'string',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.DataAgentApplicationAgreement = DataAgentApplicationAgreement;
66
+ //# sourceMappingURL=DataAgentApplicationAgreement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataAgentApplicationAgreement.js","sourceRoot":"","sources":["../../src/models/DataAgentApplicationAgreement.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAyC5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,QAAQ;SACtB,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,sEAoEC"}
@@ -10,7 +10,7 @@ export declare class DeleteAgenticVpcEndpointResponseBodyData extends $dara.Mode
10
10
  endpointId?: string;
11
11
  /**
12
12
  * @remarks
13
- * 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.
13
+ * 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.
14
14
  *
15
15
  * @example
16
16
  * RELEASED
@@ -30,7 +30,7 @@ export declare class DeleteAgenticVpcEndpointResponseBodyData extends $dara.Mode
30
30
  export declare class DeleteAgenticVpcEndpointResponseBody extends $dara.Model {
31
31
  /**
32
32
  * @remarks
33
- * The deletion acceptance result. For duplicate requests, downstream errors are retained and idempotence is not guaranteed.
33
+ * The deletion acceptance result. For duplicate requests, downstream errors are retained, and idempotence is not guaranteed.
34
34
  */
35
35
  data?: DeleteAgenticVpcEndpointResponseBodyData;
36
36
  /**
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class DescribeCustomAgentResponseBodyDataCallbackConfig extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The parameters to invoke callback tool calling.
5
+ * The callback tool invocation parameters.
6
6
  *
7
7
  * @example
8
8
  * {"ID":"test"}
@@ -10,7 +10,7 @@ export declare class DescribeCustomAgentResponseBodyDataCallbackConfig extends $
10
10
  callbackArgs?: string;
11
11
  /**
12
12
  * @remarks
13
- * The prompt for generating parameters to invoke callback tool calling.
13
+ * The prompt for generating callback tool invocation parameters.
14
14
  *
15
15
  * @example
16
16
  * send web report to 123456@163.com
@@ -18,7 +18,7 @@ export declare class DescribeCustomAgentResponseBodyDataCallbackConfig extends $
18
18
  callbackPrompt?: string;
19
19
  /**
20
20
  * @remarks
21
- * The timing to invoke callback tool calling.
21
+ * The timing of callback tool invocation.
22
22
  *
23
23
  * @example
24
24
  * 0
@@ -54,7 +54,7 @@ export declare class DescribeCustomAgentResponseBodyDataCallbackConfig extends $
54
54
  export declare class DescribeCustomAgentResponseBodyDataExecutionConfig extends $dara.Model {
55
55
  /**
56
56
  * @remarks
57
- * Specifies whether to prohibit appending data sources in a session.
57
+ * Specifies whether to prohibit appending data sources during the session.
58
58
  *
59
59
  * @example
60
60
  * true
@@ -86,7 +86,7 @@ export declare class DescribeCustomAgentResponseBodyDataExecutionConfig extends
86
86
  skipSqlConfirm?: boolean;
87
87
  /**
88
88
  * @remarks
89
- * Specifies whether to skip the confirmation for drawing a web report.
89
+ * Specifies whether to skip the web report rendering confirmation.
90
90
  *
91
91
  * @example
92
92
  * false
@@ -107,8 +107,8 @@ export declare class DescribeCustomAgentResponseBodyDataKnowledgeConfigList exte
107
107
  /**
108
108
  * @remarks
109
109
  * The access type. Valid values:
110
- * - mcp: MCP access
111
- * - dms_kb: DMS knowledge base access
110
+ * - mcp: Accessed through MCP.
111
+ * - dms_kb: Accessed through the DMS knowledge base.
112
112
  *
113
113
  * @example
114
114
  * mcp
@@ -124,7 +124,7 @@ export declare class DescribeCustomAgentResponseBodyDataKnowledgeConfigList exte
124
124
  kbUuid?: string;
125
125
  /**
126
126
  * @remarks
127
- * The MCP server ID.
127
+ * The ID of the MCP server.
128
128
  *
129
129
  * @example
130
130
  * nhdpt9adf6ac**********ca
@@ -169,8 +169,8 @@ export declare class DescribeCustomAgentResponseBodyDataKnowledgeSemanticConfigL
169
169
  /**
170
170
  * @remarks
171
171
  * The knowledge semantic type. Valid values:
172
- * - sql_template: SQL template
173
- * - ossie_model: Ossie semantic view
172
+ * - sql_template: SQL template.
173
+ * - ossie_model: Ossie semantic view.
174
174
  *
175
175
  * @example
176
176
  * sql_template
@@ -190,7 +190,7 @@ export declare class DescribeCustomAgentResponseBodyDataKnowledgeSemanticConfigL
190
190
  export declare class DescribeCustomAgentResponseBodyDataScheduleTaskConfig extends $dara.Model {
191
191
  /**
192
192
  * @remarks
193
- * The cron expression for time-based periodic scheduling.
193
+ * The cron expression for time-based scheduling.
194
194
  *
195
195
  * @example
196
196
  * 0 0 0 ? * 1-7
@@ -198,7 +198,7 @@ export declare class DescribeCustomAgentResponseBodyDataScheduleTaskConfig exten
198
198
  cronExpression?: string;
199
199
  /**
200
200
  * @remarks
201
- * The question for the periodic task.
201
+ * The question for the scheduled task.
202
202
  *
203
203
  * @example
204
204
  * Analyze the data and provide the report
@@ -226,9 +226,9 @@ export declare class DescribeCustomAgentResponseBodyDataScheduleTaskConfig exten
226
226
  export declare class DescribeCustomAgentResponseBodyData extends $dara.Model {
227
227
  /**
228
228
  * @remarks
229
- * The custom agent type. Valid values:
230
- * - Default: system-built-in custom agent
231
- * - Common: common custom agent
229
+ * The type of the custom agent. Valid values:
230
+ * - Default: The system-built-in custom agent.
231
+ * - Common: A common custom agent.
232
232
  *
233
233
  * @example
234
234
  * Common
@@ -236,7 +236,7 @@ export declare class DescribeCustomAgentResponseBodyData extends $dara.Model {
236
236
  agentType?: string;
237
237
  /**
238
238
  * @remarks
239
- * The ID of the Alibaba Cloud main account.
239
+ * The primary Alibaba Cloud account ID.
240
240
  *
241
241
  * @example
242
242
  * 16738266********
@@ -252,7 +252,7 @@ export declare class DescribeCustomAgentResponseBodyData extends $dara.Model {
252
252
  aliyunUid?: string;
253
253
  /**
254
254
  * @remarks
255
- * The callback feature configuration.
255
+ * The callback configuration.
256
256
  */
257
257
  callbackConfig?: DescribeCustomAgentResponseBodyDataCallbackConfig;
258
258
  /**
@@ -308,7 +308,7 @@ export declare class DescribeCustomAgentResponseBodyData extends $dara.Model {
308
308
  defaultAgent?: number;
309
309
  /**
310
310
  * @remarks
311
- * The custom agent description.
311
+ * The description of the custom agent.
312
312
  *
313
313
  * @example
314
314
  * Description for the test agent
@@ -345,7 +345,7 @@ export declare class DescribeCustomAgentResponseBodyData extends $dara.Model {
345
345
  gmtModified?: string;
346
346
  /**
347
347
  * @remarks
348
- * The instructions.
348
+ * The instruction.
349
349
  *
350
350
  * @example
351
351
  * Analytical framework:
@@ -357,7 +357,7 @@ export declare class DescribeCustomAgentResponseBodyData extends $dara.Model {
357
357
  instruction?: string;
358
358
  /**
359
359
  * @remarks
360
- * Specifies whether a periodic task is configured.
360
+ * Specifies whether a scheduled task is configured.
361
361
  *
362
362
  * @example
363
363
  * true
@@ -404,7 +404,7 @@ export declare class DescribeCustomAgentResponseBodyData extends $dara.Model {
404
404
  modifierUserName?: string;
405
405
  /**
406
406
  * @remarks
407
- * The custom agent name.
407
+ * The name of the custom agent.
408
408
  *
409
409
  * @example
410
410
  * Test agent name
@@ -412,7 +412,7 @@ export declare class DescribeCustomAgentResponseBodyData extends $dara.Model {
412
412
  name?: string;
413
413
  /**
414
414
  * @remarks
415
- * The next run time of the periodic task.
415
+ * The next run time of the scheduled task.
416
416
  *
417
417
  * @example
418
418
  * 1767715200
@@ -457,12 +457,12 @@ export declare class DescribeCustomAgentResponseBodyData extends $dara.Model {
457
457
  releaseTime?: string;
458
458
  /**
459
459
  * @remarks
460
- * The periodic task configuration.
460
+ * The scheduled task configuration.
461
461
  */
462
462
  scheduleTaskConfig?: DescribeCustomAgentResponseBodyDataScheduleTaskConfig;
463
463
  /**
464
464
  * @remarks
465
- * The custom agent status.
465
+ * The status of the custom agent.
466
466
  *
467
467
  * @example
468
468
  * RELEASED
@@ -492,11 +492,11 @@ export declare class DescribeCustomAgentResponseBodyData extends $dara.Model {
492
492
  /**
493
493
  * @remarks
494
494
  * The web report theme. Valid values:
495
- * - default: default
496
- * - journal: journal
497
- * - legacy: classic
498
- * - neobrutalism: stylized
499
- * - infographic: infographic
495
+ * - default: Default.
496
+ * - journal: Journal.
497
+ * - legacy: Legacy.
498
+ * - neobrutalism: Neobrutalism.
499
+ * - infographic: Infographic.
500
500
  *
501
501
  * @example
502
502
  * default
@@ -553,10 +553,10 @@ export declare class DescribeCustomAgentResponseBody extends $dara.Model {
553
553
  requestId?: string;
554
554
  /**
555
555
  * @remarks
556
- * Specifies whether the request is successful. Valid values:
556
+ * Indicates whether the request was successful. Valid values:
557
557
  *
558
- * - **true**: The request is successful.
559
- * - **false**: The request fails.
558
+ * - **true**: The request was successful.
559
+ * - **false**: The request failed.
560
560
  *
561
561
  * @example
562
562
  * true