@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.
Files changed (152) hide show
  1. package/dist/client.d.ts +651 -526
  2. package/dist/client.js +689 -529
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AssetOptimizeLiteRequest.d.ts +10 -10
  5. package/dist/models/AssetOptimizeLiteResponseBody.d.ts +5 -5
  6. package/dist/models/AssetOptimizeProRequest.d.ts +6 -6
  7. package/dist/models/AssetOptimizeProResponseBody.d.ts +4 -4
  8. package/dist/models/AssetOptimizeProShrinkRequest.d.ts +6 -6
  9. package/dist/models/CategoryAttributeMatchRequest.d.ts +7 -7
  10. package/dist/models/CategoryAttributeMatchResponseBody.d.ts +7 -7
  11. package/dist/models/CategoryAttributeMatchShrinkRequest.d.ts +7 -7
  12. package/dist/models/CategoryMatchRequest.d.ts +8 -8
  13. package/dist/models/CategoryMatchResponseBody.d.ts +10 -10
  14. package/dist/models/DiduiAreaDeductionRequest.d.ts +1 -1
  15. package/dist/models/DiduiAreaDeductionResponseBody.d.ts +1 -1
  16. package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +1 -1
  17. package/dist/models/DocumentTranslateRequest.d.ts +6 -2
  18. package/dist/models/DocumentTranslateRequest.js.map +1 -1
  19. package/dist/models/DocumentTranslateResponseBody.d.ts +4 -3
  20. package/dist/models/DocumentTranslateResponseBody.js.map +1 -1
  21. package/dist/models/EcomVideoRecreationRequest.d.ts +156 -0
  22. package/dist/models/EcomVideoRecreationRequest.js +150 -0
  23. package/dist/models/EcomVideoRecreationRequest.js.map +1 -0
  24. package/dist/models/EcomVideoRecreationResponse.d.ts +19 -0
  25. package/dist/models/EcomVideoRecreationResponse.js +69 -0
  26. package/dist/models/EcomVideoRecreationResponse.js.map +1 -0
  27. package/dist/models/EcomVideoRecreationResponseBody.d.ts +70 -0
  28. package/dist/models/EcomVideoRecreationResponseBody.js +88 -0
  29. package/dist/models/EcomVideoRecreationResponseBody.js.map +1 -0
  30. package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +25 -0
  31. package/dist/models/EcomVideoRecreationShrinkRequest.js +60 -0
  32. package/dist/models/EcomVideoRecreationShrinkRequest.js.map +1 -0
  33. package/dist/models/ImageCroppingRequest.d.ts +3 -3
  34. package/dist/models/ImageCroppingResponseBody.d.ts +10 -8
  35. package/dist/models/ImageCroppingResponseBody.js.map +1 -1
  36. package/dist/models/ImageMattingRequest.d.ts +4 -3
  37. package/dist/models/ImageMattingRequest.js.map +1 -1
  38. package/dist/models/ImageMattingResponseBody.d.ts +1 -0
  39. package/dist/models/ImageMattingResponseBody.js.map +1 -1
  40. package/dist/models/ImageRecognitionRequest.d.ts +4 -4
  41. package/dist/models/ImageRecognitionResponseBody.d.ts +2 -2
  42. package/dist/models/ImageRecognitionShrinkRequest.d.ts +4 -4
  43. package/dist/models/ImageRemoveRequest.d.ts +24 -17
  44. package/dist/models/ImageRemoveRequest.js.map +1 -1
  45. package/dist/models/ImageRemoveResponseBody.d.ts +9 -8
  46. package/dist/models/ImageRemoveResponseBody.js.map +1 -1
  47. package/dist/models/ImageRemoveShrinkRequest.d.ts +24 -17
  48. package/dist/models/ImageRemoveShrinkRequest.js.map +1 -1
  49. package/dist/models/ImageTranslationPlusResponseBody.d.ts +3 -1
  50. package/dist/models/ImageTranslationPlusResponseBody.js.map +1 -1
  51. package/dist/models/ImageTranslationProRequest.d.ts +14 -8
  52. package/dist/models/ImageTranslationProRequest.js.map +1 -1
  53. package/dist/models/ImageTranslationProResponseBody.d.ts +19 -19
  54. package/dist/models/ImageTranslationStandardRequest.d.ts +9 -6
  55. package/dist/models/ImageTranslationStandardRequest.js.map +1 -1
  56. package/dist/models/ImageTranslationStandardResponseBody.d.ts +8 -8
  57. package/dist/models/LanguageDetectRequest.d.ts +10 -2
  58. package/dist/models/LanguageDetectRequest.js +2 -0
  59. package/dist/models/LanguageDetectRequest.js.map +1 -1
  60. package/dist/models/LanguageDetectResponseBody.d.ts +5 -7
  61. package/dist/models/LanguageDetectResponseBody.js.map +1 -1
  62. package/dist/models/MaterialInspectionRequest.d.ts +5 -5
  63. package/dist/models/MaterialInspectionResponseBody.d.ts +14 -7
  64. package/dist/models/MaterialInspectionResponseBody.js.map +1 -1
  65. package/dist/models/MerchandisePlacementDetectionRequest.d.ts +4 -4
  66. package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +8 -8
  67. package/dist/models/PackageWeightSizeCheckRequest.d.ts +2 -2
  68. package/dist/models/PackageWeightSizeCheckResponseBody.d.ts +6 -6
  69. package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +5 -5
  70. package/dist/models/SizeChartDetectResponseBody.d.ts +1 -0
  71. package/dist/models/SizeChartDetectResponseBody.js.map +1 -1
  72. package/dist/models/SizeChartExtractRequest.d.ts +2 -2
  73. package/dist/models/SizeChartExtractResponseBody.d.ts +1 -1
  74. package/dist/models/SizeChartExtractShrinkRequest.d.ts +2 -2
  75. package/dist/models/TextCorrectRequest.d.ts +2 -2
  76. package/dist/models/TextCorrectResponseBody.d.ts +6 -6
  77. package/dist/models/TextTranslateRequest.d.ts +15 -6
  78. package/dist/models/TextTranslateRequest.js.map +1 -1
  79. package/dist/models/TextTranslateResponseBody.d.ts +4 -4
  80. package/dist/models/TextTranslateShrinkRequest.d.ts +15 -6
  81. package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
  82. package/dist/models/VideoGenerationRequest.d.ts +45 -8
  83. package/dist/models/VideoGenerationRequest.js.map +1 -1
  84. package/dist/models/VideoGenerationResponseBody.d.ts +5 -5
  85. package/dist/models/VideoTranslationResponseBody.d.ts +3 -3
  86. package/dist/models/VisionFlowRequest.d.ts +16 -16
  87. package/dist/models/VisionFlowResponseBody.d.ts +4 -4
  88. package/dist/models/VisionFlowShrinkRequest.d.ts +16 -16
  89. package/dist/models/model.d.ts +8 -0
  90. package/dist/models/model.js +20 -4
  91. package/dist/models/model.js.map +1 -1
  92. package/package.json +1 -1
  93. package/src/client.ts +698 -531
  94. package/src/models/AssetOptimizeLiteRequest.ts +10 -10
  95. package/src/models/AssetOptimizeLiteResponseBody.ts +5 -5
  96. package/src/models/AssetOptimizeProRequest.ts +6 -6
  97. package/src/models/AssetOptimizeProResponseBody.ts +4 -4
  98. package/src/models/AssetOptimizeProShrinkRequest.ts +6 -6
  99. package/src/models/CategoryAttributeMatchRequest.ts +7 -7
  100. package/src/models/CategoryAttributeMatchResponseBody.ts +7 -7
  101. package/src/models/CategoryAttributeMatchShrinkRequest.ts +7 -7
  102. package/src/models/CategoryMatchRequest.ts +8 -8
  103. package/src/models/CategoryMatchResponseBody.ts +10 -10
  104. package/src/models/DiduiAreaDeductionRequest.ts +1 -1
  105. package/src/models/DiduiAreaDeductionResponseBody.ts +1 -1
  106. package/src/models/DiduiAreaDeductionShrinkRequest.ts +1 -1
  107. package/src/models/DocumentTranslateRequest.ts +6 -2
  108. package/src/models/DocumentTranslateResponseBody.ts +4 -3
  109. package/src/models/EcomVideoRecreationRequest.ts +234 -0
  110. package/src/models/EcomVideoRecreationResponse.ts +40 -0
  111. package/src/models/EcomVideoRecreationResponseBody.ts +104 -0
  112. package/src/models/EcomVideoRecreationShrinkRequest.ts +40 -0
  113. package/src/models/ImageCroppingRequest.ts +3 -3
  114. package/src/models/ImageCroppingResponseBody.ts +10 -8
  115. package/src/models/ImageMattingRequest.ts +4 -3
  116. package/src/models/ImageMattingResponseBody.ts +1 -0
  117. package/src/models/ImageRecognitionRequest.ts +4 -4
  118. package/src/models/ImageRecognitionResponseBody.ts +2 -2
  119. package/src/models/ImageRecognitionShrinkRequest.ts +4 -4
  120. package/src/models/ImageRemoveRequest.ts +24 -17
  121. package/src/models/ImageRemoveResponseBody.ts +9 -8
  122. package/src/models/ImageRemoveShrinkRequest.ts +24 -17
  123. package/src/models/ImageTranslationPlusResponseBody.ts +3 -1
  124. package/src/models/ImageTranslationProRequest.ts +14 -8
  125. package/src/models/ImageTranslationProResponseBody.ts +19 -19
  126. package/src/models/ImageTranslationStandardRequest.ts +9 -6
  127. package/src/models/ImageTranslationStandardResponseBody.ts +8 -8
  128. package/src/models/LanguageDetectRequest.ts +12 -2
  129. package/src/models/LanguageDetectResponseBody.ts +5 -7
  130. package/src/models/MaterialInspectionRequest.ts +5 -5
  131. package/src/models/MaterialInspectionResponseBody.ts +14 -7
  132. package/src/models/MerchandisePlacementDetectionRequest.ts +4 -4
  133. package/src/models/MerchandisePlacementDetectionResponseBody.ts +8 -8
  134. package/src/models/PackageWeightSizeCheckRequest.ts +2 -2
  135. package/src/models/PackageWeightSizeCheckResponseBody.ts +6 -6
  136. package/src/models/QueryAsyncTaskResultResponseBody.ts +5 -5
  137. package/src/models/SizeChartDetectResponseBody.ts +1 -0
  138. package/src/models/SizeChartExtractRequest.ts +2 -2
  139. package/src/models/SizeChartExtractResponseBody.ts +1 -1
  140. package/src/models/SizeChartExtractShrinkRequest.ts +2 -2
  141. package/src/models/TextCorrectRequest.ts +2 -2
  142. package/src/models/TextCorrectResponseBody.ts +6 -6
  143. package/src/models/TextTranslateRequest.ts +15 -6
  144. package/src/models/TextTranslateResponseBody.ts +4 -4
  145. package/src/models/TextTranslateShrinkRequest.ts +15 -6
  146. package/src/models/VideoGenerationRequest.ts +45 -8
  147. package/src/models/VideoGenerationResponseBody.ts +5 -5
  148. package/src/models/VideoTranslationResponseBody.ts +3 -3
  149. package/src/models/VisionFlowRequest.ts +16 -16
  150. package/src/models/VisionFlowResponseBody.ts +4 -4
  151. package/src/models/VisionFlowShrinkRequest.ts +16 -16
  152. package/src/models/model.ts +8 -0
