@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.
- package/dist/client.d.ts +66 -50
- package/dist/client.js +78 -50
- package/dist/client.js.map +1 -1
- package/dist/models/BatchDeleteModelsRequest.d.ts +9 -0
- package/dist/models/BatchDeleteModelsRequest.js.map +1 -1
- package/dist/models/BatchDeleteModelsResponseBody.d.ts +27 -0
- package/dist/models/BatchDeleteModelsResponseBody.js.map +1 -1
- package/dist/models/BatchDeleteModelsShrinkRequest.d.ts +7 -0
- package/dist/models/BatchDeleteModelsShrinkRequest.js.map +1 -1
- package/dist/models/CreateCredentialRequest.d.ts +18 -2
- package/dist/models/CreateCredentialRequest.js.map +1 -1
- package/dist/models/CreateCredentialResponseBody.d.ts +48 -1
- package/dist/models/CreateCredentialResponseBody.js.map +1 -1
- package/dist/models/CreateCredentialShrinkRequest.d.ts +8 -1
- package/dist/models/CreateCredentialShrinkRequest.js.map +1 -1
- package/dist/models/CreateModelConnectionRequest.d.ts +21 -0
- package/dist/models/CreateModelConnectionRequest.js.map +1 -1
- package/dist/models/CreateModelConnectionResponseBody.d.ts +60 -0
- package/dist/models/CreateModelConnectionResponseBody.js.map +1 -1
- package/dist/models/CreateModelConnectionShrinkRequest.d.ts +7 -0
- package/dist/models/CreateModelConnectionShrinkRequest.js.map +1 -1
- package/dist/models/CreateTeamRequest.d.ts +40 -2
- package/dist/models/CreateTeamRequest.js.map +1 -1
- package/dist/models/CreateTeamResponseBody.d.ts +76 -1
- package/dist/models/CreateTeamResponseBody.js.map +1 -1
- package/dist/models/CreateTeamShrinkRequest.d.ts +8 -1
- package/dist/models/CreateTeamShrinkRequest.js.map +1 -1
- package/dist/models/CreateUserRequest.d.ts +23 -3
- package/dist/models/CreateUserRequest.js.map +1 -1
- package/dist/models/CreateUserResponseBody.d.ts +58 -2
- package/dist/models/CreateUserResponseBody.js.map +1 -1
- package/dist/models/CreateUserShrinkRequest.d.ts +8 -1
- package/dist/models/CreateUserShrinkRequest.js.map +1 -1
- package/dist/models/DebugModelRequest.d.ts +6 -0
- package/dist/models/DebugModelRequest.js.map +1 -1
- package/dist/models/DebugModelResponseBody.d.ts +45 -3
- package/dist/models/DebugModelResponseBody.js.map +1 -1
- package/dist/models/DebugModelShrinkRequest.d.ts +4 -0
- package/dist/models/DebugModelShrinkRequest.js.map +1 -1
- package/dist/models/DeleteCredentialRequest.d.ts +4 -1
- package/dist/models/DeleteCredentialRequest.js.map +1 -1
- package/dist/models/DeleteCredentialResponseBody.d.ts +29 -0
- package/dist/models/DeleteCredentialResponseBody.js.map +1 -1
- package/dist/models/DeleteModelConnectionRequest.d.ts +3 -0
- package/dist/models/DeleteModelConnectionRequest.js.map +1 -1
- package/dist/models/DeleteModelConnectionResponseBody.d.ts +26 -0
- package/dist/models/DeleteModelConnectionResponseBody.js.map +1 -1
- package/dist/models/DeleteModelRequest.d.ts +3 -0
- package/dist/models/DeleteModelRequest.js.map +1 -1
- package/dist/models/DeleteModelResponseBody.d.ts +26 -0
- package/dist/models/DeleteModelResponseBody.js.map +1 -1
- package/dist/models/DeleteTeamRequest.d.ts +4 -1
- package/dist/models/DeleteTeamRequest.js.map +1 -1
- package/dist/models/DeleteTeamResponseBody.d.ts +38 -0
- package/dist/models/DeleteTeamResponseBody.js.map +1 -1
- package/dist/models/DeleteUserRequest.d.ts +4 -1
- package/dist/models/DeleteUserRequest.js.map +1 -1
- package/dist/models/DeleteUserResponseBody.d.ts +29 -0
- package/dist/models/DeleteUserResponseBody.js.map +1 -1
- package/dist/models/GetCredentialResponseBody.d.ts +58 -1
- package/dist/models/GetCredentialResponseBody.js.map +1 -1
- package/dist/models/GetModelConnectionResponseBody.d.ts +67 -0
- package/dist/models/GetModelConnectionResponseBody.js.map +1 -1
- package/dist/models/GetTeamResponseBody.d.ts +131 -4
- package/dist/models/GetTeamResponseBody.js.map +1 -1
- package/dist/models/GetUserResponseBody.d.ts +55 -2
- package/dist/models/GetUserResponseBody.js.map +1 -1
- package/dist/models/ListCredentialsRequest.d.ts +20 -0
- package/dist/models/ListCredentialsRequest.js +2 -0
- package/dist/models/ListCredentialsRequest.js.map +1 -1
- package/dist/models/ListCredentialsResponseBody.d.ts +60 -1
- package/dist/models/ListCredentialsResponseBody.js.map +1 -1
- package/dist/models/ListMcpsRequest.d.ts +21 -1
- package/dist/models/ListMcpsRequest.js +4 -0
- package/dist/models/ListMcpsRequest.js.map +1 -1
- package/dist/models/ListMcpsResponseBody.d.ts +1 -1
- package/dist/models/ListModelConnectionsRequest.d.ts +30 -0
- package/dist/models/ListModelConnectionsRequest.js +2 -0
- package/dist/models/ListModelConnectionsRequest.js.map +1 -1
- package/dist/models/ListModelConnectionsResponseBody.d.ts +79 -0
- package/dist/models/ListModelConnectionsResponseBody.js.map +1 -1
- package/dist/models/ListTeamsRequest.d.ts +9 -0
- package/dist/models/ListTeamsRequest.js.map +1 -1
- package/dist/models/ListTeamsResponseBody.d.ts +89 -1
- package/dist/models/ListTeamsResponseBody.js.map +1 -1
- package/dist/models/ResetUserPasswordRequest.d.ts +13 -0
- package/dist/models/ResetUserPasswordRequest.js.map +1 -1
- package/dist/models/ResetUserPasswordResponseBody.d.ts +29 -0
- package/dist/models/ResetUserPasswordResponseBody.js.map +1 -1
- package/dist/models/ResetUserPasswordShrinkRequest.d.ts +4 -0
- package/dist/models/ResetUserPasswordShrinkRequest.js.map +1 -1
- package/dist/models/UpdateCredentialRequest.d.ts +15 -2
- package/dist/models/UpdateCredentialRequest.js.map +1 -1
- package/dist/models/UpdateCredentialResponseBody.d.ts +48 -1
- package/dist/models/UpdateCredentialResponseBody.js.map +1 -1
- package/dist/models/UpdateCredentialShrinkRequest.d.ts +8 -1
- package/dist/models/UpdateCredentialShrinkRequest.js.map +1 -1
- package/dist/models/UpdateModelRequest.d.ts +3 -3
- package/dist/models/UpdateModelResponseBody.d.ts +7 -7
- package/dist/models/UpdateModelShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateTeamRequest.d.ts +32 -2
- package/dist/models/UpdateTeamRequest.js.map +1 -1
- package/dist/models/UpdateTeamResponseBody.d.ts +62 -1
- package/dist/models/UpdateTeamResponseBody.js.map +1 -1
- package/dist/models/UpdateTeamShrinkRequest.d.ts +8 -1
- package/dist/models/UpdateTeamShrinkRequest.js.map +1 -1
- package/dist/models/UpdateUserRequest.d.ts +19 -3
- package/dist/models/UpdateUserRequest.js.map +1 -1
- package/dist/models/UpdateUserResponseBody.d.ts +55 -2
- package/dist/models/UpdateUserResponseBody.js.map +1 -1
- package/dist/models/UpdateUserShrinkRequest.d.ts +8 -1
- package/dist/models/UpdateUserShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +82 -50
- package/src/models/BatchDeleteModelsRequest.ts +9 -0
- package/src/models/BatchDeleteModelsResponseBody.ts +27 -0
- package/src/models/BatchDeleteModelsShrinkRequest.ts +7 -0
- package/src/models/CreateCredentialRequest.ts +18 -2
- package/src/models/CreateCredentialResponseBody.ts +48 -1
- package/src/models/CreateCredentialShrinkRequest.ts +8 -1
- package/src/models/CreateModelConnectionRequest.ts +21 -0
- package/src/models/CreateModelConnectionResponseBody.ts +60 -0
- package/src/models/CreateModelConnectionShrinkRequest.ts +7 -0
- package/src/models/CreateTeamRequest.ts +40 -2
- package/src/models/CreateTeamResponseBody.ts +76 -1
- package/src/models/CreateTeamShrinkRequest.ts +8 -1
- package/src/models/CreateUserRequest.ts +23 -3
- package/src/models/CreateUserResponseBody.ts +58 -2
- package/src/models/CreateUserShrinkRequest.ts +8 -1
- package/src/models/DebugModelRequest.ts +6 -0
- package/src/models/DebugModelResponseBody.ts +45 -3
- package/src/models/DebugModelShrinkRequest.ts +4 -0
- package/src/models/DeleteCredentialRequest.ts +4 -1
- package/src/models/DeleteCredentialResponseBody.ts +29 -0
- package/src/models/DeleteModelConnectionRequest.ts +3 -0
- package/src/models/DeleteModelConnectionResponseBody.ts +26 -0
- package/src/models/DeleteModelRequest.ts +3 -0
- package/src/models/DeleteModelResponseBody.ts +26 -0
- package/src/models/DeleteTeamRequest.ts +4 -1
- package/src/models/DeleteTeamResponseBody.ts +38 -0
- package/src/models/DeleteUserRequest.ts +4 -1
- package/src/models/DeleteUserResponseBody.ts +29 -0
- package/src/models/GetCredentialResponseBody.ts +58 -1
- package/src/models/GetModelConnectionResponseBody.ts +67 -0
- package/src/models/GetTeamResponseBody.ts +131 -4
- package/src/models/GetUserResponseBody.ts +55 -2
- package/src/models/ListCredentialsRequest.ts +22 -0
- package/src/models/ListCredentialsResponseBody.ts +60 -1
- package/src/models/ListMcpsRequest.ts +25 -1
- package/src/models/ListMcpsResponseBody.ts +1 -1
- package/src/models/ListModelConnectionsRequest.ts +32 -0
- package/src/models/ListModelConnectionsResponseBody.ts +79 -0
- package/src/models/ListTeamsRequest.ts +9 -0
- package/src/models/ListTeamsResponseBody.ts +89 -1
- package/src/models/ResetUserPasswordRequest.ts +13 -0
- package/src/models/ResetUserPasswordResponseBody.ts +29 -0
- package/src/models/ResetUserPasswordShrinkRequest.ts +4 -0
- package/src/models/UpdateCredentialRequest.ts +15 -2
- package/src/models/UpdateCredentialResponseBody.ts +48 -1
- package/src/models/UpdateCredentialShrinkRequest.ts +8 -1
- package/src/models/UpdateModelRequest.ts +3 -3
- package/src/models/UpdateModelResponseBody.ts +7 -7
- package/src/models/UpdateModelShrinkRequest.ts +2 -2
- package/src/models/UpdateTeamRequest.ts +32 -2
- package/src/models/UpdateTeamResponseBody.ts +62 -1
- package/src/models/UpdateTeamShrinkRequest.ts +8 -1
- package/src/models/UpdateUserRequest.ts +19 -3
- package/src/models/UpdateUserResponseBody.ts +55 -2
- package/src/models/UpdateUserShrinkRequest.ts +8 -1
|
@@ -4,13 +4,19 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class UpdateCredentialRequestBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The new credential content. The value is a JSON string. If credentialType is set to apiKey, only the apiKey field can be included, and the value cannot be empty. At least one of credentialMetadata and description must be specified.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* {"apiKey":"sk-example-value"}
|
|
9
12
|
*/
|
|
10
13
|
credentialMetadata?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The new credential description. The description can be up to 256 characters in length. At least one of credentialMetadata and description must be specified.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
|
-
*
|
|
19
|
+
* API Key used for calling model services in the production environment
|
|
14
20
|
*/
|
|
15
21
|
description?: string;
|
|
16
22
|
static names(): { [key: string]: string } {
|
|
@@ -37,10 +43,17 @@ export class UpdateCredentialRequestBody extends $dara.Model {
|
|
|
37
43
|
}
|
|
38
44
|
|
|
39
45
|
export class UpdateCredentialRequest extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The request body for updating the credential.
|
|
49
|
+
*/
|
|
40
50
|
body?: UpdateCredentialRequestBody;
|
|
41
51
|
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* Not supported.
|
|
54
|
+
*
|
|
42
55
|
* @example
|
|
43
|
-
*
|
|
56
|
+
* Not supported
|
|
44
57
|
*/
|
|
45
58
|
clientToken?: string;
|
|
46
59
|
static names(): { [key: string]: string } {
|
|
@@ -4,46 +4,73 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class UpdateCredentialResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The creation time in UTC, formatted according to RFC 3339.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 2026-08-12T03:04:05Z
|
|
9
12
|
*/
|
|
10
13
|
createdAt?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The credential ID.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* cred-123456
|
|
14
20
|
*/
|
|
15
21
|
credentialId?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The masked credential content. If credentialType is set to apiKey, the apiKey value is returned as asterisks (*) of equal length.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* {"apiKey":"****************"}
|
|
19
28
|
*/
|
|
20
29
|
credentialMetadata?: string;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The credential type. Currently, only apiKey is supported.
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* apiKey
|
|
24
36
|
*/
|
|
25
37
|
credentialType?: string;
|
|
26
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The credential description. The description can be up to 256 characters in length.
|
|
41
|
+
*
|
|
27
42
|
* @example
|
|
28
|
-
*
|
|
43
|
+
* API Key used for calling model services in the production environment
|
|
29
44
|
*/
|
|
30
45
|
description?: string;
|
|
31
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The credential name. The name must be unique within the workspace and can contain only letters, digits, periods (.), underscores (_), and hyphens (-). The name must be 3 to 128 characters in length and cannot use runtime reserved names.
|
|
49
|
+
*
|
|
32
50
|
* @example
|
|
33
51
|
* model-api-key
|
|
34
52
|
*/
|
|
35
53
|
name?: string;
|
|
36
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The region ID where the resource resides.
|
|
57
|
+
*
|
|
37
58
|
* @example
|
|
38
59
|
* cn-hangzhou
|
|
39
60
|
*/
|
|
40
61
|
regionId?: string;
|
|
41
62
|
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The time of the most recent modification in UTC, formatted according to RFC 3339.
|
|
65
|
+
*
|
|
42
66
|
* @example
|
|
43
67
|
* 2026-08-12T03:04:05Z
|
|
44
68
|
*/
|
|
45
69
|
updatedAt?: string;
|
|
46
70
|
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The workspace ID.
|
|
73
|
+
*
|
|
47
74
|
* @example
|
|
48
75
|
* ws-123456
|
|
49
76
|
*/
|
|
@@ -87,26 +114,46 @@ export class UpdateCredentialResponseBodyData extends $dara.Model {
|
|
|
87
114
|
|
|
88
115
|
export class UpdateCredentialResponseBody extends $dara.Model {
|
|
89
116
|
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The business status code.
|
|
119
|
+
*
|
|
90
120
|
* @example
|
|
91
121
|
* SUCCESS
|
|
92
122
|
*/
|
|
93
123
|
code?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The updated credential information.
|
|
127
|
+
*/
|
|
94
128
|
data?: UpdateCredentialResponseBodyData;
|
|
95
129
|
/**
|
|
130
|
+
* @remarks
|
|
131
|
+
* The HTTP status code.
|
|
132
|
+
*
|
|
96
133
|
* @example
|
|
97
134
|
* 200
|
|
98
135
|
*/
|
|
99
136
|
httpStatusCode?: number;
|
|
100
137
|
/**
|
|
138
|
+
* @remarks
|
|
139
|
+
* The response message. An error description is returned if the request fails.
|
|
140
|
+
*
|
|
101
141
|
* @example
|
|
102
142
|
* success
|
|
103
143
|
*/
|
|
104
144
|
message?: string;
|
|
105
145
|
/**
|
|
146
|
+
* @remarks
|
|
147
|
+
* The request ID.
|
|
148
|
+
*
|
|
106
149
|
* @example
|
|
107
150
|
* request-123456
|
|
108
151
|
*/
|
|
109
152
|
requestId?: string;
|
|
153
|
+
/**
|
|
154
|
+
* @remarks
|
|
155
|
+
* Indicates whether the request was successful.
|
|
156
|
+
*/
|
|
110
157
|
success?: boolean;
|
|
111
158
|
static names(): { [key: string]: string } {
|
|
112
159
|
return {
|
|
@@ -3,10 +3,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class UpdateCredentialShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request body for updating the credential.
|
|
9
|
+
*/
|
|
6
10
|
bodyShrink?: string;
|
|
7
11
|
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* Not supported.
|
|
14
|
+
*
|
|
8
15
|
* @example
|
|
9
|
-
*
|
|
16
|
+
* Not supported
|
|
10
17
|
*/
|
|
11
18
|
clientToken?: string;
|
|
12
19
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateModelRequestBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The model description.
|
|
8
|
+
* The model description. The maximum length is 255 characters after leading and trailing whitespace is removed. Pass an empty string to clear the description. If this parameter is not provided or set to null, the original value is retained. Modifying only the description does not refresh the model configuration of associated agents.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -37,12 +37,12 @@ export class UpdateModelRequestBody extends $dara.Model {
|
|
|
37
37
|
export class UpdateModelRequest extends $dara.Model {
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The request body.
|
|
40
|
+
* The request body for updating the model. At least one non-null parameter must be provided among description, contextSize, maxTokens, and capabilities.
|
|
41
41
|
*/
|
|
42
42
|
body?: UpdateModelRequestBody;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The client token for idempotence. Not
|
|
45
|
+
* The client token for idempotence. Not supported.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* client-token-1
|
|
@@ -15,12 +15,12 @@ export class UpdateModelResponseBodyDataCapabilities extends $dara.Model {
|
|
|
15
15
|
document?: boolean;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* Indicates whether the model is able to invoke multiple tool
|
|
18
|
+
* Indicates whether the model is able to invoke multiple tool calls in a single response.
|
|
19
19
|
*/
|
|
20
20
|
multiToolCall?: boolean;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* Indicates whether the model supports reasoning
|
|
23
|
+
* Indicates whether the model supports reasoning.
|
|
24
24
|
*/
|
|
25
25
|
reasoning?: boolean;
|
|
26
26
|
/**
|
|
@@ -81,7 +81,7 @@ export class UpdateModelResponseBodyDataCapabilities extends $dara.Model {
|
|
|
81
81
|
export class UpdateModelResponseBodyData extends $dara.Model {
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* The model capability
|
|
84
|
+
* The model capability configuration.
|
|
85
85
|
*/
|
|
86
86
|
capabilities?: UpdateModelResponseBodyDataCapabilities;
|
|
87
87
|
/**
|
|
@@ -94,7 +94,7 @@ export class UpdateModelResponseBodyData extends $dara.Model {
|
|
|
94
94
|
connectionId?: string;
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* The
|
|
97
|
+
* The context window size of the model, in tokens. The value must be a positive integer.
|
|
98
98
|
*
|
|
99
99
|
* @example
|
|
100
100
|
* 128000
|
|
@@ -110,7 +110,7 @@ export class UpdateModelResponseBodyData extends $dara.Model {
|
|
|
110
110
|
createdAt?: string;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* The model description.
|
|
113
|
+
* The model description. The maximum length is 255 characters.
|
|
114
114
|
*
|
|
115
115
|
* @example
|
|
116
116
|
* description
|
|
@@ -118,7 +118,7 @@ export class UpdateModelResponseBodyData extends $dara.Model {
|
|
|
118
118
|
description?: string;
|
|
119
119
|
/**
|
|
120
120
|
* @remarks
|
|
121
|
-
* The maximum number of output tokens supported per model
|
|
121
|
+
* The maximum number of output tokens supported per generation by the model.
|
|
122
122
|
*
|
|
123
123
|
* @example
|
|
124
124
|
* 131072
|
|
@@ -222,7 +222,7 @@ export class UpdateModelResponseBody extends $dara.Model {
|
|
|
222
222
|
httpStatusCode?: number;
|
|
223
223
|
/**
|
|
224
224
|
* @remarks
|
|
225
|
-
* The message of the request
|
|
225
|
+
* The result message of the request.
|
|
226
226
|
*
|
|
227
227
|
* @example
|
|
228
228
|
* success
|
|
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateModelShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The request body.
|
|
8
|
+
* The request body for updating the model. At least one non-null parameter must be provided among description, contextSize, maxTokens, and capabilities.
|
|
9
9
|
*/
|
|
10
10
|
bodyShrink?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The client token for idempotence. Not
|
|
13
|
+
* The client token for idempotence. Not supported.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* client-token-1
|
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class UpdateTeamRequestBodyAgents extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The agent ID.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* agent-123456
|
|
9
12
|
*/
|
|
10
13
|
agentId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The role of the agent in the team. Valid values: LEADER, WORKER.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* WORKER
|
|
14
20
|
*/
|
|
@@ -38,11 +44,17 @@ export class UpdateTeamRequestBodyAgents extends $dara.Model {
|
|
|
38
44
|
|
|
39
45
|
export class UpdateTeamRequestBodyUsers extends $dara.Model {
|
|
40
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The role of the user in the team. Valid values: ADMIN, MEMBER. Each team must have exactly one ADMIN.
|
|
49
|
+
*
|
|
41
50
|
* @example
|
|
42
51
|
* ADMIN
|
|
43
52
|
*/
|
|
44
53
|
teamRole?: string;
|
|
45
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The user ID.
|
|
57
|
+
*
|
|
46
58
|
* @example
|
|
47
59
|
* usr-123456
|
|
48
60
|
*/
|
|
@@ -71,12 +83,23 @@ export class UpdateTeamRequestBodyUsers extends $dara.Model {
|
|
|
71
83
|
}
|
|
72
84
|
|
|
73
85
|
export class UpdateTeamRequestBody extends $dara.Model {
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The new list of agent members. The existing agent members are replaced using full overwrite semantics. If not specified, the current value remains unchanged.
|
|
89
|
+
*/
|
|
74
90
|
agents?: UpdateTeamRequestBodyAgents[];
|
|
75
91
|
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The new team description. If not specified, the current value remains unchanged.
|
|
94
|
+
*
|
|
76
95
|
* @example
|
|
77
|
-
*
|
|
96
|
+
* Team responsible for intelligent customer service
|
|
78
97
|
*/
|
|
79
98
|
description?: string;
|
|
99
|
+
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* The new list of user members. The existing user members are replaced using full overwrite semantics. When this parameter is specified, the list must contain exactly one member with the ADMIN role. If not specified, the current value remains unchanged.
|
|
102
|
+
*/
|
|
80
103
|
users?: UpdateTeamRequestBodyUsers[];
|
|
81
104
|
static names(): { [key: string]: string } {
|
|
82
105
|
return {
|
|
@@ -110,10 +133,17 @@ export class UpdateTeamRequestBody extends $dara.Model {
|
|
|
110
133
|
}
|
|
111
134
|
|
|
112
135
|
export class UpdateTeamRequest extends $dara.Model {
|
|
136
|
+
/**
|
|
137
|
+
* @remarks
|
|
138
|
+
* The request body for updating the team.
|
|
139
|
+
*/
|
|
113
140
|
body?: UpdateTeamRequestBody;
|
|
114
141
|
/**
|
|
142
|
+
* @remarks
|
|
143
|
+
* Not supported.
|
|
144
|
+
*
|
|
115
145
|
* @example
|
|
116
|
-
*
|
|
146
|
+
* Not supported
|
|
117
147
|
*/
|
|
118
148
|
clientToken?: string;
|
|
119
149
|
static names(): { [key: string]: string } {
|
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class UpdateTeamResponseBodyDataAgents extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The agent ID.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* agent-123456
|
|
9
12
|
*/
|
|
10
13
|
agentId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The role of the agent in the team. Valid values: LEADER, WORKER. Each team must have exactly one LEADER.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* WORKER
|
|
14
20
|
*/
|
|
@@ -38,11 +44,17 @@ export class UpdateTeamResponseBodyDataAgents extends $dara.Model {
|
|
|
38
44
|
|
|
39
45
|
export class UpdateTeamResponseBodyDataUsers extends $dara.Model {
|
|
40
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The role of the user in the team. Valid values: ADMIN, MEMBER. Each team must have exactly one ADMIN.
|
|
49
|
+
*
|
|
41
50
|
* @example
|
|
42
51
|
* ADMIN
|
|
43
52
|
*/
|
|
44
53
|
teamRole?: string;
|
|
45
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The user ID.
|
|
57
|
+
*
|
|
46
58
|
* @example
|
|
47
59
|
* usr-123456
|
|
48
60
|
*/
|
|
@@ -71,39 +83,68 @@ export class UpdateTeamResponseBodyDataUsers extends $dara.Model {
|
|
|
71
83
|
}
|
|
72
84
|
|
|
73
85
|
export class UpdateTeamResponseBodyData extends $dara.Model {
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The list of agent members in the team.
|
|
89
|
+
*/
|
|
74
90
|
agents?: UpdateTeamResponseBodyDataAgents[];
|
|
75
91
|
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The creation time in UTC, in RFC 3339 format.
|
|
94
|
+
*
|
|
76
95
|
* @example
|
|
77
96
|
* 2026-08-12T03:04:05Z
|
|
78
97
|
*/
|
|
79
98
|
createdAt?: string;
|
|
80
99
|
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* The team description.
|
|
102
|
+
*
|
|
81
103
|
* @example
|
|
82
|
-
*
|
|
104
|
+
* Team responsible for intelligent customer service
|
|
83
105
|
*/
|
|
84
106
|
description?: string;
|
|
85
107
|
/**
|
|
108
|
+
* @remarks
|
|
109
|
+
* The team name. The name can contain only lowercase letters, digits, and hyphens (-). It must start and end with a lowercase letter or digit. The name must be 1 to 128 characters in length.
|
|
110
|
+
*
|
|
86
111
|
* @example
|
|
87
112
|
* team-01
|
|
88
113
|
*/
|
|
89
114
|
name?: string;
|
|
90
115
|
/**
|
|
116
|
+
* @remarks
|
|
117
|
+
* The team status. Valid values: Creating, Active, Updating, Deleting, Failed, Deleted.
|
|
118
|
+
*
|
|
91
119
|
* @example
|
|
92
120
|
* Active
|
|
93
121
|
*/
|
|
94
122
|
status?: string;
|
|
95
123
|
/**
|
|
124
|
+
* @remarks
|
|
125
|
+
* The team ID.
|
|
126
|
+
*
|
|
96
127
|
* @example
|
|
97
128
|
* tm-123456
|
|
98
129
|
*/
|
|
99
130
|
teamId?: string;
|
|
100
131
|
/**
|
|
132
|
+
* @remarks
|
|
133
|
+
* The time of the last modification in UTC, in RFC 3339 format.
|
|
134
|
+
*
|
|
101
135
|
* @example
|
|
102
136
|
* 2026-08-12T03:04:05Z
|
|
103
137
|
*/
|
|
104
138
|
updatedAt?: string;
|
|
139
|
+
/**
|
|
140
|
+
* @remarks
|
|
141
|
+
* The list of user members in the team.
|
|
142
|
+
*/
|
|
105
143
|
users?: UpdateTeamResponseBodyDataUsers[];
|
|
106
144
|
/**
|
|
145
|
+
* @remarks
|
|
146
|
+
* The workspace ID.
|
|
147
|
+
*
|
|
107
148
|
* @example
|
|
108
149
|
* ws-123456
|
|
109
150
|
*/
|
|
@@ -153,26 +194,46 @@ export class UpdateTeamResponseBodyData extends $dara.Model {
|
|
|
153
194
|
|
|
154
195
|
export class UpdateTeamResponseBody extends $dara.Model {
|
|
155
196
|
/**
|
|
197
|
+
* @remarks
|
|
198
|
+
* The business status code.
|
|
199
|
+
*
|
|
156
200
|
* @example
|
|
157
201
|
* SUCCESS
|
|
158
202
|
*/
|
|
159
203
|
code?: string;
|
|
204
|
+
/**
|
|
205
|
+
* @remarks
|
|
206
|
+
* The updated team information.
|
|
207
|
+
*/
|
|
160
208
|
data?: UpdateTeamResponseBodyData;
|
|
161
209
|
/**
|
|
210
|
+
* @remarks
|
|
211
|
+
* The HTTP status code.
|
|
212
|
+
*
|
|
162
213
|
* @example
|
|
163
214
|
* 200
|
|
164
215
|
*/
|
|
165
216
|
httpStatusCode?: number;
|
|
166
217
|
/**
|
|
218
|
+
* @remarks
|
|
219
|
+
* The response message. An error description is returned if the request fails.
|
|
220
|
+
*
|
|
167
221
|
* @example
|
|
168
222
|
* success
|
|
169
223
|
*/
|
|
170
224
|
message?: string;
|
|
171
225
|
/**
|
|
226
|
+
* @remarks
|
|
227
|
+
* The request ID.
|
|
228
|
+
*
|
|
172
229
|
* @example
|
|
173
230
|
* request-123456
|
|
174
231
|
*/
|
|
175
232
|
requestId?: string;
|
|
233
|
+
/**
|
|
234
|
+
* @remarks
|
|
235
|
+
* Indicates whether the request was successful.
|
|
236
|
+
*/
|
|
176
237
|
success?: boolean;
|
|
177
238
|
static names(): { [key: string]: string } {
|
|
178
239
|
return {
|
|
@@ -3,10 +3,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class UpdateTeamShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request body for updating the team.
|
|
9
|
+
*/
|
|
6
10
|
bodyShrink?: string;
|
|
7
11
|
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* Not supported.
|
|
14
|
+
*
|
|
8
15
|
* @example
|
|
9
|
-
*
|
|
16
|
+
* Not supported
|
|
10
17
|
*/
|
|
11
18
|
clientToken?: string;
|
|
12
19
|
static names(): { [key: string]: string } {
|
|
@@ -4,18 +4,27 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class UpdateUserRequestBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The display name of the user. The name must be 1 to 32 characters in length. At least one of displayName, email, and note must be specified.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
|
-
*
|
|
11
|
+
* John
|
|
9
12
|
*/
|
|
10
13
|
displayName?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The email address of the user. The address can be up to 256 characters in length.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* user-01@example.com
|
|
14
20
|
*/
|
|
15
21
|
email?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The note for the user. The note can be up to 1,024 characters in length.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
|
-
*
|
|
27
|
+
* Agent operations team member
|
|
19
28
|
*/
|
|
20
29
|
note?: string;
|
|
21
30
|
static names(): { [key: string]: string } {
|
|
@@ -44,10 +53,17 @@ export class UpdateUserRequestBody extends $dara.Model {
|
|
|
44
53
|
}
|
|
45
54
|
|
|
46
55
|
export class UpdateUserRequest extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The request body for updating a user.
|
|
59
|
+
*/
|
|
47
60
|
body?: UpdateUserRequestBody;
|
|
48
61
|
/**
|
|
62
|
+
* @remarks
|
|
63
|
+
* Not supported.
|
|
64
|
+
*
|
|
49
65
|
* @example
|
|
50
|
-
*
|
|
66
|
+
* Not supported
|
|
51
67
|
*/
|
|
52
68
|
clientToken?: string;
|
|
53
69
|
static names(): { [key: string]: string } {
|