@alicloud/aidge20260428 5.3.0 → 5.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +598 -534
- package/dist/client.js +616 -534
- package/dist/client.js.map +1 -1
- package/dist/models/AssetOptimizeLiteRequest.d.ts +10 -10
- package/dist/models/AssetOptimizeLiteResponseBody.d.ts +5 -5
- package/dist/models/AssetOptimizeProRequest.d.ts +6 -6
- package/dist/models/AssetOptimizeProResponseBody.d.ts +4 -4
- package/dist/models/AssetOptimizeProShrinkRequest.d.ts +6 -6
- package/dist/models/CategoryAttributeMatchRequest.d.ts +7 -7
- package/dist/models/CategoryAttributeMatchResponseBody.d.ts +7 -7
- package/dist/models/CategoryAttributeMatchShrinkRequest.d.ts +7 -7
- package/dist/models/CategoryMatchRequest.d.ts +8 -8
- package/dist/models/CategoryMatchResponseBody.d.ts +10 -10
- package/dist/models/DiduiAreaDeductionRequest.d.ts +22 -0
- package/dist/models/DiduiAreaDeductionRequest.js.map +1 -1
- package/dist/models/DiduiAreaDeductionResponseBody.d.ts +63 -0
- package/dist/models/DiduiAreaDeductionResponseBody.js.map +1 -1
- package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +10 -0
- package/dist/models/DiduiAreaDeductionShrinkRequest.js.map +1 -1
- package/dist/models/DocumentTranslateRequest.d.ts +6 -2
- package/dist/models/DocumentTranslateRequest.js.map +1 -1
- package/dist/models/DocumentTranslateResponseBody.d.ts +4 -3
- package/dist/models/DocumentTranslateResponseBody.js.map +1 -1
- package/dist/models/ImageCroppingRequest.d.ts +3 -3
- package/dist/models/ImageCroppingResponseBody.d.ts +10 -8
- package/dist/models/ImageCroppingResponseBody.js.map +1 -1
- package/dist/models/ImageMattingRequest.d.ts +4 -3
- package/dist/models/ImageMattingRequest.js.map +1 -1
- package/dist/models/ImageMattingResponseBody.d.ts +1 -0
- package/dist/models/ImageMattingResponseBody.js.map +1 -1
- package/dist/models/ImageRecognitionRequest.d.ts +4 -4
- package/dist/models/ImageRecognitionResponseBody.d.ts +2 -2
- package/dist/models/ImageRecognitionShrinkRequest.d.ts +4 -4
- package/dist/models/ImageRemoveRequest.d.ts +39 -17
- package/dist/models/ImageRemoveRequest.js +12 -0
- package/dist/models/ImageRemoveRequest.js.map +1 -1
- package/dist/models/ImageRemoveResponseBody.d.ts +9 -8
- package/dist/models/ImageRemoveResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveShrinkRequest.d.ts +39 -17
- package/dist/models/ImageRemoveShrinkRequest.js +6 -0
- package/dist/models/ImageRemoveShrinkRequest.js.map +1 -1
- package/dist/models/ImageTranslationPlusResponseBody.d.ts +3 -1
- package/dist/models/ImageTranslationPlusResponseBody.js.map +1 -1
- package/dist/models/ImageTranslationProRequest.d.ts +14 -8
- package/dist/models/ImageTranslationProRequest.js.map +1 -1
- package/dist/models/ImageTranslationProResponseBody.d.ts +19 -19
- package/dist/models/ImageTranslationStandardRequest.d.ts +9 -6
- package/dist/models/ImageTranslationStandardRequest.js.map +1 -1
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +8 -8
- package/dist/models/LanguageDetectRequest.d.ts +10 -2
- package/dist/models/LanguageDetectRequest.js +2 -0
- package/dist/models/LanguageDetectRequest.js.map +1 -1
- package/dist/models/LanguageDetectResponseBody.d.ts +4 -6
- package/dist/models/LanguageDetectResponseBody.js.map +1 -1
- package/dist/models/MaterialInspectionRequest.d.ts +5 -5
- package/dist/models/MaterialInspectionResponseBody.d.ts +14 -7
- package/dist/models/MaterialInspectionResponseBody.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionRequest.d.ts +4 -4
- package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +8 -8
- package/dist/models/PackageWeightSizeCheckRequest.d.ts +2 -2
- package/dist/models/PackageWeightSizeCheckResponseBody.d.ts +6 -6
- package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +5 -5
- package/dist/models/SizeChartDetectResponseBody.d.ts +1 -0
- 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/TextCorrectRequest.d.ts +2 -2
- package/dist/models/TextCorrectResponseBody.d.ts +6 -6
- package/dist/models/TextTranslateRequest.d.ts +15 -6
- package/dist/models/TextTranslateRequest.js.map +1 -1
- package/dist/models/TextTranslateResponseBody.d.ts +4 -4
- package/dist/models/TextTranslateShrinkRequest.d.ts +15 -6
- package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
- package/dist/models/VideoTranslationResponseBody.d.ts +3 -3
- package/dist/models/VisionFlowRequest.d.ts +16 -16
- package/dist/models/VisionFlowResponseBody.d.ts +4 -4
- package/dist/models/VisionFlowShrinkRequest.d.ts +16 -16
- package/package.json +1 -1
- package/src/client.ts +622 -534
- package/src/models/AssetOptimizeLiteRequest.ts +10 -10
- package/src/models/AssetOptimizeLiteResponseBody.ts +5 -5
- package/src/models/AssetOptimizeProRequest.ts +6 -6
- package/src/models/AssetOptimizeProResponseBody.ts +4 -4
- package/src/models/AssetOptimizeProShrinkRequest.ts +6 -6
- package/src/models/CategoryAttributeMatchRequest.ts +7 -7
- package/src/models/CategoryAttributeMatchResponseBody.ts +7 -7
- package/src/models/CategoryAttributeMatchShrinkRequest.ts +7 -7
- package/src/models/CategoryMatchRequest.ts +8 -8
- package/src/models/CategoryMatchResponseBody.ts +10 -10
- package/src/models/DiduiAreaDeductionRequest.ts +22 -0
- package/src/models/DiduiAreaDeductionResponseBody.ts +63 -0
- package/src/models/DiduiAreaDeductionShrinkRequest.ts +10 -0
- package/src/models/DocumentTranslateRequest.ts +6 -2
- package/src/models/DocumentTranslateResponseBody.ts +4 -3
- package/src/models/ImageCroppingRequest.ts +3 -3
- package/src/models/ImageCroppingResponseBody.ts +10 -8
- package/src/models/ImageMattingRequest.ts +4 -3
- package/src/models/ImageMattingResponseBody.ts +1 -0
- package/src/models/ImageRecognitionRequest.ts +4 -4
- package/src/models/ImageRecognitionResponseBody.ts +2 -2
- package/src/models/ImageRecognitionShrinkRequest.ts +4 -4
- package/src/models/ImageRemoveRequest.ts +51 -17
- package/src/models/ImageRemoveResponseBody.ts +9 -8
- package/src/models/ImageRemoveShrinkRequest.ts +45 -17
- package/src/models/ImageTranslationPlusResponseBody.ts +3 -1
- package/src/models/ImageTranslationProRequest.ts +14 -8
- package/src/models/ImageTranslationProResponseBody.ts +19 -19
- package/src/models/ImageTranslationStandardRequest.ts +9 -6
- package/src/models/ImageTranslationStandardResponseBody.ts +8 -8
- package/src/models/LanguageDetectRequest.ts +12 -2
- package/src/models/LanguageDetectResponseBody.ts +4 -6
- package/src/models/MaterialInspectionRequest.ts +5 -5
- package/src/models/MaterialInspectionResponseBody.ts +14 -7
- package/src/models/MerchandisePlacementDetectionRequest.ts +4 -4
- package/src/models/MerchandisePlacementDetectionResponseBody.ts +8 -8
- package/src/models/PackageWeightSizeCheckRequest.ts +2 -2
- package/src/models/PackageWeightSizeCheckResponseBody.ts +6 -6
- package/src/models/QueryAsyncTaskResultResponseBody.ts +5 -5
- package/src/models/SizeChartDetectResponseBody.ts +1 -0
- package/src/models/SizeChartExtractRequest.ts +2 -2
- package/src/models/SizeChartExtractResponseBody.ts +1 -1
- package/src/models/SizeChartExtractShrinkRequest.ts +2 -2
- package/src/models/TextCorrectRequest.ts +2 -2
- package/src/models/TextCorrectResponseBody.ts +6 -6
- package/src/models/TextTranslateRequest.ts +15 -6
- package/src/models/TextTranslateResponseBody.ts +4 -4
- package/src/models/TextTranslateShrinkRequest.ts +15 -6
- package/src/models/VideoTranslationResponseBody.ts +3 -3
- package/src/models/VisionFlowRequest.ts +16 -16
- package/src/models/VisionFlowResponseBody.ts +4 -4
- package/src/models/VisionFlowShrinkRequest.ts +16 -16
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageTranslationProResponseBodyDataGenFilesEditInfoGoodsRects extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The rotation angle of the text box in degrees. A value less than 1 indicates a horizontal text box.
|
|
5
|
+
* The rotation angle of the text box, in degrees. A value less than 1 indicates a horizontal text box.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 0
|
|
@@ -54,7 +54,7 @@ export declare class ImageTranslationProResponseBodyDataGenFilesEditInfoGoodsRec
|
|
|
54
54
|
export declare class ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTextsImageRect extends $dara.Model {
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The rotation angle of the text box in degrees. A value less than 1 indicates a horizontal text box.
|
|
57
|
+
* The rotation angle of the text box, in degrees. A value less than 1 indicates a horizontal text box.
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* 0
|
|
@@ -106,7 +106,7 @@ export declare class ImageTranslationProResponseBodyDataGenFilesEditInfoTextArea
|
|
|
106
106
|
export declare class ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTextsTextRect extends $dara.Model {
|
|
107
107
|
/**
|
|
108
108
|
* @remarks
|
|
109
|
-
* The rotation angle of the text box in degrees. A value less than 1 indicates a horizontal text box.
|
|
109
|
+
* The rotation angle of the text box, in degrees. A value less than 1 indicates a horizontal text box.
|
|
110
110
|
*
|
|
111
111
|
* @example
|
|
112
112
|
* 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
|
|
161
|
+
* The color of the translated text.
|
|
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
|
|
177
|
+
* The horizontal layout. Valid values: center, left, right.
|
|
178
178
|
*
|
|
179
179
|
* @example
|
|
180
180
|
* center
|
|
@@ -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 item is invalid
|
|
211
|
+
* Indicates whether the TextItem is valid. The item is invalid if this value does not exist or is 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
|
|
227
|
+
* The vertical layout. Valid values: center, top, 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
|
|
271
|
+
* The horizontal layout. 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
|
|
292
|
+
* The vertical layout. Valid values: center, top, down.
|
|
293
293
|
*
|
|
294
294
|
* @example
|
|
295
295
|
* center
|
|
@@ -324,7 +324,7 @@ export declare class ImageTranslationProResponseBodyDataGenFilesEditInfo extends
|
|
|
324
324
|
languages?: string[];
|
|
325
325
|
/**
|
|
326
326
|
* @remarks
|
|
327
|
-
* The URL of the image after all text has been
|
|
327
|
+
* The URL of the image after all text has been inpainted.
|
|
328
328
|
*
|
|
329
329
|
* @example
|
|
330
330
|
* http://dashscope-a717.oss-cn-beijing.aliyuncs.com/repaired.png
|
|
@@ -382,7 +382,7 @@ export declare class ImageTranslationProResponseBodyDataGenFilesResultList exten
|
|
|
382
382
|
export declare class ImageTranslationProResponseBodyDataGenFiles extends $dara.Model {
|
|
383
383
|
/**
|
|
384
384
|
* @remarks
|
|
385
|
-
* The editor information, which contains
|
|
385
|
+
* The editor information, which contains recognized information such as text areas, product areas, and fonts.
|
|
386
386
|
*/
|
|
387
387
|
editInfo?: ImageTranslationProResponseBodyDataGenFilesEditInfo;
|
|
388
388
|
/**
|
|
@@ -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, including the number of processed images.
|
|
462
462
|
*/
|
|
463
463
|
usageMap?: {
|
|
464
464
|
[key: string]: number;
|
|
@@ -477,7 +477,7 @@ export declare class ImageTranslationProResponseBodyData extends $dara.Model {
|
|
|
477
477
|
export declare class ImageTranslationProResponseBody extends $dara.Model {
|
|
478
478
|
/**
|
|
479
479
|
* @remarks
|
|
480
|
-
* The response code. 200 indicates a successful call. For other response codes, refer to the error code information.
|
|
480
|
+
* The response code. A value of 200 indicates a successful call. For other response codes, refer to the error code information.
|
|
481
481
|
*
|
|
482
482
|
* @example
|
|
483
483
|
* 200
|
|
@@ -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 URL of the translation result. EditInfo in GenFiles contains the recognized text information.
|
|
489
489
|
*/
|
|
490
490
|
data?: ImageTranslationProResponseBodyData;
|
|
491
491
|
/**
|
|
492
492
|
* @remarks
|
|
493
|
-
* The error message. "Success" is returned for successful
|
|
493
|
+
* The error message. "Success" is returned for a successful call. A specific error message is returned for a failed call, 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
|
|
@@ -506,7 +506,7 @@ export declare class ImageTranslationProResponseBody extends $dara.Model {
|
|
|
506
506
|
requestId?: string;
|
|
507
507
|
/**
|
|
508
508
|
* @remarks
|
|
509
|
-
* Indicates whether the call is successful. true indicates success
|
|
509
|
+
* Indicates whether the call is successful. A value of true indicates success. A value of false indicates failure.
|
|
510
510
|
*
|
|
511
511
|
* @example
|
|
512
512
|
* true
|
|
@@ -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 glossary ID. Optional. Create
|
|
5
|
+
* The intervention glossary ID. Optional. Create the glossary separately in the console and provide its ID. If the glossary ID is empty, translation results are not modified.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* glossary_1
|
|
@@ -11,6 +11,9 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
13
|
* - Image URL: Must be publicly accessible.
|
|
14
|
+
* - Format: png, jpeg, jpg, bmp, webp
|
|
15
|
+
* - Pixels: Width and height must not exceed 4000
|
|
16
|
+
* - File size: Original file ≤ 10 MB
|
|
14
17
|
*
|
|
15
18
|
* This parameter is required.
|
|
16
19
|
*
|
|
@@ -20,7 +23,7 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
20
23
|
imageUrl?: string;
|
|
21
24
|
/**
|
|
22
25
|
* @remarks
|
|
23
|
-
* Specifies whether to translate text on the
|
|
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.
|
|
24
27
|
*
|
|
25
28
|
* @example
|
|
26
29
|
* false
|
|
@@ -28,7 +31,7 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
28
31
|
includingProductArea?: boolean;
|
|
29
32
|
/**
|
|
30
33
|
* @remarks
|
|
31
|
-
* The source language code. Required. For supported language
|
|
34
|
+
* The source language code. Required. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
32
35
|
*
|
|
33
36
|
* This parameter is required.
|
|
34
37
|
*
|
|
@@ -38,7 +41,7 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
38
41
|
sourceLanguage?: string;
|
|
39
42
|
/**
|
|
40
43
|
* @remarks
|
|
41
|
-
* The target language code. Required. For supported language
|
|
44
|
+
* The target language code. Required. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
42
45
|
*
|
|
43
46
|
* This parameter is required.
|
|
44
47
|
*
|
|
@@ -48,7 +51,7 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
48
51
|
targetLanguage?: string;
|
|
49
52
|
/**
|
|
50
53
|
* @remarks
|
|
51
|
-
* Specifies whether to translate brand names on
|
|
54
|
+
* Specifies whether to translate brand names on images. Optional. Default value: false. This helps protect brand name information from being translated.
|
|
52
55
|
*
|
|
53
56
|
* @example
|
|
54
57
|
* false
|
|
@@ -56,7 +59,7 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
56
59
|
translatingBrandInTheProduct?: boolean;
|
|
57
60
|
/**
|
|
58
61
|
* @remarks
|
|
59
|
-
* Specifies whether to return layer information such as text position, font, and color.
|
|
62
|
+
* Specifies whether to return layer information such as text position, font, and color. If set to true, layer information is returned for secondary editing through an image editor. Default value: false.
|
|
60
63
|
*
|
|
61
64
|
* @example
|
|
62
65
|
* false
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageTranslationStandardRequest.js","sourceRoot":"","sources":["../../src/models/ImageTranslationStandardRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageTranslationStandardRequest.js","sourceRoot":"","sources":["../../src/models/ImageTranslationStandardRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAkE9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,4BAA4B,EAAE,8BAA8B;YAC5D,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,SAAS;YAC/B,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;YACxB,4BAA4B,EAAE,SAAS;YACvC,cAAc,EAAE,SAAS;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjGD,0EAiGC"}
|
|
@@ -174,7 +174,7 @@ export declare class ImageTranslationStandardResponseBodyDataEditInfoTextAreasTe
|
|
|
174
174
|
* The text value.
|
|
175
175
|
*
|
|
176
176
|
* @example
|
|
177
|
-
* Solid Wood Wardrobe
|
|
177
|
+
* Solid Wood Wardrobe
|
|
178
178
|
*/
|
|
179
179
|
value?: string;
|
|
180
180
|
/**
|
|
@@ -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 rectangle.
|
|
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 original image
|
|
296
|
+
* The URL of the original image.
|
|
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 repaired image
|
|
304
|
+
* The URL of the repaired image.
|
|
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 from the image translation result.
|
|
359
359
|
*
|
|
360
360
|
* @example
|
|
361
361
|
* http://dashscope-a717.oss-cn-beijing.aliyuncs.com/xxx.jpg
|
|
@@ -363,7 +363,7 @@ export declare class ImageTranslationStandardResponseBodyData extends $dara.Mode
|
|
|
363
363
|
imageUrl?: string;
|
|
364
364
|
/**
|
|
365
365
|
* @remarks
|
|
366
|
-
* The usage information, including the number of images
|
|
366
|
+
* The usage information, including the number of processed images.
|
|
367
367
|
*
|
|
368
368
|
* @example
|
|
369
369
|
* {"ProcessedImageCount":1}
|
|
@@ -398,7 +398,7 @@ export declare class ImageTranslationStandardResponseBody extends $dara.Model {
|
|
|
398
398
|
data?: ImageTranslationStandardResponseBodyData;
|
|
399
399
|
/**
|
|
400
400
|
* @remarks
|
|
401
|
-
* The error message.
|
|
401
|
+
* The error message. "Success" is returned for successful calls, and a specific error message is returned for failed calls.
|
|
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, used to uniquely identify a request.
|
|
410
410
|
*
|
|
411
411
|
* @example
|
|
412
412
|
* 1CEC4D94-905A-1ED1-A7B4-1BFEFFB3D850
|
|
@@ -2,12 +2,20 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class LanguageDetectRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* Optional. Set this parameter to query (case-insensitive) to use the new model. If this parameter is not specified or an invalid value is passed, the default value common (general language detection) is used.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* query
|
|
9
|
+
*/
|
|
10
|
+
scene?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The source text to be identified. This parameter is required.
|
|
6
14
|
*
|
|
7
15
|
* This parameter is required.
|
|
8
16
|
*
|
|
9
17
|
* @example
|
|
10
|
-
*
|
|
18
|
+
* Sample text
|
|
11
19
|
*/
|
|
12
20
|
sourceText?: string;
|
|
13
21
|
static names(): {
|
|
@@ -39,11 +39,13 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class LanguageDetectRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
scene: 'Scene',
|
|
42
43
|
sourceText: 'SourceText',
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
static types() {
|
|
46
47
|
return {
|
|
48
|
+
scene: 'string',
|
|
47
49
|
sourceText: 'string',
|
|
48
50
|
};
|
|
49
51
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LanguageDetectRequest.js","sourceRoot":"","sources":["../../src/models/LanguageDetectRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qBAAsB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"LanguageDetectRequest.js","sourceRoot":"","sources":["../../src/models/LanguageDetectRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qBAAsB,SAAQ,KAAK,CAAC,KAAK;IAmBpD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxCD,sDAwCC"}
|
|
@@ -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
|
|
35
|
+
* The response code. A value of 200 indicates a successful call. For other response codes, refer to the error code information.
|
|
36
36
|
*
|
|
37
37
|
* @example
|
|
38
38
|
* 200
|
|
@@ -40,12 +40,12 @@ export declare class LanguageDetectResponseBody extends $dara.Model {
|
|
|
40
40
|
code?: string;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* The language
|
|
43
|
+
* The language identification result data, including the detected language and usage information.
|
|
44
44
|
*/
|
|
45
45
|
data?: LanguageDetectResponseBodyData;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The error message.
|
|
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
|
|
@@ -61,9 +61,7 @@ export declare class LanguageDetectResponseBody extends $dara.Model {
|
|
|
61
61
|
requestId?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* Indicates whether the call
|
|
65
|
-
* - true: Successful.
|
|
66
|
-
* - false: Failed.
|
|
64
|
+
* Indicates whether the call is successful. A value of true indicates success. A value of false indicates failure.
|
|
67
65
|
*
|
|
68
66
|
* @example
|
|
69
67
|
* true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LanguageDetectResponseBody.js","sourceRoot":"","sources":["../../src/models/LanguageDetectResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAiB7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,kBAAkB;YACpC,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,QAAQ;YAC1B,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;SACxE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;YACjB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzCD,wEAyCC;AAED,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;
|
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AI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,gEAoEC"}
|
|
@@ -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. When this parameter is not empty, multi-image comparison
|
|
13
|
+
* The URL of the reference image. Optional. When this parameter is not empty, the system performs multi-image differential comparison.
|
|
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 to
|
|
21
|
+
* The URL of the target image to be inspected.
|
|
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. This value is returned as-is in the response for Tracing Analysis purposes.
|
|
31
|
+
* The business request identity. Optional. This 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 that
|
|
39
|
+
* The rule prompt in natural language that describes the inspection criteria.
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
|
-
*
|
|
42
|
+
* The door-shaped display stand must be placed in the entrance area; the functional display card must be placed on the counter surface
|
|
43
43
|
*/
|
|
44
44
|
rules?: string;
|
|
45
45
|
static names(): {
|
|
@@ -2,7 +2,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class MaterialInspectionResponseBodyDataResultSteps extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
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.
|
|
6
9
|
*
|
|
7
10
|
* @example
|
|
8
11
|
* PASS
|
|
@@ -30,7 +33,7 @@ export declare class MaterialInspectionResponseBodyDataResultSteps extends $dara
|
|
|
30
33
|
export declare class MaterialInspectionResponseBodyDataResult extends $dara.Model {
|
|
31
34
|
/**
|
|
32
35
|
* @remarks
|
|
33
|
-
* The natural language summary, such as "1 rule: 1 PASS, all inspection items are compliant."
|
|
36
|
+
* The natural language summary of the inspection result, such as "1 rule: 1 PASS, all inspection items are compliant."
|
|
34
37
|
*
|
|
35
38
|
* @example
|
|
36
39
|
* 1项规则:1 PASS,所有检测项合规
|
|
@@ -38,7 +41,9 @@ export declare class MaterialInspectionResponseBodyDataResult extends $dara.Mode
|
|
|
38
41
|
evidence?: string;
|
|
39
42
|
/**
|
|
40
43
|
* @remarks
|
|
41
|
-
* The overall result. Valid values:
|
|
44
|
+
* The overall determination result. Valid values:
|
|
45
|
+
* - PASS: All inspection items are compliant.
|
|
46
|
+
* - FAIL: One or more inspection items are non-compliant.
|
|
42
47
|
*
|
|
43
48
|
* @example
|
|
44
49
|
* PASS
|
|
@@ -59,7 +64,7 @@ export declare class MaterialInspectionResponseBodyDataResult extends $dara.Mode
|
|
|
59
64
|
steps?: MaterialInspectionResponseBodyDataResultSteps[];
|
|
60
65
|
/**
|
|
61
66
|
* @remarks
|
|
62
|
-
* The detection type.
|
|
67
|
+
* The detection type that indicates the identified material category.
|
|
63
68
|
*
|
|
64
69
|
* @example
|
|
65
70
|
* Stamp
|
|
@@ -106,7 +111,7 @@ export declare class MaterialInspectionResponseBodyData extends $dara.Model {
|
|
|
106
111
|
export declare class MaterialInspectionResponseBody extends $dara.Model {
|
|
107
112
|
/**
|
|
108
113
|
* @remarks
|
|
109
|
-
* The error code. This parameter is not returned
|
|
114
|
+
* The error code. This parameter is not returned if the call is successful.
|
|
110
115
|
*
|
|
111
116
|
* @example
|
|
112
117
|
* 200
|
|
@@ -119,7 +124,7 @@ export declare class MaterialInspectionResponseBody extends $dara.Model {
|
|
|
119
124
|
data?: MaterialInspectionResponseBodyData;
|
|
120
125
|
/**
|
|
121
126
|
* @remarks
|
|
122
|
-
* The error message. This parameter is not returned
|
|
127
|
+
* The error message. This parameter is not returned if the call is successful.
|
|
123
128
|
*
|
|
124
129
|
* @example
|
|
125
130
|
* OK
|
|
@@ -135,7 +140,9 @@ export declare class MaterialInspectionResponseBody extends $dara.Model {
|
|
|
135
140
|
requestId?: string;
|
|
136
141
|
/**
|
|
137
142
|
* @remarks
|
|
138
|
-
* Indicates whether the call
|
|
143
|
+
* Indicates whether the call is successful. Valid values:
|
|
144
|
+
* - true: The call is successful.
|
|
145
|
+
* - false: The call failed.
|
|
139
146
|
*
|
|
140
147
|
* @example
|
|
141
148
|
* True
|
|
@@ -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.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C,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtED,wEAsEC"}
|
|
@@ -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 image to be recognized (accessible
|
|
13
|
+
* The URL of the shelf or floor-stack image to be recognized (accessible over the public network 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 customer
|
|
23
|
+
* The ID of the customer\\"s dedicated SKU vector library, which determines which library is used for retrieval. 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 phase supports skincare & lotion.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
|
-
*
|
|
34
|
+
* 水乳
|
|
35
35
|
*/
|
|
36
36
|
type?: string;
|
|
37
37
|
static names(): {
|
|
@@ -21,7 +21,7 @@ export declare class MerchandisePlacementDetectionResponseBodyDataDataTop1 exten
|
|
|
21
21
|
* The name of the recalled product.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
|
-
*
|
|
24
|
+
* 光明牛奶500ml
|
|
25
25
|
*/
|
|
26
26
|
skuName?: string;
|
|
27
27
|
static names(): {
|
|
@@ -65,7 +65,7 @@ export declare class MerchandisePlacementDetectionResponseBodyDataDataTopk exten
|
|
|
65
65
|
* The name of the recalled product.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
|
-
*
|
|
68
|
+
* 光明牛奶500ml
|
|
69
69
|
*/
|
|
70
70
|
skuName?: string;
|
|
71
71
|
static names(): {
|
|
@@ -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,y1,x2,y2].
|
|
85
|
+
* The position coordinates of the detection box in the format [x1, y1, x2, y2].
|
|
86
86
|
*/
|
|
87
87
|
bbox?: number[];
|
|
88
88
|
/**
|
|
@@ -138,7 +138,7 @@ export declare class MerchandisePlacementDetectionResponseBodyData extends $dara
|
|
|
138
138
|
data?: MerchandisePlacementDetectionResponseBodyDataData[];
|
|
139
139
|
/**
|
|
140
140
|
* @remarks
|
|
141
|
-
* The usage information. The key is the usage
|
|
141
|
+
* The usage information. 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 for successful calls.
|
|
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 for successful calls.
|
|
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 was successful. Valid values:
|
|
193
|
+
* - true: The call was 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 annotated image,
|
|
5
|
+
* The URL of the annotated image with manual bounding box markings, 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
|
*
|
|
@@ -12,7 +12,7 @@ export declare class PackageWeightSizeCheckRequest extends $dara.Model {
|
|
|
12
12
|
annotatedImageUrl?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The URL of the raw image,
|
|
15
|
+
* The URL of the raw image, which is the unannotated photo of the parcel on the scanning platform. 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.
|
|
16
16
|
*
|
|
17
17
|
* This parameter is required.
|
|
18
18
|
*
|