@alicloud/dms20250414 1.14.2 → 1.14.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/client.d.ts +22 -22
  2. package/dist/client.js +39 -23
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDataAgentWorkspaceRequest.d.ts +3 -3
  5. package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +6 -9
  6. package/dist/models/CreateDataAgentWorkspaceResponseBody.js +2 -0
  7. package/dist/models/CreateDataAgentWorkspaceResponseBody.js.map +1 -1
  8. package/dist/models/DescribeDataAgentSessionRequest.d.ts +3 -3
  9. package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +83 -40
  10. package/dist/models/DescribeDataAgentSessionResponseBody.js +93 -1
  11. package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
  12. package/dist/models/DmsGatewayOrder.d.ts +23 -0
  13. package/dist/models/DmsGatewayOrder.js +76 -0
  14. package/dist/models/DmsGatewayOrder.js.map +1 -0
  15. package/dist/models/GetDataAgentWorkspaceInfoRequest.d.ts +2 -2
  16. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.d.ts +9 -12
  17. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js +2 -0
  18. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js.map +1 -1
  19. package/dist/models/ListDataAgentWorkspaceRequest.d.ts +6 -6
  20. package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +13 -12
  21. package/dist/models/ListDataAgentWorkspaceResponseBody.js +2 -0
  22. package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
  23. package/dist/models/SendChatMessageRequest.d.ts +62 -29
  24. package/dist/models/SendChatMessageRequest.js +59 -1
  25. package/dist/models/SendChatMessageRequest.js.map +1 -1
  26. package/dist/models/SendChatMessageResponseBody.d.ts +7 -6
  27. package/dist/models/SendChatMessageResponseBody.js +2 -0
  28. package/dist/models/SendChatMessageResponseBody.js.map +1 -1
  29. package/dist/models/SendChatMessageShrinkRequest.d.ts +12 -11
  30. package/dist/models/SendChatMessageShrinkRequest.js +2 -0
  31. package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
  32. package/dist/models/model.d.ts +6 -0
  33. package/dist/models/model.js +28 -16
  34. package/dist/models/model.js.map +1 -1
  35. package/package.json +1 -1
  36. package/src/client.ts +41 -23
  37. package/src/models/CreateDataAgentWorkspaceRequest.ts +3 -3
  38. package/src/models/CreateDataAgentWorkspaceResponseBody.ts +8 -9
  39. package/src/models/DescribeDataAgentSessionRequest.ts +3 -3
  40. package/src/models/DescribeDataAgentSessionResponseBody.ts +148 -40
  41. package/src/models/DmsGatewayOrder.ts +54 -0
  42. package/src/models/GetDataAgentWorkspaceInfoRequest.ts +2 -2
  43. package/src/models/GetDataAgentWorkspaceInfoResponseBody.ts +11 -12
  44. package/src/models/ListDataAgentWorkspaceRequest.ts +6 -6
  45. package/src/models/ListDataAgentWorkspaceResponseBody.ts +15 -12
  46. package/src/models/SendChatMessageRequest.ts +102 -29
  47. package/src/models/SendChatMessageResponseBody.ts +9 -6
  48. package/src/models/SendChatMessageShrinkRequest.ts +14 -11
  49. package/src/models/model.ts +6 -0
