@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
package/dist/client.js CHANGED
@@ -3617,7 +3617,7 @@ class Client extends openapi_core_1.default {
3617
3617
  return await this.createDBLinkWithOptions(request, runtime);
3618
3618
  }
3619
3619
  /**
3620
- * Add read-only nodes to a PolarDB cluster.
3620
+ * Adds read-only nodes to a PolarDB cluster.
3621
3621
  *
3622
3622
  * @param request - CreateDBNodesRequest
3623
3623
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3691,7 +3691,7 @@ class Client extends openapi_core_1.default {
3691
3691
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDBNodesResponse({}));
3692
3692
  }
3693
3693
  /**
3694
- * Add read-only nodes to a PolarDB cluster.
3694
+ * Adds read-only nodes to a PolarDB cluster.
3695
3695
  *
3696
3696
  * @param request - CreateDBNodesRequest
3697
3697
  * @returns CreateDBNodesResponse
@@ -8185,7 +8185,7 @@ class Client extends openapi_core_1.default {
8185
8185
  return await this.describeActiveOperationTasksWithOptions(request, runtime);
8186
8186
  }
8187
8187
  /**
8188
- * 查询该apikey的详细信息
8188
+ * Queries the details of a specified API key.
8189
8189
  *
8190
8190
  * @param request - DescribeApikeyAttributeRequest
8191
8191
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8223,7 +8223,7 @@ class Client extends openapi_core_1.default {
8223
8223
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApikeyAttributeResponse({}));
8224
8224
  }
8225
8225
  /**
8226
- * 查询该apikey的详细信息
8226
+ * Queries the details of a specified API key.
8227
8227
  *
8228
8228
  * @param request - DescribeApikeyAttributeRequest
8229
8229
  * @returns DescribeApikeyAttributeResponse
@@ -13949,6 +13949,96 @@ class Client extends openapi_core_1.default {
13949
13949
  let runtime = new $dara.RuntimeOptions({});
13950
13950
  return await this.describePolarAgentUserSessionsWithOptions(request, runtime);
13951
13951
  }
13952
+ /**
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
+ }
13952
14042
  /**
13953
14043
  * Queries all installed plug-ins and their status information under a specified application.
13954
14044
  *
@@ -14203,6 +14293,48 @@ class Client extends openapi_core_1.default {
14203
14293
  let runtime = new $dara.RuntimeOptions({});
14204
14294
  return await this.describePolarClawPluginsWithOptions(request, runtime);
14205
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
+ }
14206
14338
  /**
14207
14339
  * Queries the status of a PolarClaw asynchronous task.
14208
14340
  *
@@ -17006,6 +17138,60 @@ class Client extends openapi_core_1.default {
17006
17138
  let runtime = new $dara.RuntimeOptions({});
17007
17139
  return await this.installPolarClawPluginWithOptions(request, runtime);
17008
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
+ }
17009
17195
  /**
17010
17196
  * Queries a list of orders.
17011
17197
  *
@@ -20372,7 +20558,7 @@ class Client extends openapi_core_1.default {
20372
20558
  return await this.modifyDBEndpointAddressWithOptions(request, runtime);
20373
20559
  }
20374
20560
  /**
20375
- * Modifies the node specifications of a PolarDB cluster.
20561
+ * Changes the node specifications of a PolarDB cluster.
20376
20562
  *
20377
20563
  * @param request - ModifyDBNodeClassRequest
20378
20564
  * @param runtime - runtime options for this request RuntimeOptions
@@ -20446,7 +20632,7 @@ class Client extends openapi_core_1.default {
20446
20632
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBNodeClassResponse({}));
20447
20633
  }
20448
20634
  /**
20449
- * Modifies the node specifications of a PolarDB cluster.
20635
+ * Changes the node specifications of a PolarDB cluster.
20450
20636
  *
20451
20637
  * @param request - ModifyDBNodeClassRequest
20452
20638
  * @returns ModifyDBNodeClassResponse
@@ -23090,6 +23276,51 @@ class Client extends openapi_core_1.default {
23090
23276
  let runtime = new $dara.RuntimeOptions({});
23091
23277
  return await this.searchMemoriesWithOptions(request, runtime);
23092
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
+ }
23093
23324
  /**
23094
23325
  * Sets file quota rules for specific directories in a PolarFS instance.
23095
23326
  *
@@ -23715,7 +23946,7 @@ class Client extends openapi_core_1.default {
23715
23946
  return await this.updateExtensionsWithOptions(request, runtime);
23716
23947
  }
23717
23948
  /**
23718
- * Update PolarClaw Agent
23949
+ * Updates a PolarClaw agent.
23719
23950
  *
23720
23951
  * @param tmpReq - UpdatePolarClawAgentRequest
23721
23952
  * @param runtime - runtime options for this request RuntimeOptions
@@ -23776,7 +24007,7 @@ class Client extends openapi_core_1.default {
23776
24007
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePolarClawAgentResponse({}));
23777
24008
  }
23778
24009
  /**
23779
- * Update PolarClaw Agent
24010
+ * Updates a PolarClaw agent.
23780
24011
  *
23781
24012
  * @param request - UpdatePolarClawAgentRequest
23782
24013
  * @returns UpdatePolarClawAgentResponse
@@ -23785,6 +24016,121 @@ class Client extends openapi_core_1.default {
23785
24016
  let runtime = new $dara.RuntimeOptions({});
23786
24017
  return await this.updatePolarClawAgentWithOptions(request, runtime);
23787
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
+ }
23788
24134
  /**
23789
24135
  * Updates the configuration of a PolarClaw scheduled task, allowing for partial field updates.
23790
24136
  *
@@ -23880,6 +24226,62 @@ class Client extends openapi_core_1.default {
23880
24226
  let runtime = new $dara.RuntimeOptions({});
23881
24227
  return await this.updatePolarClawCronJobWithOptions(request, runtime);
23882
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
+ }
23883
24285
  /**
23884
24286
  * Upgrades the kernel version of a PolarDB for MySQL cluster.
23885
24287
  *