@alicloud/dms20250414 4.5.1 → 4.6.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 (73) hide show
  1. package/dist/client.d.ts +68 -8
  2. package/dist/client.js +204 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchCreateDataLakePartitionsRequest.d.ts +88 -0
  5. package/dist/models/BatchCreateDataLakePartitionsRequest.js +76 -0
  6. package/dist/models/BatchCreateDataLakePartitionsRequest.js.map +1 -0
  7. package/dist/models/BatchCreateDataLakePartitionsResponse.d.ts +19 -0
  8. package/dist/models/BatchCreateDataLakePartitionsResponse.js +69 -0
  9. package/dist/models/BatchCreateDataLakePartitionsResponse.js.map +1 -0
  10. package/dist/models/BatchCreateDataLakePartitionsResponseBody.d.ts +54 -0
  11. package/dist/models/BatchCreateDataLakePartitionsResponseBody.js +70 -0
  12. package/dist/models/BatchCreateDataLakePartitionsResponseBody.js.map +1 -0
  13. package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.d.ts +87 -0
  14. package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.js +72 -0
  15. package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.js.map +1 -0
  16. package/dist/models/DmsGatewayOrder.d.ts +1 -0
  17. package/dist/models/DmsGatewayOrder.js +2 -0
  18. package/dist/models/DmsGatewayOrder.js.map +1 -1
  19. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.d.ts +23 -0
  20. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.js +58 -0
  21. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.js.map +1 -0
  22. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.d.ts +19 -0
  23. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.js +69 -0
  24. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.js.map +1 -0
  25. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.d.ts +77 -0
  26. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.js +90 -0
  27. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.js.map +1 -0
  28. package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.d.ts +37 -0
  29. package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.js +62 -0
  30. package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.js.map +1 -0
  31. package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.d.ts +19 -0
  32. package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.js +69 -0
  33. package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.js.map +1 -0
  34. package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.d.ts +98 -0
  35. package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.js +99 -0
  36. package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.js.map +1 -0
  37. package/dist/models/SendChatMessageRequest.d.ts +68 -74
  38. package/dist/models/SendChatMessageRequest.js.map +1 -1
  39. package/dist/models/SendChatMessageShrinkRequest.d.ts +18 -21
  40. package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
  41. package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.d.ts +36 -0
  42. package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.js +62 -0
  43. package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.js.map +1 -0
  44. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.d.ts +19 -0
  45. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.js +69 -0
  46. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.js.map +1 -0
  47. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.d.ts +82 -0
  48. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.js +95 -0
  49. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.js.map +1 -0
  50. package/dist/models/WorkspaceActionStatusResponseBody.d.ts +1 -1
  51. package/dist/models/model.d.ts +16 -0
  52. package/dist/models/model.js +45 -12
  53. package/dist/models/model.js.map +1 -1
  54. package/package.json +1 -1
  55. package/src/client.ts +228 -8
  56. package/src/models/BatchCreateDataLakePartitionsRequest.ts +118 -0
  57. package/src/models/BatchCreateDataLakePartitionsResponse.ts +40 -0
  58. package/src/models/BatchCreateDataLakePartitionsResponseBody.ts +78 -0
  59. package/src/models/BatchCreateDataLakePartitionsShrinkRequest.ts +114 -0
  60. package/src/models/DmsGatewayOrder.ts +3 -0
  61. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.ts +36 -0
  62. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.ts +40 -0
  63. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.ts +113 -0
  64. package/src/models/ListMyAgenticNotificationChannelConfigsRequest.ts +54 -0
  65. package/src/models/ListMyAgenticNotificationChannelConfigsResponse.ts +40 -0
  66. package/src/models/ListMyAgenticNotificationChannelConfigsResponseBody.ts +141 -0
  67. package/src/models/SendChatMessageRequest.ts +68 -74
  68. package/src/models/SendChatMessageShrinkRequest.ts +18 -21
  69. package/src/models/UpdateMyAgenticNotificationChannelConfigRequest.ts +53 -0
  70. package/src/models/UpdateMyAgenticNotificationChannelConfigResponse.ts +40 -0
  71. package/src/models/UpdateMyAgenticNotificationChannelConfigResponseBody.ts +121 -0
  72. package/src/models/WorkspaceActionStatusResponseBody.ts +1 -1
  73. package/src/models/model.ts +16 -0
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetMyAgenticNotificationChannelAuthorizeUrlResponseBody } from "./GetMyAgenticNotificationChannelAuthorizeUrlResponseBody";
4
+
5
+
6
+ export class GetMyAgenticNotificationChannelAuthorizeUrlResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetMyAgenticNotificationChannelAuthorizeUrlResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: GetMyAgenticNotificationChannelAuthorizeUrlResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,113 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetMyAgenticNotificationChannelAuthorizeUrlResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The URL of the Lark OAuth authorization page. After the user opens the URL in a browser and completes the authorization, the system binds the Lark account as the notification identity for the current user, and the channel switch remains unchanged. The state parameter in the URL is valid for 180 seconds and can be used only once.
9
+ *
10
+ * @example
11
+ * https://open.feishu.cn/open-apis/authen/v1/authorize?app_id=cli_a5f8e2d9c3b1****&redirect_uri=https%3A%2F%2Faig-dms-cn-hangzhou.aliyuncs.com%2Foauth%2Fmobile%2Ffeishu%2Fbind&state=eyJhbGciOiJIUzI1NiJ9****
12
+ */
13
+ authorizeUrl?: string;
14
+ /**
15
+ * @remarks
16
+ * The callback URL after the authorization is completed. You must add this URL to the redirect URL whitelist of the tenant\\"s Lark application. Otherwise, the authorization fails.
17
+ *
18
+ * @example
19
+ * https://aig-dms-cn-hangzhou.aliyuncs.com/oauth/mobile/feishu/bind
20
+ */
21
+ redirectUri?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ authorizeUrl: 'AuthorizeUrl',
25
+ redirectUri: 'RedirectUri',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ authorizeUrl: 'string',
32
+ redirectUri: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class GetMyAgenticNotificationChannelAuthorizeUrlResponseBody extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The authorization URL information.
49
+ */
50
+ data?: GetMyAgenticNotificationChannelAuthorizeUrlResponseBodyData;
51
+ /**
52
+ * @remarks
53
+ * The error code returned when the request fails.
54
+ *
55
+ * @example
56
+ * INVALID_PARAMETER
57
+ */
58
+ errorCode?: string;
59
+ /**
60
+ * @remarks
61
+ * The error message returned when the request fails.
62
+ *
63
+ * @example
64
+ * channel must be FEISHU
65
+ */
66
+ errorMessage?: string;
67
+ /**
68
+ * @remarks
69
+ * The request ID.
70
+ *
71
+ * @example
72
+ * 0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931
73
+ */
74
+ requestId?: string;
75
+ /**
76
+ * @remarks
77
+ * Indicates whether the request is successful. Valid values:
78
+ * - true: The request is successful.
79
+ * - false: The request fails.
80
+ */
81
+ success?: boolean;
82
+ static names(): { [key: string]: string } {
83
+ return {
84
+ data: 'Data',
85
+ errorCode: 'ErrorCode',
86
+ errorMessage: 'ErrorMessage',
87
+ requestId: 'RequestId',
88
+ success: 'Success',
89
+ };
90
+ }
91
+
92
+ static types(): { [key: string]: any } {
93
+ return {
94
+ data: GetMyAgenticNotificationChannelAuthorizeUrlResponseBodyData,
95
+ errorCode: 'string',
96
+ errorMessage: 'string',
97
+ requestId: 'string',
98
+ success: 'boolean',
99
+ };
100
+ }
101
+
102
+ validate() {
103
+ if(this.data && typeof (this.data as any).validate === 'function') {
104
+ (this.data as any).validate();
105
+ }
106
+ super.validate();
107
+ }
108
+
109
+ constructor(map?: { [key: string]: any }) {
110
+ super(map);
111
+ }
112
+ }
113
+
@@ -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 ListMyAgenticNotificationChannelConfigsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The notification channel type used to filter results. If you do not specify this parameter, all personal notification channels are returned. Currently, only FEISHU (Lark) is supported. Specifying other values results in a parameter error.
9
+ *
10
+ * @example
11
+ * FEISHU
12
+ */
13
+ channel?: string;
14
+ /**
15
+ * @remarks
16
+ * The maximum number of records to return per page. Valid values: 1 to 100. Default value: 20.
17
+ *
18
+ * @example
19
+ * 20
20
+ */
21
+ maxResults?: number;
22
+ /**
23
+ * @remarks
24
+ * The paging token for the paged query. Do not specify this parameter for the first query. To query the next page, specify the NextToken value returned in the previous response.
25
+ *
26
+ * @example
27
+ * MjA
28
+ */
29
+ nextToken?: string;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ channel: 'Channel',
33
+ maxResults: 'MaxResults',
34
+ nextToken: 'NextToken',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ channel: 'string',
41
+ maxResults: 'number',
42
+ nextToken: 'string',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListMyAgenticNotificationChannelConfigsResponseBody } from "./ListMyAgenticNotificationChannelConfigsResponseBody";
4
+
5
+
6
+ export class ListMyAgenticNotificationChannelConfigsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListMyAgenticNotificationChannelConfigsResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: ListMyAgenticNotificationChannelConfigsResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,141 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListMyAgenticNotificationChannelConfigsResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The notification channel type. Valid values: FEISHU (Lark).
9
+ *
10
+ * @example
11
+ * FEISHU
12
+ */
13
+ channel?: string;
14
+ /**
15
+ * @remarks
16
+ * The channel configuration information. Both keys and values are strings, which include bound identity information such as openId, mobile, or email. Sensitive values are always displayed as ****** and are not returned in plaintext.
17
+ *
18
+ * @example
19
+ * {"openId":"******","mobile":"******","email":"******"}
20
+ */
21
+ config?: { [key: string]: string };
22
+ /**
23
+ * @remarks
24
+ * Indicates whether the notification channel is enabled. If the channel has never been configured, false is returned.
25
+ */
26
+ enabled?: boolean;
27
+ static names(): { [key: string]: string } {
28
+ return {
29
+ channel: 'Channel',
30
+ config: 'Config',
31
+ enabled: 'Enabled',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ channel: 'string',
38
+ config: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
39
+ enabled: 'boolean',
40
+ };
41
+ }
42
+
43
+ validate() {
44
+ if(this.config) {
45
+ $dara.Model.validateMap(this.config);
46
+ }
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
55
+ export class ListMyAgenticNotificationChannelConfigsResponseBody extends $dara.Model {
56
+ /**
57
+ * @remarks
58
+ * The list of notification channel configurations for the current user.
59
+ */
60
+ data?: ListMyAgenticNotificationChannelConfigsResponseBodyData[];
61
+ /**
62
+ * @remarks
63
+ * The error code returned when the request fails.
64
+ *
65
+ * @example
66
+ * INVALID_PARAMETER
67
+ */
68
+ errorCode?: string;
69
+ /**
70
+ * @remarks
71
+ * The error message returned when the request fails.
72
+ *
73
+ * @example
74
+ * channel must be FEISHU
75
+ */
76
+ errorMessage?: string;
77
+ /**
78
+ * @remarks
79
+ * The maximum number of records per page used for this query.
80
+ *
81
+ * @example
82
+ * 20
83
+ */
84
+ maxResults?: number;
85
+ /**
86
+ * @remarks
87
+ * The pagination token for the next page. This parameter is empty if no more data is available.
88
+ *
89
+ * @example
90
+ * MjA
91
+ */
92
+ nextToken?: string;
93
+ /**
94
+ * @remarks
95
+ * The request ID.
96
+ *
97
+ * @example
98
+ * 0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931
99
+ */
100
+ requestId?: string;
101
+ /**
102
+ * @remarks
103
+ * Indicates whether the request is successful. Valid values: true and false.
104
+ */
105
+ success?: boolean;
106
+ static names(): { [key: string]: string } {
107
+ return {
108
+ data: 'Data',
109
+ errorCode: 'ErrorCode',
110
+ errorMessage: 'ErrorMessage',
111
+ maxResults: 'MaxResults',
112
+ nextToken: 'NextToken',
113
+ requestId: 'RequestId',
114
+ success: 'Success',
115
+ };
116
+ }
117
+
118
+ static types(): { [key: string]: any } {
119
+ return {
120
+ data: { 'type': 'array', 'itemType': ListMyAgenticNotificationChannelConfigsResponseBodyData },
121
+ errorCode: 'string',
122
+ errorMessage: 'string',
123
+ maxResults: 'number',
124
+ nextToken: 'string',
125
+ requestId: 'string',
126
+ success: 'boolean',
127
+ };
128
+ }
129
+
130
+ validate() {
131
+ if(Array.isArray(this.data)) {
132
+ $dara.Model.validateArray(this.data);
133
+ }
134
+ super.validate();
135
+ }
136
+
137
+ constructor(map?: { [key: string]: any }) {
138
+ super(map);
139
+ }
140
+ }
141
+