@alicloud/aidge20260428 5.9.0 → 5.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/dist/client.d.ts +324 -264
  2. package/dist/client.js +488 -264
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddDisplayKnowledgeRequest.d.ts +68 -0
  5. package/dist/models/AddDisplayKnowledgeRequest.js +88 -0
  6. package/dist/models/AddDisplayKnowledgeRequest.js.map +1 -0
  7. package/dist/models/AddDisplayKnowledgeResponse.d.ts +19 -0
  8. package/dist/models/AddDisplayKnowledgeResponse.js +69 -0
  9. package/dist/models/AddDisplayKnowledgeResponse.js.map +1 -0
  10. package/dist/models/AddDisplayKnowledgeResponseBody.d.ts +210 -0
  11. package/dist/models/AddDisplayKnowledgeResponseBody.js +143 -0
  12. package/dist/models/AddDisplayKnowledgeResponseBody.js.map +1 -0
  13. package/dist/models/AddDisplayKnowledgeShrinkRequest.d.ts +30 -0
  14. package/dist/models/AddDisplayKnowledgeShrinkRequest.js +60 -0
  15. package/dist/models/AddDisplayKnowledgeShrinkRequest.js.map +1 -0
  16. package/dist/models/AiTryOnRequest.d.ts +4 -4
  17. package/dist/models/AiTryOnResponseBody.d.ts +10 -10
  18. package/dist/models/AiTryOnResponseBody.js +0 -2
  19. package/dist/models/AiTryOnResponseBody.js.map +1 -1
  20. package/dist/models/DeleteDisplayKnowledgeRequest.d.ts +30 -0
  21. package/dist/models/DeleteDisplayKnowledgeRequest.js +63 -0
  22. package/dist/models/DeleteDisplayKnowledgeRequest.js.map +1 -0
  23. package/dist/models/DeleteDisplayKnowledgeResponse.d.ts +19 -0
  24. package/dist/models/DeleteDisplayKnowledgeResponse.js +69 -0
  25. package/dist/models/DeleteDisplayKnowledgeResponse.js.map +1 -0
  26. package/dist/models/DeleteDisplayKnowledgeResponseBody.d.ts +214 -0
  27. package/dist/models/DeleteDisplayKnowledgeResponseBody.js +145 -0
  28. package/dist/models/DeleteDisplayKnowledgeResponseBody.js.map +1 -0
  29. package/dist/models/DeleteDisplayKnowledgeShrinkRequest.d.ts +30 -0
  30. package/dist/models/DeleteDisplayKnowledgeShrinkRequest.js +60 -0
  31. package/dist/models/DeleteDisplayKnowledgeShrinkRequest.js.map +1 -0
  32. package/dist/models/ImageMattingAsyncRequest.d.ts +9 -1
  33. package/dist/models/ImageMattingAsyncRequest.js +2 -0
  34. package/dist/models/ImageMattingAsyncRequest.js.map +1 -1
  35. package/dist/models/ImageMattingAsyncResponseBody.d.ts +5 -5
  36. package/dist/models/ImageRecognitionAsyncRequest.d.ts +33 -25
  37. package/dist/models/ImageRecognitionAsyncRequest.js +2 -0
  38. package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
  39. package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +6 -6
  40. package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +33 -25
  41. package/dist/models/ImageRecognitionAsyncShrinkRequest.js +2 -0
  42. package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
  43. package/dist/models/ImageRemovalProAsyncRequest.d.ts +10 -1
  44. package/dist/models/ImageRemovalProAsyncRequest.js +2 -0
  45. package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -1
  46. package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +7 -5
  47. package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -1
  48. package/dist/models/ImageRemoveAsyncRequest.d.ts +25 -6
  49. package/dist/models/ImageRemoveAsyncRequest.js +2 -0
  50. package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
  51. package/dist/models/ImageRemoveAsyncResponseBody.d.ts +6 -4
  52. package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
  53. package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +25 -6
  54. package/dist/models/ImageRemoveAsyncShrinkRequest.js +2 -0
  55. package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
  56. package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +17 -9
  57. package/dist/models/ImageTranslationPlusAsyncRequest.js +2 -0
  58. package/dist/models/ImageTranslationPlusAsyncRequest.js.map +1 -1
  59. package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +5 -5
  60. package/dist/models/ImageTranslationProAsyncRequest.d.ts +15 -7
  61. package/dist/models/ImageTranslationProAsyncRequest.js +2 -0
  62. package/dist/models/ImageTranslationProAsyncRequest.js.map +1 -1
  63. package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +4 -4
  64. package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +10 -2
  65. package/dist/models/ImageTranslationStandardAsyncRequest.js +2 -0
  66. package/dist/models/ImageTranslationStandardAsyncRequest.js.map +1 -1
  67. package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +4 -4
  68. package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +13 -7
  69. package/dist/models/QueryAsyncTaskResultResponseBody.js +2 -0
  70. package/dist/models/QueryAsyncTaskResultResponseBody.js.map +1 -1
  71. package/dist/models/QueryDisplayKnowledgeRequest.d.ts +60 -0
  72. package/dist/models/QueryDisplayKnowledgeRequest.js +71 -0
  73. package/dist/models/QueryDisplayKnowledgeRequest.js.map +1 -0
  74. package/dist/models/QueryDisplayKnowledgeResponse.d.ts +19 -0
  75. package/dist/models/QueryDisplayKnowledgeResponse.js +69 -0
  76. package/dist/models/QueryDisplayKnowledgeResponse.js.map +1 -0
  77. package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +240 -0
  78. package/dist/models/QueryDisplayKnowledgeResponseBody.js +151 -0
  79. package/dist/models/QueryDisplayKnowledgeResponseBody.js.map +1 -0
  80. package/dist/models/QueryDisplayKnowledgeShrinkRequest.d.ts +60 -0
  81. package/dist/models/QueryDisplayKnowledgeShrinkRequest.js +68 -0
  82. package/dist/models/QueryDisplayKnowledgeShrinkRequest.js.map +1 -0
  83. package/dist/models/SizeChartExtractAsyncRequest.d.ts +9 -1
  84. package/dist/models/SizeChartExtractAsyncRequest.js +2 -0
  85. package/dist/models/SizeChartExtractAsyncRequest.js.map +1 -1
  86. package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +5 -5
  87. package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +9 -1
  88. package/dist/models/SizeChartExtractAsyncShrinkRequest.js +2 -0
  89. package/dist/models/SizeChartExtractAsyncShrinkRequest.js.map +1 -1
  90. package/dist/models/TextTranslateAsyncRequest.d.ts +28 -0
  91. package/dist/models/TextTranslateAsyncRequest.js.map +1 -1
  92. package/dist/models/TextTranslateAsyncResponseBody.d.ts +19 -0
  93. package/dist/models/TextTranslateAsyncResponseBody.js.map +1 -1
  94. package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +28 -0
  95. package/dist/models/TextTranslateAsyncShrinkRequest.js.map +1 -1
  96. package/dist/models/UpdateDisplayKnowledgeRequest.d.ts +74 -0
  97. package/dist/models/UpdateDisplayKnowledgeRequest.js +88 -0
  98. package/dist/models/UpdateDisplayKnowledgeRequest.js.map +1 -0
  99. package/dist/models/UpdateDisplayKnowledgeResponse.d.ts +19 -0
  100. package/dist/models/UpdateDisplayKnowledgeResponse.js +69 -0
  101. package/dist/models/UpdateDisplayKnowledgeResponse.js.map +1 -0
  102. package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +206 -0
  103. package/dist/models/UpdateDisplayKnowledgeResponseBody.js +143 -0
  104. package/dist/models/UpdateDisplayKnowledgeResponseBody.js.map +1 -0
  105. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.d.ts +30 -0
  106. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js +60 -0
  107. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js.map +1 -0
  108. package/dist/models/VideoTranslationRequest.d.ts +12 -12
  109. package/dist/models/VideoTranslationResponseBody.d.ts +1 -1
  110. package/dist/models/VideoTranslationShrinkRequest.d.ts +12 -12
  111. package/dist/models/model.d.ts +26 -0
  112. package/dist/models/model.js +59 -6
  113. package/dist/models/model.js.map +1 -1
  114. package/package.json +1 -1
  115. package/src/client.ts +524 -268
  116. package/src/models/AddDisplayKnowledgeRequest.ts +100 -0
  117. package/src/models/AddDisplayKnowledgeResponse.ts +40 -0
  118. package/src/models/AddDisplayKnowledgeResponseBody.ts +288 -0
  119. package/src/models/AddDisplayKnowledgeShrinkRequest.ts +45 -0
  120. package/src/models/AiTryOnRequest.ts +4 -4
  121. package/src/models/AiTryOnResponseBody.ts +10 -10
  122. package/src/models/DeleteDisplayKnowledgeRequest.ts +48 -0
  123. package/src/models/DeleteDisplayKnowledgeResponse.ts +40 -0
  124. package/src/models/DeleteDisplayKnowledgeResponseBody.ts +294 -0
  125. package/src/models/DeleteDisplayKnowledgeShrinkRequest.ts +45 -0
  126. package/src/models/ImageMattingAsyncRequest.ts +11 -1
  127. package/src/models/ImageMattingAsyncResponseBody.ts +5 -5
  128. package/src/models/ImageRecognitionAsyncRequest.ts +35 -25
  129. package/src/models/ImageRecognitionAsyncResponseBody.ts +6 -6
  130. package/src/models/ImageRecognitionAsyncShrinkRequest.ts +35 -25
  131. package/src/models/ImageRemovalProAsyncRequest.ts +12 -1
  132. package/src/models/ImageRemovalProAsyncResponseBody.ts +7 -5
  133. package/src/models/ImageRemoveAsyncRequest.ts +27 -6
  134. package/src/models/ImageRemoveAsyncResponseBody.ts +6 -4
  135. package/src/models/ImageRemoveAsyncShrinkRequest.ts +27 -6
  136. package/src/models/ImageTranslationPlusAsyncRequest.ts +19 -9
  137. package/src/models/ImageTranslationPlusAsyncResponseBody.ts +5 -5
  138. package/src/models/ImageTranslationProAsyncRequest.ts +17 -7
  139. package/src/models/ImageTranslationProAsyncResponseBody.ts +4 -4
  140. package/src/models/ImageTranslationStandardAsyncRequest.ts +12 -2
  141. package/src/models/ImageTranslationStandardAsyncResponseBody.ts +4 -4
  142. package/src/models/QueryAsyncTaskResultResponseBody.ts +15 -7
  143. package/src/models/QueryDisplayKnowledgeRequest.ts +86 -0
  144. package/src/models/QueryDisplayKnowledgeResponse.ts +40 -0
  145. package/src/models/QueryDisplayKnowledgeResponseBody.ts +326 -0
  146. package/src/models/QueryDisplayKnowledgeShrinkRequest.ts +83 -0
  147. package/src/models/SizeChartExtractAsyncRequest.ts +11 -1
  148. package/src/models/SizeChartExtractAsyncResponseBody.ts +5 -5
  149. package/src/models/SizeChartExtractAsyncShrinkRequest.ts +11 -1
  150. package/src/models/TextTranslateAsyncRequest.ts +28 -0
  151. package/src/models/TextTranslateAsyncResponseBody.ts +19 -0
  152. package/src/models/TextTranslateAsyncShrinkRequest.ts +28 -0
  153. package/src/models/UpdateDisplayKnowledgeRequest.ts +108 -0
  154. package/src/models/UpdateDisplayKnowledgeResponse.ts +40 -0
  155. package/src/models/UpdateDisplayKnowledgeResponseBody.ts +284 -0
  156. package/src/models/UpdateDisplayKnowledgeShrinkRequest.ts +45 -0
  157. package/src/models/VideoTranslationRequest.ts +12 -12
  158. package/src/models/VideoTranslationResponseBody.ts +1 -1
  159. package/src/models/VideoTranslationShrinkRequest.ts +12 -12
  160. package/src/models/model.ts +26 -0
