@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.
- package/dist/client.d.ts +128 -8
- package/dist/client.js +410 -8
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDbnodesRequest.d.ts +34 -54
- package/dist/models/CreateDbnodesRequest.js.map +1 -1
- package/dist/models/CreateDbnodesResponseBody.d.ts +1 -1
- package/dist/models/DescribeApikeyAttributeRequest.d.ts +12 -0
- package/dist/models/DescribeApikeyAttributeRequest.js.map +1 -1
- package/dist/models/DescribeApikeyAttributeResponseBody.d.ts +81 -0
- package/dist/models/DescribeApikeyAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribePolarClawAgentFileRequest.d.ts +43 -0
- package/dist/models/DescribePolarClawAgentFileRequest.js +62 -0
- package/dist/models/DescribePolarClawAgentFileRequest.js.map +1 -0
- package/dist/models/DescribePolarClawAgentFileResponse.d.ts +19 -0
- package/dist/models/DescribePolarClawAgentFileResponse.js +69 -0
- package/dist/models/DescribePolarClawAgentFileResponse.js.map +1 -0
- package/dist/models/DescribePolarClawAgentFileResponseBody.d.ts +126 -0
- package/dist/models/DescribePolarClawAgentFileResponseBody.js +102 -0
- package/dist/models/DescribePolarClawAgentFileResponseBody.js.map +1 -0
- package/dist/models/DescribePolarClawAgentToolsRequest.d.ts +41 -0
- package/dist/models/DescribePolarClawAgentToolsRequest.js +62 -0
- package/dist/models/DescribePolarClawAgentToolsRequest.js.map +1 -0
- package/dist/models/DescribePolarClawAgentToolsResponse.d.ts +19 -0
- package/dist/models/DescribePolarClawAgentToolsResponse.js +69 -0
- package/dist/models/DescribePolarClawAgentToolsResponse.js.map +1 -0
- package/dist/models/DescribePolarClawAgentToolsResponseBody.d.ts +221 -0
- package/dist/models/DescribePolarClawAgentToolsResponseBody.js +194 -0
- package/dist/models/DescribePolarClawAgentToolsResponseBody.js.map +1 -0
- package/dist/models/DescribePolarClawAgentsResponseBody.d.ts +42 -2
- package/dist/models/DescribePolarClawAgentsResponseBody.js.map +1 -1
- package/dist/models/DescribePolarClawSkillDetailRequest.d.ts +33 -0
- package/dist/models/DescribePolarClawSkillDetailRequest.js +60 -0
- package/dist/models/DescribePolarClawSkillDetailRequest.js.map +1 -0
- package/dist/models/DescribePolarClawSkillDetailResponse.d.ts +19 -0
- package/dist/models/DescribePolarClawSkillDetailResponse.js +69 -0
- package/dist/models/DescribePolarClawSkillDetailResponse.js.map +1 -0
- package/dist/models/DescribePolarClawSkillDetailResponseBody.d.ts +269 -0
- package/dist/models/DescribePolarClawSkillDetailResponseBody.js +193 -0
- package/dist/models/DescribePolarClawSkillDetailResponseBody.js.map +1 -0
- package/dist/models/InstallPolarClawSkillRequest.d.ts +63 -0
- package/dist/models/InstallPolarClawSkillRequest.js +68 -0
- package/dist/models/InstallPolarClawSkillRequest.js.map +1 -0
- package/dist/models/InstallPolarClawSkillResponse.d.ts +19 -0
- package/dist/models/InstallPolarClawSkillResponse.js +69 -0
- package/dist/models/InstallPolarClawSkillResponse.js.map +1 -0
- package/dist/models/InstallPolarClawSkillResponseBody.d.ts +77 -0
- package/dist/models/InstallPolarClawSkillResponseBody.js +72 -0
- package/dist/models/InstallPolarClawSkillResponseBody.js.map +1 -0
- package/dist/models/ModifyDbnodeClassRequest.d.ts +23 -32
- package/dist/models/ModifyDbnodeClassRequest.js.map +1 -1
- package/dist/models/ModifyDbnodeClassResponseBody.d.ts +1 -1
- package/dist/models/SearchPolarClawSkillsRequest.d.ts +39 -0
- package/dist/models/SearchPolarClawSkillsRequest.js +62 -0
- package/dist/models/SearchPolarClawSkillsRequest.js.map +1 -0
- package/dist/models/SearchPolarClawSkillsResponse.d.ts +19 -0
- package/dist/models/SearchPolarClawSkillsResponse.js +69 -0
- package/dist/models/SearchPolarClawSkillsResponse.js.map +1 -0
- package/dist/models/SearchPolarClawSkillsResponseBody.d.ts +110 -0
- package/dist/models/SearchPolarClawSkillsResponseBody.js +98 -0
- package/dist/models/SearchPolarClawSkillsResponseBody.js.map +1 -0
- package/dist/models/UpdatePolarClawAgentRequest.d.ts +16 -10
- package/dist/models/UpdatePolarClawAgentRequest.js.map +1 -1
- package/dist/models/UpdatePolarClawAgentResponseBody.d.ts +12 -12
- package/dist/models/UpdatePolarClawAgentShrinkRequest.d.ts +14 -8
- package/dist/models/UpdatePolarClawAgentShrinkRequest.js.map +1 -1
- package/dist/models/UpdatePolarClawAgentSkillsRequest.d.ts +41 -0
- package/dist/models/UpdatePolarClawAgentSkillsRequest.js +65 -0
- package/dist/models/UpdatePolarClawAgentSkillsRequest.js.map +1 -0
- package/dist/models/UpdatePolarClawAgentSkillsResponse.d.ts +19 -0
- package/dist/models/UpdatePolarClawAgentSkillsResponse.js +69 -0
- package/dist/models/UpdatePolarClawAgentSkillsResponse.js.map +1 -0
- package/dist/models/UpdatePolarClawAgentSkillsResponseBody.d.ts +66 -0
- package/dist/models/UpdatePolarClawAgentSkillsResponseBody.js +73 -0
- package/dist/models/UpdatePolarClawAgentSkillsResponseBody.js.map +1 -0
- package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.d.ts +41 -0
- package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.js +62 -0
- package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.js.map +1 -0
- package/dist/models/UpdatePolarClawAgentToolsRequest.d.ts +65 -0
- package/dist/models/UpdatePolarClawAgentToolsRequest.js +77 -0
- package/dist/models/UpdatePolarClawAgentToolsRequest.js.map +1 -0
- package/dist/models/UpdatePolarClawAgentToolsResponse.d.ts +19 -0
- package/dist/models/UpdatePolarClawAgentToolsResponse.js +69 -0
- package/dist/models/UpdatePolarClawAgentToolsResponse.js.map +1 -0
- package/dist/models/UpdatePolarClawAgentToolsResponseBody.d.ts +101 -0
- package/dist/models/UpdatePolarClawAgentToolsResponseBody.js +107 -0
- package/dist/models/UpdatePolarClawAgentToolsResponseBody.js.map +1 -0
- package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.d.ts +65 -0
- package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.js +68 -0
- package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.js.map +1 -0
- package/dist/models/UpdatePolarClawSkillRequest.d.ts +59 -0
- package/dist/models/UpdatePolarClawSkillRequest.js +69 -0
- package/dist/models/UpdatePolarClawSkillRequest.js.map +1 -0
- package/dist/models/UpdatePolarClawSkillResponse.d.ts +19 -0
- package/dist/models/UpdatePolarClawSkillResponse.js +69 -0
- package/dist/models/UpdatePolarClawSkillResponse.js.map +1 -0
- package/dist/models/UpdatePolarClawSkillResponseBody.d.ts +93 -0
- package/dist/models/UpdatePolarClawSkillResponseBody.js +97 -0
- package/dist/models/UpdatePolarClawSkillResponseBody.js.map +1 -0
- package/dist/models/UpdatePolarClawSkillShrinkRequest.d.ts +57 -0
- package/dist/models/UpdatePolarClawSkillShrinkRequest.js +66 -0
- package/dist/models/UpdatePolarClawSkillShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +39 -0
- package/dist/models/model.js +105 -27
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +462 -8
- package/src/models/CreateDbnodesRequest.ts +34 -54
- package/src/models/CreateDbnodesResponseBody.ts +1 -1
- package/src/models/DescribeApikeyAttributeRequest.ts +12 -0
- package/src/models/DescribeApikeyAttributeResponseBody.ts +81 -0
- package/src/models/DescribePolarClawAgentFileRequest.ts +60 -0
- package/src/models/DescribePolarClawAgentFileResponse.ts +40 -0
- package/src/models/DescribePolarClawAgentFileResponseBody.ts +174 -0
- package/src/models/DescribePolarClawAgentToolsRequest.ts +58 -0
- package/src/models/DescribePolarClawAgentToolsResponse.ts +40 -0
- package/src/models/DescribePolarClawAgentToolsResponseBody.ts +334 -0
- package/src/models/DescribePolarClawAgentsResponseBody.ts +42 -2
- package/src/models/DescribePolarClawSkillDetailRequest.ts +48 -0
- package/src/models/DescribePolarClawSkillDetailResponse.ts +40 -0
- package/src/models/DescribePolarClawSkillDetailResponseBody.ts +379 -0
- package/src/models/InstallPolarClawSkillRequest.ts +86 -0
- package/src/models/InstallPolarClawSkillResponse.ts +40 -0
- package/src/models/InstallPolarClawSkillResponseBody.ts +104 -0
- package/src/models/ModifyDbnodeClassRequest.ts +23 -32
- package/src/models/ModifyDbnodeClassResponseBody.ts +1 -1
- package/src/models/SearchPolarClawSkillsRequest.ts +56 -0
- package/src/models/SearchPolarClawSkillsResponse.ts +40 -0
- package/src/models/SearchPolarClawSkillsResponseBody.ts +154 -0
- package/src/models/UpdatePolarClawAgentRequest.ts +16 -10
- package/src/models/UpdatePolarClawAgentResponseBody.ts +12 -12
- package/src/models/UpdatePolarClawAgentShrinkRequest.ts +14 -8
- package/src/models/UpdatePolarClawAgentSkillsRequest.ts +61 -0
- package/src/models/UpdatePolarClawAgentSkillsResponse.ts +40 -0
- package/src/models/UpdatePolarClawAgentSkillsResponseBody.ts +94 -0
- package/src/models/UpdatePolarClawAgentSkillsShrinkRequest.ts +58 -0
- package/src/models/UpdatePolarClawAgentToolsRequest.ts +97 -0
- package/src/models/UpdatePolarClawAgentToolsResponse.ts +40 -0
- package/src/models/UpdatePolarClawAgentToolsResponseBody.ts +154 -0
- package/src/models/UpdatePolarClawAgentToolsShrinkRequest.ts +88 -0
- package/src/models/UpdatePolarClawSkillRequest.ts +81 -0
- package/src/models/UpdatePolarClawSkillResponse.ts +40 -0
- package/src/models/UpdatePolarClawSkillResponseBody.ts +134 -0
- package/src/models/UpdatePolarClawSkillShrinkRequest.ts +78 -0
- package/src/models/model.ts +39 -0
package/src/client.ts
CHANGED
|
@@ -4162,7 +4162,7 @@ export default class Client extends OpenApi {
|
|
|
4162
4162
|
}
|
|
4163
4163
|
|
|
4164
4164
|
/**
|
|
4165
|
-
*
|
|
4165
|
+
* Adds read-only nodes to a PolarDB cluster.
|
|
4166
4166
|
*
|
|
4167
4167
|
* @param request - CreateDBNodesRequest
|
|
4168
4168
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4253,7 +4253,7 @@ export default class Client extends OpenApi {
|
|
|
4253
4253
|
}
|
|
4254
4254
|
|
|
4255
4255
|
/**
|
|
4256
|
-
*
|
|
4256
|
+
* Adds read-only nodes to a PolarDB cluster.
|
|
4257
4257
|
*
|
|
4258
4258
|
* @param request - CreateDBNodesRequest
|
|
4259
4259
|
* @returns CreateDBNodesResponse
|
|
@@ -9412,7 +9412,7 @@ export default class Client extends OpenApi {
|
|
|
9412
9412
|
}
|
|
9413
9413
|
|
|
9414
9414
|
/**
|
|
9415
|
-
*
|
|
9415
|
+
* Queries the details of a specified API key.
|
|
9416
9416
|
*
|
|
9417
9417
|
* @param request - DescribeApikeyAttributeRequest
|
|
9418
9418
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9455,7 +9455,7 @@ export default class Client extends OpenApi {
|
|
|
9455
9455
|
}
|
|
9456
9456
|
|
|
9457
9457
|
/**
|
|
9458
|
-
*
|
|
9458
|
+
* Queries the details of a specified API key.
|
|
9459
9459
|
*
|
|
9460
9460
|
* @param request - DescribeApikeyAttributeRequest
|
|
9461
9461
|
* @returns DescribeApikeyAttributeResponse
|
|
@@ -16073,6 +16073,106 @@ export default class Client extends OpenApi {
|
|
|
16073
16073
|
return await this.describePolarAgentUserSessionsWithOptions(request, runtime);
|
|
16074
16074
|
}
|
|
16075
16075
|
|
|
16076
|
+
/**
|
|
16077
|
+
* Queries a PolarClaw Agent file.
|
|
16078
|
+
*
|
|
16079
|
+
* @param request - DescribePolarClawAgentFileRequest
|
|
16080
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16081
|
+
* @returns DescribePolarClawAgentFileResponse
|
|
16082
|
+
*/
|
|
16083
|
+
async describePolarClawAgentFileWithOptions(request: $_model.DescribePolarClawAgentFileRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolarClawAgentFileResponse> {
|
|
16084
|
+
request.validate();
|
|
16085
|
+
let query = { };
|
|
16086
|
+
if (!$dara.isNull(request.agentId)) {
|
|
16087
|
+
query["AgentId"] = request.agentId;
|
|
16088
|
+
}
|
|
16089
|
+
|
|
16090
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
16091
|
+
query["ApplicationId"] = request.applicationId;
|
|
16092
|
+
}
|
|
16093
|
+
|
|
16094
|
+
if (!$dara.isNull(request.fileName)) {
|
|
16095
|
+
query["FileName"] = request.fileName;
|
|
16096
|
+
}
|
|
16097
|
+
|
|
16098
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
16099
|
+
query: OpenApiUtil.query(query),
|
|
16100
|
+
});
|
|
16101
|
+
let params = new $OpenApiUtil.Params({
|
|
16102
|
+
action: "DescribePolarClawAgentFile",
|
|
16103
|
+
version: "2017-08-01",
|
|
16104
|
+
protocol: "HTTPS",
|
|
16105
|
+
pathname: "/",
|
|
16106
|
+
method: "POST",
|
|
16107
|
+
authType: "AK",
|
|
16108
|
+
style: "RPC",
|
|
16109
|
+
reqBodyType: "formData",
|
|
16110
|
+
bodyType: "json",
|
|
16111
|
+
});
|
|
16112
|
+
return $dara.cast<$_model.DescribePolarClawAgentFileResponse>(await this.callApi(params, req, runtime), new $_model.DescribePolarClawAgentFileResponse({}));
|
|
16113
|
+
}
|
|
16114
|
+
|
|
16115
|
+
/**
|
|
16116
|
+
* Queries a PolarClaw Agent file.
|
|
16117
|
+
*
|
|
16118
|
+
* @param request - DescribePolarClawAgentFileRequest
|
|
16119
|
+
* @returns DescribePolarClawAgentFileResponse
|
|
16120
|
+
*/
|
|
16121
|
+
async describePolarClawAgentFile(request: $_model.DescribePolarClawAgentFileRequest): Promise<$_model.DescribePolarClawAgentFileResponse> {
|
|
16122
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
16123
|
+
return await this.describePolarClawAgentFileWithOptions(request, runtime);
|
|
16124
|
+
}
|
|
16125
|
+
|
|
16126
|
+
/**
|
|
16127
|
+
* Queries the PolarClaw Agent tool catalog.
|
|
16128
|
+
*
|
|
16129
|
+
* @param request - DescribePolarClawAgentToolsRequest
|
|
16130
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16131
|
+
* @returns DescribePolarClawAgentToolsResponse
|
|
16132
|
+
*/
|
|
16133
|
+
async describePolarClawAgentToolsWithOptions(request: $_model.DescribePolarClawAgentToolsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolarClawAgentToolsResponse> {
|
|
16134
|
+
request.validate();
|
|
16135
|
+
let query = { };
|
|
16136
|
+
if (!$dara.isNull(request.agentId)) {
|
|
16137
|
+
query["AgentId"] = request.agentId;
|
|
16138
|
+
}
|
|
16139
|
+
|
|
16140
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
16141
|
+
query["ApplicationId"] = request.applicationId;
|
|
16142
|
+
}
|
|
16143
|
+
|
|
16144
|
+
if (!$dara.isNull(request.includePlugins)) {
|
|
16145
|
+
query["IncludePlugins"] = request.includePlugins;
|
|
16146
|
+
}
|
|
16147
|
+
|
|
16148
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
16149
|
+
query: OpenApiUtil.query(query),
|
|
16150
|
+
});
|
|
16151
|
+
let params = new $OpenApiUtil.Params({
|
|
16152
|
+
action: "DescribePolarClawAgentTools",
|
|
16153
|
+
version: "2017-08-01",
|
|
16154
|
+
protocol: "HTTPS",
|
|
16155
|
+
pathname: "/",
|
|
16156
|
+
method: "POST",
|
|
16157
|
+
authType: "AK",
|
|
16158
|
+
style: "RPC",
|
|
16159
|
+
reqBodyType: "formData",
|
|
16160
|
+
bodyType: "json",
|
|
16161
|
+
});
|
|
16162
|
+
return $dara.cast<$_model.DescribePolarClawAgentToolsResponse>(await this.callApi(params, req, runtime), new $_model.DescribePolarClawAgentToolsResponse({}));
|
|
16163
|
+
}
|
|
16164
|
+
|
|
16165
|
+
/**
|
|
16166
|
+
* Queries the PolarClaw Agent tool catalog.
|
|
16167
|
+
*
|
|
16168
|
+
* @param request - DescribePolarClawAgentToolsRequest
|
|
16169
|
+
* @returns DescribePolarClawAgentToolsResponse
|
|
16170
|
+
*/
|
|
16171
|
+
async describePolarClawAgentTools(request: $_model.DescribePolarClawAgentToolsRequest): Promise<$_model.DescribePolarClawAgentToolsResponse> {
|
|
16172
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
16173
|
+
return await this.describePolarClawAgentToolsWithOptions(request, runtime);
|
|
16174
|
+
}
|
|
16175
|
+
|
|
16076
16176
|
/**
|
|
16077
16177
|
* Queries all installed plug-ins and their status information under a specified application.
|
|
16078
16178
|
*
|
|
@@ -16353,6 +16453,52 @@ export default class Client extends OpenApi {
|
|
|
16353
16453
|
return await this.describePolarClawPluginsWithOptions(request, runtime);
|
|
16354
16454
|
}
|
|
16355
16455
|
|
|
16456
|
+
/**
|
|
16457
|
+
* Queries the details of a PolarClaw Skill.
|
|
16458
|
+
*
|
|
16459
|
+
* @param request - DescribePolarClawSkillDetailRequest
|
|
16460
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16461
|
+
* @returns DescribePolarClawSkillDetailResponse
|
|
16462
|
+
*/
|
|
16463
|
+
async describePolarClawSkillDetailWithOptions(request: $_model.DescribePolarClawSkillDetailRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolarClawSkillDetailResponse> {
|
|
16464
|
+
request.validate();
|
|
16465
|
+
let query = { };
|
|
16466
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
16467
|
+
query["ApplicationId"] = request.applicationId;
|
|
16468
|
+
}
|
|
16469
|
+
|
|
16470
|
+
if (!$dara.isNull(request.slug)) {
|
|
16471
|
+
query["Slug"] = request.slug;
|
|
16472
|
+
}
|
|
16473
|
+
|
|
16474
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
16475
|
+
query: OpenApiUtil.query(query),
|
|
16476
|
+
});
|
|
16477
|
+
let params = new $OpenApiUtil.Params({
|
|
16478
|
+
action: "DescribePolarClawSkillDetail",
|
|
16479
|
+
version: "2017-08-01",
|
|
16480
|
+
protocol: "HTTPS",
|
|
16481
|
+
pathname: "/",
|
|
16482
|
+
method: "POST",
|
|
16483
|
+
authType: "AK",
|
|
16484
|
+
style: "RPC",
|
|
16485
|
+
reqBodyType: "formData",
|
|
16486
|
+
bodyType: "json",
|
|
16487
|
+
});
|
|
16488
|
+
return $dara.cast<$_model.DescribePolarClawSkillDetailResponse>(await this.callApi(params, req, runtime), new $_model.DescribePolarClawSkillDetailResponse({}));
|
|
16489
|
+
}
|
|
16490
|
+
|
|
16491
|
+
/**
|
|
16492
|
+
* Queries the details of a PolarClaw Skill.
|
|
16493
|
+
*
|
|
16494
|
+
* @param request - DescribePolarClawSkillDetailRequest
|
|
16495
|
+
* @returns DescribePolarClawSkillDetailResponse
|
|
16496
|
+
*/
|
|
16497
|
+
async describePolarClawSkillDetail(request: $_model.DescribePolarClawSkillDetailRequest): Promise<$_model.DescribePolarClawSkillDetailResponse> {
|
|
16498
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
16499
|
+
return await this.describePolarClawSkillDetailWithOptions(request, runtime);
|
|
16500
|
+
}
|
|
16501
|
+
|
|
16356
16502
|
/**
|
|
16357
16503
|
* Queries the status of a PolarClaw asynchronous task.
|
|
16358
16504
|
*
|
|
@@ -19557,6 +19703,68 @@ export default class Client extends OpenApi {
|
|
|
19557
19703
|
return await this.installPolarClawPluginWithOptions(request, runtime);
|
|
19558
19704
|
}
|
|
19559
19705
|
|
|
19706
|
+
/**
|
|
19707
|
+
* Installs a PolarClaw Skill.
|
|
19708
|
+
*
|
|
19709
|
+
* @param request - InstallPolarClawSkillRequest
|
|
19710
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
19711
|
+
* @returns InstallPolarClawSkillResponse
|
|
19712
|
+
*/
|
|
19713
|
+
async installPolarClawSkillWithOptions(request: $_model.InstallPolarClawSkillRequest, runtime: $dara.RuntimeOptions): Promise<$_model.InstallPolarClawSkillResponse> {
|
|
19714
|
+
request.validate();
|
|
19715
|
+
let query = { };
|
|
19716
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
19717
|
+
query["ApplicationId"] = request.applicationId;
|
|
19718
|
+
}
|
|
19719
|
+
|
|
19720
|
+
if (!$dara.isNull(request.force)) {
|
|
19721
|
+
query["Force"] = request.force;
|
|
19722
|
+
}
|
|
19723
|
+
|
|
19724
|
+
if (!$dara.isNull(request.skillVersion)) {
|
|
19725
|
+
query["SkillVersion"] = request.skillVersion;
|
|
19726
|
+
}
|
|
19727
|
+
|
|
19728
|
+
if (!$dara.isNull(request.slug)) {
|
|
19729
|
+
query["Slug"] = request.slug;
|
|
19730
|
+
}
|
|
19731
|
+
|
|
19732
|
+
if (!$dara.isNull(request.source)) {
|
|
19733
|
+
query["Source"] = request.source;
|
|
19734
|
+
}
|
|
19735
|
+
|
|
19736
|
+
if (!$dara.isNull(request.url)) {
|
|
19737
|
+
query["Url"] = request.url;
|
|
19738
|
+
}
|
|
19739
|
+
|
|
19740
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
19741
|
+
query: OpenApiUtil.query(query),
|
|
19742
|
+
});
|
|
19743
|
+
let params = new $OpenApiUtil.Params({
|
|
19744
|
+
action: "InstallPolarClawSkill",
|
|
19745
|
+
version: "2017-08-01",
|
|
19746
|
+
protocol: "HTTPS",
|
|
19747
|
+
pathname: "/",
|
|
19748
|
+
method: "POST",
|
|
19749
|
+
authType: "AK",
|
|
19750
|
+
style: "RPC",
|
|
19751
|
+
reqBodyType: "formData",
|
|
19752
|
+
bodyType: "json",
|
|
19753
|
+
});
|
|
19754
|
+
return $dara.cast<$_model.InstallPolarClawSkillResponse>(await this.callApi(params, req, runtime), new $_model.InstallPolarClawSkillResponse({}));
|
|
19755
|
+
}
|
|
19756
|
+
|
|
19757
|
+
/**
|
|
19758
|
+
* Installs a PolarClaw Skill.
|
|
19759
|
+
*
|
|
19760
|
+
* @param request - InstallPolarClawSkillRequest
|
|
19761
|
+
* @returns InstallPolarClawSkillResponse
|
|
19762
|
+
*/
|
|
19763
|
+
async installPolarClawSkill(request: $_model.InstallPolarClawSkillRequest): Promise<$_model.InstallPolarClawSkillResponse> {
|
|
19764
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
19765
|
+
return await this.installPolarClawSkillWithOptions(request, runtime);
|
|
19766
|
+
}
|
|
19767
|
+
|
|
19560
19768
|
/**
|
|
19561
19769
|
* Queries a list of orders.
|
|
19562
19770
|
*
|
|
@@ -23486,7 +23694,7 @@ export default class Client extends OpenApi {
|
|
|
23486
23694
|
}
|
|
23487
23695
|
|
|
23488
23696
|
/**
|
|
23489
|
-
*
|
|
23697
|
+
* Changes the node specifications of a PolarDB cluster.
|
|
23490
23698
|
*
|
|
23491
23699
|
* @param request - ModifyDBNodeClassRequest
|
|
23492
23700
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23577,7 +23785,7 @@ export default class Client extends OpenApi {
|
|
|
23577
23785
|
}
|
|
23578
23786
|
|
|
23579
23787
|
/**
|
|
23580
|
-
*
|
|
23788
|
+
* Changes the node specifications of a PolarDB cluster.
|
|
23581
23789
|
*
|
|
23582
23790
|
* @param request - ModifyDBNodeClassRequest
|
|
23583
23791
|
* @returns ModifyDBNodeClassResponse
|
|
@@ -26633,6 +26841,56 @@ export default class Client extends OpenApi {
|
|
|
26633
26841
|
return await this.searchMemoriesWithOptions(request, runtime);
|
|
26634
26842
|
}
|
|
26635
26843
|
|
|
26844
|
+
/**
|
|
26845
|
+
* Searches for PolarClaw Skills.
|
|
26846
|
+
*
|
|
26847
|
+
* @param request - SearchPolarClawSkillsRequest
|
|
26848
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
26849
|
+
* @returns SearchPolarClawSkillsResponse
|
|
26850
|
+
*/
|
|
26851
|
+
async searchPolarClawSkillsWithOptions(request: $_model.SearchPolarClawSkillsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SearchPolarClawSkillsResponse> {
|
|
26852
|
+
request.validate();
|
|
26853
|
+
let query = { };
|
|
26854
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
26855
|
+
query["ApplicationId"] = request.applicationId;
|
|
26856
|
+
}
|
|
26857
|
+
|
|
26858
|
+
if (!$dara.isNull(request.limit)) {
|
|
26859
|
+
query["Limit"] = request.limit;
|
|
26860
|
+
}
|
|
26861
|
+
|
|
26862
|
+
if (!$dara.isNull(request.query)) {
|
|
26863
|
+
query["Query"] = request.query;
|
|
26864
|
+
}
|
|
26865
|
+
|
|
26866
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
26867
|
+
query: OpenApiUtil.query(query),
|
|
26868
|
+
});
|
|
26869
|
+
let params = new $OpenApiUtil.Params({
|
|
26870
|
+
action: "SearchPolarClawSkills",
|
|
26871
|
+
version: "2017-08-01",
|
|
26872
|
+
protocol: "HTTPS",
|
|
26873
|
+
pathname: "/",
|
|
26874
|
+
method: "POST",
|
|
26875
|
+
authType: "AK",
|
|
26876
|
+
style: "RPC",
|
|
26877
|
+
reqBodyType: "formData",
|
|
26878
|
+
bodyType: "json",
|
|
26879
|
+
});
|
|
26880
|
+
return $dara.cast<$_model.SearchPolarClawSkillsResponse>(await this.callApi(params, req, runtime), new $_model.SearchPolarClawSkillsResponse({}));
|
|
26881
|
+
}
|
|
26882
|
+
|
|
26883
|
+
/**
|
|
26884
|
+
* Searches for PolarClaw Skills.
|
|
26885
|
+
*
|
|
26886
|
+
* @param request - SearchPolarClawSkillsRequest
|
|
26887
|
+
* @returns SearchPolarClawSkillsResponse
|
|
26888
|
+
*/
|
|
26889
|
+
async searchPolarClawSkills(request: $_model.SearchPolarClawSkillsRequest): Promise<$_model.SearchPolarClawSkillsResponse> {
|
|
26890
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
26891
|
+
return await this.searchPolarClawSkillsWithOptions(request, runtime);
|
|
26892
|
+
}
|
|
26893
|
+
|
|
26636
26894
|
/**
|
|
26637
26895
|
* Sets file quota rules for specific directories in a PolarFS instance.
|
|
26638
26896
|
*
|
|
@@ -27356,7 +27614,7 @@ export default class Client extends OpenApi {
|
|
|
27356
27614
|
}
|
|
27357
27615
|
|
|
27358
27616
|
/**
|
|
27359
|
-
*
|
|
27617
|
+
* Updates a PolarClaw agent.
|
|
27360
27618
|
*
|
|
27361
27619
|
* @param tmpReq - UpdatePolarClawAgentRequest
|
|
27362
27620
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27429,7 +27687,7 @@ export default class Client extends OpenApi {
|
|
|
27429
27687
|
}
|
|
27430
27688
|
|
|
27431
27689
|
/**
|
|
27432
|
-
*
|
|
27690
|
+
* Updates a PolarClaw agent.
|
|
27433
27691
|
*
|
|
27434
27692
|
* @param request - UpdatePolarClawAgentRequest
|
|
27435
27693
|
* @returns UpdatePolarClawAgentResponse
|
|
@@ -27439,6 +27697,138 @@ export default class Client extends OpenApi {
|
|
|
27439
27697
|
return await this.updatePolarClawAgentWithOptions(request, runtime);
|
|
27440
27698
|
}
|
|
27441
27699
|
|
|
27700
|
+
/**
|
|
27701
|
+
* Updates the skills of a PolarClaw Agent.
|
|
27702
|
+
*
|
|
27703
|
+
* @param tmpReq - UpdatePolarClawAgentSkillsRequest
|
|
27704
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
27705
|
+
* @returns UpdatePolarClawAgentSkillsResponse
|
|
27706
|
+
*/
|
|
27707
|
+
async updatePolarClawAgentSkillsWithOptions(tmpReq: $_model.UpdatePolarClawAgentSkillsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdatePolarClawAgentSkillsResponse> {
|
|
27708
|
+
tmpReq.validate();
|
|
27709
|
+
let request = new $_model.UpdatePolarClawAgentSkillsShrinkRequest({ });
|
|
27710
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
27711
|
+
if (!$dara.isNull(tmpReq.skills)) {
|
|
27712
|
+
request.skillsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.skills, "Skills", "json");
|
|
27713
|
+
}
|
|
27714
|
+
|
|
27715
|
+
let query = { };
|
|
27716
|
+
if (!$dara.isNull(request.agentId)) {
|
|
27717
|
+
query["AgentId"] = request.agentId;
|
|
27718
|
+
}
|
|
27719
|
+
|
|
27720
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
27721
|
+
query["ApplicationId"] = request.applicationId;
|
|
27722
|
+
}
|
|
27723
|
+
|
|
27724
|
+
if (!$dara.isNull(request.skillsShrink)) {
|
|
27725
|
+
query["Skills"] = request.skillsShrink;
|
|
27726
|
+
}
|
|
27727
|
+
|
|
27728
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
27729
|
+
query: OpenApiUtil.query(query),
|
|
27730
|
+
});
|
|
27731
|
+
let params = new $OpenApiUtil.Params({
|
|
27732
|
+
action: "UpdatePolarClawAgentSkills",
|
|
27733
|
+
version: "2017-08-01",
|
|
27734
|
+
protocol: "HTTPS",
|
|
27735
|
+
pathname: "/",
|
|
27736
|
+
method: "POST",
|
|
27737
|
+
authType: "AK",
|
|
27738
|
+
style: "RPC",
|
|
27739
|
+
reqBodyType: "formData",
|
|
27740
|
+
bodyType: "json",
|
|
27741
|
+
});
|
|
27742
|
+
return $dara.cast<$_model.UpdatePolarClawAgentSkillsResponse>(await this.callApi(params, req, runtime), new $_model.UpdatePolarClawAgentSkillsResponse({}));
|
|
27743
|
+
}
|
|
27744
|
+
|
|
27745
|
+
/**
|
|
27746
|
+
* Updates the skills of a PolarClaw Agent.
|
|
27747
|
+
*
|
|
27748
|
+
* @param request - UpdatePolarClawAgentSkillsRequest
|
|
27749
|
+
* @returns UpdatePolarClawAgentSkillsResponse
|
|
27750
|
+
*/
|
|
27751
|
+
async updatePolarClawAgentSkills(request: $_model.UpdatePolarClawAgentSkillsRequest): Promise<$_model.UpdatePolarClawAgentSkillsResponse> {
|
|
27752
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
27753
|
+
return await this.updatePolarClawAgentSkillsWithOptions(request, runtime);
|
|
27754
|
+
}
|
|
27755
|
+
|
|
27756
|
+
/**
|
|
27757
|
+
* Updates the tool configuration of a PolarClaw Agent.
|
|
27758
|
+
*
|
|
27759
|
+
* @param tmpReq - UpdatePolarClawAgentToolsRequest
|
|
27760
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
27761
|
+
* @returns UpdatePolarClawAgentToolsResponse
|
|
27762
|
+
*/
|
|
27763
|
+
async updatePolarClawAgentToolsWithOptions(tmpReq: $_model.UpdatePolarClawAgentToolsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdatePolarClawAgentToolsResponse> {
|
|
27764
|
+
tmpReq.validate();
|
|
27765
|
+
let request = new $_model.UpdatePolarClawAgentToolsShrinkRequest({ });
|
|
27766
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
27767
|
+
if (!$dara.isNull(tmpReq.allow)) {
|
|
27768
|
+
request.allowShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.allow, "Allow", "json");
|
|
27769
|
+
}
|
|
27770
|
+
|
|
27771
|
+
if (!$dara.isNull(tmpReq.alsoAllow)) {
|
|
27772
|
+
request.alsoAllowShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.alsoAllow, "AlsoAllow", "json");
|
|
27773
|
+
}
|
|
27774
|
+
|
|
27775
|
+
if (!$dara.isNull(tmpReq.deny)) {
|
|
27776
|
+
request.denyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.deny, "Deny", "json");
|
|
27777
|
+
}
|
|
27778
|
+
|
|
27779
|
+
let query = { };
|
|
27780
|
+
if (!$dara.isNull(request.agentId)) {
|
|
27781
|
+
query["AgentId"] = request.agentId;
|
|
27782
|
+
}
|
|
27783
|
+
|
|
27784
|
+
if (!$dara.isNull(request.allowShrink)) {
|
|
27785
|
+
query["Allow"] = request.allowShrink;
|
|
27786
|
+
}
|
|
27787
|
+
|
|
27788
|
+
if (!$dara.isNull(request.alsoAllowShrink)) {
|
|
27789
|
+
query["AlsoAllow"] = request.alsoAllowShrink;
|
|
27790
|
+
}
|
|
27791
|
+
|
|
27792
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
27793
|
+
query["ApplicationId"] = request.applicationId;
|
|
27794
|
+
}
|
|
27795
|
+
|
|
27796
|
+
if (!$dara.isNull(request.denyShrink)) {
|
|
27797
|
+
query["Deny"] = request.denyShrink;
|
|
27798
|
+
}
|
|
27799
|
+
|
|
27800
|
+
if (!$dara.isNull(request.profile)) {
|
|
27801
|
+
query["Profile"] = request.profile;
|
|
27802
|
+
}
|
|
27803
|
+
|
|
27804
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
27805
|
+
query: OpenApiUtil.query(query),
|
|
27806
|
+
});
|
|
27807
|
+
let params = new $OpenApiUtil.Params({
|
|
27808
|
+
action: "UpdatePolarClawAgentTools",
|
|
27809
|
+
version: "2017-08-01",
|
|
27810
|
+
protocol: "HTTPS",
|
|
27811
|
+
pathname: "/",
|
|
27812
|
+
method: "POST",
|
|
27813
|
+
authType: "AK",
|
|
27814
|
+
style: "RPC",
|
|
27815
|
+
reqBodyType: "formData",
|
|
27816
|
+
bodyType: "json",
|
|
27817
|
+
});
|
|
27818
|
+
return $dara.cast<$_model.UpdatePolarClawAgentToolsResponse>(await this.callApi(params, req, runtime), new $_model.UpdatePolarClawAgentToolsResponse({}));
|
|
27819
|
+
}
|
|
27820
|
+
|
|
27821
|
+
/**
|
|
27822
|
+
* Updates the tool configuration of a PolarClaw Agent.
|
|
27823
|
+
*
|
|
27824
|
+
* @param request - UpdatePolarClawAgentToolsRequest
|
|
27825
|
+
* @returns UpdatePolarClawAgentToolsResponse
|
|
27826
|
+
*/
|
|
27827
|
+
async updatePolarClawAgentTools(request: $_model.UpdatePolarClawAgentToolsRequest): Promise<$_model.UpdatePolarClawAgentToolsResponse> {
|
|
27828
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
27829
|
+
return await this.updatePolarClawAgentToolsWithOptions(request, runtime);
|
|
27830
|
+
}
|
|
27831
|
+
|
|
27442
27832
|
/**
|
|
27443
27833
|
* Updates the configuration of a PolarClaw scheduled task, allowing for partial field updates.
|
|
27444
27834
|
*
|
|
@@ -27555,6 +27945,70 @@ export default class Client extends OpenApi {
|
|
|
27555
27945
|
return await this.updatePolarClawCronJobWithOptions(request, runtime);
|
|
27556
27946
|
}
|
|
27557
27947
|
|
|
27948
|
+
/**
|
|
27949
|
+
* Updates the PolarClaw Skill configuration.
|
|
27950
|
+
*
|
|
27951
|
+
* @param tmpReq - UpdatePolarClawSkillRequest
|
|
27952
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
27953
|
+
* @returns UpdatePolarClawSkillResponse
|
|
27954
|
+
*/
|
|
27955
|
+
async updatePolarClawSkillWithOptions(tmpReq: $_model.UpdatePolarClawSkillRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdatePolarClawSkillResponse> {
|
|
27956
|
+
tmpReq.validate();
|
|
27957
|
+
let request = new $_model.UpdatePolarClawSkillShrinkRequest({ });
|
|
27958
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
27959
|
+
if (!$dara.isNull(tmpReq.env)) {
|
|
27960
|
+
request.envShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.env, "Env", "json");
|
|
27961
|
+
}
|
|
27962
|
+
|
|
27963
|
+
let query = { };
|
|
27964
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
27965
|
+
query["ApiKey"] = request.apiKey;
|
|
27966
|
+
}
|
|
27967
|
+
|
|
27968
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
27969
|
+
query["ApplicationId"] = request.applicationId;
|
|
27970
|
+
}
|
|
27971
|
+
|
|
27972
|
+
if (!$dara.isNull(request.enabled)) {
|
|
27973
|
+
query["Enabled"] = request.enabled;
|
|
27974
|
+
}
|
|
27975
|
+
|
|
27976
|
+
if (!$dara.isNull(request.envShrink)) {
|
|
27977
|
+
query["Env"] = request.envShrink;
|
|
27978
|
+
}
|
|
27979
|
+
|
|
27980
|
+
if (!$dara.isNull(request.skillKey)) {
|
|
27981
|
+
query["SkillKey"] = request.skillKey;
|
|
27982
|
+
}
|
|
27983
|
+
|
|
27984
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
27985
|
+
query: OpenApiUtil.query(query),
|
|
27986
|
+
});
|
|
27987
|
+
let params = new $OpenApiUtil.Params({
|
|
27988
|
+
action: "UpdatePolarClawSkill",
|
|
27989
|
+
version: "2017-08-01",
|
|
27990
|
+
protocol: "HTTPS",
|
|
27991
|
+
pathname: "/",
|
|
27992
|
+
method: "POST",
|
|
27993
|
+
authType: "AK",
|
|
27994
|
+
style: "RPC",
|
|
27995
|
+
reqBodyType: "formData",
|
|
27996
|
+
bodyType: "json",
|
|
27997
|
+
});
|
|
27998
|
+
return $dara.cast<$_model.UpdatePolarClawSkillResponse>(await this.callApi(params, req, runtime), new $_model.UpdatePolarClawSkillResponse({}));
|
|
27999
|
+
}
|
|
28000
|
+
|
|
28001
|
+
/**
|
|
28002
|
+
* Updates the PolarClaw Skill configuration.
|
|
28003
|
+
*
|
|
28004
|
+
* @param request - UpdatePolarClawSkillRequest
|
|
28005
|
+
* @returns UpdatePolarClawSkillResponse
|
|
28006
|
+
*/
|
|
28007
|
+
async updatePolarClawSkill(request: $_model.UpdatePolarClawSkillRequest): Promise<$_model.UpdatePolarClawSkillResponse> {
|
|
28008
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
28009
|
+
return await this.updatePolarClawSkillWithOptions(request, runtime);
|
|
28010
|
+
}
|
|
28011
|
+
|
|
27558
28012
|
/**
|
|
27559
28013
|
* Upgrades the kernel version of a PolarDB for MySQL cluster.
|
|
27560
28014
|
*
|