@alicloud/agentcore20260804 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/dist/client.d.ts +118 -70
  2. package/dist/client.js +178 -70
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAgentImchannelRequest.d.ts +4 -5
  5. package/dist/models/CreateAgentImchannelRequest.js.map +1 -1
  6. package/dist/models/CreateAgentImchannelResponseBody.d.ts +5 -7
  7. package/dist/models/CreateAgentImchannelResponseBody.js.map +1 -1
  8. package/dist/models/CreateAgentImchannelShrinkRequest.d.ts +1 -1
  9. package/dist/models/CreateAgentSpecVersionRequest.d.ts +2 -2
  10. package/dist/models/CreateExternalAgentBootstrapTokenResponseBody.d.ts +6 -6
  11. package/dist/models/CreateExternalAgentRequest.d.ts +53 -6
  12. package/dist/models/CreateExternalAgentRequest.js +31 -1
  13. package/dist/models/CreateExternalAgentRequest.js.map +1 -1
  14. package/dist/models/CreateExternalAgentResponseBody.d.ts +79 -12
  15. package/dist/models/CreateExternalAgentResponseBody.js +37 -1
  16. package/dist/models/CreateExternalAgentResponseBody.js.map +1 -1
  17. package/dist/models/CreateExternalAgentShrinkRequest.d.ts +1 -1
  18. package/dist/models/CreateIdentityProviderRequest.d.ts +7 -5
  19. package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
  20. package/dist/models/CreateIdentityProviderResponseBody.d.ts +4 -2
  21. package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
  22. package/dist/models/CreateManagedAgentRequest.d.ts +89 -17
  23. package/dist/models/CreateManagedAgentRequest.js +31 -1
  24. package/dist/models/CreateManagedAgentRequest.js.map +1 -1
  25. package/dist/models/CreateManagedAgentResponseBody.d.ts +116 -24
  26. package/dist/models/CreateManagedAgentResponseBody.js +37 -1
  27. package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
  28. package/dist/models/CreateManagedAgentShrinkRequest.d.ts +1 -1
  29. package/dist/models/CreateUserRequest.d.ts +4 -4
  30. package/dist/models/CreateUserResponseBody.d.ts +7 -7
  31. package/dist/models/CreateWorkspaceRequest.d.ts +9 -0
  32. package/dist/models/CreateWorkspaceRequest.js.map +1 -1
  33. package/dist/models/CreateWorkspaceResponseBody.d.ts +13 -4
  34. package/dist/models/CreateWorkspaceResponseBody.js.map +1 -1
  35. package/dist/models/DeleteAgentImchannelRequest.d.ts +1 -1
  36. package/dist/models/DisableConnectorResponseBody.d.ts +2 -2
  37. package/dist/models/DownloadAgentSpecViaOssRequest.d.ts +1 -1
  38. package/dist/models/DownloadAgentSpecViaOssResponseBody.d.ts +1 -1
  39. package/dist/models/EnableConnectorRequest.d.ts +1 -1
  40. package/dist/models/EnableConnectorResponseBody.d.ts +4 -4
  41. package/dist/models/GetExternalAgentResponseBody.d.ts +79 -10
  42. package/dist/models/GetExternalAgentResponseBody.js +37 -1
  43. package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
  44. package/dist/models/GetManagedAgentResponseBody.d.ts +112 -20
  45. package/dist/models/GetManagedAgentResponseBody.js +37 -1
  46. package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
  47. package/dist/models/GetServiceEndpointResponseBody.d.ts +8 -12
  48. package/dist/models/GetServiceEndpointResponseBody.js.map +1 -1
  49. package/dist/models/GetUserResponseBody.d.ts +15 -9
  50. package/dist/models/GetUserResponseBody.js.map +1 -1
  51. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +43 -0
  52. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.js +62 -0
  53. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.js.map +1 -0
  54. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.d.ts +19 -0
  55. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.js +69 -0
  56. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.js.map +1 -0
  57. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +110 -0
  58. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js +98 -0
  59. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js.map +1 -0
  60. package/dist/models/GetWorkspaceResponseBody.d.ts +16 -12
  61. package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
  62. package/dist/models/ListAgentImchannelsRequest.d.ts +6 -6
  63. package/dist/models/ListAgentImchannelsResponseBody.d.ts +13 -13
  64. package/dist/models/ListAgentTeamsResponseBody.d.ts +3 -3
  65. package/dist/models/ListConnectorModelsRequest.d.ts +3 -3
  66. package/dist/models/ListConnectorModelsResponseBody.d.ts +7 -9
  67. package/dist/models/ListConnectorModelsResponseBody.js.map +1 -1
  68. package/dist/models/ListConnectorsRequest.d.ts +2 -2
  69. package/dist/models/ListConnectorsResponseBody.d.ts +6 -6
  70. package/dist/models/ListCredentialsResponseBody.d.ts +2 -2
  71. package/dist/models/ListIdentityProvidersResponseBody.d.ts +12 -23
  72. package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
  73. package/dist/models/ListManagedAgentsResponseBody.d.ts +3 -9
  74. package/dist/models/ListManagedAgentsResponseBody.js.map +1 -1
  75. package/dist/models/ListSandboxSessionsRequest.d.ts +4 -1
  76. package/dist/models/ListSandboxSessionsRequest.js.map +1 -1
  77. package/dist/models/ListSandboxSessionsResponseBody.d.ts +80 -0
  78. package/dist/models/ListSandboxSessionsResponseBody.js.map +1 -1
  79. package/dist/models/ListSandboxesRequest.d.ts +6 -3
  80. package/dist/models/ListSandboxesRequest.js.map +1 -1
  81. package/dist/models/ListSandboxesResponseBody.d.ts +108 -0
  82. package/dist/models/ListSandboxesResponseBody.js.map +1 -1
  83. package/dist/models/ListServiceEndpointsRequest.d.ts +1 -1
  84. package/dist/models/ListServiceEndpointsResponseBody.d.ts +9 -9
  85. package/dist/models/ListTeamsRequest.d.ts +2 -2
  86. package/dist/models/ListTeamsResponseBody.d.ts +5 -5
  87. package/dist/models/ListUsersRequest.d.ts +12 -0
  88. package/dist/models/ListUsersRequest.js.map +1 -1
  89. package/dist/models/ListUsersResponseBody.d.ts +64 -2
  90. package/dist/models/ListUsersResponseBody.js.map +1 -1
  91. package/dist/models/ResetUserPasswordResponseBody.d.ts +1 -1
  92. package/dist/models/UpdateAgentSpecResponseBody.d.ts +1 -1
  93. package/dist/models/UpdateConnectorRequest.d.ts +1 -1
  94. package/dist/models/UpdateConnectorResponseBody.d.ts +3 -3
  95. package/dist/models/UpdateCredentialResponseBody.d.ts +1 -1
  96. package/dist/models/UpdateExternalAgentRequest.d.ts +53 -4
  97. package/dist/models/UpdateExternalAgentRequest.js +31 -1
  98. package/dist/models/UpdateExternalAgentRequest.js.map +1 -1
  99. package/dist/models/UpdateExternalAgentResponseBody.d.ts +77 -8
  100. package/dist/models/UpdateExternalAgentResponseBody.js +37 -1
  101. package/dist/models/UpdateExternalAgentResponseBody.js.map +1 -1
  102. package/dist/models/UpdateExternalAgentShrinkRequest.d.ts +1 -1
  103. package/dist/models/UpdateManagedAgentRequest.d.ts +92 -20
  104. package/dist/models/UpdateManagedAgentRequest.js +31 -1
  105. package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
  106. package/dist/models/UpdateManagedAgentResponseBody.d.ts +121 -29
  107. package/dist/models/UpdateManagedAgentResponseBody.js +37 -1
  108. package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
  109. package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
  110. package/dist/models/UpdateUserResponseBody.d.ts +1 -1
  111. package/dist/models/UpdateWorkspaceRequest.d.ts +2 -2
  112. package/dist/models/UpdateWorkspaceResponseBody.d.ts +13 -4
  113. package/dist/models/UpdateWorkspaceResponseBody.js.map +1 -1
  114. package/dist/models/VerifyConnectorRequest.d.ts +1 -1
  115. package/dist/models/VerifyConnectorResponseBody.d.ts +2 -2
  116. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.d.ts +43 -0
  117. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.js +62 -0
  118. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.js.map +1 -0
  119. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.d.ts +19 -0
  120. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.js +69 -0
  121. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.js.map +1 -0
  122. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.d.ts +134 -0
  123. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js +104 -0
  124. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js.map +1 -0
  125. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.d.ts +4 -1
  126. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.js.map +1 -1
  127. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.d.ts +15 -0
  128. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.js.map +1 -1
  129. package/dist/models/model.d.ts +18 -0
  130. package/dist/models/model.js +181 -145
  131. package/dist/models/model.js.map +1 -1
  132. package/package.json +1 -1
  133. package/src/client.ts +188 -70
  134. package/src/models/CreateAgentImchannelRequest.ts +4 -5
  135. package/src/models/CreateAgentImchannelResponseBody.ts +5 -7
  136. package/src/models/CreateAgentImchannelShrinkRequest.ts +1 -1
  137. package/src/models/CreateAgentSpecVersionRequest.ts +2 -2
  138. package/src/models/CreateExternalAgentBootstrapTokenResponseBody.ts +6 -6
  139. package/src/models/CreateExternalAgentRequest.ts +74 -6
  140. package/src/models/CreateExternalAgentResponseBody.ts +106 -12
  141. package/src/models/CreateExternalAgentShrinkRequest.ts +1 -1
  142. package/src/models/CreateIdentityProviderRequest.ts +7 -5
  143. package/src/models/CreateIdentityProviderResponseBody.ts +4 -2
  144. package/src/models/CreateManagedAgentRequest.ts +110 -17
  145. package/src/models/CreateManagedAgentResponseBody.ts +143 -24
  146. package/src/models/CreateManagedAgentShrinkRequest.ts +1 -1
  147. package/src/models/CreateUserRequest.ts +4 -4
  148. package/src/models/CreateUserResponseBody.ts +7 -7
  149. package/src/models/CreateWorkspaceRequest.ts +9 -0
  150. package/src/models/CreateWorkspaceResponseBody.ts +13 -4
  151. package/src/models/DeleteAgentImchannelRequest.ts +1 -1
  152. package/src/models/DisableConnectorResponseBody.ts +2 -2
  153. package/src/models/DownloadAgentSpecViaOssRequest.ts +1 -1
  154. package/src/models/DownloadAgentSpecViaOssResponseBody.ts +1 -1
  155. package/src/models/EnableConnectorRequest.ts +1 -1
  156. package/src/models/EnableConnectorResponseBody.ts +4 -4
  157. package/src/models/GetExternalAgentResponseBody.ts +106 -10
  158. package/src/models/GetManagedAgentResponseBody.ts +139 -20
  159. package/src/models/GetServiceEndpointResponseBody.ts +8 -12
  160. package/src/models/GetUserResponseBody.ts +15 -9
  161. package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +60 -0
  162. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponse.ts +40 -0
  163. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +154 -0
  164. package/src/models/GetWorkspaceResponseBody.ts +16 -12
  165. package/src/models/ListAgentImchannelsRequest.ts +6 -6
  166. package/src/models/ListAgentImchannelsResponseBody.ts +13 -13
  167. package/src/models/ListAgentTeamsResponseBody.ts +3 -3
  168. package/src/models/ListConnectorModelsRequest.ts +3 -3
  169. package/src/models/ListConnectorModelsResponseBody.ts +7 -9
  170. package/src/models/ListConnectorsRequest.ts +2 -2
  171. package/src/models/ListConnectorsResponseBody.ts +6 -6
  172. package/src/models/ListCredentialsResponseBody.ts +2 -2
  173. package/src/models/ListIdentityProvidersResponseBody.ts +12 -23
  174. package/src/models/ListManagedAgentsResponseBody.ts +3 -9
  175. package/src/models/ListSandboxSessionsRequest.ts +4 -1
  176. package/src/models/ListSandboxSessionsResponseBody.ts +80 -0
  177. package/src/models/ListSandboxesRequest.ts +6 -3
  178. package/src/models/ListSandboxesResponseBody.ts +108 -0
  179. package/src/models/ListServiceEndpointsRequest.ts +1 -1
  180. package/src/models/ListServiceEndpointsResponseBody.ts +9 -9
  181. package/src/models/ListTeamsRequest.ts +2 -2
  182. package/src/models/ListTeamsResponseBody.ts +5 -5
  183. package/src/models/ListUsersRequest.ts +12 -0
  184. package/src/models/ListUsersResponseBody.ts +64 -2
  185. package/src/models/ResetUserPasswordResponseBody.ts +1 -1
  186. package/src/models/UpdateAgentSpecResponseBody.ts +1 -1
  187. package/src/models/UpdateConnectorRequest.ts +1 -1
  188. package/src/models/UpdateConnectorResponseBody.ts +3 -3
  189. package/src/models/UpdateCredentialResponseBody.ts +1 -1
  190. package/src/models/UpdateExternalAgentRequest.ts +74 -4
  191. package/src/models/UpdateExternalAgentResponseBody.ts +104 -8
  192. package/src/models/UpdateExternalAgentShrinkRequest.ts +1 -1
  193. package/src/models/UpdateManagedAgentRequest.ts +113 -20
  194. package/src/models/UpdateManagedAgentResponseBody.ts +148 -29
  195. package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
  196. package/src/models/UpdateUserResponseBody.ts +1 -1
  197. package/src/models/UpdateWorkspaceRequest.ts +2 -2
  198. package/src/models/UpdateWorkspaceResponseBody.ts +13 -4
  199. package/src/models/VerifyConnectorRequest.ts +1 -1
  200. package/src/models/VerifyConnectorResponseBody.ts +2 -2
  201. package/src/models/VerifyWorkspaceAcrRamAuthorizationRequest.ts +60 -0
  202. package/src/models/VerifyWorkspaceAcrRamAuthorizationResponse.ts +40 -0
  203. package/src/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.ts +184 -0
  204. package/src/models/VerifyWorkspaceOssMountRamAuthorizationRequest.ts +4 -1
  205. package/src/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.ts +15 -0
  206. package/src/models/model.ts +18 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListTeamsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The maximum number of records to return per page. Valid values: 1 to 100. Default value: 10.
