@alicloud/polardb20170801 7.0.0 → 7.2.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 (194) hide show
  1. package/dist/client.d.ts +189 -24
  2. package/dist/client.js +576 -24
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateBatchConsumerRequest.d.ts +61 -0
  5. package/dist/models/CreateBatchConsumerRequest.js +66 -0
  6. package/dist/models/CreateBatchConsumerRequest.js.map +1 -0
  7. package/dist/models/CreateBatchConsumerResponse.d.ts +19 -0
  8. package/dist/models/CreateBatchConsumerResponse.js +69 -0
  9. package/dist/models/CreateBatchConsumerResponse.js.map +1 -0
  10. package/dist/models/CreateBatchConsumerResponseBody.d.ts +147 -0
  11. package/dist/models/CreateBatchConsumerResponseBody.js +106 -0
  12. package/dist/models/CreateBatchConsumerResponseBody.js.map +1 -0
  13. package/dist/models/CreateDbnodesRequest.d.ts +34 -54
  14. package/dist/models/CreateDbnodesRequest.js.map +1 -1
  15. package/dist/models/CreateDbnodesResponseBody.d.ts +1 -1
  16. package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +66 -97
  17. package/dist/models/DescribeAidbclusterAttributeResponseBody.js +2 -0
  18. package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
  19. package/dist/models/DescribeApikeyAttributeRequest.d.ts +51 -0
  20. package/dist/models/DescribeApikeyAttributeRequest.js +64 -0
  21. package/dist/models/DescribeApikeyAttributeRequest.js.map +1 -0
  22. package/dist/models/DescribeApikeyAttributeResponse.d.ts +19 -0
  23. package/dist/models/DescribeApikeyAttributeResponse.js +69 -0
  24. package/dist/models/DescribeApikeyAttributeResponse.js.map +1 -0
  25. package/dist/models/DescribeApikeyAttributeResponseBody.d.ts +248 -0
  26. package/dist/models/DescribeApikeyAttributeResponseBody.js +168 -0
  27. package/dist/models/DescribeApikeyAttributeResponseBody.js.map +1 -0
  28. package/dist/models/DescribeGatewayApikeyListRequest.d.ts +43 -0
  29. package/dist/models/DescribeGatewayApikeyListRequest.js +62 -0
  30. package/dist/models/DescribeGatewayApikeyListRequest.js.map +1 -0
  31. package/dist/models/DescribeGatewayApikeyListResponse.d.ts +19 -0
  32. package/dist/models/DescribeGatewayApikeyListResponse.js +69 -0
  33. package/dist/models/DescribeGatewayApikeyListResponse.js.map +1 -0
  34. package/dist/models/DescribeGatewayApikeyListResponseBody.d.ts +147 -0
  35. package/dist/models/DescribeGatewayApikeyListResponseBody.js +106 -0
  36. package/dist/models/DescribeGatewayApikeyListResponseBody.js.map +1 -0
  37. package/dist/models/DescribePolarClawAgentFileRequest.d.ts +43 -0
  38. package/dist/models/DescribePolarClawAgentFileRequest.js +62 -0
  39. package/dist/models/DescribePolarClawAgentFileRequest.js.map +1 -0
  40. package/dist/models/DescribePolarClawAgentFileResponse.d.ts +19 -0
  41. package/dist/models/DescribePolarClawAgentFileResponse.js +69 -0
  42. package/dist/models/DescribePolarClawAgentFileResponse.js.map +1 -0
  43. package/dist/models/DescribePolarClawAgentFileResponseBody.d.ts +126 -0
  44. package/dist/models/DescribePolarClawAgentFileResponseBody.js +102 -0
  45. package/dist/models/DescribePolarClawAgentFileResponseBody.js.map +1 -0
  46. package/dist/models/DescribePolarClawAgentToolsRequest.d.ts +41 -0
  47. package/dist/models/DescribePolarClawAgentToolsRequest.js +62 -0
  48. package/dist/models/DescribePolarClawAgentToolsRequest.js.map +1 -0
  49. package/dist/models/DescribePolarClawAgentToolsResponse.d.ts +19 -0
  50. package/dist/models/DescribePolarClawAgentToolsResponse.js +69 -0
  51. package/dist/models/DescribePolarClawAgentToolsResponse.js.map +1 -0
  52. package/dist/models/DescribePolarClawAgentToolsResponseBody.d.ts +221 -0
  53. package/dist/models/DescribePolarClawAgentToolsResponseBody.js +194 -0
  54. package/dist/models/DescribePolarClawAgentToolsResponseBody.js.map +1 -0
  55. package/dist/models/DescribePolarClawAgentsRequest.d.ts +1 -1
  56. package/dist/models/DescribePolarClawAgentsResponseBody.d.ts +118 -10
  57. package/dist/models/DescribePolarClawAgentsResponseBody.js +71 -1
  58. package/dist/models/DescribePolarClawAgentsResponseBody.js.map +1 -1
  59. package/dist/models/DescribePolarClawAgentsShrinkRequest.d.ts +1 -1
  60. package/dist/models/DescribePolarClawSkillDetailRequest.d.ts +33 -0
  61. package/dist/models/DescribePolarClawSkillDetailRequest.js +60 -0
  62. package/dist/models/DescribePolarClawSkillDetailRequest.js.map +1 -0
  63. package/dist/models/DescribePolarClawSkillDetailResponse.d.ts +19 -0
  64. package/dist/models/DescribePolarClawSkillDetailResponse.js +69 -0
  65. package/dist/models/DescribePolarClawSkillDetailResponse.js.map +1 -0
  66. package/dist/models/DescribePolarClawSkillDetailResponseBody.d.ts +269 -0
  67. package/dist/models/DescribePolarClawSkillDetailResponseBody.js +193 -0
  68. package/dist/models/DescribePolarClawSkillDetailResponseBody.js.map +1 -0
  69. package/dist/models/DescribePolarFsAttributeRequest.d.ts +5 -8
  70. package/dist/models/DescribePolarFsAttributeRequest.js.map +1 -1
  71. package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +49 -57
  72. package/dist/models/DescribePolarFsAttributeResponseBody.js +2 -0
  73. package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
  74. package/dist/models/DescribePolarFsObjectsResponseBody.d.ts +13 -13
  75. package/dist/models/InstallPolarClawSkillRequest.d.ts +63 -0
  76. package/dist/models/InstallPolarClawSkillRequest.js +68 -0
  77. package/dist/models/InstallPolarClawSkillRequest.js.map +1 -0
  78. package/dist/models/InstallPolarClawSkillResponse.d.ts +19 -0
  79. package/dist/models/InstallPolarClawSkillResponse.js +69 -0
  80. package/dist/models/InstallPolarClawSkillResponse.js.map +1 -0
  81. package/dist/models/InstallPolarClawSkillResponseBody.d.ts +77 -0
  82. package/dist/models/InstallPolarClawSkillResponseBody.js +72 -0
  83. package/dist/models/InstallPolarClawSkillResponseBody.js.map +1 -0
  84. package/dist/models/ModifyDbnodeClassRequest.d.ts +23 -32
  85. package/dist/models/ModifyDbnodeClassRequest.js.map +1 -1
  86. package/dist/models/ModifyDbnodeClassResponseBody.d.ts +1 -1
  87. package/dist/models/SearchPolarClawSkillsRequest.d.ts +39 -0
  88. package/dist/models/SearchPolarClawSkillsRequest.js +62 -0
  89. package/dist/models/SearchPolarClawSkillsRequest.js.map +1 -0
  90. package/dist/models/SearchPolarClawSkillsResponse.d.ts +19 -0
  91. package/dist/models/SearchPolarClawSkillsResponse.js +69 -0
  92. package/dist/models/SearchPolarClawSkillsResponse.js.map +1 -0
  93. package/dist/models/SearchPolarClawSkillsResponseBody.d.ts +110 -0
  94. package/dist/models/SearchPolarClawSkillsResponseBody.js +98 -0
  95. package/dist/models/SearchPolarClawSkillsResponseBody.js.map +1 -0
  96. package/dist/models/UpdatePolarClawAgentRequest.d.ts +23 -7
  97. package/dist/models/UpdatePolarClawAgentRequest.js +4 -0
  98. package/dist/models/UpdatePolarClawAgentRequest.js.map +1 -1
  99. package/dist/models/UpdatePolarClawAgentResponseBody.d.ts +9 -9
  100. package/dist/models/UpdatePolarClawAgentShrinkRequest.d.ts +22 -6
  101. package/dist/models/UpdatePolarClawAgentShrinkRequest.js +4 -0
  102. package/dist/models/UpdatePolarClawAgentShrinkRequest.js.map +1 -1
  103. package/dist/models/UpdatePolarClawAgentSkillsRequest.d.ts +41 -0
  104. package/dist/models/UpdatePolarClawAgentSkillsRequest.js +65 -0
  105. package/dist/models/UpdatePolarClawAgentSkillsRequest.js.map +1 -0
  106. package/dist/models/UpdatePolarClawAgentSkillsResponse.d.ts +19 -0
  107. package/dist/models/UpdatePolarClawAgentSkillsResponse.js +69 -0
  108. package/dist/models/UpdatePolarClawAgentSkillsResponse.js.map +1 -0
  109. package/dist/models/UpdatePolarClawAgentSkillsResponseBody.d.ts +66 -0
  110. package/dist/models/UpdatePolarClawAgentSkillsResponseBody.js +73 -0
  111. package/dist/models/UpdatePolarClawAgentSkillsResponseBody.js.map +1 -0
  112. package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.d.ts +41 -0
  113. package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.js +62 -0
  114. package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.js.map +1 -0
  115. package/dist/models/UpdatePolarClawAgentToolsRequest.d.ts +65 -0
  116. package/dist/models/UpdatePolarClawAgentToolsRequest.js +77 -0
  117. package/dist/models/UpdatePolarClawAgentToolsRequest.js.map +1 -0
  118. package/dist/models/UpdatePolarClawAgentToolsResponse.d.ts +19 -0
  119. package/dist/models/UpdatePolarClawAgentToolsResponse.js +69 -0
  120. package/dist/models/UpdatePolarClawAgentToolsResponse.js.map +1 -0
  121. package/dist/models/UpdatePolarClawAgentToolsResponseBody.d.ts +101 -0
  122. package/dist/models/UpdatePolarClawAgentToolsResponseBody.js +107 -0
  123. package/dist/models/UpdatePolarClawAgentToolsResponseBody.js.map +1 -0
  124. package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.d.ts +65 -0
  125. package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.js +68 -0
  126. package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.js.map +1 -0
  127. package/dist/models/UpdatePolarClawSkillRequest.d.ts +59 -0
  128. package/dist/models/UpdatePolarClawSkillRequest.js +69 -0
  129. package/dist/models/UpdatePolarClawSkillRequest.js.map +1 -0
  130. package/dist/models/UpdatePolarClawSkillResponse.d.ts +19 -0
  131. package/dist/models/UpdatePolarClawSkillResponse.js +69 -0
  132. package/dist/models/UpdatePolarClawSkillResponse.js.map +1 -0
  133. package/dist/models/UpdatePolarClawSkillResponseBody.d.ts +93 -0
  134. package/dist/models/UpdatePolarClawSkillResponseBody.js +97 -0
  135. package/dist/models/UpdatePolarClawSkillResponseBody.js.map +1 -0
  136. package/dist/models/UpdatePolarClawSkillShrinkRequest.d.ts +57 -0
  137. package/dist/models/UpdatePolarClawSkillShrinkRequest.js +66 -0
  138. package/dist/models/UpdatePolarClawSkillShrinkRequest.js.map +1 -0
  139. package/dist/models/model.d.ts +55 -0
  140. package/dist/models/model.js +146 -35
  141. package/dist/models/model.js.map +1 -1
  142. package/package.json +1 -1
  143. package/src/client.ts +648 -24
  144. package/src/models/CreateBatchConsumerRequest.ts +82 -0
  145. package/src/models/CreateBatchConsumerResponse.ts +40 -0
  146. package/src/models/CreateBatchConsumerResponseBody.ts +199 -0
  147. package/src/models/CreateDbnodesRequest.ts +34 -54
  148. package/src/models/CreateDbnodesResponseBody.ts +1 -1
  149. package/src/models/DescribeAidbclusterAttributeResponseBody.ts +68 -97
  150. package/src/models/DescribeApikeyAttributeRequest.ts +70 -0
  151. package/src/models/DescribeApikeyAttributeResponse.ts +40 -0
  152. package/src/models/DescribeApikeyAttributeResponseBody.ts +344 -0
  153. package/src/models/DescribeGatewayApikeyListRequest.ts +60 -0
  154. package/src/models/DescribeGatewayApikeyListResponse.ts +40 -0
  155. package/src/models/DescribeGatewayApikeyListResponseBody.ts +199 -0
  156. package/src/models/DescribePolarClawAgentFileRequest.ts +60 -0
  157. package/src/models/DescribePolarClawAgentFileResponse.ts +40 -0
  158. package/src/models/DescribePolarClawAgentFileResponseBody.ts +174 -0
  159. package/src/models/DescribePolarClawAgentToolsRequest.ts +58 -0
  160. package/src/models/DescribePolarClawAgentToolsResponse.ts +40 -0
  161. package/src/models/DescribePolarClawAgentToolsResponseBody.ts +334 -0
  162. package/src/models/DescribePolarClawAgentsRequest.ts +1 -1
  163. package/src/models/DescribePolarClawAgentsResponseBody.ts +170 -10
  164. package/src/models/DescribePolarClawAgentsShrinkRequest.ts +1 -1
  165. package/src/models/DescribePolarClawSkillDetailRequest.ts +48 -0
  166. package/src/models/DescribePolarClawSkillDetailResponse.ts +40 -0
  167. package/src/models/DescribePolarClawSkillDetailResponseBody.ts +379 -0
  168. package/src/models/DescribePolarFsAttributeRequest.ts +5 -8
  169. package/src/models/DescribePolarFsAttributeResponseBody.ts +52 -58
  170. package/src/models/DescribePolarFsObjectsResponseBody.ts +13 -13
  171. package/src/models/InstallPolarClawSkillRequest.ts +86 -0
  172. package/src/models/InstallPolarClawSkillResponse.ts +40 -0
  173. package/src/models/InstallPolarClawSkillResponseBody.ts +104 -0
  174. package/src/models/ModifyDbnodeClassRequest.ts +23 -32
  175. package/src/models/ModifyDbnodeClassResponseBody.ts +1 -1
  176. package/src/models/SearchPolarClawSkillsRequest.ts +56 -0
  177. package/src/models/SearchPolarClawSkillsResponse.ts +40 -0
  178. package/src/models/SearchPolarClawSkillsResponseBody.ts +154 -0
  179. package/src/models/UpdatePolarClawAgentRequest.ts +27 -7
  180. package/src/models/UpdatePolarClawAgentResponseBody.ts +9 -9
  181. package/src/models/UpdatePolarClawAgentShrinkRequest.ts +26 -6
  182. package/src/models/UpdatePolarClawAgentSkillsRequest.ts +61 -0
  183. package/src/models/UpdatePolarClawAgentSkillsResponse.ts +40 -0
  184. package/src/models/UpdatePolarClawAgentSkillsResponseBody.ts +94 -0
  185. package/src/models/UpdatePolarClawAgentSkillsShrinkRequest.ts +58 -0
  186. package/src/models/UpdatePolarClawAgentToolsRequest.ts +97 -0
  187. package/src/models/UpdatePolarClawAgentToolsResponse.ts +40 -0
  188. package/src/models/UpdatePolarClawAgentToolsResponseBody.ts +154 -0
  189. package/src/models/UpdatePolarClawAgentToolsShrinkRequest.ts +88 -0
  190. package/src/models/UpdatePolarClawSkillRequest.ts +81 -0
  191. package/src/models/UpdatePolarClawSkillResponse.ts +40 -0
  192. package/src/models/UpdatePolarClawSkillResponseBody.ts +134 -0
  193. package/src/models/UpdatePolarClawSkillShrinkRequest.ts +78 -0
  194. package/src/models/model.ts +55 -0
