@alicloud/aidge20260428 5.7.1 → 5.9.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 (306) hide show
  1. package/dist/client.d.ts +1593 -286
  2. package/dist/client.js +2362 -401
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DiduiAreaDeductionProRequest.d.ts +33 -0
  5. package/dist/models/DiduiAreaDeductionProRequest.js +60 -0
  6. package/dist/models/DiduiAreaDeductionProRequest.js.map +1 -0
  7. package/dist/models/DiduiAreaDeductionProResponse.d.ts +19 -0
  8. package/dist/models/DiduiAreaDeductionProResponse.js +69 -0
  9. package/dist/models/DiduiAreaDeductionProResponse.js.map +1 -0
  10. package/dist/models/DiduiAreaDeductionProResponseBody.d.ts +70 -0
  11. package/dist/models/DiduiAreaDeductionProResponseBody.js +88 -0
  12. package/dist/models/DiduiAreaDeductionProResponseBody.js.map +1 -0
  13. package/dist/models/DocumentTranslateRequest.d.ts +4 -4
  14. package/dist/models/DocumentTranslateResponseBody.d.ts +3 -3
  15. package/dist/models/EcomVideoRecreationRequest.d.ts +24 -16
  16. package/dist/models/EcomVideoRecreationRequest.js +2 -0
  17. package/dist/models/EcomVideoRecreationRequest.js.map +1 -1
  18. package/dist/models/EcomVideoRecreationResponseBody.d.ts +5 -5
  19. package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +2 -2
  20. package/dist/models/GeneralRephotographyDetectionRequest.d.ts +23 -0
  21. package/dist/models/GeneralRephotographyDetectionRequest.js +58 -0
  22. package/dist/models/GeneralRephotographyDetectionRequest.js.map +1 -0
  23. package/dist/models/GeneralRephotographyDetectionResponse.d.ts +19 -0
  24. package/dist/models/GeneralRephotographyDetectionResponse.js +69 -0
  25. package/dist/models/GeneralRephotographyDetectionResponse.js.map +1 -0
  26. package/dist/models/GeneralRephotographyDetectionResponseBody.d.ts +170 -0
  27. package/dist/models/GeneralRephotographyDetectionResponseBody.js +172 -0
  28. package/dist/models/GeneralRephotographyDetectionResponseBody.js.map +1 -0
  29. package/dist/models/ImageMattingAsyncRequest.d.ts +59 -0
  30. package/dist/models/ImageMattingAsyncRequest.js +66 -0
  31. package/dist/models/ImageMattingAsyncRequest.js.map +1 -0
  32. package/dist/models/ImageMattingAsyncResponse.d.ts +19 -0
  33. package/dist/models/ImageMattingAsyncResponse.js +69 -0
  34. package/dist/models/ImageMattingAsyncResponse.js.map +1 -0
  35. package/dist/models/ImageMattingAsyncResponseBody.d.ts +72 -0
  36. package/dist/models/ImageMattingAsyncResponseBody.js +88 -0
  37. package/dist/models/ImageMattingAsyncResponseBody.js.map +1 -0
  38. package/dist/models/ImageRecognitionAsyncRequest.d.ts +101 -0
  39. package/dist/models/ImageRecognitionAsyncRequest.js +78 -0
  40. package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -0
  41. package/dist/models/ImageRecognitionAsyncResponse.d.ts +19 -0
  42. package/dist/models/ImageRecognitionAsyncResponse.js +69 -0
  43. package/dist/models/ImageRecognitionAsyncResponse.js.map +1 -0
  44. package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +72 -0
  45. package/dist/models/ImageRecognitionAsyncResponseBody.js +88 -0
  46. package/dist/models/ImageRecognitionAsyncResponseBody.js.map +1 -0
  47. package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +101 -0
  48. package/dist/models/ImageRecognitionAsyncShrinkRequest.js +72 -0
  49. package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -0
  50. package/dist/models/ImageRemovalProAsyncRequest.d.ts +23 -0
  51. package/dist/models/ImageRemovalProAsyncRequest.js +58 -0
  52. package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -0
  53. package/dist/models/ImageRemovalProAsyncResponse.d.ts +19 -0
  54. package/dist/models/ImageRemovalProAsyncResponse.js +69 -0
  55. package/dist/models/ImageRemovalProAsyncResponse.js.map +1 -0
  56. package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +70 -0
  57. package/dist/models/ImageRemovalProAsyncResponseBody.js +88 -0
  58. package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -0
  59. package/dist/models/ImageRemoveAsyncRequest.d.ts +59 -0
  60. package/dist/models/ImageRemoveAsyncRequest.js +82 -0
  61. package/dist/models/ImageRemoveAsyncRequest.js.map +1 -0
  62. package/dist/models/ImageRemoveAsyncResponse.d.ts +19 -0
  63. package/dist/models/ImageRemoveAsyncResponse.js +69 -0
  64. package/dist/models/ImageRemoveAsyncResponse.js.map +1 -0
  65. package/dist/models/ImageRemoveAsyncResponseBody.d.ts +70 -0
  66. package/dist/models/ImageRemoveAsyncResponseBody.js +88 -0
  67. package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -0
  68. package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +59 -0
  69. package/dist/models/ImageRemoveAsyncShrinkRequest.js +70 -0
  70. package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -0
  71. package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +78 -0
  72. package/dist/models/ImageTranslationPlusAsyncRequest.js +70 -0
  73. package/dist/models/ImageTranslationPlusAsyncRequest.js.map +1 -0
  74. package/dist/models/ImageTranslationPlusAsyncResponse.d.ts +19 -0
  75. package/dist/models/ImageTranslationPlusAsyncResponse.js +69 -0
  76. package/dist/models/ImageTranslationPlusAsyncResponse.js.map +1 -0
  77. package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +70 -0
  78. package/dist/models/ImageTranslationPlusAsyncResponseBody.js +88 -0
  79. package/dist/models/ImageTranslationPlusAsyncResponseBody.js.map +1 -0
  80. package/dist/models/ImageTranslationPlusResponseBody.d.ts +1 -1
  81. package/dist/models/ImageTranslationProAsyncRequest.d.ts +78 -0
  82. package/dist/models/ImageTranslationProAsyncRequest.js +70 -0
  83. package/dist/models/ImageTranslationProAsyncRequest.js.map +1 -0
  84. package/dist/models/ImageTranslationProAsyncResponse.d.ts +19 -0
  85. package/dist/models/ImageTranslationProAsyncResponse.js +69 -0
  86. package/dist/models/ImageTranslationProAsyncResponse.js.map +1 -0
  87. package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +70 -0
  88. package/dist/models/ImageTranslationProAsyncResponseBody.js +88 -0
  89. package/dist/models/ImageTranslationProAsyncResponseBody.js.map +1 -0
  90. package/dist/models/ImageTranslationProRequest.d.ts +12 -8
  91. package/dist/models/ImageTranslationProRequest.js.map +1 -1
  92. package/dist/models/ImageTranslationProResponseBody.d.ts +4 -2
  93. package/dist/models/ImageTranslationProResponseBody.js.map +1 -1
  94. package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +75 -0
  95. package/dist/models/ImageTranslationStandardAsyncRequest.js +70 -0
  96. package/dist/models/ImageTranslationStandardAsyncRequest.js.map +1 -0
  97. package/dist/models/ImageTranslationStandardAsyncResponse.d.ts +19 -0
  98. package/dist/models/ImageTranslationStandardAsyncResponse.js +69 -0
  99. package/dist/models/ImageTranslationStandardAsyncResponse.js.map +1 -0
  100. package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +70 -0
  101. package/dist/models/ImageTranslationStandardAsyncResponseBody.js +88 -0
  102. package/dist/models/ImageTranslationStandardAsyncResponseBody.js.map +1 -0
  103. package/dist/models/ImageTranslationStandardRequest.d.ts +13 -9
  104. package/dist/models/ImageTranslationStandardRequest.js.map +1 -1
  105. package/dist/models/MerchandisePlacementDetectionLiteRequest.d.ts +23 -0
  106. package/dist/models/MerchandisePlacementDetectionLiteRequest.js +58 -0
  107. package/dist/models/MerchandisePlacementDetectionLiteRequest.js.map +1 -0
  108. package/dist/models/MerchandisePlacementDetectionLiteResponse.d.ts +19 -0
  109. package/dist/models/MerchandisePlacementDetectionLiteResponse.js +69 -0
  110. package/dist/models/MerchandisePlacementDetectionLiteResponse.js.map +1 -0
  111. package/dist/models/MerchandisePlacementDetectionLiteResponseBody.d.ts +239 -0
  112. package/dist/models/MerchandisePlacementDetectionLiteResponseBody.js +229 -0
  113. package/dist/models/MerchandisePlacementDetectionLiteResponseBody.js.map +1 -0
  114. package/dist/models/MerchandisePlacementDetectionProRequest.d.ts +39 -0
  115. package/dist/models/MerchandisePlacementDetectionProRequest.js +62 -0
  116. package/dist/models/MerchandisePlacementDetectionProRequest.js.map +1 -0
  117. package/dist/models/MerchandisePlacementDetectionProResponse.d.ts +19 -0
  118. package/dist/models/MerchandisePlacementDetectionProResponse.js +69 -0
  119. package/dist/models/MerchandisePlacementDetectionProResponse.js.map +1 -0
  120. package/dist/models/MerchandisePlacementDetectionProResponseBody.d.ts +118 -0
  121. package/dist/models/MerchandisePlacementDetectionProResponseBody.js +124 -0
  122. package/dist/models/MerchandisePlacementDetectionProResponseBody.js.map +1 -0
  123. package/dist/models/MerchandisePlacementDetectionRequest.d.ts +12 -5
  124. package/dist/models/MerchandisePlacementDetectionRequest.js.map +1 -1
  125. package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +7 -7
  126. package/dist/models/MerchandisePriceTagDetectionRequest.d.ts +23 -0
  127. package/dist/models/MerchandisePriceTagDetectionRequest.js +58 -0
  128. package/dist/models/MerchandisePriceTagDetectionRequest.js.map +1 -0
  129. package/dist/models/MerchandisePriceTagDetectionResponse.d.ts +19 -0
  130. package/dist/models/MerchandisePriceTagDetectionResponse.js +69 -0
  131. package/dist/models/MerchandisePriceTagDetectionResponse.js.map +1 -0
  132. package/dist/models/MerchandisePriceTagDetectionResponseBody.d.ts +258 -0
  133. package/dist/models/MerchandisePriceTagDetectionResponseBody.js +230 -0
  134. package/dist/models/MerchandisePriceTagDetectionResponseBody.js.map +1 -0
  135. package/dist/models/MerchandiseSceneDetectionRequest.d.ts +23 -0
  136. package/dist/models/MerchandiseSceneDetectionRequest.js +58 -0
  137. package/dist/models/MerchandiseSceneDetectionRequest.js.map +1 -0
  138. package/dist/models/MerchandiseSceneDetectionResponse.d.ts +19 -0
  139. package/dist/models/MerchandiseSceneDetectionResponse.js +69 -0
  140. package/dist/models/MerchandiseSceneDetectionResponse.js.map +1 -0
  141. package/dist/models/MerchandiseSceneDetectionResponseBody.d.ts +263 -0
  142. package/dist/models/MerchandiseSceneDetectionResponseBody.js +235 -0
  143. package/dist/models/MerchandiseSceneDetectionResponseBody.js.map +1 -0
  144. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.d.ts +23 -0
  145. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.js +58 -0
  146. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.js.map +1 -0
  147. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.d.ts +19 -0
  148. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.js +69 -0
  149. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.js.map +1 -0
  150. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.d.ts +170 -0
  151. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.js +172 -0
  152. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.js.map +1 -0
  153. package/dist/models/MilkPowderCartonCodeRephotographyDetectionRequest.d.ts +23 -0
  154. package/dist/models/MilkPowderCartonCodeRephotographyDetectionRequest.js +58 -0
  155. package/dist/models/MilkPowderCartonCodeRephotographyDetectionRequest.js.map +1 -0
  156. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponse.d.ts +19 -0
  157. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponse.js +69 -0
  158. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponse.js.map +1 -0
  159. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.d.ts +197 -0
  160. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.js +178 -0
  161. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.js.map +1 -0
  162. package/dist/models/PetHealthAnalysisRequest.d.ts +28 -0
  163. package/dist/models/PetHealthAnalysisRequest.js +65 -0
  164. package/dist/models/PetHealthAnalysisRequest.js.map +1 -0
  165. package/dist/models/PetHealthAnalysisResponse.d.ts +19 -0
  166. package/dist/models/PetHealthAnalysisResponse.js +69 -0
  167. package/dist/models/PetHealthAnalysisResponse.js.map +1 -0
  168. package/dist/models/PetHealthAnalysisResponseBody.d.ts +51 -0
  169. package/dist/models/PetHealthAnalysisResponseBody.js +88 -0
  170. package/dist/models/PetHealthAnalysisResponseBody.js.map +1 -0
  171. package/dist/models/PetHealthAnalysisShrinkRequest.d.ts +28 -0
  172. package/dist/models/PetHealthAnalysisShrinkRequest.js +62 -0
  173. package/dist/models/PetHealthAnalysisShrinkRequest.js.map +1 -0
  174. package/dist/models/SizeChartExtractAsyncRequest.d.ts +36 -0
  175. package/dist/models/SizeChartExtractAsyncRequest.js +65 -0
  176. package/dist/models/SizeChartExtractAsyncRequest.js.map +1 -0
  177. package/dist/models/SizeChartExtractAsyncResponse.d.ts +19 -0
  178. package/dist/models/SizeChartExtractAsyncResponse.js +69 -0
  179. package/dist/models/SizeChartExtractAsyncResponse.js.map +1 -0
  180. package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +70 -0
  181. package/dist/models/SizeChartExtractAsyncResponseBody.js +88 -0
  182. package/dist/models/SizeChartExtractAsyncResponseBody.js.map +1 -0
  183. package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +36 -0
  184. package/dist/models/SizeChartExtractAsyncShrinkRequest.js +62 -0
  185. package/dist/models/SizeChartExtractAsyncShrinkRequest.js.map +1 -0
  186. package/dist/models/StorefrontSceneRecognitionRequest.d.ts +23 -0
  187. package/dist/models/StorefrontSceneRecognitionRequest.js +58 -0
  188. package/dist/models/StorefrontSceneRecognitionRequest.js.map +1 -0
  189. package/dist/models/StorefrontSceneRecognitionResponse.d.ts +19 -0
  190. package/dist/models/StorefrontSceneRecognitionResponse.js +69 -0
  191. package/dist/models/StorefrontSceneRecognitionResponse.js.map +1 -0
  192. package/dist/models/StorefrontSceneRecognitionResponseBody.d.ts +190 -0
  193. package/dist/models/StorefrontSceneRecognitionResponseBody.js +199 -0
  194. package/dist/models/StorefrontSceneRecognitionResponseBody.js.map +1 -0
  195. package/dist/models/TextTranslateAsyncRequest.d.ts +56 -0
  196. package/dist/models/TextTranslateAsyncRequest.js +75 -0
  197. package/dist/models/TextTranslateAsyncRequest.js.map +1 -0
  198. package/dist/models/TextTranslateAsyncResponse.d.ts +19 -0
  199. package/dist/models/TextTranslateAsyncResponse.js +69 -0
  200. package/dist/models/TextTranslateAsyncResponse.js.map +1 -0
  201. package/dist/models/TextTranslateAsyncResponseBody.d.ts +51 -0
  202. package/dist/models/TextTranslateAsyncResponseBody.js +88 -0
  203. package/dist/models/TextTranslateAsyncResponseBody.js.map +1 -0
  204. package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +56 -0
  205. package/dist/models/TextTranslateAsyncShrinkRequest.js +72 -0
  206. package/dist/models/TextTranslateAsyncShrinkRequest.js.map +1 -0
  207. package/dist/models/TextTranslateRequest.d.ts +13 -13
  208. package/dist/models/TextTranslateResponseBody.d.ts +1 -1
  209. package/dist/models/TextTranslateShrinkRequest.d.ts +13 -13
  210. package/dist/models/VideoGenerationRequest.d.ts +21 -12
  211. package/dist/models/VideoGenerationRequest.js.map +1 -1
  212. package/dist/models/VideoGenerationResponseBody.d.ts +5 -5
  213. package/dist/models/VideoTranslationRequest.d.ts +36 -6
  214. package/dist/models/VideoTranslationRequest.js +8 -0
  215. package/dist/models/VideoTranslationRequest.js.map +1 -1
  216. package/dist/models/VideoTranslationResponseBody.d.ts +5 -5
  217. package/dist/models/VideoTranslationShrinkRequest.d.ts +36 -6
  218. package/dist/models/VideoTranslationShrinkRequest.js +8 -0
  219. package/dist/models/VideoTranslationShrinkRequest.js.map +1 -1
  220. package/dist/models/model.d.ts +110 -0
  221. package/dist/models/model.js +226 -4
  222. package/dist/models/model.js.map +1 -1
  223. package/package.json +1 -1
  224. package/src/client.ts +2660 -580
  225. package/src/models/DiduiAreaDeductionProRequest.ts +48 -0
  226. package/src/models/DiduiAreaDeductionProResponse.ts +40 -0
  227. package/src/models/DiduiAreaDeductionProResponseBody.ts +104 -0
  228. package/src/models/DocumentTranslateRequest.ts +4 -4
  229. package/src/models/DocumentTranslateResponseBody.ts +3 -3
  230. package/src/models/EcomVideoRecreationRequest.ts +26 -16
  231. package/src/models/EcomVideoRecreationResponseBody.ts +5 -5
  232. package/src/models/EcomVideoRecreationShrinkRequest.ts +2 -2
  233. package/src/models/GeneralRephotographyDetectionRequest.ts +36 -0
  234. package/src/models/GeneralRephotographyDetectionResponse.ts +40 -0
  235. package/src/models/GeneralRephotographyDetectionResponseBody.ts +259 -0
  236. package/src/models/ImageMattingAsyncRequest.ts +80 -0
  237. package/src/models/ImageMattingAsyncResponse.ts +40 -0
  238. package/src/models/ImageMattingAsyncResponseBody.ts +106 -0
  239. package/src/models/ImageRecognitionAsyncRequest.ts +134 -0
  240. package/src/models/ImageRecognitionAsyncResponse.ts +40 -0
  241. package/src/models/ImageRecognitionAsyncResponseBody.ts +106 -0
  242. package/src/models/ImageRecognitionAsyncShrinkRequest.ts +128 -0
  243. package/src/models/ImageRemovalProAsyncRequest.ts +36 -0
  244. package/src/models/ImageRemovalProAsyncResponse.ts +40 -0
  245. package/src/models/ImageRemovalProAsyncResponseBody.ts +104 -0
  246. package/src/models/ImageRemoveAsyncRequest.ts +96 -0
  247. package/src/models/ImageRemoveAsyncResponse.ts +40 -0
  248. package/src/models/ImageRemoveAsyncResponseBody.ts +104 -0
  249. package/src/models/ImageRemoveAsyncShrinkRequest.ts +84 -0
  250. package/src/models/ImageTranslationPlusAsyncRequest.ts +103 -0
  251. package/src/models/ImageTranslationPlusAsyncResponse.ts +40 -0
  252. package/src/models/ImageTranslationPlusAsyncResponseBody.ts +104 -0
  253. package/src/models/ImageTranslationPlusResponseBody.ts +1 -1
  254. package/src/models/ImageTranslationProAsyncRequest.ts +103 -0
  255. package/src/models/ImageTranslationProAsyncResponse.ts +40 -0
  256. package/src/models/ImageTranslationProAsyncResponseBody.ts +104 -0
  257. package/src/models/ImageTranslationProRequest.ts +12 -8
  258. package/src/models/ImageTranslationProResponseBody.ts +4 -2
  259. package/src/models/ImageTranslationStandardAsyncRequest.ts +100 -0
  260. package/src/models/ImageTranslationStandardAsyncResponse.ts +40 -0
  261. package/src/models/ImageTranslationStandardAsyncResponseBody.ts +104 -0
  262. package/src/models/ImageTranslationStandardRequest.ts +13 -9
  263. package/src/models/MerchandisePlacementDetectionLiteRequest.ts +36 -0
  264. package/src/models/MerchandisePlacementDetectionLiteResponse.ts +40 -0
  265. package/src/models/MerchandisePlacementDetectionLiteResponseBody.ts +367 -0
  266. package/src/models/MerchandisePlacementDetectionProRequest.ts +56 -0
  267. package/src/models/MerchandisePlacementDetectionProResponse.ts +40 -0
  268. package/src/models/MerchandisePlacementDetectionProResponseBody.ts +177 -0
  269. package/src/models/MerchandisePlacementDetectionRequest.ts +12 -5
  270. package/src/models/MerchandisePlacementDetectionResponseBody.ts +7 -7
  271. package/src/models/MerchandisePriceTagDetectionRequest.ts +36 -0
  272. package/src/models/MerchandisePriceTagDetectionResponse.ts +40 -0
  273. package/src/models/MerchandisePriceTagDetectionResponseBody.ts +387 -0
  274. package/src/models/MerchandiseSceneDetectionRequest.ts +36 -0
  275. package/src/models/MerchandiseSceneDetectionResponse.ts +40 -0
  276. package/src/models/MerchandiseSceneDetectionResponseBody.ts +397 -0
  277. package/src/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.ts +36 -0
  278. package/src/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.ts +40 -0
  279. package/src/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.ts +259 -0
  280. package/src/models/MilkPowderCartonCodeRephotographyDetectionRequest.ts +36 -0
  281. package/src/models/MilkPowderCartonCodeRephotographyDetectionResponse.ts +40 -0
  282. package/src/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.ts +292 -0
  283. package/src/models/PetHealthAnalysisRequest.ts +48 -0
  284. package/src/models/PetHealthAnalysisResponse.ts +40 -0
  285. package/src/models/PetHealthAnalysisResponseBody.ts +85 -0
  286. package/src/models/PetHealthAnalysisShrinkRequest.ts +45 -0
  287. package/src/models/SizeChartExtractAsyncRequest.ts +56 -0
  288. package/src/models/SizeChartExtractAsyncResponse.ts +40 -0
  289. package/src/models/SizeChartExtractAsyncResponseBody.ts +104 -0
  290. package/src/models/SizeChartExtractAsyncShrinkRequest.ts +53 -0
  291. package/src/models/StorefrontSceneRecognitionRequest.ts +36 -0
  292. package/src/models/StorefrontSceneRecognitionResponse.ts +40 -0
  293. package/src/models/StorefrontSceneRecognitionResponseBody.ts +297 -0
  294. package/src/models/TextTranslateAsyncRequest.ts +86 -0
  295. package/src/models/TextTranslateAsyncResponse.ts +40 -0
  296. package/src/models/TextTranslateAsyncResponseBody.ts +85 -0
  297. package/src/models/TextTranslateAsyncShrinkRequest.ts +83 -0
  298. package/src/models/TextTranslateRequest.ts +13 -13
  299. package/src/models/TextTranslateResponseBody.ts +1 -1
  300. package/src/models/TextTranslateShrinkRequest.ts +13 -13
  301. package/src/models/VideoGenerationRequest.ts +21 -12
  302. package/src/models/VideoGenerationResponseBody.ts +5 -5
  303. package/src/models/VideoTranslationRequest.ts +44 -6
  304. package/src/models/VideoTranslationResponseBody.ts +5 -5
  305. package/src/models/VideoTranslationShrinkRequest.ts +44 -6
  306. package/src/models/model.ts +110 -0
