@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 SubmitProductMatchResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The task acceptance time in ISO 8601 UTC format.
8
+ * The time when the task was accepted, in ISO 8601 UTC format.
9
9
  *
10
10
  * @example
11
11
  * 2026-08-20T09:30:00Z
@@ -13,7 +13,7 @@ export class SubmitProductMatchResponseBodyData extends $dara.Model {
13
13
  submittedAt?: string;
14
14
  /**
15
15
  * @remarks
16
- * The asynchronous task ID used for QueryAsyncTaskResult queries.
16
+ * The ID of the asynchronous task used to query the task result by calling QueryAsyncTaskResult.
17
17
  *
18
18
  * @example
19
19
  * b7ea15cb609f47b7999d2d68dfbf3c90
@@ -45,7 +45,7 @@ export class SubmitProductMatchResponseBodyData extends $dara.Model {
45
45
  export class SubmitProductMatchResponseBody extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
- * The error code. This parameter is not returned if the call is successful.
48
+ * The error code. This parameter is not returned for normal calls.
49
49
  *
50
50
  * @example
51
51
  * 200
@@ -53,12 +53,12 @@ export class SubmitProductMatchResponseBody extends $dara.Model {
53
53
  code?: string;
54
54
  /**
55
55
  * @remarks
56
- * The submit result of the matching product identification asynchronous task.
56
+ * The submission result of the asynchronous task for identical product identification.
57
57
  */
58
58
  data?: SubmitProductMatchResponseBodyData;
59
59
  /**
60
60
  * @remarks
61
- * The error message. This parameter is not returned if the call is successful.
61
+ * The error message. This parameter is not returned for normal calls.
62
62
  *
63
63
  * @example
64
64
  * OK
@@ -75,8 +75,8 @@ export class SubmitProductMatchResponseBody extends $dara.Model {
75
75
  /**
76
76
  * @remarks
77
77
  * Indicates whether the call is successful. Valid values:
78
- * - true: The call is successful.
79
- * - false: The call failed.
78
+ * - true: Successful.
79
+ * - false: Failed.
80
80
  *
81
81
  * @example
82
82
  * True
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class TextTranslateAsyncRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The caller business ID. It can be up to 128 characters in length. This ID is passed through in the translation results. It is used only for asynchronous text translation and is returned as-is in the task results.
8
+ * The caller business ID. The ID can be up to 128 characters in length and is passed through in the translation results. This parameter is used only for asynchronous text translation and is returned as is in the task results.
9
9
  *
10
10
  * @example
11
11
  * order-20260928-001
@@ -13,7 +13,7 @@ export class TextTranslateAsyncRequest extends $dara.Model {
13
13
  bizId?: string;
14
14
  /**
15
15
  * @remarks
16
- * This field represents your identity and facilitates communication for various issues. If you are an internal Alibaba organization, we recommend that you specify this parameter based on the actual scenario, such as BU name-product or BU name-chat. If you are an external partner, we recommend that you specify the full name of your company. The company name must be the same as the one you used when registering your Alibaba Cloud account.
16
+ * This field represents your identity and facilitates communication for various issues. If you are an internal Alibaba organization, we recommend that you specify this field based on the actual scenario, such as BU name-product or BU name-chat. If you are an external Alibaba partner, we recommend that you specify the full name of your company. The company name must be the same as the one you used when registering your Alibaba Cloud account.
17
17
  *
18
18
  * @example
19
19
  * BUxxx-chat
@@ -62,13 +62,13 @@ export class TextTranslateAsyncRequest extends $dara.Model {
62
62
  targetLanguage?: string;
63
63
  /**
64
64
  * @remarks
65
- * The business scenario identifier. You can specify only one of the following values. After you specify a value, the translation engine uses the terminology library and style policy of the corresponding industry to output industry-specific translations. If this field is not specified or an invalid value is specified, the general translation policy is used. Valid values:
66
- * - e-commerce-title: cross-border e-commerce product title translation
67
- * - e-commerce-description: cross-border e-commerce product description translation
68
- * - e-commerce-chat: cross-border e-commerce conversation translation
69
- * - e-commerce-cpv: cross-border e-commerce product CPV attribute translation
70
- * - novel: novel translation
71
- * - game: game translation
65
+ * The business scenario identifier. You can specify only one of the following values. After you specify a value, the translation engine uses the terminology library and style policy of the corresponding industry to output industry-specific translations. If this field is not specified or is invalid, the general translation policy is used. Valid values:
66
+ * - e-commerce-title: Cross-border e-commerce product title translation.
67
+ * - e-commerce-description: Cross-border e-commerce product description translation.
68
+ * - e-commerce-chat: Cross-border e-commerce conversation translation.
69
+ * - e-commerce-cpv: Cross-border e-commerce product CPV attribute translation.
70
+ * - novel: Novel translation.
71
+ * - game: Game translation.
72
72
  *
73
73
  * @example
74
74
  * e-commerce-title
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class TextTranslateAsyncResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the asynchronous task. It is used for result queries and notification association. Do not use the example prefix as a business validation rule.
8
+ * The ID of the asynchronous task, which is used for result queries and notification association. Do not use the example prefix as a business validation rule.
9
9
  *
10
10
  * @example
11
11
  * TID_550e8400-e29b-41d4-a716-446655440000
@@ -35,7 +35,7 @@ export class TextTranslateAsyncResponseBodyData extends $dara.Model {
35
35
  export class TextTranslateAsyncResponseBody extends $dara.Model {
36
36
  /**
37
37
  * @remarks
38
- * The response code for the submission call. A success example is success.
38
+ * The response code of the submission call. Example of a successful call: success.
39
39
  *
40
40
  * @example
41
41
  * success
@@ -43,12 +43,12 @@ export class TextTranslateAsyncResponseBody extends $dara.Model {
43
43
  code?: string;
44
44
  /**
45
45
  * @remarks
46
- * The submission result of the text translation asynchronous node.
46
+ * The commit result of the text translation asynchronous node.
47
47
  */
48
48
  data?: TextTranslateAsyncResponseBodyData;
49
49
  /**
50
50
  * @remarks
51
- * The call description. A success example is Success. If the call fails, read the actual error message.
51
+ * The call description. Example of a successful call: Success. If the call fails, read the actual error message.
52
52
  *
53
53
  * @example
54
54
  * success
@@ -56,7 +56,7 @@ export class TextTranslateAsyncResponseBody extends $dara.Model {
56
56
  message?: string;
57
57
  /**
58
58
  * @remarks
59
- * The ID of the submission request. It is used for troubleshooting.
59
+ * The ID of the submission request, which is used for troubleshooting.
60
60
  *
61
61
  * @example
62
62
  * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
@@ -64,7 +64,7 @@ export class TextTranslateAsyncResponseBody extends $dara.Model {
64
64
  requestId?: string;
65
65
  /**
66
66
  * @remarks
67
- * Indicates whether the submission call is successful. It does not indicate that the translation is complete.
67
+ * Indicates whether the submission call is successful. A successful call does not mean that the translation is complete.
68
68
  *
69
69
  * @example
70
70
  * True
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class TextTranslateAsyncShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The caller business ID. It can be up to 128 characters in length. This ID is passed through in the translation results. It is used only for asynchronous text translation and is returned as-is in the task results.
8
+ * The caller business ID. The ID can be up to 128 characters in length and is passed through in the translation results. This parameter is used only for asynchronous text translation and is returned as is in the task results.
9
9
  *
10
10
  * @example
11
11
  * order-20260928-001
@@ -13,7 +13,7 @@ export class TextTranslateAsyncShrinkRequest extends $dara.Model {
13
13
  bizId?: string;
14
14
  /**
15
15
  * @remarks
16
- * This field represents your identity and facilitates communication for various issues. If you are an internal Alibaba organization, we recommend that you specify this parameter based on the actual scenario, such as BU name-product or BU name-chat. If you are an external partner, we recommend that you specify the full name of your company. The company name must be the same as the one you used when registering your Alibaba Cloud account.
16
+ * This field represents your identity and facilitates communication for various issues. If you are an internal Alibaba organization, we recommend that you specify this field based on the actual scenario, such as BU name-product or BU name-chat. If you are an external Alibaba partner, we recommend that you specify the full name of your company. The company name must be the same as the one you used when registering your Alibaba Cloud account.
17
17
  *
18
18
  * @example
19
19
  * BUxxx-chat
@@ -62,13 +62,13 @@ export class TextTranslateAsyncShrinkRequest extends $dara.Model {
62
62
  targetLanguage?: string;
63
63
  /**
64
64
  * @remarks
65
- * The business scenario identifier. You can specify only one of the following values. After you specify a value, the translation engine uses the terminology library and style policy of the corresponding industry to output industry-specific translations. If this field is not specified or an invalid value is specified, the general translation policy is used. Valid values:
66
- * - e-commerce-title: cross-border e-commerce product title translation
67
- * - e-commerce-description: cross-border e-commerce product description translation
68
- * - e-commerce-chat: cross-border e-commerce conversation translation
69
- * - e-commerce-cpv: cross-border e-commerce product CPV attribute translation
70
- * - novel: novel translation
71
- * - game: game translation
65
+ * The business scenario identifier. You can specify only one of the following values. After you specify a value, the translation engine uses the terminology library and style policy of the corresponding industry to output industry-specific translations. If this field is not specified or is invalid, the general translation policy is used. Valid values:
66
+ * - e-commerce-title: Cross-border e-commerce product title translation.
67
+ * - e-commerce-description: Cross-border e-commerce product description translation.
68
+ * - e-commerce-chat: Cross-border e-commerce conversation translation.
69
+ * - e-commerce-cpv: Cross-border e-commerce product CPV attribute translation.
70
+ * - novel: Novel translation.
71
+ * - game: Game translation.
72
72
  *
73
73
  * @example
74
74
  * e-commerce-title
@@ -165,6 +165,9 @@ export class UpdateDisplayKnowledgeResponseBodyData extends $dara.Model {
165
165
  /**
166
166
  * @remarks
167
167
  * The usage information. This parameter is empty for free API operations.
168
+ *
169
+ * @example
170
+ * {"ProcessedImageCount":1}
168
171
  */
169
172
  usageMap?: { [key: string]: number };
170
173
  static names(): { [key: string]: string } {
@@ -0,0 +1,56 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class VacancyDetectionRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The HTTPS URL of the single image to be detected. Arrays or other image encodings are not supported.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * https://example.com/shelf.jpg
14
+ */
15
+ imageUrl?: string;
16
+ /**
17
+ * @remarks
18
+ * The optional system prompt.
19
+ *
20
+ * @example
21
+ * You are a helpful assistant.
22
+ */
23
+ systemPrompt?: string;
24
+ /**
25
+ * @remarks
26
+ * The optional user prompt. If this parameter is empty, the complete vacancy detection prompt is used. Plain text and JSON containing only text in messages or content are supported.
27
+ *
28
+ * @example
29
+ * Detect vacancies and underfilled areas on the shelf
30
+ */
31
+ userPrompt?: string;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ imageUrl: 'ImageUrl',
35
+ systemPrompt: 'SystemPrompt',
36
+ userPrompt: 'UserPrompt',
37
+ };
38
+ }
39
+
40
+ static types(): { [key: string]: any } {
41
+ return {
42
+ imageUrl: 'string',
43
+ systemPrompt: 'string',
44
+ userPrompt: 'string',
45
+ };
46
+ }
47
+
48
+ validate() {
49
+ super.validate();
50
+ }
51
+
52
+ constructor(map?: { [key: string]: any }) {
53
+ super(map);
54
+ }
55
+ }
56
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { VacancyDetectionResponseBody } from "./VacancyDetectionResponseBody";
4
+
5
+
6
+ export class VacancyDetectionResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: VacancyDetectionResponseBody;
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: VacancyDetectionResponseBody,
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,120 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class VacancyDetectionResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ID of the asynchronous task. You can use this ID to call QueryAsyncTaskResult to query the result later.
9
+ *
10
+ * @example
11
+ * 518c7318185d4db694236f79d672c156
12
+ */
13
+ taskId?: string;
14
+ /**
15
+ * @remarks
16
+ * The usage details. This parameter is left empty during asynchronous commit and is populated by scheduling after the node reaches the desired state.
17
+ *
18
+ * @example
19
+ * {"ProcessingCount":1}
20
+ */
21
+ usageMap?: { [key: string]: number };
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ taskId: 'TaskId',
25
+ usageMap: 'UsageMap',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ taskId: 'string',
32
+ usageMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ if(this.usageMap) {
38
+ $dara.Model.validateMap(this.usageMap);
39
+ }
40
+ super.validate();
41
+ }
42
+
43
+ constructor(map?: { [key: string]: any }) {
44
+ super(map);
45
+ }
46
+ }
47
+
48
+ export class VacancyDetectionResponseBody extends $dara.Model {
49
+ /**
50
+ * @remarks
51
+ * The error code.
52
+ *
53
+ * @example
54
+ * success
55
+ */
56
+ code?: string;
57
+ /**
58
+ * @remarks
59
+ * The submission result of the asynchronous task.
60
+ *
61
+ * @example
62
+ * {\\"TaskId\\": \\"TID_2f567233-78dd-4226-8b69-ac9288a66da0\\"}
63
+ */
64
+ data?: VacancyDetectionResponseBodyData;
65
+ /**
66
+ * @remarks
67
+ * The returned message or failure description.
68
+ *
69
+ * @example
70
+ * Success
71
+ */
72
+ message?: string;
73
+ /**
74
+ * @remarks
75
+ * The unique ID of the request.
76
+ *
77
+ * @example
78
+ * 70CBEFDF-BB17-1EB3-8A21-569F3124738F
79
+ */
80
+ requestId?: string;
81
+ /**
82
+ * @remarks
83
+ * Indicates whether the call is successful.
84
+ *
85
+ * @example
86
+ * True
87
+ */
88
+ success?: boolean;
89
+ static names(): { [key: string]: string } {
90
+ return {
91
+ code: 'Code',
92
+ data: 'Data',
93
+ message: 'Message',
94
+ requestId: 'RequestId',
95
+ success: 'Success',
96
+ };
97
+ }
98
+
99
+ static types(): { [key: string]: any } {
100
+ return {
101
+ code: 'string',
102
+ data: VacancyDetectionResponseBodyData,
103
+ message: 'string',
104
+ requestId: 'string',
105
+ success: 'boolean',
106
+ };
107
+ }
108
+
109
+ validate() {
110
+ if(this.data && typeof (this.data as any).validate === 'function') {
111
+ (this.data as any).validate();
112
+ }
113
+ super.validate();
114
+ }
115
+
116
+ constructor(map?: { [key: string]: any }) {
117
+ super(map);
118
+ }
119
+ }
120
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class VideoGenerationRequestInputAssetBindings extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The asset index, such as 0, 1, 2, or 3, which must be consistent with the number of the image URL.
8
+ * The asset index, such as 0, 1, 2, or 3, which must be consistent with the index of the image URL.
9
9
  *
