@alicloud/dms20250414 1.23.0 → 1.24.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.
- package/dist/client.d.ts +68 -8
- package/dist/client.js +212 -10
- package/dist/client.js.map +1 -1
- package/dist/models/AgenticKnowledgeView.d.ts +35 -0
- package/dist/models/AgenticKnowledgeView.js +99 -0
- package/dist/models/AgenticKnowledgeView.js.map +1 -0
- package/dist/models/CreateDataAgentSkillMetaRequest.d.ts +46 -0
- package/dist/models/CreateDataAgentSkillMetaRequest.js +64 -0
- package/dist/models/CreateDataAgentSkillMetaRequest.js.map +1 -0
- package/dist/models/CreateDataAgentSkillMetaResponse.d.ts +19 -0
- package/dist/models/CreateDataAgentSkillMetaResponse.js +69 -0
- package/dist/models/CreateDataAgentSkillMetaResponse.js.map +1 -0
- package/dist/models/CreateDataAgentSkillMetaResponseBody.d.ts +181 -0
- package/dist/models/CreateDataAgentSkillMetaResponseBody.js +114 -0
- package/dist/models/CreateDataAgentSkillMetaResponseBody.js.map +1 -0
- package/dist/models/DeleteDataAgentSkillMetaRequest.d.ts +31 -0
- package/dist/models/DeleteDataAgentSkillMetaRequest.js +60 -0
- package/dist/models/DeleteDataAgentSkillMetaRequest.js.map +1 -0
- package/dist/models/DeleteDataAgentSkillMetaResponse.d.ts +19 -0
- package/dist/models/DeleteDataAgentSkillMetaResponse.js +69 -0
- package/dist/models/DeleteDataAgentSkillMetaResponse.js.map +1 -0
- package/dist/models/DeleteDataAgentSkillMetaResponseBody.d.ts +84 -0
- package/dist/models/DeleteDataAgentSkillMetaResponseBody.js +90 -0
- package/dist/models/DeleteDataAgentSkillMetaResponseBody.js.map +1 -0
- package/dist/models/DescribeSkillFileUploadSignatureRequest.d.ts +21 -0
- package/dist/models/DescribeSkillFileUploadSignatureRequest.js +58 -0
- package/dist/models/DescribeSkillFileUploadSignatureRequest.js.map +1 -0
- package/dist/models/DescribeSkillFileUploadSignatureResponse.d.ts +19 -0
- package/dist/models/DescribeSkillFileUploadSignatureResponse.js +69 -0
- package/dist/models/DescribeSkillFileUploadSignatureResponse.js.map +1 -0
- package/dist/models/DescribeSkillFileUploadSignatureResponseBody.d.ts +123 -0
- package/dist/models/DescribeSkillFileUploadSignatureResponseBody.js +102 -0
- package/dist/models/DescribeSkillFileUploadSignatureResponseBody.js.map +1 -0
- package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.d.ts +1 -0
- package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.js +5 -0
- package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.d.ts +3 -3
- package/dist/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.d.ts +47 -0
- package/dist/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.js +68 -0
- package/dist/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.js.map +1 -0
- package/dist/models/GetDataAgentTaskModelUsageRequest.d.ts +3 -2
- package/dist/models/GetDataAgentTaskModelUsageRequest.js +5 -0
- package/dist/models/GetDataAgentTaskModelUsageRequest.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.d.ts +5 -5
- package/dist/models/GetDataAgentTaskModelUsageShrinkRequest.d.ts +47 -0
- package/dist/models/GetDataAgentTaskModelUsageShrinkRequest.js +68 -0
- package/dist/models/GetDataAgentTaskModelUsageShrinkRequest.js.map +1 -0
- package/dist/models/ListDataAgentSkillMetaRequest.d.ts +72 -0
- package/dist/models/ListDataAgentSkillMetaRequest.js +70 -0
- package/dist/models/ListDataAgentSkillMetaRequest.js.map +1 -0
- package/dist/models/ListDataAgentSkillMetaResponse.d.ts +19 -0
- package/dist/models/ListDataAgentSkillMetaResponse.js +69 -0
- package/dist/models/ListDataAgentSkillMetaResponse.js.map +1 -0
- package/dist/models/ListDataAgentSkillMetaResponseBody.d.ts +233 -0
- package/dist/models/ListDataAgentSkillMetaResponseBody.js +144 -0
- package/dist/models/ListDataAgentSkillMetaResponseBody.js.map +1 -0
- package/dist/models/ModifyDataAgentThemeRequest.d.ts +9 -0
- package/dist/models/ModifyDataAgentThemeRequest.js.map +1 -1
- package/dist/models/ModifyDataAgentThemeResponseBody.d.ts +16 -0
- package/dist/models/ModifyDataAgentThemeResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +20 -0
- package/dist/models/model.js +53 -13
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +238 -10
- package/src/models/AgenticKnowledgeView.ts +87 -0
- package/src/models/CreateDataAgentSkillMetaRequest.ts +65 -0
- package/src/models/CreateDataAgentSkillMetaResponse.ts +40 -0
- package/src/models/CreateDataAgentSkillMetaResponseBody.ts +241 -0
- package/src/models/DeleteDataAgentSkillMetaRequest.ts +46 -0
- package/src/models/DeleteDataAgentSkillMetaResponse.ts +40 -0
- package/src/models/DeleteDataAgentSkillMetaResponseBody.ts +120 -0
- package/src/models/DescribeSkillFileUploadSignatureRequest.ts +34 -0
- package/src/models/DescribeSkillFileUploadSignatureResponse.ts +40 -0
- package/src/models/DescribeSkillFileUploadSignatureResponseBody.ts +171 -0
- package/src/models/GetDataAgentTaskModelUsageMetricsRequest.ts +6 -0
- package/src/models/GetDataAgentTaskModelUsageMetricsResponseBody.ts +3 -3
- package/src/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.ts +70 -0
- package/src/models/GetDataAgentTaskModelUsageRequest.ts +8 -2
- package/src/models/GetDataAgentTaskModelUsageResponseBody.ts +5 -5
- package/src/models/GetDataAgentTaskModelUsageShrinkRequest.ts +70 -0
- package/src/models/ListDataAgentSkillMetaRequest.ts +97 -0
- package/src/models/ListDataAgentSkillMetaResponse.ts +40 -0
- package/src/models/ListDataAgentSkillMetaResponseBody.ts +314 -0
- package/src/models/ModifyDataAgentThemeRequest.ts +9 -0
- package/src/models/ModifyDataAgentThemeResponseBody.ts +16 -0
- package/src/models/model.ts +20 -0
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateDataAgentSkillMetaResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The Alibaba Cloud account ID of the parent account.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 16738266********
|
|
12
|
+
*/
|
|
13
|
+
aliyunParentUid?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The Alibaba Cloud account ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 20372822********
|
|
20
|
+
*/
|
|
21
|
+
aliyunUid?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The creator name.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* HaoY*****
|
|
28
|
+
*/
|
|
29
|
+
creatorUserName?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The skill description.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* This is a demo skill description.
|
|
36
|
+
*/
|
|
37
|
+
description?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* Indicates whether the skill is available. Valid values: true and false.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* true
|
|
44
|
+
*/
|
|
45
|
+
enabled?: number;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The creation time.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* 2025-12-11T14:04:32.000+00:00
|
|
52
|
+
*/
|
|
53
|
+
gmtCreated?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The modification time.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 2025-12-11T14:04:32.000+00:00
|
|
60
|
+
*/
|
|
61
|
+
gmtModified?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The skill parsing error message.
|
|
65
|
+
* - When the skill status is INVALID, the parsing error message is returned.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* SKILL.md file not exist.
|
|
69
|
+
*/
|
|
70
|
+
parseError?: string;
|
|
71
|
+
/**
|
|
72
|
+
* @remarks
|
|
73
|
+
* The region.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* cn-hangzhou
|
|
77
|
+
*/
|
|
78
|
+
region?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @remarks
|
|
81
|
+
* The skill source.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* User
|
|
85
|
+
*/
|
|
86
|
+
skillFrom?: string;
|
|
87
|
+
/**
|
|
88
|
+
* @remarks
|
|
89
|
+
* The skill ID.
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* ski-04pomiln*************j0
|
|
93
|
+
*/
|
|
94
|
+
skillId?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* The skill name.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* data-query-skill
|
|
101
|
+
*/
|
|
102
|
+
skillName?: string;
|
|
103
|
+
/**
|
|
104
|
+
* @remarks
|
|
105
|
+
* The skill status. Valid values:
|
|
106
|
+
* - INIT: Not ready.
|
|
107
|
+
* - ACTIVE: Active.
|
|
108
|
+
* - INVALID: Invalid.
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* ACTIVE
|
|
112
|
+
*/
|
|
113
|
+
skillStatus?: string;
|
|
114
|
+
/**
|
|
115
|
+
* @remarks
|
|
116
|
+
* The workspace ID.
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* 11if52e44**********edbv6
|
|
120
|
+
*/
|
|
121
|
+
workspaceId?: string;
|
|
122
|
+
static names(): { [key: string]: string } {
|
|
123
|
+
return {
|
|
124
|
+
aliyunParentUid: 'AliyunParentUid',
|
|
125
|
+
aliyunUid: 'AliyunUid',
|
|
126
|
+
creatorUserName: 'CreatorUserName',
|
|
127
|
+
description: 'Description',
|
|
128
|
+
enabled: 'Enabled',
|
|
129
|
+
gmtCreated: 'GmtCreated',
|
|
130
|
+
gmtModified: 'GmtModified',
|
|
131
|
+
parseError: 'ParseError',
|
|
132
|
+
region: 'Region',
|
|
133
|
+
skillFrom: 'SkillFrom',
|
|
134
|
+
skillId: 'SkillId',
|
|
135
|
+
skillName: 'SkillName',
|
|
136
|
+
skillStatus: 'SkillStatus',
|
|
137
|
+
workspaceId: 'WorkspaceId',
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
static types(): { [key: string]: any } {
|
|
142
|
+
return {
|
|
143
|
+
aliyunParentUid: 'string',
|
|
144
|
+
aliyunUid: 'string',
|
|
145
|
+
creatorUserName: 'string',
|
|
146
|
+
description: 'string',
|
|
147
|
+
enabled: 'number',
|
|
148
|
+
gmtCreated: 'string',
|
|
149
|
+
gmtModified: 'string',
|
|
150
|
+
parseError: 'string',
|
|
151
|
+
region: 'string',
|
|
152
|
+
skillFrom: 'string',
|
|
153
|
+
skillId: 'string',
|
|
154
|
+
skillName: 'string',
|
|
155
|
+
skillStatus: 'string',
|
|
156
|
+
workspaceId: 'string',
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
validate() {
|
|
161
|
+
super.validate();
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
constructor(map?: { [key: string]: any }) {
|
|
165
|
+
super(map);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export class CreateDataAgentSkillMetaResponseBody extends $dara.Model {
|
|
170
|
+
/**
|
|
171
|
+
* @remarks
|
|
172
|
+
* The response struct.
|
|
173
|
+
*/
|
|
174
|
+
data?: CreateDataAgentSkillMetaResponseBodyData;
|
|
175
|
+
/**
|
|
176
|
+
* @remarks
|
|
177
|
+
* The error code.
|
|
178
|
+
*
|
|
179
|
+
* @example
|
|
180
|
+
* InvalidTid
|
|
181
|
+
*/
|
|
182
|
+
errorCode?: string;
|
|
183
|
+
/**
|
|
184
|
+
* @remarks
|
|
185
|
+
* The error message returned when a system-level request failure occurs.
|
|
186
|
+
*
|
|
187
|
+
* @example
|
|
188
|
+
* Specified parameter Tid is not valid.
|
|
189
|
+
*/
|
|
190
|
+
errorMessage?: string;
|
|
191
|
+
/**
|
|
192
|
+
* @remarks
|
|
193
|
+
* Id of the request
|
|
194
|
+
*
|
|
195
|
+
* @example
|
|
196
|
+
* E0D21075-CD3E-4D98-8264-FD8AD04A63B6
|
|
197
|
+
*/
|
|
198
|
+
requestId?: string;
|
|
199
|
+
/**
|
|
200
|
+
* @remarks
|
|
201
|
+
* Indicates whether the request was successful. Valid values:
|
|
202
|
+
*
|
|
203
|
+
* - **true**: The request was successful.
|
|
204
|
+
* - **false**: The request failed.
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* true
|
|
208
|
+
*/
|
|
209
|
+
success?: boolean;
|
|
210
|
+
static names(): { [key: string]: string } {
|
|
211
|
+
return {
|
|
212
|
+
data: 'Data',
|
|
213
|
+
errorCode: 'ErrorCode',
|
|
214
|
+
errorMessage: 'ErrorMessage',
|
|
215
|
+
requestId: 'RequestId',
|
|
216
|
+
success: 'Success',
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
static types(): { [key: string]: any } {
|
|
221
|
+
return {
|
|
222
|
+
data: CreateDataAgentSkillMetaResponseBodyData,
|
|
223
|
+
errorCode: 'string',
|
|
224
|
+
errorMessage: 'string',
|
|
225
|
+
requestId: 'string',
|
|
226
|
+
success: 'boolean',
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
validate() {
|
|
231
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
232
|
+
(this.data as any).validate();
|
|
233
|
+
}
|
|
234
|
+
super.validate();
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
constructor(map?: { [key: string]: any }) {
|
|
238
|
+
super(map);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteDataAgentSkillMetaRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The skill ID.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ski-04pomiln*************j0
|
|
14
|
+
*/
|
|
15
|
+
skillId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The workspace ID.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* 56kv1pvl9uvt9**********bb
|
|
22
|
+
*/
|
|
23
|
+
workspaceId?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
skillId: 'SkillId',
|
|
27
|
+
workspaceId: 'WorkspaceId',
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
static types(): { [key: string]: any } {
|
|
32
|
+
return {
|
|
33
|
+
skillId: 'string',
|
|
34
|
+
workspaceId: 'string',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
validate() {
|
|
39
|
+
super.validate();
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
constructor(map?: { [key: string]: any }) {
|
|
43
|
+
super(map);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteDataAgentSkillMetaResponseBody } from "./DeleteDataAgentSkillMetaResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteDataAgentSkillMetaResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteDataAgentSkillMetaResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DeleteDataAgentSkillMetaResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteDataAgentSkillMetaResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The skill ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ski-04pomiln*************j0
|
|
12
|
+
*/
|
|
13
|
+
skillId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Indicates whether the operation was successful. Valid values:
|
|
17
|
+
*
|
|
18
|
+
* - **true**: The operation was successful.
|
|
19
|
+
* - **false**: The operation failed.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* true
|
|
23
|
+
*/
|
|
24
|
+
success?: boolean;
|
|
25
|
+
static names(): { [key: string]: string } {
|
|
26
|
+
return {
|
|
27
|
+
skillId: 'SkillId',
|
|
28
|
+
success: 'Success',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
skillId: 'string',
|
|
35
|
+
success: 'boolean',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
validate() {
|
|
40
|
+
super.validate();
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
constructor(map?: { [key: string]: any }) {
|
|
44
|
+
super(map);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export class DeleteDataAgentSkillMetaResponseBody extends $dara.Model {
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The response struct.
|
|
52
|
+
*/
|
|
53
|
+
data?: DeleteDataAgentSkillMetaResponseBodyData;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The error code returned if the call failed.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* InvalidTid
|
|
60
|
+
*/
|
|
61
|
+
errorCode?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The error message returned if the call failed.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* Specified parameter Tid is not valid.
|
|
68
|
+
*/
|
|
69
|
+
errorMessage?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* Id of the request
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* E0D21075-CD3E-4D98-8264-FD8AD04A63B6
|
|
76
|
+
*/
|
|
77
|
+
requestId?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* Indicates whether the request was successful. Valid values:
|
|
81
|
+
*
|
|
82
|
+
* - **true**: The request was successful.
|
|
83
|
+
* - **false**: The request failed.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* true
|
|
87
|
+
*/
|
|
88
|
+
success?: boolean;
|
|
89
|
+
static names(): { [key: string]: string } {
|
|
90
|
+
return {
|
|
91
|
+
data: 'Data',
|
|
92
|
+
errorCode: 'ErrorCode',
|
|
93
|
+
errorMessage: 'ErrorMessage',
|
|
94
|
+
requestId: 'RequestId',
|
|
95
|
+
success: 'Success',
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
static types(): { [key: string]: any } {
|
|
100
|
+
return {
|
|
101
|
+
data: DeleteDataAgentSkillMetaResponseBodyData,
|
|
102
|
+
errorCode: 'string',
|
|
103
|
+
errorMessage: 'string',
|
|
104
|
+
requestId: 'string',
|
|
105
|
+
success: 'boolean',
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
validate() {
|
|
110
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
111
|
+
(this.data as any).validate();
|
|
112
|
+
}
|
|
113
|
+
super.validate();
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
constructor(map?: { [key: string]: any }) {
|
|
117
|
+
super(map);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeSkillFileUploadSignatureRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The workspace ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* aci5e5yd***********0crv
|
|
12
|
+
*/
|
|
13
|
+
workspaceId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
workspaceId: 'WorkspaceId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
workspaceId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeSkillFileUploadSignatureResponseBody } from "./DescribeSkillFileUploadSignatureResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeSkillFileUploadSignatureResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeSkillFileUploadSignatureResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeSkillFileUploadSignatureResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeSkillFileUploadSignatureResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The parameter set that specifies the derived key.
|
|
9
|
+
*/
|
|
10
|
+
ossCredential?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The time of the request. The format follows the ISO 8601 date and time standard.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* 20260101T135341Z
|
|
17
|
+
*/
|
|
18
|
+
ossDate?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The STS token used for uploading to OSS. The token is valid for 1 hour.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* CAIS4gJ1q6Ft5B2yfSjIr5vPHMj4p+lHx/utUUjg13ptZ+5u3oDzkzz2IHhMdXlrCOgYt/8xnG1V6f8flrJ/ToQAX0HfatZq5ZkS9AqnaoXM/te496IFg5D9y7dIs8GgjqHoeOzcYI73WJXEMiLp9EJaxb/9ak/RPTiMOoGIjphKd8keWhLCAxNNGNZRIHkJyqZYTwyzU8ygKRn3mGHdIVN1sw5n8wNF5L+439eX52i17jS46JdM/9ysesH5NpQxbMwkDYnk5oEsKPqdihw3wgNR6aJ7gJZD/Tr6pdyHCzFTmU7ea7uEqYw3clYiOPBnRvEd8eKPnPl5q/HVm4Hs0wxKNuxOSCXZS4yp3MLeH+ekJgOGwWFHz9qnOLmtQXqV22tMCRpzXIj6Zlmz+/reI6iNW+Ory74mxSFbrz3ZP4yv+o+Yv3QbMVumcySkKVbBbVvnv0R8GNsIC2lMUbp+rfShhfFuG2QagAECCyigwAlSAryrFmteD+EVuvxvi0NE7zDJLbUkhek6dcY+/u5V5jcmvL67CQ7bTNk+9lV8WDCvtoCD9ucqTaHweJEd8fS2DaFedAMDf8BfZa2C1CTLhVXdSgE2WORYbMqidelRm7dH3fTbZVvryWKDaveDRLt5J/Qfs**********
|
|
25
|
+
*/
|
|
26
|
+
ossSecurityToken?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The description information used for signature authentication.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* 9bebe0900716bdefaab899781c7bdfd614ec6ed711e0de5ddf6f5a**********
|
|
33
|
+
*/
|
|
34
|
+
ossSignature?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The version and algorithm of the signature.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* OSS4-HMAC-SHA256
|
|
41
|
+
*/
|
|
42
|
+
ossSignatureVersion?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The permission restrictions and constraints for file upload.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* eyJjb25kaXRpb25zIjpbeyJ4LW9zcy1jcmVkZW50aWFsIjoiU1RTLk5YeldyTEo2ZnA5RlNuUTN6OGthQjFFWH**********
|
|
49
|
+
*/
|
|
50
|
+
policy?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The path for file upload.
|
|
54
|
+
*/
|
|
55
|
+
uploadDir?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The destination address for file upload.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* https://**********.oss-cn-hangzhou.aliyuncs.com
|
|
62
|
+
*/
|
|
63
|
+
uploadHost?: string;
|
|
64
|
+
static names(): { [key: string]: string } {
|
|
65
|
+
return {
|
|
66
|
+
ossCredential: 'OssCredential',
|
|
67
|
+
ossDate: 'OssDate',
|
|
68
|
+
ossSecurityToken: 'OssSecurityToken',
|
|
69
|
+
ossSignature: 'OssSignature',
|
|
70
|
+
ossSignatureVersion: 'OssSignatureVersion',
|
|
71
|
+
policy: 'Policy',
|
|
72
|
+
uploadDir: 'UploadDir',
|
|
73
|
+
uploadHost: 'UploadHost',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
static types(): { [key: string]: any } {
|
|
78
|
+
return {
|
|
79
|
+
ossCredential: 'string',
|
|
80
|
+
ossDate: 'string',
|
|
81
|
+
ossSecurityToken: 'string',
|
|
82
|
+
ossSignature: 'string',
|
|
83
|
+
ossSignatureVersion: 'string',
|
|
84
|
+
policy: 'string',
|
|
85
|
+
uploadDir: 'string',
|
|
86
|
+
uploadHost: 'string',
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
validate() {
|
|
91
|
+
super.validate();
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
constructor(map?: { [key: string]: any }) {
|
|
95
|
+
super(map);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export class DescribeSkillFileUploadSignatureResponseBody extends $dara.Model {
|
|
100
|
+
/**
|
|
101
|
+
* @remarks
|
|
102
|
+
* The response struct.
|
|
103
|
+
*/
|
|
104
|
+
data?: DescribeSkillFileUploadSignatureResponseBodyData;
|
|
105
|
+
/**
|
|
106
|
+
* @remarks
|
|
107
|
+
* The error code.
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* InvalidTid
|
|
111
|
+
*/
|
|
112
|
+
errorCode?: string;
|
|
113
|
+
/**
|
|
114
|
+
* @remarks
|
|
115
|
+
* The error message returned when the call fails.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* Specified parameter Tid is not valid.
|
|
119
|
+
*/
|
|
120
|
+
errorMessage?: string;
|
|
121
|
+
/**
|
|
122
|
+
* @remarks
|
|
123
|
+
* Id of the request
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* E0D21075-CD3E-4D98-8264-FD8AD04A63B6
|
|
127
|
+
*/
|
|
128
|
+
requestId?: string;
|
|
129
|
+
/**
|
|
130
|
+
* @remarks
|
|
131
|
+
* Indicates whether the request was successful. Valid values:
|
|
132
|
+
*
|
|
133
|
+
* - **true**: The request was successful.
|
|
134
|
+
* - **false**: The request failed.
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* true
|
|
138
|
+
*/
|
|
139
|
+
success?: boolean;
|
|
140
|
+
static names(): { [key: string]: string } {
|
|
141
|
+
return {
|
|
142
|
+
data: 'Data',
|
|
143
|
+
errorCode: 'ErrorCode',
|
|
144
|
+
errorMessage: 'ErrorMessage',
|
|
145
|
+
requestId: 'RequestId',
|
|
146
|
+
success: 'Success',
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
static types(): { [key: string]: any } {
|
|
151
|
+
return {
|
|
152
|
+
data: DescribeSkillFileUploadSignatureResponseBodyData,
|
|
153
|
+
errorCode: 'string',
|
|
154
|
+
errorMessage: 'string',
|
|
155
|
+
requestId: 'string',
|
|
156
|
+
success: 'boolean',
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
validate() {
|
|
161
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
162
|
+
(this.data as any).validate();
|
|
163
|
+
}
|
|
164
|
+
super.validate();
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
constructor(map?: { [key: string]: any }) {
|
|
168
|
+
super(map);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|