@alicloud/aidge20260428 5.10.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 (77) hide show
  1. package/dist/client.d.ts +186 -186
  2. package/dist/client.js +210 -186
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ImageMattingAsyncRequest.d.ts +9 -1
  5. package/dist/models/ImageMattingAsyncRequest.js +2 -0
  6. package/dist/models/ImageMattingAsyncRequest.js.map +1 -1
  7. package/dist/models/ImageMattingAsyncResponseBody.d.ts +5 -5
  8. package/dist/models/ImageRecognitionAsyncRequest.d.ts +33 -25
  9. package/dist/models/ImageRecognitionAsyncRequest.js +2 -0
  10. package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
  11. package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +6 -6
  12. package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +33 -25
  13. package/dist/models/ImageRecognitionAsyncShrinkRequest.js +2 -0
  14. package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
  15. package/dist/models/ImageRemovalProAsyncRequest.d.ts +10 -1
  16. package/dist/models/ImageRemovalProAsyncRequest.js +2 -0
  17. package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -1
  18. package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +7 -5
  19. package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -1
  20. package/dist/models/ImageRemoveAsyncRequest.d.ts +25 -6
  21. package/dist/models/ImageRemoveAsyncRequest.js +2 -0
  22. package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
  23. package/dist/models/ImageRemoveAsyncResponseBody.d.ts +6 -4
  24. package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
  25. package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +25 -6
  26. package/dist/models/ImageRemoveAsyncShrinkRequest.js +2 -0
  27. package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
  28. package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +17 -9
  29. package/dist/models/ImageTranslationPlusAsyncRequest.js +2 -0
  30. package/dist/models/ImageTranslationPlusAsyncRequest.js.map +1 -1
  31. package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +5 -5
  32. package/dist/models/ImageTranslationProAsyncRequest.d.ts +15 -7
  33. package/dist/models/ImageTranslationProAsyncRequest.js +2 -0
  34. package/dist/models/ImageTranslationProAsyncRequest.js.map +1 -1
  35. package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +4 -4
  36. package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +10 -2
  37. package/dist/models/ImageTranslationStandardAsyncRequest.js +2 -0
  38. package/dist/models/ImageTranslationStandardAsyncRequest.js.map +1 -1
  39. package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +4 -4
  40. package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +13 -7
  41. package/dist/models/QueryAsyncTaskResultResponseBody.js +2 -0
  42. package/dist/models/QueryAsyncTaskResultResponseBody.js.map +1 -1
  43. package/dist/models/SizeChartExtractAsyncRequest.d.ts +9 -1
  44. package/dist/models/SizeChartExtractAsyncRequest.js +2 -0
  45. package/dist/models/SizeChartExtractAsyncRequest.js.map +1 -1
  46. package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +5 -5
  47. package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +9 -1
  48. package/dist/models/SizeChartExtractAsyncShrinkRequest.js +2 -0
  49. package/dist/models/SizeChartExtractAsyncShrinkRequest.js.map +1 -1
  50. package/dist/models/VideoTranslationRequest.d.ts +12 -12
  51. package/dist/models/VideoTranslationResponseBody.d.ts +4 -4
  52. package/dist/models/VideoTranslationShrinkRequest.d.ts +12 -12
  53. package/package.json +1 -1
  54. package/src/client.ts +222 -190
  55. package/src/models/ImageMattingAsyncRequest.ts +11 -1
  56. package/src/models/ImageMattingAsyncResponseBody.ts +5 -5
  57. package/src/models/ImageRecognitionAsyncRequest.ts +35 -25
  58. package/src/models/ImageRecognitionAsyncResponseBody.ts +6 -6
  59. package/src/models/ImageRecognitionAsyncShrinkRequest.ts +35 -25
  60. package/src/models/ImageRemovalProAsyncRequest.ts +12 -1
  61. package/src/models/ImageRemovalProAsyncResponseBody.ts +7 -5
  62. package/src/models/ImageRemoveAsyncRequest.ts +27 -6
  63. package/src/models/ImageRemoveAsyncResponseBody.ts +6 -4
  64. package/src/models/ImageRemoveAsyncShrinkRequest.ts +27 -6
  65. package/src/models/ImageTranslationPlusAsyncRequest.ts +19 -9
  66. package/src/models/ImageTranslationPlusAsyncResponseBody.ts +5 -5
  67. package/src/models/ImageTranslationProAsyncRequest.ts +17 -7
  68. package/src/models/ImageTranslationProAsyncResponseBody.ts +4 -4
  69. package/src/models/ImageTranslationStandardAsyncRequest.ts +12 -2
  70. package/src/models/ImageTranslationStandardAsyncResponseBody.ts +4 -4
  71. package/src/models/QueryAsyncTaskResultResponseBody.ts +15 -7
  72. package/src/models/SizeChartExtractAsyncRequest.ts +11 -1
  73. package/src/models/SizeChartExtractAsyncResponseBody.ts +5 -5
  74. package/src/models/SizeChartExtractAsyncShrinkRequest.ts +11 -1
  75. package/src/models/VideoTranslationRequest.ts +12 -12
  76. package/src/models/VideoTranslationResponseBody.ts +4 -4
  77. package/src/models/VideoTranslationShrinkRequest.ts +12 -12