@@ -5,11 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyDBNodeClassRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies whether to automatically use a coupon. Valid values:
9
- *
10
- * - `true` (default): A coupon is automatically applied.
11
- *
12
- * - `false`: A coupon is not applied.
8
+ * Specifies whether to automatically use coupons. Valid values:
9
+ * * true (default): Uses coupons.
10
+ * * false: Does not use coupons.
13
11
  *
14
12
  * @example
15
13
  * true
@@ -17,7 +15,7 @@ export class ModifyDBNodeClassRequest extends $dara.Model {
17
15
  autoUseCoupon?: boolean;
18
16
  /**
19
17
  * @remarks
20
- * A client-generated token that ensures the idempotence of the request. The token must be unique across requests. It is case-sensitive and can be up to 64 ASCII characters long.
18
+ * The client token that is used to ensure the idempotence of the request. You can use the client to generate the value. Make sure that the value is unique among different requests. The token is case-sensitive and can contain a maximum of 64 ASCII characters.
21
19
  *
22
20
  * @example
23
21
  * 6000170000591aed949d0f54a343f1a4233c1e7d1c5c******
@@ -25,7 +23,7 @@ export class ModifyDBNodeClassRequest extends $dara.Model {
25
23
  clientToken?: string;
26
24
  /**
27
25
  * @remarks
28
- * The cloud provider of the instance.
26
+ * The cloud service provider of the instance.
29
27
  *
30
28
  * @example
31
29
  * ENS
@@ -43,7 +41,7 @@ export class ModifyDBNodeClassRequest extends $dara.Model {
43
41
  DBClusterId?: string;
44
42
  /**
45
43
  * @remarks
46
- * The target node specifications for all nodes in the cluster. For more information, see [compute node specifications](https://help.aliyun.com/document_detail/102542.html).
44
+ * The target specifications for all nodes. For more information, see [Compute node specifications](https://help.aliyun.com/document_detail/102542.html).
47
45
  *
48
46
  * This parameter is required.
49
47
  *
@@ -53,7 +51,7 @@ export class ModifyDBNodeClassRequest extends $dara.Model {
53
51
  DBNodeTargetClass?: string;
54
52
  /**
55
53
  * @remarks
56
- * To modify the specifications of an AI node, you must set this parameter to `DLNode`.
54
+ * The node type. Set this parameter to DLNode only when you change the node specifications of an AI node.
57
55
  *
58
56
  * @example
59
57
  * DLNode
@@ -61,11 +59,9 @@ export class ModifyDBNodeClassRequest extends $dara.Model {
61
59
  DBNodeType?: string;
62
60
  /**
63
61
  * @remarks
64
- * The modification type. Valid values:
65
- *
66
- * - **Upgrade**: Upgrades the node specifications.
67
- *
68
- * - **Downgrade**: Downgrades the node specifications.
62
+ * The type of the specification change. Valid values:
63
+ * * **Upgrade**: upgrades the specifications.
64
+ * * **Downgrade**: downgrades the specifications.
69
65
  *
70
66
  * This parameter is required.
71
67
  *
@@ -77,11 +73,9 @@ export class ModifyDBNodeClassRequest extends $dara.Model {
77
73
  ownerId?: number;
78
74
  /**
79
75
  * @remarks
80
- * The latest time to start the scheduled task. Specify the time in the `YYYY-MM-DDThh:mm:ssZ` format. The time must be in UTC.
81
- *
82
- * > - The latest start time must be at least 30 minutes later than the earliest start time.
83
- * >
84
- * > - If you specify `PlannedStartTime` but omit this parameter, the latest start time defaults to `PlannedStartTime + 30 minutes`. For example, if you set `PlannedStartTime` to `2021-01-14T09:00:00Z` and leave this parameter empty, the task starts no later than `2021-01-14T09:30:00Z`.
76
+ * The latest start time of the scheduled specification change task. Specify the time in the `YYYY-MM-DDThh:mm:ssZ` format (UTC).
77
+ * > * The latest time must be at least 30 minutes later than the start time.
78
+ * > * If `PlannedStartTime` is set but this parameter is not specified, the latest time defaults to `start time + 30 minutes`. For example, if `PlannedStartTime` is set to `2021-01-14T09:00:00Z` and this parameter is left empty, the task starts no later than `2021-01-14T09:30:00Z`.
85
79
  *
86
80
  * @example
87
81
  * 2021-01-14T09:30:00Z
@@ -89,7 +83,7 @@ export class ModifyDBNodeClassRequest extends $dara.Model {
89
83
  plannedEndTime?: string;
90
84
  /**
91
85
  * @remarks
92
- * The planned time for a transient disconnection. Specify the time in the `YYYY-MM-DDThh:mm:ssZ` format. The time must be in UTC.
86
+ * The planned transient disconnection time.
93
87
  *
94
88
  * @example
95
89
  * 2021-01-14T09:30:00Z
@@ -97,13 +91,10 @@ export class ModifyDBNodeClassRequest extends $dara.Model {
97
91
  plannedFlashingOffTime?: string;
98
92
  /**
99
93
  * @remarks
100
- * The earliest time to start the scheduled upgrade or downgrade task. Specify the time in the `YYYY-MM-DDThh:mm:ssZ` format. The time must be in UTC.
101
- *
102
- * > - This parameter is valid only when `ModifyType` is set to `Upgrade` or `Downgrade`.
103
- * >
104
- * > - The start time must be within the next 24 hours. For example, if the current time is `2021-01-14T09:00:00Z`, you can set the start time to a value in the range from `2021-01-14T09:00:00Z` to `2021-01-15T09:00:00Z`.
105
- * >
106
- * > - If you leave this parameter empty, the task is immediately executed.
94
+ * The earliest start time of the scheduled specification change task. Specify the time in the `YYYY-MM-DDThh:mm:ssZ` format (UTC).
95
+ * > * This parameter takes effect when `ModifyType` is set to `Upgrade` or `Downgrade`.
96
+ * > * The start time must be within the next 24 hours. For example, if the current time is `2021-01-14T09:00:00Z`, the valid range for the start time is from `2021-01-14T09:00:00Z` to `2021-01-15T09:00:00Z`.
97
+ * > * If this parameter is left empty, the specification change task is immediately executed.
107
98
  *
108
99
  * @example
109
100
  * 2021-01-14T09:00:00Z
@@ -111,7 +102,7 @@ export class ModifyDBNodeClassRequest extends $dara.Model {
111
102
  plannedStartTime?: string;
112
103
  /**
113
104
  * @remarks
114
- * The coupon code. If you omit this parameter, the system applies the default coupon.
105
+ * The coupon code. If this parameter is not specified, the default coupon is used.
115
106
  *
116
107
  * @example
117
108
  * 727xxxxxx934
@@ -121,13 +112,13 @@ export class ModifyDBNodeClassRequest extends $dara.Model {
121
112
  resourceOwnerId?: number;
122
113
  /**
123
114
  * @remarks
124
- * The subcategory of the cluster. Valid values:
115
+ * The cluster sub-series. Valid values:
125
116
  *
126
- * - **normal_exclusive**: dedicated specifications
117
+ * - **normal_exclusive**: Dedicated
127
118
  *
128
- * - **normal_general**: general-purpose specifications
119
+ * - **normal_general**: General-purpose
129
120
  *
130
- * This parameter is required when switching between dedicated and general-purpose specifications.
121
+ * This parameter is required when you change specifications between Dedicated and General-purpose.
131
122
  *
132
123
  * @example
133
124
  * normal_general
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyDBNodeClassResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The cluster ID.
8
+ * The database cluster ID.
9
9
  *
10
10
  * @example
11
11
  * pc-*************
@@ -0,0 +1,56 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SearchPolarClawSkillsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The application ID.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * pa-xxx
14
+ */
15
+ applicationId?: string;
16
+ /**
17
+ * @remarks
18
+ * The maximum number of results to return. Valid values: 1 to 100.
19
+ *
20
+ * @example
21
+ * 10
22
+ */
23
+ limit?: number;
24
+ /**
25
+ * @remarks
26
+ * The search keyword. If this parameter is not specified, popular or recommended results are returned.
27
+ *
28
+ * @example
29
+ * rds
30
+ */
31
+ query?: string;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ applicationId: 'ApplicationId',
35
+ limit: 'Limit',
36
+ query: 'Query',
37
+ };
38
+ }
39
+
40
+ static types(): { [key: string]: any } {
41
+ return {
42
+ applicationId: 'string',
43
+ limit: 'number',
44
+ query: 'string',
45
+ };
46
+ }
47
+
48
+ validate() {
49
+ super.validate();
50
+ }
51
+
52
+ constructor(map?: { [key: string]: any }) {
53
+ super(map);
54
+ }
55
+ }
56
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { SearchPolarClawSkillsResponseBody } from "./SearchPolarClawSkillsResponseBody";
4
+
5
+
6
+ export class SearchPolarClawSkillsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: SearchPolarClawSkillsResponseBody;
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: SearchPolarClawSkillsResponseBody,
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,154 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SearchPolarClawSkillsResponseBodyResults extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The display name.
9
+ *
10
+ * @example
11
+ * RDS Copilot
12
+ */
13
+ displayName?: string;
14
+ /**
15
+ * @remarks
16
+ * The relevance score.
17
+ *
18
+ * @example
19
+ * 0.95
20
+ */
21
+ score?: number;
22
+ /**
23
+ * @remarks
24
+ * The skill identifier.
25
+ *
26
+ * @example
27
+ * alibacloud-rds-copilot
28
+ */
29
+ slug?: string;
30
+ /**
31
+ * @remarks
32
+ * The brief description.
33
+ *
34
+ * @example
35
+ * A copilot for RDS
36
+ */
37
+ summary?: string;
38
+ /**
39
+ * @remarks
40
+ * The UNIX timestamp of the last update, in seconds.
41
+ *
42
+ * @example
43
+ * 1716000000
44
+ */
45
+ updatedAt?: number;
46
+ /**
47
+ * @remarks
48
+ * The latest version.
49
+ *
50
+ * @example
51
+ * 1.2.0
52
+ */
53
+ version?: string;
54
+ static names(): { [key: string]: string } {
55
+ return {
56
+ displayName: 'DisplayName',
57
+ score: 'Score',
58
+ slug: 'Slug',
59
+ summary: 'Summary',
60
+ updatedAt: 'UpdatedAt',
61
+ version: 'Version',
62
+ };
63
+ }
64
+
65
+ static types(): { [key: string]: any } {
66
+ return {
67
+ displayName: 'string',
68
+ score: 'number',
69
+ slug: 'string',
70
+ summary: 'string',
71
+ updatedAt: 'number',
72
+ version: 'string',
73
+ };
74
+ }
75
+
76
+ validate() {
77
+ super.validate();
78
+ }
79
+
80
+ constructor(map?: { [key: string]: any }) {
81
+ super(map);
82
+ }
83
+ }
84
+
85
+ export class SearchPolarClawSkillsResponseBody extends $dara.Model {
86
+ /**
87
+ * @remarks
88
+ * The application ID.
89
+ *
90
+ * @example
91
+ * pa-xxx
92
+ */
93
+ applicationId?: string;
94
+ /**
95
+ * @remarks
96
+ * The response status code.
97
+ *
98
+ * @example
99
+ * 200
100
+ */
101
+ code?: number;
102
+ /**
103
+ * @remarks
104
+ * The response message.
105
+ *
106
+ * @example
107
+ * success
108
+ */
109
+ message?: string;
110
+ /**
111
+ * @remarks
112
+ * Id of the request
113
+ *
114
+ * @example
115
+ * F45FFACC-xxx
116
+ */
117
+ requestId?: string;
118
+ /**
119
+ * @remarks
120
+ * The list of search results.
121
+ */
122
+ results?: SearchPolarClawSkillsResponseBodyResults[];
123
+ static names(): { [key: string]: string } {
124
+ return {
125
+ applicationId: 'ApplicationId',
126
+ code: 'Code',
127
+ message: 'Message',
128
+ requestId: 'RequestId',
129
+ results: 'Results',
130
+ };
131
+ }
132
+
133
+ static types(): { [key: string]: any } {
134
+ return {
135
+ applicationId: 'string',
136
+ code: 'number',
137
+ message: 'string',
138
+ requestId: 'string',
139
+ results: { 'type': 'array', 'itemType': SearchPolarClawSkillsResponseBodyResults },
140
+ };
141
+ }
142
+
143
+ validate() {
144
+ if(Array.isArray(this.results)) {
145
+ $dara.Model.validateArray(this.results);
146
+ }
147
+ super.validate();
148
+ }
149
+
150
+ constructor(map?: { [key: string]: any }) {
151
+ super(map);
152
+ }
153
+ }
154
+
@@ -13,7 +13,7 @@ export class UpdatePolarClawAgentRequestFiles extends $dara.Model {
13
13
  fileContent?: string;
14
14
  /**
15
15
  * @remarks
16
- * The file name. This must be one of the allowed file names: AGENTS.md, SOUL.md, TOOLS.md, IDENTITY.md, USER.md, HEARTBEAT.md, BOOTSTRAP.md, MEMORY.md, or MEMORY.alt.md.
16
+ * The file name. The value must be one of the following allowed file names: AGENTS.md, SOUL.md, TOOLS.md, IDENTITY.md, USER.md, HEARTBEAT.md, BOOTSTRAP.md, MEMORY.md, or MEMORY.alt.md.
17
17
  *
18
18
  * @example
19
19
  * SOUL.md
@@ -65,7 +65,7 @@ export class UpdatePolarClawAgentRequest extends $dara.Model {
65
65
  applicationId?: string;
66
66
  /**
67
67
  * @remarks
68
- * The new avatar for the agent.
68
+ * The new avatar.
69
69
  *
70
70
  * @example
71
71
  * test
@@ -73,7 +73,7 @@ export class UpdatePolarClawAgentRequest extends $dara.Model {
73
73
  avatar?: string;
74
74
  /**
75
75
  * @remarks
76
- * The file list to update.
76
+ * The list of files to update.
77
77
  *
78
78
  * @example
79
79
  * [{"FileName":"SOUL.md","FileContent":"You are a helpful assistant."}]
@@ -81,7 +81,23 @@ export class UpdatePolarClawAgentRequest extends $dara.Model {
81
81
  files?: UpdatePolarClawAgentRequestFiles[];
82
82
  /**
83
83
  * @remarks
84
- * The model to override the agent\\"s default setting.
84
+ * Specifies whether to set the agent as the default agent.
85
+ *
86
+ * @example
87
+ * true
88
+ */
89
+ isDefault?: boolean;
90
+ /**
91
+ * @remarks
92
+ * Specifies whether to keep files when switching the workspace.
93
+ *
94
+ * @example
95
+ * false
96
+ */
97
+ keepWorkspaceFiles?: boolean;
98
+ /**
99
+ * @remarks
100
+ * The model override.
85
101
  *
86
102
  * @example
87
103
  * claude-sonnet-4-5
@@ -89,7 +105,7 @@ export class UpdatePolarClawAgentRequest extends $dara.Model {
89
105
  model?: string;
90
106
  /**
91
107
  * @remarks
92
- * The new display name for the agent.
108
+ * The new display name of the agent.
93
109
  *
94
110
  * @example
95
111
  * Work Bot
@@ -97,7 +113,7 @@ export class UpdatePolarClawAgentRequest extends $dara.Model {
97
113
  name?: string;
98
114
  /**
99
115
  * @remarks
100
- * Specifies whether to restart the gateway after the update. The default value is true.
116
+ * Specifies whether to restart the gateway after creation. Default value: true.
101
117
  *
102
118
  * @example
103
119
  * true
@@ -105,7 +121,7 @@ export class UpdatePolarClawAgentRequest extends $dara.Model {
105
121
  restart?: boolean;
106
122
  /**
107
123
  * @remarks
108
- * The new path for the agent\\"s workspace.
124
+ * The new working directory path.
109
125
  *
110
126
  * @example
111
127
  * /home/node/.openclaw/workspace-work-v2
@@ -117,6 +133,8 @@ export class UpdatePolarClawAgentRequest extends $dara.Model {
117
133
  applicationId: 'ApplicationId',
118
134
  avatar: 'Avatar',
119
135
  files: 'Files',
136
+ isDefault: 'IsDefault',
137
+ keepWorkspaceFiles: 'KeepWorkspaceFiles',
120
138
  model: 'Model',
121
139
  name: 'Name',
122
140
  restart: 'Restart',
@@ -130,6 +148,8 @@ export class UpdatePolarClawAgentRequest extends $dara.Model {
130
148
  applicationId: 'string',
131
149
  avatar: 'string',
132
150
  files: { 'type': 'array', 'itemType': UpdatePolarClawAgentRequestFiles },
151
+ isDefault: 'boolean',
152
+ keepWorkspaceFiles: 'boolean',
133
153
  model: 'string',
134
154
  name: 'string',
135
155
  restart: 'boolean',
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdatePolarClawAgentResponseBodyAgentIdentity extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The path or content of the avatar.
8
+ * The avatar path or content.
9
9
  *
10
10
  * @example
11
11
  * test
@@ -21,7 +21,7 @@ export class UpdatePolarClawAgentResponseBodyAgentIdentity extends $dara.Model {
21
21
  avatarUrl?: string;
22
22
  /**
23
23
  * @remarks
24
- * The identity\\"s Emoji identifier. This can be a Unicode code point, such as U+1F99E, or the Emoji character itself.
24
+ * The emoji identifier. The value is in Unicode encoding format such as U+1F99E, or a direct emoji character.
25
25
  *
26
26
  * @example
27
27
  * U+1F99E
@@ -29,7 +29,7 @@ export class UpdatePolarClawAgentResponseBodyAgentIdentity extends $dara.Model {
29
29
  emoji?: string;
30
30
  /**
31
31
  * @remarks
32
- * The name of the identity.
32
+ * The identity name.
33
33
  *
34
34
  * @example
35
35
  * PolarClaw
@@ -37,7 +37,7 @@ export class UpdatePolarClawAgentResponseBodyAgentIdentity extends $dara.Model {
37
37
  name?: string;
38
38
  /**
39
39
  * @remarks
40
- * The theme of the identity.
40
+ * The theme.
41
41
  *
42
42
  * @example
43
43
  * soul lobster
@@ -75,7 +75,7 @@ export class UpdatePolarClawAgentResponseBodyAgentIdentity extends $dara.Model {
75
75
  export class UpdatePolarClawAgentResponseBodyAgent extends $dara.Model {
76
76
  /**
77
77
  * @remarks
78
- * The agent ID.
78
+ * Agent ID
79
79
  *
80
80
  * @example
81
81
  * main
@@ -83,7 +83,7 @@ export class UpdatePolarClawAgentResponseBodyAgent extends $dara.Model {
83
83
  id?: string;
84
84
  /**
85
85
  * @remarks
86
- * The identity information of the agent.
86
+ * The identity information.
87
87
  */
88
88
  identity?: UpdatePolarClawAgentResponseBodyAgentIdentity;
89
89
  /**
@@ -96,7 +96,7 @@ export class UpdatePolarClawAgentResponseBodyAgent extends $dara.Model {
96
96
  name?: string;
97
97
  /**
98
98
  * @remarks
99
- * The workspace path.
99
+ * The working directory path.
100
100
  *
101
101
  * @example
102
102
  * /home/node/.openclaw/workspace-work-v2
@@ -140,7 +140,7 @@ export class UpdatePolarClawAgentResponseBody extends $dara.Model {
140
140
  agent?: UpdatePolarClawAgentResponseBodyAgent;
141
141
  /**
142
142
  * @remarks
143
- * The agent ID.
143
+ * Agent ID
144
144
  *
145
145
  * @example
146
146
  * main
@@ -172,7 +172,7 @@ export class UpdatePolarClawAgentResponseBody extends $dara.Model {
172
172
  message?: string;
173
173
  /**
174
174
  * @remarks
175
- * The request ID.
175
+ * Id of the request
176
176
  *
177
177
  * @example
178
178
  * CDB3258F-B5DE-43C4-8935-CBA0CA******
@@ -25,7 +25,7 @@ export class UpdatePolarClawAgentShrinkRequest extends $dara.Model {
25
25
  applicationId?: string;
26
26
  /**
27
27
  * @remarks
28
- * The new avatar for the agent.
28
+ * The new avatar.
29
29
  *
30
30
  * @example
31
31
  * test
@@ -33,7 +33,7 @@ export class UpdatePolarClawAgentShrinkRequest extends $dara.Model {
33
33
  avatar?: string;
34
34
  /**
35
35
  * @remarks
36
- * The file list to update.
36
+ * The list of files to update.
37
37
  *
38
38
  * @example
39
39
  * [{"FileName":"SOUL.md","FileContent":"You are a helpful assistant."}]
@@ -41,7 +41,23 @@ export class UpdatePolarClawAgentShrinkRequest extends $dara.Model {
41
41
  filesShrink?: string;
42
42
  /**
43
43
  * @remarks
44
- * The model to override the agent\\"s default setting.
44
+ * Specifies whether to set the agent as the default agent.
45
+ *
46
+ * @example
47
+ * true
48
+ */
49
+ isDefault?: boolean;
50
+ /**
51
+ * @remarks
52
+ * Specifies whether to keep files when switching the workspace.
53
+ *
54
+ * @example
55
+ * false
56
+ */
57
+ keepWorkspaceFiles?: boolean;
58
+ /**
59
+ * @remarks
60
+ * The model override.
45
61
  *
46
62
  * @example
47
63
  * claude-sonnet-4-5
@@ -49,7 +65,7 @@ export class UpdatePolarClawAgentShrinkRequest extends $dara.Model {
49
65
  model?: string;
50
66
  /**
51
67
  * @remarks
52
- * The new display name for the agent.
68
+ * The new display name of the agent.
53
69
  *
54
70
  * @example
55
71
  * Work Bot
@@ -57,7 +73,7 @@ export class UpdatePolarClawAgentShrinkRequest extends $dara.Model {
57
73
  name?: string;
58
74
  /**
59
75
  * @remarks
60
- * Specifies whether to restart the gateway after the update. The default value is true.
76
+ * Specifies whether to restart the gateway after creation. Default value: true.
61
77
  *
62
78
  * @example
63
79
  * true
@@ -65,7 +81,7 @@ export class UpdatePolarClawAgentShrinkRequest extends $dara.Model {
65
81
  restart?: boolean;
66
82
  /**
67
83
  * @remarks
68
- * The new path for the agent\\"s workspace.
84
+ * The new working directory path.
69
85
  *
70
86
  * @example
71
87
  * /home/node/.openclaw/workspace-work-v2
@@ -77,6 +93,8 @@ export class UpdatePolarClawAgentShrinkRequest extends $dara.Model {
77
93
  applicationId: 'ApplicationId',
78
94
  avatar: 'Avatar',
79
95
  filesShrink: 'Files',
96
+ isDefault: 'IsDefault',
97
+ keepWorkspaceFiles: 'KeepWorkspaceFiles',
80
98
  model: 'Model',
81
99
  name: 'Name',
82
100
  restart: 'Restart',
@@ -90,6 +108,8 @@ export class UpdatePolarClawAgentShrinkRequest extends $dara.Model {
90
108
  applicationId: 'string',
91
109
  avatar: 'string',
92
110
  filesShrink: 'string',
111
+ isDefault: 'boolean',
112
+ keepWorkspaceFiles: 'boolean',
93
113
  model: 'string',
94
114
  name: 'string',
95
115
  restart: 'boolean',