@@ -0,0 +1,297 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class StorefrontSceneRecognitionResponseBodyDataResultDetails extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The non-empty category name.
9
+ *
10
+ * @example
11
+ * oppo vivo smartphone specialty store
12
+ */
13
+ clazz?: string;
14
+ /**
15
+ * @remarks
16
+ * A finite numerical value. The source document does not specify a value range.
17
+ *
18
+ * @example
19
+ * 0.99
20
+ */
21
+ confidence?: number;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ clazz: 'Clazz',
25
+ confidence: 'Confidence',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ clazz: 'string',
32
+ confidence: 'number',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class StorefrontSceneRecognitionResponseBodyDataResultGroundingRegions extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The bounding box coordinates.
49
+ */
50
+ bbox2d?: number[];
51
+ /**
52
+ * @remarks
53
+ * The label.
54
+ *
55
+ * @example
56
+ * store_sign
57
+ */
58
+ label?: string;
59
+ /**
60
+ * @remarks
61
+ * The recognized text.
62
+ *
63
+ * @example
64
+ * oppo
65
+ */
66
+ text?: string;
67
+ static names(): { [key: string]: string } {
68
+ return {
69
+ bbox2d: 'Bbox2d',
70
+ label: 'Label',
71
+ text: 'Text',
72
+ };
73
+ }
74
+
75
+ static types(): { [key: string]: any } {
76
+ return {
77
+ bbox2d: { 'type': 'array', 'itemType': 'number' },
78
+ label: 'string',
79
+ text: 'string',
80
+ };
81
+ }
82
+
83
+ validate() {
84
+ if(Array.isArray(this.bbox2d)) {
85
+ $dara.Model.validateArray(this.bbox2d);
86
+ }
87
+ super.validate();
88
+ }
89
+
90
+ constructor(map?: { [key: string]: any }) {
91
+ super(map);
92
+ }
93
+ }
94
+
95
+ export class StorefrontSceneRecognitionResponseBodyDataResultGrounding extends $dara.Model {
96
+ /**
97
+ * @remarks
98
+ * The coverage.
99
+ *
100
+ * @example
101
+ * partial
102
+ */
103
+ coverage?: string;
104
+ /**
105
+ * @remarks
106
+ * The region list.
107
+ */
108
+ regions?: StorefrontSceneRecognitionResponseBodyDataResultGroundingRegions[];
109
+ static names(): { [key: string]: string } {
110
+ return {
111
+ coverage: 'Coverage',
112
+ regions: 'Regions',
113
+ };
114
+ }
115
+
116
+ static types(): { [key: string]: any } {
117
+ return {
118
+ coverage: 'string',
119
+ regions: { 'type': 'array', 'itemType': StorefrontSceneRecognitionResponseBodyDataResultGroundingRegions },
120
+ };
121
+ }
122
+
123
+ validate() {
124
+ if(Array.isArray(this.regions)) {
125
+ $dara.Model.validateArray(this.regions);
126
+ }
127
+ super.validate();
128
+ }
129
+
130
+ constructor(map?: { [key: string]: any }) {
131
+ super(map);
132
+ }
133
+ }
134
+
135
+ export class StorefrontSceneRecognitionResponseBodyDataResult extends $dara.Model {
136
+ /**
137
+ * @remarks
138
+ * The classification details. This can be an empty array.
139
+ */
140
+ details?: StorefrontSceneRecognitionResponseBodyDataResultDetails[];
141
+ /**
142
+ * @remarks
143
+ * The localization information.
144
+ */
145
+ grounding?: StorefrontSceneRecognitionResponseBodyDataResultGrounding;
146
+ /**
147
+ * @remarks
148
+ * The non-empty scene classification array.
149
+ */
150
+ scenes?: string[];
151
+ static names(): { [key: string]: string } {
152
+ return {
153
+ details: 'Details',
154
+ grounding: 'Grounding',
155
+ scenes: 'Scenes',
156
+ };
157
+ }
158
+
159
+ static types(): { [key: string]: any } {
160
+ return {
161
+ details: { 'type': 'array', 'itemType': StorefrontSceneRecognitionResponseBodyDataResultDetails },
162
+ grounding: StorefrontSceneRecognitionResponseBodyDataResultGrounding,
163
+ scenes: { 'type': 'array', 'itemType': 'string' },
164
+ };
165
+ }
166
+
167
+ validate() {
168
+ if(Array.isArray(this.details)) {
169
+ $dara.Model.validateArray(this.details);
170
+ }
171
+ if(this.grounding && typeof (this.grounding as any).validate === 'function') {
172
+ (this.grounding as any).validate();
173
+ }
174
+ if(Array.isArray(this.scenes)) {
175
+ $dara.Model.validateArray(this.scenes);
176
+ }
177
+ super.validate();
178
+ }
179
+
180
+ constructor(map?: { [key: string]: any }) {
181
+ super(map);
182
+ }
183
+ }
184
+
185
+ export class StorefrontSceneRecognitionResponseBodyData extends $dara.Model {
186
+ /**
187
+ * @remarks
188
+ * The scene recognition result details.
189
+ */
190
+ result?: StorefrontSceneRecognitionResponseBodyDataResult;
191
+ /**
192
+ * @remarks
193
+ * The usage information.
194
+ *
195
+ * @example
196
+ * {"ProcessingCount":1}
197
+ */
198
+ usageMap?: { [key: string]: number };
199
+ static names(): { [key: string]: string } {
200
+ return {
201
+ result: 'Result',
202
+ usageMap: 'UsageMap',
203
+ };
204
+ }
205
+
206
+ static types(): { [key: string]: any } {
207
+ return {
208
+ result: StorefrontSceneRecognitionResponseBodyDataResult,
209
+ usageMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
210
+ };
211
+ }
212
+
213
+ validate() {
214
+ if(this.result && typeof (this.result as any).validate === 'function') {
215
+ (this.result as any).validate();
216
+ }
217
+ if(this.usageMap) {
218
+ $dara.Model.validateMap(this.usageMap);
219
+ }
220
+ super.validate();
221
+ }
222
+
223
+ constructor(map?: { [key: string]: any }) {
224
+ super(map);
225
+ }
226
+ }
227
+
228
+ export class StorefrontSceneRecognitionResponseBody extends $dara.Model {
229
+ /**
230
+ * @remarks
231
+ * The error code.
232
+ *
233
+ * @example
234
+ * success
235
+ */
236
+ code?: string;
237
+ /**
238
+ * @remarks
239
+ * The scene recognition result.
240
+ */
241
+ data?: StorefrontSceneRecognitionResponseBodyData;
242
+ /**
243
+ * @remarks
244
+ * The returned message or failure description.
245
+ *
246
+ * @example
247
+ * Success
248
+ */
249
+ message?: string;
250
+ /**
251
+ * @remarks
252
+ * The request ID.
253
+ *
254
+ * @example
255
+ * 70CBEFDF-BB17-1EB3-8A21-569F3124738F
256
+ */
257
+ requestId?: string;
258
+ /**
259
+ * @remarks
260
+ * Indicates whether the call is successful.
261
+ *
262
+ * @example
263
+ * True
264
+ */
265
+ success?: boolean;
266
+ static names(): { [key: string]: string } {
267
+ return {
268
+ code: 'Code',
269
+ data: 'Data',
270
+ message: 'Message',
271
+ requestId: 'RequestId',
272
+ success: 'Success',
273
+ };
274
+ }
275
+
276
+ static types(): { [key: string]: any } {
277
+ return {
278
+ code: 'string',
279
+ data: StorefrontSceneRecognitionResponseBodyData,
280
+ message: 'string',
281
+ requestId: 'string',
282
+ success: 'boolean',
283
+ };
284
+ }
285
+
286
+ validate() {
287
+ if(this.data && typeof (this.data as any).validate === 'function') {
288
+ (this.data as any).validate();
289
+ }
290
+ super.validate();
291
+ }
292
+
293
+ constructor(map?: { [key: string]: any }) {
294
+ super(map);
295
+ }
296
+ }
297
+
@@ -0,0 +1,86 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class TextTranslateAsyncRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * order-20260928-001
9
+ */
10
+ bizId?: string;
11
+ /**
12
+ * @example
13
+ * BUxxx-chat
14
+ */
15
+ bizName?: string;
16
+ /**
17
+ * @example
18
+ * text
19
+ */
20
+ formatType?: string;
21
+ /**
22
+ * @example
23
+ * " glossary_1"
24
+ */
25
+ glossary?: string;
26
+ /**
27
+ * @example
28
+ * auto
29
+ */
30
+ sourceLanguage?: string;
31
+ /**
32
+ * @remarks
33
+ * This parameter is required.
34
+ */
35
+ sourceTextList?: string[];
36
+ /**
37
+ * @remarks
38
+ * This parameter is required.
39
+ *
40
+ * @example
41
+ * en
42
+ */
43
+ targetLanguage?: string;
44
+ /**
45
+ * @example
46
+ * e-commerce-title
47
+ */
48
+ translateScene?: string;
49
+ static names(): { [key: string]: string } {
50
+ return {
51
+ bizId: 'BizId',
52
+ bizName: 'BizName',
53
+ formatType: 'FormatType',
54
+ glossary: 'Glossary',
55
+ sourceLanguage: 'SourceLanguage',
56
+ sourceTextList: 'SourceTextList',
57
+ targetLanguage: 'TargetLanguage',
58
+ translateScene: 'TranslateScene',
59
+ };
60
+ }
61
+
62
+ static types(): { [key: string]: any } {
63
+ return {
64
+ bizId: 'string',
65
+ bizName: 'string',
66
+ formatType: 'string',
67
+ glossary: 'string',
68
+ sourceLanguage: 'string',
69
+ sourceTextList: { 'type': 'array', 'itemType': 'string' },
70
+ targetLanguage: 'string',
71
+ translateScene: 'string',
72
+ };
73
+ }
74
+
75
+ validate() {
76
+ if(Array.isArray(this.sourceTextList)) {
77
+ $dara.Model.validateArray(this.sourceTextList);
78
+ }
79
+ super.validate();
80
+ }
81
+
82
+ constructor(map?: { [key: string]: any }) {
83
+ super(map);
84
+ }
85
+ }
86
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { TextTranslateAsyncResponseBody } from "./TextTranslateAsyncResponseBody";
4
+
5
+
6
+ export class TextTranslateAsyncResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: TextTranslateAsyncResponseBody;
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: TextTranslateAsyncResponseBody,
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,85 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class TextTranslateAsyncResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * TID_550e8400-e29b-41d4-a716-446655440000
9
+ */
10
+ taskId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ taskId: 'TaskId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ taskId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
32
+ export class TextTranslateAsyncResponseBody extends $dara.Model {
33
+ /**
34
+ * @example
35
+ * success
36
+ */
37
+ code?: string;
38
+ data?: TextTranslateAsyncResponseBodyData;
39
+ /**
40
+ * @example
41
+ * success
42
+ */
43
+ message?: string;
44
+ /**
45
+ * @example
46
+ * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
47
+ */
48
+ requestId?: string;
49
+ /**
50
+ * @example
51
+ * True
52
+ */
53
+ success?: boolean;
54
+ static names(): { [key: string]: string } {
55
+ return {
56
+ code: 'Code',
57
+ data: 'Data',
58
+ message: 'Message',
59
+ requestId: 'RequestId',
60
+ success: 'Success',
61
+ };
62
+ }
63
+
64
+ static types(): { [key: string]: any } {
65
+ return {
66
+ code: 'string',
67
+ data: TextTranslateAsyncResponseBodyData,
68
+ message: 'string',
69
+ requestId: 'string',
70
+ success: 'boolean',
71
+ };
72
+ }
73
+
74
+ validate() {
75
+ if(this.data && typeof (this.data as any).validate === 'function') {
76
+ (this.data as any).validate();
77
+ }
78
+ super.validate();
79
+ }
80
+
81
+ constructor(map?: { [key: string]: any }) {
82
+ super(map);
83
+ }
84
+ }
85
+
@@ -0,0 +1,83 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class TextTranslateAsyncShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * order-20260928-001
9
+ */
10
+ bizId?: string;
11
+ /**
12
+ * @example
13
+ * BUxxx-chat
14
+ */
15
+ bizName?: string;
16
+ /**
17
+ * @example
18
+ * text
19
+ */
20
+ formatType?: string;
21
+ /**
22
+ * @example
23
+ * " glossary_1"
24
+ */
25
+ glossary?: string;
26
+ /**
27
+ * @example
28
+ * auto
29
+ */
30
+ sourceLanguage?: string;
31
+ /**
32
+ * @remarks
33
+ * This parameter is required.
34
+ */
35
+ sourceTextListShrink?: string;
36
+ /**
37
+ * @remarks
38
+ * This parameter is required.
39
+ *
40
+ * @example
41
+ * en
42
+ */
43
+ targetLanguage?: string;
44
+ /**
45
+ * @example
46
+ * e-commerce-title
47
+ */
48
+ translateScene?: string;
49
+ static names(): { [key: string]: string } {
50
+ return {
51
+ bizId: 'BizId',
52
+ bizName: 'BizName',
53
+ formatType: 'FormatType',
54
+ glossary: 'Glossary',
55
+ sourceLanguage: 'SourceLanguage',
56
+ sourceTextListShrink: 'SourceTextList',
57
+ targetLanguage: 'TargetLanguage',
58
+ translateScene: 'TranslateScene',
59
+ };
60
+ }
61
+
62
+ static types(): { [key: string]: any } {
63
+ return {
64
+ bizId: 'string',
65
+ bizName: 'string',
66
+ formatType: 'string',
67
+ glossary: 'string',
68
+ sourceLanguage: 'string',
69
+ sourceTextListShrink: 'string',
70
+ targetLanguage: 'string',
71
+ translateScene: 'string',
72
+ };
73
+ }
74
+
75
+ validate() {
76
+ super.validate();
77
+ }
78
+
79
+ constructor(map?: { [key: string]: any }) {
80
+ super(map);
81
+ }
82
+ }
83
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class TextTranslateRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * This field represents your identity and facilitates communication for various issues. If you are an Alibaba internal organization, specify a value based on your actual scenario, such as BU name-product or BU name-chat. If you are an external Alibaba partner, specify the full name of your company. This company name must be consistent with the company name used when you registered your Alibaba Cloud account.
8
+ * This field represents your identity and facilitates subsequent communication on various issues. If you are an Alibaba internal organization, specify a value based on your actual scenario, such as BU name-product or BU name-chat. If you are an external Alibaba partner, specify 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
9
  *
