@alicloud/aidge20260428 5.3.1 → 5.4.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 +651 -526
- package/dist/client.js +689 -529
- 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 +1 -1
- package/dist/models/DiduiAreaDeductionResponseBody.d.ts +1 -1
- package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +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/EcomVideoRecreationRequest.d.ts +156 -0
- package/dist/models/EcomVideoRecreationRequest.js +150 -0
- package/dist/models/EcomVideoRecreationRequest.js.map +1 -0
- package/dist/models/EcomVideoRecreationResponse.d.ts +19 -0
- package/dist/models/EcomVideoRecreationResponse.js +69 -0
- package/dist/models/EcomVideoRecreationResponse.js.map +1 -0
- package/dist/models/EcomVideoRecreationResponseBody.d.ts +70 -0
- package/dist/models/EcomVideoRecreationResponseBody.js +88 -0
- package/dist/models/EcomVideoRecreationResponseBody.js.map +1 -0
- package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +25 -0
- package/dist/models/EcomVideoRecreationShrinkRequest.js +60 -0
- package/dist/models/EcomVideoRecreationShrinkRequest.js.map +1 -0
- 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 +24 -17
- 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 +24 -17
- 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 +5 -7
- 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/VideoGenerationRequest.d.ts +45 -8
- package/dist/models/VideoGenerationRequest.js.map +1 -1
- package/dist/models/VideoGenerationResponseBody.d.ts +5 -5
- 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/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +20 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +698 -531
- 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 +1 -1
- package/src/models/DiduiAreaDeductionResponseBody.ts +1 -1
- package/src/models/DiduiAreaDeductionShrinkRequest.ts +1 -1
- package/src/models/DocumentTranslateRequest.ts +6 -2
- package/src/models/DocumentTranslateResponseBody.ts +4 -3
- package/src/models/EcomVideoRecreationRequest.ts +234 -0
- package/src/models/EcomVideoRecreationResponse.ts +40 -0
- package/src/models/EcomVideoRecreationResponseBody.ts +104 -0
- package/src/models/EcomVideoRecreationShrinkRequest.ts +40 -0
- 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 +24 -17
- package/src/models/ImageRemoveResponseBody.ts +9 -8
- package/src/models/ImageRemoveShrinkRequest.ts +24 -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 +5 -7
- 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/VideoGenerationRequest.ts +45 -8
- package/src/models/VideoGenerationResponseBody.ts +5 -5
- 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
- package/src/models/model.ts +8 -0
|
@@ -5,15 +5,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AssetOptimizeLiteRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The custom glossary for term intervention.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* test
|
|
12
12
|
*/
|
|
13
13
|
glossary?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* Specifies whether product area translation is included.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* false
|
|
@@ -21,7 +21,7 @@ export class AssetOptimizeLiteRequest extends $dara.Model {
|
|
|
21
21
|
includingProductArea?: boolean;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
*
|
|
24
|
+
* Specifies whether translation is needed.
|
|
25
25
|
*
|
|
26
26
|
* This parameter is required.
|
|
27
27
|
*
|
|
@@ -31,7 +31,7 @@ export class AssetOptimizeLiteRequest extends $dara.Model {
|
|
|
31
31
|
needTrans?: boolean;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
*
|
|
34
|
+
* The product URL.
|
|
35
35
|
*
|
|
36
36
|
* This parameter is required.
|
|
37
37
|
*
|
|
@@ -41,7 +41,7 @@ export class AssetOptimizeLiteRequest extends $dara.Model {
|
|
|
41
41
|
productUrl?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
*
|
|
44
|
+
* The source language code, such as zh.
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
47
|
* zh
|
|
@@ -49,7 +49,7 @@ export class AssetOptimizeLiteRequest extends $dara.Model {
|
|
|
49
49
|
sourceLanguage?: string;
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
*
|
|
52
|
+
* The source platform, such as 1688.
|
|
53
53
|
*
|
|
54
54
|
* This parameter is required.
|
|
55
55
|
*
|
|
@@ -59,7 +59,7 @@ export class AssetOptimizeLiteRequest extends $dara.Model {
|
|
|
59
59
|
sourcePlatform?: string;
|
|
60
60
|
/**
|
|
61
61
|
* @remarks
|
|
62
|
-
*
|
|
62
|
+
* The target language code, such as en.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* en
|
|
@@ -67,7 +67,7 @@ export class AssetOptimizeLiteRequest extends $dara.Model {
|
|
|
67
67
|
targetLanguage?: string;
|
|
68
68
|
/**
|
|
69
69
|
* @remarks
|
|
70
|
-
*
|
|
70
|
+
* The target platform, such as temu.
|
|
71
71
|
*
|
|
72
72
|
* This parameter is required.
|
|
73
73
|
*
|
|
@@ -77,7 +77,7 @@ export class AssetOptimizeLiteRequest extends $dara.Model {
|
|
|
77
77
|
targetPlatform?: string;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
*
|
|
80
|
+
* Specifies whether to translate brand names in images. Default value: false.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
83
|
* false
|
|
@@ -7,7 +7,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
7
7
|
export class AssetOptimizeLiteResponseBodyData extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
*
|
|
10
|
+
* The asynchronous task ID, used to query results later.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* task-xxxxxx
|
|
@@ -37,7 +37,7 @@ export class AssetOptimizeLiteResponseBodyData extends $dara.Model {
|
|
|
37
37
|
export class AssetOptimizeLiteResponseBody extends $dara.Model {
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
*
|
|
40
|
+
* The error code.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* 200
|
|
@@ -45,12 +45,12 @@ export class AssetOptimizeLiteResponseBody extends $dara.Model {
|
|
|
45
45
|
code?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
*
|
|
48
|
+
* The submit result of the asynchronous task.
|
|
49
49
|
*/
|
|
50
50
|
data?: AssetOptimizeLiteResponseBodyData;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
*
|
|
53
|
+
* The error message.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* OK
|
|
@@ -66,7 +66,7 @@ export class AssetOptimizeLiteResponseBody extends $dara.Model {
|
|
|
66
66
|
requestId?: string;
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
*
|
|
69
|
+
* Indicates whether the call is successful.
|
|
70
70
|
*
|
|
71
71
|
* @example
|
|
72
72
|
* True
|
|
@@ -8,12 +8,12 @@ export class AssetOptimizeProRequest extends $dara.Model {
|
|
|
8
8
|
* The list of column names to recognize in size chart images. Optional.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
* ["
|
|
11
|
+
* ["Bust","Waist","Hip"]
|
|
12
12
|
*/
|
|
13
13
|
columnNameList?: string[];
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The glossary ID. Optional. Create a glossary in the console and provide its ID. If
|
|
16
|
+
* The glossary ID. Optional. Create a glossary separately in the console and provide its ID. If empty, translation results are not modified.
|
|
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 in 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. Refer to the supported language pairs list for available language directions. 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. Refer to the supported language pairs list for available language directions. 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 in 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, used to query processing results through 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 asynchronous task submission result data, 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, used to uniquely identify a single API call.
|
|
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 was successful. A value of true indicates success. A value of false indicates failure.
|
|
68
68
|
*
|
|
69
69
|
* @example
|
|
70
70
|
* true
|
|
@@ -8,12 +8,12 @@ export class AssetOptimizeProShrinkRequest extends $dara.Model {
|
|
|
8
8
|
* The list of column names to recognize in size chart images. Optional.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
* ["
|
|
11
|
+
* ["Bust","Waist","Hip"]
|
|
12
12
|
*/
|
|
13
13
|
columnNameListShrink?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The glossary ID. Optional. Create a glossary in the console and provide its ID. If
|
|
16
|
+
* The glossary ID. Optional. Create a glossary separately in the console and provide its ID. If empty, translation results are not modified.
|
|
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 in 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. Refer to the supported language pairs list for available language directions. 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. Refer to the supported language pairs list for available language directions. 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 in 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
|
|
@@ -8,12 +8,12 @@ export class CategoryAttributeMatchRequest extends $dara.Model {
|
|
|
8
8
|
* The product details.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* Silk, new spring style
|
|
12
12
|
*/
|
|
13
13
|
description?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The product image URLs
|
|
16
|
+
* The product image URLs (up to 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
|
|
@@ -26,7 +26,7 @@ export class CategoryAttributeMatchRequest extends $dara.Model {
|
|
|
26
26
|
* This parameter is required.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
|
-
*
|
|
29
|
+
* For example, the material of the product. Enter the attribute name and attribute value
|
|
30
30
|
*/
|
|
31
31
|
itemSpec?: string;
|
|
32
32
|
/**
|
|
@@ -46,12 +46,12 @@ export class CategoryAttributeMatchRequest extends $dara.Model {
|
|
|
46
46
|
* This parameter is required.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
|
-
*
|
|
49
|
+
* Clothing
|
|
50
50
|
*/
|
|
51
51
|
sourceCategory?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* The source platform
|
|
54
|
+
* The source platform where 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
|
|
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
|
-
*
|
|
79
|
+
* Women\\"s new spring clothing
|
|
80
80
|
*/
|
|
81
81
|
title?: string;
|
|
82
82
|
static names(): { [key: string]: string } {
|
|
@@ -13,7 +13,7 @@ export class CategoryAttributeMatchResponseBodyDataAttributes extends $dara.Mode
|
|
|
13
13
|
attrId?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The matching confidence score
|
|
16
|
+
* The matching confidence score, ranging from 0 to 100.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 50
|
|
@@ -21,7 +21,7 @@ export class CategoryAttributeMatchResponseBodyDataAttributes extends $dara.Mode
|
|
|
21
21
|
confidence?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The input type
|
|
24
|
+
* The attribute input type.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 单选下拉
|
|
@@ -53,7 +53,7 @@ export class CategoryAttributeMatchResponseBodyDataAttributes extends $dara.Mode
|
|
|
53
53
|
nameEn?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The
|
|
56
|
+
* The explanation for the matching result.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* a_reason
|
|
@@ -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 information.
|
|
202
202
|
*/
|
|
203
203
|
usageMap?: CategoryAttributeMatchResponseBodyDataUsageMap;
|
|
204
204
|
static names(): { [key: string]: string } {
|
|
@@ -245,7 +245,7 @@ export class CategoryAttributeMatchResponseBodyData extends $dara.Model {
|
|
|
245
245
|
export class CategoryAttributeMatchResponseBody extends $dara.Model {
|
|
246
246
|
/**
|
|
247
247
|
* @remarks
|
|
248
|
-
* The error code. This parameter is not returned
|
|
248
|
+
* The error code. This parameter is not returned for successful calls.
|
|
249
249
|
*
|
|
250
250
|
* @example
|
|
251
251
|
* 200
|
|
@@ -253,12 +253,12 @@ export class CategoryAttributeMatchResponseBody extends $dara.Model {
|
|
|
253
253
|
code?: string;
|
|
254
254
|
/**
|
|
255
255
|
* @remarks
|
|
256
|
-
* The
|
|
256
|
+
* The response data.
|
|
257
257
|
*/
|
|
258
258
|
data?: CategoryAttributeMatchResponseBodyData;
|
|
259
259
|
/**
|
|
260
260
|
* @remarks
|
|
261
|
-
* The error message. This parameter is not returned
|
|
261
|
+
* The error message. This parameter is not returned for successful calls.
|
|
262
262
|
*
|
|
263
263
|
* @example
|
|
264
264
|
* null
|
|
@@ -8,12 +8,12 @@ export class CategoryAttributeMatchShrinkRequest extends $dara.Model {
|
|
|
8
8
|
* The product details.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* Silk, new spring style
|
|
12
12
|
*/
|
|
13
13
|
description?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The product image URLs
|
|
16
|
+
* The product image URLs (up to 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
|
|
@@ -26,7 +26,7 @@ export class CategoryAttributeMatchShrinkRequest extends $dara.Model {
|
|
|
26
26
|
* This parameter is required.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
|
-
*
|
|
29
|
+
* For example, the material of the product. Enter the attribute name and attribute value
|
|
30
30
|
*/
|
|
31
31
|
itemSpec?: string;
|
|
32
32
|
/**
|
|
@@ -46,12 +46,12 @@ export class CategoryAttributeMatchShrinkRequest extends $dara.Model {
|
|
|
46
46
|
* This parameter is required.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
|
-
*
|
|
49
|
+
* Clothing
|
|
50
50
|
*/
|
|
51
51
|
sourceCategory?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* The source platform
|
|
54
|
+
* The source platform where 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
|
|
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
|
-
*
|
|
79
|
+
* Women\\"s new spring clothing
|
|
80
80
|
*/
|
|
81
81
|
title?: string;
|
|
82
82
|
static names(): { [key: string]: string } {
|
|
@@ -5,17 +5,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CategoryMatchRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The product
|
|
8
|
+
* The product description.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
|
-
*
|
|
13
|
+
* Silk, new spring style
|
|
14
14
|
*/
|
|
15
15
|
description?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The product attributes that describe the characteristics of the product, such as material.
|
|
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
|
* 材质:涤纶,适用对象:通用,品牌:艾马逊AMASON PET
|
|
@@ -23,7 +23,7 @@ export class CategoryMatchRequest extends $dara.Model {
|
|
|
23
23
|
itemSpec?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The SKU title
|
|
26
|
+
* The product SKU title.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* 0:0:颜色:黑(不含定位器);0:1:颜色:智能定位(不含项圈);0:2:颜色:范围定位(不含项圈);0:3:颜色:蓝(不含定位器);0:4:颜色:橙(不含定位器);0:5:颜色:粉(不含定位器);0:6:颜色:红(不含定位器);0:7:颜色:黄(不含定位器);0:8:颜色:紫(不含定位器)
|
|
@@ -36,12 +36,12 @@ export class CategoryMatchRequest extends $dara.Model {
|
|
|
36
36
|
* This parameter is required.
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
|
-
*
|
|
39
|
+
* Clothing
|
|
40
40
|
*/
|
|
41
41
|
sourceCategory?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* The source platform
|
|
44
|
+
* The source platform where products are sourced from.
|
|
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
|
|
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
|
-
*
|
|
69
|
+
* Women\\"s new spring 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
|
|
8
|
+
* The matched category ID.
|
|
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
|
|
16
|
+
* The matched category name.
|
|
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 "/".
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 宠物用品/猫用品/猫挂饰、项圈、牵引带/位置和活动跟踪器
|
|
@@ -37,7 +37,7 @@ export class CategoryMatchResponseBodyData extends $dara.Model {
|
|
|
37
37
|
confidence?: number;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* Indicates whether the
|
|
40
|
+
* Indicates whether the 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 explanation of the matching reason.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
|
-
*
|
|
51
|
+
* The product core is a cat collar with AirTag positioning function, belonging to the \\"Location and Activity Trackers\\" category, with leaf node semantics precisely matching its tracking function and cat-use attributes
|
|
52
52
|
*/
|
|
53
53
|
reason?: string;
|
|
54
54
|
/**
|
|
@@ -95,7 +95,7 @@ export class CategoryMatchResponseBodyData extends $dara.Model {
|
|
|
95
95
|
export class CategoryMatchResponseBody extends $dara.Model {
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* The status code. The value "success" is returned for
|
|
98
|
+
* The status code. The value "success" is returned for successful calls.
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
101
|
* success
|
|
@@ -108,7 +108,7 @@ export class CategoryMatchResponseBody extends $dara.Model {
|
|
|
108
108
|
data?: CategoryMatchResponseBodyData;
|
|
109
109
|
/**
|
|
110
110
|
* @remarks
|
|
111
|
-
* The error message. The value "Success" is returned for
|
|
111
|
+
* The error message. The value "Success" is returned for successful calls.
|
|
112
112
|
*
|
|
113
113
|
* @example
|
|
114
114
|
* Success
|
|
@@ -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 API call.
|
|
120
120
|
*
|
|
121
121
|
* @example
|
|
122
122
|
* 2157065A-D6C8-1F3E-A4D0-B1234567890
|
|
@@ -124,7 +124,7 @@ export class CategoryMatchResponseBody extends $dara.Model {
|
|
|
124
124
|
requestId?: string;
|
|
125
125
|
/**
|
|
126
126
|
* @remarks
|
|
127
|
-
* Indicates whether the call is successful.
|
|
127
|
+
* Indicates whether the call is successful. A value of true indicates success. A value of false indicates failure.
|
|
128
128
|
*
|
|
129
129
|
* @example
|
|
130
130
|
* true
|
|
@@ -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 store that determines which store is used for retrieval. The store must be created in advance through the store creation process.
|
|
128
128
|
*
|
|
129
129
|
* @example
|
|
130
130
|
* rag_xxx
|
|
@@ -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 store that determines which store is used for retrieval. The store must be created in advance through the store creation process.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* rag_xxx
|
|
@@ -5,7 +5,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DocumentTranslateRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The supported document types: PDF/Word.
|
|
8
|
+
* The supported document types: PDF/Word.
|
|
9
|
+
* Supported capacity limits:
|
|
10
|
+
* - word: 200 MB/100 pages
|
|
11
|
+
* - PDF: 200 MB/100 pages
|
|
12
|
+
* - Maximum size per file: 200 MB
|
|
9
13
|
*
|
|
10
14
|
* This parameter is required.
|
|
11
15
|
*
|
|
@@ -15,7 +19,7 @@ export class DocumentTranslateRequest extends $dara.Model {
|
|
|
15
19
|
fileType?: string;
|
|
16
20
|
/**
|
|
17
21
|
* @remarks
|
|
18
|
-
* The
|
|
22
|
+
* The glossary ID. Specify this parameter when you need the glossary feature. Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). Commonly used for brand name protection.
|
|
19
23
|
*
|
|
20
24
|
* @example
|
|
21
25
|
* glossary_1
|
|
@@ -48,7 +48,8 @@ export class DocumentTranslateResponseBody extends $dara.Model {
|
|
|
48
48
|
data?: DocumentTranslateResponseBodyData;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The error message
|
|
51
|
+
* The error message, such as "The parameters contain sensitive information. Try other input."
|
|
52
|
+
* This parameter is not returned for successful calls.
|
|
52
53
|
*
|
|
53
54
|
* @example
|
|
54
55
|
* Success
|
|
@@ -56,7 +57,7 @@ export class DocumentTranslateResponseBody extends $dara.Model {
|
|
|
56
57
|
message?: string;
|
|
57
58
|
/**
|
|
58
59
|
* @remarks
|
|
59
|
-
*
|
|
60
|
+
* The unique request identity, used for troubleshooting and tracing.
|
|
60
61
|
*
|
|
61
62
|
* @example
|
|
62
63
|
* 39E8A74B-F99E-1195-A5FF-3ECC5F94F304
|
|
@@ -64,7 +65,7 @@ export class DocumentTranslateResponseBody extends $dara.Model {
|
|
|
64
65
|
requestId?: string;
|
|
65
66
|
/**
|
|
66
67
|
* @remarks
|
|
67
|
-
* Indicates whether the call
|
|
68
|
+
* Indicates whether the call was successful. Valid values: true: The call was successful. false: The call failed.
|
|
68
69
|
*
|
|
69
70
|
* @example
|
|
70
71
|
* True
|