@alicloud/aidge20260428 5.5.0 → 5.7.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 +520 -490
- package/dist/client.js +595 -490
- package/dist/client.js.map +1 -1
- package/dist/models/AiTryOnRequest.d.ts +42 -0
- package/dist/models/AiTryOnRequest.js +64 -0
- package/dist/models/AiTryOnRequest.js.map +1 -0
- package/dist/models/AiTryOnResponse.d.ts +19 -0
- package/dist/models/AiTryOnResponse.js +69 -0
- package/dist/models/AiTryOnResponse.js.map +1 -0
- package/dist/models/AiTryOnResponseBody.d.ts +90 -0
- package/dist/models/AiTryOnResponseBody.js +120 -0
- package/dist/models/AiTryOnResponseBody.js.map +1 -0
- package/dist/models/AssetOptimizeLiteRequest.d.ts +2 -2
- package/dist/models/AssetOptimizeLiteResponseBody.d.ts +1 -3
- package/dist/models/AssetOptimizeLiteResponseBody.js +0 -2
- package/dist/models/AssetOptimizeLiteResponseBody.js.map +1 -1
- package/dist/models/AssetOptimizeProRequest.d.ts +5 -5
- package/dist/models/AssetOptimizeProResponseBody.d.ts +4 -4
- package/dist/models/AssetOptimizeProShrinkRequest.d.ts +5 -5
- package/dist/models/CategoryAttributeMatchRequest.d.ts +5 -5
- package/dist/models/CategoryAttributeMatchResponseBody.d.ts +5 -5
- package/dist/models/CategoryAttributeMatchShrinkRequest.d.ts +5 -5
- package/dist/models/CategoryMatchRequest.d.ts +7 -7
- package/dist/models/CategoryMatchResponseBody.d.ts +8 -8
- package/dist/models/DiduiAreaDeductionRequest.d.ts +2 -2
- package/dist/models/DiduiAreaDeductionResponseBody.d.ts +4 -4
- package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +1 -1
- package/dist/models/DocumentTranslateRequest.d.ts +1 -1
- package/dist/models/DocumentTranslateResponseBody.d.ts +3 -3
- package/dist/models/EcomVideoRecreationRequest.d.ts +12 -12
- package/dist/models/EcomVideoRecreationResponseBody.d.ts +2 -2
- package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +1 -1
- package/dist/models/ImageMattingRequest.d.ts +1 -1
- package/dist/models/ImageMattingResponseBody.d.ts +2 -3
- package/dist/models/ImageMattingResponseBody.js.map +1 -1
- package/dist/models/ImageRecognitionRequest.d.ts +2 -2
- package/dist/models/ImageRecognitionResponseBody.d.ts +5 -5
- package/dist/models/ImageRecognitionShrinkRequest.d.ts +2 -2
- package/dist/models/ImageRemovalProRequest.d.ts +2 -2
- package/dist/models/ImageRemovalProResponseBody.d.ts +3 -3
- package/dist/models/ImageRemoveRequest.d.ts +9 -9
- package/dist/models/ImageRemoveResponseBody.d.ts +2 -2
- package/dist/models/ImageRemoveShrinkRequest.d.ts +9 -9
- package/dist/models/ImageTranslationPlusResponseBody.d.ts +3 -3
- package/dist/models/ImageTranslationProRequest.d.ts +6 -6
- package/dist/models/ImageTranslationProResponseBody.d.ts +14 -14
- package/dist/models/ImageTranslationStandardRequest.d.ts +2 -2
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +7 -7
- package/dist/models/LanguageDetectRequest.d.ts +2 -2
- package/dist/models/LanguageDetectResponseBody.d.ts +3 -3
- package/dist/models/MaterialInspectionRequest.d.ts +5 -5
- package/dist/models/MaterialInspectionResponseBody.d.ts +6 -11
- package/dist/models/MaterialInspectionResponseBody.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionRequest.d.ts +5 -5
- package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +9 -9
- package/dist/models/PackageWeightSizeCheckRequest.d.ts +1 -1
- package/dist/models/PackageWeightSizeCheckResponseBody.d.ts +4 -4
- package/dist/models/PrepaidTextTranslateRequest.d.ts +3 -3
- package/dist/models/PrepaidTextTranslateResponseBody.d.ts +6 -6
- package/dist/models/PrepaidTextTranslateShrinkRequest.d.ts +3 -3
- package/dist/models/ProductHotspotDetectionResponseBody.d.ts +2 -2
- package/dist/models/SizeChartDetectResponseBody.d.ts +3 -4
- package/dist/models/SizeChartDetectResponseBody.js.map +1 -1
- package/dist/models/SizeChartExtractRequest.d.ts +2 -2
- package/dist/models/SizeChartExtractResponseBody.d.ts +1 -1
- package/dist/models/SizeChartExtractShrinkRequest.d.ts +2 -2
- package/dist/models/SubmitProductMatchRequest.d.ts +77 -0
- package/dist/models/SubmitProductMatchRequest.js +70 -0
- package/dist/models/SubmitProductMatchRequest.js.map +1 -0
- package/dist/models/SubmitProductMatchResponse.d.ts +19 -0
- package/dist/models/SubmitProductMatchResponse.js +69 -0
- package/dist/models/SubmitProductMatchResponse.js.map +1 -0
- package/dist/models/SubmitProductMatchResponseBody.d.ts +80 -0
- package/dist/models/SubmitProductMatchResponseBody.js +90 -0
- package/dist/models/SubmitProductMatchResponseBody.js.map +1 -0
- package/dist/models/TextCorrectResponseBody.d.ts +1 -1
- package/dist/models/TextTranslateRequest.d.ts +13 -16
- package/dist/models/TextTranslateRequest.js.map +1 -1
- package/dist/models/TextTranslateResponseBody.d.ts +2 -2
- package/dist/models/TextTranslateShrinkRequest.d.ts +13 -16
- package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
- package/dist/models/VideoTranslationRequest.d.ts +2 -2
- package/dist/models/VideoTranslationResponseBody.d.ts +1 -1
- package/dist/models/VideoTranslationShrinkRequest.d.ts +2 -2
- package/dist/models/VirtualTryOnResponseBody.d.ts +3 -3
- package/dist/models/VisionFlowRequest.d.ts +15 -15
- package/dist/models/VisionFlowResponseBody.d.ts +1 -1
- package/dist/models/VisionFlowShrinkRequest.d.ts +15 -15
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +22 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +610 -490
- package/src/models/AiTryOnRequest.ts +61 -0
- package/src/models/AiTryOnResponse.ts +40 -0
- package/src/models/AiTryOnResponseBody.ts +145 -0
- package/src/models/AssetOptimizeLiteRequest.ts +2 -2
- package/src/models/AssetOptimizeLiteResponseBody.ts +1 -3
- package/src/models/AssetOptimizeProRequest.ts +5 -5
- package/src/models/AssetOptimizeProResponseBody.ts +4 -4
- package/src/models/AssetOptimizeProShrinkRequest.ts +5 -5
- package/src/models/CategoryAttributeMatchRequest.ts +5 -5
- package/src/models/CategoryAttributeMatchResponseBody.ts +5 -5
- package/src/models/CategoryAttributeMatchShrinkRequest.ts +5 -5
- package/src/models/CategoryMatchRequest.ts +7 -7
- package/src/models/CategoryMatchResponseBody.ts +8 -8
- package/src/models/DiduiAreaDeductionRequest.ts +2 -2
- package/src/models/DiduiAreaDeductionResponseBody.ts +4 -4
- package/src/models/DiduiAreaDeductionShrinkRequest.ts +1 -1
- package/src/models/DocumentTranslateRequest.ts +1 -1
- package/src/models/DocumentTranslateResponseBody.ts +3 -3
- package/src/models/EcomVideoRecreationRequest.ts +12 -12
- package/src/models/EcomVideoRecreationResponseBody.ts +2 -2
- package/src/models/EcomVideoRecreationShrinkRequest.ts +1 -1
- package/src/models/ImageMattingRequest.ts +1 -1
- package/src/models/ImageMattingResponseBody.ts +2 -3
- package/src/models/ImageRecognitionRequest.ts +2 -2
- package/src/models/ImageRecognitionResponseBody.ts +5 -5
- package/src/models/ImageRecognitionShrinkRequest.ts +2 -2
- package/src/models/ImageRemovalProRequest.ts +2 -2
- package/src/models/ImageRemovalProResponseBody.ts +3 -3
- package/src/models/ImageRemoveRequest.ts +9 -9
- package/src/models/ImageRemoveResponseBody.ts +2 -2
- package/src/models/ImageRemoveShrinkRequest.ts +9 -9
- package/src/models/ImageTranslationPlusResponseBody.ts +3 -3
- package/src/models/ImageTranslationProRequest.ts +6 -6
- package/src/models/ImageTranslationProResponseBody.ts +14 -14
- package/src/models/ImageTranslationStandardRequest.ts +2 -2
- package/src/models/ImageTranslationStandardResponseBody.ts +7 -7
- package/src/models/LanguageDetectRequest.ts +2 -2
- package/src/models/LanguageDetectResponseBody.ts +3 -3
- package/src/models/MaterialInspectionRequest.ts +5 -5
- package/src/models/MaterialInspectionResponseBody.ts +6 -11
- package/src/models/MerchandisePlacementDetectionRequest.ts +5 -5
- package/src/models/MerchandisePlacementDetectionResponseBody.ts +9 -9
- package/src/models/PackageWeightSizeCheckRequest.ts +1 -1
- package/src/models/PackageWeightSizeCheckResponseBody.ts +4 -4
- package/src/models/PrepaidTextTranslateRequest.ts +3 -3
- package/src/models/PrepaidTextTranslateResponseBody.ts +6 -6
- package/src/models/PrepaidTextTranslateShrinkRequest.ts +3 -3
- package/src/models/ProductHotspotDetectionResponseBody.ts +2 -2
- package/src/models/SizeChartDetectResponseBody.ts +3 -4
- package/src/models/SizeChartExtractRequest.ts +2 -2
- package/src/models/SizeChartExtractResponseBody.ts +1 -1
- package/src/models/SizeChartExtractShrinkRequest.ts +2 -2
- package/src/models/SubmitProductMatchRequest.ts +102 -0
- package/src/models/SubmitProductMatchResponse.ts +40 -0
- package/src/models/SubmitProductMatchResponseBody.ts +116 -0
- package/src/models/TextCorrectResponseBody.ts +1 -1
- package/src/models/TextTranslateRequest.ts +13 -16
- package/src/models/TextTranslateResponseBody.ts +2 -2
- package/src/models/TextTranslateShrinkRequest.ts +13 -16
- package/src/models/VideoTranslationRequest.ts +2 -2
- package/src/models/VideoTranslationResponseBody.ts +1 -1
- package/src/models/VideoTranslationShrinkRequest.ts +2 -2
- package/src/models/VirtualTryOnResponseBody.ts +3 -3
- package/src/models/VisionFlowRequest.ts +15 -15
- package/src/models/VisionFlowResponseBody.ts +1 -1
- package/src/models/VisionFlowShrinkRequest.ts +15 -15
- package/src/models/model.ts +9 -0
|
@@ -158,7 +158,7 @@ export declare class ImageTranslationProResponseBodyDataGenFilesEditInfoTextArea
|
|
|
158
158
|
export declare class ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTexts extends $dara.Model {
|
|
159
159
|
/**
|
|
160
160
|
* @remarks
|
|
161
|
-
* The color
|
|
161
|
+
* The text color after translation.
|
|
162
162
|
*
|
|
163
163
|
* @example
|
|
164
164
|
* #515151
|
|
@@ -174,7 +174,7 @@ export declare class ImageTranslationProResponseBodyDataGenFilesEditInfoTextArea
|
|
|
174
174
|
fontsize?: number;
|
|
175
175
|
/**
|
|
176
176
|
* @remarks
|
|
177
|
-
* The horizontal layout. Valid values: center, left, right.
|
|
177
|
+
* The horizontal layout mode. Valid values: center, left, right.
|
|
178
178
|
*
|
|
179
179
|
* @example
|
|
180
180
|
* center
|
|
@@ -182,7 +182,7 @@ export declare class ImageTranslationProResponseBodyDataGenFilesEditInfoTextArea
|
|
|
182
182
|
horizontalLayout?: string;
|
|
183
183
|
/**
|
|
184
184
|
* @remarks
|
|
185
|
-
* The coordinates of the image
|
|
185
|
+
* The coordinates of the image repair area.
|
|
186
186
|
*/
|
|
187
187
|
imageRect?: ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTextsImageRect;
|
|
188
188
|
/**
|
|
@@ -208,7 +208,7 @@ export declare class ImageTranslationProResponseBodyDataGenFilesEditInfoTextArea
|
|
|
208
208
|
textRect?: ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTextsTextRect;
|
|
209
209
|
/**
|
|
210
210
|
* @remarks
|
|
211
|
-
* Indicates whether the TextItem is valid. The
|
|
211
|
+
* Indicates whether the TextItem is valid. The TextItem is invalid if this value does not exist or is set to false.
|
|
212
212
|
*
|
|
213
213
|
* @example
|
|
214
214
|
* true
|
|
@@ -224,7 +224,7 @@ export declare class ImageTranslationProResponseBodyDataGenFilesEditInfoTextArea
|
|
|
224
224
|
value?: string;
|
|
225
225
|
/**
|
|
226
226
|
* @remarks
|
|
227
|
-
* The vertical layout. Valid values: center, top, down.
|
|
227
|
+
* The vertical layout mode. Valid values: center, top, and down.
|
|
228
228
|
*
|
|
229
229
|
* @example
|
|
230
230
|
* center
|
|
@@ -255,7 +255,7 @@ export declare class ImageTranslationProResponseBodyDataGenFilesEditInfoTextArea
|
|
|
255
255
|
* The original text before translation.
|
|
256
256
|
*
|
|
257
257
|
* @example
|
|
258
|
-
*
|
|
258
|
+
* 萌趣造型·清脆响铃
|
|
259
259
|
*/
|
|
260
260
|
content?: string;
|
|
261
261
|
/**
|
|
@@ -268,7 +268,7 @@ export declare class ImageTranslationProResponseBodyDataGenFilesEditInfoTextArea
|
|
|
268
268
|
fontsize?: number;
|
|
269
269
|
/**
|
|
270
270
|
* @remarks
|
|
271
|
-
* The horizontal layout. Valid values: center, left, right.
|
|
271
|
+
* The horizontal layout mode. Valid values: center, left, right.
|
|
272
272
|
*
|
|
273
273
|
* @example
|
|
274
274
|
* left
|
|
@@ -289,7 +289,7 @@ export declare class ImageTranslationProResponseBodyDataGenFilesEditInfoTextArea
|
|
|
289
289
|
texts?: ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTexts[];
|
|
290
290
|
/**
|
|
291
291
|
* @remarks
|
|
292
|
-
* The vertical layout. Valid values: center, top, down.
|
|
292
|
+
* The vertical layout mode. Valid values: center, top, and down.
|
|
293
293
|
*
|
|
294
294
|
* @example
|
|
295
295
|
* center
|
|
@@ -332,7 +332,7 @@ export declare class ImageTranslationProResponseBodyDataGenFilesEditInfo extends
|
|
|
332
332
|
repairedUrl?: string;
|
|
333
333
|
/**
|
|
334
334
|
* @remarks
|
|
335
|
-
* The collection of global IDs
|
|
335
|
+
* The collection of global IDs for the translated images.
|
|
336
336
|
*/
|
|
337
337
|
resultImageIds?: string[];
|
|
338
338
|
/**
|
|
@@ -412,7 +412,7 @@ export declare class ImageTranslationProResponseBodyDataGenFiles extends $dara.M
|
|
|
412
412
|
export declare class ImageTranslationProResponseBodyDataResultList extends $dara.Model {
|
|
413
413
|
/**
|
|
414
414
|
* @remarks
|
|
415
|
-
* The URL of the
|
|
415
|
+
* The URL of the translated result image.
|
|
416
416
|
*
|
|
417
417
|
* @example
|
|
418
418
|
* http://dashscope-a717.oss-cn-beijing.aliyuncs.com/xxx.jpg
|
|
@@ -458,7 +458,7 @@ export declare class ImageTranslationProResponseBodyData extends $dara.Model {
|
|
|
458
458
|
taskId?: string;
|
|
459
459
|
/**
|
|
460
460
|
* @remarks
|
|
461
|
-
* The usage information,
|
|
461
|
+
* The usage information, such as the number of processed images.
|
|
462
462
|
*/
|
|
463
463
|
usageMap?: {
|
|
464
464
|
[key: string]: number;
|
|
@@ -485,12 +485,12 @@ export declare class ImageTranslationProResponseBody extends $dara.Model {
|
|
|
485
485
|
code?: string;
|
|
486
486
|
/**
|
|
487
487
|
* @remarks
|
|
488
|
-
* The translation result data. ResultList contains the
|
|
488
|
+
* The translation result data. ResultList contains the URLs of the translation results. GenFiles contains EditInfo, which includes the recognized text information.
|
|
489
489
|
*/
|
|
490
490
|
data?: ImageTranslationProResponseBodyData;
|
|
491
491
|
/**
|
|
492
492
|
* @remarks
|
|
493
|
-
* The error message.
|
|
493
|
+
* The error message. "Success" is returned for successful calls. A specific error message is returned for failed calls, such as "The content contains sensitive data. Try other input."
|
|
494
494
|
*
|
|
495
495
|
* @example
|
|
496
496
|
* Success
|
|
@@ -498,7 +498,7 @@ export declare class ImageTranslationProResponseBody extends $dara.Model {
|
|
|
498
498
|
message?: string;
|
|
499
499
|
/**
|
|
500
500
|
* @remarks
|
|
501
|
-
* The request ID
|
|
501
|
+
* The request ID, which uniquely identifies the request.
|
|
502
502
|
*
|
|
503
503
|
* @example
|
|
504
504
|
* 61785C32-80C2-19A3-9E55-2C3702C84B40
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The intervention glossary ID. Optional.
|
|
5
|
+
* The intervention glossary ID. Optional. You must create the glossary separately in the console and provide its ID. If the glossary ID is empty, the translation results are not modified.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* glossary_1
|
|
@@ -23,7 +23,7 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
23
23
|
imageUrl?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* Specifies whether to translate text on the image
|
|
26
|
+
* Specifies whether to translate text on the product area of an image. Optional. Default value: false. This helps protect information by avoiding translation of embedded information such as product names.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* false
|
|
@@ -272,7 +272,7 @@ export declare class ImageTranslationStandardResponseBodyDataEditInfo extends $d
|
|
|
272
272
|
font?: string[];
|
|
273
273
|
/**
|
|
274
274
|
* @remarks
|
|
275
|
-
* The product area
|
|
275
|
+
* The product area rectangles.
|
|
276
276
|
*/
|
|
277
277
|
goodsRects?: ImageTranslationStandardResponseBodyDataEditInfoGoodsRects;
|
|
278
278
|
/**
|
|
@@ -293,7 +293,7 @@ export declare class ImageTranslationStandardResponseBodyDataEditInfo extends $d
|
|
|
293
293
|
languages?: string[];
|
|
294
294
|
/**
|
|
295
295
|
* @remarks
|
|
296
|
-
* The
|
|
296
|
+
* The original image URL.
|
|
297
297
|
*
|
|
298
298
|
* @example
|
|
299
299
|
* https://xiuxiu-pro.meitudata.com/posters/34d78f9157e5560a4d612949ca6f6485.jpg
|
|
@@ -301,7 +301,7 @@ export declare class ImageTranslationStandardResponseBodyDataEditInfo extends $d
|
|
|
301
301
|
pictUrl?: string;
|
|
302
302
|
/**
|
|
303
303
|
* @remarks
|
|
304
|
-
* The
|
|
304
|
+
* The repaired image URL.
|
|
305
305
|
*
|
|
306
306
|
* @example
|
|
307
307
|
* http://dashscope-a717.oss-cn-beijing.aliyuncs.com/xxx.png
|
|
@@ -355,7 +355,7 @@ export declare class ImageTranslationStandardResponseBodyData extends $dara.Mode
|
|
|
355
355
|
editInfo?: ImageTranslationStandardResponseBodyDataEditInfo;
|
|
356
356
|
/**
|
|
357
357
|
* @remarks
|
|
358
|
-
* The URL of the image generated
|
|
358
|
+
* The URL of the image generated after image translation.
|
|
359
359
|
*
|
|
360
360
|
* @example
|
|
361
361
|
* http://dashscope-a717.oss-cn-beijing.aliyuncs.com/xxx.jpg
|
|
@@ -385,7 +385,7 @@ export declare class ImageTranslationStandardResponseBodyData extends $dara.Mode
|
|
|
385
385
|
export declare class ImageTranslationStandardResponseBody extends $dara.Model {
|
|
386
386
|
/**
|
|
387
387
|
* @remarks
|
|
388
|
-
* The response code. 200 indicates
|
|
388
|
+
* The response code. A value of 200 indicates a successful call. For other response codes, refer to the error code information.
|
|
389
389
|
*
|
|
390
390
|
* @example
|
|
391
391
|
* 200
|
|
@@ -406,7 +406,7 @@ export declare class ImageTranslationStandardResponseBody extends $dara.Model {
|
|
|
406
406
|
message?: string;
|
|
407
407
|
/**
|
|
408
408
|
* @remarks
|
|
409
|
-
* The request ID,
|
|
409
|
+
* The request ID, which uniquely identifies the request.
|
|
410
410
|
*
|
|
411
411
|
* @example
|
|
412
412
|
* 1CEC4D94-905A-1ED1-A7B4-1BFEFFB3D850
|
|
@@ -414,7 +414,7 @@ export declare class ImageTranslationStandardResponseBody extends $dara.Model {
|
|
|
414
414
|
requestId?: string;
|
|
415
415
|
/**
|
|
416
416
|
* @remarks
|
|
417
|
-
* Indicates whether the call is successful. true indicates success. false indicates failure.
|
|
417
|
+
* Indicates whether the call is successful. A value of true indicates success. A value of false indicates failure.
|
|
418
418
|
*
|
|
419
419
|
* @example
|
|
420
420
|
* true
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class LanguageDetectRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The detection scenario. Default value: common. If you are
|
|
5
|
+
* The detection scenario. Default value: common. If you are identifying search phrases, set this parameter to query. If an incorrect value is specified or this parameter is left empty, the common general identification mode is used. Note: pass query in lowercase.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* query
|
|
@@ -10,7 +10,7 @@ export declare class LanguageDetectRequest extends $dara.Model {
|
|
|
10
10
|
scene?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The source text to
|
|
13
|
+
* The source text to identify. This parameter is required.
|
|
14
14
|
*
|
|
15
15
|
* This parameter is required.
|
|
16
16
|
*
|
|
@@ -32,7 +32,7 @@ export declare class LanguageDetectResponseBodyData extends $dara.Model {
|
|
|
32
32
|
export declare class LanguageDetectResponseBody extends $dara.Model {
|
|
33
33
|
/**
|
|
34
34
|
* @remarks
|
|
35
|
-
* The response code. A value of 200 indicates a successful call. For other response codes, refer to the error code
|
|
35
|
+
* The response code. A value of 200 indicates a successful call. For other response codes, refer to the error code documentation.
|
|
36
36
|
*
|
|
37
37
|
* @example
|
|
38
38
|
* 200
|
|
@@ -45,7 +45,7 @@ export declare class LanguageDetectResponseBody extends $dara.Model {
|
|
|
45
45
|
data?: LanguageDetectResponseBodyData;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The error message. "Success" is returned for a successful call. A specific error message is returned for
|
|
48
|
+
* The error message. "Success" is returned for a successful call. A specific error message is returned for a failed call, such as "The parameters contain sensitive information. Try other input."
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* Success
|
|
@@ -53,7 +53,7 @@ export declare class LanguageDetectResponseBody extends $dara.Model {
|
|
|
53
53
|
message?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The request ID,
|
|
56
|
+
* The request ID, which uniquely identifies the request.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 42542C6C-F2A4-1B2B-8EFF-130C8FD06F54
|
|
@@ -10,7 +10,7 @@ export declare class MaterialInspectionRequest extends $dara.Model {
|
|
|
10
10
|
apiId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The URL of the reference image.
|
|
13
|
+
* The URL of the reference image. This parameter is optional. If a non-empty value is specified, multi-image differential comparison is performed.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* https://example.com/reference.jpg
|
|
@@ -18,7 +18,7 @@ export declare class MaterialInspectionRequest extends $dara.Model {
|
|
|
18
18
|
imageRefer?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The URL of the target image
|
|
21
|
+
* The URL of the target image.
|
|
22
22
|
*
|
|
23
23
|
* This parameter is required.
|
|
24
24
|
*
|
|
@@ -28,7 +28,7 @@ export declare class MaterialInspectionRequest extends $dara.Model {
|
|
|
28
28
|
imageUrl?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The business request identity.
|
|
31
|
+
* The business request identity. This parameter is optional. The value is returned as-is in the response for Tracing Analysis purposes.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* req-2026-06-04-001
|
|
@@ -36,10 +36,10 @@ export declare class MaterialInspectionRequest extends $dara.Model {
|
|
|
36
36
|
reqId?: string;
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
* The rule prompt in natural language
|
|
39
|
+
* The rule prompt in natural language.
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
|
-
* The door-shaped display stand must be placed in the entrance area; the functional
|
|
42
|
+
* The door-shaped display stand must be placed in the entrance area; the functional card stand must be placed on the counter surface
|
|
43
43
|
*/
|
|
44
44
|
rules?: string;
|
|
45
45
|
static names(): {
|
|
@@ -2,10 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class MaterialInspectionResponseBodyDataResultSteps extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The determination result of the step. Valid values:
|
|
6
|
-
* - PASS: The step is compliant.
|
|
7
|
-
* - FAIL: The step is non-compliant.
|
|
8
|
-
* - UNABLE_TO_JUDGE: The system cannot determine the result.
|
|
5
|
+
* The determination result of the step. Valid values: PASS, FAIL, and UNABLE_TO_JUDGE.
|
|
9
6
|
*
|
|
10
7
|
* @example
|
|
11
8
|
* PASS
|
|
@@ -33,17 +30,15 @@ export declare class MaterialInspectionResponseBodyDataResultSteps extends $dara
|
|
|
33
30
|
export declare class MaterialInspectionResponseBodyDataResult extends $dara.Model {
|
|
34
31
|
/**
|
|
35
32
|
* @remarks
|
|
36
|
-
* The natural language summary
|
|
33
|
+
* The natural language summary, such as "1 rule: 1 PASS, all inspection items are compliant."
|
|
37
34
|
*
|
|
38
35
|
* @example
|
|
39
|
-
* 1
|
|
36
|
+
* 1 rule: 1 PASS, all inspection items are compliant
|
|
40
37
|
*/
|
|
41
38
|
evidence?: string;
|
|
42
39
|
/**
|
|
43
40
|
* @remarks
|
|
44
|
-
* The overall determination result. Valid values:
|
|
45
|
-
* - PASS: All inspection items are compliant.
|
|
46
|
-
* - FAIL: One or more inspection items are non-compliant.
|
|
41
|
+
* The overall determination result. Valid values: PASS and FAIL.
|
|
47
42
|
*
|
|
48
43
|
* @example
|
|
49
44
|
* PASS
|
|
@@ -51,7 +46,7 @@ export declare class MaterialInspectionResponseBodyDataResult extends $dara.Mode
|
|
|
51
46
|
overallResult?: string;
|
|
52
47
|
/**
|
|
53
48
|
* @remarks
|
|
54
|
-
* The request ID returned as-is from the
|
|
49
|
+
* The request ID returned as-is from the request.
|
|
55
50
|
*
|
|
56
51
|
* @example
|
|
57
52
|
* req-001
|
|
@@ -64,7 +59,7 @@ export declare class MaterialInspectionResponseBodyDataResult extends $dara.Mode
|
|
|
64
59
|
steps?: MaterialInspectionResponseBodyDataResultSteps[];
|
|
65
60
|
/**
|
|
66
61
|
* @remarks
|
|
67
|
-
* The detection type
|
|
62
|
+
* The detection type.
|
|
68
63
|
*
|
|
69
64
|
* @example
|
|
70
65
|
* Stamp
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MaterialInspectionResponseBody.js","sourceRoot":"","sources":["../../src/models/MaterialInspectionResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"MaterialInspectionResponseBody.js","sourceRoot":"","sources":["../../src/models/MaterialInspectionResponseBody.ts"],"names":[],"mappings":"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"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class MerchandisePlacementDetectionRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* Specify this parameter to use a custom API version. If you created a custom API during the trial phase, you can find the corresponding ApiId in the product console under **Intelligent Inspection > API Management > My APIs**.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* api_xxx
|
|
@@ -10,7 +10,7 @@ export declare class MerchandisePlacementDetectionRequest extends $dara.Model {
|
|
|
10
10
|
apiId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The URL of the shelf or floor-stack
|
|
13
|
+
* The URL of the shelf or floor-stack photo to be recognized (accessible over the Internet or from OSS).
|
|
14
14
|
*
|
|
15
15
|
* This parameter is required.
|
|
16
16
|
*
|
|
@@ -20,7 +20,7 @@ export declare class MerchandisePlacementDetectionRequest extends $dara.Model {
|
|
|
20
20
|
imageUrl?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The ID of the customer
|
|
23
|
+
* The ID of the customer-specific SKU vector library, which determines which library is used for recall. The library must be created in advance through the library creation process.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* rag_xxx
|
|
@@ -28,10 +28,10 @@ export declare class MerchandisePlacementDetectionRequest extends $dara.Model {
|
|
|
28
28
|
ragId?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The business type (reserved for future routing by business line). The current
|
|
31
|
+
* The business type (reserved for future routing by business line). The current release supports skincare.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
|
-
*
|
|
34
|
+
* skincare
|
|
35
35
|
*/
|
|
36
36
|
type?: string;
|
|
37
37
|
static names(): {
|
|
@@ -38,7 +38,7 @@ export declare class MerchandisePlacementDetectionResponseBodyDataDataTop1 exten
|
|
|
38
38
|
export declare class MerchandisePlacementDetectionResponseBodyDataDataTopk extends $dara.Model {
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The recall rank.
|
|
41
|
+
* The recall rank of the product.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* 1
|
|
@@ -82,7 +82,7 @@ export declare class MerchandisePlacementDetectionResponseBodyDataDataTopk exten
|
|
|
82
82
|
export declare class MerchandisePlacementDetectionResponseBodyDataData extends $dara.Model {
|
|
83
83
|
/**
|
|
84
84
|
* @remarks
|
|
85
|
-
* The position coordinates of the detection box in the format [x1,
|
|
85
|
+
* The position coordinates of the detection box in the format [x1,y1,x2,y2].
|
|
86
86
|
*/
|
|
87
87
|
bbox?: number[];
|
|
88
88
|
/**
|
|
@@ -90,7 +90,7 @@ export declare class MerchandisePlacementDetectionResponseBodyDataData extends $
|
|
|
90
90
|
* The failure reason for the detection box. The value is null if the detection is successful.
|
|
91
91
|
*
|
|
92
92
|
* @example
|
|
93
|
-
* "
|
|
93
|
+
* "Embedding failed"
|
|
94
94
|
*/
|
|
95
95
|
error?: string;
|
|
96
96
|
/**
|
|
@@ -133,12 +133,12 @@ export declare class MerchandisePlacementDetectionResponseBodyData extends $dara
|
|
|
133
133
|
boxCount?: number;
|
|
134
134
|
/**
|
|
135
135
|
* @remarks
|
|
136
|
-
* The list of
|
|
136
|
+
* The list of recall details for each detection box.
|
|
137
137
|
*/
|
|
138
138
|
data?: MerchandisePlacementDetectionResponseBodyDataData[];
|
|
139
139
|
/**
|
|
140
140
|
* @remarks
|
|
141
|
-
* The usage information
|
|
141
|
+
* The usage information, where the key is the usage name and the value is the count.
|
|
142
142
|
*
|
|
143
143
|
* @example
|
|
144
144
|
* {"ProcessingCount":1}
|
|
@@ -160,7 +160,7 @@ export declare class MerchandisePlacementDetectionResponseBodyData extends $dara
|
|
|
160
160
|
export declare class MerchandisePlacementDetectionResponseBody extends $dara.Model {
|
|
161
161
|
/**
|
|
162
162
|
* @remarks
|
|
163
|
-
* The error code. This parameter is not returned
|
|
163
|
+
* The error code. This parameter is not returned if the call is successful.
|
|
164
164
|
*
|
|
165
165
|
* @example
|
|
166
166
|
* 200
|
|
@@ -173,7 +173,7 @@ export declare class MerchandisePlacementDetectionResponseBody extends $dara.Mod
|
|
|
173
173
|
data?: MerchandisePlacementDetectionResponseBodyData;
|
|
174
174
|
/**
|
|
175
175
|
* @remarks
|
|
176
|
-
* The error message. This parameter is not returned
|
|
176
|
+
* The error message. This parameter is not returned if the call is successful.
|
|
177
177
|
*
|
|
178
178
|
* @example
|
|
179
179
|
* OK
|
|
@@ -189,8 +189,8 @@ export declare class MerchandisePlacementDetectionResponseBody extends $dara.Mod
|
|
|
189
189
|
requestId?: string;
|
|
190
190
|
/**
|
|
191
191
|
* @remarks
|
|
192
|
-
* Indicates whether the call
|
|
193
|
-
* - true: The call
|
|
192
|
+
* Indicates whether the call is successful. Valid values:
|
|
193
|
+
* - true: The call is successful.
|
|
194
194
|
* - false: The call failed.
|
|
195
195
|
*
|
|
196
196
|
* @example
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class PackageWeightSizeCheckRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The URL of the
|
|
5
|
+
* The URL of the image with manual bounding box annotations, which is the original image overlaid with blue or red rectangular bounding box lines. The URL must be publicly accessible. The image must not exceed 4000 × 4000 pixels or 10 MB in size. Supported formats: png, jpeg, and jpg.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class PackageWeightSizeCheckResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The asynchronous task ID
|
|
5
|
+
* The asynchronous task ID used to query the review result later by calling QueryAsyncTaskResult.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* a8323ada-a196-9061-976f-90e38b27323a
|
|
@@ -35,7 +35,7 @@ export declare class PackageWeightSizeCheckResponseBody extends $dara.Model {
|
|
|
35
35
|
data?: PackageWeightSizeCheckResponseBodyData;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The error message. "Success" is returned for
|
|
38
|
+
* The error message. "Success" is returned for successful calls. A specific error message is returned for failed calls.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* Success
|
|
@@ -43,7 +43,7 @@ export declare class PackageWeightSizeCheckResponseBody extends $dara.Model {
|
|
|
43
43
|
message?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The request ID, which uniquely identifies the
|
|
46
|
+
* The request ID, which uniquely identifies the request.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* F93D82E4-D0B6-1043-AC58-282597BC3C10
|
|
@@ -51,7 +51,7 @@ export declare class PackageWeightSizeCheckResponseBody extends $dara.Model {
|
|
|
51
51
|
requestId?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* Indicates whether the call is successful.
|
|
54
|
+
* Indicates whether the call is successful. Valid values: true and false.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* true
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class PrepaidTextTranslateRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The business scenario identifier. This parameter is optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, game. If not specified or an invalid value is passed, the general translation
|
|
5
|
+
* The business scenario identifier. This parameter is optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, game. If not specified or an invalid value is passed, the general translation policy is used by default.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* Alibaba-商品
|
|
@@ -10,7 +10,7 @@ export declare class PrepaidTextTranslateRequest extends $dara.Model {
|
|
|
10
10
|
bizName?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The format type of the source text. This parameter is optional.
|
|
13
|
+
* The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format that preserves HTML tags).
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* text
|
|
@@ -54,7 +54,7 @@ export declare class PrepaidTextTranslateRequest extends $dara.Model {
|
|
|
54
54
|
targetLanguage?: string;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The format of the translation text. html (web page format. This setting processes both the source text and translated text in HTML format)
|
|
57
|
+
* The format of the translation text. Valid values: html (web page format. This setting processes both the source text and translated text in HTML format) and text (text format. This setting processes both the source text and translated text as plain text without any format processing).
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* e-commerce-title
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class PrepaidTextTranslateResponseBodyDataTranslations extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The number of characters in the source text.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 11
|
|
@@ -21,7 +21,7 @@ export declare class PrepaidTextTranslateResponseBodyDataTranslations extends $d
|
|
|
21
21
|
* The translated text.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
|
-
*
|
|
24
|
+
* Hello World
|
|
25
25
|
*/
|
|
26
26
|
translatedText?: string;
|
|
27
27
|
static names(): {
|
|
@@ -62,7 +62,7 @@ export declare class PrepaidTextTranslateResponseBodyData extends $dara.Model {
|
|
|
62
62
|
export declare class PrepaidTextTranslateResponseBody extends $dara.Model {
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* The response code.
|
|
65
|
+
* The response code. The value "success" is returned for successful calls.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* success
|
|
@@ -75,7 +75,7 @@ export declare class PrepaidTextTranslateResponseBody extends $dara.Model {
|
|
|
75
75
|
data?: PrepaidTextTranslateResponseBodyData;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The error message.
|
|
78
|
+
* The error message. The value "Success" is returned for successful calls. For exceptions, a specific error message is returned, such as "The parameters contain sensitive information. Try other input."
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* Success
|
|
@@ -83,7 +83,7 @@ export declare class PrepaidTextTranslateResponseBody extends $dara.Model {
|
|
|
83
83
|
message?: string;
|
|
84
84
|
/**
|
|
85
85
|
* @remarks
|
|
86
|
-
* The request ID, used to identify a
|
|
86
|
+
* The request ID, used to uniquely identify a request.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
@@ -91,7 +91,7 @@ export declare class PrepaidTextTranslateResponseBody extends $dara.Model {
|
|
|
91
91
|
requestId?: string;
|
|
92
92
|
/**
|
|
93
93
|
* @remarks
|
|
94
|
-
* Indicates whether the call is successful. true indicates success. false indicates failure.
|
|
94
|
+
* Indicates whether the call is successful. A value of true indicates success. A value of false indicates failure.
|
|
95
95
|
*
|
|
96
96
|
* @example
|
|
97
97
|
* True
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class PrepaidTextTranslateShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The business scenario identifier. This parameter is optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, game. If not specified or an invalid value is passed, the general translation
|
|
5
|
+
* The business scenario identifier. This parameter is optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, game. If not specified or an invalid value is passed, the general translation policy is used by default.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* Alibaba-商品
|
|
@@ -10,7 +10,7 @@ export declare class PrepaidTextTranslateShrinkRequest extends $dara.Model {
|
|
|
10
10
|
bizName?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The format type of the source text. This parameter is optional.
|
|
13
|
+
* The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format that preserves HTML tags).
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* text
|
|
@@ -54,7 +54,7 @@ export declare class PrepaidTextTranslateShrinkRequest extends $dara.Model {
|
|
|
54
54
|
targetLanguage?: string;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The format of the translation text. html (web page format. This setting processes both the source text and translated text in HTML format)
|
|
57
|
+
* The format of the translation text. Valid values: html (web page format. This setting processes both the source text and translated text in HTML format) and text (text format. This setting processes both the source text and translated text as plain text without any format processing).
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* e-commerce-title
|
|
@@ -46,7 +46,7 @@ export declare class ProductHotspotDetectionResponseBodyDataProductsBoxes extend
|
|
|
46
46
|
export declare class ProductHotspotDetectionResponseBodyDataProducts extends $dara.Model {
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The bounding boxes of the product instances.
|
|
49
|
+
* The bounding boxes of the detected product instances.
|
|
50
50
|
*/
|
|
51
51
|
boxes?: ProductHotspotDetectionResponseBodyDataProductsBoxes[];
|
|
52
52
|
/**
|
|
@@ -79,7 +79,7 @@ export declare class ProductHotspotDetectionResponseBodyDataProducts extends $da
|
|
|
79
79
|
export declare class ProductHotspotDetectionResponseBodyData extends $dara.Model {
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
* The list of
|
|
82
|
+
* The list of detected products and their bounding boxes.
|
|
83
83
|
*/
|
|
84
84
|
products?: ProductHotspotDetectionResponseBodyDataProducts[];
|
|
85
85
|
/**
|