@alicloud/agentcore20260804 1.2.0 → 1.2.2

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 (169) hide show
  1. package/dist/client.d.ts +66 -50
  2. package/dist/client.js +78 -50
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchDeleteModelsRequest.d.ts +9 -0
  5. package/dist/models/BatchDeleteModelsRequest.js.map +1 -1
  6. package/dist/models/BatchDeleteModelsResponseBody.d.ts +27 -0
  7. package/dist/models/BatchDeleteModelsResponseBody.js.map +1 -1
  8. package/dist/models/BatchDeleteModelsShrinkRequest.d.ts +7 -0
  9. package/dist/models/BatchDeleteModelsShrinkRequest.js.map +1 -1
  10. package/dist/models/CreateCredentialRequest.d.ts +18 -2
  11. package/dist/models/CreateCredentialRequest.js.map +1 -1
  12. package/dist/models/CreateCredentialResponseBody.d.ts +48 -1
  13. package/dist/models/CreateCredentialResponseBody.js.map +1 -1
  14. package/dist/models/CreateCredentialShrinkRequest.d.ts +8 -1
  15. package/dist/models/CreateCredentialShrinkRequest.js.map +1 -1
  16. package/dist/models/CreateModelConnectionRequest.d.ts +21 -0
  17. package/dist/models/CreateModelConnectionRequest.js.map +1 -1
  18. package/dist/models/CreateModelConnectionResponseBody.d.ts +60 -0
  19. package/dist/models/CreateModelConnectionResponseBody.js.map +1 -1
  20. package/dist/models/CreateModelConnectionShrinkRequest.d.ts +7 -0
  21. package/dist/models/CreateModelConnectionShrinkRequest.js.map +1 -1
  22. package/dist/models/CreateTeamRequest.d.ts +40 -2
  23. package/dist/models/CreateTeamRequest.js.map +1 -1
  24. package/dist/models/CreateTeamResponseBody.d.ts +76 -1
  25. package/dist/models/CreateTeamResponseBody.js.map +1 -1
  26. package/dist/models/CreateTeamShrinkRequest.d.ts +8 -1
  27. package/dist/models/CreateTeamShrinkRequest.js.map +1 -1
  28. package/dist/models/CreateUserRequest.d.ts +23 -3
  29. package/dist/models/CreateUserRequest.js.map +1 -1
  30. package/dist/models/CreateUserResponseBody.d.ts +58 -2
  31. package/dist/models/CreateUserResponseBody.js.map +1 -1
  32. package/dist/models/CreateUserShrinkRequest.d.ts +8 -1
  33. package/dist/models/CreateUserShrinkRequest.js.map +1 -1
  34. package/dist/models/DebugModelRequest.d.ts +6 -0
  35. package/dist/models/DebugModelRequest.js.map +1 -1
  36. package/dist/models/DebugModelResponseBody.d.ts +45 -3
  37. package/dist/models/DebugModelResponseBody.js.map +1 -1
  38. package/dist/models/DebugModelShrinkRequest.d.ts +4 -0
  39. package/dist/models/DebugModelShrinkRequest.js.map +1 -1
  40. package/dist/models/DeleteCredentialRequest.d.ts +4 -1
  41. package/dist/models/DeleteCredentialRequest.js.map +1 -1
  42. package/dist/models/DeleteCredentialResponseBody.d.ts +29 -0
  43. package/dist/models/DeleteCredentialResponseBody.js.map +1 -1
  44. package/dist/models/DeleteModelConnectionRequest.d.ts +3 -0
  45. package/dist/models/DeleteModelConnectionRequest.js.map +1 -1
  46. package/dist/models/DeleteModelConnectionResponseBody.d.ts +26 -0
  47. package/dist/models/DeleteModelConnectionResponseBody.js.map +1 -1
  48. package/dist/models/DeleteModelRequest.d.ts +3 -0
  49. package/dist/models/DeleteModelRequest.js.map +1 -1
  50. package/dist/models/DeleteModelResponseBody.d.ts +26 -0
  51. package/dist/models/DeleteModelResponseBody.js.map +1 -1
  52. package/dist/models/DeleteTeamRequest.d.ts +4 -1
  53. package/dist/models/DeleteTeamRequest.js.map +1 -1
  54. package/dist/models/DeleteTeamResponseBody.d.ts +38 -0
  55. package/dist/models/DeleteTeamResponseBody.js.map +1 -1
  56. package/dist/models/DeleteUserRequest.d.ts +4 -1
  57. package/dist/models/DeleteUserRequest.js.map +1 -1
  58. package/dist/models/DeleteUserResponseBody.d.ts +29 -0
  59. package/dist/models/DeleteUserResponseBody.js.map +1 -1
  60. package/dist/models/GetCredentialResponseBody.d.ts +58 -1
  61. package/dist/models/GetCredentialResponseBody.js.map +1 -1
  62. package/dist/models/GetModelConnectionResponseBody.d.ts +67 -0
  63. package/dist/models/GetModelConnectionResponseBody.js.map +1 -1
  64. package/dist/models/GetTeamResponseBody.d.ts +131 -4
  65. package/dist/models/GetTeamResponseBody.js.map +1 -1
  66. package/dist/models/GetUserResponseBody.d.ts +55 -2
  67. package/dist/models/GetUserResponseBody.js.map +1 -1
  68. package/dist/models/ListCredentialsRequest.d.ts +20 -0
  69. package/dist/models/ListCredentialsRequest.js +2 -0
  70. package/dist/models/ListCredentialsRequest.js.map +1 -1
  71. package/dist/models/ListCredentialsResponseBody.d.ts +60 -1
  72. package/dist/models/ListCredentialsResponseBody.js.map +1 -1
  73. package/dist/models/ListMcpsRequest.d.ts +21 -1
  74. package/dist/models/ListMcpsRequest.js +4 -0
  75. package/dist/models/ListMcpsRequest.js.map +1 -1
  76. package/dist/models/ListMcpsResponseBody.d.ts +1 -1
  77. package/dist/models/ListModelConnectionsRequest.d.ts +30 -0
  78. package/dist/models/ListModelConnectionsRequest.js +2 -0
  79. package/dist/models/ListModelConnectionsRequest.js.map +1 -1
  80. package/dist/models/ListModelConnectionsResponseBody.d.ts +79 -0
  81. package/dist/models/ListModelConnectionsResponseBody.js.map +1 -1
  82. package/dist/models/ListTeamsRequest.d.ts +9 -0
  83. package/dist/models/ListTeamsRequest.js.map +1 -1
  84. package/dist/models/ListTeamsResponseBody.d.ts +89 -1
  85. package/dist/models/ListTeamsResponseBody.js.map +1 -1
  86. package/dist/models/ResetUserPasswordRequest.d.ts +13 -0
  87. package/dist/models/ResetUserPasswordRequest.js.map +1 -1
  88. package/dist/models/ResetUserPasswordResponseBody.d.ts +29 -0
  89. package/dist/models/ResetUserPasswordResponseBody.js.map +1 -1
  90. package/dist/models/ResetUserPasswordShrinkRequest.d.ts +4 -0
  91. package/dist/models/ResetUserPasswordShrinkRequest.js.map +1 -1
  92. package/dist/models/UpdateCredentialRequest.d.ts +15 -2
  93. package/dist/models/UpdateCredentialRequest.js.map +1 -1
  94. package/dist/models/UpdateCredentialResponseBody.d.ts +48 -1
  95. package/dist/models/UpdateCredentialResponseBody.js.map +1 -1
  96. package/dist/models/UpdateCredentialShrinkRequest.d.ts +8 -1
  97. package/dist/models/UpdateCredentialShrinkRequest.js.map +1 -1
  98. package/dist/models/UpdateModelRequest.d.ts +3 -3
  99. package/dist/models/UpdateModelResponseBody.d.ts +7 -7
  100. package/dist/models/UpdateModelShrinkRequest.d.ts +2 -2
  101. package/dist/models/UpdateTeamRequest.d.ts +32 -2
  102. package/dist/models/UpdateTeamRequest.js.map +1 -1
  103. package/dist/models/UpdateTeamResponseBody.d.ts +62 -1
  104. package/dist/models/UpdateTeamResponseBody.js.map +1 -1
  105. package/dist/models/UpdateTeamShrinkRequest.d.ts +8 -1
  106. package/dist/models/UpdateTeamShrinkRequest.js.map +1 -1
  107. package/dist/models/UpdateUserRequest.d.ts +19 -3
  108. package/dist/models/UpdateUserRequest.js.map +1 -1
  109. package/dist/models/UpdateUserResponseBody.d.ts +55 -2
  110. package/dist/models/UpdateUserResponseBody.js.map +1 -1
  111. package/dist/models/UpdateUserShrinkRequest.d.ts +8 -1
  112. package/dist/models/UpdateUserShrinkRequest.js.map +1 -1
  113. package/package.json +1 -1
  114. package/src/client.ts +82 -50
  115. package/src/models/BatchDeleteModelsRequest.ts +9 -0
  116. package/src/models/BatchDeleteModelsResponseBody.ts +27 -0
  117. package/src/models/BatchDeleteModelsShrinkRequest.ts +7 -0
  118. package/src/models/CreateCredentialRequest.ts +18 -2
  119. package/src/models/CreateCredentialResponseBody.ts +48 -1
  120. package/src/models/CreateCredentialShrinkRequest.ts +8 -1
  121. package/src/models/CreateModelConnectionRequest.ts +21 -0
  122. package/src/models/CreateModelConnectionResponseBody.ts +60 -0
  123. package/src/models/CreateModelConnectionShrinkRequest.ts +7 -0
  124. package/src/models/CreateTeamRequest.ts +40 -2
  125. package/src/models/CreateTeamResponseBody.ts +76 -1
  126. package/src/models/CreateTeamShrinkRequest.ts +8 -1
  127. package/src/models/CreateUserRequest.ts +23 -3
  128. package/src/models/CreateUserResponseBody.ts +58 -2
  129. package/src/models/CreateUserShrinkRequest.ts +8 -1
  130. package/src/models/DebugModelRequest.ts +6 -0
  131. package/src/models/DebugModelResponseBody.ts +45 -3
  132. package/src/models/DebugModelShrinkRequest.ts +4 -0
  133. package/src/models/DeleteCredentialRequest.ts +4 -1
  134. package/src/models/DeleteCredentialResponseBody.ts +29 -0
  135. package/src/models/DeleteModelConnectionRequest.ts +3 -0
  136. package/src/models/DeleteModelConnectionResponseBody.ts +26 -0
  137. package/src/models/DeleteModelRequest.ts +3 -0
  138. package/src/models/DeleteModelResponseBody.ts +26 -0
  139. package/src/models/DeleteTeamRequest.ts +4 -1
  140. package/src/models/DeleteTeamResponseBody.ts +38 -0
  141. package/src/models/DeleteUserRequest.ts +4 -1
  142. package/src/models/DeleteUserResponseBody.ts +29 -0
  143. package/src/models/GetCredentialResponseBody.ts +58 -1
  144. package/src/models/GetModelConnectionResponseBody.ts +67 -0
  145. package/src/models/GetTeamResponseBody.ts +131 -4
  146. package/src/models/GetUserResponseBody.ts +55 -2
  147. package/src/models/ListCredentialsRequest.ts +22 -0
  148. package/src/models/ListCredentialsResponseBody.ts +60 -1
  149. package/src/models/ListMcpsRequest.ts +25 -1
  150. package/src/models/ListMcpsResponseBody.ts +1 -1
  151. package/src/models/ListModelConnectionsRequest.ts +32 -0
  152. package/src/models/ListModelConnectionsResponseBody.ts +79 -0
  153. package/src/models/ListTeamsRequest.ts +9 -0
  154. package/src/models/ListTeamsResponseBody.ts +89 -1
  155. package/src/models/ResetUserPasswordRequest.ts +13 -0
  156. package/src/models/ResetUserPasswordResponseBody.ts +29 -0
  157. package/src/models/ResetUserPasswordShrinkRequest.ts +4 -0
  158. package/src/models/UpdateCredentialRequest.ts +15 -2
  159. package/src/models/UpdateCredentialResponseBody.ts +48 -1
  160. package/src/models/UpdateCredentialShrinkRequest.ts +8 -1
  161. package/src/models/UpdateModelRequest.ts +3 -3
  162. package/src/models/UpdateModelResponseBody.ts +7 -7
  163. package/src/models/UpdateModelShrinkRequest.ts +2 -2
  164. package/src/models/UpdateTeamRequest.ts +32 -2
  165. package/src/models/UpdateTeamResponseBody.ts +62 -1
  166. package/src/models/UpdateTeamShrinkRequest.ts +8 -1
  167. package/src/models/UpdateUserRequest.ts +19 -3
  168. package/src/models/UpdateUserResponseBody.ts +55 -2
  169. package/src/models/UpdateUserShrinkRequest.ts +8 -1
