@alicloud/agentcore20260804 2.2.1 → 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.
Files changed (105) hide show
  1. package/dist/client.d.ts +148 -2
  2. package/dist/client.js +284 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateCustomAgentRequest.d.ts +765 -0
  5. package/dist/models/CreateCustomAgentRequest.js +591 -0
  6. package/dist/models/CreateCustomAgentRequest.js.map +1 -0
  7. package/dist/models/CreateCustomAgentResponse.d.ts +19 -0
  8. package/dist/models/CreateCustomAgentResponse.js +69 -0
  9. package/dist/models/CreateCustomAgentResponse.js.map +1 -0
  10. package/dist/models/CreateCustomAgentResponseBody.d.ts +923 -0
  11. package/dist/models/CreateCustomAgentResponseBody.js +652 -0
  12. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -0
  13. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +26 -0
  14. package/dist/models/CreateCustomAgentShrinkRequest.js +60 -0
  15. package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -0
  16. package/dist/models/CreateExternalAgentRequest.d.ts +61 -14
  17. package/dist/models/CreateExternalAgentRequest.js +29 -1
  18. package/dist/models/CreateExternalAgentRequest.js.map +1 -1
  19. package/dist/models/CreateExternalAgentResponseBody.d.ts +171 -39
  20. package/dist/models/CreateExternalAgentResponseBody.js +89 -1
  21. package/dist/models/CreateExternalAgentResponseBody.js.map +1 -1
  22. package/dist/models/CreateExternalAgentShrinkRequest.d.ts +1 -1
  23. package/dist/models/DeleteCustomAgentRequest.d.ts +13 -0
  24. package/dist/models/DeleteCustomAgentRequest.js +54 -0
  25. package/dist/models/DeleteCustomAgentRequest.js.map +1 -0
  26. package/dist/models/DeleteCustomAgentResponse.d.ts +19 -0
  27. package/dist/models/DeleteCustomAgentResponse.js +69 -0
  28. package/dist/models/DeleteCustomAgentResponse.js.map +1 -0
  29. package/dist/models/DeleteCustomAgentResponseBody.d.ts +155 -0
  30. package/dist/models/DeleteCustomAgentResponseBody.js +110 -0
  31. package/dist/models/DeleteCustomAgentResponseBody.js.map +1 -0
  32. package/dist/models/GetCustomAgentRequest.d.ts +13 -0
  33. package/dist/models/GetCustomAgentRequest.js +54 -0
  34. package/dist/models/GetCustomAgentRequest.js.map +1 -0
  35. package/dist/models/GetCustomAgentResponse.d.ts +19 -0
  36. package/dist/models/GetCustomAgentResponse.js +69 -0
  37. package/dist/models/GetCustomAgentResponse.js.map +1 -0
  38. package/dist/models/GetCustomAgentResponseBody.d.ts +655 -0
  39. package/dist/models/GetCustomAgentResponseBody.js +652 -0
  40. package/dist/models/GetCustomAgentResponseBody.js.map +1 -0
  41. package/dist/models/GetExternalAgentResponseBody.d.ts +164 -43
  42. package/dist/models/GetExternalAgentResponseBody.js +89 -1
  43. package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
  44. package/dist/models/ListCustomAgentsRequest.d.ts +29 -0
  45. package/dist/models/ListCustomAgentsRequest.js +60 -0
  46. package/dist/models/ListCustomAgentsRequest.js.map +1 -0
  47. package/dist/models/ListCustomAgentsResponse.d.ts +19 -0
  48. package/dist/models/ListCustomAgentsResponse.js +69 -0
  49. package/dist/models/ListCustomAgentsResponse.js.map +1 -0
  50. package/dist/models/ListCustomAgentsResponseBody.d.ts +248 -0
  51. package/dist/models/ListCustomAgentsResponseBody.js +171 -0
  52. package/dist/models/ListCustomAgentsResponseBody.js.map +1 -0
  53. package/dist/models/ListUsersRequest.d.ts +12 -4
  54. package/dist/models/ListUsersRequest.js +2 -0
  55. package/dist/models/ListUsersRequest.js.map +1 -1
  56. package/dist/models/ListUsersResponseBody.d.ts +14 -14
  57. package/dist/models/UpdateCustomAgentRequest.d.ts +757 -0
  58. package/dist/models/UpdateCustomAgentRequest.js +591 -0
  59. package/dist/models/UpdateCustomAgentRequest.js.map +1 -0
  60. package/dist/models/UpdateCustomAgentResponse.d.ts +19 -0
  61. package/dist/models/UpdateCustomAgentResponse.js +69 -0
  62. package/dist/models/UpdateCustomAgentResponse.js.map +1 -0
  63. package/dist/models/UpdateCustomAgentResponseBody.d.ts +910 -0
  64. package/dist/models/UpdateCustomAgentResponseBody.js +652 -0
  65. package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -0
  66. package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +26 -0
  67. package/dist/models/UpdateCustomAgentShrinkRequest.js +60 -0
  68. package/dist/models/UpdateCustomAgentShrinkRequest.js.map +1 -0
  69. package/dist/models/UpdateExternalAgentRequest.d.ts +59 -12
  70. package/dist/models/UpdateExternalAgentRequest.js +29 -1
  71. package/dist/models/UpdateExternalAgentRequest.js.map +1 -1
  72. package/dist/models/UpdateExternalAgentResponseBody.d.ts +175 -34
  73. package/dist/models/UpdateExternalAgentResponseBody.js +89 -1
  74. package/dist/models/UpdateExternalAgentResponseBody.js.map +1 -1
  75. package/dist/models/model.d.ts +135 -0
  76. package/dist/models/model.js +337 -65
  77. package/dist/models/model.js.map +1 -1
  78. package/package.json +1 -1
  79. package/src/client.ts +303 -2
  80. package/src/models/CreateCustomAgentRequest.ts +1129 -0
  81. package/src/models/CreateCustomAgentResponse.ts +40 -0
  82. package/src/models/CreateCustomAgentResponseBody.ts +1337 -0
  83. package/src/models/CreateCustomAgentShrinkRequest.ts +41 -0
  84. package/src/models/CreateExternalAgentRequest.ts +80 -14
  85. package/src/models/CreateExternalAgentResponseBody.ts +232 -39
  86. package/src/models/CreateExternalAgentShrinkRequest.ts +1 -1
  87. package/src/models/DeleteCustomAgentRequest.ts +24 -0
  88. package/src/models/DeleteCustomAgentResponse.ts +40 -0
  89. package/src/models/DeleteCustomAgentResponseBody.ts +211 -0
  90. package/src/models/GetCustomAgentRequest.ts +24 -0
  91. package/src/models/GetCustomAgentResponse.ts +40 -0
  92. package/src/models/GetCustomAgentResponseBody.ts +1069 -0
  93. package/src/models/GetExternalAgentResponseBody.ts +225 -43
  94. package/src/models/ListCustomAgentsRequest.ts +44 -0
  95. package/src/models/ListCustomAgentsResponse.ts +40 -0
  96. package/src/models/ListCustomAgentsResponseBody.ts +345 -0
  97. package/src/models/ListUsersRequest.ts +14 -4
  98. package/src/models/ListUsersResponseBody.ts +14 -14
  99. package/src/models/UpdateCustomAgentRequest.ts +1121 -0
  100. package/src/models/UpdateCustomAgentResponse.ts +40 -0
  101. package/src/models/UpdateCustomAgentResponseBody.ts +1324 -0
  102. package/src/models/UpdateCustomAgentShrinkRequest.ts +41 -0
  103. package/src/models/UpdateExternalAgentRequest.ts +78 -12
  104. package/src/models/UpdateExternalAgentResponseBody.ts +236 -34
  105. package/src/models/model.ts +135 -0
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ListCustomAgentsResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ListCustomAgentsResponseBody_1 = require("./ListCustomAgentsResponseBody");
40
+ class ListCustomAgentsResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: ListCustomAgentsResponseBody_1.ListCustomAgentsResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.ListCustomAgentsResponse = ListCustomAgentsResponse;
69
+ //# sourceMappingURL=ListCustomAgentsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListCustomAgentsResponse.js","sourceRoot":"","sources":["../../src/models/ListCustomAgentsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iFAA8E;AAG9E,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAIvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,2DAA4B;SACnC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,4DAiCC"}
@@ -0,0 +1,248 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListCustomAgentsResponseBodyItemsProtocolPaths extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The description of the purpose of the current API path.
6
+ *
7
+ * @example
8
+ * AG-UI conversation API
9
+ */
10
+ description?: string;
11
+ /**
12
+ * @remarks
13
+ * The API path corresponding to the current protocol.
14
+ *
15
+ * This parameter is required.
16
+ *
17
+ * @example
18
+ * /agui
19
+ */
20
+ name?: string;
21
+ static names(): {
22
+ [key: string]: string;
23
+ };
24
+ static types(): {
25
+ [key: string]: any;
26
+ };
27
+ validate(): void;
28
+ constructor(map?: {
29
+ [key: string]: any;
30
+ });
31
+ }
32
+ export declare class ListCustomAgentsResponseBodyItemsProtocol extends $dara.Model {
33
+ /**
34
+ * @remarks
35
+ * The request header configuration of the current protocol. The key is the header name and the value is a string.
36
+ */
37
+ headers?: {
38
+ [key: string]: string;
39
+ };
40
+ /**
41
+ * @remarks
42
+ * The list of API paths corresponding to the current protocol.
43
+ */
44
+ paths?: ListCustomAgentsResponseBodyItemsProtocolPaths[];
45
+ /**
46
+ * @remarks
47
+ * The invoke Protocol Type. Valid values: agui: AG-UI protocol. openai-chat-completion: OpenAI Chat Completions compatible protocol. custom: custom protocol.
48
+ *
49
+ * This parameter is required.
50
+ *
51
+ * @example
52
+ * agui
53
+ */
54
+ type?: string;
55
+ static names(): {
56
+ [key: string]: string;
57
+ };
58
+ static types(): {
59
+ [key: string]: any;
60
+ };
61
+ validate(): void;
62
+ constructor(map?: {
63
+ [key: string]: any;
64
+ });
65
+ }
66
+ export declare class ListCustomAgentsResponseBodyItems extends $dara.Model {
67
+ /**
68
+ * @remarks
69
+ * The unique identifier of the custom agent. You can obtain the value from the response of CreateCustomAgent or ListCustomAgents.
70
+ *
71
+ * @example
72
+ * agent-550e8400e29b41d4a716446655440000
73
+ */
74
+ agentId?: string;
75
+ /**
76
+ * @remarks
77
+ * The creation method of the agent. The value is CUSTOM for custom agents.
78
+ *
79
+ * @example
80
+ * CUSTOM
81
+ */
82
+ createMode?: string;
83
+ /**
84
+ * @remarks
85
+ * The time when the agent was created. The time is displayed in ISO 8601 format. The trailing Z indicates the UTC time zone. Fractional seconds may be included.
86
+ *
87
+ * @example
88
+ * 2026-10-10T06:00:00Z
89
+ */
90
+ createdAt?: string;
91
+ /**
92
+ * @remarks
93
+ * The deployment method of the agent. Custom agents are deployed and managed by the platform. The value is MANAGED.
94
+ *
95
+ * @example
96
+ * MANAGED
97
+ */
98
+ deployType?: string;
99
+ /**
100
+ * @remarks
101
+ * The description of the agent\\"s purpose.
102
+ *
103
+ * @example
104
+ * Custom agent that provides conversation services
105
+ */
106
+ description?: string;
107
+ /**
108
+ * @remarks
109
+ * The latest configuration version number. Updates with the same configuration may retain the original version number. This field does not indicate that the configuration has taken effect.
110
+ *
111
+ * @example
112
+ * 1
113
+ */
114
+ latestSpecVersion?: number;
115
+ /**
116
+ * @remarks
117
+ * The name of the custom agent.
118
+ *
119
+ * @example
120
+ * my-custom-agent
121
+ */
122
+ name?: string;
123
+ /**
124
+ * @remarks
125
+ * The list of invocation protocol configurations for the agent.
126
+ */
127
+ protocol?: ListCustomAgentsResponseBodyItemsProtocol[];
128
+ /**
129
+ * @remarks
130
+ * The compute specifications of the agent. Valid values: INTERACTIVE, STANDARD, and HEAVY.
131
+ *
132
+ * @example
133
+ * STANDARD
134
+ */
135
+ runtime?: string;
136
+ /**
137
+ * @remarks
138
+ * The overall status of the agent. Valid values: Creating: The agent is being created. Running: The agent is running. Failed: The agent failed to run. Updating: The agent is being updated. Deleting: The agent is being deleted. Deleted: The agent is deleted. To query the execution progress of the latest configuration, call GetCustomAgent.
139
+ *
140
+ * @example
141
+ * Running
142
+ */
143
+ status?: string;
144
+ /**
145
+ * @remarks
146
+ * The time when the agent was last updated. The time is displayed in ISO 8601 format. The trailing Z indicates the UTC time zone. Fractional seconds may be included.
147
+ *
148
+ * @example
149
+ * 2026-10-10T06:05:00Z
150
+ */
151
+ updatedAt?: string;
152
+ /**
153
+ * @remarks
154
+ * The ID of the workspace to which the custom agent belongs.
155
+ *
156
+ * @example
157
+ * ws-a1b2c3d4e5f6
158
+ */
159
+ workspaceId?: string;
160
+ static names(): {
161
+ [key: string]: string;
162
+ };
163
+ static types(): {
164
+ [key: string]: any;
165
+ };
166
+ validate(): void;
167
+ constructor(map?: {
168
+ [key: string]: any;
169
+ });
170
+ }
171
+ export declare class ListCustomAgentsResponseBody extends $dara.Model {
172
+ /**
173
+ * @remarks
174
+ * The result code of the request. The value is SUCCESS if the request is successful.
175
+ *
176
+ * @example
177
+ * SUCCESS
178
+ */
179
+ code?: string;
180
+ /**
181
+ * @remarks
182
+ * The HTTP status code of the request. The value is 200 if the request is successful.
183
+ *
184
+ * @example
185
+ * 200
186
+ */
187
+ httpStatusCode?: number;
188
+ /**
189
+ * @remarks
190
+ * The list of custom agent summaries on the current page. To obtain the complete configuration and the execution results of the latest version, call GetCustomAgent.
191
+ */
192
+ items?: ListCustomAgentsResponseBodyItems[];
193
+ /**
194
+ * @remarks
195
+ * The maximum number of entries returned per page for this query.
196
+ *
197
+ * @example
198
+ * 20
199
+ */
200
+ maxResults?: number;
201
+ /**
202
+ * @remarks
203
+ * The description of the processing result for this request. The value is success if the request is successful.
204
+ *
205
+ * @example
206
+ * success
207
+ */
208
+ message?: string;
209
+ /**
210
+ * @remarks
211
+ * The opaque token used to query the next page. An empty value indicates that there are no more pages. Pass the token as is in subsequent requests.
212
+ *
213
+ * @example
214
+ * djE6YWdlbnRjb3JlLmFnZW50Lmxpc3QuY3VzdG9tOjIw
215
+ */
216
+ nextToken?: string;
217
+ /**
218
+ * @remarks
219
+ * The unique identifier of the request. You can use the ID to locate and troubleshoot issues.
220
+ *
221
+ * @example
222
+ * 550E8400-E29B-41D4-A716-446655440000
223
+ */
224
+ requestId?: string;
225
+ /**
226
+ * @remarks
227
+ * Indicates whether the request was processed successfully. true indicates that the request was processed successfully. A successful creation, update, or deletion does not mean that the background operation is complete.
228
+ */
229
+ success?: boolean;
230
+ /**
231
+ * @remarks
232
+ * The total number of custom agents that meet the query conditions in the specified workspace.
233
+ *
234
+ * @example
235
+ * 40
236
+ */
237
+ totalCount?: number;
238
+ static names(): {
239
+ [key: string]: string;
240
+ };
241
+ static types(): {
242
+ [key: string]: any;
243
+ };
244
+ validate(): void;
245
+ constructor(map?: {
246
+ [key: string]: any;
247
+ });
248
+ }
@@ -0,0 +1,171 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ListCustomAgentsResponseBody = exports.ListCustomAgentsResponseBodyItems = exports.ListCustomAgentsResponseBodyItemsProtocol = exports.ListCustomAgentsResponseBodyItemsProtocolPaths = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListCustomAgentsResponseBodyItemsProtocolPaths extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ description: 'description',
43
+ name: 'name',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ description: 'string',
49
+ name: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.ListCustomAgentsResponseBodyItemsProtocolPaths = ListCustomAgentsResponseBodyItemsProtocolPaths;
60
+ class ListCustomAgentsResponseBodyItemsProtocol extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ headers: 'headers',
64
+ paths: 'paths',
65
+ type: 'type',
66
+ };
67
+ }
68
+ static types() {
69
+ return {
70
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
71
+ paths: { 'type': 'array', 'itemType': ListCustomAgentsResponseBodyItemsProtocolPaths },
72
+ type: 'string',
73
+ };
74
+ }
75
+ validate() {
76
+ if (this.headers) {
77
+ $dara.Model.validateMap(this.headers);
78
+ }
79
+ if (Array.isArray(this.paths)) {
80
+ $dara.Model.validateArray(this.paths);
81
+ }
82
+ super.validate();
83
+ }
84
+ constructor(map) {
85
+ super(map);
86
+ }
87
+ }
88
+ exports.ListCustomAgentsResponseBodyItemsProtocol = ListCustomAgentsResponseBodyItemsProtocol;
89
+ class ListCustomAgentsResponseBodyItems extends $dara.Model {
90
+ static names() {
91
+ return {
92
+ agentId: 'agentId',
93
+ createMode: 'createMode',
94
+ createdAt: 'createdAt',
95
+ deployType: 'deployType',
96
+ description: 'description',
97
+ latestSpecVersion: 'latestSpecVersion',
98
+ name: 'name',
99
+ protocol: 'protocol',
100
+ runtime: 'runtime',
101
+ status: 'status',
102
+ updatedAt: 'updatedAt',
103
+ workspaceId: 'workspaceId',
104
+ };
105
+ }
106
+ static types() {
107
+ return {
108
+ agentId: 'string',
109
+ createMode: 'string',
110
+ createdAt: 'string',
111
+ deployType: 'string',
112
+ description: 'string',
113
+ latestSpecVersion: 'number',
114
+ name: 'string',
115
+ protocol: { 'type': 'array', 'itemType': ListCustomAgentsResponseBodyItemsProtocol },
116
+ runtime: 'string',
117
+ status: 'string',
118
+ updatedAt: 'string',
119
+ workspaceId: 'string',
120
+ };
121
+ }
122
+ validate() {
123
+ if (Array.isArray(this.protocol)) {
124
+ $dara.Model.validateArray(this.protocol);
125
+ }
126
+ super.validate();
127
+ }
128
+ constructor(map) {
129
+ super(map);
130
+ }
131
+ }
132
+ exports.ListCustomAgentsResponseBodyItems = ListCustomAgentsResponseBodyItems;
133
+ class ListCustomAgentsResponseBody extends $dara.Model {
134
+ static names() {
135
+ return {
136
+ code: 'code',
137
+ httpStatusCode: 'httpStatusCode',
138
+ items: 'items',
139
+ maxResults: 'maxResults',
140
+ message: 'message',
141
+ nextToken: 'nextToken',
142
+ requestId: 'requestId',
143
+ success: 'success',
144
+ totalCount: 'totalCount',
145
+ };
146
+ }
147
+ static types() {
148
+ return {
149
+ code: 'string',
150
+ httpStatusCode: 'number',
151
+ items: { 'type': 'array', 'itemType': ListCustomAgentsResponseBodyItems },
152
+ maxResults: 'number',
153
+ message: 'string',
154
+ nextToken: 'string',
155
+ requestId: 'string',
156
+ success: 'boolean',
157
+ totalCount: 'number',
158
+ };
159
+ }
160
+ validate() {
161
+ if (Array.isArray(this.items)) {
162
+ $dara.Model.validateArray(this.items);
163
+ }
164
+ super.validate();
165
+ }
166
+ constructor(map) {
167
+ super(map);
168
+ }
169
+ }
170
+ exports.ListCustomAgentsResponseBody = ListCustomAgentsResponseBody;
171
+ //# sourceMappingURL=ListCustomAgentsResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListCustomAgentsResponseBody.js","sourceRoot":"","sources":["../../src/models/ListCustomAgentsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8CAA+C,SAAQ,KAAK,CAAC,KAAK;IAmB7E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxCD,wGAwCC;AAED,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IAqBxE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;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AK,CAAC,CAAC;QACxC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzGD,oEAyGC"}
@@ -2,7 +2,15 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ListUsersRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The maximum number of records per page. Valid values: 1 to 100. Default value: 10.
5
+ * The filter condition for exact match on the email address.
6
+ *
7
+ * @example
8
+ * xxx@xxx.com
9
+ */
10
+ email?: string;
11
+ /**
12
+ * @remarks
13
+ * The maximum number of records to return per page. Valid values: 1 to 100. If this parameter is not specified, 10 records are returned by default.
6
14
  *
7
15
  * @example
8
16
  * 10
@@ -10,7 +18,7 @@ export declare class ListUsersRequest extends $dara.Model {
10
18
  maxResults?: number;
11
19
  /**
12
20
  * @remarks
13
- * The filter condition for exact match by username.
21
+ * The filter condition for exact match on the user name.
14
22
  *
15
23
  * @example
16
24
  * user-01
@@ -18,7 +26,7 @@ export declare class ListUsersRequest extends $dara.Model {
18
26
  name?: string;
19
27
  /**
20
28
  * @remarks
21
- * The filter condition for fuzzy match by username. The value can be up to 128 characters in length.
29
+ * The filter condition for fuzzy match on the user name. The value can be up to 128 characters in length.
22
30
  *
23
31
  * @example
24
32
  * user
@@ -26,7 +34,7 @@ export declare class ListUsersRequest extends $dara.Model {
26
34
  nameLike?: string;
27
35
  /**
28
36
  * @remarks
29
- * The pagination token for the next page. Do not specify this parameter for the first request. For subsequent requests, set this parameter to the nextToken value returned in the previous response.
37
+ * The cursor for querying the next page. Do not specify this parameter in the first call. In subsequent calls, specify the nextToken value returned in the previous call.
30
38
  *
31
39
  * @example
32
40
  * dXNlci1vZmZzZXQ6MTA
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class ListUsersRequest extends $dara.Model {
40
40
  static names() {
41
41
  return {
42
+ email: 'email',
42
43
  maxResults: 'maxResults',
43
44
  name: 'name',
44
45
  nameLike: 'nameLike',
@@ -47,6 +48,7 @@ class ListUsersRequest extends $dara.Model {
47
48
  }
48
49
  static types() {
49
50
  return {
51
+ email: 'string',
50
52
  maxResults: 'number',
51
53
  name: 'string',
52
54
  nameLike: 'string',
@@ -1 +1 @@
1
- {"version":3,"file":"ListUsersRequest.js","sourceRoot":"","sources":["../../src/models/ListUsersRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gBAAiB,SAAQ,KAAK,CAAC,KAAK;IAiC/C,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1DD,4CA0DC"}
1
+ {"version":3,"file":"ListUsersRequest.js","sourceRoot":"","sources":["../../src/models/ListUsersRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gBAAiB,SAAQ,KAAK,CAAC,KAAK;IAyC/C,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,4CAoEC"}
@@ -10,7 +10,7 @@ export declare class ListUsersResponseBodyItems extends $dara.Model {
10
10
  agentCoreUserId?: string;
11
11
  /**
12
12
  * @remarks
13
- * The authentication method of the user. A value of password indicates local password authentication in the workspace. Values of dingtalk and feishu indicate that the user is synchronized and authenticated by the corresponding external identity provider.
13
+ * The authentication method of the user. A value of password indicates that local password authentication in the workspace is used. A value of dingtalk or feishu indicates that the user is synchronized and authenticated by the corresponding external identity provider.
14
14
  *
15
15
  * @example
16
16
  * password
@@ -18,7 +18,7 @@ export declare class ListUsersResponseBodyItems extends $dara.Model {
18
18
  authMethod?: string;
19
19
  /**
20
20
  * @remarks
21
- * The creation time in UTC, formatted in RFC 3339.
21
+ * The creation time in UTC format based on RFC 3339.
22
22
  *
23
23
  * @example
24
24
  * 2026-08-12T03:04:05Z
@@ -26,15 +26,15 @@ export declare class ListUsersResponseBodyItems extends $dara.Model {
26
26
  createdAt?: string;
27
27
  /**
28
28
  * @remarks
29
- * The display name of the user. The value is 1 to 32 characters in length.
29
+ * The display name of the user. The name must be 1 to 32 characters in length.
30
30
  *
31
31
  * @example
32
- * John Smith
32
+ * Zhang San
33
33
  */