@@ -0,0 +1,54 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DmsGatewayOrder extends $dara.Model {
6
+ bizType?: string;
7
+ chargeType?: string;
8
+ commodityCode?: string;
9
+ expireTime?: string;
10
+ instanceId?: string;
11
+ instanceType?: string;
12
+ orderId?: number;
13
+ payNum?: number;
14
+ region?: string;
15
+ state?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ bizType: 'BizType',
19
+ chargeType: 'ChargeType',
20
+ commodityCode: 'CommodityCode',
21
+ expireTime: 'ExpireTime',
22
+ instanceId: 'InstanceId',
23
+ instanceType: 'InstanceType',
24
+ orderId: 'OrderId',
25
+ payNum: 'PayNum',
26
+ region: 'Region',
27
+ state: 'State',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ bizType: 'string',
34
+ chargeType: 'string',
35
+ commodityCode: 'string',
36
+ expireTime: 'string',
37
+ instanceId: 'string',
38
+ instanceType: 'string',
39
+ orderId: 'number',
40
+ payNum: 'number',
41
+ region: 'string',
42
+ state: 'string',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetDataAgentWorkspaceInfoRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The DMS unit.
8
+ * The current DMS unit.
9
9
  *
10
10
  * @example
11
11
  * cn-hangzhou
@@ -13,7 +13,7 @@ export class GetDataAgentWorkspaceInfoRequest extends $dara.Model {
13
13
  DMSUnit?: string;
14
14
  /**
15
15
  * @remarks
16
- * The workspace ID.
16
+ * The ID of the collaborative workspace.
17
17
  *
18
18
  * @example
19
19
  * 20923*****7291
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetDataAgentWorkspaceInfoResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The time when the workspace was created. This value is a UNIX timestamp in seconds.
8
+ * The creation time of the session. Unit: seconds. The value is a UNIX timestamp.
9
9
  *
10
10
  * @example
11
11
  * 1765960516
@@ -13,20 +13,16 @@ export class GetDataAgentWorkspaceInfoResponseBodyData extends $dara.Model {
13
13
  createTime?: string;
14
14
  /**
15
15
  * @remarks
16
- * The user ID (UID) of the workspace creator.
16
+ * The UID of the workspace creator.
17
17
  *
18
18
  * @example
19
19
  * 20282*****7591
20
20
  */
21
21
  creator?: string;
22
- /**
23
- * @remarks
24
- * Indicates whether session sharing is enabled.
25
- */
26
22
  isSessionShareEnabled?: boolean;
27
23
  /**
28
24
  * @remarks
29
- * The time when the workspace was last modified. This value is a UNIX timestamp in seconds.
25
+ * The most recent modification time of the workspace. Unit: seconds. The value is a UNIX timestamp.
30
26
  *
31
27
  * @example
32
28
  * 1765961516
@@ -34,7 +30,7 @@ export class GetDataAgentWorkspaceInfoResponseBodyData extends $dara.Model {
34
30
  modifyTime?: string;
35
31
  /**
36
32
  * @remarks
37
- * The user\\"s role in the workspace.
33
+ * The role name of the user in the workspace.
38
34
  *
39
35
  * @example
40
36
  * admin
@@ -48,9 +44,10 @@ export class GetDataAgentWorkspaceInfoResponseBodyData extends $dara.Model {
48
44
  * 11
49
45
  */
50
46
  totalMember?: string;
47
+ type?: string;
51
48
  /**
52
49
  * @remarks
53
- * The description of the workspace.
50
+ * The description of the collaborative workspace.
54
51
  *
55
52
  * @example
56
53
  * space for test
@@ -58,7 +55,7 @@ export class GetDataAgentWorkspaceInfoResponseBodyData extends $dara.Model {
58
55
  workspaceDesc?: string;
59
56
  /**
60
57
  * @remarks
61
- * The workspace ID.
58
+ * The ID of the collaborative workspace.
62
59
  *
63
60
  * @example
64
61
  * 20923*****7291
@@ -88,6 +85,7 @@ export class GetDataAgentWorkspaceInfoResponseBodyData extends $dara.Model {
88
85
  modifyTime: 'ModifyTime',
89
86
  roleName: 'RoleName',
90
87
  totalMember: 'TotalMember',
88
+ type: 'Type',
91
89
  workspaceDesc: 'WorkspaceDesc',
92
90
  workspaceId: 'WorkspaceId',
93
91
  workspaceName: 'WorkspaceName',
@@ -103,6 +101,7 @@ export class GetDataAgentWorkspaceInfoResponseBodyData extends $dara.Model {
103
101
  modifyTime: 'string',
104
102
  roleName: 'string',
105
103
  totalMember: 'string',
104
+ type: 'string',
106
105
  workspaceDesc: 'string',
107
106
  workspaceId: 'string',
108
107
  workspaceName: 'string',
@@ -122,7 +121,7 @@ export class GetDataAgentWorkspaceInfoResponseBodyData extends $dara.Model {
122
121
  export class GetDataAgentWorkspaceInfoResponseBody extends $dara.Model {
123
122
  /**
124
123
  * @remarks
125
- * The returned data.
124
+ * The response struct.
126
125
  */
127
126
  data?: GetDataAgentWorkspaceInfoResponseBodyData;
128
127
  /**
@@ -151,7 +150,7 @@ export class GetDataAgentWorkspaceInfoResponseBody extends $dara.Model {
151
150
  requestId?: string;
152
151
  /**
153
152
  * @remarks
154
- * Indicates whether the request was successful.
153
+ * Indicates whether the request is successful.
155
154
  *
156
155
  * @example
157
156
  * true
@@ -13,7 +13,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
13
13
  DMSUnit?: string;
14
14
  /**
15
15
  * @remarks
16
- * This parameter is reserved for future use.
16
+ * The maximum number of entries per page.
17
17
  *
18
18
  * @example
19
19
  * no use
@@ -21,7 +21,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
21
21
  maxResults?: number;
22
22
  /**
23
23
  * @remarks
24
- * This parameter is reserved for future use.
24
+ * The token information.
25
25
  *
26
26
  * @example
27
27
  * no use
@@ -37,7 +37,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
37
37
  order?: string;
38
38
  /**
39
39
  * @remarks
40
- * The field to sort by.
40
+ * The name of the field by which to sort.
41
41
  *
42
42
  * @example
43
43
  * CreateTime
@@ -45,7 +45,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
45
45
  orderBy?: string;
46
46
  /**
47
47
  * @remarks
48
- * The page number.
48
+ * The page number to start from.
49
49
  *
50
50
  * This parameter is required.
51
51
  *
@@ -55,7 +55,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
55
55
  pageNumber?: string;
56
56
  /**
57
57
  * @remarks
58
- * The number of entries to return on each page.
58
+ * The number of records per page.
59
59
  *
60
60
  * This parameter is required.
61
61
  *
@@ -73,7 +73,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
73
73
  workspaceName?: string;
74
74
  /**
75
75
  * @remarks
76
- * The workspace type.
76
+ * The type of workspace to query.
77
77
  *
78
78
  * This parameter is required.
79
79
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The creation time of the workspace, provided as a UNIX timestamp in seconds.
8
+ * The creation time of the workspace. This value is a UNIX timestamp in seconds.
9
9
  *
10
10
  * @example
11
11
  * 1765960516
@@ -13,7 +13,7 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
13
13
  createTime?: number;
14
14
  /**
15
15
  * @remarks
16
- * The creator\\"s user ID (UID).
16
+ * The UID of the workspace creator.
17
17
  *
18
18
  * @example
19
19
  * 20282*****7591
@@ -30,7 +30,7 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
30
30
  isSessionShareEnabled?: boolean;
31
31
  /**
32
32
  * @remarks
33
- * The last modification time of the workspace, provided as a UNIX timestamp in seconds.
33
+ * The most recent modification time of the workspace. This value is a UNIX timestamp in seconds.
34
34
  *
35
35
  * @example
36
36
  * 1765961516
@@ -38,7 +38,7 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
38
38
  modifyTime?: number;
39
39
  /**
40
40
  * @remarks
41
- * The name of the user\\"s role in the workspace.
41
+ * The role name of the user in the workspace.
42
42
  *
43
43
  * @example
44
44
  * admin
@@ -52,9 +52,10 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
52
52
  * 11
53
53
  */
54
54
  totalMember?: number;
55
+ type?: string;
55
56
  /**
56
57
  * @remarks
57
- * The ID of the workspace.
58
+ * The workspace ID.
58
59
  *
59
60
  * @example
60
61
  * 20923*****7291
@@ -85,6 +86,7 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
85
86
  modifyTime: 'ModifyTime',
86
87
  roleName: 'RoleName',
87
88
  totalMember: 'TotalMember',
89
+ type: 'Type',
88
90
  workspaceId: 'WorkspaceId',
89
91
  workspaceName: 'WorkspaceName',
90
92
  workspaceStatus: 'WorkspaceStatus',
@@ -100,6 +102,7 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
100
102
  modifyTime: 'number',
101
103
  roleName: 'string',
102
104
  totalMember: 'number',
105
+ type: 'string',
103
106
  workspaceId: 'string',
104
107
  workspaceName: 'string',
105
108
  workspaceStatus: 'string',
@@ -118,12 +121,12 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
118
121
  export class ListDataAgentWorkspaceResponseBodyData extends $dara.Model {
119
122
  /**
120
123
  * @remarks
121
- * The details of the workspaces.
124
+ * The configuration content.
122
125
  */
123
126
  content?: ListDataAgentWorkspaceResponseBodyDataContent[];
124
127
  /**
125
128
  * @remarks
126
- * The page number.
129
+ * The total number of pages.
127
130
  *
128
131
  * @example
129
132
  * 12
@@ -131,7 +134,7 @@ export class ListDataAgentWorkspaceResponseBodyData extends $dara.Model {
131
134
  pageNumber?: number;
132
135
  /**
133
136
  * @remarks
134
- * The number of workspaces on each page.
137
+ * The number of workspaces per page.
135
138
  *
136
139
  * @example
137
140
  * 50
@@ -188,7 +191,7 @@ export class ListDataAgentWorkspaceResponseBodyData extends $dara.Model {
188
191
  export class ListDataAgentWorkspaceResponseBody extends $dara.Model {
189
192
  /**
190
193
  * @remarks
191
- * The returned data.
194
+ * The response struct.
192
195
  */
193
196
  data?: ListDataAgentWorkspaceResponseBodyData;
194
197
  /**
@@ -201,7 +204,7 @@ export class ListDataAgentWorkspaceResponseBody extends $dara.Model {
201
204
  errorCode?: string;
202
205
  /**
203
206
  * @remarks
204
- * The error message returned if the request fails.
207
+ * The error message returned if the call failed.
205
208
  *
206
209
  * @example
207
210
  * Specified parameter is not valid.
@@ -209,7 +212,7 @@ export class ListDataAgentWorkspaceResponseBody extends $dara.Model {
209
212
  errorMessage?: string;
210
213
  /**
211
214
  * @remarks
212
- * This parameter is not used.
215
+ * The maximum number of entries per page.
213
216
  *
214
217
  * @example
215
218
  * nu use
@@ -217,7 +220,7 @@ export class ListDataAgentWorkspaceResponseBody extends $dara.Model {
217
220
  maxResults?: number;
218
221
  /**
219
222
  * @remarks
220
- * This parameter is not used.
223
+ * The token information.
221
224
  *
222
225
  * @example
223
226
  * no use