@alicloud/polardb20170801 7.1.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 (144) hide show
  1. package/dist/client.d.ts +128 -8
  2. package/dist/client.js +410 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDbnodesRequest.d.ts +34 -54
  5. package/dist/models/CreateDbnodesRequest.js.map +1 -1
  6. package/dist/models/CreateDbnodesResponseBody.d.ts +1 -1
  7. package/dist/models/DescribeApikeyAttributeRequest.d.ts +12 -0
  8. package/dist/models/DescribeApikeyAttributeRequest.js.map +1 -1
  9. package/dist/models/DescribeApikeyAttributeResponseBody.d.ts +81 -0
  10. package/dist/models/DescribeApikeyAttributeResponseBody.js.map +1 -1
  11. package/dist/models/DescribePolarClawAgentFileRequest.d.ts +43 -0
  12. package/dist/models/DescribePolarClawAgentFileRequest.js +62 -0
  13. package/dist/models/DescribePolarClawAgentFileRequest.js.map +1 -0
  14. package/dist/models/DescribePolarClawAgentFileResponse.d.ts +19 -0
  15. package/dist/models/DescribePolarClawAgentFileResponse.js +69 -0
  16. package/dist/models/DescribePolarClawAgentFileResponse.js.map +1 -0
  17. package/dist/models/DescribePolarClawAgentFileResponseBody.d.ts +126 -0
  18. package/dist/models/DescribePolarClawAgentFileResponseBody.js +102 -0
  19. package/dist/models/DescribePolarClawAgentFileResponseBody.js.map +1 -0
  20. package/dist/models/DescribePolarClawAgentToolsRequest.d.ts +41 -0
  21. package/dist/models/DescribePolarClawAgentToolsRequest.js +62 -0
  22. package/dist/models/DescribePolarClawAgentToolsRequest.js.map +1 -0
  23. package/dist/models/DescribePolarClawAgentToolsResponse.d.ts +19 -0
  24. package/dist/models/DescribePolarClawAgentToolsResponse.js +69 -0
  25. package/dist/models/DescribePolarClawAgentToolsResponse.js.map +1 -0
  26. package/dist/models/DescribePolarClawAgentToolsResponseBody.d.ts +221 -0
  27. package/dist/models/DescribePolarClawAgentToolsResponseBody.js +194 -0
  28. package/dist/models/DescribePolarClawAgentToolsResponseBody.js.map +1 -0
  29. package/dist/models/DescribePolarClawAgentsResponseBody.d.ts +42 -2
  30. package/dist/models/DescribePolarClawAgentsResponseBody.js.map +1 -1
  31. package/dist/models/DescribePolarClawSkillDetailRequest.d.ts +33 -0
  32. package/dist/models/DescribePolarClawSkillDetailRequest.js +60 -0
  33. package/dist/models/DescribePolarClawSkillDetailRequest.js.map +1 -0
  34. package/dist/models/DescribePolarClawSkillDetailResponse.d.ts +19 -0
  35. package/dist/models/DescribePolarClawSkillDetailResponse.js +69 -0
  36. package/dist/models/DescribePolarClawSkillDetailResponse.js.map +1 -0
  37. package/dist/models/DescribePolarClawSkillDetailResponseBody.d.ts +269 -0
  38. package/dist/models/DescribePolarClawSkillDetailResponseBody.js +193 -0
  39. package/dist/models/DescribePolarClawSkillDetailResponseBody.js.map +1 -0
  40. package/dist/models/InstallPolarClawSkillRequest.d.ts +63 -0
  41. package/dist/models/InstallPolarClawSkillRequest.js +68 -0
  42. package/dist/models/InstallPolarClawSkillRequest.js.map +1 -0
  43. package/dist/models/InstallPolarClawSkillResponse.d.ts +19 -0
  44. package/dist/models/InstallPolarClawSkillResponse.js +69 -0
  45. package/dist/models/InstallPolarClawSkillResponse.js.map +1 -0
  46. package/dist/models/InstallPolarClawSkillResponseBody.d.ts +77 -0
  47. package/dist/models/InstallPolarClawSkillResponseBody.js +72 -0
  48. package/dist/models/InstallPolarClawSkillResponseBody.js.map +1 -0
  49. package/dist/models/ModifyDbnodeClassRequest.d.ts +23 -32
  50. package/dist/models/ModifyDbnodeClassRequest.js.map +1 -1
  51. package/dist/models/ModifyDbnodeClassResponseBody.d.ts +1 -1
  52. package/dist/models/SearchPolarClawSkillsRequest.d.ts +39 -0
  53. package/dist/models/SearchPolarClawSkillsRequest.js +62 -0
  54. package/dist/models/SearchPolarClawSkillsRequest.js.map +1 -0
  55. package/dist/models/SearchPolarClawSkillsResponse.d.ts +19 -0
  56. package/dist/models/SearchPolarClawSkillsResponse.js +69 -0
  57. package/dist/models/SearchPolarClawSkillsResponse.js.map +1 -0
  58. package/dist/models/SearchPolarClawSkillsResponseBody.d.ts +110 -0
  59. package/dist/models/SearchPolarClawSkillsResponseBody.js +98 -0
  60. package/dist/models/SearchPolarClawSkillsResponseBody.js.map +1 -0
  61. package/dist/models/UpdatePolarClawAgentRequest.d.ts +16 -10
  62. package/dist/models/UpdatePolarClawAgentRequest.js.map +1 -1
  63. package/dist/models/UpdatePolarClawAgentResponseBody.d.ts +12 -12
  64. package/dist/models/UpdatePolarClawAgentShrinkRequest.d.ts +14 -8
  65. package/dist/models/UpdatePolarClawAgentShrinkRequest.js.map +1 -1
  66. package/dist/models/UpdatePolarClawAgentSkillsRequest.d.ts +41 -0
  67. package/dist/models/UpdatePolarClawAgentSkillsRequest.js +65 -0
  68. package/dist/models/UpdatePolarClawAgentSkillsRequest.js.map +1 -0
  69. package/dist/models/UpdatePolarClawAgentSkillsResponse.d.ts +19 -0
  70. package/dist/models/UpdatePolarClawAgentSkillsResponse.js +69 -0
  71. package/dist/models/UpdatePolarClawAgentSkillsResponse.js.map +1 -0
  72. package/dist/models/UpdatePolarClawAgentSkillsResponseBody.d.ts +66 -0
  73. package/dist/models/UpdatePolarClawAgentSkillsResponseBody.js +73 -0
  74. package/dist/models/UpdatePolarClawAgentSkillsResponseBody.js.map +1 -0
  75. package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.d.ts +41 -0
  76. package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.js +62 -0
  77. package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.js.map +1 -0
  78. package/dist/models/UpdatePolarClawAgentToolsRequest.d.ts +65 -0
  79. package/dist/models/UpdatePolarClawAgentToolsRequest.js +77 -0
  80. package/dist/models/UpdatePolarClawAgentToolsRequest.js.map +1 -0
  81. package/dist/models/UpdatePolarClawAgentToolsResponse.d.ts +19 -0
  82. package/dist/models/UpdatePolarClawAgentToolsResponse.js +69 -0
  83. package/dist/models/UpdatePolarClawAgentToolsResponse.js.map +1 -0
  84. package/dist/models/UpdatePolarClawAgentToolsResponseBody.d.ts +101 -0
  85. package/dist/models/UpdatePolarClawAgentToolsResponseBody.js +107 -0
  86. package/dist/models/UpdatePolarClawAgentToolsResponseBody.js.map +1 -0
  87. package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.d.ts +65 -0
  88. package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.js +68 -0
  89. package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.js.map +1 -0
  90. package/dist/models/UpdatePolarClawSkillRequest.d.ts +59 -0
  91. package/dist/models/UpdatePolarClawSkillRequest.js +69 -0
  92. package/dist/models/UpdatePolarClawSkillRequest.js.map +1 -0
  93. package/dist/models/UpdatePolarClawSkillResponse.d.ts +19 -0
  94. package/dist/models/UpdatePolarClawSkillResponse.js +69 -0
  95. package/dist/models/UpdatePolarClawSkillResponse.js.map +1 -0
  96. package/dist/models/UpdatePolarClawSkillResponseBody.d.ts +93 -0
  97. package/dist/models/UpdatePolarClawSkillResponseBody.js +97 -0
  98. package/dist/models/UpdatePolarClawSkillResponseBody.js.map +1 -0
  99. package/dist/models/UpdatePolarClawSkillShrinkRequest.d.ts +57 -0
  100. package/dist/models/UpdatePolarClawSkillShrinkRequest.js +66 -0
  101. package/dist/models/UpdatePolarClawSkillShrinkRequest.js.map +1 -0
  102. package/dist/models/model.d.ts +39 -0
  103. package/dist/models/model.js +105 -27
  104. package/dist/models/model.js.map +1 -1
  105. package/package.json +1 -1
  106. package/src/client.ts +462 -8
  107. package/src/models/CreateDbnodesRequest.ts +34 -54
  108. package/src/models/CreateDbnodesResponseBody.ts +1 -1
  109. package/src/models/DescribeApikeyAttributeRequest.ts +12 -0
  110. package/src/models/DescribeApikeyAttributeResponseBody.ts +81 -0
  111. package/src/models/DescribePolarClawAgentFileRequest.ts +60 -0
  112. package/src/models/DescribePolarClawAgentFileResponse.ts +40 -0
  113. package/src/models/DescribePolarClawAgentFileResponseBody.ts +174 -0
  114. package/src/models/DescribePolarClawAgentToolsRequest.ts +58 -0
  115. package/src/models/DescribePolarClawAgentToolsResponse.ts +40 -0
  116. package/src/models/DescribePolarClawAgentToolsResponseBody.ts +334 -0
  117. package/src/models/DescribePolarClawAgentsResponseBody.ts +42 -2
  118. package/src/models/DescribePolarClawSkillDetailRequest.ts +48 -0
  119. package/src/models/DescribePolarClawSkillDetailResponse.ts +40 -0
  120. package/src/models/DescribePolarClawSkillDetailResponseBody.ts +379 -0
  121. package/src/models/InstallPolarClawSkillRequest.ts +86 -0
  122. package/src/models/InstallPolarClawSkillResponse.ts +40 -0
  123. package/src/models/InstallPolarClawSkillResponseBody.ts +104 -0
  124. package/src/models/ModifyDbnodeClassRequest.ts +23 -32
  125. package/src/models/ModifyDbnodeClassResponseBody.ts +1 -1
  126. package/src/models/SearchPolarClawSkillsRequest.ts +56 -0
  127. package/src/models/SearchPolarClawSkillsResponse.ts +40 -0
  128. package/src/models/SearchPolarClawSkillsResponseBody.ts +154 -0
  129. package/src/models/UpdatePolarClawAgentRequest.ts +16 -10
  130. package/src/models/UpdatePolarClawAgentResponseBody.ts +12 -12
  131. package/src/models/UpdatePolarClawAgentShrinkRequest.ts +14 -8
  132. package/src/models/UpdatePolarClawAgentSkillsRequest.ts +61 -0
  133. package/src/models/UpdatePolarClawAgentSkillsResponse.ts +40 -0
  134. package/src/models/UpdatePolarClawAgentSkillsResponseBody.ts +94 -0
  135. package/src/models/UpdatePolarClawAgentSkillsShrinkRequest.ts +58 -0
  136. package/src/models/UpdatePolarClawAgentToolsRequest.ts +97 -0
  137. package/src/models/UpdatePolarClawAgentToolsResponse.ts +40 -0
  138. package/src/models/UpdatePolarClawAgentToolsResponseBody.ts +154 -0
  139. package/src/models/UpdatePolarClawAgentToolsShrinkRequest.ts +88 -0
  140. package/src/models/UpdatePolarClawSkillRequest.ts +81 -0
  141. package/src/models/UpdatePolarClawSkillResponse.ts +40 -0
  142. package/src/models/UpdatePolarClawSkillResponseBody.ts +134 -0
  143. package/src/models/UpdatePolarClawSkillShrinkRequest.ts +78 -0
  144. package/src/models/model.ts +39 -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
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdatePolarClawAgentRequestFiles extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * File content
8
+ * The file content.
9
9
  *