package/dist/client.js CHANGED
@@ -62,7 +62,7 @@ class Client extends openapi_core_1.default {
62
62
  return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
63
63
  }
64
64
  /**
65
- * 批量删除模型
65
+ * Deletes models in a specified workspace in batches. If any model is in use, the entire batch request fails.
66
66
  *
67
67
  * @param tmpReq - BatchDeleteModelsRequest
68
68
  * @param headers - map
@@ -103,7 +103,7 @@ class Client extends openapi_core_1.default {
103
103
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchDeleteModelsResponse({}));
104
104
  }
105
105
  /**
106
- * 批量删除模型
106
+ * Deletes models in a specified workspace in batches. If any model is in use, the entire batch request fails.
107
107
  *
108
108
  * @param request - BatchDeleteModelsRequest
109
109
  * @returns BatchDeleteModelsResponse
@@ -337,7 +337,7 @@ class Client extends openapi_core_1.default {
337
337
  return await this.createAgentSpecVersionWithOptions(workspaceId, agentSpecName, request, headers, runtime);
338
338
  }
339
339
  /**
340
- * 创建凭证
340
+ * Creates a credential in a specified workspace for agent authentication when accessing external services. Currently, only the apiKey type is supported. The credential content is passed in as a JSON string through credentialMetadata and can only be queried in masked form after being written.
341
341
  *
342
342
  * @param tmpReq - CreateCredentialRequest
343
343
  * @param headers - map
@@ -378,7 +378,7 @@ class Client extends openapi_core_1.default {
378
378
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCredentialResponse({}));
379
379
  }
380
380
  /**
381
- * 创建凭证
381
+ * Creates a credential in a specified workspace for agent authentication when accessing external services. Currently, only the apiKey type is supported. The credential content is passed in as a JSON string through credentialMetadata and can only be queried in masked form after being written.
382
382
  *
383
383
  * @param request - CreateCredentialRequest
384
384
  * @returns CreateCredentialResponse
@@ -706,7 +706,7 @@ class Client extends openapi_core_1.default {
706
706
  return await this.createModelWithOptions(workspaceId, request, headers, runtime);
707
707
  }
708
708
  /**
709
- * 创建模型连接
709
+ * Creates a model connection in a specified workspace and configures the upstream model service address, invoke protocol, and access credentials.
710
710
  *
711
711
  * @param tmpReq - CreateModelConnectionRequest
712
712
  * @param headers - map
@@ -747,7 +747,7 @@ class Client extends openapi_core_1.default {
747
747
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateModelConnectionResponse({}));
748
748
  }
749
749
  /**
750
- * 创建模型连接
750
+ * Creates a model connection in a specified workspace and configures the upstream model service address, invoke protocol, and access credentials.
751
751
  *
752
752
  * @param request - CreateModelConnectionRequest
753
753
  * @returns CreateModelConnectionResponse
@@ -813,7 +813,7 @@ class Client extends openapi_core_1.default {
813
813
  return await this.createSkillDraftWithOptions(workspaceId, request, headers, runtime);
814
814
  }
815
815
  /**
816
- * 创建团队
816
+ * Creates a team in a specified workspace and sets user members and agent members at the same time. The user members must include exactly one member with the ADMIN role. Agent members can only have the LEADER or WORKER role.
817
817
  *
818
818
  * @param tmpReq - CreateTeamRequest
819
819
  * @param headers - map
@@ -854,7 +854,7 @@ class Client extends openapi_core_1.default {
854
854
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateTeamResponse({}));
855
855
  }
856
856
  /**
857
- * 创建团队
857
+ * Creates a team in a specified workspace and sets user members and agent members at the same time. The user members must include exactly one member with the ADMIN role. Agent members can only have the LEADER or WORKER role.
858
858
  *
859
859
  * @param request - CreateTeamRequest
860
860
  * @returns CreateTeamResponse
@@ -865,7 +865,7 @@ class Client extends openapi_core_1.default {
865
865
  return await this.createTeamWithOptions(workspaceId, request, headers, runtime);
866
866
  }
867
867
  /**
868
- * 创建用户
868
+ * Creates a user in a specified workspace. The username must be unique within the workspace and can contain only lowercase letters, digits, and hyphens. Reserved names such as manager, admin, or names starting with worker- cannot be used. If password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
869
869
  *
870
870
  * @param tmpReq - CreateUserRequest
871
871
  * @param headers - map
@@ -906,7 +906,7 @@ class Client extends openapi_core_1.default {
906
906
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateUserResponse({}));
907
907
  }
908
908
  /**
909
- * 创建用户
909
+ * Creates a user in a specified workspace. The username must be unique within the workspace and can contain only lowercase letters, digits, and hyphens. Reserved names such as manager, admin, or names starting with worker- cannot be used. If password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
910
910
  *
911
911
  * @param request - CreateUserRequest
912
912
  * @returns CreateUserResponse
@@ -975,7 +975,7 @@ class Client extends openapi_core_1.default {
975
975
  return await this.createWorkspaceWithOptions(request, headers, runtime);
976
976
  }
977
977
  /**
978
- * 调试模型
978
+ * Calls a specified model through a published model connection to verify whether the model call chain is available.
979
979
  *
980
980
  * @param tmpReq - DebugModelRequest
981
981
  * @param headers - map
@@ -1011,7 +1011,7 @@ class Client extends openapi_core_1.default {
1011
1011
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DebugModelResponse({}));
1012
1012
  }
1013
1013
  /**
1014
- * 调试模型
1014
+ * Calls a specified model through a published model connection to verify whether the model call chain is available.
1015
1015
  *
1016
1016
  * @param request - DebugModelRequest
1017
1017
  * @returns DebugModelResponse
@@ -1160,7 +1160,7 @@ class Client extends openapi_core_1.default {
1160
1160
  return await this.deleteAgentSpecVersionWithOptions(workspaceId, agentSpecName, request, headers, runtime);
1161
1161
  }
1162
1162
  /**
1163
- * 删除凭证
1163
+ * Deletes a credential from the specified workspace and removes the ciphertext hosted in the credential service. After deletion, agents that are bound to this credential can no longer retrieve the credential content.
1164
1164
  *
1165
1165
  * @param request - DeleteCredentialRequest
1166
1166
  * @param headers - map
@@ -1191,7 +1191,7 @@ class Client extends openapi_core_1.default {
1191
1191
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCredentialResponse({}));
1192
1192
  }
1193
1193
  /**
1194
- * 删除凭证
1194
+ * Deletes a credential from the specified workspace and removes the ciphertext hosted in the credential service. After deletion, agents that are bound to this credential can no longer retrieve the credential content.
1195
1195
  *
1196
1196
  * @param request - DeleteCredentialRequest
1197
1197
  * @returns DeleteCredentialResponse
@@ -1369,7 +1369,7 @@ class Client extends openapi_core_1.default {
1369
1369
  return await this.deleteMcpWithOptions(mcpServerId, workspaceId, request, headers, runtime);
1370
1370
  }
1371
1371
  /**
1372
- * 删除模型
1372
+ * Deletes a model from a specified workspace. Models that are currently in use cannot be deleted.
1373
1373
  *
1374
1374
  * @param request - DeleteModelRequest
1375
1375
  * @param headers - map
@@ -1400,7 +1400,7 @@ class Client extends openapi_core_1.default {
1400
1400
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteModelResponse({}));
1401
1401
  }
1402
1402
  /**
1403
- * 删除模型
1403
+ * Deletes a model from a specified workspace. Models that are currently in use cannot be deleted.
1404
1404
  *
1405
1405
  * @param request - DeleteModelRequest
1406
1406
  * @returns DeleteModelResponse
@@ -1411,7 +1411,7 @@ class Client extends openapi_core_1.default {
1411
1411
  return await this.deleteModelWithOptions(workspaceId, modelId, request, headers, runtime);
1412
1412
  }
1413
1413
  /**
1414
- * 删除模型连接
1414
+ * Submits an asynchronous deletion task for a specified model connection. The connection cannot be deleted if it has associated models or runtime references.
1415
1415
  *
1416
1416
  * @param request - DeleteModelConnectionRequest
1417
1417
  * @param headers - map
@@ -1442,7 +1442,7 @@ class Client extends openapi_core_1.default {
1442
1442
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteModelConnectionResponse({}));
1443
1443
  }
1444
1444
  /**
1445
- * 删除模型连接
1445
+ * Submits an asynchronous deletion task for a specified model connection. The connection cannot be deleted if it has associated models or runtime references.
1446
1446
  *
1447
1447
  * @param request - DeleteModelConnectionRequest
1448
1448
  * @returns DeleteModelConnectionResponse
@@ -1543,7 +1543,7 @@ class Client extends openapi_core_1.default {
1543
1543
  return await this.deleteSkillDraftWithOptions(workspaceId, skillName, request, headers, runtime);
1544
1544
  }
1545
1545
  /**
1546
- * 删除团队
1546
+ * Deletes a team in the specified workspace. Deleting a team does not delete the users or agents in the team. It only dissociates the member relationships.
1547
1547
  *
1548
1548
  * @param request - DeleteTeamRequest
1549
1549
  * @param headers - map
@@ -1574,7 +1574,7 @@ class Client extends openapi_core_1.default {
1574
1574
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteTeamResponse({}));
1575
1575
  }
1576
1576
  /**
1577
- * 删除团队
1577
+ * Deletes a team in the specified workspace. Deleting a team does not delete the users or agents in the team. It only dissociates the member relationships.
1578
1578
  *
1579
1579
  * @param request - DeleteTeamRequest
1580
1580
  * @returns DeleteTeamResponse
@@ -1585,7 +1585,7 @@ class Client extends openapi_core_1.default {
1585
1585
  return await this.deleteTeamWithOptions(workspaceId, teamId, request, headers, runtime);
1586
1586
  }
1587
1587
  /**
1588
- * 删除用户
1588
+ * Deletes a user from a specified workspace. A user cannot be deleted while the user is still a member of any team. Remove the user from all teams before deleting the user.
1589
1589
  *
1590
1590
  * @param request - DeleteUserRequest
1591
1591
  * @param headers - map
@@ -1616,7 +1616,7 @@ class Client extends openapi_core_1.default {
1616
1616
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteUserResponse({}));
1617
1617
  }
1618
1618
  /**
1619
- * 删除用户
1619
+ * Deletes a user from a specified workspace. A user cannot be deleted while the user is still a member of any team. Remove the user from all teams before deleting the user.
1620
1620
  *
1621
1621
  * @param request - DeleteUserRequest
1622
1622
  * @returns DeleteUserResponse
@@ -2048,7 +2048,7 @@ class Client extends openapi_core_1.default {
2048
2048
  return await this.getAgentSpecVersionWithOptions(workspaceId, agentSpecName, agentSpecVersion, request, headers, runtime);
2049
2049
  }
2050
2050
  /**
2051
- * 查询凭证
2051
+ * Queries the details of a specified credential and returns the list of agents that are bound to the credential. The credential content is returned in masked form.
2052
2052
  *
2053
2053
  * @param request - GetCredentialRequest
2054
2054
  * @param headers - map
@@ -2074,7 +2074,7 @@ class Client extends openapi_core_1.default {
2074
2074
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCredentialResponse({}));
2075
2075
  }
2076
2076
  /**
2077
- * 查询凭证
2077
+ * Queries the details of a specified credential and returns the list of agents that are bound to the credential. The credential content is returned in masked form.
2078
2078
  *
2079
2079
  * @param request - GetCredentialRequest
2080
2080
  * @returns GetCredentialResponse
@@ -2327,7 +2327,7 @@ class Client extends openapi_core_1.default {
2327
2327
  return await this.getModelWithOptions(workspaceId, modelId, request, headers, runtime);
2328
2328
  }
2329
2329
  /**
2330
- * 查询模型连接
2330
+ * Queries the detailed configuration, credential configuration status, publish status, and region of a specified model connection.
2331
2331
  *
2332
2332
  * @param request - GetModelConnectionRequest
2333
2333
  * @param headers - map
@@ -2353,7 +2353,7 @@ class Client extends openapi_core_1.default {
2353
2353
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetModelConnectionResponse({}));
2354
2354
  }
2355
2355
  /**
2356
- * 查询模型连接
2356
+ * Queries the detailed configuration, credential configuration status, publish status, and region of a specified model connection.
2357
2357
  *
2358
2358
  * @param request - GetModelConnectionRequest
2359
2359
  * @returns GetModelConnectionResponse
@@ -2590,7 +2590,7 @@ class Client extends openapi_core_1.default {
2590
2590
  return await this.getSkillVersionDetailWithOptions(workspaceId, skillName, skillVersion, request, headers, runtime);
2591
2591
  }
2592
2592
  /**
2593
- * 查询团队
2593
+ * Queries the details of a specified team. The response includes the complete properties and team roles of each user member and agent member in the team.
2594
2594
  *
2595
2595
  * @param request - GetTeamRequest
2596
2596
  * @param headers - map
@@ -2616,7 +2616,7 @@ class Client extends openapi_core_1.default {
2616
2616
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTeamResponse({}));
2617
2617
  }
2618
2618
  /**
2619
- * 查询团队
2619
+ * Queries the details of a specified team. The response includes the complete properties and team roles of each user member and agent member in the team.
2620
2620
  *
2621
2621
  * @param request - GetTeamRequest
2622
2622
  * @returns GetTeamResponse
@@ -2627,7 +2627,7 @@ class Client extends openapi_core_1.default {
2627
2627
  return await this.getTeamWithOptions(workspaceId, teamId, request, headers, runtime);
2628
2628
  }
2629
2629
  /**
2630
- * 查询用户
2630
+ * Queries the details of a specified user in a workspace. Returns an error if the user does not exist.
2631
2631
  *
2632
2632
  * @param request - GetUserRequest
2633
2633
  * @param headers - map
@@ -2653,7 +2653,7 @@ class Client extends openapi_core_1.default {
2653
2653
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetUserResponse({}));
2654
2654
  }
2655
2655
  /**
2656
- * 查询用户
2656
+ * Queries the details of a specified user in a workspace. Returns an error if the user does not exist.
2657
2657
  *
2658
2658
  * @param request - GetUserRequest
2659
2659
  * @returns GetUserResponse
@@ -2986,7 +2986,7 @@ class Client extends openapi_core_1.default {
2986
2986
  return await this.listAgentTeamsWithOptions(workspaceId, request, headers, runtime);
2987
2987
  }
2988
2988
  /**
2989
- * 查询凭证列表
2989
+ * Queries credentials in a specified workspace by using paging. You can use credentialType to filter by type, nameLike to filter by credential name using fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default.
2990
2990
  *
2991
2991
  * @param request - ListCredentialsRequest
2992
2992
  * @param headers - map
@@ -3002,6 +3002,9 @@ class Client extends openapi_core_1.default {
3002
3002
  if (!$dara.isNull(request.maxResults)) {
3003
3003
  query["maxResults"] = request.maxResults;
3004
3004
  }
3005
+ if (!$dara.isNull(request.name)) {
3006
+ query["name"] = request.name;
3007
+ }
3005
3008
  if (!$dara.isNull(request.nameLike)) {
3006
3009
  query["nameLike"] = request.nameLike;
3007
3010
  }
@@ -3026,7 +3029,7 @@ class Client extends openapi_core_1.default {
3026
3029
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCredentialsResponse({}));
3027
3030
  }
3028
3031
  /**
3029
- * 查询凭证列表
3032
+ * Queries credentials in a specified workspace by using paging. You can use credentialType to filter by type, nameLike to filter by credential name using fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default.
3030
3033
  *
3031
3034
  * @param request - ListCredentialsRequest
3032
3035
  * @returns ListCredentialsResponse
@@ -3237,11 +3240,11 @@ class Client extends openapi_core_1.default {
3237
3240
  return await this.listMcpToolsWithOptions(workspaceId, mcpServerId, request, headers, runtime);
3238
3241
  }
3239
3242
  /**
3240
- * Queries MCP services and their configurations and statuses in a specified workspace by using paging.
3243
+ * Queries MCP services and their configurations and statuses in a specified workspace by page.
3241
3244
  *
3242
3245
  * @remarks
3243
3246
  * ## Operation description
3244
- * Queries MCP services and their configurations and statuses in a specified workspace by using paging.
3247
+ * Queries MCP services and their configurations and statuses in a specified workspace by page.
3245
3248
  *
3246
3249
  * @param request - ListMcpsRequest
3247
3250
  * @param headers - map
@@ -3254,9 +3257,15 @@ class Client extends openapi_core_1.default {
3254
3257
  if (!$dara.isNull(request.maxResults)) {
3255
3258
  query["maxResults"] = request.maxResults;
3256
3259
  }
3260
+ if (!$dara.isNull(request.name)) {
3261
+ query["name"] = request.name;
3262
+ }
3257
3263
  if (!$dara.isNull(request.nextToken)) {
3258
3264
  query["nextToken"] = request.nextToken;
3259
3265
  }
3266
+ if (!$dara.isNull(request.searchType)) {
3267
+ query["searchType"] = request.searchType;
3268
+ }
3260
3269
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3261
3270
  headers: headers,
3262
3271
  query: openapi_core_2.OpenApiUtil.query(query),
@@ -3275,11 +3284,11 @@ class Client extends openapi_core_1.default {
3275
3284
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMcpsResponse({}));
3276
3285
  }
3277
3286
  /**
3278
- * Queries MCP services and their configurations and statuses in a specified workspace by using paging.
3287
+ * Queries MCP services and their configurations and statuses in a specified workspace by page.
3279
3288
  *
3280
3289
  * @remarks
3281
3290
  * ## Operation description
3282
- * Queries MCP services and their configurations and statuses in a specified workspace by using paging.
3291
+ * Queries MCP services and their configurations and statuses in a specified workspace by page.
3283
3292
  *
3284
3293
  * @param request - ListMcpsRequest
3285
3294
  * @returns ListMcpsResponse
@@ -3290,7 +3299,10 @@ class Client extends openapi_core_1.default {
3290
3299
  return await this.listMcpsWithOptions(workspaceId, request, headers, runtime);
3291
3300
  }
3292
3301
  /**
3293
- * 查询模型连接列表
3302
+ * Queries model connections in a specified workspace with paging. Supports filtering by name, provider type, and invoke protocol.
3303
+ *
3304
+ * @remarks
3305
+ * Queries model connections in a specified AgentCore workspace. Supports filtering by name through `Name` and selecting exact match or fuzzy match through `SearchType`. Also supports filtering by model provider type and invoke protocol, and supports paging.
3294
3306
  *
3295
3307
  * @param request - ListModelConnectionsRequest
3296
3308
  * @param headers - map
@@ -3318,6 +3330,9 @@ class Client extends openapi_core_1.default {
3318
3330
  if (!$dara.isNull(request.providerType)) {
3319
3331
  query["providerType"] = request.providerType;
3320
3332
  }
3333
+ if (!$dara.isNull(request.searchType)) {
3334
+ query["searchType"] = request.searchType;
3335
+ }
3321
3336
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3322
3337
  headers: headers,
3323
3338
  query: openapi_core_2.OpenApiUtil.query(query),
@@ -3336,7 +3351,10 @@ class Client extends openapi_core_1.default {
3336
3351
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListModelConnectionsResponse({}));
3337
3352
  }
3338
3353
  /**
3339
- * 查询模型连接列表
3354
+ * Queries model connections in a specified workspace with paging. Supports filtering by name, provider type, and invoke protocol.
3355
+ *
3356
+ * @remarks
3357
+ * Queries model connections in a specified AgentCore workspace. Supports filtering by name through `Name` and selecting exact match or fuzzy match through `SearchType`. Also supports filtering by model provider type and invoke protocol, and supports paging.
3340
3358
  *
3341
3359
  * @param request - ListModelConnectionsRequest
3342
3360
  * @returns ListModelConnectionsResponse
@@ -3615,7 +3633,7 @@ class Client extends openapi_core_1.default {
3615
3633
  return await this.listSkillsWithOptions(workspaceId, request, headers, runtime);
3616
3634
  }
3617
3635
  /**
3618
- * 查询团队列表
3636
+ * Queries teams in a specified workspace by paging. Use nameLike to filter by team name with fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. Member information in the list includes only the member identity, name, and team role.
3619
3637
  *
3620
3638
  * @param request - ListTeamsRequest
3621
3639
  * @param headers - map
@@ -3652,7 +3670,7 @@ class Client extends openapi_core_1.default {
3652
3670
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTeamsResponse({}));
3653
3671
  }
3654
3672
  /**
3655
- * 查询团队列表
3673
+ * Queries teams in a specified workspace by paging. Use nameLike to filter by team name with fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. Member information in the list includes only the member identity, name, and team role.
3656
3674
  *
3657
3675
  * @param request - ListTeamsRequest
3658
3676
  * @returns ListTeamsResponse
@@ -4043,7 +4061,7 @@ class Client extends openapi_core_1.default {
4043
4061
  return await this.redraftSkillVersionWithOptions(workspaceId, skillName, skillVersion, request, headers, runtime);
4044
4062
  }
4045
4063
  /**
4046
- * 重置用户密码
4064
+ * Resets the logon password of a specified user. Specify the user by agentCoreUserId or username. At least one of the two parameters must be specified. Only users who use workspace local password authentication can be reset. If password is not specified, the server generates a random password and returns it in the response.
4047
4065
  *
4048
4066
  * @param tmpReq - ResetUserPasswordRequest
4049
4067
  * @param headers - map
@@ -4079,7 +4097,7 @@ class Client extends openapi_core_1.default {
4079
4097
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResetUserPasswordResponse({}));
4080
4098
  }
4081
4099
  /**
4082
- * 重置用户密码
4100
+ * Resets the logon password of a specified user. Specify the user by agentCoreUserId or username. At least one of the two parameters must be specified. Only users who use workspace local password authentication can be reset. If password is not specified, the server generates a random password and returns it in the response.
4083
4101
  *
4084
4102
  * @param request - ResetUserPasswordRequest
4085
4103
  * @returns ResetUserPasswordResponse
@@ -4371,7 +4389,7 @@ class Client extends openapi_core_1.default {
4371
4389
  return await this.updateAgentSpecWithOptions(workspaceId, agentSpecName, request, headers, runtime);
4372
4390
  }
4373
4391
  /**
4374
- * 更新凭证
4392
+ * Updates the content or description of a specified credential. At least one of credentialMetadata and description must be specified. Unspecified properties remain unchanged. The credential name and credential type cannot be modified after creation.
4375
4393
  *
4376
4394
  * @param tmpReq - UpdateCredentialRequest
4377
4395
  * @param headers - map
@@ -4412,7 +4430,7 @@ class Client extends openapi_core_1.default {
4412
4430
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCredentialResponse({}));
4413
4431
  }
4414
4432
  /**
4415
- * 更新凭证
4433
+ * Updates the content or description of a specified credential. At least one of credentialMetadata and description must be specified. Unspecified properties remain unchanged. The credential name and credential type cannot be modified after creation.
4416
4434
  *
4417
4435
  * @param request - UpdateCredentialRequest
4418
4436
  * @returns UpdateCredentialResponse
@@ -4640,7 +4658,12 @@ class Client extends openapi_core_1.default {
4640
4658
  return await this.updateMcpWithOptions(workspaceId, mcpServerId, request, headers, runtime);
4641
4659
  }
4642
4660
  /**
4643
- * Updates the description of a specified model. Other model configurations cannot be modified through this operation.
4661
+ * Updates the description, context token limit, maximum output token count, or capability configuration of a specified model.
4662
+ *
4663
+ * @remarks
4664
+ * This operation updates description, contextSize, maxTokens, and capabilities. At least one non-null parameter must be provided. Parameters that are not provided or set to null retain their original values. The capabilities object is replaced as a whole. Capability fields not included in the object are treated as false.
4665
+ * Modifying only description does not refresh the model configuration of associated agents. When contextSize, maxTokens, or capabilities actually change, the system asynchronously refreshes managed agents that reference the model within the same workspace, as well as external agents whose model source is PLATFORM. External agents whose model source is RUNTIME are not affected. Submitting the same configuration repeatedly does not trigger a new model configuration refresh.
4666
+ * A successful response indicates that the model configuration has been saved. It does not indicate that associated agents have completed the configuration refresh or that the runtime has loaded the new configuration. Call GetModel to query the saved model configuration.
4644
4667
  *
4645
4668
  * @param tmpReq - UpdateModelRequest
4646
4669
  * @param headers - map
@@ -4681,7 +4704,12 @@ class Client extends openapi_core_1.default {
4681
4704
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateModelResponse({}));
4682
4705
  }
4683
4706
  /**
4684
- * Updates the description of a specified model. Other model configurations cannot be modified through this operation.
4707
+ * Updates the description, context token limit, maximum output token count, or capability configuration of a specified model.
4708
+ *
4709
+ * @remarks
4710
+ * This operation updates description, contextSize, maxTokens, and capabilities. At least one non-null parameter must be provided. Parameters that are not provided or set to null retain their original values. The capabilities object is replaced as a whole. Capability fields not included in the object are treated as false.
4711
+ * Modifying only description does not refresh the model configuration of associated agents. When contextSize, maxTokens, or capabilities actually change, the system asynchronously refreshes managed agents that reference the model within the same workspace, as well as external agents whose model source is PLATFORM. External agents whose model source is RUNTIME are not affected. Submitting the same configuration repeatedly does not trigger a new model configuration refresh.
4712
+ * A successful response indicates that the model configuration has been saved. It does not indicate that associated agents have completed the configuration refresh or that the runtime has loaded the new configuration. Call GetModel to query the saved model configuration.
4685
4713
  *
4686
4714
  * @param request - UpdateModelRequest
4687
4715
  * @returns UpdateModelResponse
@@ -4909,7 +4937,7 @@ class Client extends openapi_core_1.default {
4909
4937
  return await this.updateSkillScopeWithOptions(workspaceId, skillName, request, headers, runtime);
4910
4938
  }
4911
4939
  /**
4912
- * 更新团队
4940
+ * Updates the description and members of a specified team. When users or agents are passed in, the corresponding member list is replaced using full overwrite semantics. Member lists that are not passed in remain unchanged. The team name cannot be modified after creation.
4913
4941
  *
4914
4942
  * @param tmpReq - UpdateTeamRequest
4915
4943
  * @param headers - map
@@ -4950,7 +4978,7 @@ class Client extends openapi_core_1.default {
4950
4978
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateTeamResponse({}));
4951
4979
  }
4952
4980
  /**
4953
- * 更新团队
4981
+ * Updates the description and members of a specified team. When users or agents are passed in, the corresponding member list is replaced using full overwrite semantics. Member lists that are not passed in remain unchanged. The team name cannot be modified after creation.
4954
4982
  *
4955
4983
  * @param request - UpdateTeamRequest
4956
4984
  * @returns UpdateTeamResponse
@@ -4961,7 +4989,7 @@ class Client extends openapi_core_1.default {
4961
4989
  return await this.updateTeamWithOptions(workspaceId, teamId, request, headers, runtime);
4962
4990
  }
4963
4991
  /**
4964
- * 更新用户
4992
+ * Updates the display name, email address, or note of a specified user. At least one of displayName, email, and note must be specified. Unspecified properties remain unchanged. The username cannot be modified after creation.
4965
4993
  *
4966
4994
  * @param tmpReq - UpdateUserRequest
4967
4995
  * @param headers - map
@@ -5002,7 +5030,7 @@ class Client extends openapi_core_1.default {
5002
5030
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateUserResponse({}));
5003
5031
  }
5004
5032
  /**
5005
- * 更新用户
5033
+ * Updates the display name, email address, or note of a specified user. At least one of displayName, email, and note must be specified. Unspecified properties remain unchanged. The username cannot be modified after creation.
5006
5034
  *
5007
5035
  * @param request - UpdateUserRequest
5008
5036
  * @returns UpdateUserResponse