@alicloud/aidge20260428 5.12.2 → 5.14.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 (202) hide show
  1. package/dist/client.d.ts +774 -630
  2. package/dist/client.js +863 -630
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddDisplayKnowledgeResponseBody.d.ts +3 -0
  5. package/dist/models/AddDisplayKnowledgeResponseBody.js.map +1 -1
  6. package/dist/models/AiTryOnRequest.d.ts +65 -8
  7. package/dist/models/AiTryOnRequest.js +10 -0
  8. package/dist/models/AiTryOnRequest.js.map +1 -1
  9. package/dist/models/AiTryOnResponseBody.d.ts +8 -8
  10. package/dist/models/CategoryAttributeMatchResponseBody.d.ts +3 -0
  11. package/dist/models/CategoryAttributeMatchResponseBody.js.map +1 -1
  12. package/dist/models/DeleteDisplayKnowledgeResponseBody.d.ts +3 -0
  13. package/dist/models/DeleteDisplayKnowledgeResponseBody.js.map +1 -1
  14. package/dist/models/DocumentTranslateRequest.d.ts +10 -7
  15. package/dist/models/DocumentTranslateRequest.js.map +1 -1
  16. package/dist/models/DocumentTranslateResponseBody.d.ts +3 -3
  17. package/dist/models/EcomVideoRecreationRequest.d.ts +11 -17
  18. package/dist/models/EcomVideoRecreationRequest.js.map +1 -1
  19. package/dist/models/EcomVideoRecreationResponseBody.d.ts +3 -3
  20. package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +2 -2
  21. package/dist/models/GeneralRephotographyDetectionResponseBody.d.ts +4 -4
  22. package/dist/models/GenerateProductContentRequest.d.ts +11 -13
  23. package/dist/models/GenerateProductContentRequest.js.map +1 -1
  24. package/dist/models/GenerateProductContentResponseBody.d.ts +9 -7
  25. package/dist/models/GenerateProductContentResponseBody.js.map +1 -1
  26. package/dist/models/ImageMattingAsyncRequest.d.ts +1 -1
  27. package/dist/models/ImageMattingAsyncResponseBody.d.ts +2 -2
  28. package/dist/models/ImageRecognitionAsyncRequest.d.ts +14 -11
  29. package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
  30. package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +5 -5
  31. package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +14 -11
  32. package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
  33. package/dist/models/ImageRemovalProAsyncRequest.d.ts +1 -1
  34. package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +5 -7
  35. package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -1
  36. package/dist/models/ImageRemovalProResponseBody.d.ts +3 -0
  37. package/dist/models/ImageRemovalProResponseBody.js.map +1 -1
  38. package/dist/models/ImageRemoveAsyncRequest.d.ts +19 -8
  39. package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
  40. package/dist/models/ImageRemoveAsyncResponseBody.d.ts +8 -6
  41. package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
  42. package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +19 -8
  43. package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
  44. package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +11 -11
  45. package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +4 -4
  46. package/dist/models/ImageTranslationProAsyncRequest.d.ts +5 -5
  47. package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +1 -1
  48. package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +1 -1
  49. package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +3 -3
  50. package/dist/models/ImageTranslationStandardRequest.d.ts +4 -4
  51. package/dist/models/ImageTranslationStandardResponseBody.d.ts +10 -10
  52. package/dist/models/ImageUpscaleRequest.d.ts +1 -1
  53. package/dist/models/ImageUpscaleResponseBody.d.ts +7 -7
  54. package/dist/models/MaterialInspectionRequest.d.ts +4 -4
  55. package/dist/models/MaterialInspectionResponseBody.d.ts +9 -9
  56. package/dist/models/MerchandisePlacementDetectionLiteResponseBody.d.ts +15 -12
  57. package/dist/models/MerchandisePlacementDetectionLiteResponseBody.js.map +1 -1
  58. package/dist/models/MerchandisePlacementDetectionProRequest.d.ts +5 -5
  59. package/dist/models/MerchandisePlacementDetectionProResponseBody.d.ts +6 -6
  60. package/dist/models/MerchandisePlacementDetectionRequest.d.ts +7 -7
  61. package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +19 -19
  62. package/dist/models/MerchandisePriceTagDetectionRequest.d.ts +1 -1
  63. package/dist/models/MerchandisePriceTagDetectionResponseBody.d.ts +11 -11
  64. package/dist/models/MerchandiseSceneDetectionRequest.d.ts +1 -1
  65. package/dist/models/MerchandiseSceneDetectionResponseBody.d.ts +16 -10
  66. package/dist/models/MerchandiseSceneDetectionResponseBody.js.map +1 -1
  67. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.d.ts +7 -7
  68. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.d.ts +12 -9
  69. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.js.map +1 -1
  70. package/dist/models/PrepaidTextTranslateRequest.d.ts +8 -8
  71. package/dist/models/PrepaidTextTranslateResponseBody.d.ts +11 -8
  72. package/dist/models/PrepaidTextTranslateResponseBody.js.map +1 -1
  73. package/dist/models/PrepaidTextTranslateShrinkRequest.d.ts +8 -8
  74. package/dist/models/ProductVideoGenerationRequest.d.ts +62 -0
  75. package/dist/models/ProductVideoGenerationRequest.js +71 -0
  76. package/dist/models/ProductVideoGenerationRequest.js.map +1 -0
  77. package/dist/models/ProductVideoGenerationResponse.d.ts +19 -0
  78. package/dist/models/ProductVideoGenerationResponse.js +69 -0
  79. package/dist/models/ProductVideoGenerationResponse.js.map +1 -0
  80. package/dist/models/ProductVideoGenerationResponseBody.d.ts +86 -0
  81. package/dist/models/ProductVideoGenerationResponseBody.js +92 -0
  82. package/dist/models/ProductVideoGenerationResponseBody.js.map +1 -0
  83. package/dist/models/ProductVideoGenerationShrinkRequest.d.ts +62 -0
  84. package/dist/models/ProductVideoGenerationShrinkRequest.js +68 -0
  85. package/dist/models/ProductVideoGenerationShrinkRequest.js.map +1 -0
  86. package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +3 -0
  87. package/dist/models/QueryDisplayKnowledgeResponseBody.js.map +1 -1
  88. package/dist/models/SizeChartExtractAsyncRequest.d.ts +3 -3
  89. package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +7 -5
  90. package/dist/models/SizeChartExtractAsyncResponseBody.js.map +1 -1
  91. package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +3 -3
  92. package/dist/models/StorefrontSceneRecognitionRequest.d.ts +1 -1
  93. package/dist/models/StorefrontSceneRecognitionResponseBody.d.ts +9 -6
  94. package/dist/models/StorefrontSceneRecognitionResponseBody.js.map +1 -1
  95. package/dist/models/SubmitProductMatchRequest.d.ts +8 -8
  96. package/dist/models/SubmitProductMatchResponseBody.d.ts +7 -7
  97. package/dist/models/TextTranslateAsyncRequest.d.ts +9 -9
  98. package/dist/models/TextTranslateAsyncResponseBody.d.ts +6 -6
  99. package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +9 -9
  100. package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +3 -0
  101. package/dist/models/UpdateDisplayKnowledgeResponseBody.js.map +1 -1
  102. package/dist/models/VacancyDetectionRequest.d.ts +39 -0
  103. package/dist/models/VacancyDetectionRequest.js +62 -0
  104. package/dist/models/VacancyDetectionRequest.js.map +1 -0
  105. package/dist/models/VacancyDetectionResponse.d.ts +19 -0
  106. package/dist/models/VacancyDetectionResponse.js +69 -0
  107. package/dist/models/VacancyDetectionResponse.js.map +1 -0
  108. package/dist/models/VacancyDetectionResponseBody.d.ts +83 -0
  109. package/dist/models/VacancyDetectionResponseBody.js +93 -0
  110. package/dist/models/VacancyDetectionResponseBody.js.map +1 -0
  111. package/dist/models/VideoGenerationRequest.d.ts +18 -17
  112. package/dist/models/VideoGenerationRequest.js.map +1 -1
  113. package/dist/models/VideoGenerationResponseBody.d.ts +2 -2
  114. package/dist/models/VideoTranslationRequest.d.ts +8 -17
  115. package/dist/models/VideoTranslationRequest.js.map +1 -1
  116. package/dist/models/VideoTranslationResponseBody.d.ts +4 -6
  117. package/dist/models/VideoTranslationResponseBody.js.map +1 -1
  118. package/dist/models/VideoTranslationShrinkRequest.d.ts +8 -17
  119. package/dist/models/VideoTranslationShrinkRequest.js.map +1 -1
  120. package/dist/models/VirtualTryOnResponseBody.d.ts +7 -6
  121. package/dist/models/VirtualTryOnResponseBody.js.map +1 -1
  122. package/dist/models/model.d.ts +9 -0
  123. package/dist/models/model.js +23 -5
  124. package/dist/models/model.js.map +1 -1
  125. package/package.json +1 -1
  126. package/src/client.ts +882 -630
  127. package/src/models/AddDisplayKnowledgeResponseBody.ts +3 -0
  128. package/src/models/AiTryOnRequest.ts +75 -8
  129. package/src/models/AiTryOnResponseBody.ts +8 -8
  130. package/src/models/CategoryAttributeMatchResponseBody.ts +3 -0
  131. package/src/models/DeleteDisplayKnowledgeResponseBody.ts +3 -0
  132. package/src/models/DocumentTranslateRequest.ts +10 -7
  133. package/src/models/DocumentTranslateResponseBody.ts +3 -3
  134. package/src/models/EcomVideoRecreationRequest.ts +11 -17
  135. package/src/models/EcomVideoRecreationResponseBody.ts +3 -3
  136. package/src/models/EcomVideoRecreationShrinkRequest.ts +2 -2
  137. package/src/models/GeneralRephotographyDetectionResponseBody.ts +4 -4
  138. package/src/models/GenerateProductContentRequest.ts +11 -13
  139. package/src/models/GenerateProductContentResponseBody.ts +9 -7
  140. package/src/models/ImageMattingAsyncRequest.ts +1 -1
  141. package/src/models/ImageMattingAsyncResponseBody.ts +2 -2
  142. package/src/models/ImageRecognitionAsyncRequest.ts +14 -11
  143. package/src/models/ImageRecognitionAsyncResponseBody.ts +5 -5
  144. package/src/models/ImageRecognitionAsyncShrinkRequest.ts +14 -11
  145. package/src/models/ImageRemovalProAsyncRequest.ts +1 -1
  146. package/src/models/ImageRemovalProAsyncResponseBody.ts +5 -7
  147. package/src/models/ImageRemovalProResponseBody.ts +3 -0
  148. package/src/models/ImageRemoveAsyncRequest.ts +19 -8
  149. package/src/models/ImageRemoveAsyncResponseBody.ts +8 -6
  150. package/src/models/ImageRemoveAsyncShrinkRequest.ts +19 -8
  151. package/src/models/ImageTranslationPlusAsyncRequest.ts +11 -11
  152. package/src/models/ImageTranslationPlusAsyncResponseBody.ts +4 -4
  153. package/src/models/ImageTranslationProAsyncRequest.ts +5 -5
  154. package/src/models/ImageTranslationProAsyncResponseBody.ts +1 -1
  155. package/src/models/ImageTranslationStandardAsyncRequest.ts +1 -1
  156. package/src/models/ImageTranslationStandardAsyncResponseBody.ts +3 -3
  157. package/src/models/ImageTranslationStandardRequest.ts +4 -4
  158. package/src/models/ImageTranslationStandardResponseBody.ts +10 -10
  159. package/src/models/ImageUpscaleRequest.ts +1 -1
  160. package/src/models/ImageUpscaleResponseBody.ts +7 -7
  161. package/src/models/MaterialInspectionRequest.ts +4 -4
  162. package/src/models/MaterialInspectionResponseBody.ts +9 -9
  163. package/src/models/MerchandisePlacementDetectionLiteResponseBody.ts +15 -12
  164. package/src/models/MerchandisePlacementDetectionProRequest.ts +5 -5
  165. package/src/models/MerchandisePlacementDetectionProResponseBody.ts +6 -6
  166. package/src/models/MerchandisePlacementDetectionRequest.ts +7 -7
  167. package/src/models/MerchandisePlacementDetectionResponseBody.ts +19 -19
  168. package/src/models/MerchandisePriceTagDetectionRequest.ts +1 -1
  169. package/src/models/MerchandisePriceTagDetectionResponseBody.ts +11 -11
  170. package/src/models/MerchandiseSceneDetectionRequest.ts +1 -1
  171. package/src/models/MerchandiseSceneDetectionResponseBody.ts +16 -10
  172. package/src/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.ts +7 -7
  173. package/src/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.ts +12 -9
  174. package/src/models/PrepaidTextTranslateRequest.ts +8 -8
  175. package/src/models/PrepaidTextTranslateResponseBody.ts +11 -8
  176. package/src/models/PrepaidTextTranslateShrinkRequest.ts +8 -8
  177. package/src/models/ProductVideoGenerationRequest.ts +88 -0
  178. package/src/models/ProductVideoGenerationResponse.ts +40 -0
  179. package/src/models/ProductVideoGenerationResponseBody.ts +124 -0
  180. package/src/models/ProductVideoGenerationShrinkRequest.ts +85 -0
  181. package/src/models/QueryDisplayKnowledgeResponseBody.ts +3 -0
  182. package/src/models/SizeChartExtractAsyncRequest.ts +3 -3
  183. package/src/models/SizeChartExtractAsyncResponseBody.ts +7 -5
  184. package/src/models/SizeChartExtractAsyncShrinkRequest.ts +3 -3
  185. package/src/models/StorefrontSceneRecognitionRequest.ts +1 -1
  186. package/src/models/StorefrontSceneRecognitionResponseBody.ts +9 -6
  187. package/src/models/SubmitProductMatchRequest.ts +8 -8
  188. package/src/models/SubmitProductMatchResponseBody.ts +7 -7
  189. package/src/models/TextTranslateAsyncRequest.ts +9 -9
  190. package/src/models/TextTranslateAsyncResponseBody.ts +6 -6
  191. package/src/models/TextTranslateAsyncShrinkRequest.ts +9 -9
  192. package/src/models/UpdateDisplayKnowledgeResponseBody.ts +3 -0
  193. package/src/models/VacancyDetectionRequest.ts +56 -0
  194. package/src/models/VacancyDetectionResponse.ts +40 -0
  195. package/src/models/VacancyDetectionResponseBody.ts +120 -0
  196. package/src/models/VideoGenerationRequest.ts +18 -17
  197. package/src/models/VideoGenerationResponseBody.ts +2 -2
  198. package/src/models/VideoTranslationRequest.ts +8 -17
  199. package/src/models/VideoTranslationResponseBody.ts +4 -6
  200. package/src/models/VideoTranslationShrinkRequest.ts +8 -17
  201. package/src/models/VirtualTryOnResponseBody.ts +7 -6
  202. package/src/models/model.ts +9 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class MerchandisePlacementDetectionResponseBodyDataDataTop1 extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The similarity score, ranging from 0 to 1.