10
10
  * @example
11
11
  * MyCompany-Chat
@@ -13,7 +13,7 @@ export class TextTranslateRequest extends $dara.Model {
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 preserves HTML tags).
17
17
  *
18
18
  * @example
19
19
  * text
@@ -21,7 +21,7 @@ export class TextTranslateRequest extends $dara.Model {
21
21
  formatType?: string;
22
22
  /**
23
23
  * @remarks
24
- * The intervention glossary ID. This parameter is optional. You must create the glossary separately in the console and provide its ID. If the glossary ID is empty, the translation results are not modified.
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 specified glossary ID is empty, the translation results are not modified.
25
25
  *
26
26
  * @example
27
27
  * glossary_1
@@ -29,7 +29,10 @@ export class TextTranslateRequest extends $dara.Model {
29
29
  glossary?: string;
30
30
  /**
31
31
  * @remarks
32
- * The source language code. If not specified, the language is automatically detected. This parameter is optional. You can set it to auto for language detection. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
32
+ * The source language code. If this parameter is not specified, the language is automatically detected. This parameter is optional. You can pass auto for language detection.
33
+ * <props="china">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html)
34
+ *
35
+ * <props="intl">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping)
33
36
  *
34
37
  * @example
35
38
  * auto
@@ -37,7 +40,7 @@ export class TextTranslateRequest extends $dara.Model {
37
40
  sourceLanguage?: string;
38
41
  /**
39
42
  * @remarks
40
- * 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.
43
+ * 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.
41
44
  *
42
45
  * This parameter is required.
43
46
  *
@@ -47,7 +50,10 @@ export class TextTranslateRequest extends $dara.Model {
47
50
  sourceTextList?: string[];
48
51
  /**
49
52
  * @remarks
50
- * The target language code. This parameter is required. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
53
+ * The target language code. This parameter is required.
54
+ * <props="china">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html)
55
+ *
56
+ * <props="intl">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping)
51
57
  *
52
58
  * This parameter is required.
53
59
  *
@@ -57,13 +63,7 @@ export class TextTranslateRequest extends $dara.Model {
57
63
  targetLanguage?: string;
58
64
  /**
59
65
  * @remarks
60
- * The business scenario identifier. You can pass in 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. Valid values:
61
- * - e-commerce-title: cross-border e-commerce product title translation.
62
- * - e-commerce-description: cross-border e-commerce product description translation.
63
- * - e-commerce-chat: cross-border e-commerce conversation translation.
64
- * - e-commerce-cpv: cross-border e-commerce product CPV attribute translation.
65
- * - novel: novel translation.
66
- * - game: game translation.
66
+ * 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 policy to produce translations that better fit the industry. If this field is not specified or is specified incorrectly, the general translation policy is used. Valid values: e-commerce-title (cross-border e-commerce product title translation), e-commerce-description (cross-border e-commerce product description translation), e-commerce-chat (cross-border e-commerce conversation translation), e-commerce-cpv (cross-border e-commerce product CPV attribute translation), novel (novel translation), game (game translation).
67
67
  *
68
68
  * @example
69
69
  * e-commerce-title
@@ -119,7 +119,7 @@ export class TextTranslateResponseBody extends $dara.Model {
119
119
  message?: string;
120
120
  /**
121
121
  * @remarks
122
- * The request ID, used to uniquely identify a request.
122
+ * The request ID, which uniquely identifies a single API call.
123
123
  *
124
124
  * @example
125
125
  * 922E43BB-EE0E-1A29-B143-BB91BB3EA6AB