@alicloud/aidge20260428 5.4.0 → 5.6.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 +548 -456
- package/dist/client.js +623 -456
- package/dist/client.js.map +1 -1
- package/dist/models/AssetOptimizeLiteRequest.d.ts +2 -2
- package/dist/models/AssetOptimizeLiteResponseBody.d.ts +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 +2 -2
- 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 +4 -4
- package/dist/models/ImageRecognitionResponseBody.d.ts +5 -5
- package/dist/models/ImageRecognitionShrinkRequest.d.ts +4 -4
- 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 +10 -10
- package/dist/models/ImageTranslationProResponseBody.d.ts +11 -11
- package/dist/models/ImageTranslationStandardRequest.d.ts +4 -4
- 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/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/TextTranslateRequest.d.ts +6 -15
- package/dist/models/TextTranslateRequest.js.map +1 -1
- package/dist/models/TextTranslateResponseBody.d.ts +5 -5
- package/dist/models/TextTranslateShrinkRequest.d.ts +6 -15
- package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
- package/dist/models/VideoTranslationRequest.d.ts +1 -1
- package/dist/models/VideoTranslationShrinkRequest.d.ts +1 -1
- package/dist/models/VirtualTryOnRequest.d.ts +51 -0
- package/dist/models/VirtualTryOnRequest.js +64 -0
- package/dist/models/VirtualTryOnRequest.js.map +1 -0
- package/dist/models/VirtualTryOnResponse.d.ts +19 -0
- package/dist/models/VirtualTryOnResponse.js +69 -0
- package/dist/models/VirtualTryOnResponse.js.map +1 -0
- package/dist/models/VirtualTryOnResponseBody.d.ts +77 -0
- package/dist/models/VirtualTryOnResponseBody.js +93 -0
- package/dist/models/VirtualTryOnResponseBody.js.map +1 -0
- 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 +8 -0
- package/dist/models/model.js +19 -3
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +638 -456
- package/src/models/AssetOptimizeLiteRequest.ts +2 -2
- package/src/models/AssetOptimizeLiteResponseBody.ts +1 -1
- 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 +2 -2
- 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 +4 -4
- package/src/models/ImageRecognitionResponseBody.ts +5 -5
- package/src/models/ImageRecognitionShrinkRequest.ts +4 -4
- 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 +10 -10
- package/src/models/ImageTranslationProResponseBody.ts +11 -11
- package/src/models/ImageTranslationStandardRequest.ts +4 -4
- 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/SubmitProductMatchRequest.ts +102 -0
- package/src/models/SubmitProductMatchResponse.ts +40 -0
- package/src/models/SubmitProductMatchResponseBody.ts +116 -0
- package/src/models/TextTranslateRequest.ts +6 -15
- package/src/models/TextTranslateResponseBody.ts +5 -5
- package/src/models/TextTranslateShrinkRequest.ts +6 -15
- package/src/models/VideoTranslationRequest.ts +1 -1
- package/src/models/VideoTranslationShrinkRequest.ts +1 -1
- package/src/models/VirtualTryOnRequest.ts +70 -0
- package/src/models/VirtualTryOnResponse.ts +40 -0
- package/src/models/VirtualTryOnResponseBody.ts +114 -0
- 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 +8 -0
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRemoveShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format, with a resolution between 256 × 256 and 3000 × 3000 pixels, and a file size no
|
|
5
|
+
* The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format, with a resolution between 256 × 256 and 3000 × 3000 pixels, and a file size of no more than 10 MB.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -13,7 +13,7 @@ export declare class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
15
|
* The specific removal area. This parameter must be used with the editor. The input format is RLE.
|
|
16
|
-
* If
|
|
16
|
+
* If specified, this parameter takes priority and the remove_non_product_area_elements and remove_product_area_elements parameters are ignored. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
17
17
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
@@ -22,9 +22,9 @@ export declare class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
22
22
|
mask?: string;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The elements to remove from the non-subject area of the image (1=transparent text blocks, 2=specific names, 3=text, 4=
|
|
25
|
+
* The elements to remove from the non-subject area of the image (1 = transparent text blocks, 2 = specific names, 3 = text, 4 = image blemishes). You can select multiple element types. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
26
26
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
27
|
-
* Refer to the product description for details
|
|
27
|
+
* Refer to the product description for details about each type.
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* [1,2]
|
|
@@ -32,9 +32,9 @@ export declare class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
32
32
|
nonObjectRemoveElementsShrink?: string;
|
|
33
33
|
/**
|
|
34
34
|
* @remarks
|
|
35
|
-
* The elements to remove from the image subject (1=transparent text blocks, 2=specific names, 3=text, 4=
|
|
35
|
+
* The elements to remove from the image subject (1 = transparent text blocks, 2 = specific names, 3 = text, 4 = image blemishes). You can select multiple element types. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
36
36
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
37
|
-
* Refer to the product description for details
|
|
37
|
+
* Refer to the product description for details about each type.
|
|
38
38
|
* Image subject: The core product area in the image.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
@@ -43,7 +43,7 @@ export declare class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
43
43
|
objectRemoveElementsShrink?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The specific removal area. This parameter must be used with the editor. The input format is four-point coordinates [xx,yy,zz,dd]. This parameter is
|
|
46
|
+
* The specific removal area. This parameter must be used with the editor. The input format is four-point coordinates [xx,yy,zz,dd]. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
47
47
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
@@ -52,7 +52,7 @@ export declare class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
52
52
|
position?: string;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* The user-specified image element links to remove. Multiple image links are supported. The input format is ["https://ae01.alicdn.com/kf/S342f0070dc9f4be09a6cbed34e90dc8fs.jpg","https://ae01.alicdn.com/kf/S342f0070dc9f4be09a6cbed34e90dc8fs.jpg"]. This parameter is
|
|
55
|
+
* The user-specified image element links to remove. Multiple image links are supported. The input format is ["https://ae01.alicdn.com/kf/S342f0070dc9f4be09a6cbed34e90dc8fs.jpg","https://ae01.alicdn.com/kf/S342f0070dc9f4be09a6cbed34e90dc8fs.jpg"]. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
56
56
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
@@ -61,7 +61,7 @@ export declare class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
61
61
|
userImageShrink?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The user-specified text to remove. Multiple text inputs are supported. The input format is ["xx","yy"]. This parameter is
|
|
64
|
+
* The user-specified text to remove. Multiple text inputs are supported. The input format is ["xx","yy"]. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
65
65
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageTranslationPlusResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The asynchronous task ID. Use
|
|
5
|
+
* The asynchronous task ID. Use this ID to poll for results through the queryTaskResult API operation.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* task-abc123
|
|
@@ -22,7 +22,7 @@ export declare class ImageTranslationPlusResponseBodyData extends $dara.Model {
|
|
|
22
22
|
export declare class ImageTranslationPlusResponseBody extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The error code. This parameter is not returned
|
|
25
|
+
* The error code. This parameter is not returned if the call is successful.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* 200
|
|
@@ -35,7 +35,7 @@ export declare class ImageTranslationPlusResponseBody extends $dara.Model {
|
|
|
35
35
|
data?: ImageTranslationPlusResponseBodyData;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The error message. This parameter is not returned
|
|
38
|
+
* The error message. This parameter is not returned if the call is successful.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* OK
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageTranslationProRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* Specifies whether to use asynchronous mode. Default value: false (synchronous mode).
|
|
5
|
+
* Specifies whether to use asynchronous mode. Default value: false (synchronous mode). If you set this parameter to true, the API immediately returns a TaskId. Use the query translation result API to retrieve the final result.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* true
|
|
@@ -10,7 +10,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
|
|
|
10
10
|
async?: boolean;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The intervention glossary
|
|
13
|
+
* The ID of the intervention glossary. This parameter is optional. Create the glossary in the console and provide its ID. If the glossary ID is empty, the translation results are not modified.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* glossary_1
|
|
@@ -18,13 +18,13 @@ export declare class ImageTranslationProRequest extends $dara.Model {
|
|
|
18
18
|
glossary?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The URL of the original image.
|
|
21
|
+
* The URL of the original image. This parameter is required.
|
|
22
22
|
*
|
|
23
23
|
* Image requirements:
|
|
24
24
|
* - Image URL: Must be publicly accessible.
|
|
25
25
|
* - Format: png, jpeg, jpg, bmp, or webp.
|
|
26
|
-
* - Pixels: Width and height must not exceed 4000 each.
|
|
27
|
-
* - File size:
|
|
26
|
+
* - Pixels: Width and height must not exceed 4000 pixels each.
|
|
27
|
+
* - File size: The original file must be 10 MB or smaller.
|
|
28
28
|
*
|
|
29
29
|
* This parameter is required.
|
|
30
30
|
*
|
|
@@ -34,7 +34,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
|
|
|
34
34
|
imageUrl?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* Specifies whether to translate text on the image subject.
|
|
37
|
+
* Specifies whether to translate text on the image subject. This parameter is optional. Default value: false. This helps protect information such as embedded product names from being translated.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* false
|
|
@@ -42,7 +42,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
|
|
|
42
42
|
includingProductArea?: boolean;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The source language code.
|
|
45
|
+
* The source language code. This parameter is required. For supported language directions, see [Language Direction Mapping Table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
46
46
|
*
|
|
47
47
|
* This parameter is required.
|
|
48
48
|
*
|
|
@@ -52,7 +52,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
|
|
|
52
52
|
sourceLanguage?: string;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* The target language code.
|
|
55
|
+
* The target language code. This parameter is required. For supported language directions, see [Language Direction Mapping Table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
56
56
|
*
|
|
57
57
|
* This parameter is required.
|
|
58
58
|
*
|
|
@@ -62,7 +62,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
|
|
|
62
62
|
targetLanguage?: string;
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* Specifies whether to translate brand names on
|
|
65
|
+
* Specifies whether to translate brand names on the image. This parameter is optional. Default value: false. This helps protect brand name information from being translated.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* false
|
|
@@ -70,7 +70,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
|
|
|
70
70
|
translatingBrandInTheProduct?: boolean;
|
|
71
71
|
/**
|
|
72
72
|
* @remarks
|
|
73
|
-
* Specifies whether to return layout information such as text position, font, and color.
|
|
73
|
+
* Specifies whether to return layout information such as text position, font, and color. Set this parameter to true to retrieve layer information for secondary editing with an image editor. Default value: false.
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
76
|
* false
|
|
@@ -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
|
|
@@ -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
|
/**
|
|
@@ -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. "Success" is returned for
|
|
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
|
|
@@ -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
|
|
@@ -12,7 +12,7 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* - Image URL: Must be publicly accessible.
|
|
14
14
|
* - Format: png, jpeg, jpg, bmp, webp
|
|
15
|
-
* - Pixels:
|
|
15
|
+
* - Pixels: Both width and height must not exceed 4000
|
|
16
16
|
* - File size: Original file ≤ 10 MB
|
|
17
17
|
*
|
|
18
18
|
* This parameter is required.
|
|
@@ -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 product area. Optional. Default value: false. This helps protect information by avoiding translation of embedded information such as product names.
|
|
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
|
|
@@ -59,7 +59,7 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
59
59
|
translatingBrandInTheProduct?: boolean;
|
|
60
60
|
/**
|
|
61
61
|
* @remarks
|
|
62
|
-
* Specifies whether to return layer information such as text position, font, and color. If set to true, layer information is returned
|
|
62
|
+
* Specifies whether to return layer information such as text position, font, and color. If you set this parameter to true, layer information is returned, which can be used to integrate with image editors for secondary editing. Default value: false.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* 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
|
|
@@ -398,7 +398,7 @@ export declare class ImageTranslationStandardResponseBody extends $dara.Model {
|
|
|
398
398
|
data?: ImageTranslationStandardResponseBodyData;
|
|
399
399
|
/**
|
|
400
400
|
* @remarks
|
|
401
|
-
* The error message. "Success" is returned for successful
|
|
401
|
+
* The error message. "Success" is returned for a successful call. A specific error message is returned for a failed call.
|
|
402
402
|
*
|
|
403
403
|
* @example
|
|
404
404
|
* Success
|
|
@@ -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. A value of true indicates success
|
|
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
|
*
|