@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
package/dist/client.js CHANGED
@@ -2557,6 +2557,57 @@ class Client extends openapi_core_1.default {
2557
2557
  let runtime = new $dara.RuntimeOptions({});
2558
2558
  return await this.createBackupWithOptions(request, runtime);
2559
2559
  }
2560
+ /**
2561
+ * Creates API keys in batches.
2562
+ *
2563
+ * @param request - CreateBatchConsumerRequest
2564
+ * @param runtime - runtime options for this request RuntimeOptions
2565
+ * @returns CreateBatchConsumerResponse
2566
+ */
2567
+ async createBatchConsumerWithOptions(request, runtime) {
2568
+ request.validate();
2569
+ let query = {};
2570
+ if (!$dara.isNull(request.clientToken)) {
2571
+ query["ClientToken"] = request.clientToken;
2572
+ }
2573
+ if (!$dara.isNull(request.consumerGroupId)) {
2574
+ query["ConsumerGroupId"] = request.consumerGroupId;
2575
+ }
2576
+ if (!$dara.isNull(request.count)) {
2577
+ query["Count"] = request.count;
2578
+ }
2579
+ if (!$dara.isNull(request.gwClusterId)) {
2580
+ query["GwClusterId"] = request.gwClusterId;
2581
+ }
2582
+ if (!$dara.isNull(request.regionId)) {
2583
+ query["RegionId"] = request.regionId;
2584
+ }
2585
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2586
+ query: openapi_core_2.OpenApiUtil.query(query),
2587
+ });
2588
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2589
+ action: "CreateBatchConsumer",
2590
+ version: "2017-08-01",
2591
+ protocol: "HTTPS",
2592
+ pathname: "/",
2593
+ method: "POST",
2594
+ authType: "AK",
2595
+ style: "RPC",
2596
+ reqBodyType: "formData",
2597
+ bodyType: "json",
2598
+ });
2599
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateBatchConsumerResponse({}));
2600
+ }
2601
+ /**
2602
+ * Creates API keys in batches.
2603
+ *
2604
+ * @param request - CreateBatchConsumerRequest
2605
+ * @returns CreateBatchConsumerResponse
2606
+ */
2607
+ async createBatchConsumer(request) {
2608
+ let runtime = new $dara.RuntimeOptions({});
2609
+ return await this.createBatchConsumerWithOptions(request, runtime);
2610
+ }
2560
2611
  /**
2561
2612
  * Creates a batch task.
2562
2613
  *
@@ -3566,7 +3617,7 @@ class Client extends openapi_core_1.default {
3566
3617
  return await this.createDBLinkWithOptions(request, runtime);
3567
3618
  }
3568
3619
  /**
3569
- * Add read-only nodes to a PolarDB cluster.
3620
+ * Adds read-only nodes to a PolarDB cluster.
3570
3621
  *
3571
3622
  * @param request - CreateDBNodesRequest
3572
3623
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3640,7 +3691,7 @@ class Client extends openapi_core_1.default {
3640
3691
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDBNodesResponse({}));
3641
3692
  }
3642
3693
  /**
3643
- * Add read-only nodes to a PolarDB cluster.
3694
+ * Adds read-only nodes to a PolarDB cluster.
3644
3695
  *
3645
3696
  * @param request - CreateDBNodesRequest
3646
3697
  * @returns CreateDBNodesResponse
@@ -7212,7 +7263,7 @@ class Client extends openapi_core_1.default {
7212
7263
  return await this.deleteSQLRateLimitingRulesWithOptions(request, runtime);
7213
7264
  }
7214
7265
  /**
7215
- * Gets the details of a custom instance.
7266
+ * Queries the details of a custom instance.
7216
7267
  *
7217
7268
  * @param request - DescribeAIDBClusterAttributeRequest
7218
7269
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7253,7 +7304,7 @@ class Client extends openapi_core_1.default {
7253
7304
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAIDBClusterAttributeResponse({}));
7254
7305
  }
7255
7306
  /**
7256
- * Gets the details of a custom instance.
7307
+ * Queries the details of a custom instance.
7257
7308
  *
7258
7309
  * @param request - DescribeAIDBClusterAttributeRequest
7259
7310
  * @returns DescribeAIDBClusterAttributeResponse
@@ -8133,6 +8184,54 @@ class Client extends openapi_core_1.default {
8133
8184
  let runtime = new $dara.RuntimeOptions({});
8134
8185
  return await this.describeActiveOperationTasksWithOptions(request, runtime);
8135
8186
  }
8187
+ /**
8188
+ * Queries the details of a specified API key.
8189
+ *
8190
+ * @param request - DescribeApikeyAttributeRequest
8191
+ * @param runtime - runtime options for this request RuntimeOptions
8192
+ * @returns DescribeApikeyAttributeResponse
8193
+ */
8194
+ async describeApikeyAttributeWithOptions(request, runtime) {
8195
+ request.validate();
8196
+ let query = {};
8197
+ if (!$dara.isNull(request.apiKey)) {
8198
+ query["ApiKey"] = request.apiKey;
8199
+ }
8200
+ if (!$dara.isNull(request.pageNumber)) {
8201
+ query["PageNumber"] = request.pageNumber;
8202
+ }
8203
+ if (!$dara.isNull(request.pageSize)) {
8204
+ query["PageSize"] = request.pageSize;
8205
+ }
8206
+ if (!$dara.isNull(request.regionId)) {
8207
+ query["RegionId"] = request.regionId;
8208
+ }
8209
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8210
+ query: openapi_core_2.OpenApiUtil.query(query),
8211
+ });
8212
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8213
+ action: "DescribeApikeyAttribute",
8214
+ version: "2017-08-01",
8215
+ protocol: "HTTPS",
8216
+ pathname: "/",
8217
+ method: "POST",
8218
+ authType: "AK",
8219
+ style: "RPC",
8220
+ reqBodyType: "formData",
8221
+ bodyType: "json",
8222
+ });
8223
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApikeyAttributeResponse({}));
8224
+ }
8225
+ /**
8226
+ * Queries the details of a specified API key.
8227
+ *
8228
+ * @param request - DescribeApikeyAttributeRequest
8229
+ * @returns DescribeApikeyAttributeResponse
8230
+ */
8231
+ async describeApikeyAttribute(request) {
8232
+ let runtime = new $dara.RuntimeOptions({});
8233
+ return await this.describeApikeyAttributeWithOptions(request, runtime);
8234
+ }
8136
8235
  /**
8137
8236
  * Retrieves the details of a specific application in a PolarDB instance.
8138
8237
  *
@@ -12073,6 +12172,51 @@ class Client extends openapi_core_1.default {
12073
12172
  let runtime = new $dara.RuntimeOptions({});
12074
12173
  return await this.describeFirewallRulesWithOptions(request, runtime);
12075
12174
  }
12175
+ /**
12176
+ * Queries all API keys under the current UID.
12177
+ *
12178
+ * @param request - DescribeGatewayApikeyListRequest
12179
+ * @param runtime - runtime options for this request RuntimeOptions
12180
+ * @returns DescribeGatewayApikeyListResponse
12181
+ */
12182
+ async describeGatewayApikeyListWithOptions(request, runtime) {
12183
+ request.validate();
12184
+ let query = {};
12185
+ if (!$dara.isNull(request.pageNumber)) {
12186
+ query["PageNumber"] = request.pageNumber;
12187
+ }
12188
+ if (!$dara.isNull(request.pageSize)) {
12189
+ query["PageSize"] = request.pageSize;
12190
+ }
12191
+ if (!$dara.isNull(request.regionId)) {
12192
+ query["RegionId"] = request.regionId;
12193
+ }
12194
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
12195
+ query: openapi_core_2.OpenApiUtil.query(query),
12196
+ });
12197
+ let params = new openapi_core_2.$OpenApiUtil.Params({
12198
+ action: "DescribeGatewayApikeyList",
12199
+ version: "2017-08-01",
12200
+ protocol: "HTTPS",
12201
+ pathname: "/",
12202
+ method: "POST",
12203
+ authType: "AK",
12204
+ style: "RPC",
12205
+ reqBodyType: "formData",
12206
+ bodyType: "json",
12207
+ });
12208
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeGatewayApikeyListResponse({}));
12209
+ }
12210
+ /**
12211
+ * Queries all API keys under the current UID.
12212
+ *
12213
+ * @param request - DescribeGatewayApikeyListRequest
12214
+ * @returns DescribeGatewayApikeyListResponse
12215
+ */
12216
+ async describeGatewayApikeyList(request) {
12217
+ let runtime = new $dara.RuntimeOptions({});
12218
+ return await this.describeGatewayApikeyListWithOptions(request, runtime);
12219
+ }
12076
12220
  /**
12077
12221
  * Viewing gateway instance details
12078
12222
  *
@@ -13806,7 +13950,97 @@ class Client extends openapi_core_1.default {
13806
13950
  return await this.describePolarAgentUserSessionsWithOptions(request, runtime);
13807
13951
  }
13808
13952
  /**
13809
- * Queries the details of agents installed in a specified application.
13953
+ * Queries a PolarClaw Agent file.
13954
+ *
13955
+ * @param request - DescribePolarClawAgentFileRequest
13956
+ * @param runtime - runtime options for this request RuntimeOptions
13957
+ * @returns DescribePolarClawAgentFileResponse
13958
+ */
13959
+ async describePolarClawAgentFileWithOptions(request, runtime) {
13960
+ request.validate();
13961
+ let query = {};
13962
+ if (!$dara.isNull(request.agentId)) {
13963
+ query["AgentId"] = request.agentId;
13964
+ }
13965
+ if (!$dara.isNull(request.applicationId)) {
13966
+ query["ApplicationId"] = request.applicationId;
13967
+ }
13968
+ if (!$dara.isNull(request.fileName)) {
13969
+ query["FileName"] = request.fileName;
13970
+ }
13971
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
13972
+ query: openapi_core_2.OpenApiUtil.query(query),
13973
+ });
13974
+ let params = new openapi_core_2.$OpenApiUtil.Params({
13975
+ action: "DescribePolarClawAgentFile",
13976
+ version: "2017-08-01",
13977
+ protocol: "HTTPS",
13978
+ pathname: "/",
13979
+ method: "POST",
13980
+ authType: "AK",
13981
+ style: "RPC",
13982
+ reqBodyType: "formData",
13983
+ bodyType: "json",
13984
+ });
13985
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolarClawAgentFileResponse({}));
13986
+ }
13987
+ /**
13988
+ * Queries a PolarClaw Agent file.
13989
+ *
13990
+ * @param request - DescribePolarClawAgentFileRequest
13991
+ * @returns DescribePolarClawAgentFileResponse
13992
+ */
13993
+ async describePolarClawAgentFile(request) {
13994
+ let runtime = new $dara.RuntimeOptions({});
13995
+ return await this.describePolarClawAgentFileWithOptions(request, runtime);
13996
+ }
13997
+ /**
13998
+ * Queries the PolarClaw Agent tool catalog.
13999
+ *
14000
+ * @param request - DescribePolarClawAgentToolsRequest
14001
+ * @param runtime - runtime options for this request RuntimeOptions
14002
+ * @returns DescribePolarClawAgentToolsResponse
14003
+ */
14004
+ async describePolarClawAgentToolsWithOptions(request, runtime) {
14005
+ request.validate();
14006
+ let query = {};
14007
+ if (!$dara.isNull(request.agentId)) {
14008
+ query["AgentId"] = request.agentId;
14009
+ }
14010
+ if (!$dara.isNull(request.applicationId)) {
14011
+ query["ApplicationId"] = request.applicationId;
14012
+ }
14013
+ if (!$dara.isNull(request.includePlugins)) {
14014
+ query["IncludePlugins"] = request.includePlugins;
14015
+ }
14016
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
14017
+ query: openapi_core_2.OpenApiUtil.query(query),
14018
+ });
14019
+ let params = new openapi_core_2.$OpenApiUtil.Params({
14020
+ action: "DescribePolarClawAgentTools",
14021
+ version: "2017-08-01",
14022
+ protocol: "HTTPS",
14023
+ pathname: "/",
14024
+ method: "POST",
14025
+ authType: "AK",
14026
+ style: "RPC",
14027
+ reqBodyType: "formData",
14028
+ bodyType: "json",
14029
+ });
14030
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolarClawAgentToolsResponse({}));
14031
+ }
14032
+ /**
14033
+ * Queries the PolarClaw Agent tool catalog.
14034
+ *
14035
+ * @param request - DescribePolarClawAgentToolsRequest
14036
+ * @returns DescribePolarClawAgentToolsResponse
14037
+ */
14038
+ async describePolarClawAgentTools(request) {
14039
+ let runtime = new $dara.RuntimeOptions({});
14040
+ return await this.describePolarClawAgentToolsWithOptions(request, runtime);
14041
+ }
14042
+ /**
14043
+ * Queries all installed plug-ins and their status information under a specified application.
13810
14044
  *
13811
14045
  * @param tmpReq - DescribePolarClawAgentsRequest
13812
14046
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13843,7 +14077,7 @@ class Client extends openapi_core_1.default {
13843
14077
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolarClawAgentsResponse({}));
13844
14078
  }
13845
14079
  /**
13846
- * Queries the details of agents installed in a specified application.
14080
+ * Queries all installed plug-ins and their status information under a specified application.
13847
14081
  *
13848
14082
  * @param request - DescribePolarClawAgentsRequest
13849
14083
  * @returns DescribePolarClawAgentsResponse
@@ -14059,6 +14293,48 @@ class Client extends openapi_core_1.default {
14059
14293
  let runtime = new $dara.RuntimeOptions({});
14060
14294
  return await this.describePolarClawPluginsWithOptions(request, runtime);
14061
14295
  }
14296
+ /**
14297
+ * Queries the details of a PolarClaw Skill.
14298
+ *
14299
+ * @param request - DescribePolarClawSkillDetailRequest
14300
+ * @param runtime - runtime options for this request RuntimeOptions
14301
+ * @returns DescribePolarClawSkillDetailResponse
14302
+ */
14303
+ async describePolarClawSkillDetailWithOptions(request, runtime) {
14304
+ request.validate();
14305
+ let query = {};
14306
+ if (!$dara.isNull(request.applicationId)) {
14307
+ query["ApplicationId"] = request.applicationId;
14308
+ }
14309
+ if (!$dara.isNull(request.slug)) {
14310
+ query["Slug"] = request.slug;
14311
+ }
14312
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
14313
+ query: openapi_core_2.OpenApiUtil.query(query),
14314
+ });
14315
+ let params = new openapi_core_2.$OpenApiUtil.Params({
14316
+ action: "DescribePolarClawSkillDetail",
14317
+ version: "2017-08-01",
14318
+ protocol: "HTTPS",
14319
+ pathname: "/",
14320
+ method: "POST",
14321
+ authType: "AK",
14322
+ style: "RPC",
14323
+ reqBodyType: "formData",
14324
+ bodyType: "json",
14325
+ });
14326
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolarClawSkillDetailResponse({}));
14327
+ }
14328
+ /**
14329
+ * Queries the details of a PolarClaw Skill.
14330
+ *
14331
+ * @param request - DescribePolarClawSkillDetailRequest
14332
+ * @returns DescribePolarClawSkillDetailResponse
14333
+ */
14334
+ async describePolarClawSkillDetail(request) {
14335
+ let runtime = new $dara.RuntimeOptions({});
14336
+ return await this.describePolarClawSkillDetailWithOptions(request, runtime);
14337
+ }
14062
14338
  /**
14063
14339
  * Queries the status of a PolarClaw asynchronous task.
14064
14340
  *
@@ -14102,7 +14378,7 @@ class Client extends openapi_core_1.default {
14102
14378
  return await this.describePolarClawTaskWithOptions(request, runtime);
14103
14379
  }
14104
14380
  /**
14105
- * Gets the details of a PolarFS instance.
14381
+ * Retrieves the details of a PolarLakebase instance.
14106
14382
  *
14107
14383
  * @param request - DescribePolarFsAttributeRequest
14108
14384
  * @param runtime - runtime options for this request RuntimeOptions
@@ -14137,7 +14413,7 @@ class Client extends openapi_core_1.default {
14137
14413
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolarFsAttributeResponse({}));
14138
14414
  }
14139
14415
  /**
14140
- * Gets the details of a PolarFS instance.
14416
+ * Retrieves the details of a PolarLakebase instance.
14141
14417
  *
14142
14418
  * @param request - DescribePolarFsAttributeRequest
14143
14419
  * @returns DescribePolarFsAttributeResponse
@@ -14147,14 +14423,14 @@ class Client extends openapi_core_1.default {
14147
14423
  return await this.describePolarFsAttributeWithOptions(request, runtime);
14148
14424
  }
14149
14425
  /**
14150
- * Lists the files and subdirectories at a specified path.
14426
+ * Lists the files and subdirectories under a specified path.
14151
14427
  *
14152
14428
  * @remarks
14153
- * ## Usage notes
14154
- * - The **Path** parameter must be an absolute path.
14155
- * - The **Recursive** parameter defaults to `false`. If set to `true`, the operation recursively lists the contents of all subdirectories.
14156
- * - The **Depth** parameter limits the recursive depth. The default value is `1`.
14157
- * - The **Filter** parameter supports filtering with wildcards or regular expressions.
14429
+ * ## 请求说明
14430
+ * - **Path** 参数必须提供一个绝对路径。
14431
+ * - **Recursive** 参数默认为 `false`,如果设置为 `true`,则会递归列出所有子目录的内容。
14432
+ * - **Depth** 参数用于限制递归深度,默认值为 `1`。
14433
+ * - **Filter** 参数支持通配符或正则表达式过滤结果。
14158
14434
  *
14159
14435
  * @param request - DescribePolarFsObjectsRequest
14160
14436
  * @param runtime - runtime options for this request RuntimeOptions
@@ -14186,14 +14462,14 @@ class Client extends openapi_core_1.default {
14186
14462
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolarFsObjectsResponse({}));
14187
14463
  }
14188
14464
  /**
14189
- * Lists the files and subdirectories at a specified path.
14465
+ * Lists the files and subdirectories under a specified path.
14190
14466
  *
14191
14467
  * @remarks
14192
- * ## Usage notes
14193
- * - The **Path** parameter must be an absolute path.
14194
- * - The **Recursive** parameter defaults to `false`. If set to `true`, the operation recursively lists the contents of all subdirectories.
14195
- * - The **Depth** parameter limits the recursive depth. The default value is `1`.
14196
- * - The **Filter** parameter supports filtering with wildcards or regular expressions.
14468
+ * ## 请求说明
14469
+ * - **Path** 参数必须提供一个绝对路径。
14470
+ * - **Recursive** 参数默认为 `false`,如果设置为 `true`,则会递归列出所有子目录的内容。
14471
+ * - **Depth** 参数用于限制递归深度,默认值为 `1`。
14472
+ * - **Filter** 参数支持通配符或正则表达式过滤结果。
14197
14473
  *
14198
14474
  * @param request - DescribePolarFsObjectsRequest
14199
14475
  * @returns DescribePolarFsObjectsResponse
@@ -16862,6 +17138,60 @@ class Client extends openapi_core_1.default {
16862
17138
  let runtime = new $dara.RuntimeOptions({});
16863
17139
  return await this.installPolarClawPluginWithOptions(request, runtime);
16864
17140
  }
17141
+ /**
17142
+ * Installs a PolarClaw Skill.
17143
+ *
17144
+ * @param request - InstallPolarClawSkillRequest
17145
+ * @param runtime - runtime options for this request RuntimeOptions
17146
+ * @returns InstallPolarClawSkillResponse
17147
+ */
17148
+ async installPolarClawSkillWithOptions(request, runtime) {
17149
+ request.validate();
17150
+ let query = {};
17151
+ if (!$dara.isNull(request.applicationId)) {
17152
+ query["ApplicationId"] = request.applicationId;
17153
+ }
17154
+ if (!$dara.isNull(request.force)) {
17155
+ query["Force"] = request.force;
17156
+ }
17157
+ if (!$dara.isNull(request.skillVersion)) {
17158
+ query["SkillVersion"] = request.skillVersion;
17159
+ }
17160
+ if (!$dara.isNull(request.slug)) {
17161
+ query["Slug"] = request.slug;
17162
+ }
17163
+ if (!$dara.isNull(request.source)) {
17164
+ query["Source"] = request.source;
17165
+ }
17166
+ if (!$dara.isNull(request.url)) {
17167
+ query["Url"] = request.url;
17168
+ }
17169
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
17170
+ query: openapi_core_2.OpenApiUtil.query(query),
17171
+ });
17172
+ let params = new openapi_core_2.$OpenApiUtil.Params({
17173
+ action: "InstallPolarClawSkill",
17174
+ version: "2017-08-01",
17175
+ protocol: "HTTPS",
17176
+ pathname: "/",
17177
+ method: "POST",
17178
+ authType: "AK",
17179
+ style: "RPC",
17180
+ reqBodyType: "formData",
17181
+ bodyType: "json",
17182
+ });
17183
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallPolarClawSkillResponse({}));
17184
+ }
17185
+ /**
17186
+ * Installs a PolarClaw Skill.
17187
+ *
17188
+ * @param request - InstallPolarClawSkillRequest
17189
+ * @returns InstallPolarClawSkillResponse
17190
+ */
17191
+ async installPolarClawSkill(request) {
17192
+ let runtime = new $dara.RuntimeOptions({});
17193
+ return await this.installPolarClawSkillWithOptions(request, runtime);
17194
+ }
16865
17195
  /**
16866
17196
  * Queries a list of orders.
16867
17197
  *
@@ -20228,7 +20558,7 @@ class Client extends openapi_core_1.default {
20228
20558
  return await this.modifyDBEndpointAddressWithOptions(request, runtime);
20229
20559
  }
20230
20560
  /**
20231
- * Modifies the node specifications of a PolarDB cluster.
20561
+ * Changes the node specifications of a PolarDB cluster.
20232
20562
  *
20233
20563
  * @param request - ModifyDBNodeClassRequest
20234
20564
  * @param runtime - runtime options for this request RuntimeOptions
@@ -20302,7 +20632,7 @@ class Client extends openapi_core_1.default {
20302
20632
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBNodeClassResponse({}));
20303
20633
  }
20304
20634
  /**
20305
- * Modifies the node specifications of a PolarDB cluster.
20635
+ * Changes the node specifications of a PolarDB cluster.
20306
20636
  *
20307
20637
  * @param request - ModifyDBNodeClassRequest
20308
20638
  * @returns ModifyDBNodeClassResponse
@@ -22946,6 +23276,51 @@ class Client extends openapi_core_1.default {
22946
23276
  let runtime = new $dara.RuntimeOptions({});
22947
23277
  return await this.searchMemoriesWithOptions(request, runtime);
22948
23278
  }
23279
+ /**
23280
+ * Searches for PolarClaw Skills.
23281
+ *
23282
+ * @param request - SearchPolarClawSkillsRequest
23283
+ * @param runtime - runtime options for this request RuntimeOptions
23284
+ * @returns SearchPolarClawSkillsResponse
23285
+ */
23286
+ async searchPolarClawSkillsWithOptions(request, runtime) {
23287
+ request.validate();
23288
+ let query = {};
23289
+ if (!$dara.isNull(request.applicationId)) {
23290
+ query["ApplicationId"] = request.applicationId;
23291
+ }
23292
+ if (!$dara.isNull(request.limit)) {
23293
+ query["Limit"] = request.limit;
23294
+ }
23295
+ if (!$dara.isNull(request.query)) {
23296
+ query["Query"] = request.query;
23297
+ }
23298
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
23299
+ query: openapi_core_2.OpenApiUtil.query(query),
23300
+ });
23301
+ let params = new openapi_core_2.$OpenApiUtil.Params({
23302
+ action: "SearchPolarClawSkills",
23303
+ version: "2017-08-01",
23304
+ protocol: "HTTPS",
23305
+ pathname: "/",
23306
+ method: "POST",
23307
+ authType: "AK",
23308
+ style: "RPC",
23309
+ reqBodyType: "formData",
23310
+ bodyType: "json",
23311
+ });
23312
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.SearchPolarClawSkillsResponse({}));
23313
+ }
23314
+ /**
23315
+ * Searches for PolarClaw Skills.
23316
+ *
23317
+ * @param request - SearchPolarClawSkillsRequest
23318
+ * @returns SearchPolarClawSkillsResponse
23319
+ */
23320
+ async searchPolarClawSkills(request) {
23321
+ let runtime = new $dara.RuntimeOptions({});
23322
+ return await this.searchPolarClawSkillsWithOptions(request, runtime);
23323
+ }
22949
23324
  /**
22950
23325
  * Sets file quota rules for specific directories in a PolarFS instance.
22951
23326
  *
@@ -23571,7 +23946,7 @@ class Client extends openapi_core_1.default {
23571
23946
  return await this.updateExtensionsWithOptions(request, runtime);
23572
23947
  }
23573
23948
  /**
23574
- * Update PolarClaw Agent
23949
+ * Updates a PolarClaw agent.
23575
23950
  *
23576
23951
  * @param tmpReq - UpdatePolarClawAgentRequest
23577
23952
  * @param runtime - runtime options for this request RuntimeOptions
@@ -23597,6 +23972,12 @@ class Client extends openapi_core_1.default {
23597
23972
  if (!$dara.isNull(request.filesShrink)) {
23598
23973
  query["Files"] = request.filesShrink;
23599
23974
  }
23975
+ if (!$dara.isNull(request.isDefault)) {
23976
+ query["IsDefault"] = request.isDefault;
23977
+ }
23978
+ if (!$dara.isNull(request.keepWorkspaceFiles)) {
23979
+ query["KeepWorkspaceFiles"] = request.keepWorkspaceFiles;
23980
+ }
23600
23981
  if (!$dara.isNull(request.model)) {
23601
23982
  query["Model"] = request.model;
23602
23983
  }
@@ -23626,7 +24007,7 @@ class Client extends openapi_core_1.default {
23626
24007
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePolarClawAgentResponse({}));
23627
24008
  }
23628
24009
  /**
23629
- * Update PolarClaw Agent
24010
+ * Updates a PolarClaw agent.
23630
24011
  *
23631
24012
  * @param request - UpdatePolarClawAgentRequest
23632
24013
  * @returns UpdatePolarClawAgentResponse
@@ -23635,6 +24016,121 @@ class Client extends openapi_core_1.default {
23635
24016
  let runtime = new $dara.RuntimeOptions({});
23636
24017
  return await this.updatePolarClawAgentWithOptions(request, runtime);
23637
24018
  }
24019
+ /**
24020
+ * Updates the skills of a PolarClaw Agent.
24021
+ *
24022
+ * @param tmpReq - UpdatePolarClawAgentSkillsRequest
24023
+ * @param runtime - runtime options for this request RuntimeOptions
24024
+ * @returns UpdatePolarClawAgentSkillsResponse
24025
+ */
24026
+ async updatePolarClawAgentSkillsWithOptions(tmpReq, runtime) {
24027
+ tmpReq.validate();
24028
+ let request = new $_model.UpdatePolarClawAgentSkillsShrinkRequest({});
24029
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
24030
+ if (!$dara.isNull(tmpReq.skills)) {
24031
+ request.skillsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.skills, "Skills", "json");
24032
+ }
24033
+ let query = {};
24034
+ if (!$dara.isNull(request.agentId)) {
24035
+ query["AgentId"] = request.agentId;
24036
+ }
24037
+ if (!$dara.isNull(request.applicationId)) {
24038
+ query["ApplicationId"] = request.applicationId;
24039
+ }
24040
+ if (!$dara.isNull(request.skillsShrink)) {
24041
+ query["Skills"] = request.skillsShrink;
24042
+ }
24043
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
24044
+ query: openapi_core_2.OpenApiUtil.query(query),
24045
+ });
24046
+ let params = new openapi_core_2.$OpenApiUtil.Params({
24047
+ action: "UpdatePolarClawAgentSkills",
24048
+ version: "2017-08-01",
24049
+ protocol: "HTTPS",
24050
+ pathname: "/",
24051
+ method: "POST",
24052
+ authType: "AK",
24053
+ style: "RPC",
24054
+ reqBodyType: "formData",
24055
+ bodyType: "json",
24056
+ });
24057
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePolarClawAgentSkillsResponse({}));
24058
+ }
24059
+ /**
24060
+ * Updates the skills of a PolarClaw Agent.
24061
+ *
24062
+ * @param request - UpdatePolarClawAgentSkillsRequest
24063
+ * @returns UpdatePolarClawAgentSkillsResponse
24064
+ */
24065
+ async updatePolarClawAgentSkills(request) {
24066
+ let runtime = new $dara.RuntimeOptions({});
24067
+ return await this.updatePolarClawAgentSkillsWithOptions(request, runtime);
24068
+ }
24069
+ /**
24070
+ * Updates the tool configuration of a PolarClaw Agent.
24071
+ *
24072
+ * @param tmpReq - UpdatePolarClawAgentToolsRequest
24073
+ * @param runtime - runtime options for this request RuntimeOptions
24074
+ * @returns UpdatePolarClawAgentToolsResponse
24075
+ */
24076
+ async updatePolarClawAgentToolsWithOptions(tmpReq, runtime) {
24077
+ tmpReq.validate();
24078
+ let request = new $_model.UpdatePolarClawAgentToolsShrinkRequest({});
24079
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
24080
+ if (!$dara.isNull(tmpReq.allow)) {
24081
+ request.allowShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.allow, "Allow", "json");
24082
+ }
24083
+ if (!$dara.isNull(tmpReq.alsoAllow)) {
24084
+ request.alsoAllowShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.alsoAllow, "AlsoAllow", "json");
24085
+ }
24086
+ if (!$dara.isNull(tmpReq.deny)) {
24087
+ request.denyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.deny, "Deny", "json");
24088
+ }
24089
+ let query = {};
24090
+ if (!$dara.isNull(request.agentId)) {
24091
+ query["AgentId"] = request.agentId;
24092
+ }
24093
+ if (!$dara.isNull(request.allowShrink)) {
24094
+ query["Allow"] = request.allowShrink;
24095
+ }
24096
+ if (!$dara.isNull(request.alsoAllowShrink)) {
24097
+ query["AlsoAllow"] = request.alsoAllowShrink;
24098
+ }
24099
+ if (!$dara.isNull(request.applicationId)) {
24100
+ query["ApplicationId"] = request.applicationId;
24101
+ }
24102
+ if (!$dara.isNull(request.denyShrink)) {
24103
+ query["Deny"] = request.denyShrink;
24104
+ }
24105
+ if (!$dara.isNull(request.profile)) {
24106
+ query["Profile"] = request.profile;
24107
+ }
24108
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
24109
+ query: openapi_core_2.OpenApiUtil.query(query),
24110
+ });
24111
+ let params = new openapi_core_2.$OpenApiUtil.Params({
24112
+ action: "UpdatePolarClawAgentTools",
24113
+ version: "2017-08-01",
24114
+ protocol: "HTTPS",
24115
+ pathname: "/",
24116
+ method: "POST",
24117
+ authType: "AK",
24118
+ style: "RPC",
24119
+ reqBodyType: "formData",
24120
+ bodyType: "json",
24121
+ });
24122
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePolarClawAgentToolsResponse({}));
24123
+ }
24124
+ /**
24125
+ * Updates the tool configuration of a PolarClaw Agent.
24126
+ *
24127
+ * @param request - UpdatePolarClawAgentToolsRequest
24128
+ * @returns UpdatePolarClawAgentToolsResponse
24129
+ */
24130
+ async updatePolarClawAgentTools(request) {
24131
+ let runtime = new $dara.RuntimeOptions({});
24132
+ return await this.updatePolarClawAgentToolsWithOptions(request, runtime);
24133
+ }
23638
24134
  /**
23639
24135
  * Updates the configuration of a PolarClaw scheduled task, allowing for partial field updates.
23640
24136
  *
@@ -23730,6 +24226,62 @@ class Client extends openapi_core_1.default {
23730
24226
  let runtime = new $dara.RuntimeOptions({});
23731
24227
  return await this.updatePolarClawCronJobWithOptions(request, runtime);
23732
24228
  }
24229
+ /**
24230
+ * Updates the PolarClaw Skill configuration.
24231
+ *
24232
+ * @param tmpReq - UpdatePolarClawSkillRequest
24233
+ * @param runtime - runtime options for this request RuntimeOptions
24234
+ * @returns UpdatePolarClawSkillResponse
24235
+ */
24236
+ async updatePolarClawSkillWithOptions(tmpReq, runtime) {
24237
+ tmpReq.validate();
24238
+ let request = new $_model.UpdatePolarClawSkillShrinkRequest({});
24239
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
24240
+ if (!$dara.isNull(tmpReq.env)) {
24241
+ request.envShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.env, "Env", "json");
24242
+ }
24243
+ let query = {};
24244
+ if (!$dara.isNull(request.apiKey)) {
24245
+ query["ApiKey"] = request.apiKey;
24246
+ }
24247
+ if (!$dara.isNull(request.applicationId)) {
24248
+ query["ApplicationId"] = request.applicationId;
24249
+ }
24250
+ if (!$dara.isNull(request.enabled)) {
24251
+ query["Enabled"] = request.enabled;
24252
+ }
24253
+ if (!$dara.isNull(request.envShrink)) {
24254
+ query["Env"] = request.envShrink;
24255
+ }
24256
+ if (!$dara.isNull(request.skillKey)) {
24257
+ query["SkillKey"] = request.skillKey;
24258
+ }
24259
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
24260
+ query: openapi_core_2.OpenApiUtil.query(query),
24261
+ });
24262
+ let params = new openapi_core_2.$OpenApiUtil.Params({
24263
+ action: "UpdatePolarClawSkill",
24264
+ version: "2017-08-01",
24265
+ protocol: "HTTPS",
24266
+ pathname: "/",
24267
+ method: "POST",
24268
+ authType: "AK",
24269
+ style: "RPC",
24270
+ reqBodyType: "formData",
24271
+ bodyType: "json",
24272
+ });
24273
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePolarClawSkillResponse({}));
24274
+ }
24275
+ /**
24276
+ * Updates the PolarClaw Skill configuration.
24277
+ *
24278
+ * @param request - UpdatePolarClawSkillRequest
24279
+ * @returns UpdatePolarClawSkillResponse
24280
+ */
24281
+ async updatePolarClawSkill(request) {
24282
+ let runtime = new $dara.RuntimeOptions({});
24283
+ return await this.updatePolarClawSkillWithOptions(request, runtime);
24284
+ }
23733
24285
  /**
23734
24286
  * Upgrades the kernel version of a PolarDB for MySQL cluster.
23735
24287
  *