10
10
  * @example
11
11
  * 0
@@ -14,12 +14,12 @@ export class VideoGenerationRequestInputAssetBindings extends $dara.Model {
14
14
  /**
15
15
  * @remarks
16
16
  * The description of the image. Examples:
17
- * 1. Description for look_reference: Front full-body outfit reference image of the person.
18
- * 2. Description for scene_reference: Specified clothing display scene.
17
+ * 1. Description for look_reference: front full-body outfit reference image of the person.
18
+ * 2. Description for scene_reference: specified clothing display scene.
19
19
  * 3. Description for garment_reference:
20
- * ● Front of the top;
21
- * ● Back of the bottom;
22
- * ● Side of the shoes.
20
+ * - Front view of the top.
21
+ * - Back view of the bottom.
22
+ * - Side view of the shoes.
23
23
  *
24
24
  * @example
25
25
  * -
@@ -27,10 +27,11 @@ export class VideoGenerationRequestInputAssetBindings extends $dara.Model {
27
27
  description?: string;
28
28
  /**
29
29
  * @remarks
30
- * Specifies the asset usage. Valid values:
31
- * - look_reference: Corresponds to the full outfit effect image of the person wearing the clothes (overall visual).
32
- * - scene_reference: Corresponds to the scene reference image (usually the cover main image).
33
- * - garment_reference: Corresponds to all product detail images (including front, back, and side of clothes, shoes, skirts, and other partial close-ups).
30
+ * The asset usage. Select one of the following three values: look_reference, scene_reference, and garment_reference.
31
+ * Description:
32
+ * look_reference: corresponds to the full-body outfit effect image of the person wearing the clothes (overall visual).
33
+ * scene_reference: corresponds to the scene reference image (usually the cover main image).
34
+ * garment_reference: corresponds to all product detail images (including front, back, and side views of clothes, shoes, skirts, and other partial close-ups).
34
35
  *
35
36
  * @example
36
37
  * -
@@ -81,7 +82,7 @@ export class VideoGenerationRequestInput extends $dara.Model {
81
82
  images?: string[];
82
83
  /**
83
84
  * @remarks
84
- * The product title. Only the first 60 characters are used.
85
+ * The product title. Up to the first 60 characters are used.
85
86
  *
86
87
  * This parameter is required.
87
88
  *
@@ -136,13 +137,13 @@ export class VideoGenerationRequestIntent extends $dara.Model {
136
137
  channel?: string;
137
138
  /**
138
139
  * @remarks
139
- * Specifies the business goal. Valid values:
140
+ * The business goal.
140
141
  *
141
- * - camera_motion: Camera movement mode. Generates videos based on a fixed 360-degree camera movement logic.
142
+ * camera_motion: camera movement mode, generated according to a fixed 360° camera movement logic.
142
143
  *
143
- * - scripted_video: Scripted mode. Provides a script or prompt, and the system generates the video according to the script.
144
+ * scripted_video: scripted mode, generated by the system according to the provided script or prompt.
144
145
  *
145
- * - auto_video: Unscripted mode. Does not provide a script, and the system automatically plans the script and generates the video.
146
+ * auto_video: unscripted mode, generated by the system after automatically planning the script without a provided script.
146
147
  *
147
148
  * @example
148
149
  * auto_video
@@ -208,7 +209,7 @@ export class VideoGenerationRequestIntent extends $dara.Model {
208
209
  export class VideoGenerationRequestOutput extends $dara.Model {
209
210
  /**
210
211
  * @remarks
211
- * The video duration varies by Intent.goal: auto_video supports 5 to 15 seconds, scripted_video supports 5 to 30 seconds, and camera_motion generates a fixed 10-second video and returns two 5-second videos.
212
+ * The video duration distinguished by Intent.goal: auto_video supports 5 to 15 seconds, scripted_video supports 5 to 30 seconds, and camera_motion generates a fixed 10 seconds and returns two 5-second videos.
212
213
  *
213
214
  * This parameter is required.
214
215
  *
@@ -228,7 +229,7 @@ export class VideoGenerationRequestOutput extends $dara.Model {
228
229
  quality?: string;
229
230
  /**
230
231
  * @remarks
231
- * The aspect ratio varies by Intent.goal: auto_video and scripted_video only support 9:16, and camera_motion only supports 3:4.
232
+ * The aspect ratio distinguished by Intent.goal: auto_video and scripted_video only support 9:16, and camera_motion only supports 3:4.
232
233
  *
233
234
  * @example
234
235
  * 9:16
@@ -45,7 +45,7 @@ export class VideoGenerationResponseBodyData extends $dara.Model {
45
45
  export class VideoGenerationResponseBody extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
- * The response code. A value of success indicates that the call is successful, and a value of failed indicates that the call fails.
48
+ * The response code. success indicates a successful call, and failed indicates a failed call.
49
49
  *
50
50
  * @example
51
51
  * success
@@ -74,7 +74,7 @@ export class VideoGenerationResponseBody extends $dara.Model {
74
74
  requestId?: string;
75
75
  /**
76
76
  * @remarks
77
- * Indicates whether the call is successful. A value of true indicates success, and a value of false indicates failure.
77
+ * Indicates whether the call is successful. true indicates success, and false indicates failure.
78
78
  *
79
79
  * @example
80
80
  * true
@@ -5,14 +5,14 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class VideoTranslationRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The list of translation features. Valid values: speech and visual. You can select both. At least one feature must be specified. Duplicate values are not allowed.
8
+ * The list of translation capabilities. Valid values: `speech` and `visual`. You can select both. At least one capability must be specified. Duplicate values are not allowed.
9
9
  *
10
10
  * This parameter is required.
11
11
  */
12
12
  capabilities?: string[];
13
13
  /**
14
14
  * @remarks
15
- * Specifies whether to enable the quality check for on-screen text processing. This parameter takes effect only when visual is included and explicitly set to true. If only speech is selected, this parameter is ignored. No quality check is performed, no quality check fields are returned, and no error is reported for this parameter. Enabling the quality check may increase the waiting time. Do not enable it unless necessary. Default value: false.
15
+ * Specifies whether to enable the quality check for on-screen text processing. This parameter takes effect only when `visual` is included and explicitly set to `true`. If only `speech` is selected, this parameter is ignored, no quality check is performed, no quality check fields are returned, and no error is reported for this parameter. Enabling the quality check may increase the processing time. Do not enable it unless necessary. Default value: `false`.
16
16
  *
17
17
  * @example
18
18
  * false
@@ -20,10 +20,7 @@ export class VideoTranslationRequest extends $dara.Model {
20
20
  enableQualityCheck?: boolean;
21
21
  /**
22
22
  * @remarks
23
- * Valid only when visual is included. Specifies whether to only erase the on-screen text without translation. Valid values:
24
- * - true: Erases the on-screen text without translation.
25
- * - false: Translates the on-screen text.
26
- * Default value: false.
23
+ * Specifies whether to only erase on-screen text without translation. This parameter is valid only when `visual` is included. Valid values: `true`: erases the on-screen text without translation. `false`: translates the on-screen text. Default value: `false`.
27
24
  *
28
25
  * @example
29
26
  * false
@@ -31,10 +28,7 @@ export class VideoTranslationRequest extends $dara.Model {
31
28
  eraseOnly?: boolean;
32
29
  /**
33
30
  * @remarks
34
- * Valid only when visual is included. Specifies whether to erase brand logos. Valid values:
35
- * - true: Erases brand logos.
36
- * - false: Retains brand logos.
37
- * Default value: false. This parameter is independent of EraseOnly.
31
+ * Specifies whether to erase brand logos. This parameter is valid only when `visual` is included. Valid values: `true`: erases brand logos. `false`: retains brand logos. Default value: `false`. This parameter is independent of `EraseOnly`.
38
32
  *
39
33
  * @example
40
34
  * false
@@ -42,7 +36,7 @@ export class VideoTranslationRequest extends $dara.Model {
42
36
  removeLogo?: boolean;
43
37
  /**
44
38
  * @remarks
45
- * The original language of the video. For supported languages, see Language support.
39
+ * The original language of the video (source language). For supported languages, see Language support.
46
40
  *
47
41
  * @example
48
42
  * zh
@@ -50,10 +44,7 @@ export class VideoTranslationRequest extends $dara.Model {
50
44
  sourceLanguage?: string;
51
45
  /**
52
46
  * @remarks
53
- * Valid only when speech is included. Valid values:
54
- * - erase: Erases only the original subtitles.
55
- * - replace: Replaces the original subtitles with translated subtitles. This erases the original subtitles and adds subtitles synchronized with the translated speech.
56
- * - If not specified, the original subtitles are not processed. This means the original subtitles are neither erased nor replaced with new subtitles.
47
+ * The subtitle processing mode. This parameter is valid only when `speech` is included. Valid values: `erase`: erases the original subtitles only. `replace`: replaces the original subtitles with translated subtitles, which means erasing the original subtitles and adding subtitles synchronized with the translated speech. If this parameter is not specified, the original subtitles are not processed, which means neither erasing the original subtitles nor adding new subtitles.
57
48
  *
58
49
  * @example
59
50
  * replace
@@ -61,7 +52,7 @@ export class VideoTranslationRequest extends $dara.Model {
61
52
  subtitleMode?: string;
62
53
  /**
63
54
  * @remarks
64
- * Required when speech is included. Optional when only visual is selected and EraseOnly is set to true. If provided in this case, it is ignored. Required in all other cases.
55
+ * The target language. This parameter is required when `speech` is included. If only `visual` is included and `EraseOnly` is set to true, this parameter is optional and ignored if provided. In other cases, this parameter is required.
65
56
  *
66
57
  * @example
67
58
  * en
@@ -69,7 +60,7 @@ export class VideoTranslationRequest extends $dara.Model {
69
60
  targetLanguage?: string;
70
61
  /**
71
62
  * @remarks
72
- * The URL of the video. Supported formats: MP4 and MOV. Maximum size: 200 MB.
63
+ * The video URL. Supported formats: MP4 and MOV. Maximum file size: 200 MB.
73
64
  *
74
65
  * This parameter is required.
75
66
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class VideoTranslationResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the asynchronous task. You can use this ID for subsequent queries.
8
+ * The ID of the asynchronous task, which is used for subsequent queries.
9
9
  *
10
10
  * @example
11
11
  * 0ea3b66e88a543658520c994f08896a0
@@ -43,7 +43,7 @@ export class VideoTranslationResponseBody extends $dara.Model {
43
43
  code?: string;
44
44
  /**
45
45
  * @remarks
46
- * The result of the asynchronous task submission.
46
+ * The submission result of the asynchronous task.
47
47
  */
48
48
  data?: VideoTranslationResponseBodyData;
49
49
  /**
@@ -56,7 +56,7 @@ export class VideoTranslationResponseBody extends $dara.Model {
56
56
  message?: string;
57
57
  /**
58
58
  * @remarks
59
- * The request tracking ID.
59
+ * The request ID.
60
60
  *
61
61
  * @example
62
62
  * req_20260608_jkl012
@@ -64,9 +64,7 @@ export class VideoTranslationResponseBody extends $dara.Model {
64
64
  requestId?: string;
65
65
  /**
66
66
  * @remarks
67
- * Indicates whether the call is successful. Valid values:
68
- * - true: The call is successful.
69
- * - false: The call fails.
67
+ * Indicates whether the call is successful. Valid values: `true`: The call is successful. `false`: The call fails.
70
68
  *
71
69
  * @example
72
70
  * True