@@ -2,7 +2,15 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 and 3000 × 3000 pixels, and the file size must not exceed 10 MB.
5
+ * The business order ID of the caller. This ID is recorded when the request is accepted and returned as-is when you query the result of the asynchronous task.
6
+ *
7
+ * @example
8
+ * order-20260928-001
9
+ */
10
+ bizId?: string;
11
+ /**
12
+ * @remarks
13
+ * The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 and 3000 × 3000 pixels, and the file size cannot exceed 10 MB.
6
14
  *
7
15
  * This parameter is required.
8
16
  *
@@ -12,7 +20,9 @@ export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
12
20
  imageUrl?: string;
13
21
  /**
14
22
  * @remarks
15
- * The specific area to erase. This parameter must be used in conjunction with the editor, and the input format is RLE. If this parameter is specified, it takes precedence and the remove_non_product_area_elements and remove_product_area_elements parameters are ignored. This parameter is not required, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
23
+ * The specific area to erase. This parameter must be used in conjunction with the editor. The input format is Run-Length Encoding (RLE).
24
+ * If this parameter is specified, it takes precedence and the remove_non_product_area_elements and remove_product_area_elements parameters are ignored. This parameter is optional, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage.
25
+ * If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
16
26
  *
17
27
  * @example
18
28
  * "474556 160 475356 160 476156 160 476956 160 477756 160 478556 160 479356 160 480156 160 480956 160 481756 160 482556 160 483356 160 484156 160 484956 160 485756 160 486556 160 487356 160 488156 160 488956 160 489756 160 490556 160 491356 160 492156 160"
@@ -20,17 +30,26 @@ export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
20
30
  mask?: string;
21
31
  /**
22
32
  * @remarks
23
- * The list of element types to remove from the non-subject area of the image.
33
+ * The list of element types to remove from the image background.
24
34
  */
