@alicloud/aidge20260428 5.9.0 → 5.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +324 -264
- package/dist/client.js +488 -264
- package/dist/client.js.map +1 -1
- package/dist/models/AddDisplayKnowledgeRequest.d.ts +68 -0
- package/dist/models/AddDisplayKnowledgeRequest.js +88 -0
- package/dist/models/AddDisplayKnowledgeRequest.js.map +1 -0
- package/dist/models/AddDisplayKnowledgeResponse.d.ts +19 -0
- package/dist/models/AddDisplayKnowledgeResponse.js +69 -0
- package/dist/models/AddDisplayKnowledgeResponse.js.map +1 -0
- package/dist/models/AddDisplayKnowledgeResponseBody.d.ts +210 -0
- package/dist/models/AddDisplayKnowledgeResponseBody.js +143 -0
- package/dist/models/AddDisplayKnowledgeResponseBody.js.map +1 -0
- package/dist/models/AddDisplayKnowledgeShrinkRequest.d.ts +30 -0
- package/dist/models/AddDisplayKnowledgeShrinkRequest.js +60 -0
- package/dist/models/AddDisplayKnowledgeShrinkRequest.js.map +1 -0
- package/dist/models/AiTryOnRequest.d.ts +4 -4
- package/dist/models/AiTryOnResponseBody.d.ts +10 -10
- package/dist/models/AiTryOnResponseBody.js +0 -2
- package/dist/models/AiTryOnResponseBody.js.map +1 -1
- package/dist/models/DeleteDisplayKnowledgeRequest.d.ts +30 -0
- package/dist/models/DeleteDisplayKnowledgeRequest.js +63 -0
- package/dist/models/DeleteDisplayKnowledgeRequest.js.map +1 -0
- package/dist/models/DeleteDisplayKnowledgeResponse.d.ts +19 -0
- package/dist/models/DeleteDisplayKnowledgeResponse.js +69 -0
- package/dist/models/DeleteDisplayKnowledgeResponse.js.map +1 -0
- package/dist/models/DeleteDisplayKnowledgeResponseBody.d.ts +214 -0
- package/dist/models/DeleteDisplayKnowledgeResponseBody.js +145 -0
- package/dist/models/DeleteDisplayKnowledgeResponseBody.js.map +1 -0
- package/dist/models/DeleteDisplayKnowledgeShrinkRequest.d.ts +30 -0
- package/dist/models/DeleteDisplayKnowledgeShrinkRequest.js +60 -0
- package/dist/models/DeleteDisplayKnowledgeShrinkRequest.js.map +1 -0
- package/dist/models/ImageMattingAsyncRequest.d.ts +9 -1
- package/dist/models/ImageMattingAsyncRequest.js +2 -0
- package/dist/models/ImageMattingAsyncRequest.js.map +1 -1
- package/dist/models/ImageMattingAsyncResponseBody.d.ts +5 -5
- package/dist/models/ImageRecognitionAsyncRequest.d.ts +33 -25
- package/dist/models/ImageRecognitionAsyncRequest.js +2 -0
- package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
- package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +6 -6
- package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +33 -25
- package/dist/models/ImageRecognitionAsyncShrinkRequest.js +2 -0
- package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
- package/dist/models/ImageRemovalProAsyncRequest.d.ts +10 -1
- package/dist/models/ImageRemovalProAsyncRequest.js +2 -0
- package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -1
- package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +7 -5
- package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveAsyncRequest.d.ts +25 -6
- package/dist/models/ImageRemoveAsyncRequest.js +2 -0
- package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
- package/dist/models/ImageRemoveAsyncResponseBody.d.ts +6 -4
- package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +25 -6
- package/dist/models/ImageRemoveAsyncShrinkRequest.js +2 -0
- package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
- package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +17 -9
- package/dist/models/ImageTranslationPlusAsyncRequest.js +2 -0
- package/dist/models/ImageTranslationPlusAsyncRequest.js.map +1 -1
- package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +5 -5
- package/dist/models/ImageTranslationProAsyncRequest.d.ts +15 -7
- package/dist/models/ImageTranslationProAsyncRequest.js +2 -0
- package/dist/models/ImageTranslationProAsyncRequest.js.map +1 -1
- package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +4 -4
- package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +10 -2
- package/dist/models/ImageTranslationStandardAsyncRequest.js +2 -0
- package/dist/models/ImageTranslationStandardAsyncRequest.js.map +1 -1
- package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +4 -4
- package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +13 -7
- package/dist/models/QueryAsyncTaskResultResponseBody.js +2 -0
- package/dist/models/QueryAsyncTaskResultResponseBody.js.map +1 -1
- package/dist/models/QueryDisplayKnowledgeRequest.d.ts +60 -0
- package/dist/models/QueryDisplayKnowledgeRequest.js +71 -0
- package/dist/models/QueryDisplayKnowledgeRequest.js.map +1 -0
- package/dist/models/QueryDisplayKnowledgeResponse.d.ts +19 -0
- package/dist/models/QueryDisplayKnowledgeResponse.js +69 -0
- package/dist/models/QueryDisplayKnowledgeResponse.js.map +1 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +240 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.js +151 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.js.map +1 -0
- package/dist/models/QueryDisplayKnowledgeShrinkRequest.d.ts +60 -0
- package/dist/models/QueryDisplayKnowledgeShrinkRequest.js +68 -0
- package/dist/models/QueryDisplayKnowledgeShrinkRequest.js.map +1 -0
- package/dist/models/SizeChartExtractAsyncRequest.d.ts +9 -1
- package/dist/models/SizeChartExtractAsyncRequest.js +2 -0
- package/dist/models/SizeChartExtractAsyncRequest.js.map +1 -1
- package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +5 -5
- package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +9 -1
- package/dist/models/SizeChartExtractAsyncShrinkRequest.js +2 -0
- package/dist/models/SizeChartExtractAsyncShrinkRequest.js.map +1 -1
- package/dist/models/TextTranslateAsyncRequest.d.ts +28 -0
- package/dist/models/TextTranslateAsyncRequest.js.map +1 -1
- package/dist/models/TextTranslateAsyncResponseBody.d.ts +19 -0
- package/dist/models/TextTranslateAsyncResponseBody.js.map +1 -1
- package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +28 -0
- package/dist/models/TextTranslateAsyncShrinkRequest.js.map +1 -1
- package/dist/models/UpdateDisplayKnowledgeRequest.d.ts +74 -0
- package/dist/models/UpdateDisplayKnowledgeRequest.js +88 -0
- package/dist/models/UpdateDisplayKnowledgeRequest.js.map +1 -0
- package/dist/models/UpdateDisplayKnowledgeResponse.d.ts +19 -0
- package/dist/models/UpdateDisplayKnowledgeResponse.js +69 -0
- package/dist/models/UpdateDisplayKnowledgeResponse.js.map +1 -0
- package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +206 -0
- package/dist/models/UpdateDisplayKnowledgeResponseBody.js +143 -0
- package/dist/models/UpdateDisplayKnowledgeResponseBody.js.map +1 -0
- package/dist/models/UpdateDisplayKnowledgeShrinkRequest.d.ts +30 -0
- package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js +60 -0
- package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js.map +1 -0
- package/dist/models/VideoTranslationRequest.d.ts +12 -12
- package/dist/models/VideoTranslationResponseBody.d.ts +1 -1
- package/dist/models/VideoTranslationShrinkRequest.d.ts +12 -12
- package/dist/models/model.d.ts +26 -0
- package/dist/models/model.js +59 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +524 -268
- package/src/models/AddDisplayKnowledgeRequest.ts +100 -0
- package/src/models/AddDisplayKnowledgeResponse.ts +40 -0
- package/src/models/AddDisplayKnowledgeResponseBody.ts +288 -0
- package/src/models/AddDisplayKnowledgeShrinkRequest.ts +45 -0
- package/src/models/AiTryOnRequest.ts +4 -4
- package/src/models/AiTryOnResponseBody.ts +10 -10
- package/src/models/DeleteDisplayKnowledgeRequest.ts +48 -0
- package/src/models/DeleteDisplayKnowledgeResponse.ts +40 -0
- package/src/models/DeleteDisplayKnowledgeResponseBody.ts +294 -0
- package/src/models/DeleteDisplayKnowledgeShrinkRequest.ts +45 -0
- package/src/models/ImageMattingAsyncRequest.ts +11 -1
- package/src/models/ImageMattingAsyncResponseBody.ts +5 -5
- package/src/models/ImageRecognitionAsyncRequest.ts +35 -25
- package/src/models/ImageRecognitionAsyncResponseBody.ts +6 -6
- package/src/models/ImageRecognitionAsyncShrinkRequest.ts +35 -25
- package/src/models/ImageRemovalProAsyncRequest.ts +12 -1
- package/src/models/ImageRemovalProAsyncResponseBody.ts +7 -5
- package/src/models/ImageRemoveAsyncRequest.ts +27 -6
- package/src/models/ImageRemoveAsyncResponseBody.ts +6 -4
- package/src/models/ImageRemoveAsyncShrinkRequest.ts +27 -6
- package/src/models/ImageTranslationPlusAsyncRequest.ts +19 -9
- package/src/models/ImageTranslationPlusAsyncResponseBody.ts +5 -5
- package/src/models/ImageTranslationProAsyncRequest.ts +17 -7
- package/src/models/ImageTranslationProAsyncResponseBody.ts +4 -4
- package/src/models/ImageTranslationStandardAsyncRequest.ts +12 -2
- package/src/models/ImageTranslationStandardAsyncResponseBody.ts +4 -4
- package/src/models/QueryAsyncTaskResultResponseBody.ts +15 -7
- package/src/models/QueryDisplayKnowledgeRequest.ts +86 -0
- package/src/models/QueryDisplayKnowledgeResponse.ts +40 -0
- package/src/models/QueryDisplayKnowledgeResponseBody.ts +326 -0
- package/src/models/QueryDisplayKnowledgeShrinkRequest.ts +83 -0
- package/src/models/SizeChartExtractAsyncRequest.ts +11 -1
- package/src/models/SizeChartExtractAsyncResponseBody.ts +5 -5
- package/src/models/SizeChartExtractAsyncShrinkRequest.ts +11 -1
- package/src/models/TextTranslateAsyncRequest.ts +28 -0
- package/src/models/TextTranslateAsyncResponseBody.ts +19 -0
- package/src/models/TextTranslateAsyncShrinkRequest.ts +28 -0
- package/src/models/UpdateDisplayKnowledgeRequest.ts +108 -0
- package/src/models/UpdateDisplayKnowledgeResponse.ts +40 -0
- package/src/models/UpdateDisplayKnowledgeResponseBody.ts +284 -0
- package/src/models/UpdateDisplayKnowledgeShrinkRequest.ts +45 -0
- package/src/models/VideoTranslationRequest.ts +12 -12
- package/src/models/VideoTranslationResponseBody.ts +1 -1
- package/src/models/VideoTranslationShrinkRequest.ts +12 -12
- package/src/models/model.ts +26 -0
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateDisplayKnowledgeResponseBodyDataResults extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The error code for the failure.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* success
|
|
12
|
+
*/
|
|
13
|
+
errorCode?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The cause of the failure.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* Success
|
|
20
|
+
*/
|
|
21
|
+
errorMessage?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The index in the original request array.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1
|
|
28
|
+
*/
|
|
29
|
+
index?: number;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The record ID.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* 32238
|
|
36
|
+
*/
|
|
37
|
+
recordId?: number;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The effective SKU ID.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* sku-001
|
|
44
|
+
*/
|
|
45
|
+
skuId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The record status.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* UPDATING
|
|
52
|
+
*/
|
|
53
|
+
status?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* Indicates whether the record is accepted.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* True
|
|
60
|
+
*/
|
|
61
|
+
success?: boolean;
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
errorCode: 'ErrorCode',
|
|
65
|
+
errorMessage: 'ErrorMessage',
|
|
66
|
+
index: 'Index',
|
|
67
|
+
recordId: 'RecordId',
|
|
68
|
+
skuId: 'SkuId',
|
|
69
|
+
status: 'Status',
|
|
70
|
+
success: 'Success',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
static types(): { [key: string]: any } {
|
|
75
|
+
return {
|
|
76
|
+
errorCode: 'string',
|
|
77
|
+
errorMessage: 'string',
|
|
78
|
+
index: 'number',
|
|
79
|
+
recordId: 'number',
|
|
80
|
+
skuId: 'string',
|
|
81
|
+
status: 'string',
|
|
82
|
+
success: 'boolean',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
validate() {
|
|
87
|
+
super.validate();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
constructor(map?: { [key: string]: any }) {
|
|
91
|
+
super(map);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export class UpdateDisplayKnowledgeResponseBodyData extends $dara.Model {
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The number of accepted records.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* 10
|
|
102
|
+
*/
|
|
103
|
+
acceptedCount?: number;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The business error code.
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* success
|
|
110
|
+
*/
|
|
111
|
+
errorCode?: string;
|
|
112
|
+
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* The business error message.
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
* success
|
|
118
|
+
*/
|
|
119
|
+
errorMessage?: string;
|
|
120
|
+
/**
|
|
121
|
+
* @remarks
|
|
122
|
+
* The number of failed records.
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* 0
|
|
126
|
+
*/
|
|
127
|
+
failedCount?: number;
|
|
128
|
+
/**
|
|
129
|
+
* @remarks
|
|
130
|
+
* The knowledge base status.
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* UPDATING
|
|
134
|
+
*/
|
|
135
|
+
knowledgeBaseStatus?: string;
|
|
136
|
+
/**
|
|
137
|
+
* @remarks
|
|
138
|
+
* The knowledge base ID.
|
|
139
|
+
*
|
|
140
|
+
* @example
|
|
141
|
+
* rag_001
|
|
142
|
+
*/
|
|
143
|
+
ragId?: string;
|
|
144
|
+
/**
|
|
145
|
+
* @remarks
|
|
146
|
+
* The processing results for each record.
|
|
147
|
+
*/
|
|
148
|
+
results?: UpdateDisplayKnowledgeResponseBodyDataResults[];
|
|
149
|
+
/**
|
|
150
|
+
* @remarks
|
|
151
|
+
* Indicates whether the business processing is successful.
|
|
152
|
+
*
|
|
153
|
+
* @example
|
|
154
|
+
* True
|
|
155
|
+
*/
|
|
156
|
+
success?: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* @remarks
|
|
159
|
+
* The asynchronous task ID. This parameter is empty for synchronous API operations.
|
|
160
|
+
*
|
|
161
|
+
* @example
|
|
162
|
+
* ed9d8504-6141-9fbb-8345-4fa36433483f
|
|
163
|
+
*/
|
|
164
|
+
taskId?: string;
|
|
165
|
+
/**
|
|
166
|
+
* @remarks
|
|
167
|
+
* The usage information. This parameter is empty for free API operations.
|
|
168
|
+
*/
|
|
169
|
+
usageMap?: { [key: string]: number };
|
|
170
|
+
static names(): { [key: string]: string } {
|
|
171
|
+
return {
|
|
172
|
+
acceptedCount: 'AcceptedCount',
|
|
173
|
+
errorCode: 'ErrorCode',
|
|
174
|
+
errorMessage: 'ErrorMessage',
|
|
175
|
+
failedCount: 'FailedCount',
|
|
176
|
+
knowledgeBaseStatus: 'KnowledgeBaseStatus',
|
|
177
|
+
ragId: 'RagId',
|
|
178
|
+
results: 'Results',
|
|
179
|
+
success: 'Success',
|
|
180
|
+
taskId: 'TaskId',
|
|
181
|
+
usageMap: 'UsageMap',
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
static types(): { [key: string]: any } {
|
|
186
|
+
return {
|
|
187
|
+
acceptedCount: 'number',
|
|
188
|
+
errorCode: 'string',
|
|
189
|
+
errorMessage: 'string',
|
|
190
|
+
failedCount: 'number',
|
|
191
|
+
knowledgeBaseStatus: 'string',
|
|
192
|
+
ragId: 'string',
|
|
193
|
+
results: { 'type': 'array', 'itemType': UpdateDisplayKnowledgeResponseBodyDataResults },
|
|
194
|
+
success: 'boolean',
|
|
195
|
+
taskId: 'string',
|
|
196
|
+
usageMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
validate() {
|
|
201
|
+
if(Array.isArray(this.results)) {
|
|
202
|
+
$dara.Model.validateArray(this.results);
|
|
203
|
+
}
|
|
204
|
+
if(this.usageMap) {
|
|
205
|
+
$dara.Model.validateMap(this.usageMap);
|
|
206
|
+
}
|
|
207
|
+
super.validate();
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
constructor(map?: { [key: string]: any }) {
|
|
211
|
+
super(map);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export class UpdateDisplayKnowledgeResponseBody extends $dara.Model {
|
|
216
|
+
/**
|
|
217
|
+
* @remarks
|
|
218
|
+
* The error code.
|
|
219
|
+
*
|
|
220
|
+
* @example
|
|
221
|
+
* success
|
|
222
|
+
*/
|
|
223
|
+
code?: string;
|
|
224
|
+
/**
|
|
225
|
+
* @remarks
|
|
226
|
+
* The update result of the display knowledge base content.
|
|
227
|
+
*/
|
|
228
|
+
data?: UpdateDisplayKnowledgeResponseBodyData;
|
|
229
|
+
/**
|
|
230
|
+
* @remarks
|
|
231
|
+
* The response message or failure description.
|
|
232
|
+
*
|
|
233
|
+
* @example
|
|
234
|
+
* success
|
|
235
|
+
*/
|
|
236
|
+
message?: string;
|
|
237
|
+
/**
|
|
238
|
+
* @remarks
|
|
239
|
+
* The request ID.
|
|
240
|
+
*
|
|
241
|
+
* @example
|
|
242
|
+
* 39E8A74B-F99E-1195-A5FF-3ECC5F94F304
|
|
243
|
+
*/
|
|
244
|
+
requestId?: string;
|
|
245
|
+
/**
|
|
246
|
+
* @remarks
|
|
247
|
+
* Indicates whether the call is successful.
|
|
248
|
+
*
|
|
249
|
+
* @example
|
|
250
|
+
* True
|
|
251
|
+
*/
|
|
252
|
+
success?: boolean;
|
|
253
|
+
static names(): { [key: string]: string } {
|
|
254
|
+
return {
|
|
255
|
+
code: 'Code',
|
|
256
|
+
data: 'Data',
|
|
257
|
+
message: 'Message',
|
|
258
|
+
requestId: 'RequestId',
|
|
259
|
+
success: 'Success',
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
static types(): { [key: string]: any } {
|
|
264
|
+
return {
|
|
265
|
+
code: 'string',
|
|
266
|
+
data: UpdateDisplayKnowledgeResponseBodyData,
|
|
267
|
+
message: 'string',
|
|
268
|
+
requestId: 'string',
|
|
269
|
+
success: 'boolean',
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
validate() {
|
|
274
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
275
|
+
(this.data as any).validate();
|
|
276
|
+
}
|
|
277
|
+
super.validate();
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
constructor(map?: { [key: string]: any }) {
|
|
281
|
+
super(map);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateDisplayKnowledgeShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The knowledge base ID.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* rag_xxx
|
|
14
|
+
*/
|
|
15
|
+
ragId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The records to update. A maximum of 500 records can be specified.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*/
|
|
22
|
+
recordsShrink?: string;
|
|
23
|
+
static names(): { [key: string]: string } {
|
|
24
|
+
return {
|
|
25
|
+
ragId: 'RagId',
|
|
26
|
+
recordsShrink: 'Records',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
static types(): { [key: string]: any } {
|
|
31
|
+
return {
|
|
32
|
+
ragId: 'string',
|
|
33
|
+
recordsShrink: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -12,31 +12,31 @@ export class VideoTranslationRequest extends $dara.Model {
|
|
|
12
12
|
capabilities?: string[];
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* Specifies whether to enable
|
|
15
|
+
* Specifies whether to enable quality inspection for on-screen text processing. Effective only when visual is included and this parameter is explicitly set to true. If only speech is selected, this parameter is ignored, no quality inspection is performed, no quality inspection fields are returned, and no error is reported due to this parameter. Enabling quality inspection may increase the processing time. Do not enable it unless necessary. Default value: false.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
|
-
*
|
|
18
|
+
* false
|
|
19
19
|
*/
|
|
20
20
|
enableQualityCheck?: boolean;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
*
|
|
23
|
+
* Applicable only when visual is included. Specifies whether to erase on-screen text without translation. Valid values: true: erases on-screen text without translation. false: translates on-screen text. Default value: false.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
|
-
*
|
|
26
|
+
* false
|
|
27
27
|
*/
|
|
28
28
|
eraseOnly?: boolean;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
*
|
|
31
|
+
* Applicable only when visual is included. Specifies whether to erase brand logos. Valid values: true: erases brand logos. false: retains brand logos. Default value: false. This parameter is independent of EraseOnly.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
|
-
*
|
|
34
|
+
* false
|
|
35
35
|
*/
|
|
36
36
|
removeLogo?: boolean;
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
* The source language. For supported languages, see Language support.
|
|
39
|
+
* The original language of the video (source language). For supported languages, see Language support.
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
42
|
* zh
|
|
@@ -44,23 +44,23 @@ export class VideoTranslationRequest extends $dara.Model {
|
|
|
44
44
|
sourceLanguage?: string;
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
|
-
*
|
|
47
|
+
* Applicable only when speech is included. Valid values: erase: erases the original subtitles only. replace: replaces the original subtitles with translated subtitles, which means erasing the original subtitles and adding subtitles synchronized with the translated speech. If not specified, the original subtitles are not processed, which means neither erasing the original subtitles nor adding new subtitles.
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
|
-
*
|
|
50
|
+
* replace
|
|
51
51
|
*/
|
|
52
52
|
subtitleMode?: string;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
*
|
|
55
|
+
* Required when speech is included. Optional when only visual is included and EraseOnly is set to true. If specified in this case, it is ignored. Required in other cases.
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
|
-
*
|
|
58
|
+
* en
|
|
59
59
|
*/
|
|
60
60
|
targetLanguage?: string;
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
* The URL
|
|
63
|
+
* The video URL. Supported formats: MP4 and MOV. Maximum size: 200 MB.
|
|
64
64
|
*
|
|
65
65
|
* This parameter is required.
|
|
66
66
|
*
|
|
@@ -64,7 +64,7 @@ export class VideoTranslationResponseBody extends $dara.Model {
|
|
|
64
64
|
requestId?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* Indicates whether the call is successful. Valid values: true
|
|
67
|
+
* Indicates whether the call is successful. Valid values: true: The call is successful. false: The call fails.
|
|
68
68
|
*
|
|
69
69
|
* @example
|
|
70
70
|
* True
|
|
@@ -12,31 +12,31 @@ export class VideoTranslationShrinkRequest extends $dara.Model {
|
|
|
12
12
|
capabilitiesShrink?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* Specifies whether to enable
|
|
15
|
+
* Specifies whether to enable quality inspection for on-screen text processing. Effective only when visual is included and this parameter is explicitly set to true. If only speech is selected, this parameter is ignored, no quality inspection is performed, no quality inspection fields are returned, and no error is reported due to this parameter. Enabling quality inspection may increase the processing time. Do not enable it unless necessary. Default value: false.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
|
-
*
|
|
18
|
+
* false
|
|
19
19
|
*/
|
|
20
20
|
enableQualityCheck?: boolean;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
*
|
|
23
|
+
* Applicable only when visual is included. Specifies whether to erase on-screen text without translation. Valid values: true: erases on-screen text without translation. false: translates on-screen text. Default value: false.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
|
-
*
|
|
26
|
+
* false
|
|
27
27
|
*/
|
|
28
28
|
eraseOnly?: boolean;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
*
|
|
31
|
+
* Applicable only when visual is included. Specifies whether to erase brand logos. Valid values: true: erases brand logos. false: retains brand logos. Default value: false. This parameter is independent of EraseOnly.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
|
-
*
|
|
34
|
+
* false
|
|
35
35
|
*/
|
|
36
36
|
removeLogo?: boolean;
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
* The source language. For supported languages, see Language support.
|
|
39
|
+
* The original language of the video (source language). For supported languages, see Language support.
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
42
|
* zh
|
|
@@ -44,23 +44,23 @@ export class VideoTranslationShrinkRequest extends $dara.Model {
|
|
|
44
44
|
sourceLanguage?: string;
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
|
-
*
|
|
47
|
+
* Applicable only when speech is included. Valid values: erase: erases the original subtitles only. replace: replaces the original subtitles with translated subtitles, which means erasing the original subtitles and adding subtitles synchronized with the translated speech. If not specified, the original subtitles are not processed, which means neither erasing the original subtitles nor adding new subtitles.
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
|
-
*
|
|
50
|
+
* replace
|
|
51
51
|
*/
|
|
52
52
|
subtitleMode?: string;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
*
|
|
55
|
+
* Required when speech is included. Optional when only visual is included and EraseOnly is set to true. If specified in this case, it is ignored. Required in other cases.
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
|
-
*
|
|
58
|
+
* en
|
|
59
59
|
*/
|
|
60
60
|
targetLanguage?: string;
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
* The URL
|
|
63
|
+
* The video URL. Supported formats: MP4 and MOV. Maximum size: 200 MB.
|
|
64
64
|
*
|
|
65
65
|
* This parameter is required.
|
|
66
66
|
*
|
package/src/models/model.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export { AddDisplayKnowledgeRequestRecords } from './AddDisplayKnowledgeRequest';
|
|
2
|
+
export { AddDisplayKnowledgeResponseBodyDataResults } from './AddDisplayKnowledgeResponseBody';
|
|
3
|
+
export { AddDisplayKnowledgeResponseBodyData } from './AddDisplayKnowledgeResponseBody';
|
|
1
4
|
export { AiTryOnResponseBodyDataUsageMap } from './AiTryOnResponseBody';
|
|
2
5
|
export { AiTryOnResponseBodyData } from './AiTryOnResponseBody';
|
|
3
6
|
export { AssetOptimizeLiteResponseBodyData } from './AssetOptimizeLiteResponseBody';
|
|
@@ -6,6 +9,8 @@ export { CategoryAttributeMatchResponseBodyDataAttributes } from './CategoryAttr
|
|
|
6
9
|
export { CategoryAttributeMatchResponseBodyDataUsageMap } from './CategoryAttributeMatchResponseBody';
|
|
7
10
|
export { CategoryAttributeMatchResponseBodyData } from './CategoryAttributeMatchResponseBody';
|
|
8
11
|
export { CategoryMatchResponseBodyData } from './CategoryMatchResponseBody';
|
|
12
|
+
export { DeleteDisplayKnowledgeResponseBodyDataResults } from './DeleteDisplayKnowledgeResponseBody';
|
|
13
|
+
export { DeleteDisplayKnowledgeResponseBodyData } from './DeleteDisplayKnowledgeResponseBody';
|
|
9
14
|
export { DiduiAreaDeductionRequestProductsBoxes } from './DiduiAreaDeductionRequest';
|
|
10
15
|
export { DiduiAreaDeductionRequestProducts } from './DiduiAreaDeductionRequest';
|
|
11
16
|
export { DiduiAreaDeductionResponseBodyDataResultStage4AreaLabel } from './DiduiAreaDeductionResponseBody';
|
|
@@ -95,6 +100,8 @@ export { ProductHotspotDetectionResponseBodyDataProductsBoxes } from './ProductH
|
|
|
95
100
|
export { ProductHotspotDetectionResponseBodyDataProducts } from './ProductHotspotDetectionResponseBody';
|
|
96
101
|
export { ProductHotspotDetectionResponseBodyData } from './ProductHotspotDetectionResponseBody';
|
|
97
102
|
export { QueryAsyncTaskResultResponseBodyData } from './QueryAsyncTaskResultResponseBody';
|
|
103
|
+
export { QueryDisplayKnowledgeResponseBodyDataRecords } from './QueryDisplayKnowledgeResponseBody';
|
|
104
|
+
export { QueryDisplayKnowledgeResponseBodyData } from './QueryDisplayKnowledgeResponseBody';
|
|
98
105
|
export { SizeChartDetectResponseBodyData } from './SizeChartDetectResponseBody';
|
|
99
106
|
export { SizeChartExtractResponseBodyData } from './SizeChartExtractResponseBody';
|
|
100
107
|
export { SizeChartExtractAsyncResponseBodyData } from './SizeChartExtractAsyncResponseBody';
|
|
@@ -108,6 +115,9 @@ export { TextCorrectResponseBodyData } from './TextCorrectResponseBody';
|
|
|
108
115
|
export { TextTranslateResponseBodyDataTranslations } from './TextTranslateResponseBody';
|
|
109
116
|
export { TextTranslateResponseBodyData } from './TextTranslateResponseBody';
|
|
110
117
|
export { TextTranslateAsyncResponseBodyData } from './TextTranslateAsyncResponseBody';
|
|
118
|
+
export { UpdateDisplayKnowledgeRequestRecords } from './UpdateDisplayKnowledgeRequest';
|
|
119
|
+
export { UpdateDisplayKnowledgeResponseBodyDataResults } from './UpdateDisplayKnowledgeResponseBody';
|
|
120
|
+
export { UpdateDisplayKnowledgeResponseBodyData } from './UpdateDisplayKnowledgeResponseBody';
|
|
111
121
|
export { VideoGenerationRequestInputAssetBindings } from './VideoGenerationRequest';
|
|
112
122
|
export { VideoGenerationRequestInput } from './VideoGenerationRequest';
|
|
113
123
|
export { VideoGenerationRequestIntent } from './VideoGenerationRequest';
|
|
@@ -116,6 +126,10 @@ export { VideoGenerationResponseBodyData } from './VideoGenerationResponseBody';
|
|
|
116
126
|
export { VideoTranslationResponseBodyData } from './VideoTranslationResponseBody';
|
|
117
127
|
export { VirtualTryOnResponseBodyData } from './VirtualTryOnResponseBody';
|
|
118
128
|
export { VisionFlowResponseBodyData } from './VisionFlowResponseBody';
|
|
129
|
+
export { AddDisplayKnowledgeRequest } from './AddDisplayKnowledgeRequest';
|
|
130
|
+
export { AddDisplayKnowledgeShrinkRequest } from './AddDisplayKnowledgeShrinkRequest';
|
|
131
|
+
export { AddDisplayKnowledgeResponseBody } from './AddDisplayKnowledgeResponseBody';
|
|
132
|
+
export { AddDisplayKnowledgeResponse } from './AddDisplayKnowledgeResponse';
|
|
119
133
|
export { AiTryOnRequest } from './AiTryOnRequest';
|
|
120
134
|
export { AiTryOnResponseBody } from './AiTryOnResponseBody';
|
|
121
135
|
export { AiTryOnResponse } from './AiTryOnResponse';
|
|
@@ -133,6 +147,10 @@ export { CategoryAttributeMatchResponse } from './CategoryAttributeMatchResponse
|
|
|
133
147
|
export { CategoryMatchRequest } from './CategoryMatchRequest';
|
|
134
148
|
export { CategoryMatchResponseBody } from './CategoryMatchResponseBody';
|
|
135
149
|
export { CategoryMatchResponse } from './CategoryMatchResponse';
|
|
150
|
+
export { DeleteDisplayKnowledgeRequest } from './DeleteDisplayKnowledgeRequest';
|
|
151
|
+
export { DeleteDisplayKnowledgeShrinkRequest } from './DeleteDisplayKnowledgeShrinkRequest';
|
|
152
|
+
export { DeleteDisplayKnowledgeResponseBody } from './DeleteDisplayKnowledgeResponseBody';
|
|
153
|
+
export { DeleteDisplayKnowledgeResponse } from './DeleteDisplayKnowledgeResponse';
|
|
136
154
|
export { DiduiAreaDeductionRequest } from './DiduiAreaDeductionRequest';
|
|
137
155
|
export { DiduiAreaDeductionShrinkRequest } from './DiduiAreaDeductionShrinkRequest';
|
|
138
156
|
export { DiduiAreaDeductionResponseBody } from './DiduiAreaDeductionResponseBody';
|
|
@@ -244,6 +262,10 @@ export { ProductHotspotDetectionResponse } from './ProductHotspotDetectionRespon
|
|
|
244
262
|
export { QueryAsyncTaskResultRequest } from './QueryAsyncTaskResultRequest';
|
|
245
263
|
export { QueryAsyncTaskResultResponseBody } from './QueryAsyncTaskResultResponseBody';
|
|
246
264
|
export { QueryAsyncTaskResultResponse } from './QueryAsyncTaskResultResponse';
|
|
265
|
+
export { QueryDisplayKnowledgeRequest } from './QueryDisplayKnowledgeRequest';
|
|
266
|
+
export { QueryDisplayKnowledgeShrinkRequest } from './QueryDisplayKnowledgeShrinkRequest';
|
|
267
|
+
export { QueryDisplayKnowledgeResponseBody } from './QueryDisplayKnowledgeResponseBody';
|
|
268
|
+
export { QueryDisplayKnowledgeResponse } from './QueryDisplayKnowledgeResponse';
|
|
247
269
|
export { SizeChartDetectRequest } from './SizeChartDetectRequest';
|
|
248
270
|
export { SizeChartDetectResponseBody } from './SizeChartDetectResponseBody';
|
|
249
271
|
export { SizeChartDetectResponse } from './SizeChartDetectResponse';
|
|
@@ -272,6 +294,10 @@ export { TextTranslateAsyncRequest } from './TextTranslateAsyncRequest';
|
|
|
272
294
|
export { TextTranslateAsyncShrinkRequest } from './TextTranslateAsyncShrinkRequest';
|
|
273
295
|
export { TextTranslateAsyncResponseBody } from './TextTranslateAsyncResponseBody';
|
|
274
296
|
export { TextTranslateAsyncResponse } from './TextTranslateAsyncResponse';
|
|
297
|
+
export { UpdateDisplayKnowledgeRequest } from './UpdateDisplayKnowledgeRequest';
|
|
298
|
+
export { UpdateDisplayKnowledgeShrinkRequest } from './UpdateDisplayKnowledgeShrinkRequest';
|
|
299
|
+
export { UpdateDisplayKnowledgeResponseBody } from './UpdateDisplayKnowledgeResponseBody';
|
|
300
|
+
export { UpdateDisplayKnowledgeResponse } from './UpdateDisplayKnowledgeResponse';
|
|
275
301
|
export { VideoGenerationRequest } from './VideoGenerationRequest';
|
|
276
302
|
export { VideoGenerationShrinkRequest } from './VideoGenerationShrinkRequest';
|
|
277
303
|
export { VideoGenerationResponseBody } from './VideoGenerationResponseBody';
|