34
34
  displayName?: string;
35
35
  /**
36
36
  * @remarks
37
- * The email address of the user. The value can be up to 256 characters in length.
37
+ * The email address of the user. The email address can be up to 256 characters in length.
38
38
  *
39
39
  * @example
40
40
  * user-01@example.com
@@ -42,7 +42,7 @@ export declare class ListUsersResponseBodyItems extends $dara.Model {
42
42
  email?: string;
43
43
  /**
44
44
  * @remarks
45
- * The username. The value must be unique within the workspace and can contain only lowercase letters, digits, and hyphens (-). It must start and end with a lowercase letter or digit. The value is 1 to 32 characters in length.
45
+ * The user name. The name must be unique within the workspace, contain only lowercase letters, digits, and hyphens, start and end with a lowercase letter or a digit, and be 1 to 32 characters in length.
46
46
  *
47
47
  * @example
48
48
  * user-01
@@ -50,10 +50,10 @@ export declare class ListUsersResponseBodyItems extends $dara.Model {
50
50
  name?: string;
51
51
  /**
52
52
  * @remarks
53
- * The remarks of the user. The value can be up to 1024 characters in length.
53
+ * The user remarks. The remarks can be up to 1,024 characters in length.
54
54
  *
55
55
  * @example
56
- * Agent operations team member
56
+ * Member of the agent operations team
57
57
  */