25
35
  nonObjectRemoveElementsShrink?: string;
26
36
  /**
27
37
  * @remarks
28
- * The types of elements to remove from the image subject. Valid values: 1 (transparent text blocks), 2 (specific names), 3 (text), and 4 (watermarks). You can select multiple element types. This parameter is not required, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements. For more information about each type, see the product documentation. Image subject: the core product area in the image.
38
+ * The types of elements to remove from the image subject. Valid values:
39
+ * - 1: Transparent text blocks.
40
+ * - 2: Specific names.
41
+ * - 3: Text.
42
+ * - 4: Promotional stickers.
43
+ * You can select multiple element types. This parameter is optional, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage.
44
+ * If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
45
+ * For more information about each type, see the product documentation.
46
+ * Image subject: the core product area in the image.
29
47
  */
30
48
  objectRemoveElementsShrink?: string;
31
49
  /**
32
50
  * @remarks
33
- * The specific area to erase. This parameter must be used in conjunction with the editor, and the input format is four-point coordinates [xx,yy,zz,dd]. This parameter is not required, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
51
+ * The specific area to erase. This parameter must be used in conjunction with the editor. The input format is a four-point coordinate array, such as [xx,yy,zz,dd]. This parameter is optional, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage.
52
+ * If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
34
53
  *
35
54
  * @example
36
55
  * [10,20,100,200]
@@ -43,7 +62,7 @@ export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
43
62
  userImageShrink?: string;
44
63
  /**
45
64
  * @remarks
46
- * The list of user-specified texts to erase.
65
+ * The list of user-specified text strings to erase.
47
66
  */
