@alicloud/polardb20170801 8.2.1 → 8.2.2

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 (31) hide show
  1. package/dist/client.d.ts +8 -8
  2. package/dist/client.js +8 -30
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateKbsyncLinkRequest.d.ts +44 -0
  5. package/dist/models/CreateKbsyncLinkRequest.js.map +1 -1
  6. package/dist/models/CreateKbsyncLinkResponseBody.d.ts +36 -0
  7. package/dist/models/CreateKbsyncLinkResponseBody.js.map +1 -1
  8. package/dist/models/DeleteKbsyncLinkRequest.d.ts +6 -0
  9. package/dist/models/DeleteKbsyncLinkRequest.js.map +1 -1
  10. package/dist/models/DeleteKbsyncLinkResponseBody.d.ts +3 -0
  11. package/dist/models/DeleteKbsyncLinkResponseBody.js.map +1 -1
  12. package/dist/models/DescribeKbsyncLinksRequest.d.ts +7 -0
  13. package/dist/models/DescribeKbsyncLinksRequest.js.map +1 -1
  14. package/dist/models/DescribeKbsyncLinksResponseBody.d.ts +38 -0
  15. package/dist/models/DescribeKbsyncLinksResponseBody.js.map +1 -1
  16. package/dist/models/ModifyPolarFsMappingAuthRequest.d.ts +2 -2
  17. package/dist/models/UpdateKbsyncLinkRequest.d.ts +51 -0
  18. package/dist/models/UpdateKbsyncLinkRequest.js.map +1 -1
  19. package/dist/models/UpdateKbsyncLinkResponseBody.d.ts +10 -0
  20. package/dist/models/UpdateKbsyncLinkResponseBody.js.map +1 -1
  21. package/package.json +1 -1
  22. package/src/client.ts +8 -30
  23. package/src/models/CreateKbsyncLinkRequest.ts +44 -0
  24. package/src/models/CreateKbsyncLinkResponseBody.ts +36 -0
  25. package/src/models/DeleteKbsyncLinkRequest.ts +6 -0
  26. package/src/models/DeleteKbsyncLinkResponseBody.ts +3 -0
  27. package/src/models/DescribeKbsyncLinksRequest.ts +7 -0
  28. package/src/models/DescribeKbsyncLinksResponseBody.ts +38 -0
  29. package/src/models/ModifyPolarFsMappingAuthRequest.ts +2 -2
  30. package/src/models/UpdateKbsyncLinkRequest.ts +51 -0
  31. package/src/models/UpdateKbsyncLinkResponseBody.ts +10 -0
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateKBSyncLinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The client ID.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -13,6 +15,8 @@ export class CreateKBSyncLinkRequest extends $dara.Model {
13
15
  clientId?: string;
14
16
  /**
15
17
  * @remarks
18
+ * The client secret.
19
+ *
16
20
  * This parameter is required.
17
21
  *
18
22
  * @example
@@ -20,12 +24,17 @@ export class CreateKBSyncLinkRequest extends $dara.Model {
20
24
  */
21
25
  clientSecret?: string;
22
26
  /**
27
+ * @remarks
28
+ * The description of the synchronization link.
29
+ *
23
30
  * @example
24
31
  * testDesc
25
32
  */
26
33
  description?: string;
27
34
  /**
28
35
  * @remarks
36
+ * The unique identifier of the knowledge base.
37
+ *
29
38
  * This parameter is required.
30
39
  *
31
40
  * @example
@@ -34,24 +43,44 @@ export class CreateKBSyncLinkRequest extends $dara.Model {
34
43
  knowledgeBaseId?: string;
35
44
  /**
36
45
  * @remarks
46
+ * The name of the synchronization link.
47
+ *
37
48
  * This parameter is required.
38
49
  *
39
50
  * @example
40
51
  * testName
41
52
  */
42
53
  linkName?: string;
54
+ /**
55
+ * @remarks
56
+ * The DingTalk document MCP Server endpoint.
57
+ *
58
+ * @example
59
+ * https://mcp-gw.dingtalk.com/server/1a2b3cxxxxxx789?key=d5e6fxxxxxx876
60
+ */
43
61
  mcpEndpoint?: string;
44
62
  /**
45
63
  * @remarks
64
+ * The region ID.
65
+ *
46
66
  * This parameter is required.
47
67
  *
48
68
  * @example
49
69
  * cn-beijing
50
70
  */
51
71
  regionId?: string;
72
+ /**
73
+ * @remarks
74
+ * The DingTalk spreadsheet MCP Server endpoint.
75
+ *
76
+ * @example
77
+ * https://mcp-gw.dingtalk.com/server/1a2b3cxxxxxx567?key=d5e6fxxxxxx543
78
+ */
52
79
  sheetMcpEndpoint?: string;
53
80
  /**
54
81
  * @remarks
82
+ * The source directory address for synchronization.
83
+ *
55
84
  * This parameter is required.
56
85
  *
57
86
  * @example
@@ -60,6 +89,8 @@ export class CreateKBSyncLinkRequest extends $dara.Model {
60
89
  sourceDir?: string;
61
90
  /**
62
91
  * @remarks
92
+ * The data source type. Valid values: FEISHU and SHAREPOINT.
93
+ *
63
94
  * This parameter is required.
64
95
  *
65
96
  * @example
@@ -67,15 +98,28 @@ export class CreateKBSyncLinkRequest extends $dara.Model {
67
98
  */
68
99
  sourceType?: string;
69
100
  /**
101
+ * @remarks
102
+ * The synchronization interval. Unit: minutes.
103
+ *
70
104
  * @example
71
105
  * 30
72
106
  */
73
107
  syncIntervalMinutes?: number;
74
108
  /**
109
+ * @remarks
110
+ * The tenant ID. This parameter is required when SourceType is set to SHAREPOINT.
111
+ *
75
112
  * @example
76
113
  * 63eexxxx-xxxx-xxxx-xxxx-xxxxxx090f82
77
114
  */
78
115
  tenantId?: string;
116
+ /**
117
+ * @remarks
118
+ * The DingTalk operator user ID.
119
+ *
120
+ * @example
121
+ * 123***56
122
+ */
79
123
  userId?: string;
80
124
  static names(): { [key: string]: string } {
81
125
  return {
@@ -4,51 +4,87 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class CreateKBSyncLinkResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The client ID.
9
+ *
7
10
  * @example
8
11
  * cli_xxxxxxbe8
9
12
  */
10
13
  clientId?: string;
11
14
  /**
15
+ * @remarks
16
+ * The creation time.
17
+ *
12
18
  * @example
13
19
  * 2026-08-14T05:58:42Z
14
20
  */
15
21
  creationTime?: string;
16
22
  /**
23
+ * @remarks
24
+ * The description of the synchronization link.
25
+ *
17
26
  * @example
18
27
  * testDesc
19
28
  */
20
29
  description?: string;
21
30
  /**
31
+ * @remarks
32
+ * The source channel of the synchronization link. Valid values:
33
+ * - FEISHU
34
+ * - SHAREPOINT
35
+ *
22
36
  * @example
23
37
  * FEISHU
24
38
  */
25
39
  imPlatform?: string;
26
40
  /**
41
+ * @remarks
42
+ * The synchronization link ID.
43
+ *
27
44
  * @example
28
45
  * pkbl-xxxxxx
29
46
  */
30
47
  linkId?: string;
31
48
  /**
49
+ * @remarks
50
+ * The name of the synchronization link.
51
+ *
32
52
  * @example
33
53
  * testName
34
54
  */
35
55
  linkName?: string;
36
56
  /**
57
+ * @remarks
58
+ * Id of the request
59
+ *
37
60
  * @example
38
61
  * 24A1990B-4F6E-482B-B8CB-75C612******
39
62
  */
40
63
  requestId?: string;
41
64
  /**
65
+ * @remarks
66
+ * The source directory address for synchronization.
67
+ *
42
68
  * @example
43
69
  * https://example.feishu.cn/wiki/space/xxxxxx
44
70
  */
45
71
  sourceDir?: string;
46
72
  /**
73
+ * @remarks
74
+ * The synchronization interval. Unit: minutes.
75
+ *
47
76
  * @example
48
77
  * 30
49
78
  */
50
79
  syncIntervalMinutes?: number;
51
80
  /**
81
+ * @remarks
82
+ * The synchronization status. Valid values:
83
+ * - CREATING
84
+ * - RUNNING
85
+ * - PAUSED
86
+ * - DELETING
87
+ *
52
88
  * @example
53
89
  * CREATING
54
90
  */
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteKBSyncLinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The unique ID of the knowledge base.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -13,6 +15,8 @@ export class DeleteKBSyncLinkRequest extends $dara.Model {
13
15
  knowledgeBaseId?: string;
14
16
  /**
15
17
  * @remarks
18
+ * The synchronization link ID.
19
+ *
16
20
  * This parameter is required.
17
21
  *
18
22
  * @example
@@ -21,6 +25,8 @@ export class DeleteKBSyncLinkRequest extends $dara.Model {
21
25
  linkId?: string;
22
26
  /**
23
27
  * @remarks
28
+ * The region ID.
29
+ *
24
30
  * This parameter is required.
25
31
  *
26
32
  * @example
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DeleteKBSyncLinkResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
7
10
  * @example
8
11
  * 69A85BAF-1089-4CDF-A82F-0A140F******
9
12
  */
@@ -4,12 +4,17 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeKBSyncLinksRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The source channel of the synchronization link.
9
+ *
7
10
  * @example
8
11
  * FEISHU
9
12
  */
10
13
  imPlatform?: string;
11
14
  /**
12
15
  * @remarks
16
+ * The unique ID of the knowledge base.
17
+ *
13
18
  * This parameter is required.
14
19
  *
15
20
  * @example
@@ -18,6 +23,8 @@ export class DescribeKBSyncLinksRequest extends $dara.Model {
18
23
  knowledgeBaseId?: string;
19
24
  /**
20
25
  * @remarks
26
+ * The region ID.
27
+ *
21
28
  * This parameter is required.
22
29
  *
23
30
  * @example
@@ -4,46 +4,77 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeKBSyncLinksResponseBodyItems extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The client identifier.
9
+ *
7
10
  * @example
8
11
  * cli_xxxxxxbe8
9
12
  */
10
13
  clientId?: string;
11
14
  /**
15
+ * @remarks
16
+ * The creation time.
17
+ *
12
18
  * @example
13
19
  * 2026-08-11T09:55:19Z
14
20
  */
15
21
  creationTime?: string;
16
22
  /**
23
+ * @remarks
24
+ * The description of the synchronization link.
25
+ *
17
26
  * @example
18
27
  * testDesc
19
28
  */
20
29
  description?: string;
21
30
  /**
31
+ * @remarks
32
+ * The source channel of the synchronization link.
33
+ *
22
34
  * @example
23
35
  * FEISHU
24
36
  */
25
37
  imPlatform?: string;
26
38
  /**
39
+ * @remarks
40
+ * The synchronization link ID.
41
+ *
27
42
  * @example
28
43
  * pkbl-xxxxx
29
44
  */
30
45
  linkId?: string;
31
46
  /**
47
+ * @remarks
48
+ * The link name.
49
+ *
32
50
  * @example
33
51
  * testName
34
52
  */
35
53
  linkName?: string;
36
54
  /**
55
+ * @remarks
56
+ * The source directory address for synchronization.
57
+ *
37
58
  * @example
38
59
  * https://example.feishu.cn/wiki/space/xxxxxx
39
60
  */
40
61
  sourceDir?: string;
41
62
  /**
63
+ * @remarks
64
+ * The synchronization interval. Unit: minutes.
65
+ *
42
66
  * @example
43
67
  * 30
44
68
  */
45
69
  syncIntervalMinutes?: number;
46
70
  /**
71
+ * @remarks
72
+ * The synchronization status. Valid values:
73
+ * - CREATING
74
+ * - RUNNING
75
+ * - PAUSED
76
+ * - DELETING
77
+ *
47
78
  * @example
48
79
  * RUNNING
49
80
  */
@@ -86,8 +117,15 @@ export class DescribeKBSyncLinksResponseBodyItems extends $dara.Model {
86
117
  }
87
118
 
88
119
  export class DescribeKBSyncLinksResponseBody extends $dara.Model {
120
+ /**
121
+ * @remarks
122
+ * The list of synchronization links.
123
+ */
89
124
  items?: DescribeKBSyncLinksResponseBodyItems[];
90
125
  /**
126
+ * @remarks
127
+ * Id of the request
128
+ *
91
129
  * @example
92
130
  * EB07CFF0-D8A4-5C76-AED7-D00E26FC2***
93
131
  */
@@ -15,7 +15,7 @@ export class ModifyPolarFsMappingAuthRequest extends $dara.Model {
15
15
  bucket?: string;
16
16
  /**
17
17
  * @remarks
18
- * The AccessKey ID for the storage bucket.
18
+ * The AccessKey ID of the storage bucket.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -25,7 +25,7 @@ export class ModifyPolarFsMappingAuthRequest extends $dara.Model {
25
25
  bucketAccessKeyId?: string;
26
26
  /**
27
27
  * @remarks
28
- * The AccessKey secret for the storage bucket.
28
+ * The AccessKey secret of the storage bucket.
29
29
  *
30
30
  * This parameter is required.
31
31
  *
@@ -3,10 +3,26 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class UpdateKBSyncLinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The client ID.
9
+ *
10
+ * @example
11
+ * cli_xxxxxxbe8
12
+ */
6
13
  clientId?: string;
14
+ /**
15
+ * @remarks
16
+ * The client secret.
17
+ *
18
+ * @example
19
+ * ******
20
+ */
7
21
  clientSecret?: string;
8
22
  /**
9
23
  * @remarks
24
+ * The unique identifier of the knowledge base.
25
+ *
10
26
  * This parameter is required.
11
27
  *
12
28
  * @example
@@ -15,28 +31,63 @@ export class UpdateKBSyncLinkRequest extends $dara.Model {
15
31
  knowledgeBaseId?: string;
16
32
  /**
17
33
  * @remarks
34
+ * The synchronization link ID.
35
+ *
18
36
  * This parameter is required.
19
37
  *
20
38
  * @example
21
39
  * pkbl-xxxxx
22
40
  */
23
41
  linkId?: string;
42
+ /**
43
+ * @remarks
44
+ * The MCP Server address for DingTalk documents.
45
+ *
46
+ * @example
47
+ * https://mcp-gw.dingtalk.com/server/1a2b3cxxxxxx789?key=d5e6fxxxxxx876
48
+ */
24
49
  mcpEndpoint?: string;
25
50
  /**
26
51
  * @remarks
52
+ * The region ID.
53
+ *
27
54
  * This parameter is required.
28
55
  *
29
56
  * @example
30
57
  * cn-beijing
31
58
  */
32
59
  regionId?: string;
60
+ /**
61
+ * @remarks
62
+ * The MCP Server address for DingTalk spreadsheets.
63
+ *
64
+ * @example
65
+ * https://mcp-gw.dingtalk.com/server/1a2b3cxxxxxx567?key=d5e6fxxxxxx543
66
+ */
33
67
  sheetMcpEndpoint?: string;
68
+ /**
69
+ * @remarks
70
+ * Specifies whether to enable automatic synchronization. This parameter can only be modified independently and cannot be changed together with other configurations.
71
+ *
72
+ * @example
73
+ * false
74
+ */
34
75
  syncEnabled?: boolean;
35
76
  /**
77
+ * @remarks
78
+ * 20
79
+ *
36
80
  * @example
37
81
  * 20
38
82
  */
39
83
  syncIntervalMinutes?: number;
84
+ /**
85
+ * @remarks
86
+ * The DingTalk user ID for the operation.
87
+ *
88
+ * @example
89
+ * 123***56
90
+ */
40
91
  userId?: string;
41
92
  static names(): { [key: string]: string } {
42
93
  return {
@@ -4,15 +4,25 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class UpdateKBSyncLinkResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The synchronization link ID.
9
+ *
7
10
  * @example
8
11
  * pkbl-xxxxx
9
12
  */
10
13
  linkId?: string;
11
14
  /**
15
+ * @remarks
16
+ * Id of the request
17
+ *
12
18
  * @example
13
19
  * EBEAA83D-1734-42E3-85E3-E25F6E******
14
20
  */
15
21
  requestId?: string;
22
+ /**
23
+ * @remarks
24
+ * The scheduling time of the synchronization task.
25
+ */
16
26
  syncSchedule?: string;
17
27
  static names(): { [key: string]: string } {
18
28
  return {