@alicloud/aidge20260428 5.5.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 +437 -422
- package/dist/client.js +479 -422
- 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/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 +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/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 +4 -13
- package/dist/models/TextTranslateRequest.js.map +1 -1
- package/dist/models/TextTranslateResponseBody.d.ts +1 -1
- package/dist/models/TextTranslateShrinkRequest.d.ts +4 -13
- 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/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 +4 -0
- package/dist/models/model.js +11 -3
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +488 -422
- 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/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 +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/SubmitProductMatchRequest.ts +102 -0
- package/src/models/SubmitProductMatchResponse.ts +40 -0
- package/src/models/SubmitProductMatchResponseBody.ts +116 -0
- package/src/models/TextTranslateRequest.ts +4 -13
- package/src/models/TextTranslateResponseBody.ts +1 -1
- package/src/models/TextTranslateShrinkRequest.ts +4 -13
- package/src/models/VideoTranslationRequest.ts +1 -1
- package/src/models/VideoTranslationShrinkRequest.ts +1 -1
- 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 +4 -0
|
@@ -8,7 +8,7 @@ export class AssetOptimizeLiteRequest extends $dara.Model {
|
|
|
8
8
|
* The custom glossary for term intervention.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* Test
|
|
12
12
|
*/
|
|
13
13
|
glossary?: string;
|
|
14
14
|
/**
|
|
@@ -21,7 +21,7 @@ export class AssetOptimizeLiteRequest extends $dara.Model {
|
|
|
21
21
|
includingProductArea?: boolean;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Specifies whether translation is
|
|
24
|
+
* Specifies whether translation is required.
|
|
25
25
|
*
|
|
26
26
|
* This parameter is required.
|
|
27
27
|
*
|
|
@@ -7,7 +7,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
7
7
|
export class AssetOptimizeLiteResponseBodyData extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* The asynchronous task ID, used to query
|
|
10
|
+
* The asynchronous task ID, which is used to query the result later.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* task-xxxxxx
|
|
@@ -13,7 +13,7 @@ export class AssetOptimizeProRequest extends $dara.Model {
|
|
|
13
13
|
columnNameList?: string[];
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The glossary ID. Optional. Create a glossary
|
|
16
|
+
* The glossary ID. Optional. Create a glossary in the console and provide its ID. If left empty, translation results are not modified by any glossary.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* glossary_1
|
|
@@ -21,7 +21,7 @@ export class AssetOptimizeProRequest extends $dara.Model {
|
|
|
21
21
|
glossary?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Specifies whether to translate text on the product subject area
|
|
24
|
+
* Specifies whether to translate text on the product subject area of images. Setting this to false helps protect embedded information such as product names from being translated. Default value: false.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* false
|
|
@@ -57,7 +57,7 @@ export class AssetOptimizeProRequest extends $dara.Model {
|
|
|
57
57
|
productUrl?: string;
|
|
58
58
|
/**
|
|
59
59
|
* @remarks
|
|
60
|
-
* The source language code. Optional.
|
|
60
|
+
* The source language code. Optional. For supported language pairs, refer to the supported translation language list. This parameter is required if NeedTrans is set to true.
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
63
|
* zh
|
|
@@ -75,7 +75,7 @@ export class AssetOptimizeProRequest extends $dara.Model {
|
|
|
75
75
|
sourcePlatform?: string;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The target language code. Optional.
|
|
78
|
+
* The target language code. Optional. For supported language pairs, refer to the supported translation language list. This parameter is required if NeedTrans is set to true.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* en
|
|
@@ -101,7 +101,7 @@ export class AssetOptimizeProRequest extends $dara.Model {
|
|
|
101
101
|
threshold?: number;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* Specifies whether to translate brand names
|
|
104
|
+
* Specifies whether to translate brand names on images. Optional. Default value: false. Setting this to false helps protect brand name information from being translated.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* false
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AssetOptimizeProResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The asynchronous task ID
|
|
8
|
+
* The asynchronous task ID. Use this ID to query the processing result by calling QueryAsyncTaskResult.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 8080345d-b28a-9e2e-9ad7-370f8e236949
|
|
@@ -43,7 +43,7 @@ export class AssetOptimizeProResponseBody extends $dara.Model {
|
|
|
43
43
|
code?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The
|
|
46
|
+
* The submit result of the asynchronous task, which contains the asynchronous task ID.
|
|
47
47
|
*/
|
|
48
48
|
data?: AssetOptimizeProResponseBodyData;
|
|
49
49
|
/**
|
|
@@ -56,7 +56,7 @@ export class AssetOptimizeProResponseBody extends $dara.Model {
|
|
|
56
56
|
message?: string;
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
* The request ID,
|
|
59
|
+
* The request ID, which uniquely identifies the request.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
* 4FCCA90A-A7A4-1D37-88C3-C17549886E70
|
|
@@ -64,7 +64,7 @@ export class AssetOptimizeProResponseBody extends $dara.Model {
|
|
|
64
64
|
requestId?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* Indicates whether the call
|
|
67
|
+
* Indicates whether the call is successful. A value of true indicates success. A value of false indicates failure.
|
|
68
68
|
*
|
|
69
69
|
* @example
|
|
70
70
|
* true
|
|
@@ -13,7 +13,7 @@ export class AssetOptimizeProShrinkRequest extends $dara.Model {
|
|
|
13
13
|
columnNameListShrink?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The glossary ID. Optional. Create a glossary
|
|
16
|
+
* The glossary ID. Optional. Create a glossary in the console and provide its ID. If left empty, translation results are not modified by any glossary.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* glossary_1
|
|
@@ -21,7 +21,7 @@ export class AssetOptimizeProShrinkRequest extends $dara.Model {
|
|
|
21
21
|
glossary?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Specifies whether to translate text on the product subject area
|
|
24
|
+
* Specifies whether to translate text on the product subject area of images. Setting this to false helps protect embedded information such as product names from being translated. Default value: false.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* false
|
|
@@ -57,7 +57,7 @@ export class AssetOptimizeProShrinkRequest extends $dara.Model {
|
|
|
57
57
|
productUrl?: string;
|
|
58
58
|
/**
|
|
59
59
|
* @remarks
|
|
60
|
-
* The source language code. Optional.
|
|
60
|
+
* The source language code. Optional. For supported language pairs, refer to the supported translation language list. This parameter is required if NeedTrans is set to true.
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
63
|
* zh
|
|
@@ -75,7 +75,7 @@ export class AssetOptimizeProShrinkRequest extends $dara.Model {
|
|
|
75
75
|
sourcePlatform?: string;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The target language code. Optional.
|
|
78
|
+
* The target language code. Optional. For supported language pairs, refer to the supported translation language list. This parameter is required if NeedTrans is set to true.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* en
|
|
@@ -101,7 +101,7 @@ export class AssetOptimizeProShrinkRequest extends $dara.Model {
|
|
|
101
101
|
threshold?: number;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* Specifies whether to translate brand names
|
|
104
|
+
* Specifies whether to translate brand names on images. Optional. Default value: false. Setting this to false helps protect brand name information from being translated.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* false
|
|
@@ -13,7 +13,7 @@ export class CategoryAttributeMatchRequest extends $dara.Model {
|
|
|
13
13
|
description?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The product image URLs
|
|
16
|
+
* The product image URLs. A maximum of 10 images are supported.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* https://frametour-assets.oss-cn-shanghai.aliyuncs.com/user-faces/viid_face/dd0dd06c-9351-4e5f-bc70-24166a754d7f.jpg
|
|
@@ -36,7 +36,7 @@ export class CategoryAttributeMatchRequest extends $dara.Model {
|
|
|
36
36
|
* This parameter is required.
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
|
-
* 0:0
|
|
39
|
+
* 0:0:Color:Black (without locator);0:1:Color:Smart Locator (without collar);0:2:Color:Range Locator (without collar);0:3:Color:Blue (without locator);0:4:Color:Orange (without locator);0:5:Color:Pink (without locator);0:6:Color:Red (without locator);0:7:Color:Yellow (without locator);0:8:Color:Purple (without locator)
|
|
40
40
|
*/
|
|
41
41
|
sku?: string;
|
|
42
42
|
/**
|
|
@@ -51,7 +51,7 @@ export class CategoryAttributeMatchRequest extends $dara.Model {
|
|
|
51
51
|
sourceCategory?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* The source platform
|
|
54
|
+
* The source platform from which the product originates.
|
|
55
55
|
*
|
|
56
56
|
* This parameter is required.
|
|
57
57
|
*
|
|
@@ -61,7 +61,7 @@ export class CategoryAttributeMatchRequest extends $dara.Model {
|
|
|
61
61
|
sourcePlatform?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The target listing platform. Currently only temu is supported.
|
|
64
|
+
* The target listing platform. Currently, only temu is supported.
|
|
65
65
|
*
|
|
66
66
|
* This parameter is required.
|
|
67
67
|
*
|
|
@@ -76,7 +76,7 @@ export class CategoryAttributeMatchRequest extends $dara.Model {
|
|
|
76
76
|
* This parameter is required.
|
|
77
77
|
*
|
|
78
78
|
* @example
|
|
79
|
-
* Women\\"s
|
|
79
|
+
* Women\\"s New Spring Clothing
|
|
80
80
|
*/
|
|
81
81
|
title?: string;
|
|
82
82
|
static names(): { [key: string]: string } {
|
|
@@ -24,7 +24,7 @@ export class CategoryAttributeMatchResponseBodyDataAttributes extends $dara.Mode
|
|
|
24
24
|
* The attribute input type.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
|
-
*
|
|
27
|
+
* Single-select dropdown
|
|
28
28
|
*/
|
|
29
29
|
inputType?: string;
|
|
30
30
|
/**
|
|
@@ -161,7 +161,7 @@ export class CategoryAttributeMatchResponseBodyData extends $dara.Model {
|
|
|
161
161
|
* The category name.
|
|
162
162
|
*
|
|
163
163
|
* @example
|
|
164
|
-
*
|
|
164
|
+
* Cat Collars
|
|
165
165
|
*/
|
|
166
166
|
categoryName?: string;
|
|
167
167
|
/**
|
|
@@ -169,7 +169,7 @@ export class CategoryAttributeMatchResponseBodyData extends $dara.Model {
|
|
|
169
169
|
* The full path of the category, separated by "/".
|
|
170
170
|
*
|
|
171
171
|
* @example
|
|
172
|
-
*
|
|
172
|
+
* Pet Supplies/Cat Supplies/Cat Charms, Collars & Leashes/Cat Collars
|
|
173
173
|
*/
|
|
174
174
|
categoryPath?: string;
|
|
175
175
|
/**
|
|
@@ -198,7 +198,7 @@ export class CategoryAttributeMatchResponseBodyData extends $dara.Model {
|
|
|
198
198
|
totalAttributes?: number;
|
|
199
199
|
/**
|
|
200
200
|
* @remarks
|
|
201
|
-
* The usage
|
|
201
|
+
* The usage fields.
|
|
202
202
|
*/
|
|
203
203
|
usageMap?: CategoryAttributeMatchResponseBodyDataUsageMap;
|
|
204
204
|
static names(): { [key: string]: string } {
|
|
@@ -253,7 +253,7 @@ export class CategoryAttributeMatchResponseBody extends $dara.Model {
|
|
|
253
253
|
code?: string;
|
|
254
254
|
/**
|
|
255
255
|
* @remarks
|
|
256
|
-
* The
|
|
256
|
+
* The returned result.
|
|
257
257
|
*/
|
|
258
258
|
data?: CategoryAttributeMatchResponseBodyData;
|
|
259
259
|
/**
|
|
@@ -13,7 +13,7 @@ export class CategoryAttributeMatchShrinkRequest extends $dara.Model {
|
|
|
13
13
|
description?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The product image URLs
|
|
16
|
+
* The product image URLs. A maximum of 10 images are supported.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* https://frametour-assets.oss-cn-shanghai.aliyuncs.com/user-faces/viid_face/dd0dd06c-9351-4e5f-bc70-24166a754d7f.jpg
|
|
@@ -36,7 +36,7 @@ export class CategoryAttributeMatchShrinkRequest extends $dara.Model {
|
|
|
36
36
|
* This parameter is required.
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
|
-
* 0:0
|
|
39
|
+
* 0:0:Color:Black (without locator);0:1:Color:Smart Locator (without collar);0:2:Color:Range Locator (without collar);0:3:Color:Blue (without locator);0:4:Color:Orange (without locator);0:5:Color:Pink (without locator);0:6:Color:Red (without locator);0:7:Color:Yellow (without locator);0:8:Color:Purple (without locator)
|
|
40
40
|
*/
|
|
41
41
|
sku?: string;
|
|
42
42
|
/**
|
|
@@ -51,7 +51,7 @@ export class CategoryAttributeMatchShrinkRequest extends $dara.Model {
|
|
|
51
51
|
sourceCategory?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* The source platform
|
|
54
|
+
* The source platform from which the product originates.
|
|
55
55
|
*
|
|
56
56
|
* This parameter is required.
|
|
57
57
|
*
|
|
@@ -61,7 +61,7 @@ export class CategoryAttributeMatchShrinkRequest extends $dara.Model {
|
|
|
61
61
|
sourcePlatform?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The target listing platform. Currently only temu is supported.
|
|
64
|
+
* The target listing platform. Currently, only temu is supported.
|
|
65
65
|
*
|
|
66
66
|
* This parameter is required.
|
|
67
67
|
*
|
|
@@ -76,7 +76,7 @@ export class CategoryAttributeMatchShrinkRequest extends $dara.Model {
|
|
|
76
76
|
* This parameter is required.
|
|
77
77
|
*
|
|
78
78
|
* @example
|
|
79
|
-
* Women\\"s
|
|
79
|
+
* Women\\"s New Spring Clothing
|
|
80
80
|
*/
|
|
81
81
|
title?: string;
|
|
82
82
|
static names(): { [key: string]: string } {
|
|
@@ -10,7 +10,7 @@ export class CategoryMatchRequest extends $dara.Model {
|
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
|
-
* Silk,
|
|
13
|
+
* Silk, Spring New Arrival
|
|
14
14
|
*/
|
|
15
15
|
description?: string;
|
|
16
16
|
/**
|
|
@@ -18,15 +18,15 @@ export class CategoryMatchRequest extends $dara.Model {
|
|
|
18
18
|
* The product attributes that describe the characteristics of the product, such as material. Provide the attribute names and values.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
|
-
*
|
|
21
|
+
* Material:Polyester,Target Audience:General,Brand:AMASON PET
|
|
22
22
|
*/
|
|
23
23
|
itemSpec?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The
|
|
26
|
+
* The SKU title of the product.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
|
-
* 0:0
|
|
29
|
+
* 0:0:Color:Black(without locator);0:1:Color:Smart Locator(without collar);0:2:Color:Range Locator(without collar);0:3:Color:Blue(without locator);0:4:Color:Orange(without locator);0:5:Color:Pink(without locator);0:6:Color:Red(without locator);0:7:Color:Yellow(without locator);0:8:Color:Purple(without locator)
|
|
30
30
|
*/
|
|
31
31
|
sku?: string;
|
|
32
32
|
/**
|
|
@@ -41,7 +41,7 @@ export class CategoryMatchRequest extends $dara.Model {
|
|
|
41
41
|
sourceCategory?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* The source platform
|
|
44
|
+
* The source platform from which products are sourced.
|
|
45
45
|
*
|
|
46
46
|
* This parameter is required.
|
|
47
47
|
*
|
|
@@ -51,7 +51,7 @@ export class CategoryMatchRequest extends $dara.Model {
|
|
|
51
51
|
sourcePlatform?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* The target listing platform. Currently only temu is supported.
|
|
54
|
+
* The target listing platform. Currently, only temu is supported.
|
|
55
55
|
*
|
|
56
56
|
* This parameter is required.
|
|
57
57
|
*
|
|
@@ -66,7 +66,7 @@ export class CategoryMatchRequest extends $dara.Model {
|
|
|
66
66
|
* This parameter is required.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
|
-
* Women\\"s
|
|
69
|
+
* Women\\"s Spring New Arrival Clothing
|
|
70
70
|
*/
|
|
71
71
|
title?: string;
|
|
72
72
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CategoryMatchResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The matched category
|
|
8
|
+
* The ID of the matched category.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1522
|
|
@@ -13,7 +13,7 @@ export class CategoryMatchResponseBodyData extends $dara.Model {
|
|
|
13
13
|
categoryId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The matched category
|
|
16
|
+
* The name of the matched category.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 位置和活动跟踪器
|
|
@@ -21,7 +21,7 @@ export class CategoryMatchResponseBodyData extends $dara.Model {
|
|
|
21
21
|
categoryName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The full path of the category, separated by
|
|
24
|
+
* The full path of the category, separated by forward slashes (/).
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 宠物用品/猫用品/猫挂饰、项圈、牵引带/位置和活动跟踪器
|
|
@@ -29,7 +29,7 @@ export class CategoryMatchResponseBodyData extends $dara.Model {
|
|
|
29
29
|
categoryPath?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The
|
|
32
|
+
* The match confidence score. Valid values: 0 to 100.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 96
|
|
@@ -37,7 +37,7 @@ export class CategoryMatchResponseBodyData extends $dara.Model {
|
|
|
37
37
|
confidence?: number;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* Indicates whether the matching is successful.
|
|
40
|
+
* Indicates whether the category matching is successful.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* true
|
|
@@ -45,10 +45,10 @@ export class CategoryMatchResponseBodyData extends $dara.Model {
|
|
|
45
45
|
matchSuccessful?: boolean;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The reason for the category match.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
|
-
* The product
|
|
51
|
+
* The core product is a cat collar with AirTag positioning functionality, belonging to the \\"Location and Activity Trackers\\" category. The leaf node semantically matches its tracking functionality and cat-use attributes precisely
|
|
52
52
|
*/
|
|
53
53
|
reason?: string;
|
|
54
54
|
/**
|
|
@@ -116,7 +116,7 @@ export class CategoryMatchResponseBody extends $dara.Model {
|
|
|
116
116
|
message?: string;
|
|
117
117
|
/**
|
|
118
118
|
* @remarks
|
|
119
|
-
* The request ID, which uniquely identifies the
|
|
119
|
+
* The request ID, which uniquely identifies the request.
|
|
120
120
|
*
|
|
121
121
|
* @example
|
|
122
122
|
* 2157065A-D6C8-1F3E-A4D0-B1234567890
|
|
@@ -73,7 +73,7 @@ export class DiduiAreaDeductionRequestProductsBoxes extends $dara.Model {
|
|
|
73
73
|
export class DiduiAreaDeductionRequestProducts extends $dara.Model {
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
* The
|
|
76
|
+
* The instance boxes for the current SKU. The coordinate range is 0 to 1000.
|
|
77
77
|
*
|
|
78
78
|
* This parameter is required.
|
|
79
79
|
*/
|
|
@@ -124,7 +124,7 @@ export class DiduiAreaDeductionRequest extends $dara.Model {
|
|
|
124
124
|
products?: DiduiAreaDeductionRequestProducts[];
|
|
125
125
|
/**
|
|
126
126
|
* @remarks
|
|
127
|
-
* The ID of the customer-specific SKU vector
|
|
127
|
+
* The ID of the customer-specific SKU vector database that determines which database is used for recall. The database must be created in advance through the database creation process.
|
|
128
128
|
*
|
|
129
129
|
* @example
|
|
130
130
|
* rag_xxx
|
|
@@ -85,7 +85,7 @@ export class DiduiAreaDeductionResponseBodyDataResult extends $dara.Model {
|
|
|
85
85
|
export class DiduiAreaDeductionResponseBodyData extends $dara.Model {
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The number of downstream
|
|
88
|
+
* The number of downstream calls.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* 1
|
|
@@ -117,7 +117,7 @@ export class DiduiAreaDeductionResponseBodyData extends $dara.Model {
|
|
|
117
117
|
latencyMs?: number;
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
|
-
* The workflow description
|
|
120
|
+
* The workflow description.
|
|
121
121
|
*
|
|
122
122
|
* @example
|
|
123
123
|
* Success
|
|
@@ -154,7 +154,7 @@ export class DiduiAreaDeductionResponseBodyData extends $dara.Model {
|
|
|
154
154
|
status?: string;
|
|
155
155
|
/**
|
|
156
156
|
* @remarks
|
|
157
|
-
*
|
|
157
|
+
* Indicates whether the workflow execution is successful.
|
|
158
158
|
*
|
|
159
159
|
* @example
|
|
160
160
|
* True
|
|
@@ -247,7 +247,7 @@ export class DiduiAreaDeductionResponseBody extends $dara.Model {
|
|
|
247
247
|
requestId?: string;
|
|
248
248
|
/**
|
|
249
249
|
* @remarks
|
|
250
|
-
* Indicates whether the call
|
|
250
|
+
* Indicates whether the call is successful.
|
|
251
251
|
*
|
|
252
252
|
* @example
|
|
253
253
|
* True
|
|
@@ -12,7 +12,7 @@ export class DiduiAreaDeductionShrinkRequest extends $dara.Model {
|
|
|
12
12
|
productsShrink?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The ID of the customer-specific SKU vector
|
|
15
|
+
* The ID of the customer-specific SKU vector database that determines which database is used for recall. The database must be created in advance through the database creation process.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* rag_xxx
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DocumentTranslateResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The unique identifier of the asynchronous task
|
|
8
|
+
* The unique identifier of the asynchronous task. Use this ID to query the task status and result.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 6071a030-5c92-9df1-96d0-44952343439a
|
|
@@ -57,7 +57,7 @@ export class DocumentTranslateResponseBody extends $dara.Model {
|
|
|
57
57
|
message?: string;
|
|
58
58
|
/**
|
|
59
59
|
* @remarks
|
|
60
|
-
* The unique identity
|
|
60
|
+
* The unique request identity, used for troubleshooting and Tracing Analysis.
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
63
|
* 39E8A74B-F99E-1195-A5FF-3ECC5F94F304
|
|
@@ -65,7 +65,7 @@ export class DocumentTranslateResponseBody extends $dara.Model {
|
|
|
65
65
|
requestId?: string;
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* Indicates whether the call is successful.
|
|
68
|
+
* Indicates whether the call is successful. true: The call is successful. false: The call failed.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* True
|
|
@@ -6,7 +6,7 @@ export class EcomVideoRecreationRequestInputProductInfo extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The product category.
|
|
9
|
-
* Example:
|
|
9
|
+
* Example: Womenswear/Sun-protective clothing
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* Women\\"s clothing/sun protection clothing
|
|
@@ -15,7 +15,7 @@ export class EcomVideoRecreationRequestInputProductInfo extends $dara.Model {
|
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
17
|
* The actual product information (SKU, brand, color, material, size, specifications, logo, and usage), used to constrain voiceover facts.
|
|
18
|
-
* Example: Light
|
|
18
|
+
* Example: Light yellow, cooling fabric, sun protection to the back of the hand, UPF50+
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* Light moon yellow, cool-touch fabric, sun protection extending to the back of the hand, UPF50+
|
|
@@ -23,8 +23,8 @@ export class EcomVideoRecreationRequestInputProductInfo extends $dara.Model {
|
|
|
23
23
|
detail?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
*
|
|
27
|
-
* Example: Light
|
|
26
|
+
* The name of the target product. This parameter is required for product replacement mode. Maximum length: 200 characters.
|
|
27
|
+
* Example: Light yellow cooling sun-protective jacket
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* Light moon yellow cool-touch sun protection clothing
|
|
@@ -58,7 +58,7 @@ export class EcomVideoRecreationRequestInputProductInfo extends $dara.Model {
|
|
|
58
58
|
export class EcomVideoRecreationRequestInput extends $dara.Model {
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* The description or supplementary constraints for the target person in person replacement mode. 1 to 500 characters.
|
|
61
|
+
* The description or supplementary constraints for the target person in person replacement mode. The value must be 1 to 500 characters in length. This parameter is required if PersonReferenceImageUrls is not provided.
|
|
62
62
|
* Example: The target person is an adult male. Retain the original clothing and actions.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
@@ -75,24 +75,24 @@ export class EcomVideoRecreationRequestInput extends $dara.Model {
|
|
|
75
75
|
mode?: string;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The URLs of
|
|
78
|
+
* The URLs of reference images for the target person in person replacement mode. You can specify 1 to 5 images, which must be of the same person. Arrange the images in the following order: facial close-up, front view, 45-degree view, side view, and back view.
|
|
79
79
|
* Example: ["https://example.com/person.jpg"]
|
|
80
80
|
*/
|
|
81
81
|
personReferenceImageUrls?: string[];
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* The
|
|
84
|
+
* The URLs of target product images. This parameter is required for product replacement mode. You can upload 1 to 8 images for the same SKU. Use images with a clear subject, no occlusion, and a clean background.
|
|
85
85
|
* Example: ["https://example.com/product.png"]
|
|
86
86
|
*/
|
|
87
87
|
productImageUrls?: string[];
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
* The target product information.
|
|
90
|
+
* The target product information. Specify this parameter to improve voiceover accuracy.
|
|
91
91
|
*/
|
|
92
92
|
productInfo?: EcomVideoRecreationRequestInputProductInfo;
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
|
-
* The HTTP(S) URL of the reference video. The video duration must be
|
|
95
|
+
* The HTTP(S) URL of the reference video. The video duration must be 2 to 360 seconds. The URL must remain accessible during task execution. A validity period of at least 24 hours is recommended.
|
|
96
96
|
*
|
|
97
97
|
* This parameter is required.
|
|
98
98
|
*
|
|
@@ -143,10 +143,10 @@ export class EcomVideoRecreationRequestInput extends $dara.Model {
|
|
|
143
143
|
export class EcomVideoRecreationRequestOutput extends $dara.Model {
|
|
144
144
|
/**
|
|
145
145
|
* @remarks
|
|
146
|
-
* The target duration in seconds.
|
|
146
|
+
* The target duration in seconds. Set to ``"auto"`` (default) to let the system decide. For product replacement, specify an integer from 5 to 60. For person replacement, only `"auto"` is supported.
|
|
147
147
|
*
|
|
148
148
|
* @example
|
|
149
|
-
*
|
|
149
|
+
* -1
|
|
150
150
|
*/
|
|
151
151
|
duration?: number;
|
|
152
152
|
/**
|
|
@@ -193,7 +193,7 @@ export class EcomVideoRecreationRequestOutput extends $dara.Model {
|
|
|
193
193
|
export class EcomVideoRecreationRequest extends $dara.Model {
|
|
194
194
|
/**
|
|
195
195
|
* @remarks
|
|
196
|
-
* The input parameters for video
|
|
196
|
+
* The input parameters for video multiplication.
|
|
197
197
|
*
|
|
198
198
|
* This parameter is required.
|
|
199
199
|
*/
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class EcomVideoRecreationResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The asynchronous task ID
|
|
8
|
+
* The asynchronous task ID used to query results with QueryAsyncTaskResult.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* task_778fa8bd21804828a5d147050e30edac
|
|
@@ -35,7 +35,7 @@ export class EcomVideoRecreationResponseBodyData extends $dara.Model {
|
|
|
35
35
|
export class EcomVideoRecreationResponseBody extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The result code. `success` indicates success. An error code is returned upon failure.
|
|
38
|
+
* The result code. A value of `success` indicates success. An error code is returned upon failure.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* success
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class EcomVideoRecreationShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The input parameters for video
|
|
8
|
+
* The input parameters for video multiplication.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*/
|
|
@@ -26,7 +26,7 @@ export class ImageMattingRequest extends $dara.Model {
|
|
|
26
26
|
bgColor?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format
|
|
29
|
+
* The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 and 3000 × 3000 pixels. The file size cannot exceed 10 MB.<br>**Example**: `"https://ae01.alicdn.com/kf/S342f0070dc9f4be09a6cbed34e90dc8fs.jpg"`
|
|
30
30
|
*
|
|
31
31
|
* This parameter is required.
|
|
32
32
|
*
|
|
@@ -13,7 +13,7 @@ export class ImageMattingResponseBodyData extends $dara.Model {
|
|
|
13
13
|
height?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The URL of the matting result
|
|
16
|
+
* The URL of the image matting result.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* http://dashscope-7c2c.oss-cn-shanghai.aliyuncs.com/xxx.jpg
|
|
@@ -21,7 +21,7 @@ export class ImageMattingResponseBodyData extends $dara.Model {
|
|
|
21
21
|
imageUrl?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The quality score of the image matting result.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 0.11
|
|
@@ -108,7 +108,6 @@ export class ImageMattingResponseBody extends $dara.Model {
|
|
|
108
108
|
/**
|
|
109
109
|
* @remarks
|
|
110
110
|
* Indicates whether the call is successful. Valid values:
|
|
111
|
-
*
|
|
112
111
|
* - true: Successful.
|
|
113
112
|
* - false: Failed.
|
|
114
113
|
*
|