@alicloud/aidge20260428 5.5.0 → 5.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/dist/client.d.ts +520 -490
  2. package/dist/client.js +595 -490
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AiTryOnRequest.d.ts +42 -0
  5. package/dist/models/AiTryOnRequest.js +64 -0
  6. package/dist/models/AiTryOnRequest.js.map +1 -0
  7. package/dist/models/AiTryOnResponse.d.ts +19 -0
  8. package/dist/models/AiTryOnResponse.js +69 -0
  9. package/dist/models/AiTryOnResponse.js.map +1 -0
  10. package/dist/models/AiTryOnResponseBody.d.ts +90 -0
  11. package/dist/models/AiTryOnResponseBody.js +120 -0
  12. package/dist/models/AiTryOnResponseBody.js.map +1 -0
  13. package/dist/models/AssetOptimizeLiteRequest.d.ts +2 -2
  14. package/dist/models/AssetOptimizeLiteResponseBody.d.ts +1 -3
  15. package/dist/models/AssetOptimizeLiteResponseBody.js +0 -2
  16. package/dist/models/AssetOptimizeLiteResponseBody.js.map +1 -1
  17. package/dist/models/AssetOptimizeProRequest.d.ts +5 -5
  18. package/dist/models/AssetOptimizeProResponseBody.d.ts +4 -4
  19. package/dist/models/AssetOptimizeProShrinkRequest.d.ts +5 -5
  20. package/dist/models/CategoryAttributeMatchRequest.d.ts +5 -5
  21. package/dist/models/CategoryAttributeMatchResponseBody.d.ts +5 -5
  22. package/dist/models/CategoryAttributeMatchShrinkRequest.d.ts +5 -5
  23. package/dist/models/CategoryMatchRequest.d.ts +7 -7
  24. package/dist/models/CategoryMatchResponseBody.d.ts +8 -8
  25. package/dist/models/DiduiAreaDeductionRequest.d.ts +2 -2
  26. package/dist/models/DiduiAreaDeductionResponseBody.d.ts +4 -4
  27. package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +1 -1
  28. package/dist/models/DocumentTranslateRequest.d.ts +1 -1
  29. package/dist/models/DocumentTranslateResponseBody.d.ts +3 -3
  30. package/dist/models/EcomVideoRecreationRequest.d.ts +12 -12
  31. package/dist/models/EcomVideoRecreationResponseBody.d.ts +2 -2
  32. package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +1 -1
  33. package/dist/models/ImageMattingRequest.d.ts +1 -1
  34. package/dist/models/ImageMattingResponseBody.d.ts +2 -3
  35. package/dist/models/ImageMattingResponseBody.js.map +1 -1
  36. package/dist/models/ImageRecognitionRequest.d.ts +2 -2
  37. package/dist/models/ImageRecognitionResponseBody.d.ts +5 -5
  38. package/dist/models/ImageRecognitionShrinkRequest.d.ts +2 -2
  39. package/dist/models/ImageRemovalProRequest.d.ts +2 -2
  40. package/dist/models/ImageRemovalProResponseBody.d.ts +3 -3
  41. package/dist/models/ImageRemoveRequest.d.ts +9 -9
  42. package/dist/models/ImageRemoveResponseBody.d.ts +2 -2
  43. package/dist/models/ImageRemoveShrinkRequest.d.ts +9 -9
  44. package/dist/models/ImageTranslationPlusResponseBody.d.ts +3 -3
  45. package/dist/models/ImageTranslationProRequest.d.ts +6 -6
  46. package/dist/models/ImageTranslationProResponseBody.d.ts +14 -14
  47. package/dist/models/ImageTranslationStandardRequest.d.ts +2 -2
  48. package/dist/models/ImageTranslationStandardResponseBody.d.ts +7 -7
  49. package/dist/models/LanguageDetectRequest.d.ts +2 -2
  50. package/dist/models/LanguageDetectResponseBody.d.ts +3 -3
  51. package/dist/models/MaterialInspectionRequest.d.ts +5 -5
  52. package/dist/models/MaterialInspectionResponseBody.d.ts +6 -11
  53. package/dist/models/MaterialInspectionResponseBody.js.map +1 -1
  54. package/dist/models/MerchandisePlacementDetectionRequest.d.ts +5 -5
  55. package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +9 -9
  56. package/dist/models/PackageWeightSizeCheckRequest.d.ts +1 -1
  57. package/dist/models/PackageWeightSizeCheckResponseBody.d.ts +4 -4
  58. package/dist/models/PrepaidTextTranslateRequest.d.ts +3 -3
  59. package/dist/models/PrepaidTextTranslateResponseBody.d.ts +6 -6
  60. package/dist/models/PrepaidTextTranslateShrinkRequest.d.ts +3 -3
  61. package/dist/models/ProductHotspotDetectionResponseBody.d.ts +2 -2
  62. package/dist/models/SizeChartDetectResponseBody.d.ts +3 -4
  63. package/dist/models/SizeChartDetectResponseBody.js.map +1 -1
  64. package/dist/models/SizeChartExtractRequest.d.ts +2 -2
  65. package/dist/models/SizeChartExtractResponseBody.d.ts +1 -1
  66. package/dist/models/SizeChartExtractShrinkRequest.d.ts +2 -2
  67. package/dist/models/SubmitProductMatchRequest.d.ts +77 -0
  68. package/dist/models/SubmitProductMatchRequest.js +70 -0
  69. package/dist/models/SubmitProductMatchRequest.js.map +1 -0
  70. package/dist/models/SubmitProductMatchResponse.d.ts +19 -0
  71. package/dist/models/SubmitProductMatchResponse.js +69 -0
  72. package/dist/models/SubmitProductMatchResponse.js.map +1 -0
  73. package/dist/models/SubmitProductMatchResponseBody.d.ts +80 -0
  74. package/dist/models/SubmitProductMatchResponseBody.js +90 -0
  75. package/dist/models/SubmitProductMatchResponseBody.js.map +1 -0
  76. package/dist/models/TextCorrectResponseBody.d.ts +1 -1
  77. package/dist/models/TextTranslateRequest.d.ts +13 -16
  78. package/dist/models/TextTranslateRequest.js.map +1 -1
  79. package/dist/models/TextTranslateResponseBody.d.ts +2 -2
  80. package/dist/models/TextTranslateShrinkRequest.d.ts +13 -16
  81. package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
  82. package/dist/models/VideoTranslationRequest.d.ts +2 -2
  83. package/dist/models/VideoTranslationResponseBody.d.ts +1 -1
  84. package/dist/models/VideoTranslationShrinkRequest.d.ts +2 -2
  85. package/dist/models/VirtualTryOnResponseBody.d.ts +3 -3
  86. package/dist/models/VisionFlowRequest.d.ts +15 -15
  87. package/dist/models/VisionFlowResponseBody.d.ts +1 -1
  88. package/dist/models/VisionFlowShrinkRequest.d.ts +15 -15
  89. package/dist/models/model.d.ts +9 -0
  90. package/dist/models/model.js +22 -4
  91. package/dist/models/model.js.map +1 -1
  92. package/package.json +1 -1
  93. package/src/client.ts +610 -490
  94. package/src/models/AiTryOnRequest.ts +61 -0
  95. package/src/models/AiTryOnResponse.ts +40 -0
  96. package/src/models/AiTryOnResponseBody.ts +145 -0
  97. package/src/models/AssetOptimizeLiteRequest.ts +2 -2
  98. package/src/models/AssetOptimizeLiteResponseBody.ts +1 -3
  99. package/src/models/AssetOptimizeProRequest.ts +5 -5
  100. package/src/models/AssetOptimizeProResponseBody.ts +4 -4
  101. package/src/models/AssetOptimizeProShrinkRequest.ts +5 -5
  102. package/src/models/CategoryAttributeMatchRequest.ts +5 -5
  103. package/src/models/CategoryAttributeMatchResponseBody.ts +5 -5
  104. package/src/models/CategoryAttributeMatchShrinkRequest.ts +5 -5
  105. package/src/models/CategoryMatchRequest.ts +7 -7
  106. package/src/models/CategoryMatchResponseBody.ts +8 -8
  107. package/src/models/DiduiAreaDeductionRequest.ts +2 -2
  108. package/src/models/DiduiAreaDeductionResponseBody.ts +4 -4
  109. package/src/models/DiduiAreaDeductionShrinkRequest.ts +1 -1
  110. package/src/models/DocumentTranslateRequest.ts +1 -1
  111. package/src/models/DocumentTranslateResponseBody.ts +3 -3
  112. package/src/models/EcomVideoRecreationRequest.ts +12 -12
  113. package/src/models/EcomVideoRecreationResponseBody.ts +2 -2
  114. package/src/models/EcomVideoRecreationShrinkRequest.ts +1 -1
  115. package/src/models/ImageMattingRequest.ts +1 -1
  116. package/src/models/ImageMattingResponseBody.ts +2 -3
  117. package/src/models/ImageRecognitionRequest.ts +2 -2
  118. package/src/models/ImageRecognitionResponseBody.ts +5 -5
  119. package/src/models/ImageRecognitionShrinkRequest.ts +2 -2
  120. package/src/models/ImageRemovalProRequest.ts +2 -2
  121. package/src/models/ImageRemovalProResponseBody.ts +3 -3
  122. package/src/models/ImageRemoveRequest.ts +9 -9
  123. package/src/models/ImageRemoveResponseBody.ts +2 -2
  124. package/src/models/ImageRemoveShrinkRequest.ts +9 -9
  125. package/src/models/ImageTranslationPlusResponseBody.ts +3 -3
  126. package/src/models/ImageTranslationProRequest.ts +6 -6
  127. package/src/models/ImageTranslationProResponseBody.ts +14 -14
  128. package/src/models/ImageTranslationStandardRequest.ts +2 -2
  129. package/src/models/ImageTranslationStandardResponseBody.ts +7 -7
  130. package/src/models/LanguageDetectRequest.ts +2 -2
  131. package/src/models/LanguageDetectResponseBody.ts +3 -3
  132. package/src/models/MaterialInspectionRequest.ts +5 -5
  133. package/src/models/MaterialInspectionResponseBody.ts +6 -11
  134. package/src/models/MerchandisePlacementDetectionRequest.ts +5 -5
  135. package/src/models/MerchandisePlacementDetectionResponseBody.ts +9 -9
  136. package/src/models/PackageWeightSizeCheckRequest.ts +1 -1
  137. package/src/models/PackageWeightSizeCheckResponseBody.ts +4 -4
  138. package/src/models/PrepaidTextTranslateRequest.ts +3 -3
  139. package/src/models/PrepaidTextTranslateResponseBody.ts +6 -6
  140. package/src/models/PrepaidTextTranslateShrinkRequest.ts +3 -3
  141. package/src/models/ProductHotspotDetectionResponseBody.ts +2 -2
  142. package/src/models/SizeChartDetectResponseBody.ts +3 -4
  143. package/src/models/SizeChartExtractRequest.ts +2 -2
  144. package/src/models/SizeChartExtractResponseBody.ts +1 -1
  145. package/src/models/SizeChartExtractShrinkRequest.ts +2 -2
  146. package/src/models/SubmitProductMatchRequest.ts +102 -0
  147. package/src/models/SubmitProductMatchResponse.ts +40 -0
  148. package/src/models/SubmitProductMatchResponseBody.ts +116 -0
  149. package/src/models/TextCorrectResponseBody.ts +1 -1
  150. package/src/models/TextTranslateRequest.ts +13 -16
  151. package/src/models/TextTranslateResponseBody.ts +2 -2
  152. package/src/models/TextTranslateShrinkRequest.ts +13 -16
  153. package/src/models/VideoTranslationRequest.ts +2 -2
  154. package/src/models/VideoTranslationResponseBody.ts +1 -1
  155. package/src/models/VideoTranslationShrinkRequest.ts +2 -2
  156. package/src/models/VirtualTryOnResponseBody.ts +3 -3
  157. package/src/models/VisionFlowRequest.ts +15 -15
  158. package/src/models/VisionFlowResponseBody.ts +1 -1
  159. package/src/models/VisionFlowShrinkRequest.ts +15 -15
  160. package/src/models/model.ts +9 -0