@@ -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"}
@@ -1,5 +1,13 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class SizeChartExtractAsyncRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The business order number of the caller. It 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 list of column names to extract, such as Size, Bust, and Length.
@@ -7,7 +15,7 @@ export declare class SizeChartExtractAsyncRequest extends $dara.Model {
7
15
  columnNameList?: string[];
8
16
  /**
9
17
  * @remarks
10
- * The image URL. The image must be in the JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 pixels and 3000 × 3000 pixels. The file size cannot exceed 10 MB.
18
+ * The image URL. The image must be in the JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 pixels and 3000 × 3000 pixels, and the file size cannot exceed 10 MB.
11
19
  *
12
20
  * This parameter is required.
13
21
  *
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class SizeChartExtractAsyncRequest extends $dara.Model {
40
40
  static names() {
41
41
  return {
42
+ bizId: 'BizId',
42
43
  columnNameList: 'ColumnNameList',
43
44
  imageUrl: 'ImageUrl',
44
45
  languageModel: 'LanguageModel',
@@ -46,6 +47,7 @@ class SizeChartExtractAsyncRequest extends $dara.Model {
46
47
  }
47
48
  static types() {
48
49
  return {
50
+ bizId: 'string',
49
51
  columnNameList: { 'type': 'array', 'itemType': 'string' },
50
52
  imageUrl: 'string',
51
53
  languageModel: 'string',
@@ -1 +1 @@
1
- {"version":3,"file":"SizeChartExtractAsyncRequest.js","sourceRoot":"","sources":["../../src/models/SizeChartExtractAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAwB3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,QAAQ,EAAE,UAAU;YACpB,aAAa,EAAE,eAAe;SAC/B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACzD,QAAQ,EAAE,QAAQ;YAClB,aAAa,EAAE,QAAQ;SACxB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;YACtC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlDD,oEAkDC"}
1
+ {"version":3,"file":"SizeChartExtractAsyncRequest.js","sourceRoot":"","sources":["../../src/models/SizeChartExtractAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAgC3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,gBAAgB;YAChC,QAAQ,EAAE,UAAU;YACpB,aAAa,EAAE,eAAe;SAC/B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACzD,QAAQ,EAAE,QAAQ;YAClB,aAAa,EAAE,QAAQ;SACxB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;YACtC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5DD,oEA4DC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class SizeChartExtractAsyncResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The ID of the asynchronous task used to query the 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 SizeChartExtractAsyncResponseBodyData extends $dara.Model {
22
22
  export declare class SizeChartExtractAsyncResponseBody extends $dara.Model {
23
23
  /**
24
24
  * @remarks
25
- * The error code. This parameter is not returned when the call is successful.
25
+ * The error code. This parameter is not returned for normal calls.
26
26
  *
27
27
  * @example
28
28
  * success
@@ -30,12 +30,12 @@ export declare class SizeChartExtractAsyncResponseBody extends $dara.Model {
30
30
  code?: string;
31
31
  /**
32
32
  * @remarks
33
- * The submission result of the asynchronous task for size chart extraction.
33
+ * The commit result of the size chart fetch asynchronous task node.
34
34
  */
35
35
  data?: SizeChartExtractAsyncResponseBodyData;
36
36
  /**
37
37
  * @remarks
38
- * The error message. This parameter is not returned when the call is successful.
38
+ * The error message. This parameter is not returned for normal calls.
39
39
  *
40
40
  * @example
41
41
  * OK
@@ -51,7 +51,7 @@ export declare class SizeChartExtractAsyncResponseBody extends $dara.Model {
51
51
  requestId?: string;
52
52
  /**
53
53
  * @remarks
54
- * Indicates whether the call is successful. Valid values: true and false. A value of true indicates that the call is successful. A value of false indicates that the call fails.
54
+ * Indicates whether the call is successful. Valid values: true for success and false for 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 SizeChartExtractAsyncShrinkRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The business order number of the caller. It 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 list of column names to extract, such as Size, Bust, and Length.
@@ -7,7 +15,7 @@ export declare class SizeChartExtractAsyncShrinkRequest extends $dara.Model {
7
15
  columnNameListShrink?: string;
8
16
  /**
9
17
  * @remarks
10
- * The image URL. The image must be in the JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 pixels and 3000 × 3000 pixels. The file size cannot exceed 10 MB.
18
+ * The image URL. The image must be in the JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 pixels and 3000 × 3000 pixels, and the file size cannot exceed 10 MB.
11
19
  *
12
20
  * This parameter is required.
13
21
  *
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class SizeChartExtractAsyncShrinkRequest extends $dara.Model {
40
40
  static names() {
41
41
  return {
42
+ bizId: 'BizId',
42
43
  columnNameListShrink: 'ColumnNameList',
43
44
  imageUrl: 'ImageUrl',
44
45
  languageModel: 'LanguageModel',
@@ -46,6 +47,7 @@ class SizeChartExtractAsyncShrinkRequest extends $dara.Model {
46
47
  }
47
48
  static types() {
48
49
  return {
50
+ bizId: 'string',
49
51
  columnNameListShrink: 'string',
50
52
  imageUrl: 'string',
51
53
  languageModel: 'string',
@@ -1 +1 @@
1
- {"version":3,"file":"SizeChartExtractAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/SizeChartExtractAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAwBjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,oBAAoB,EAAE,gBAAgB;YACtC,QAAQ,EAAE,UAAU;YACpB,aAAa,EAAE,eAAe;SAC/B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,oBAAoB,EAAE,QAAQ;YAC9B,QAAQ,EAAE,QAAQ;YAClB,aAAa,EAAE,QAAQ;SACxB,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;AA/CD,gFA+CC"}
1
+ {"version":3,"file":"SizeChartExtractAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/SizeChartExtractAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAgCjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,oBAAoB,EAAE,gBAAgB;YACtC,QAAQ,EAAE,UAAU;YACpB,aAAa,EAAE,eAAe;SAC/B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,oBAAoB,EAAE,QAAQ;YAC9B,QAAQ,EAAE,QAAQ;YAClB,aAAa,EAAE,QAAQ;SACxB,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;AAzDD,gFAyDC"}
@@ -2,38 +2,38 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class VideoTranslationRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * 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.
5
+ * The list of translation features. Valid values: speech and visual. You can select both. At least one feature is required. Duplicate values are not accepted.
6
6
  *
7
7
  * This parameter is required.
8
8
  */
9
9
  capabilities?: string[];
10
10
  /**
11
11
  * @remarks
12
- * Specifies whether to enable the quality check for on-screen text processing. Default value: `false`. The quality check is enabled only when `visual` is included and this parameter is 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 errors are reported due to this parameter. Enabling the quality check may increase the waiting time. Do not enable it unless necessary.
12
+ * Specifies whether to enable quality inspection for on-screen text processing. Effective only when visual is included and this parameter is explicitly set to true. If only speech is selected, this parameter is ignored, no quality inspection is performed, no quality inspection fields are returned, and no error is reported due to this parameter. Enabling quality inspection may increase the processing time. Do not enable it unless necessary. Default value: false.
13
13
  *
14
14
  * @example
15
- * true
15
+ * false
16
16
  */
17
17
  enableQualityCheck?: boolean;
18
18
  /**
19
19
  * @remarks
20
- * Specifies whether to only erase the source language text on the screen without translating it. This parameter is valid only when `visual` is included. Valid values: `true` (only erases the text) and `false` (translates the on-screen text). Default value: `false`.
20
+ * Applicable only when visual is included. Specifies whether to erase on-screen text without translation. Valid values: true: erases on-screen text without translation. false: translates on-screen text. Default value: false.
21
21
  *
22
22
  * @example
23
- * true
23
+ * false
24
24
  */
25
25
  eraseOnly?: boolean;
26
26
  /**
27
27
  * @remarks
28
- * Specifies whether to remove the brand logo. This parameter is valid only when `visual` is included. Valid values: `true` (removes the brand logo) and `false` (retains the logo). Default value: `false`. This parameter is independent of `EraseOnly`.
28
+ * Applicable only when visual is included. Specifies whether to erase brand logos. Valid values: true: erases brand logos. false: retains brand logos. Default value: false. This parameter is independent of EraseOnly.
29
29
  *
30
30
  * @example
31
- * true
31
+ * false
32
32
  */
33
33
  removeLogo?: boolean;
34
34
  /**
35
35
  * @remarks
36
- * The source language. For supported languages, see Language support.
36
+ * The original language of the video (source language). For supported languages, see Language support.
37
37
  *
38
38
  * @example
39
39
  * zh
@@ -41,18 +41,18 @@ export declare class VideoTranslationRequest extends $dara.Model {
41
41
  sourceLanguage?: string;
42
42
  /**
43
43
  * @remarks
44
- * The subtitle processing mode. This parameter is valid only when `speech` is included. Valid values: `erase` (removes only the original subtitles) and `replace` (removes the original subtitles and adds new subtitles). If this parameter is omitted, the original subtitles are not processed and no new subtitles are added.
44
+ * Applicable 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 not specified, the original subtitles are not processed, which means neither erasing the original subtitles nor adding new subtitles.
45
45
  *
46
46
  * @example
47
- * erase
47
+ * replace
48
48
  */
49
49
  subtitleMode?: string;
50
50
  /**
51
51
  * @remarks
52
- * The target language. This parameter is required.
52
+ * Required when speech is included. Optional when only visual is included and EraseOnly is set to true. If specified in this case, it is ignored. Required in other cases.
53
53
  *
54
54
  * @example
55
- * ru
55
+ * en
56
56
  */
57
57
  targetLanguage?: string;
58
58
  /**
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class VideoTranslationResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The ID of the asynchronous task. You can use this ID for subsequent queries.
5
+ * The ID of the asynchronous task, which is used for subsequent queries.
6
6
  *
7
7
  * @example
8
8
  * 0ea3b66e88a543658520c994f08896a0
@@ -30,12 +30,12 @@ export declare class VideoTranslationResponseBody extends $dara.Model {
30
30
  code?: string;
31
31
  /**
32
32
  * @remarks
33
- * The result of the asynchronous task submission.
33
+ * The submission result of the asynchronous task.
34
34
  */
35
35
  data?: VideoTranslationResponseBodyData;
36
36
  /**
37
37
  * @remarks
38
- * The description.
38
+ * The description message.
39
39
  *
40
40
  * @example
41
41
  * Translation processing
@@ -51,7 +51,7 @@ export declare class VideoTranslationResponseBody extends $dara.Model {
51
51
  requestId?: string;
52
52
  /**
53
53
  * @remarks
54
- * Indicates whether the call is successful. Valid values: `true` (successful) and `false` (failed).
54
+ * Indicates whether the call is successful. Valid values: true: The call is successful. false: The call fails.
55
55
  *
56
56
  * @example
57
57
  * True