@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
@@ -0,0 +1,48 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribePolarClawSkillDetailRequest 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 Skill identifier.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * alibacloud-rds-copilot
24
+ */
25
+ slug?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ applicationId: 'ApplicationId',
29
+ slug: 'Slug',
30
+ };
31
+ }
32
+
33
+ static types(): { [key: string]: any } {
34
+ return {
35
+ applicationId: 'string',
36
+ slug: 'string',
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ super.validate();
42
+ }
43
+
44
+ constructor(map?: { [key: string]: any }) {
45
+ super(map);
46
+ }
47
+ }
48
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribePolarClawSkillDetailResponseBody } from "./DescribePolarClawSkillDetailResponseBody";
4
+
5
+
6
+ export class DescribePolarClawSkillDetailResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribePolarClawSkillDetailResponseBody;
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: DescribePolarClawSkillDetailResponseBody,
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,379 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribePolarClawSkillDetailResponseBodyLatestVersion extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The version changelog.
9
+ *
10
+ * @example
11
+ * empty
12
+ */
13
+ changelog?: string;
14
+ /**
15
+ * @remarks
16
+ * The version publish timestamp in Unix milliseconds.
17
+ *
18
+ * @example
19
+ * 1767545394459
20
+ */
21
+ createdAt?: number;
22
+ /**
23
+ * @remarks
24
+ * The version number.
25
+ *
26
+ * @example
27
+ * 1.0.0
28
+ */
29
+ version?: string;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ changelog: 'Changelog',
33
+ createdAt: 'CreatedAt',
34
+ version: 'Version',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ changelog: 'string',
41
+ createdAt: 'number',
42
+ version: 'string',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
55
+ export class DescribePolarClawSkillDetailResponseBodyOwner extends $dara.Model {
56
+ /**
57
+ * @remarks
58
+ * The display name of the author.
59
+ *
60
+ * @example
61
+ * Peter Steinberger
62
+ */
63
+ displayName?: string;
64
+ /**
65
+ * @remarks
66
+ * The account identifier of the author.
67
+ *
68
+ * @example
69
+ * steipete
70
+ */
71
+ handle?: string;
72
+ /**
73
+ * @remarks
74
+ * The profile picture URL.
75
+ *
76
+ * @example
77
+ * https://avatars.githubusercontent.com/u/58493?v=4
78
+ */
79
+ image?: string;
80
+ /**
81
+ * @remarks
82
+ * The user ID of the author.
83
+ *
84
+ * @example
85
+ * s179zksw999xz8ms4cy7pb2fr183m5jq
86
+ */
87
+ userId?: string;
88
+ static names(): { [key: string]: string } {
89
+ return {
90
+ displayName: 'DisplayName',
91
+ handle: 'Handle',
92
+ image: 'Image',
93
+ userId: 'UserId',
94
+ };
95
+ }
96
+
97
+ static types(): { [key: string]: any } {
98
+ return {
99
+ displayName: 'string',
100
+ handle: 'string',
101
+ image: 'string',
102
+ userId: 'string',
103
+ };
104
+ }
105
+
106
+ validate() {
107
+ super.validate();
108
+ }
109
+
110
+ constructor(map?: { [key: string]: any }) {
111
+ super(map);
112
+ }
113
+ }
114
+
115
+ export class DescribePolarClawSkillDetailResponseBodySkillStats extends $dara.Model {
116
+ /**
117
+ * @remarks
118
+ * The number of comments.
119
+ *
120
+ * @example
121
+ * 6
122
+ */
123
+ comments?: number;
124
+ /**
125
+ * @remarks
126
+ * The number of downloads.
127
+ *
128
+ * @example
129
+ * 155765
130
+ */
131
+ downloads?: number;
132
+ /**
133
+ * @remarks
134
+ * The total number of installations of all time.
135
+ *
136
+ * @example
137
+ * 3787
138
+ */
139
+ installsAllTime?: number;
140
+ /**
141
+ * @remarks
142
+ * The current number of installations.
143
+ *
144
+ * @example
145
+ * 3664
146
+ */
147
+ installsCurrent?: number;
148
+ /**
149
+ * @remarks
150
+ * The number of stars.
151
+ *
152
+ * @example
153
+ * 404
154
+ */
155
+ stars?: number;
156
+ /**
157
+ * @remarks
158
+ * The number of versions.
159
+ *
160
+ * @example
161
+ * 1
162
+ */
163
+ versions?: number;
164
+ static names(): { [key: string]: string } {
165
+ return {
166
+ comments: 'Comments',
167
+ downloads: 'Downloads',
168
+ installsAllTime: 'InstallsAllTime',
169
+ installsCurrent: 'InstallsCurrent',
170
+ stars: 'Stars',
171
+ versions: 'Versions',
172
+ };
173
+ }
174
+
175
+ static types(): { [key: string]: any } {
176
+ return {
177
+ comments: 'number',
178
+ downloads: 'number',
179
+ installsAllTime: 'number',
180
+ installsCurrent: 'number',
181
+ stars: 'number',
182
+ versions: 'number',
183
+ };
184
+ }
185
+
186
+ validate() {
187
+ super.validate();
188
+ }
189
+
190
+ constructor(map?: { [key: string]: any }) {
191
+ super(map);
192
+ }
193
+ }
194
+
195
+ export class DescribePolarClawSkillDetailResponseBodySkill extends $dara.Model {
196
+ /**
197
+ * @remarks
198
+ * The first publish timestamp in Unix milliseconds.
199
+ *
200
+ * @example
201
+ * 1767545394459
202
+ */
203
+ createdAt?: number;
204
+ /**
205
+ * @remarks
206
+ * The display name.
207
+ *
208
+ * @example
209
+ * Weather
210
+ */
211
+ displayName?: string;
212
+ /**
213
+ * @remarks
214
+ * The Skill identifier.
215
+ *
216
+ * @example
217
+ * weather
218
+ */
219
+ slug?: string;
220
+ /**
221
+ * @remarks
222
+ * The statistics information.
223
+ */
224
+ stats?: DescribePolarClawSkillDetailResponseBodySkillStats;
225
+ /**
226
+ * @remarks
227
+ * The brief description.
228
+ *
229
+ * @example
230
+ * Get current weather and forecasts (no API key required).
231
+ */
232
+ summary?: string;
233
+ /**
234
+ * @remarks
235
+ * The tag key-value pairs.
236
+ *
237
+ * @example
238
+ * {
239
+ * "latest": "1.0.0"
240
+ * }
241
+ */
242
+ tags?: { [key: string]: any };
243
+ /**
244
+ * @remarks
245
+ * The last update timestamp in Unix milliseconds.
246
+ *
247
+ * @example
248
+ * 1778485729679
249
+ */
250
+ updatedAt?: number;
251
+ static names(): { [key: string]: string } {
252
+ return {
253
+ createdAt: 'CreatedAt',
254
+ displayName: 'DisplayName',
255
+ slug: 'Slug',
256
+ stats: 'Stats',
257
+ summary: 'Summary',
258
+ tags: 'Tags',
259
+ updatedAt: 'UpdatedAt',
260
+ };
261
+ }
262
+
263
+ static types(): { [key: string]: any } {
264
+ return {
265
+ createdAt: 'number',
266
+ displayName: 'string',
267
+ slug: 'string',
268
+ stats: DescribePolarClawSkillDetailResponseBodySkillStats,
269
+ summary: 'string',
270
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
271
+ updatedAt: 'number',
272
+ };
273
+ }
274
+
275
+ validate() {
276
+ if(this.stats && typeof (this.stats as any).validate === 'function') {
277
+ (this.stats as any).validate();
278
+ }
279
+ if(this.tags) {
280
+ $dara.Model.validateMap(this.tags);
281
+ }
282
+ super.validate();
283
+ }
284
+
285
+ constructor(map?: { [key: string]: any }) {
286
+ super(map);
287
+ }
288
+ }
289
+
290
+ export class DescribePolarClawSkillDetailResponseBody extends $dara.Model {
291
+ /**
292
+ * @remarks
293
+ * The application ID.
294
+ *
295
+ * @example
296
+ * pa-xxx
297
+ */
298
+ applicationId?: string;
299
+ /**
300
+ * @remarks
301
+ * The response status code.
302
+ *
303
+ * @example
304
+ * 200
305
+ */
306
+ code?: number;
307
+ /**
308
+ * @remarks
309
+ * The latest version information.
310
+ */
311
+ latestVersion?: DescribePolarClawSkillDetailResponseBodyLatestVersion;
312
+ /**
313
+ * @remarks
314
+ * The response message.
315
+ *
316
+ * @example
317
+ * success
318
+ */
319
+ message?: string;
320
+ /**
321
+ * @remarks
322
+ * The Skill author information.
323
+ */
324
+ owner?: DescribePolarClawSkillDetailResponseBodyOwner;
325
+ /**
326
+ * @remarks
327
+ * Id of the request
328
+ *
329
+ * @example
330
+ * F45FFACC-xxx
331
+ */
332
+ requestId?: string;
333
+ /**
334
+ * @remarks
335
+ * The core information of the Skill.
336
+ */
337
+ skill?: DescribePolarClawSkillDetailResponseBodySkill;
338
+ static names(): { [key: string]: string } {
339
+ return {
340
+ applicationId: 'ApplicationId',
341
+ code: 'Code',
342
+ latestVersion: 'LatestVersion',
343
+ message: 'Message',
344
+ owner: 'Owner',
345
+ requestId: 'RequestId',
346
+ skill: 'Skill',
347
+ };
348
+ }
349
+
350
+ static types(): { [key: string]: any } {
351
+ return {
352
+ applicationId: 'string',
353
+ code: 'number',
354
+ latestVersion: DescribePolarClawSkillDetailResponseBodyLatestVersion,
355
+ message: 'string',
356
+ owner: DescribePolarClawSkillDetailResponseBodyOwner,
357
+ requestId: 'string',
358
+ skill: DescribePolarClawSkillDetailResponseBodySkill,
359
+ };
360
+ }
361
+
362
+ validate() {
363
+ if(this.latestVersion && typeof (this.latestVersion as any).validate === 'function') {
364
+ (this.latestVersion as any).validate();
365
+ }
366
+ if(this.owner && typeof (this.owner as any).validate === 'function') {
367
+ (this.owner as any).validate();
368
+ }
369
+ if(this.skill && typeof (this.skill as any).validate === 'function') {
370
+ (this.skill as any).validate();
371
+ }
372
+ super.validate();
373
+ }
374
+
375
+ constructor(map?: { [key: string]: any }) {
376
+ super(map);
377
+ }
378
+ }
379
+
@@ -0,0 +1,86 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class InstallPolarClawSkillRequest 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
+ * Specifies whether to force a reinstallation.
19
+ *
20
+ * @example
21
+ * true
22
+ */
23
+ force?: boolean;
24
+ /**
25
+ * @remarks
26
+ * The version number.
27
+ *
28
+ * @example
29
+ * 1.2.0
30
+ */
31
+ skillVersion?: string;
32
+ /**
33
+ * @remarks
34
+ * The Skill identifier.
35
+ *
36
+ * @example
37
+ * alibacloud-rds-copilot
38
+ */
39
+ slug?: string;
40
+ /**
41
+ * @remarks
42
+ * The source.
43
+ *
44
+ * @example
45
+ * clawhub
46
+ */
47
+ source?: string;
48
+ /**
49
+ * @remarks
50
+ * URL
51
+ *
52
+ * @example
53
+ * https://example.com/skill.tar.gz
54
+ */
55
+ url?: string;
56
+ static names(): { [key: string]: string } {
57
+ return {
58
+ applicationId: 'ApplicationId',
59
+ force: 'Force',
60
+ skillVersion: 'SkillVersion',
61
+ slug: 'Slug',
62
+ source: 'Source',
63
+ url: 'Url',
64
+ };
65
+ }
66
+
67
+ static types(): { [key: string]: any } {
68
+ return {
69
+ applicationId: 'string',
70
+ force: 'boolean',
71
+ skillVersion: 'string',
72
+ slug: 'string',
73
+ source: 'string',
74
+ url: 'string',
75
+ };
76
+ }
77
+
78
+ validate() {
79
+ super.validate();
80
+ }
81
+
82
+ constructor(map?: { [key: string]: any }) {
83
+ super(map);
84
+ }
85
+ }
86
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { InstallPolarClawSkillResponseBody } from "./InstallPolarClawSkillResponseBody";
4
+
5
+
6
+ export class InstallPolarClawSkillResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: InstallPolarClawSkillResponseBody;
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: InstallPolarClawSkillResponseBody,
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,104 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class InstallPolarClawSkillResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The application ID.
9
+ *
10
+ * @example
11
+ * pa-xxx
12
+ */
13
+ applicationId?: string;
14
+ /**
15
+ * @remarks
16
+ * The response status code.
17
+ *
18
+ * @example
19
+ * 200
20
+ */
21
+ code?: number;
22
+ /**
23
+ * @remarks
24
+ * The response message.
25
+ *
26
+ * @example
27
+ * success
28
+ */
29
+ message?: string;
30
+ /**
31
+ * @remarks
32
+ * Indicates whether the operation was successful.
33
+ *
34
+ * @example
35
+ * true
36
+ */
37
+ ok?: boolean;
38
+ /**
39
+ * @remarks
40
+ * Id of the request
41
+ *
42
+ * @example
43
+ * F45FFACC-xxx
44
+ */
45
+ requestId?: string;
46
+ /**
47
+ * @remarks
48
+ * The identifier of the installed Skill.
49
+ *
50
+ * @example
51
+ * alibacloud-rds-copilot
52
+ */
53
+ slug?: string;
54
+ /**
55
+ * @remarks
56
+ * The installation directory.
57
+ *
58
+ * @example
59
+ * /home/node/.openclaw/skills/alibacloud-rds-copilot
60
+ */
61
+ targetDir?: string;
62
+ /**
63
+ * @remarks
64
+ * The version number of the installed Skill.
65
+ *
66
+ * @example
67
+ * 1.2.0
68
+ */
69
+ version?: string;
70
+ static names(): { [key: string]: string } {
71
+ return {
72
+ applicationId: 'ApplicationId',
73
+ code: 'Code',
74
+ message: 'Message',
75
+ ok: 'Ok',
76
+ requestId: 'RequestId',
77
+ slug: 'Slug',
78
+ targetDir: 'TargetDir',
79
+ version: 'Version',
80
+ };
81
+ }
82
+
83
+ static types(): { [key: string]: any } {
84
+ return {
85
+ applicationId: 'string',
86
+ code: 'number',
87
+ message: 'string',
88
+ ok: 'boolean',
89
+ requestId: 'string',
90
+ slug: 'string',
91
+ targetDir: 'string',
92
+ version: 'string',
93
+ };
94
+ }
95
+
96
+ validate() {
97
+ super.validate();
98
+ }
99
+
100
+ constructor(map?: { [key: string]: any }) {
101
+ super(map);
102
+ }
103
+ }
104
+