@@ -0,0 +1,61 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class AiTryOnRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * https://example.com/cloth.png
12
+ */
13
+ clothImageUrl?: string;
14
+ /**
15
+ * @example
16
+ * tops
17
+ */
18
+ clothType?: string;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * https://example.com/model.png
25
+ */
26
+ modelImageUrl?: string;
27
+ /**
28
+ * @remarks
29
+ * This parameter is required.
30
+ *
31
+ * @example
32
+ * 1K
33
+ */
34
+ resolution?: string;
35
+ static names(): { [key: string]: string } {
36
+ return {
37
+ clothImageUrl: 'ClothImageUrl',
38
+ clothType: 'ClothType',
39
+ modelImageUrl: 'ModelImageUrl',
40
+ resolution: 'Resolution',
41
+ };
42
+ }
43
+
44
+ static types(): { [key: string]: any } {
45
+ return {
46
+ clothImageUrl: 'string',
47
+ clothType: 'string',
48
+ modelImageUrl: 'string',
49
+ resolution: 'string',
50
+ };
51
+ }
52
+
53
+ validate() {
54
+ super.validate();
55
+ }
56
+
57
+ constructor(map?: { [key: string]: any }) {
58
+ super(map);
59
+ }
60
+ }
61
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { AiTryOnResponseBody } from "./AiTryOnResponseBody";
4
+
5
+
6
+ export class AiTryOnResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: AiTryOnResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: AiTryOnResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,145 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ /**
6
+ */
7
+ export class AiTryOnResponseBodyDataUsageMap extends $dara.Model {
8
+ /**
9
+ * @example
10
+ * 1
11
+ */
12
+ processedImageCount?: number;
13
+ /**
14
+ * @example
15
+ * 1K
16
+ */
17
+ resolution?: string;
18
+ static names(): { [key: string]: string } {
19
+ return {
20
+ processedImageCount: 'ProcessedImageCount',
21
+ resolution: 'Resolution',
22
+ };
23
+ }
24
+
25
+ static types(): { [key: string]: any } {
26
+ return {
27
+ processedImageCount: 'number',
28
+ resolution: 'string',
29
+ };
30
+ }
31
+
32
+ validate() {
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
41
+ export class AiTryOnResponseBodyData extends $dara.Model {
42
+ /**
43
+ * @example
44
+ * 1360
45
+ */
46
+ imageHeight?: string;
47
+ /**
48
+ * @example
49
+ * https://example.com/virtual-try-on-result.png
50
+ */
51
+ imageUrl?: string;
52
+ /**
53
+ * @example
54
+ * 768
55
+ */
56
+ imageWidth?: string;
57
+ /**
58
+ * @example
59
+ * {"ProcessedImageCount":1,"Resolution":"1K"}
60
+ */
61
+ usageMap?: AiTryOnResponseBodyDataUsageMap;
62
+ static names(): { [key: string]: string } {
63
+ return {
64
+ imageHeight: 'ImageHeight',
65
+ imageUrl: 'ImageUrl',
66
+ imageWidth: 'ImageWidth',
67
+ usageMap: 'UsageMap',
68
+ };
69
+ }
70
+
71
+ static types(): { [key: string]: any } {
72
+ return {
73
+ imageHeight: 'string',
74
+ imageUrl: 'string',
75
+ imageWidth: 'string',
76
+ usageMap: AiTryOnResponseBodyDataUsageMap,
77
+ };
78
+ }
79
+
80
+ validate() {
81
+ if(this.usageMap && typeof (this.usageMap as any).validate === 'function') {
82
+ (this.usageMap as any).validate();
83
+ }
84
+ super.validate();
85
+ }
86
+
87
+ constructor(map?: { [key: string]: any }) {
88
+ super(map);
89
+ }
90
+ }
91
+
92
+ export class AiTryOnResponseBody extends $dara.Model {
93
+ /**
94
+ * @example
95
+ * 200
96
+ */
97
+ code?: string;
98
+ data?: AiTryOnResponseBodyData;
99
+ /**
100
+ * @example
101
+ * OK
102
+ */
103
+ message?: string;
104
+ /**
105
+ * @example
106
+ * 2728332e-72c1-9c0d-8869-5781b2cd25d4
107
+ */
108
+ requestId?: string;
109
+ /**
110
+ * @example
111
+ * True
112
+ */
113
+ success?: boolean;
114
+ static names(): { [key: string]: string } {
115
+ return {
116
+ code: 'Code',
117
+ data: 'Data',
118
+ message: 'Message',
119
+ requestId: 'RequestId',
120
+ success: 'Success',
121
+ };
122
+ }
123
+
124
+ static types(): { [key: string]: any } {
125
+ return {
126
+ code: 'string',
127
+ data: AiTryOnResponseBodyData,
128
+ message: 'string',
129
+ requestId: 'string',
130
+ success: 'boolean',
131
+ };
132
+ }
133
+
134
+ validate() {
135
+ if(this.data && typeof (this.data as any).validate === 'function') {
136
+ (this.data as any).validate();
137
+ }
138
+ super.validate();
139
+ }
140
+
141
+ constructor(map?: { [key: string]: any }) {
142
+ super(map);
143
+ }
144
+ }
145
+
@@ -8,7 +8,7 @@ export class AssetOptimizeLiteRequest extends $dara.Model {
8
8
  * The custom glossary for term intervention.
9
9
  *
10
10
  * @example
11
- * test
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 needed.
24
+ * Specifies whether translation is required.
25
25
  *
26
26
  * This parameter is required.
27
27
  *
@@ -2,12 +2,10 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
- /**
6
- */
7
5
  export class AssetOptimizeLiteResponseBodyData extends $dara.Model {
8
6
  /**
9
7
  * @remarks
10
- * The asynchronous task ID, used to query results later.
8
+ * The asynchronous task ID, which is used to query the result later.
11
9
  *
12
10
  * @example
13
11
  * 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 separately in the console and provide its ID. If empty, translation results are not modified.
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 in images. Setting this to false helps protect embedded information such as product names from being translated. Default value: false.
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. Refer to the supported language pairs list for available language directions. Required if NeedTrans is set to true.
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. Refer to the supported language pairs list for available language directions. Required if NeedTrans is set to true.
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 in images. Optional. Default value: false. Setting this to false helps protect brand name information from being translated.
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, used to query processing results through QueryAsyncTaskResult.
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 asynchronous task submission result data, which contains the asynchronous task ID.
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, used to uniquely identify a single API call.
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 was successful. A value of true indicates success. A value of false indicates failure.
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 separately in the console and provide its ID. If empty, translation results are not modified.
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 in images. Setting this to false helps protect embedded information such as product names from being translated. Default value: false.
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. Refer to the supported language pairs list for available language directions. Required if NeedTrans is set to true.
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. Refer to the supported language pairs list for available language directions. Required if NeedTrans is set to true.
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 in images. Optional. Default value: false. Setting this to false helps protect brand name information from being translated.
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 (up to 10 images are supported).
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:颜色:黑(不含定位器);0:1:颜色:智能定位(不含项圈);0:2:颜色:范围定位(不含项圈);0:3:颜色:蓝(不含定位器);0:4:颜色:橙(不含定位器);0:5:颜色:粉(不含定位器);0:6:颜色:红(不含定位器);0:7:颜色:黄(不含定位器);0:8:颜色:紫(不含定位器)
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 where the product originates.
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 new spring clothing
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 information.
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 response data.
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 (up to 10 images are supported).
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:颜色:黑(不含定位器);0:1:颜色:智能定位(不含项圈);0:2:颜色:范围定位(不含项圈);0:3:颜色:蓝(不含定位器);0:4:颜色:橙(不含定位器);0:5:颜色:粉(不含定位器);0:6:颜色:红(不含定位器);0:7:颜色:黄(不含定位器);0:8:颜色:紫(不含定位器)
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 where the product originates.
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 new spring clothing
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, new spring style
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
- * 材质:涤纶,适用对象:通用,品牌:艾马逊AMASON PET
21
+ * Material:Polyester,Target Audience:General,Brand:AMASON PET
22
22
  */
23
23
  itemSpec?: string;
24
24
  /**
25
25
  * @remarks
26
- * The product SKU title.
26
+ * The SKU title of the product.
27
27
  *
28
28
  * @example
29
- * 0:0:颜色:黑(不含定位器);0:1:颜色:智能定位(不含项圈);0:2:颜色:范围定位(不含项圈);0:3:颜色:蓝(不含定位器);0:4:颜色:橙(不含定位器);0:5:颜色:粉(不含定位器);0:6:颜色:红(不含定位器);0:7:颜色:黄(不含定位器);0:8:颜色:紫(不含定位器)
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 where products are sourced from.
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 new spring clothing
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 ID.
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 name.
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 matching confidence score, ranging from 0 to 100.
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 explanation of the matching reason.
48
+ * The reason for the category match.
49
49
  *
50
50
  * @example
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
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 API call.
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 detection boxes for the current SKU. Coordinate values range from 0 to 1000.
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 store that determines which store is used for retrieval. The store must be created in advance through the store creation process.
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