10
10
  * @example
11
11
  * You are a helpful assistant.
@@ -13,7 +13,7 @@ export class UpdatePolarClawAgentRequestFiles extends $dara.Model {
13
13
  fileContent?: string;
14
14
  /**
15
15
  * @remarks
16
- * File name, must be one of the allowed file names (AGENTS.md, SOUL.md, TOOLS.md, IDENTITY.md, USER.md, HEARTBEAT.md, BOOTSTRAP.md, MEMORY.md, 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
@@ -45,7 +45,7 @@ export class UpdatePolarClawAgentRequestFiles extends $dara.Model {
45
45
  export class UpdatePolarClawAgentRequest extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
- * Agent ID to update
48
+ * The ID of the agent to update.
49
49
  *
50
50
  * This parameter is required.
51
51
  *
@@ -55,7 +55,7 @@ export class UpdatePolarClawAgentRequest extends $dara.Model {
55
55
  agentId?: string;
56
56
  /**
57
57
  * @remarks
58
- * Application ID
58
+ * The application ID.
59
59
  *
60
60
  * This parameter is required.
61
61
  *
@@ -65,7 +65,7 @@ export class UpdatePolarClawAgentRequest extends $dara.Model {
65
65
  applicationId?: string;
66
66
  /**
67
67
  * @remarks
68
- * New avatar
68
+ * The new avatar.
69
69
  *
70
70
  * @example
71
71
  * test
@@ -73,25 +73,31 @@ export class UpdatePolarClawAgentRequest extends $dara.Model {
73
73
  avatar?: string;
74
74
  /**
75
75
  * @remarks
76
- * List of files 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."}]
80
80
  */
81
81
  files?: UpdatePolarClawAgentRequestFiles[];
82
82
  /**
83
+ * @remarks
84
+ * Specifies whether to set the agent as the default agent.
85
+ *
83
86
  * @example
84
87
  * true
85
88
  */
86
89
  isDefault?: boolean;
87
90
  /**
91
+ * @remarks
92
+ * Specifies whether to keep files when switching the workspace.
93
+ *
88
94
  * @example
89
95
  * false
90
96
  */
91
97
  keepWorkspaceFiles?: boolean;
92
98
  /**
93
99
  * @remarks
94
- * Model override
100
+ * The model override.
95
101
  *
96
102
  * @example
97
103
  * claude-sonnet-4-5
@@ -99,7 +105,7 @@ export class UpdatePolarClawAgentRequest extends $dara.Model {
99
105
  model?: string;
100
106
  /**
101
107
  * @remarks
102
- * New display name
108
+ * The new display name of the agent.
103
109
  *
104
110
  * @example
105
111
  * Work Bot
@@ -107,7 +113,7 @@ export class UpdatePolarClawAgentRequest extends $dara.Model {
107
113
  name?: string;
108
114
  /**
109
115
  * @remarks
110
- * Whether to restart the gateway after creation, default is true
116
+ * Specifies whether to restart the gateway after creation. Default value: true.
111
117
  *
112
118
  * @example
113
119
  * true
@@ -115,7 +121,7 @@ export class UpdatePolarClawAgentRequest extends $dara.Model {
115
121
  restart?: boolean;
116
122
  /**
117
123
  * @remarks
118
- * New workspace directory path
124
+ * The new working directory path.
119
125
  *
120
126
  * @example
121
127
  * /home/node/.openclaw/workspace-work-v2
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdatePolarClawAgentResponseBodyAgentIdentity extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Avatar path or content
8
+ * The avatar path or content.
9
9
  *
10
10
  * @example
11
11
  * test
@@ -13,7 +13,7 @@ export class UpdatePolarClawAgentResponseBodyAgentIdentity extends $dara.Model {
13
13
  avatar?: string;
14
14
  /**
15
15
  * @remarks
16
- * Avatar URL
16
+ * The avatar URL.
17
17
  *
18
18
  * @example
19
19
  * test
@@ -21,7 +21,7 @@ export class UpdatePolarClawAgentResponseBodyAgentIdentity extends $dara.Model {
21
21
  avatarUrl?: string;
22
22
  /**
23
23
  * @remarks
24
- * Emoji identifier (Unicode format such as U+1F99E, or direct emoji character)
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
- * Identity name
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
- * Theme
40
+ * The theme.
41
41
  *
42
42
  * @example
43
43
  * soul lobster
@@ -83,12 +83,12 @@ export class UpdatePolarClawAgentResponseBodyAgent extends $dara.Model {
83
83
  id?: string;
84
84
  /**
85
85
  * @remarks
86
- * Identity information
86
+ * The identity information.
87
87
  */
88
88
  identity?: UpdatePolarClawAgentResponseBodyAgentIdentity;
89
89
  /**
90
90
  * @remarks
91
- * Agent display name
91
+ * The display name of the agent.
92
92
  *
93
93
  * @example
94
94
  * PolarClaw
@@ -96,7 +96,7 @@ export class UpdatePolarClawAgentResponseBodyAgent extends $dara.Model {
96
96
  name?: string;
97
97
  /**
98
98
  * @remarks
99
- * Workspace directory path
99
+ * The working directory path.
100
100
  *
101
101
  * @example
102
102
  * /home/node/.openclaw/workspace-work-v2
@@ -135,7 +135,7 @@ export class UpdatePolarClawAgentResponseBodyAgent extends $dara.Model {
135
135
  export class UpdatePolarClawAgentResponseBody extends $dara.Model {
136
136
  /**
137
137
  * @remarks
138
- * Updated Agent details
138
+ * The details of the updated agent.
139
139
  */
140
140
  agent?: UpdatePolarClawAgentResponseBodyAgent;
141
141
  /**
@@ -148,7 +148,7 @@ export class UpdatePolarClawAgentResponseBody extends $dara.Model {
148
148
  agentId?: string;
149
149
  /**
150
150
  * @remarks
151
- * Application ID
151
+ * The application ID.
152
152
  *
153
153
  * @example
154
154
  * pa-**************
@@ -156,7 +156,7 @@ export class UpdatePolarClawAgentResponseBody extends $dara.Model {
156
156
  applicationId?: string;
157
157
  /**
158
158
  * @remarks
159
- * Response status code
159
+ * The response status code.
160
160
  *
161
161
  * @example
162
162
  * 200
@@ -164,7 +164,7 @@ export class UpdatePolarClawAgentResponseBody extends $dara.Model {
164
164
  code?: number;
165
165
  /**
166
166
  * @remarks
167
- * Response message
167
+ * The response message.
168
168
  *
169
169
  * @example
170
170
  * successful
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdatePolarClawAgentShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Agent ID to update
8
+ * The ID of the agent to update.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class UpdatePolarClawAgentShrinkRequest extends $dara.Model {
15
15
  agentId?: string;
16
16
  /**
17
17
  * @remarks
18
- * Application ID
18
+ * The application ID.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -25,7 +25,7 @@ export class UpdatePolarClawAgentShrinkRequest extends $dara.Model {
25
25
  applicationId?: string;
26
26
  /**
27
27
  * @remarks
28
- * New avatar
28
+ * The new avatar.
29
29
  *
30
30
  * @example
31
31
  * test
@@ -33,25 +33,31 @@ export class UpdatePolarClawAgentShrinkRequest extends $dara.Model {
33
33
  avatar?: string;
34
34
  /**
35
35
  * @remarks
36
- * List of files 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."}]
40
40
  */
41
41
  filesShrink?: string;
42
42
  /**
43
+ * @remarks
44
+ * Specifies whether to set the agent as the default agent.
45
+ *
43
46
  * @example
44
47
  * true
45
48
  */
46
49
  isDefault?: boolean;
47
50
  /**
51
+ * @remarks
52
+ * Specifies whether to keep files when switching the workspace.
53
+ *
48
54
  * @example
49
55
  * false
50
56
  */
51
57
  keepWorkspaceFiles?: boolean;
52
58
  /**
53
59
  * @remarks
54
- * Model override
60
+ * The model override.
55
61
  *
56
62
  * @example
57
63
  * claude-sonnet-4-5
@@ -59,7 +65,7 @@ export class UpdatePolarClawAgentShrinkRequest extends $dara.Model {
59
65
  model?: string;
60
66
  /**
61
67
  * @remarks
62
- * New display name
68
+ * The new display name of the agent.
63
69
  *
64
70
  * @example
65
71
  * Work Bot
@@ -67,7 +73,7 @@ export class UpdatePolarClawAgentShrinkRequest extends $dara.Model {
67
73
  name?: string;
68
74
  /**
69
75
  * @remarks
70
- * Whether to restart the gateway after creation, default is true
76
+ * Specifies whether to restart the gateway after creation. Default value: true.
71
77
  *
72
78
  * @example
73
79
  * true
@@ -75,7 +81,7 @@ export class UpdatePolarClawAgentShrinkRequest extends $dara.Model {
75
81
  restart?: boolean;
76
82
  /**
77
83
  * @remarks
78
- * New workspace directory path
84
+ * The new working directory path.
79
85
  *
80
86
  * @example
81
87
  * /home/node/.openclaw/workspace-work-v2