8
+ * The similarity score. Valid values: 0 to 1.
9
9
  *
10
10
  * @example
11
11
  * 0.53
@@ -13,7 +13,7 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTop1 extends $dara
13
13
  score?: number;
14
14
  /**
15
15
  * @remarks
16
- * The ID of the recalled product.
16
+ * The ID of the retrieved product.
17
17
  *
18
18
  * @example
19
19
  * 123
@@ -21,10 +21,10 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTop1 extends $dara
21
21
  skuId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The name of the recalled product.
24
+ * The name of the retrieved product.
25
25
  *
26
26
  * @example
27
- * 光明牛奶500ml
27
+ * Bright Dairy Milk 500ml
28
28
  */
29
29
  skuName?: string;
30
30
  static names(): { [key: string]: string } {
@@ -55,7 +55,7 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTop1 extends $dara
55
55
  export class MerchandisePlacementDetectionResponseBodyDataDataTopk extends $dara.Model {
56
56
  /**
57
57
  * @remarks
58
- * The recall rank.
58
+ * The retrieval rank.
59
59
  *
60
60
  * @example
61
61
  * 1
@@ -63,7 +63,7 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTopk extends $dara
63
63
  rank?: number;
64
64
  /**
65
65
  * @remarks
66
- * The similarity score, ranging from 0 to 1.
66
+ * The similarity score. Valid values: 0 to 1.
67
67
  *
68
68
  * @example
69
69
  * 0.82
@@ -71,7 +71,7 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTopk extends $dara
71
71
  score?: number;
72
72
  /**
73
73
  * @remarks
74
- * The ID of the recalled product.
74
+ * The ID of the retrieved product.
75
75
  *
76
76
  * @example
77
77
  * 123
@@ -79,10 +79,10 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTopk extends $dara
79
79
  skuId?: string;
80
80
  /**
81
81
  * @remarks
82
- * The name of the recalled product.
82
+ * The name of the retrieved product.
83
83
  *
84
84
  * @example
85
- * 光明牛奶500ml
85
+ * Bright Dairy Milk 500ml
86
86
  */
87
87
  skuName?: string;
88
88
  static names(): { [key: string]: string } {
@@ -115,15 +115,15 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTopk extends $dara
115
115
  export class MerchandisePlacementDetectionResponseBodyDataData extends $dara.Model {
116
116
  /**
117
117
  * @remarks
118
- * The detection box position coordinates in the format [x1,y1,x2,y2].
118
+ * The coordinates of the detection box in the [x1,y1,x2,y2] format.
119
119
  */
120
120
  bbox?: number[];
121
121
  /**
122
122
  * @remarks
123
- * The failure reason for a single detection box. The value is null if the detection is successful.
123
+ * The reason for the failure of the detection box. This parameter is null if the detection is successful.
124
124
  *
125
125
  * @example
126
- * "embedding failed"
126
+ * "Embedding failed"
127
127
  */
128
128
  error?: string;
129
129
  /**
@@ -136,12 +136,12 @@ export class MerchandisePlacementDetectionResponseBodyDataData extends $dara.Mod
136
136
  idx?: number;
137
137
  /**
138
138
  * @remarks
139
- * The top-1 recalled product for the detection box.
139
+ * The top-1 retrieved product for the detection box.
140
140
  */
141
141
  top1?: MerchandisePlacementDetectionResponseBodyDataDataTop1;
142
142
  /**
143
143
  * @remarks
144
- * The list of top-K recalled products for the detection box.
144
+ * The list of top-K retrieved products for the detection box.
145
145
  */
146
146
  topk?: MerchandisePlacementDetectionResponseBodyDataDataTopk[];
147
147
  static names(): { [key: string]: string } {
@@ -198,7 +198,7 @@ export class MerchandisePlacementDetectionResponseBodyData extends $dara.Model {
198
198
  data?: MerchandisePlacementDetectionResponseBodyDataData[];
199
199
  /**
200
200
  * @remarks
201
- * The usage information, where the key is the usage name and the value is the count.
201
+ * The usage information. The key is the usage metric 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 for successful calls.
241
+ * The error code. This parameter is not returned when the call is successful.
242
242
  *
243
243
  * @example
244
244
  * 200
@@ -246,12 +246,12 @@ export class MerchandisePlacementDetectionResponseBody extends $dara.Model {
246
246
  code?: string;
247
247
  /**
248
248
  * @remarks
249
- * The display detection result.
249
+ * The display detection results.
250
250
  */
251
251
  data?: MerchandisePlacementDetectionResponseBodyData;
252
252
  /**
253
253
  * @remarks
254
- * The error message. This parameter is not returned for successful calls.
254
+ * The error message. This parameter is not returned when the call is successful.
255
255
  *
256
256
  * @example
257
257
  * OK
@@ -269,7 +269,7 @@ export class MerchandisePlacementDetectionResponseBody extends $dara.Model {
269
269
  * @remarks
270
270
  * Indicates whether the call is successful. Valid values:
271
271
  * - true: The call is successful.
272
- * - false: The call failed.
272
+ * - false: The call fails.
273
273
  *
274
274
  * @example
275
275
  * True
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class MerchandisePriceTagDetectionRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The HTTP(S) URL of the image to be detected.
8
+ * The HTTP or HTTPS URL of the image to be detected.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -63,7 +63,7 @@ export class MerchandisePriceTagDetectionResponseBodyDataResultGrounding extends
63
63
  coverage?: string;
64
64
  /**
65
65
  * @remarks
66
- * The region list.
66
+ * The list of regions.
67
67
  */
68
68
  regions?: MerchandisePriceTagDetectionResponseBodyDataResultGroundingRegions[];
69
69
  static names(): { [key: string]: string } {
@@ -168,7 +168,7 @@ export class MerchandisePriceTagDetectionResponseBodyDataResultPriceTags extends
168
168
  originalPrice?: string;
169
169
  /**
170
170
  * @remarks
171
- * The selling price, retained as a string to avoid being parsed as a reserved word or reserved character.
171
+ * The selling price, retained as a string.
172
172
  *
173
173
  * @example
174
174
  * 5.50
@@ -176,7 +176,7 @@ export class MerchandisePriceTagDetectionResponseBodyDataResultPriceTags extends
176
176
  price?: string;
177
177
  /**
178
178
  * @remarks
179
- * The associated product code.
179
+ * The code of the associated product.
180
180
  *
181
181
  * @example
182
182
  * 001
@@ -184,7 +184,7 @@ export class MerchandisePriceTagDetectionResponseBodyDataResultPriceTags extends
184
184
  skuCode?: string;
185
185
  /**
186
186
  * @remarks
187
- * The associated product name.
187
+ * The name of the associated product.
188
188
  *
189
189
  * @example
190
190
  * sku_test
@@ -225,17 +225,17 @@ export class MerchandisePriceTagDetectionResponseBodyDataResultPriceTags extends
225
225
  export class MerchandisePriceTagDetectionResponseBodyDataResult extends $dara.Model {
226
226
  /**
227
227
  * @remarks
228
- * The localization information.
228
+ * The grounding information.
229
229
  */
230
230
  grounding?: MerchandisePriceTagDetectionResponseBodyDataResultGrounding;
231
231
  /**
232
232
  * @remarks
233
- * The price tag list. This can be an empty array if no price tags are recognized under normal conditions.
233
+ * The list of price tags. This can be an empty array if no price tags are recognized.
234
234
  */
235
235
  priceTags?: MerchandisePriceTagDetectionResponseBodyDataResultPriceTags[];
236
236
  /**
237
237
  * @remarks
238
- * The value is fixed to priceTag.
238
+ * Fixed to priceTag.
239
239
  *
240
240
  * @example
241
241
  * priceTag
@@ -275,7 +275,7 @@ export class MerchandisePriceTagDetectionResponseBodyDataResult extends $dara.Mo
275
275
  export class MerchandisePriceTagDetectionResponseBodyData extends $dara.Model {
276
276
  /**
277
277
  * @remarks
278
- * The detection and recognition result details.
278
+ * The details of the detection and recognition result.
279
279
  */
280
280
  result?: MerchandisePriceTagDetectionResponseBodyDataResult;
281
281
  /**
@@ -326,12 +326,12 @@ export class MerchandisePriceTagDetectionResponseBody extends $dara.Model {
326
326
  code?: string;
327
327
  /**
328
328
  * @remarks
329
- * The scenario recognition result.
329
+ * The recognition result.
330
330
  */
331
331
  data?: MerchandisePriceTagDetectionResponseBodyData;
332
332
  /**
333
333
  * @remarks
334
- * The return message or failure description.
334
+ * The returned message or failure description.
335
335
  *
336
336
  * @example
337
337
  * Success
@@ -347,7 +347,7 @@ export class MerchandisePriceTagDetectionResponseBody extends $dara.Model {
347
347
  requestId?: string;
348
348
  /**
349
349
  * @remarks
350
- * Indicates whether the call is successful.
350
+ * Indicates whether the call was successful.
351
351
  *
352
352
  * @example
353
353
  * True
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class MerchandiseSceneDetectionRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The HTTP(S) URL of the display image to be detected.
8
+ * The HTTP or HTTPS URL of the display image to be detected.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -6,6 +6,9 @@ export class MerchandiseSceneDetectionResponseBodyDataResultGroundingRegions ext
6
6
  /**
7
7
  * @remarks
8
8
  * The 2D bounding box in the format of [top-left x, top-left y, bottom-right x, bottom-right y]. Valid values: 0 to 1000. The left coordinate must be less than the right coordinate, and the top coordinate must be less than the bottom coordinate.
9
+ *
10
+ * @example
11
+ * [0,130,1000,850]
9
12
  */
10
13
  bbox2d?: number[];
11
14
  /**
@@ -21,7 +24,7 @@ export class MerchandiseSceneDetectionResponseBodyDataResultGroundingRegions ext
21
24
  * The recognized text.
22
25
  *
23
26
  * @example
24
- * Multi-tier product display shelf
27
+ * Multi-layer product display shelf
25
28
  */
26
29
  text?: string;
27
30
  static names(): { [key: string]: string } {
@@ -95,7 +98,7 @@ export class MerchandiseSceneDetectionResponseBodyDataResultGrounding extends $d
95
98
  export class MerchandiseSceneDetectionResponseBodyDataResultScenesSceneLocation extends $dara.Model {
96
99
  /**
97
100
  * @remarks
98
- * The x-coordinate of the region point.
101
+ * The x-coordinate of the area point.
99
102
  *
100
103
  * @example
101
104
  * 0.431
@@ -103,7 +106,7 @@ export class MerchandiseSceneDetectionResponseBodyDataResultScenesSceneLocation
103
106
  x?: number;
104
107
  /**
105
108
  * @remarks
106
- * The y-coordinate of the region point.
109
+ * The y-coordinate of the area point.
107
110
  *
108
111
  * @example
109
112
  * 0.973
@@ -143,7 +146,7 @@ export class MerchandiseSceneDetectionResponseBodyDataResultScenes extends $dara
143
146
  areaRate?: number;
144
147
  /**
145
148
  * @remarks
146
- * Optional. The purity metric for proprietary products. The specific business criteria are subject to the recognition service.
149
+ * Optional. The purity metric for proprietary products. The specific business definition is subject to the recognition service.
147
150
  *
148
151
  * @example
149
152
  * 0
@@ -151,7 +154,7 @@ export class MerchandiseSceneDetectionResponseBodyDataResultScenes extends $dara
151
154
  ownPurity?: number;
152
155
  /**
153
156
  * @remarks
154
- * Optional. The display plumpness metric.
157
+ * Optional. The display fullness metric.
155
158
  *
156
159
  * @example
157
160
  * 0
@@ -162,17 +165,20 @@ export class MerchandiseSceneDetectionResponseBodyDataResultScenes extends $dara
162
165
  * The display name of the scene. If omitted, the value is an empty string.
163
166
  *
164
167
  * @example
165
- * Air-cooled display cabinet
168
+ * Refrigerated display cabinet
166
169
  */
167
170
  sceneActualName?: string;
168
171
  /**
169
172
  * @remarks
170
173
  * The center point of the scene, which retains the original normalized coordinates. If omitted, the value is an empty array.
174
+ *
175
+ * @example
176
+ * [0.501,0.493]
171
177
  */
172
178
  sceneCenter?: number[];
173
179
  /**
174
180
  * @remarks
175
- * The list of region points. Each item is in the {x,y} format and retains the original normalized coordinates. If omitted, the value is an empty array.
181
+ * The list of area points. Each item is in the format of {x,y} and retains the original normalized coordinates. If omitted, the value is an empty array.
176
182
  */
177
183
  sceneLocation?: MerchandiseSceneDetectionResponseBodyDataResultScenesSceneLocation[];
178
184
  /**
@@ -185,7 +191,7 @@ export class MerchandiseSceneDetectionResponseBodyDataResultScenes extends $dara
185
191
  sceneName?: string;
186
192
  /**
187
193
  * @remarks
188
- * Optional. The shelf distribution proportion metric. The specific business criteria are subject to the recognition service.
194
+ * Optional. The shelf distribution proportion metric. The specific business definition is subject to the recognition service.
189
195
  *
190
196
  * @example
191
197
  * 0
@@ -245,7 +251,7 @@ export class MerchandiseSceneDetectionResponseBodyDataResult extends $dara.Model
245
251
  scenes?: MerchandiseSceneDetectionResponseBodyDataResultScenes[];
246
252
  /**
247
253
  * @remarks
248
- * Fixed value: scene.
254
+ * The type. Fixed value: scene.
249
255
  *
250
256
  * @example
251
257
  * scene
@@ -341,7 +347,7 @@ export class MerchandiseSceneDetectionResponseBody extends $dara.Model {
341
347
  data?: MerchandiseSceneDetectionResponseBodyData;
342
348
  /**
343
349
  * @remarks
344
- * The response message or failure description.
350
+ * The return message or failure description.
345
351
  *
346
352
  * @example
347
353
  * Success
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResultGroundingRegions extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The bounding box coordinates in the format of `[top-left x, top-left y, bottom-right x, bottom-right y]`. Valid values: 0 to 1000. The left value must be less than the right value, and the top value must be less than the bottom value.
8
+ * The bounding box coordinates in the format of `[top-left x, top-left y, bottom-right x, bottom-right y]`. The value range is 0 to 1000. The left coordinate is less than the right coordinate, and the top coordinate is less than the bottom coordinate.
9
9
  */
10
10
  bbox2d?: number[];
11
11
  /**
12
12
  * @remarks
13
- * The target category. For valid values, see the following table.
13
+ * The target category. For enumerations, see the following table.
14
14
  *
15
15
  * @example
16
16
  * milk_powder
@@ -102,7 +102,7 @@ export class MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResult
102
102
  grounding?: MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResultGrounding;
103
103
  /**
104
104
  * @remarks
105
- * Specifies whether the image is recaptured.
105
+ * Indicates whether the image is recaptured.
106
106
  *
107
107
  * @example
108
108
  * true
@@ -110,7 +110,7 @@ export class MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResult
110
110
  isFake?: boolean;
111
111
  /**
112
112
  * @remarks
113
- * The detection type. The value is fixed to canBottom.
113
+ * The detection type, which is fixed to canBottom.
114
114
  *
115
115
  * @example
116
116
  * canBottom
@@ -152,7 +152,7 @@ export class MilkPowderCanBottomCodeRephotographyDetectionResponseBodyData exten
152
152
  result?: MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResult;
153
153
  /**
154
154
  * @remarks
155
- * The usage information. If the call is successful, the value is `{"ProcessingCount":1}`. If the call fails, an empty object is returned.
155
+ * The usage information. If the call is successful, the value is `{"ProcessingCount":1}`. If the call fails, the value is an empty object.
156
156
  *
157
157
  * @example
158
158
  * {"ProcessingCount":1}
@@ -203,7 +203,7 @@ export class MilkPowderCanBottomCodeRephotographyDetectionResponseBody extends $
203
203
  data?: MilkPowderCanBottomCodeRephotographyDetectionResponseBodyData;
204
204
  /**
205
205
  * @remarks
206
- * The response message or failure description.
206
+ * The return message or failure description.
207
207
  *
208
208
  * @example
209
209
  * Success
@@ -219,7 +219,7 @@ export class MilkPowderCanBottomCodeRephotographyDetectionResponseBody extends $
219
219
  requestId?: string;
220
220
  /**
221
221
  * @remarks
222
- * Specifies whether the call is successful. A valid business conclusion does not mean that the review is passed.
222
+ * Indicates whether the call is successful. A valid business conclusion does not mean the review is passed.
223
223
  *
224
224
  * @example
225
225
  * True
@@ -5,12 +5,15 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGroundingRegions extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The coordinates of the bounding box in the `[top-left x, top-left y, bottom-right x, bottom-right y]` format. The value range is 0 to 1000. The left value must be less than the right value, and the top value must be less than the bottom value.
8
+ * The bounding box coordinates.
9
+ * - `[top-left x, top-left y, bottom-right x, bottom-right y]`
10
+ * - Value range: 0 to 1000.
11
+ * - The left value must be less than the right value, and the top value must be less than the bottom value.
9
12
  */
10
13
  bbox2d?: number[];
11
14
  /**
12
15
  * @remarks
13
- * The category of the target. For enumerated values, see the following table.
16
+ * The target category. For valid values, see the following table.
14
17
  *
15
18
  * @example
16
19
  * milk_powder
@@ -18,7 +21,7 @@ export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGro
18
21
  label?: string;
19
22
  /**
20
23
  * @remarks
21
- * The confirmed short name or text, which contains up to 24 characters. This field is an empty string if the text is unclear.
24
+ * The confirmed short name or text, up to 24 characters. If the text is unclear, an empty string is returned.
22
25
  *
23
26
  * @example
24
27
  * Milk powder
@@ -55,7 +58,7 @@ export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGro
55
58
  export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGrounding extends $dara.Model {
56
59
  /**
57
60
  * @remarks
58
- * The coverage of the grounding. Valid values:
61
+ * The coverage. Valid values:
59
62
  * - `complete`: The relevant visible targets are complete.
60
63
  * - `partial`: Only some targets are valid or recognizable.
61
64
  *
@@ -65,7 +68,7 @@ export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGro
65
68
  coverage?: string;
66
69
  /**
67
70
  * @remarks
68
- * The array of targets, which contains up to 12 items. This array can be empty if no relevant targets are found.
71
+ * The target array, containing up to 12 items. This array can be empty if no relevant targets are found.
69
72
  */
70
73
  regions?: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGroundingRegions[];
71
74
  static names(): { [key: string]: string } {
@@ -97,7 +100,7 @@ export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGro
97
100
  export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResult extends $dara.Model {
98
101
  /**
99
102
  * @remarks
100
- * The supplementary element grounding results.
103
+ * The supplementary element grounding result.
101
104
  */
102
105
  grounding?: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGrounding;
103
106
  /**
@@ -129,7 +132,7 @@ export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResult ex
129
132
  photoStatus?: number;
130
133
  /**
131
134
  * @remarks
132
- * The confidence score for recapture detection.
135
+ * The recapture confidence score.
133
136
  *
134
137
  * @example
135
138
  * 0.89
@@ -137,7 +140,7 @@ export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResult ex
137
140
  score?: number;
138
141
  /**
139
142
  * @remarks
140
- * The detection type. The value is fixed to `boxCode`.
143
+ * Fixed to `boxCode`.
141
144
  *
142
145
  * @example
143
146
  * boxCode
@@ -185,7 +188,7 @@ export class MilkPowderCartonCodeRephotographyDetectionResponseBodyData extends
185
188
  result?: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResult;
186
189
  /**
187
190
  * @remarks
188
- * The usage information. The value is `{"ProcessingCount":1}` if the call is successful, or an empty object if the call fails.
191
+ * The usage information. If the call is successful, the value is `{"ProcessingCount":1}`. If the call fails, the value is an empty object.
189
192
  *
190
193
  * @example
191
194
  * {"ProcessingCount":1}
@@ -5,15 +5,15 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class PrepaidTextTranslateRequest 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 an invalid value is passed, the general translation policy is used by default.
8
+ * The business scenario identifier. This parameter is optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, and game. If this parameter is not specified or is invalid, the general translation policy is used by default.
9
9
  *
10
10
  * @example
11
- * Alibaba-商品
11
+ * Alibaba-Product
12
12
  */
13
13
  bizName?: string;
14
14
  /**
15
15
  * @remarks
16
- * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format that preserves HTML tags).
16
+ * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format, which retains HTML tags).
17
17
  *
18
18
  * @example
19
19
  * text
@@ -21,7 +21,7 @@ export class PrepaidTextTranslateRequest extends $dara.Model {
21
21
  formatType?: string;
22
22
  /**
23
23
  * @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.
24
+ * The ID of the intervention glossary. This parameter is optional. You must create the glossary in the console and provide its ID. If the provided intervention glossary ID is empty, the translation results are not modified.
25
25
  *
26
26
  * @example
27
27
  * custom_glossary
@@ -29,7 +29,7 @@ export class PrepaidTextTranslateRequest extends $dara.Model {
29
29
  glossary?: string;
30
30
  /**
31
31
  * @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.
32
+ * The source language code. This parameter is optional. If you do not specify this parameter, the language is automatically detected. You can set this parameter to auto for language detection.
33
33
  *
34
34
  * @example
35
35
  * auto
@@ -37,7 +37,7 @@ export class PrepaidTextTranslateRequest extends $dara.Model {
37
37
  sourceLanguage?: string;
38
38
  /**
39
39
  * @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.
40
+ * The list of text to be translated. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
41
41
  *
42
42
  * This parameter is required.
43
43
  *
@@ -47,7 +47,7 @@ export class PrepaidTextTranslateRequest extends $dara.Model {
47
47
  sourceTextList?: string[];
48
48
  /**
49
49
  * @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.
50
+ * The target language code. This parameter is required. More than 100 language pairs are supported. For details, see the supported language pairs list.
51
51
  *
52
52
  * This parameter is required.
53
53
  *
@@ -57,7 +57,7 @@ export class PrepaidTextTranslateRequest extends $dara.Model {
57
57
  targetLanguage?: string;
58
58
  /**
59
59
  * @remarks
60
- * The format of the translation text. Valid values: html (web page format. This setting processes both the source text and translated text in HTML format) and text (text format. This setting processes both the source text and translated text as plain text without any format processing).
60
+ * The format of the translated text. Valid values: html (web page format. Setting this parameter processes the source and translated text in HTML format) and text (text format. Setting this parameter processes the source and translated text as plain text without format processing).
61
61
  *
62
62
  * @example
63
63
  * e-commerce-title
@@ -24,7 +24,7 @@ export class PrepaidTextTranslateResponseBodyDataTranslations extends $dara.Mode
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 } {
@@ -55,12 +55,15 @@ export class PrepaidTextTranslateResponseBodyDataTranslations extends $dara.Mode
55
55
  export class PrepaidTextTranslateResponseBodyData extends $dara.Model {
56
56
  /**
57
57
  * @remarks
58
- * The translation result list. Each element corresponds to a translation result for an entry in the input text list.
58
+ * The list of translation results. Each element corresponds to a translation result for an item in the input text list.
59
59
  */
60
60
  translations?: PrepaidTextTranslateResponseBodyDataTranslations[];
61
61
  /**
62
62
  * @remarks
63
- * The usage information, including the input character count.
63
+ * The usage information, which includes the number of input characters.
64
+ *
65
+ * @example
66
+ * {"InputCharacterCount":5}
64
67
  */
65
68
  usageMap?: { [key: string]: number };
66
69
  static names(): { [key: string]: string } {
@@ -95,7 +98,7 @@ export class PrepaidTextTranslateResponseBodyData extends $dara.Model {
95
98
  export class PrepaidTextTranslateResponseBody extends $dara.Model {
96
99
  /**
97
100
  * @remarks
98
- * The response code. The value "success" is returned for successful calls.
101
+ * The response code. If the call is successful, success is returned.
99
102
  *
100
103
  * @example
101
104
  * success
@@ -103,12 +106,12 @@ export class PrepaidTextTranslateResponseBody extends $dara.Model {
103
106
  code?: string;
104
107
  /**
105
108
  * @remarks
106
- * The translation result data, including the translation list and usage information.
109
+ * The translation result data, which includes the translation list and usage information.
107
110
  */
108
111
  data?: PrepaidTextTranslateResponseBodyData;
109
112
  /**
110
113
  * @remarks
111
- * The error message. The value "Success" is returned for successful calls. For exceptions, a specific error message is returned, such as "The parameters contain sensitive information. Try other input."
114
+ * The error message. If the call is successful, Success is returned. If an exception occurs, a specific error message is returned, such as "The parameter contains sensitive information. Try another input".
112
115
  *
113
116
  * @example
114
117
  * Success
@@ -116,7 +119,7 @@ export class PrepaidTextTranslateResponseBody extends $dara.Model {
116
119
  message?: string;
117
120
  /**
118
121
  * @remarks
119
- * The request ID, used to uniquely identify a request.
122
+ * The ID of the request, which is used to identify a unique API call.
120
123
  *
121
124
  * @example
122
125
  * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
@@ -124,7 +127,7 @@ export class PrepaidTextTranslateResponseBody extends $dara.Model {
124
127
  requestId?: string;
125
128
  /**
126
129
  * @remarks
127
- * Indicates whether the call is successful. A value of true indicates success. A value of false indicates failure.
130
+ * Indicates whether the call is successful. A value of true indicates success, and a value of false indicates failure.
128
131
  *
129
132
  * @example
130
133
  * True