58
58
  note?: string;
59
59
  /**
@@ -66,7 +66,7 @@ export declare class ListUsersResponseBodyItems extends $dara.Model {
66
66
  regionId?: string;
67
67
  /**
68
68
  * @remarks
69
- * The user status. Valid values: Creating, Active, Updating, Deleting, Failed, DeleteFailed.
69
+ * The user status. Valid values: Creating, Active, Updating, Deleting, Failed, and DeleteFailed.
70
70
  *
71
71
  * @example
72
72
  * Active
@@ -74,7 +74,7 @@ export declare class ListUsersResponseBodyItems extends $dara.Model {
74
74
  status?: string;
75
75
  /**
76
76
  * @remarks
77
- * The time of the last modification in UTC, formatted in RFC 3339.
77
+ * The last modification time in UTC format based on RFC 3339.
78
78
  *
79
79
  * @example
80
80
  * 2026-08-12T03:04:05Z
@@ -123,7 +123,7 @@ export declare class ListUsersResponseBody extends $dara.Model {
123
123
  items?: ListUsersResponseBodyItems[];
124
124
  /**
125
125
  * @remarks
126
- * The maximum number of records per page that takes effect for this query.
126
+ * The maximum number of records per page that takes effect in this query.
127
127
  *
128
128
  * @example
129
129
  * 10
@@ -139,7 +139,7 @@ export declare class ListUsersResponseBody extends $dara.Model {
139
139
  message?: string;
140
140
  /**
141
141
  * @remarks
142
- * The pagination token for the next page. This value is empty if no more pages are available.
142
+ * The cursor for the next page. This parameter is empty if no next page exists.
143
143
  *
144
144
  * @example
145
145
  * dXNlci1vZmZzZXQ6MTA
@@ -155,12 +155,12 @@ export declare class ListUsersResponseBody extends $dara.Model {
155
155
  requestId?: string;
156
156
  /**
157
157
  * @remarks
158
- * Indicates whether the request was successful.
158
+ * Indicates whether the request is successful.
159
159
  */
160
160
  success?: boolean;
161
161
  /**
162
162
  * @remarks
163
- * The total number of users that match the query conditions.
163
+ * The total number of users that meet the query conditions.
164
164
  *
165
165
  * @example
166
166
  * 42