@@ -48,7 +48,7 @@ export class LanguageDetectResponseBodyData extends $dara.Model {
48
48
  export class LanguageDetectResponseBody extends $dara.Model {
49
49
  /**
50
50
  * @remarks
51
- * The response code. A value of 200 indicates success. For other response codes, refer to the error code documentation.
51
+ * The response code. A value of 200 indicates a successful call. For other response codes, refer to the error code information.
52
52
  *
53
53
  * @example
54
54
  * 200
@@ -56,12 +56,12 @@ export class LanguageDetectResponseBody extends $dara.Model {
56
56
  code?: string;
57
57
  /**
58
58
  * @remarks
59
- * The language detection result data, including the detected language and usage information.
59
+ * The language identification result data, including the detected language and usage information.
60
60
  */
61
61
  data?: LanguageDetectResponseBodyData;
62
62
  /**
63
63
  * @remarks
64
- * The error message. Returns "Success" for successful calls. Returns a specific error message for failed calls, such as "The parameters contain sensitive information. Try other input.".
64
+ * The error message. "Success" is returned for a successful call. A specific error message is returned for an exception, such as "The parameters contain sensitive information. Try other input."
65
65
  *
66
66
  * @example
67
67
  * Success
@@ -69,7 +69,7 @@ export class LanguageDetectResponseBody extends $dara.Model {
69
69
  message?: string;
70
70
  /**
71
71
  * @remarks
72
- * The request ID, which uniquely identifies the request.
72
+ * The request ID, used to uniquely identify a request.
73
73
  *
74
74
  * @example
75
75
  * 42542C6C-F2A4-1B2B-8EFF-130C8FD06F54
@@ -77,9 +77,7 @@ export class LanguageDetectResponseBody extends $dara.Model {
77
77
  requestId?: string;
78
78
  /**
79
79
  * @remarks
80
- * Indicates whether the call was successful. Valid values:
81
- * - true: Successful.
82
- * - false: Failed.
80
+ * Indicates whether the call is successful. A value of true indicates success. A value of false indicates failure.
83
81
  *
84
82
  * @example
85
83
  * true
@@ -13,7 +13,7 @@ export class MaterialInspectionRequest extends $dara.Model {
13
13
  apiId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The URL of the reference image. When this parameter is not empty, multi-image comparison mode is used.
16
+ * The URL of the reference image. Optional. When this parameter is not empty, the system performs multi-image differential comparison.
17
17
  *
18
18
  * @example
19
19
  * https://example.com/reference.jpg
@@ -21,7 +21,7 @@ export class MaterialInspectionRequest extends $dara.Model {
21
21
  imageRefer?: string;
22
22
  /**
23
23
  * @remarks
24
- * The URL of the target image to inspect.
24
+ * The URL of the target image to be inspected.
25
25
  *
26
26
  * This parameter is required.
27
27
  *
@@ -31,7 +31,7 @@ export class MaterialInspectionRequest extends $dara.Model {
31
31
  imageUrl?: string;
32
32
  /**
33
33
  * @remarks
34
- * The business request identity. This value is returned as-is in the response for Tracing Analysis purposes.
34
+ * The business request identity. Optional. This value is returned as-is in the response for Tracing Analysis purposes.
35
35
  *
36
36
  * @example
37
37
  * req-2026-06-04-001
@@ -39,10 +39,10 @@ export class MaterialInspectionRequest extends $dara.Model {
39
39
  reqId?: string;
40
40
  /**
41
41
  * @remarks
42
- * The rule prompt in natural language that defines the inspection criteria.
42
+ * The rule prompt in natural language that describes the inspection criteria.
43
43
  *
44
44
  * @example
45
- * 门型展架必须摆放在入口区域;功能台卡必须摆放在中柜台面
45
+ * The door-shaped display stand must be placed in the entrance area; the functional display card must be placed on the counter surface
46
46
  */
47
47
  rules?: string;
48
48
  static names(): { [key: string]: string } {
@@ -5,7 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class MaterialInspectionResponseBodyDataResultSteps extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The step result. Valid values: PASS, FAIL, and UNABLE_TO_JUDGE.
8
+ * The determination result of the step. Valid values:
9
+ * - PASS: The step is compliant.
10
+ * - FAIL: The step is non-compliant.
11
+ * - UNABLE_TO_JUDGE: The system cannot determine the result.
9
12
  *
10
13
  * @example
11
14
  * PASS
@@ -45,7 +48,7 @@ export class MaterialInspectionResponseBodyDataResultSteps extends $dara.Model {
45
48
  export class MaterialInspectionResponseBodyDataResult extends $dara.Model {
46
49
  /**
47
50
  * @remarks
48
- * The natural language summary, such as "1 rule: 1 PASS, all inspection items are compliant."
51
+ * The natural language summary of the inspection result, such as "1 rule: 1 PASS, all inspection items are compliant."
49
52
  *
50
53
  * @example
51
54
  * 1项规则:1 PASS,所有检测项合规
@@ -53,7 +56,9 @@ export class MaterialInspectionResponseBodyDataResult extends $dara.Model {
53
56
  evidence?: string;
54
57
  /**
55
58
  * @remarks
56
- * The overall result. Valid values: PASS and FAIL.
59
+ * The overall determination result. Valid values:
60
+ * - PASS: All inspection items are compliant.
61
+ * - FAIL: One or more inspection items are non-compliant.
57
62
  *
58
63
  * @example
59
64
  * PASS
@@ -74,7 +79,7 @@ export class MaterialInspectionResponseBodyDataResult extends $dara.Model {
74
79
  steps?: MaterialInspectionResponseBodyDataResultSteps[];
75
80
  /**
76
81
  * @remarks
77
- * The detection type.
82
+ * The detection type that indicates the identified material category.
78
83
  *
79
84
  * @example
80
85
  * Stamp
@@ -158,7 +163,7 @@ export class MaterialInspectionResponseBodyData extends $dara.Model {
158
163
  export class MaterialInspectionResponseBody extends $dara.Model {
159
164
  /**
160
165
  * @remarks
161
- * The error code. This parameter is not returned for successful calls.
166
+ * The error code. This parameter is not returned if the call is successful.
162
167
  *
163
168
  * @example
164
169
  * 200
@@ -171,7 +176,7 @@ export class MaterialInspectionResponseBody extends $dara.Model {
171
176
  data?: MaterialInspectionResponseBodyData;
172
177
  /**
173
178
  * @remarks
174
- * The error message. This parameter is not returned for successful calls.
179
+ * The error message. This parameter is not returned if the call is successful.
175
180
  *
176
181
  * @example
177
182
  * OK
@@ -187,7 +192,9 @@ export class MaterialInspectionResponseBody extends $dara.Model {
187
192
  requestId?: string;
188
193
  /**
189
194
  * @remarks
190
- * Indicates whether the call was successful. Valid values: true: The call was successful. false: The call failed.
195
+ * Indicates whether the call is successful. Valid values:
196
+ * - true: The call is successful.
197
+ * - false: The call failed.
191
198
  *
192
199
  * @example
193
200
  * True
@@ -13,7 +13,7 @@ export class MerchandisePlacementDetectionRequest extends $dara.Model {
13
13
  apiId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The URL of the shelf or floor-stack image to be recognized (accessible via the public network or OSS).
16
+ * The URL of the shelf or floor-stack image to be recognized (accessible over the public network or from OSS).
17
17
  *
18
18
  * This parameter is required.
19
19
  *
@@ -23,7 +23,7 @@ export class MerchandisePlacementDetectionRequest extends $dara.Model {
23
23
  imageUrl?: string;
24
24
  /**
25
25
  * @remarks
26
- * The customer-specific SKU vector library ID that determines which library to retrieve from. The library must be created in advance through the library creation process.
26
+ * The ID of the customer\\"s dedicated SKU vector library, which determines which library is used for retrieval. The library must be created in advance through the library creation process.
27
27
  *
28
28
  * @example
29
29
  * rag_xxx
@@ -31,10 +31,10 @@ export class MerchandisePlacementDetectionRequest extends $dara.Model {
31
31
  ragId?: string;
32
32
  /**
33
33
  * @remarks
34
- * The business type (reserved for future routing by business line). The current release supports skincare & lotion.
34
+ * The business type (reserved for future routing by business line). The current phase supports skincare & lotion.
35
35
  *
36
36
  * @example
37
- * Lotion.
37
+ * 水乳
38
38
  */
39
39
  type?: string;
40
40
  static names(): { [key: string]: string } {
@@ -24,7 +24,7 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTop1 extends $dara
24
24
  * The name of the recalled product.
25
25
  *
26
26
  * @example
27
- * Bright Milk 500ml.
27
+ * 光明牛奶500ml
28
28
  */
29
29
  skuName?: string;
30
30
  static names(): { [key: string]: string } {
@@ -82,7 +82,7 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTopk extends $dara
82
82
  * The name of the recalled product.
83
83
  *
84
84
  * @example
85
- * Bright Milk 500ml.
85
+ * 光明牛奶500ml
86
86
  */
87
87
  skuName?: string;
88
88
  static names(): { [key: string]: string } {
@@ -115,7 +115,7 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTopk extends $dara
115
115
  export class MerchandisePlacementDetectionResponseBodyDataData extends $dara.Model {
116
116
  /**
117
117
  * @remarks
118
- * The position coordinates of the detection box in the format [x1,y1,x2,y2].
118
+ * The position coordinates of the detection box in the format [x1, y1, x2, y2].
119
119
  */
120
120
  bbox?: number[];
121
121
  /**
@@ -198,7 +198,7 @@ export class MerchandisePlacementDetectionResponseBodyData extends $dara.Model {
198
198
  data?: MerchandisePlacementDetectionResponseBodyDataData[];
199
199
  /**
200
200
  * @remarks
201
- * The usage information. The key is the usage metric name, and the value is the count.
201
+ * The usage information. The key is the usage name and the value is the count.
202
202
  *
203
203
  * @example
204
204
  * {"ProcessingCount":1}
@@ -238,7 +238,7 @@ export class MerchandisePlacementDetectionResponseBodyData extends $dara.Model {
238
238
  export class MerchandisePlacementDetectionResponseBody extends $dara.Model {
239
239
  /**
240
240
  * @remarks
241
- * The error code. This parameter is not returned if the call is successful.
241
+ * The error code. This parameter is not returned for successful calls.
242
242
  *
243
243
  * @example
244
244
  * 200
@@ -251,7 +251,7 @@ export class MerchandisePlacementDetectionResponseBody extends $dara.Model {
251
251
  data?: MerchandisePlacementDetectionResponseBodyData;
252
252
  /**
253
253
  * @remarks
254
- * The error message. This parameter is not returned if the call is successful.
254
+ * The error message. This parameter is not returned for successful calls.
255
255
  *
256
256
  * @example
257
257
  * OK
@@ -267,8 +267,8 @@ export class MerchandisePlacementDetectionResponseBody extends $dara.Model {
267
267
  requestId?: string;
268
268
  /**
269
269
  * @remarks
270
- * Indicates whether the call is successful. Valid values:
271
- * - true: The call is successful.
270
+ * Indicates whether the call was successful. Valid values:
271
+ * - true: The call was successful.
272
272
  * - false: The call failed.
273
273
  *
274
274
  * @example
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class PackageWeightSizeCheckRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The URL of the annotated image, i.e., the image with blue/red rectangular bounding box lines overlaid on the original image by an operator. The URL must be publicly accessible. The image dimensions must not exceed 4000×4000 pixels, the file size must not exceed 10 MB, and the supported formats are PNG, JPEG, and JPG.
8
+ * The URL of the annotated image with manual bounding box markings, which is the original image overlaid with blue or red rectangular bounding box lines. The URL must be publicly accessible. The image must not exceed 4000 × 4000 pixels or 10 MB in size. Supported formats: png, jpeg, and jpg.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class PackageWeightSizeCheckRequest extends $dara.Model {
15
15
  annotatedImageUrl?: string;
16
16
  /**
17
17
  * @remarks
18
- * The URL of the raw image, i.e., the unannotated photo of the parcel on the scanning platform. The URL must be publicly accessible. The image dimensions must not exceed 4000×4000 pixels, the file size must not exceed 10 MB, and the supported formats are PNG, JPEG, and JPG.
18
+ * The URL of the raw image, which is the unannotated photo of the parcel on the scanning platform. The URL must be publicly accessible. The image must not exceed 4000 × 4000 pixels or 10 MB in size. Supported formats: png, jpeg, and jpg.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class PackageWeightSizeCheckResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The asynchronous task ID, used to query the audit result later through QueryAsyncTaskResult.
8
+ * The asynchronous task ID, which is used to query the review result by calling QueryAsyncTaskResult.
9
9
  *
10
10
  * @example
11
11
  * a8323ada-a196-9061-976f-90e38b27323a
@@ -35,7 +35,7 @@ export class PackageWeightSizeCheckResponseBodyData extends $dara.Model {
35
35
  export class PackageWeightSizeCheckResponseBody extends $dara.Model {
36
36
  /**
37
37
  * @remarks
38
- * The response code. 200 indicates a successful call. For other response codes, refer to the error code information.
38
+ * The response code. A value of 200 indicates a successful call. For other response codes, refer to the error code information.
39
39
  *
40
40
  * @example
41
41
  * 200
@@ -43,12 +43,12 @@ export class PackageWeightSizeCheckResponseBody extends $dara.Model {
43
43
  code?: string;
44
44
  /**
45
45
  * @remarks
46
- * The asynchronous submission result data, which contains the asynchronous task ID.
46
+ * The submit status result data, which contains the asynchronous task ID.
47
47
  */
48
48
  data?: PackageWeightSizeCheckResponseBodyData;
49
49
  /**
50
50
  * @remarks
51
- * The error message. "Success" is returned for normal calls, and specific error information is returned for exceptions.
51
+ * The error message. "Success" is returned for a successful call. A specific error message is returned for a failed call.
52
52
  *
53
53
  * @example
54
54
  * Success
@@ -56,7 +56,7 @@ export class PackageWeightSizeCheckResponseBody extends $dara.Model {
56
56
  message?: string;
57
57
  /**
58
58
  * @remarks
59
- * The request ID, used to identify a unique request call.
59
+ * The request ID, which uniquely identifies the API call.
60
60
  *
61
61
  * @example
62
62
  * F93D82E4-D0B6-1043-AC58-282597BC3C10
@@ -64,7 +64,7 @@ export class PackageWeightSizeCheckResponseBody extends $dara.Model {
64
64
  requestId?: string;
65
65
  /**
66
66
  * @remarks
67
- * Whether the call was successful. true indicates success, and 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 QueryAsyncTaskResultResponseBodyData extends $dara.Model {
13
13
  result?: string;
14
14
  /**
15
15
  * @remarks
16
- * The status of the task.
16
+ * The task status.
17
17
  *
18
18
  * @example
19
19
  * COMPLETED
@@ -21,7 +21,7 @@ export class QueryAsyncTaskResultResponseBodyData extends $dara.Model {
21
21
  status?: string;
22
22
  /**
23
23
  * @remarks
24
- * The ID of the downstream task.
24
+ * The downstream task ID.
25
25
  *
26
26
  * @example
27
27
  * task-xxxxx
@@ -73,7 +73,7 @@ export class QueryAsyncTaskResultResponseBody extends $dara.Model {
73
73
  code?: string;
74
74
  /**
75
75
  * @remarks
76
- * The asynchronous node result.
76
+ * The asynchronous task result.
77
77
  */
78
78
  data?: QueryAsyncTaskResultResponseBodyData;
79
79
  /**
@@ -94,8 +94,8 @@ export class QueryAsyncTaskResultResponseBody extends $dara.Model {
94
94
  requestId?: string;
95
95
  /**
96
96
  * @remarks
97
- * Indicates whether the call was successful. Valid values:
98
- * - true: The call was successful.
97
+ * Indicates whether the call is successful. Valid values:
98
+ * - true: The call is successful.
99
99
  * - false: The call failed.
100
100
  *
101
101
  * @example
@@ -78,6 +78,7 @@ export class SizeChartDetectResponseBody extends $dara.Model {
78
78
  /**
79
79
  * @remarks
80
80
  * Indicates whether the call is successful. Valid values:
81
+ *
81
82
  * - true: The call is successful.
82
83
  * - false: The call failed.
83
84
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SizeChartExtractRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The list of column names to extract, such as Size, Bust, and Length.
8
+ * The list of column names (such as Size, Bust, Length).
9
9
  *
10
10
  * @example
11
11
  * ["Size","Bust","Length"]
@@ -23,7 +23,7 @@ export class SizeChartExtractRequest extends $dara.Model {
23
23
  imageUrl?: string;
24
24
  /**
25
25
  * @remarks
26
- * The language model that controls the output language, such as en and cn.
26
+ * The language model for output (such as en, cn). Set this parameter to cn for Chinese or en for English. If not specified, the original language is preserved.
27
27
  *
28
28
  * @example
29
29
  * en
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SizeChartExtractResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The asynchronous task ID, which is used to query the result later.
8
+ * The asynchronous task ID, used to query the result later.
9
9
  *
10
10
  * @example
11
11
  * task-xxxxx
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SizeChartExtractShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The list of column names to extract, such as Size, Bust, and Length.
8
+ * The list of column names (such as Size, Bust, Length).
9
9
  *
10
10
  * @example
11
11
  * ["Size","Bust","Length"]
@@ -23,7 +23,7 @@ export class SizeChartExtractShrinkRequest extends $dara.Model {
23
23
  imageUrl?: string;
24
24
  /**
25
25
  * @remarks
26
- * The language model that controls the output language, such as en and cn.
26
+ * The language model for output (such as en, cn). Set this parameter to cn for Chinese or en for English. If not specified, the original language is preserved.
27
27
  *
28
28
  * @example
29
29
  * en
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class TextCorrectRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Source language code. Required. You can pass "auto" for automatic language detection. Supports 14 languages.
8
+ * The source language code. This parameter is required. You can set this parameter to auto for automatic language detection. 14 languages are supported.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class TextCorrectRequest extends $dara.Model {
15
15
  sourceLanguage?: string;
16
16
  /**
17
17
  * @remarks
18
- * Text to be corrected. Required.
18
+ * The text to correct. This parameter is required.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -13,7 +13,7 @@ export class TextCorrectResponseBodyData extends $dara.Model {
13
13
  correctedText?: string;
14
14
  /**
15
15
  * @remarks
16
- * Usage information, including the number of input characters.
16
+ * The usage information, including the number of input characters.
17
17
  *
18
18
  * @example
19
19
  * {"InputCharacterCount":9}
@@ -48,7 +48,7 @@ export class TextCorrectResponseBodyData extends $dara.Model {
48
48
  export class TextCorrectResponseBody extends $dara.Model {
49
49
  /**
50
50
  * @remarks
51
- * Response code. Returns "success" during normal calls.
51
+ * The response code. The value "success" is returned if the call is successful.
52
52
  *
53
53
  * @example
54
54
  * success
@@ -56,12 +56,12 @@ export class TextCorrectResponseBody extends $dara.Model {
56
56
  code?: string;
57
57
  /**
58
58
  * @remarks
59
- * Intelligent error correction result data.
59
+ * The intelligent correction result data.
60
60
  */
61
61
  data?: TextCorrectResponseBodyData;
62
62
  /**
63
63
  * @remarks
64
- * Error message. Returns "Success" during normal calls. Returns specific error information during exceptions, such as "The parameters contain sensitive information. Please try a different input."
64
+ * The error message. The value "Success" is returned if the call is successful. A specific error message is returned if an exception occurs, such as "The parameters contain sensitive information. Try other input."
65
65
  *
66
66
  * @example
67
67
  * Success
@@ -69,7 +69,7 @@ export class TextCorrectResponseBody extends $dara.Model {
69
69
  message?: string;
70
70
  /**
71
71
  * @remarks
72
- * Request ID, used to identify a unique request call.
72
+ * The request ID, which uniquely identifies the request.
73
73
  *
74
74
  * @example
75
75
  * 32882AD0-50D1-1D90-A221-3987325EC03E
@@ -77,7 +77,7 @@ export class TextCorrectResponseBody extends $dara.Model {
77
77
  requestId?: string;
78
78
  /**
79
79
  * @remarks
80
- * Whether the call was successful. true indicates success, false indicates failure.
80
+ * Indicates whether the call is successful. A value of true indicates success. A value of false indicates failure.
81
81
  *
82
82
  * @example
83
83
  * true
@@ -5,7 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class TextTranslateRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The business scenario identifier. This parameter is optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, game. If not specified or invalid, the general translation strategy is used by default.
8
+ * This field represents your identity and facilitates communication for various issues.
9
+ * ● If you are an internal Alibaba organization, pass a value based on your actual scenario, such as BU name-product or BU name-chat.
10
+ * ● If you are an external Alibaba partner, pass the full name of your company. This company name must be consistent with the company name used when you registered your Alibaba Cloud account.
9
11
  *
10
12
  * @example
11
13
  * MyCompany-Chat
@@ -21,7 +23,7 @@ export class TextTranslateRequest extends $dara.Model {
21
23
  formatType?: string;
22
24
  /**
23
25
  * @remarks
24
- * The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console, and its ID must be provided. If the glossary ID is empty, the translation result is not modified.
26
+ * The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console, and its ID must be provided. If the glossary ID is empty, the translation results are not modified.
25
27
  *
26
28
  * @example
27
29
  * glossary_1
@@ -29,7 +31,7 @@ export class TextTranslateRequest extends $dara.Model {
29
31
  glossary?: string;
30
32
  /**
31
33
  * @remarks
32
- * The source language code. This parameter is optional. If not specified, the language is automatically detected. You can pass auto for language detection.
34
+ * The source language code. If not specified, the language is automatically detected. This parameter is optional. You can pass auto for language detection. For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
33
35
  *
34
36
  * @example
35
37
  * auto
@@ -37,7 +39,7 @@ export class TextTranslateRequest extends $dara.Model {
37
39
  sourceLanguage?: string;
38
40
  /**
39
41
  * @remarks
40
- * The list of texts to translate. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
42
+ * The list of texts to be translated. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
41
43
  *
42
44
  * This parameter is required.
43
45
  *
@@ -47,7 +49,7 @@ export class TextTranslateRequest extends $dara.Model {
47
49
  sourceTextList?: string[];
48
50
  /**
49
51
  * @remarks
50
- * The target language code. This parameter is required. More than 100 language directions are supported. For details, refer to the supported language directions list.
52
+ * The target language code. This parameter is required. For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
51
53
  *
52
54
  * This parameter is required.
53
55
  *
@@ -57,7 +59,14 @@ export class TextTranslateRequest extends $dara.Model {
57
59
  targetLanguage?: string;
58
60
  /**
59
61
  * @remarks
60
- * The format of the translation text. **html** (web page format. This setting processes both the source text and translated text in HTML format) or **text** (text format. This setting processes both the source text and translated result as plain text without format processing).
62
+ * The business scenario identifier. You can pass only one of the following values. When specified, the translation engine invokes the corresponding industry terminology library and style strategy to produce translations that better fit the industry. If this field is not specified or an invalid value is passed, the general translation strategy is used.
63
+ * Valid values:
64
+ * ● e-commerce-title: cross-border e-commerce product title translation
65
+ * ● e-commerce-description: cross-border e-commerce product description translation
66
+ * ● e-commerce-chat: cross-border e-commerce conversation translation
67
+ * ● e-commerce-cpv: cross-border e-commerce product CPV attribute translation
68
+ * ● novel: novel translation
69
+ * ● game: game translation
61
70
  *
62
71
  * @example
63
72
  * e-commerce-title
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class TextTranslateResponseBodyDataTranslations extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The source text character count.
8
+ * The number of characters in the source text.
9
9
  *
10
10
  * @example
11
11
  * 11
@@ -24,7 +24,7 @@ export class TextTranslateResponseBodyDataTranslations extends $dara.Model {
24
24
  * The translated text.
25
25
  *
26
26
  * @example
27
- * Hello World.
27
+ * Hello World
28
28
  */
29
29
  translatedText?: string;
30
30
  static names(): { [key: string]: string } {
@@ -98,7 +98,7 @@ export class TextTranslateResponseBodyData extends $dara.Model {
98
98
  export class TextTranslateResponseBody extends $dara.Model {
99
99
  /**
100
100
  * @remarks
101
- * The response code. Returns "success" for normal calls.
101
+ * The response code. Returns "success" for successful calls.
102
102
  *
103
103
  * @example
104
104
  * success
@@ -111,7 +111,7 @@ export class TextTranslateResponseBody extends $dara.Model {
111
111
  data?: TextTranslateResponseBodyData;
112
112
  /**
113
113
  * @remarks
114
- * The error message. Returns "Success" for normal calls. Returns specific error information for exceptions, such as "The parameters contain sensitive information. Try other input."
114
+ * The error message. Returns "Success" for successful calls. Returns specific error information for exceptions, such as "The parameters contain sensitive information. Try other input."
115
115
  *
116
116
  * @example
117
117
  * Success
@@ -5,7 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class TextTranslateShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The business scenario identifier. This parameter is optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, game. If not specified or invalid, the general translation strategy is used by default.
8
+ * This field represents your identity and facilitates communication for various issues.
9
+ * ● If you are an internal Alibaba organization, pass a value based on your actual scenario, such as BU name-product or BU name-chat.
10
+ * ● If you are an external Alibaba partner, pass the full name of your company. This company name must be consistent with the company name used when you registered your Alibaba Cloud account.
9
11
  *
10
12
  * @example
11
13
  * MyCompany-Chat
@@ -21,7 +23,7 @@ export class TextTranslateShrinkRequest extends $dara.Model {
21
23
  formatType?: string;
22
24
  /**
23
25
  * @remarks
24
- * The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console, and its ID must be provided. If the glossary ID is empty, the translation result is not modified.
26
+ * The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console, and its ID must be provided. If the glossary ID is empty, the translation results are not modified.
25
27
  *
26
28
  * @example
27
29
  * glossary_1
@@ -29,7 +31,7 @@ export class TextTranslateShrinkRequest extends $dara.Model {
29
31
  glossary?: string;
30
32
  /**
31
33
  * @remarks
32
- * The source language code. This parameter is optional. If not specified, the language is automatically detected. You can pass auto for language detection.
34
+ * The source language code. If not specified, the language is automatically detected. This parameter is optional. You can pass auto for language detection. For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
33
35
  *
34
36
  * @example
35
37
  * auto
@@ -37,7 +39,7 @@ export class TextTranslateShrinkRequest extends $dara.Model {
37
39
  sourceLanguage?: string;
38
40
  /**
39
41
  * @remarks
40
- * The list of texts to translate. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
42
+ * The list of texts to be translated. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
41
43
  *
42
44
  * This parameter is required.
43
45
  *
@@ -47,7 +49,7 @@ export class TextTranslateShrinkRequest extends $dara.Model {
47
49
  sourceTextListShrink?: string;
48
50
  /**
49
51
  * @remarks
50
- * The target language code. This parameter is required. More than 100 language directions are supported. For details, refer to the supported language directions list.
52
+ * The target language code. This parameter is required. For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
51
53
  *
52
54
  * This parameter is required.
53
55
  *
@@ -57,7 +59,14 @@ export class TextTranslateShrinkRequest extends $dara.Model {
57
59
  targetLanguage?: string;
58
60
  /**
59
61
  * @remarks
60
- * The format of the translation text. **html** (web page format. This setting processes both the source text and translated text in HTML format) or **text** (text format. This setting processes both the source text and translated result as plain text without format processing).
62
+ * The business scenario identifier. You can pass only one of the following values. When specified, the translation engine invokes the corresponding industry terminology library and style strategy to produce translations that better fit the industry. If this field is not specified or an invalid value is passed, the general translation strategy is used.
63
+ * Valid values:
64
+ * ● e-commerce-title: cross-border e-commerce product title translation
65
+ * ● e-commerce-description: cross-border e-commerce product description translation
66
+ * ● e-commerce-chat: cross-border e-commerce conversation translation
67
+ * ● e-commerce-cpv: cross-border e-commerce product CPV attribute translation
68
+ * ● novel: novel translation
69
+ * ● game: game translation
61
70
  *
62
71
  * @example
63
72
  * e-commerce-title