@alicloud/agentcore20260804 2.3.0 → 2.3.1
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 +2 -2
- package/dist/client.js +5 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateExternalAgentRequest.d.ts +61 -14
- package/dist/models/CreateExternalAgentRequest.js +29 -1
- package/dist/models/CreateExternalAgentRequest.js.map +1 -1
- package/dist/models/CreateExternalAgentResponseBody.d.ts +171 -39
- package/dist/models/CreateExternalAgentResponseBody.js +89 -1
- package/dist/models/CreateExternalAgentResponseBody.js.map +1 -1
- package/dist/models/CreateExternalAgentShrinkRequest.d.ts +1 -1
- package/dist/models/GetExternalAgentResponseBody.d.ts +164 -43
- package/dist/models/GetExternalAgentResponseBody.js +89 -1
- package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
- package/dist/models/ListUsersRequest.d.ts +10 -2
- package/dist/models/ListUsersRequest.js +2 -0
- package/dist/models/ListUsersRequest.js.map +1 -1
- package/dist/models/ListUsersResponseBody.d.ts +11 -11
- package/dist/models/UpdateExternalAgentRequest.d.ts +59 -12
- package/dist/models/UpdateExternalAgentRequest.js +29 -1
- package/dist/models/UpdateExternalAgentRequest.js.map +1 -1
- package/dist/models/UpdateExternalAgentResponseBody.d.ts +175 -34
- package/dist/models/UpdateExternalAgentResponseBody.js +89 -1
- package/dist/models/UpdateExternalAgentResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +11 -0
- package/dist/models/model.js +88 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +6 -2
- package/src/models/CreateExternalAgentRequest.ts +80 -14
- package/src/models/CreateExternalAgentResponseBody.ts +232 -39
- package/src/models/CreateExternalAgentShrinkRequest.ts +1 -1
- package/src/models/GetExternalAgentResponseBody.ts +225 -43
- package/src/models/ListUsersRequest.ts +12 -2
- package/src/models/ListUsersResponseBody.ts +11 -11
- package/src/models/UpdateExternalAgentRequest.ts +78 -12
- package/src/models/UpdateExternalAgentResponseBody.ts +236 -34
- package/src/models/model.ts +11 -0
package/dist/client.d.ts
CHANGED
|
@@ -2123,7 +2123,7 @@ export default class Client extends OpenApi {
|
|
|
2123
2123
|
*/
|
|
2124
2124
|
listTeams(workspaceId: string, request: $_model.ListTeamsRequest): Promise<$_model.ListTeamsResponse>;
|
|
2125
2125
|
/**
|
|
2126
|
-
* Performs a paged query
|
|
2126
|
+
* Performs a paged query for users in a specified workspace. You can use nameLike to filter users by fuzzy match on the username, maxResults to specify the maximum number of records per page for paging, and nextToken to retrieve the next page. If maxResults is not specified, 10 records are returned by default.
|
|
2127
2127
|
*
|
|
2128
2128
|
* @param request - ListUsersRequest
|
|
2129
2129
|
* @param headers - map
|
|
@@ -2134,7 +2134,7 @@ export default class Client extends OpenApi {
|
|
|
2134
2134
|
[key: string]: string;
|
|
2135
2135
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListUsersResponse>;
|
|
2136
2136
|
/**
|
|
2137
|
-
* Performs a paged query
|
|
2137
|
+
* Performs a paged query for users in a specified workspace. You can use nameLike to filter users by fuzzy match on the username, maxResults to specify the maximum number of records per page for paging, and nextToken to retrieve the next page. If maxResults is not specified, 10 records are returned by default.
|
|
2138
2138
|
*
|
|
2139
2139
|
* @param request - ListUsersRequest
|
|
2140
2140
|
* @returns ListUsersResponse
|
package/dist/client.js
CHANGED
|
@@ -4607,7 +4607,7 @@ class Client extends openapi_core_1.default {
|
|
|
4607
4607
|
return await this.listTeamsWithOptions(workspaceId, request, headers, runtime);
|
|
4608
4608
|
}
|
|
4609
4609
|
/**
|
|
4610
|
-
* Performs a paged query
|
|
4610
|
+
* Performs a paged query for users in a specified workspace. You can use nameLike to filter users by fuzzy match on the username, maxResults to specify the maximum number of records per page for paging, and nextToken to retrieve the next page. If maxResults is not specified, 10 records are returned by default.
|
|
4611
4611
|
*
|
|
4612
4612
|
* @param request - ListUsersRequest
|
|
4613
4613
|
* @param headers - map
|
|
@@ -4617,6 +4617,9 @@ class Client extends openapi_core_1.default {
|
|
|
4617
4617
|
async listUsersWithOptions(workspaceId, request, headers, runtime) {
|
|
4618
4618
|
request.validate();
|
|
4619
4619
|
let query = {};
|
|
4620
|
+
if (!$dara.isNull(request.email)) {
|
|
4621
|
+
query["email"] = request.email;
|
|
4622
|
+
}
|
|
4620
4623
|
if (!$dara.isNull(request.maxResults)) {
|
|
4621
4624
|
query["maxResults"] = request.maxResults;
|
|
4622
4625
|
}
|
|
@@ -4647,7 +4650,7 @@ class Client extends openapi_core_1.default {
|
|
|
4647
4650
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListUsersResponse({}));
|
|
4648
4651
|
}
|
|
4649
4652
|
/**
|
|
4650
|
-
* Performs a paged query
|
|
4653
|
+
* Performs a paged query for users in a specified workspace. You can use nameLike to filter users by fuzzy match on the username, maxResults to specify the maximum number of records per page for paging, and nextToken to retrieve the next page. If maxResults is not specified, 10 records are returned by default.
|
|
4651
4654
|
*
|
|
4652
4655
|
* @param request - ListUsersRequest
|
|
4653
4656
|
* @returns ListUsersResponse
|