8
+ * The maximum number of records per page. Valid values: 1 to 100. Default value: 10.
9
9
  *
10
10
  * @example
11
11
  * 10
@@ -21,7 +21,7 @@ export class ListTeamsRequest extends $dara.Model {
21
21
  nameLike?: string;
22
22
  /**
23
23
  * @remarks
24
- * 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.
24
+ * The pagination token for the next page. Do not specify this parameter for the first request. For subsequent requests, specify the nextToken value returned in the previous response.
25
25
  *
26
26
  * @example
27
27
  * dGVhbS1vZmZzZXQ6MTA
@@ -116,7 +116,7 @@ export class ListTeamsResponseBodyItems extends $dara.Model {
116
116
  agents?: ListTeamsResponseBodyItemsAgents[];
117
117
  /**
118
118
  * @remarks
119
- * The time when the team was created, in UTC and RFC 3339 format.
119
+ * The creation time in UTC, formatted according to RFC 3339.
120
120
  *
121
121
  * @example
122
122
  * 2026-08-12T03:04:05Z
@@ -127,7 +127,7 @@ export class ListTeamsResponseBodyItems extends $dara.Model {
127
127
  * The team description.
128
128
  *
129
129
  * @example
130
- * Team responsible for the intelligent customer service business
130
+ * A team responsible for intelligent customer service
131
131
  */
132
132
  description?: string;
133
133
  /**
@@ -162,7 +162,7 @@ export class ListTeamsResponseBodyItems extends $dara.Model {
162
162
  teamId?: string;
163
163
  /**
164
164
  * @remarks
165
- * The time when the team was last modified, in UTC and RFC 3339 format.
165
+ * The time of the last modification in UTC, formatted according to RFC 3339.
166
166
  *
167
167
  * @example
168
168
  * 2026-08-12T03:04:05Z
@@ -256,7 +256,7 @@ export class ListTeamsResponseBody extends $dara.Model {
256
256
  maxResults?: number;
257
257
  /**
258
258
  * @remarks
259
- * The response message. An error description is returned if the request fails.
259
+ * The response message. An error description is returned if the request failed.
260
260
  *
261
261
  * @example
262
262
  * success
@@ -264,7 +264,7 @@ export class ListTeamsResponseBody extends $dara.Model {
264
264
  message?: string;
265
265
  /**
266
266
  * @remarks
267
- * The pagination token for the next page. This parameter is empty if no more pages are available.
267
+ * The pagination token for the next page. This value is empty if no more pages are available.
268
268
  *
269
269
  * @example
270
270
  * dGVhbS1vZmZzZXQ6MTA
@@ -4,21 +4,33 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ListUsersRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The maximum number of records per page. Valid values: 1 to 100. Default value: 10.
9
+ *
7
10
  * @example
8
11
  * 10
9
12
  */
10
13
  maxResults?: number;
11
14
  /**
15
+ * @remarks
16
+ * The filter condition for exact match by username.
17
+ *
12
18
  * @example
13
19
  * user-01
14
20
  */
15
21
  name?: string;
16
22
  /**
23
+ * @remarks
24
+ * The filter condition for fuzzy match by username. The value can be up to 128 characters in length.
25
+ *
17
26
  * @example
18
27
  * user
19
28
  */
20
29
  nameLike?: string;
21
30
  /**
31
+ * @remarks
32
+ * 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.
33
+ *
22
34
  * @example
23
35
  * dXNlci1vZmZzZXQ6MTA
24
36
  */
@@ -4,56 +4,89 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ListUsersResponseBodyItems extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The user ID.
9
+ *
7
10
  * @example
8
11
  * usr-123456
9
12
  */
10
13
  agentCoreUserId?: string;
11
14
  /**
15
+ * @remarks
16
+ * 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.
17
+ *
12
18
  * @example
13
19
  * password
14
20
  */
15
21
  authMethod?: string;
16
22
  /**
23
+ * @remarks
24
+ * The creation time in UTC, formatted in RFC 3339.
25
+ *
17
26
  * @example
18
27
  * 2026-08-12T03:04:05Z
19
28
  */
20
29
  createdAt?: string;
21
30
  /**
31
+ * @remarks
32
+ * The display name of the user. The value is 1 to 32 characters in length.
33
+ *
22
34
  * @example
23
- * 张三
35
+ * John Smith
24
36
  */
25
37
  displayName?: string;
26
38
  /**
39
+ * @remarks
40
+ * The email address of the user. The value can be up to 256 characters in length.
41
+ *
27
42
  * @example
28
43
  * user-01@example.com
29
44
  */
30
45
  email?: string;
31
46
  /**
47
+ * @remarks
48
+ * 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.
49
+ *
32
50
  * @example
33
51
  * user-01
34
52
  */
35
53
  name?: string;
36
54
  /**
55
+ * @remarks
56
+ * The remarks of the user. The value can be up to 1024 characters in length.
57
+ *
37
58
  * @example
38
- * 智能体运营组成员
59
+ * Agent operations team member
39
60
  */
40
61
  note?: string;
41
62
  /**
63
+ * @remarks
64
+ * The region ID of the resource.
65
+ *
42
66
  * @example
43
67
  * cn-hangzhou
44
68
  */
45
69
  regionId?: string;
46
70
  /**
71
+ * @remarks
72
+ * The user status. Valid values: Creating, Active, Updating, Deleting, Failed, DeleteFailed.
73
+ *
47
74
  * @example
48
75
  * Active
49
76
  */
50
77
  status?: string;
51
78
  /**
79
+ * @remarks
80
+ * The time of the last modification in UTC, formatted in RFC 3339.
81
+ *
52
82
  * @example
53
83
  * 2026-08-12T03:04:05Z
54
84
  */
55
85
  updatedAt?: string;
56
86
  /**
87
+ * @remarks
88
+ * The workspace ID.
89
+ *
57
90
  * @example
58
91
  * ws-123456
59
92
  */
@@ -101,38 +134,67 @@ export class ListUsersResponseBodyItems extends $dara.Model {
101
134
 
102
135
  export class ListUsersResponseBody extends $dara.Model {
103
136
  /**
137
+ * @remarks
138
+ * The business status code.
139
+ *
104
140
  * @example
105
141
  * SUCCESS
106
142
  */
107
143
  code?: string;
108
144
  /**
145
+ * @remarks
146
+ * The HTTP status code.
147
+ *
109
148
  * @example
110
149
  * 200
111
150
  */
112
151
  httpStatusCode?: number;
152
+ /**
153
+ * @remarks
154
+ * The list of users.
155
+ */
113
156
  items?: ListUsersResponseBodyItems[];
114
157
  /**
158
+ * @remarks
159
+ * The maximum number of records per page that takes effect for this query.
160
+ *
115
161
  * @example
116
162
  * 10
117
163
  */
118
164
  maxResults?: number;
119
165
  /**
166
+ * @remarks
167
+ * The response message. An error description is returned if the request fails.
168
+ *
120
169
  * @example
121
170
  * success
122
171
  */
123
172
  message?: string;
124
173
  /**
174
+ * @remarks
175
+ * The pagination token for the next page. This value is empty if no more pages are available.
176
+ *
125
177
  * @example
126
178
  * dXNlci1vZmZzZXQ6MTA
127
179
  */
128
180
  nextToken?: string;
129
181
  /**
182
+ * @remarks
183
+ * The request ID.
184
+ *
130
185
  * @example
131
186
  * request-123456
132
187
  */
133
188
  requestId?: string;
189
+ /**
190
+ * @remarks
191
+ * Indicates whether the request was successful.
192
+ */
134
193
  success?: boolean;
135
194
  /**
195
+ * @remarks
196
+ * The total number of users that match the query conditions.
197
+ *
136
198
  * @example
137
199
  * 42
138
200
  */
@@ -13,7 +13,7 @@ export class ResetUserPasswordResponseBodyData extends $dara.Model {
13
13
  agentCoreUserId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The password that takes effect after the reset. If password was specified, the specified password is returned. If password was not specified, the random password generated by the server is returned.
16
+ * The password that takes effect after the reset. If password was specified in the request, the specified password is returned. If password was not specified, the random password generated by the server is returned.
17
17
  *
18
18
  * @example
19
19
  * Example@2026
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateAgentSpecResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The response data.
8
+ * The returned data.
9
9
  */
10
10
  data?: boolean;
11
11
  /**
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateConnectorRequestBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * A JSON string. qodercli uses a new apiKey. The value is write-only and is not returned in responses.
8
+ * The Connector configuration JSON string. The site value must match the value specified when the Connector was enabled. The organizationId value, if provided, must match the value specified when the Connector was enabled. If apiKey is omitted, the original value is retained. If serviceAccountKeys is provided, it represents the complete updated key collection.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateConnectorResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The number of Agents attached to the Connector.
8
+ * The number of bound agents.
9
9
  *
10
10
  * @example
11
11
  * 3
@@ -21,7 +21,7 @@ export class UpdateConnectorResponseBodyData extends $dara.Model {
21
21
  enabledAt?: string;
22
22
  /**
23
23
  * @remarks
24
- * A JSON string. For qodercli: {"site":"global|cn","organizationId":"...","apiKey":"...","serviceAccountKeys":[{"id":"ckey-xxx","name":"default","serviceAccountKey":"..."}]}. This field is empty when the Connector is not enabled.
24
+ * The updated Connector configuration JSON string. This is sensitive information.
25
25
  *
26
26
  * @example
27
27
  * {"site":"global","organizationId":"org-xxxx"}
@@ -29,7 +29,7 @@ export class UpdateConnectorResponseBodyData extends $dara.Model {
29
29
  metadata?: string;
30
30
  /**
31
31
  * @remarks
32
- * The Connector name.
32
+ * The Connector name. Currently, the value is qodercli.
33
33
  *
34
34
  * @example
35
35
  * qodercli
@@ -71,7 +71,7 @@ export class UpdateCredentialResponseBodyData extends $dara.Model {
71
71
  credentialId?: string;
72
72
  /**
73
73
  * @remarks
74
- * The masked credential content. If credentialType is apiKey, the apiKey value is returned as asterisks (*) of equal length.
74
+ * The masked credential content. If credentialType is set to apiKey, the apiKey value is returned as asterisks (*) of equal length.
75
75
  *
76
76
  * @example
77
77
  * {"apiKey":"****************"}
@@ -2,6 +2,66 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class UpdateExternalAgentRequestBodyModelQuota extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Specifies whether to enable token quota. Defaults to true if not specified. Set to false to disable and delete existing quota rules.
9
+ *
10
+ * @example
11
+ * true
12
+ */
13
+ enabled?: boolean;
14
+ /**
15
+ * @remarks
16
+ * The quota limit type. Required by backend validation when quota is enabled. Fixed value: token.
17
+ *
18
+ * @example
19
+ * token
20
+ */
21
+ limitType?: string;
22
+ /**
23
+ * @remarks
24
+ * The quota statistical period. Required by backend validation when quota is enabled. Valid values: day (daily) and month (monthly).
25
+ *
26
+ * @example
27
+ * day
28
+ */
29
+ periodType?: string;
30
+ /**
31
+ * @remarks
32
+ * The maximum number of tokens that can be consumed within a single period. Required by backend validation when quota is enabled. The value must be greater than 0.
33
+ *
34
+ * @example
35
+ * 1000000
36
+ */
37
+ usageLimit?: number;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ enabled: 'enabled',
41
+ limitType: 'limitType',
42
+ periodType: 'periodType',
43
+ usageLimit: 'usageLimit',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ enabled: 'boolean',
50
+ limitType: 'string',
51
+ periodType: 'string',
52
+ usageLimit: 'number',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
5
65
  export class UpdateExternalAgentRequestBodyModel extends $dara.Model {
6
66
  /**
7
67
  * @remarks
@@ -23,10 +83,16 @@ export class UpdateExternalAgentRequestBodyModel extends $dara.Model {
23
83
  * qwen-max
24
84
  */
25
85
  modelName?: string;
86
+ /**
87
+ * @remarks
88
+ * The model token quota configuration. If not specified, no quota is configured.
89
+ */
90
+ quota?: UpdateExternalAgentRequestBodyModelQuota;
26
91
  static names(): { [key: string]: string } {
27
92
  return {
28
93
  modelConnectionId: 'modelConnectionId',
29
94
  modelName: 'modelName',
95
+ quota: 'quota',
30
96
  };
31
97
  }
32
98
 
@@ -34,10 +100,14 @@ export class UpdateExternalAgentRequestBodyModel extends $dara.Model {
34
100
  return {
35
101
  modelConnectionId: 'string',
36
102
  modelName: 'string',
103
+ quota: UpdateExternalAgentRequestBodyModelQuota,
37
104
  };
38
105
  }
39
106
 
40
107
  validate() {
108
+ if(this.quota && typeof (this.quota as any).validate === 'function') {
109
+ (this.quota as any).validate();
110
+ }
41
111
  super.validate();
42
112
  }
43
113
 
@@ -231,9 +301,9 @@ export class UpdateExternalAgentRequestBody extends $dara.Model {
231
301
  model?: UpdateExternalAgentRequestBodyModel;
232
302
  /**
233
303
  * @remarks
234
- * The source of the model configuration. Valid values:
235
- * - PLATFORM: The platform parses and delivers the model configuration.
236
- * - RUNTIME: The external runtime manages the model on its own. You cannot specify model at the same time.
304
+ * The model configuration source. PLATFORM indicates that the platform parses and delivers the model configuration. RUNTIME indicates that the external runtime manages the model independently, and the model parameter cannot be specified at the same time. Valid values:
305
+ * - PLATFORM: platform model.
306
+ * - RUNTIME: runtime model.
237
307
  *
238
308
  * @example
239
309
  * PLATFORM
@@ -317,7 +387,7 @@ export class UpdateExternalAgentRequest extends $dara.Model {
317
387
  body?: UpdateExternalAgentRequestBody;
318
388
  /**
319
389
  * @remarks
320
- * The reserved idempotency token. The backend does not guarantee idempotence in the current phase.
390
+ * The reserved idempotency token. The backend does not provide idempotency guarantees in the current phase.
321
391
  *
322
392
  * @example
323
393
  * client-token-1
@@ -75,13 +75,101 @@ export class UpdateExternalAgentResponseBodyDataExternalAgentStatus extends $dar
75
75
  }
76
76
  }
77
77
 
78
+ export class UpdateExternalAgentResponseBodyDataModelQuota extends $dara.Model {
79
+ /**
80
+ * @remarks
81
+ * Indicates whether the quota is enabled. This field is not returned if no quota is configured.
82
+ *
83
+ * @example
84
+ * true
85
+ */
86
+ enabled?: boolean;
87
+ /**
88
+ * @remarks
89
+ * The quota limit type. Currently, only token is supported.
90
+ *
91
+ * @example
92
+ * token
93
+ */
94
+ limitType?: string;
95
+ /**
96
+ * @remarks
97
+ * Indicates whether the quota has been exceeded in the current cycle. This is a read-only field returned by the backend.
98
+ *
99
+ * @example
100
+ * false
101
+ */
102
+ overLimit?: boolean;
103
+ /**
104
+ * @remarks
105
+ * The quota statistical period. day indicates a daily period. month indicates a monthly period.
106
+ *
107
+ * @example
108
+ * day
109
+ */
110
+ periodType?: string;
111
+ /**
112
+ * @remarks
113
+ * The gateway quota rule status. This is a read-only field returned by the backend.
114
+ *
115
+ * @example
116
+ * ACTIVE
117
+ */
118
+ ruleStatus?: string;
119
+ /**
120
+ * @remarks
121
+ * The maximum number of tokens that can be consumed within a single cycle.
122
+ *
123
+ * @example
124
+ * 1000000
125
+ */
126
+ usageLimit?: number;
127
+ /**
128
+ * @remarks
129
+ * The number of tokens consumed in the current cycle. This is a read-only field returned by the backend.
130
+ *
131
+ * @example
132
+ * 12345
133
+ */
134
+ usedAmount?: number;
135
+ static names(): { [key: string]: string } {
136
+ return {
137
+ enabled: 'enabled',
138
+ limitType: 'limitType',
139
+ overLimit: 'overLimit',
140
+ periodType: 'periodType',
141
+ ruleStatus: 'ruleStatus',
142
+ usageLimit: 'usageLimit',
143
+ usedAmount: 'usedAmount',
144
+ };
145
+ }
146
+
147
+ static types(): { [key: string]: any } {
148
+ return {
149
+ enabled: 'boolean',
150
+ limitType: 'string',
151
+ overLimit: 'boolean',
152
+ periodType: 'string',
153
+ ruleStatus: 'string',
154
+ usageLimit: 'number',
155
+ usedAmount: 'number',
156
+ };
157
+ }
158
+
159
+ validate() {
160
+ super.validate();
161
+ }
162
+
163
+ constructor(map?: { [key: string]: any }) {
164
+ super(map);
165
+ }
166
+ }
167
+
78
168
  export class UpdateExternalAgentResponseBodyDataModel extends $dara.Model {
79
169
  /**
80
170
  * @remarks
81
171
  * The model connection ID.
82
172
  *
83
- * This parameter is required.
84
- *
85
173
  * @example
86
174
  * mc-1
87
175
  */
@@ -90,16 +178,20 @@ export class UpdateExternalAgentResponseBodyDataModel extends $dara.Model {
90
178
  * @remarks
91
179
  * The upstream model name.
92
180
  *
93
- * This parameter is required.
94
- *
95
181
  * @example
96
182
  * qwen-max
97
183
  */
98
184
  modelName?: string;
185
+ /**
186
+ * @remarks
187
+ * The model token quota configuration and the quota usage status in the current cycle. This field is empty if no quota is configured.
188
+ */
189
+ quota?: UpdateExternalAgentResponseBodyDataModelQuota;
99
190
  static names(): { [key: string]: string } {
100
191
  return {
101
192
  modelConnectionId: 'modelConnectionId',
102
193
  modelName: 'modelName',
194
+ quota: 'quota',
103
195
  };
104
196
  }
105
197
 
@@ -107,10 +199,14 @@ export class UpdateExternalAgentResponseBodyDataModel extends $dara.Model {
107
199
  return {
108
200
  modelConnectionId: 'string',
109
201
  modelName: 'string',
202
+ quota: UpdateExternalAgentResponseBodyDataModelQuota,
110
203
  };
111
204
  }
112
205
 
113
206
  validate() {
207
+ if(this.quota && typeof (this.quota as any).validate === 'function') {
208
+ (this.quota as any).validate();
209
+ }
114
210
  super.validate();
115
211
  }
116
212
 
@@ -363,9 +459,9 @@ export class UpdateExternalAgentResponseBodyData extends $dara.Model {
363
459
  model?: UpdateExternalAgentResponseBodyDataModel;
364
460
  /**
365
461
  * @remarks
366
- * The source of the model configuration. Valid values:
367
- * - PLATFORM: The platform parses and delivers the model configuration.
368
- * - RUNTIME: The external runtime manages the model on its own. You cannot specify model at the same time.
462
+ * The model configuration source. PLATFORM indicates that the platform parses and delivers the model configuration. RUNTIME indicates that the external runtime manages the model independently, and the model parameter cannot be specified at the same time. Valid values:
463
+ * - PLATFORM: platform model.
464
+ * - RUNTIME: runtime model.
369
465
  *
370
466
  * @example
371
467
  * PLATFORM
@@ -538,7 +634,7 @@ export class UpdateExternalAgentResponseBody extends $dara.Model {
538
634
  httpStatusCode?: number;
539
635
  /**
540
636
  * @remarks
541
- * The message that indicates the result of the request.
637
+ * The request processing result message.
542
638
  *
543
639
  * @example
544
640
  * success
@@ -10,7 +10,7 @@ export class UpdateExternalAgentShrinkRequest extends $dara.Model {
10
10
  bodyShrink?: string;
11
11
  /**
12
12
  * @remarks
13
- * The reserved idempotency token. The backend does not guarantee idempotence in the current phase.
13
+ * The reserved idempotency token. The backend does not provide idempotency guarantees in the current phase.
14
14
  *
15
15
  * @example
16
16
  * client-token-1