48
67
  userTextShrink?: string;
49
68
  static names(): {
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class ImageRemoveAsyncShrinkRequest extends $dara.Model {
40
40
  static names() {
41
41
  return {
42
+ bizId: 'BizId',
42
43
  imageUrl: 'ImageUrl',
43
44
  mask: 'Mask',
44
45
  nonObjectRemoveElementsShrink: 'NonObjectRemoveElements',
@@ -50,6 +51,7 @@ class ImageRemoveAsyncShrinkRequest extends $dara.Model {
50
51
  }
51
52
  static types() {
52
53
  return {
54
+ bizId: 'string',
53
55
  imageUrl: 'string',
54
56
  mask: 'string',
55
57
  nonObjectRemoveElementsShrink: 'string',
@@ -1 +1 @@
1
- {"version":3,"file":"ImageRemoveAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemoveAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IA+C5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,6BAA6B,EAAE,yBAAyB;YACxD,0BAA0B,EAAE,sBAAsB;YAClD,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,WAAW;YAC5B,cAAc,EAAE,UAAU;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,6BAA6B,EAAE,QAAQ;YACvC,0BAA0B,EAAE,QAAQ;YACpC,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9ED,sEA8EC"}
1
+ {"version":3,"file":"ImageRemoveAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemoveAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAkE5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,6BAA6B,EAAE,yBAAyB;YACxD,0BAA0B,EAAE,sBAAsB;YAClD,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,WAAW;YAC5B,cAAc,EAAE,UAAU;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,6BAA6B,EAAE,QAAQ;YACvC,0BAA0B,EAAE,QAAQ;YACpC,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnGD,sEAmGC"}
@@ -2,7 +2,15 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageTranslationPlusAsyncRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The intervention glossary ID. The intervention glossary ID must be created separately and provided in the input parameters. If the provided intervention glossary ID is empty, the translation results will not be modified.
5
+ * The business order ID of the caller. This ID is recorded when the request is accepted and returned as is when you query the asynchronous task result.
6
+ *
7
+ * @example
8
+ * order-20260928-001
9
+ */
10
+ bizId?: string;
11
+ /**
12
+ * @remarks
13
+ * The intervention glossary ID. You must create the intervention glossary separately and provide its ID in the input parameters. If the provided intervention glossary ID is empty, the translation results are not modified.
6
14
  *
7
15
  * @example
8
16
  * glossary_1
@@ -10,10 +18,10 @@ export declare class ImageTranslationPlusAsyncRequest extends $dara.Model {
10
18
  glossary?: string;
11
19
  /**
12
20
  * @remarks
13
- * • Image URL: Must be publicly accessible.
14
- * • Format: PNG, JPEG, JPG, BMP, or WEBP.
15
- * • Pixels: Both width and height must not exceed 4,000.
16
- * • File size: The original file must be less than or equal to 10 MB.
21
+ * * Image URL: The image must be accessible over the Internet.
22
+ * * Format: PNG, JPEG, JPG, BMP, or WEBP.
23
+ * * Resolution: The width and height cannot exceed 4,000 pixels.
24
+ * * File size: The original file size cannot exceed 10 MB.
17
25
  *
18
26
  * This parameter is required.
19
27
  *
@@ -23,7 +31,7 @@ export declare class ImageTranslationPlusAsyncRequest extends $dara.Model {
23
31
  imageUrl?: string;
24
32
  /**
25
33
  * @remarks
26
- * Specifies whether to translate the text on the image subject. This helps you protect information and prevent embedded information, such as product names, from being translated. In the example image, the text in the red box represents the text on the subject, and the text in the blue box represents the text not on the subject.
34
+ * Specifies whether to translate the text on the image subject. This helps you protect information and prevent embedded information, such as the product name, from being translated. In the example image, the text in the red box represents the text on the subject, and the text in the blue box represents the text not on the subject.
27
35
  *
28
36
  * @example
29
37
  * false
@@ -41,7 +49,7 @@ export declare class ImageTranslationPlusAsyncRequest extends $dara.Model {
41
49
  sourceLanguage?: string;
42
50
  /**
43
51
  * @remarks
44
- * The target language code. The 12 minor language pairs listed above are recommended.
52
+ * The target language code. We recommend that you use the 12 minor language pairs listed above.
45
53
  *
46
54
  * This parameter is required.
47
55
  *
@@ -51,7 +59,7 @@ export declare class ImageTranslationPlusAsyncRequest extends $dara.Model {
51
59
  targetLanguage?: string;
52
60
  /**
53
61
  * @remarks
54
- * Specifies whether to translate brand names in the image. This prevents brand names from being translated. Default value: false, which indicates that brand names are not translated. In the example image, \\"懒角落\\" represents a brand name.
62
+ * Specifies whether to translate the brand name in the image. This prevents the brand name from being translated. Default value: false. In the example image, \\"懒角落\\" represents the brand name.
55
63
  *
56
64
  * @example
57
65
  * false
@@ -59,7 +67,7 @@ export declare class ImageTranslationPlusAsyncRequest extends $dara.Model {
59
67
  translatingBrandInTheProduct?: boolean;
60
68
  /**
61
69
  * @remarks
62
- * Specifies whether to return layout information such as the position, font, and color of the text. This can be used to obtain data when integrating the image editor for secondary editing. You can call the image translation result query API to obtain the complete parameter information.
70
+ * Specifies whether to return layout information such as the position, font, and color of the text. This can be used to obtain data when you integrate the image editor for secondary editing. You can call the image translation result data query API operation to obtain the complete parameter information.
63
71
  *
64
72
  * @example
65
73
  * false
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class ImageTranslationPlusAsyncRequest extends $dara.Model {
40
40
  static names() {
41
41
  return {
42
+ bizId: 'BizId',
42
43
  glossary: 'Glossary',
43
44
  imageUrl: 'ImageUrl',
44
45
  includingProductArea: 'IncludingProductArea',
@@ -50,6 +51,7 @@ class ImageTranslationPlusAsyncRequest extends $dara.Model {
50
51
  }
51
52
  static types() {
52
53
  return {
54
+ bizId: 'string',
53
55
  glossary: 'string',
54
56
  imageUrl: 'string',
55
57
  includingProductArea: 'boolean',
@@ -1 +1 @@
1
- {"version":3,"file":"ImageTranslationPlusAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageTranslationPlusAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAkE/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,4BAA4B,EAAE,8BAA8B;YAC5D,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,SAAS;YAC/B,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;YACxB,4BAA4B,EAAE,SAAS;YACvC,cAAc,EAAE,SAAS;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjGD,4EAiGC"}
1
+ {"version":3,"file":"ImageTranslationPlusAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageTranslationPlusAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IA0E/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,4BAA4B,EAAE,8BAA8B;YAC5D,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,SAAS;YAC/B,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;YACxB,4BAA4B,EAAE,SAAS;YACvC,cAAc,EAAE,SAAS;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3GD,4EA2GC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageTranslationPlusAsyncResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The identifier of the asynchronous task, which is used for result query and notification association. Do not use the example prefix as a business validation rule.
5
+ * The identifier of the asynchronous task, which is used for result queries and notification association. Do not use the example prefix as a business validation rule.
6
6
  *
7
7
  * @example
8
8
  * TID_550e8400-e29b-41d4-a716-446655440000
@@ -22,7 +22,7 @@ export declare class ImageTranslationPlusAsyncResponseBodyData extends $dara.Mod
22
22
  export declare class ImageTranslationPlusAsyncResponseBody extends $dara.Model {
23
23
  /**
24
24
  * @remarks
25
- * The response code of the submission call. A value of success indicates a successful call.
25
+ * The response code for the submission call. A successful call returns success.
26
26
  *
27
27
  * @example
28
28
  * success
@@ -30,7 +30,7 @@ export declare class ImageTranslationPlusAsyncResponseBody extends $dara.Model {
30
30
  code?: string;
31
31
  /**
32
32
  * @remarks
33
- * The submission result of the Image Translation Plus asynchronous task.
33
+ * The submission result of the asynchronous task for the Plus edition of image translation.
34
34
  */
35
35
  data?: ImageTranslationPlusAsyncResponseBodyData;
36
36
  /**
@@ -43,7 +43,7 @@ export declare class ImageTranslationPlusAsyncResponseBody extends $dara.Model {
43
43
  message?: string;
44
44
  /**
45
45
  * @remarks
46
- * The unique identifier of the request, which is used for troubleshooting and Tracing Analysis.
46
+ * The unique identifier of the request, which is used for troubleshooting and tracing analysis.
47
47
  *
48
48
  * @example
49
49
  * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
@@ -51,7 +51,7 @@ export declare class ImageTranslationPlusAsyncResponseBody extends $dara.Model {
51
51
  requestId?: string;
52
52
  /**
53
53
  * @remarks
54
- * Indicates whether the submission call is successful. This does not mean that the translation is completed. A value of true indicates success, and a value of false indicates failure.
54
+ * Specifies whether the submission call is successful. This does not indicate that the translation is complete. A value of true indicates success, and a value of false indicates failure.
55
55
  *
56
56
  * @example
57
57
  * True
@@ -1,5 +1,13 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageTranslationProAsyncRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The business ID of the caller. This ID is recorded when the request is accepted and returned as-is when you query the asynchronous task result.
6
+ *
7
+ * @example
8
+ * order-20260928-001
9
+ */
10
+ bizId?: string;
3
11
  /**
4
12
  * @remarks
5
13
  * The ID of the intervention glossary. You must create the glossary in the console and provide its ID. If this parameter is left empty, the translation results are not modified.
@@ -10,10 +18,10 @@ export declare class ImageTranslationProAsyncRequest extends $dara.Model {
10
18
  glossary?: string;
11
19
  /**
12
20
  * @remarks
13
- * • Image URL: Must be accessible over the Internet.
14
- * • Format: PNG, JPEG, JPG, BMP, or WEBP.
15
- * • Pixels: Both the width and height must not exceed 4,000.
16
- * • File size: The original file size must be less than or equal to 10 MB.
21
+ * • Image URL: The URL must be publicly accessible over the Internet.
22
+ * • Formats: PNG, JPEG, JPG, BMP, and WEBP.
23
+ * • Pixels: The width and height cannot exceed 4,000 pixels.
24
+ * • File size: The original file size cannot exceed 10 MB.
17
25
  *
18
26
  * This parameter is required.
19
27
  *
@@ -23,7 +31,7 @@ export declare class ImageTranslationProAsyncRequest extends $dara.Model {
23
31
  imageUrl?: string;
24
32
  /**
25
33
  * @remarks
26
- * Specifies whether to translate the text on the product subject in the image. Set this parameter to false to protect the subject information, such as the product name, from being translated. Default value: false.
34
+ * Specifies whether to translate the text on the image subject. Set this parameter to false to protect the subject information, such as the product name, from being translated. Default value: false.
27
35
  *
28
36
  * @example
29
37
  * false
@@ -51,7 +59,7 @@ export declare class ImageTranslationProAsyncRequest extends $dara.Model {
51
59
  targetLanguage?: string;
52
60
  /**
53
61
  * @remarks
54
- * Specifies whether to translate the brand names in the image. Default value: false, which indicates that brand names are not translated.
62
+ * Specifies whether to translate brand names in the image. Default value: false, which indicates that brand names are not translated.
55
63
  *
56
64
  * @example
57
65
  * false
@@ -59,7 +67,7 @@ export declare class ImageTranslationProAsyncRequest extends $dara.Model {
59
67
  translatingBrandInTheProduct?: boolean;
60
68
  /**
61
69
  * @remarks
62
- * Specifies whether to return layout information such as the position, font, and color of the text. If you set this parameter to true, layer information is returned, which can be used for secondary editing in an image editor. Default value: false.
70
+ * Specifies whether to return layout information such as the position, font, and color of the text. If you set this parameter to true, layer information is returned, which can be used for secondary editing when you integrate an image editor. Default value: false.
63
71
  *
64
72
  * @example
65
73
  * false
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class ImageTranslationProAsyncRequest extends $dara.Model {
40
40
  static names() {
41
41
  return {
42
+ bizId: 'BizId',
42
43
  glossary: 'Glossary',
43
44
  imageUrl: 'ImageUrl',
44
45
  includingProductArea: 'IncludingProductArea',
@@ -50,6 +51,7 @@ class ImageTranslationProAsyncRequest extends $dara.Model {
50
51
  }
51
52
  static types() {
52
53
  return {
54
+ bizId: 'string',
53
55
  glossary: 'string',
54
56
  imageUrl: 'string',
55
57
  includingProductArea: 'boolean',
@@ -1 +1 @@
1
- {"version":3,"file":"ImageTranslationProAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageTranslationProAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAkE9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,4BAA4B,EAAE,8BAA8B;YAC5D,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,SAAS;YAC/B,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;YACxB,4BAA4B,EAAE,SAAS;YACvC,cAAc,EAAE,SAAS;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjGD,0EAiGC"}
1
+ {"version":3,"file":"ImageTranslationProAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageTranslationProAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IA0E9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,4BAA4B,EAAE,8BAA8B;YAC5D,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,SAAS;YAC/B,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;YACxB,4BAA4B,EAAE,SAAS;YACvC,cAAc,EAAE,SAAS;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3GD,0EA2GC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageTranslationProAsyncResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The ID of the asynchronous task. It is used to query results and associate notifications. Do not use the example prefix as a business validation rule.
5
+ * The ID of the asynchronous task. This ID is used to query results and associate notifications. Do not use the example prefix as a business validation rule.
6
6
  *
7
7
  * @example
8
8
  * TID_550e8400-e29b-41d4-a716-446655440000
@@ -22,7 +22,7 @@ export declare class ImageTranslationProAsyncResponseBodyData extends $dara.Mode
22
22
  export declare class ImageTranslationProAsyncResponseBody extends $dara.Model {
23
23
  /**
24
24
  * @remarks
25
- * The response code. A value of success indicates that the task is submitted successfully.
25
+ * The response code. A value of success indicates that the task is submitted.
26
26
  *
27
27
  * @example
28
28
  * success
@@ -35,7 +35,7 @@ export declare class ImageTranslationProAsyncResponseBody extends $dara.Model {
35
35
  data?: ImageTranslationProAsyncResponseBodyData;
36
36
  /**
37
37
  * @remarks
38
- * The call description. A successful call returns Success. If the call fails, read the actual error message.
38
+ * The call description. A value of Success indicates a successful call. If the call fails, read the actual error message.
39
39
  *
40
40
  * @example
41
41
  * success
@@ -43,7 +43,7 @@ export declare class ImageTranslationProAsyncResponseBody extends $dara.Model {
43
43
  message?: string;
44
44
  /**
45
45
  * @remarks
46
- * The ID of the submission request. It is used for troubleshooting.
46
+ * The ID of the submission request. This ID is used for troubleshooting.
47
47
  *
48
48
  * @example
49
49
  * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
@@ -1,5 +1,13 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageTranslationStandardAsyncRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The business order ID of the caller. It is recorded upon acceptance and returned as-is when querying the asynchronous task result.
6
+ *
7
+ * @example
8
+ * order-20260928-001
9
+ */
10
+ bizId?: string;
3
11
  /**
4
12
  * @remarks
5
13
  * The intervention glossary.
@@ -20,7 +28,7 @@ export declare class ImageTranslationStandardAsyncRequest extends $dara.Model {
20
28
  imageUrl?: string;
21
29
  /**
22
30
  * @remarks
23
- * Specifies whether to include the product area in the translation.
31
+ * Specifies whether to include the translation of the product area.
24
32
  *
25
33
  * @example
26
34
  * false
@@ -48,7 +56,7 @@ export declare class ImageTranslationStandardAsyncRequest extends $dara.Model {
48
56
  targetLanguage?: string;
49
57
  /**
50
58
  * @remarks
51
- * Specifies whether to translate brand text in the product area.
59
+ * Specifies whether to translate the brand text in the product area.
52
60
  *
53
61
  * @example
54
62
  * false
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class ImageTranslationStandardAsyncRequest extends $dara.Model {
40
40
  static names() {
41
41
  return {
42
+ bizId: 'BizId',
42
43
  glossary: 'Glossary',
43
44
  imageUrl: 'ImageUrl',
44
45
  includingProductArea: 'IncludingProductArea',
@@ -50,6 +51,7 @@ class ImageTranslationStandardAsyncRequest extends $dara.Model {
50
51
  }
51
52
  static types() {
52
53
  return {
54
+ bizId: 'string',
53
55
  glossary: 'string',
54
56
  imageUrl: 'string',
55
57
  includingProductArea: 'boolean',
@@ -1 +1 @@
1
- {"version":3,"file":"ImageTranslationStandardAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageTranslationStandardAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IA+DnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,4BAA4B,EAAE,8BAA8B;YAC5D,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,SAAS;YAC/B,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;YACxB,4BAA4B,EAAE,SAAS;YACvC,cAAc,EAAE,SAAS;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9FD,oFA8FC"}
1
+ {"version":3,"file":"ImageTranslationStandardAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageTranslationStandardAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAuEnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,4BAA4B,EAAE,8BAA8B;YAC5D,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,SAAS;YAC/B,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;YACxB,4BAA4B,EAAE,SAAS;YACvC,cAAc,EAAE,SAAS;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxGD,oFAwGC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageTranslationStandardAsyncResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The ID of the task used to query the asynchronous task result.
5
+ * The task ID used to query the asynchronous task result.
6
6
  *
7
7
  * @example
8
8
  * TID_550e8400-e29b-41d4-a716-446655440000
@@ -22,7 +22,7 @@ export declare class ImageTranslationStandardAsyncResponseBodyData extends $dara
22
22
  export declare class ImageTranslationStandardAsyncResponseBody extends $dara.Model {
23
23
  /**
24
24
  * @remarks
25
- * The error code. This parameter is not returned for successful calls.
25
+ * The error code. This parameter is not returned for normal calls.
26
26
  *
27
27
  * @example
28
28
  * 200
@@ -30,12 +30,12 @@ export declare class ImageTranslationStandardAsyncResponseBody extends $dara.Mod
30
30
  code?: string;
31
31
  /**
32
32
  * @remarks
33
- * The submission result of the asynchronous task for Image Translation Standard Edition.
33
+ * The asynchronous task submission result of Image Translation Standard Edition.
34
34
  */
35
35
  data?: ImageTranslationStandardAsyncResponseBodyData;
36
36
  /**
37
37
  * @remarks
38
- * The error message. This parameter is not returned for successful calls.
38
+ * The error message. This parameter is not returned for normal calls.
39
39
  *
40
40
  * @example
41
41
  * OK
@@ -1,5 +1,13 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class QueryAsyncTaskResultResponseBodyData extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The business ID.
6
+ *
7
+ * @example
8
+ * order-20260928-001
9
+ */
10
+ bizId?: string;
3
11
  /**
4
12
  * @remarks
5
13
  * The task result.
@@ -18,7 +26,7 @@ export declare class QueryAsyncTaskResultResponseBodyData extends $dara.Model {
18
26
  status?: string;
19
27
  /**
20
28
  * @remarks
21
- * The downstream task ID.
29
+ * The ID of the downstream task.
22
30
  *
23
31
  * @example
24
32
  * task-xxxxx
@@ -45,7 +53,7 @@ export declare class QueryAsyncTaskResultResponseBodyData extends $dara.Model {
45
53
  export declare class QueryAsyncTaskResultResponseBody extends $dara.Model {
46
54
  /**
47
55
  * @remarks
48
- * The error code. This parameter is not returned if the call is successful.
56
+ * The error code. This parameter is not returned when the call is successful.
49
57
  *
50
58
  * @example
51
59
  * 200
@@ -53,12 +61,12 @@ export declare class QueryAsyncTaskResultResponseBody extends $dara.Model {
53
61
  code?: string;
54
62
  /**
55
63
  * @remarks
56
- * The asynchronous task result.
64
+ * The result of the asynchronous task.
57
65
  */
58
66
  data?: QueryAsyncTaskResultResponseBodyData;
59
67
  /**
60
68
  * @remarks
61
- * The error message. This parameter is not returned if the call is successful.
69
+ * The error message. This parameter is not returned when the call is successful.
62
70
  *
63
71
  * @example
64
72
  * OK
@@ -74,9 +82,7 @@ export declare class QueryAsyncTaskResultResponseBody extends $dara.Model {
74
82
  requestId?: string;
75
83
  /**
76
84
  * @remarks
77
- * Indicates whether the call is successful. Valid values:
78
- * - true: The call is successful.
79
- * - false: The call failed.
85
+ * Indicates whether the call is successful. Valid values: true: The call is successful. false: The call fails.
80
86
  *
81
87
  * @example
82
88
  * True
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class QueryAsyncTaskResultResponseBodyData extends $dara.Model {
40
40
  static names() {
41
41
  return {
42
+ bizId: 'BizId',
42
43
  result: 'Result',
43
44
  status: 'Status',
44
45
  taskId: 'TaskId',
@@ -47,6 +48,7 @@ class QueryAsyncTaskResultResponseBodyData extends $dara.Model {
47
48
  }
48
49
  static types() {
49
50
  return {
51
+ bizId: 'string',
50
52
  result: 'string',
51
53
  status: 'string',
52
54
  taskId: 'string',
@@ -1 +1 @@
1
- {"version":3,"file":"QueryAsyncTaskResultResponseBody.js","sourceRoot":"","sources":["../../src/models/QueryAsyncTaskResultResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IA8BnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE;SACrE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;YACjB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1DD,oFA0DC;AAED,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAwC/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,oCAAoC;YAC1C,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtED,4EAsEC"}
1
+ {"version":3,"file":"QueryAsyncTaskResultResponseBody.js","sourceRoot":"","sources":["../../src/models/QueryAsyncTaskResultResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAsCnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE;SACrE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;YACjB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,oFAoEC;AAED,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAsC/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,oCAAoC;YAC1C,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,4EAoEC"}
@@ -0,0 +1,60 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class QueryDisplayKnowledgeRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The page number. Default value: 1.
6
+ *
7
+ * @example
8
+ * 10
9
+ */
10
+ pageNum?: number;
11
+ /**
12
+ * @remarks
13
+ * The number of entries per page. Default value: 20. Maximum value: 100.
14
+ *
15
+ * @example
16
+ * 50
17
+ */
18
+ pageSize?: number;
19
+ /**
20
+ * @remarks
21
+ * The knowledge base ID.
22
+ *
23
+ * This parameter is required.
24
+ *
25
+ * @example
26
+ * rag_xxx
27
+ */
28
+ ragId?: string;
29
+ /**
30
+ * @remarks
31
+ * The SKU ID for exact match.
32
+ *
33
+ * @example
34
+ * sku-001
35
+ */
36
+ skuId?: string;
37
+ /**
38
+ * @remarks
39
+ * The keyword in the SKU name.
40
+ *
41
+ * @example
42
+ * Product front image
43
+ */
44
+ skuName?: string;
45
+ /**
46
+ * @remarks
47
+ * The list of record statuses. Valid values: UPDATING, EMBEDDED, and FAILED.
48
+ */
49
+ statuses?: string[];
50
+ static names(): {
51
+ [key: string]: string;
52
+ };
53
+ static types(): {
54
+ [key: string]: any;
55
+ };
56
+ validate(): void;
57
+ constructor(map?: {
58
+ [key: string]: any;
59
+ });
60
+ }