@alicloud/aidge20260428 5.5.0 → 5.7.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 (160) hide show
  1. package/dist/client.d.ts +520 -490
  2. package/dist/client.js +595 -490
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AiTryOnRequest.d.ts +42 -0
  5. package/dist/models/AiTryOnRequest.js +64 -0
  6. package/dist/models/AiTryOnRequest.js.map +1 -0
  7. package/dist/models/AiTryOnResponse.d.ts +19 -0
  8. package/dist/models/AiTryOnResponse.js +69 -0
  9. package/dist/models/AiTryOnResponse.js.map +1 -0
  10. package/dist/models/AiTryOnResponseBody.d.ts +90 -0
  11. package/dist/models/AiTryOnResponseBody.js +120 -0
  12. package/dist/models/AiTryOnResponseBody.js.map +1 -0
  13. package/dist/models/AssetOptimizeLiteRequest.d.ts +2 -2
  14. package/dist/models/AssetOptimizeLiteResponseBody.d.ts +1 -3
  15. package/dist/models/AssetOptimizeLiteResponseBody.js +0 -2
  16. package/dist/models/AssetOptimizeLiteResponseBody.js.map +1 -1
  17. package/dist/models/AssetOptimizeProRequest.d.ts +5 -5
  18. package/dist/models/AssetOptimizeProResponseBody.d.ts +4 -4
  19. package/dist/models/AssetOptimizeProShrinkRequest.d.ts +5 -5
  20. package/dist/models/CategoryAttributeMatchRequest.d.ts +5 -5
  21. package/dist/models/CategoryAttributeMatchResponseBody.d.ts +5 -5
  22. package/dist/models/CategoryAttributeMatchShrinkRequest.d.ts +5 -5
  23. package/dist/models/CategoryMatchRequest.d.ts +7 -7
  24. package/dist/models/CategoryMatchResponseBody.d.ts +8 -8
  25. package/dist/models/DiduiAreaDeductionRequest.d.ts +2 -2
  26. package/dist/models/DiduiAreaDeductionResponseBody.d.ts +4 -4
  27. package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +1 -1
  28. package/dist/models/DocumentTranslateRequest.d.ts +1 -1
  29. package/dist/models/DocumentTranslateResponseBody.d.ts +3 -3
  30. package/dist/models/EcomVideoRecreationRequest.d.ts +12 -12
  31. package/dist/models/EcomVideoRecreationResponseBody.d.ts +2 -2
  32. package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +1 -1
  33. package/dist/models/ImageMattingRequest.d.ts +1 -1
  34. package/dist/models/ImageMattingResponseBody.d.ts +2 -3
  35. package/dist/models/ImageMattingResponseBody.js.map +1 -1
  36. package/dist/models/ImageRecognitionRequest.d.ts +2 -2
  37. package/dist/models/ImageRecognitionResponseBody.d.ts +5 -5
  38. package/dist/models/ImageRecognitionShrinkRequest.d.ts +2 -2
  39. package/dist/models/ImageRemovalProRequest.d.ts +2 -2
  40. package/dist/models/ImageRemovalProResponseBody.d.ts +3 -3
  41. package/dist/models/ImageRemoveRequest.d.ts +9 -9
  42. package/dist/models/ImageRemoveResponseBody.d.ts +2 -2
  43. package/dist/models/ImageRemoveShrinkRequest.d.ts +9 -9
  44. package/dist/models/ImageTranslationPlusResponseBody.d.ts +3 -3
  45. package/dist/models/ImageTranslationProRequest.d.ts +6 -6
  46. package/dist/models/ImageTranslationProResponseBody.d.ts +14 -14
  47. package/dist/models/ImageTranslationStandardRequest.d.ts +2 -2
  48. package/dist/models/ImageTranslationStandardResponseBody.d.ts +7 -7
  49. package/dist/models/LanguageDetectRequest.d.ts +2 -2
  50. package/dist/models/LanguageDetectResponseBody.d.ts +3 -3
  51. package/dist/models/MaterialInspectionRequest.d.ts +5 -5
  52. package/dist/models/MaterialInspectionResponseBody.d.ts +6 -11
  53. package/dist/models/MaterialInspectionResponseBody.js.map +1 -1
  54. package/dist/models/MerchandisePlacementDetectionRequest.d.ts +5 -5
  55. package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +9 -9
  56. package/dist/models/PackageWeightSizeCheckRequest.d.ts +1 -1
  57. package/dist/models/PackageWeightSizeCheckResponseBody.d.ts +4 -4
  58. package/dist/models/PrepaidTextTranslateRequest.d.ts +3 -3
  59. package/dist/models/PrepaidTextTranslateResponseBody.d.ts +6 -6
  60. package/dist/models/PrepaidTextTranslateShrinkRequest.d.ts +3 -3
  61. package/dist/models/ProductHotspotDetectionResponseBody.d.ts +2 -2
  62. package/dist/models/SizeChartDetectResponseBody.d.ts +3 -4
  63. package/dist/models/SizeChartDetectResponseBody.js.map +1 -1
  64. package/dist/models/SizeChartExtractRequest.d.ts +2 -2
  65. package/dist/models/SizeChartExtractResponseBody.d.ts +1 -1
  66. package/dist/models/SizeChartExtractShrinkRequest.d.ts +2 -2
  67. package/dist/models/SubmitProductMatchRequest.d.ts +77 -0
  68. package/dist/models/SubmitProductMatchRequest.js +70 -0
  69. package/dist/models/SubmitProductMatchRequest.js.map +1 -0
  70. package/dist/models/SubmitProductMatchResponse.d.ts +19 -0
  71. package/dist/models/SubmitProductMatchResponse.js +69 -0
  72. package/dist/models/SubmitProductMatchResponse.js.map +1 -0
  73. package/dist/models/SubmitProductMatchResponseBody.d.ts +80 -0
  74. package/dist/models/SubmitProductMatchResponseBody.js +90 -0
  75. package/dist/models/SubmitProductMatchResponseBody.js.map +1 -0
  76. package/dist/models/TextCorrectResponseBody.d.ts +1 -1
  77. package/dist/models/TextTranslateRequest.d.ts +13 -16
  78. package/dist/models/TextTranslateRequest.js.map +1 -1
  79. package/dist/models/TextTranslateResponseBody.d.ts +2 -2
  80. package/dist/models/TextTranslateShrinkRequest.d.ts +13 -16
  81. package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
  82. package/dist/models/VideoTranslationRequest.d.ts +2 -2
  83. package/dist/models/VideoTranslationResponseBody.d.ts +1 -1
  84. package/dist/models/VideoTranslationShrinkRequest.d.ts +2 -2
  85. package/dist/models/VirtualTryOnResponseBody.d.ts +3 -3
  86. package/dist/models/VisionFlowRequest.d.ts +15 -15
  87. package/dist/models/VisionFlowResponseBody.d.ts +1 -1
  88. package/dist/models/VisionFlowShrinkRequest.d.ts +15 -15
  89. package/dist/models/model.d.ts +9 -0
  90. package/dist/models/model.js +22 -4
  91. package/dist/models/model.js.map +1 -1
  92. package/package.json +1 -1
  93. package/src/client.ts +610 -490
  94. package/src/models/AiTryOnRequest.ts +61 -0
  95. package/src/models/AiTryOnResponse.ts +40 -0
  96. package/src/models/AiTryOnResponseBody.ts +145 -0
  97. package/src/models/AssetOptimizeLiteRequest.ts +2 -2
  98. package/src/models/AssetOptimizeLiteResponseBody.ts +1 -3
  99. package/src/models/AssetOptimizeProRequest.ts +5 -5
  100. package/src/models/AssetOptimizeProResponseBody.ts +4 -4
  101. package/src/models/AssetOptimizeProShrinkRequest.ts +5 -5
  102. package/src/models/CategoryAttributeMatchRequest.ts +5 -5
  103. package/src/models/CategoryAttributeMatchResponseBody.ts +5 -5
  104. package/src/models/CategoryAttributeMatchShrinkRequest.ts +5 -5
  105. package/src/models/CategoryMatchRequest.ts +7 -7
  106. package/src/models/CategoryMatchResponseBody.ts +8 -8
  107. package/src/models/DiduiAreaDeductionRequest.ts +2 -2
  108. package/src/models/DiduiAreaDeductionResponseBody.ts +4 -4
  109. package/src/models/DiduiAreaDeductionShrinkRequest.ts +1 -1
  110. package/src/models/DocumentTranslateRequest.ts +1 -1
  111. package/src/models/DocumentTranslateResponseBody.ts +3 -3
  112. package/src/models/EcomVideoRecreationRequest.ts +12 -12
  113. package/src/models/EcomVideoRecreationResponseBody.ts +2 -2
  114. package/src/models/EcomVideoRecreationShrinkRequest.ts +1 -1
  115. package/src/models/ImageMattingRequest.ts +1 -1
  116. package/src/models/ImageMattingResponseBody.ts +2 -3
  117. package/src/models/ImageRecognitionRequest.ts +2 -2
  118. package/src/models/ImageRecognitionResponseBody.ts +5 -5
  119. package/src/models/ImageRecognitionShrinkRequest.ts +2 -2
  120. package/src/models/ImageRemovalProRequest.ts +2 -2
  121. package/src/models/ImageRemovalProResponseBody.ts +3 -3
  122. package/src/models/ImageRemoveRequest.ts +9 -9
  123. package/src/models/ImageRemoveResponseBody.ts +2 -2
  124. package/src/models/ImageRemoveShrinkRequest.ts +9 -9
  125. package/src/models/ImageTranslationPlusResponseBody.ts +3 -3
  126. package/src/models/ImageTranslationProRequest.ts +6 -6
  127. package/src/models/ImageTranslationProResponseBody.ts +14 -14
  128. package/src/models/ImageTranslationStandardRequest.ts +2 -2
  129. package/src/models/ImageTranslationStandardResponseBody.ts +7 -7
  130. package/src/models/LanguageDetectRequest.ts +2 -2
  131. package/src/models/LanguageDetectResponseBody.ts +3 -3
  132. package/src/models/MaterialInspectionRequest.ts +5 -5
  133. package/src/models/MaterialInspectionResponseBody.ts +6 -11
  134. package/src/models/MerchandisePlacementDetectionRequest.ts +5 -5
  135. package/src/models/MerchandisePlacementDetectionResponseBody.ts +9 -9
  136. package/src/models/PackageWeightSizeCheckRequest.ts +1 -1
  137. package/src/models/PackageWeightSizeCheckResponseBody.ts +4 -4
  138. package/src/models/PrepaidTextTranslateRequest.ts +3 -3
  139. package/src/models/PrepaidTextTranslateResponseBody.ts +6 -6
  140. package/src/models/PrepaidTextTranslateShrinkRequest.ts +3 -3
  141. package/src/models/ProductHotspotDetectionResponseBody.ts +2 -2
  142. package/src/models/SizeChartDetectResponseBody.ts +3 -4
  143. package/src/models/SizeChartExtractRequest.ts +2 -2
  144. package/src/models/SizeChartExtractResponseBody.ts +1 -1
  145. package/src/models/SizeChartExtractShrinkRequest.ts +2 -2
  146. package/src/models/SubmitProductMatchRequest.ts +102 -0
  147. package/src/models/SubmitProductMatchResponse.ts +40 -0
  148. package/src/models/SubmitProductMatchResponseBody.ts +116 -0
  149. package/src/models/TextCorrectResponseBody.ts +1 -1
  150. package/src/models/TextTranslateRequest.ts +13 -16
  151. package/src/models/TextTranslateResponseBody.ts +2 -2
  152. package/src/models/TextTranslateShrinkRequest.ts +13 -16
  153. package/src/models/VideoTranslationRequest.ts +2 -2
  154. package/src/models/VideoTranslationResponseBody.ts +1 -1
  155. package/src/models/VideoTranslationShrinkRequest.ts +2 -2
  156. package/src/models/VirtualTryOnResponseBody.ts +3 -3
  157. package/src/models/VisionFlowRequest.ts +15 -15
  158. package/src/models/VisionFlowResponseBody.ts +1 -1
  159. package/src/models/VisionFlowShrinkRequest.ts +15 -15
  160. package/src/models/model.ts +9 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SizeChartExtractResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The asynchronous task ID, used to query the result later.
8
+ * The asynchronous task ID, which is used to query the result later.
9
9
  *
10
10
  * @example
11
11
  * task-xxxxx
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SizeChartExtractShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The list of column names (such as Size, Bust, Length).
8
+ * The list of column names (such as Size, Bust, and Length).
9
9
  *
10
10
  * @example
11
11
  * ["Size","Bust","Length"]
@@ -23,7 +23,7 @@ export class SizeChartExtractShrinkRequest extends $dara.Model {
23
23
  imageUrl?: string;
24
24
  /**
25
25
  * @remarks
26
- * The language model for output (such as en, cn). Set this parameter to cn for Chinese or en for English. If not specified, the original language is preserved.
26
+ * The language model (such as en and cn).
27
27
  *
28
28
  * @example
29
29
  * en
@@ -0,0 +1,102 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SubmitProductMatchRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The product brand. If this value is not specified, the system attempts to extract the brand from the shop name.
9
+ *
10
+ * @example
11
+ * FILA
12
+ */
13
+ brandName?: string;
14
+ /**
15
+ * @remarks
16
+ * The Miaojie product category. Currently used for extension and auditing purposes.
17
+ *
18
+ * @example
19
+ * Children\\"s Shoes
20
+ */
21
+ category?: string;
22
+ /**
23
+ * @remarks
24
+ * The HTTP or HTTPS URL of the product main image.
25
+ *
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * https://example.com/items/228516909/main.jpg
30
+ */
31
+ imageUrl?: string;
32
+ /**
33
+ * @remarks
34
+ * The Miaojie product ID.
35
+ *
36
+ * This parameter is required.
37
+ *
38
+ * @example
39
+ * 228516909
40
+ */
41
+ itemId?: string;
42
+ /**
43
+ * @remarks
44
+ * The HTTP or HTTPS URL of the product detail page.
45
+ *
46
+ * @example
47
+ * https://example.com/items/228516909
48
+ */
49
+ productUrl?: string;
50
+ /**
51
+ * @remarks
52
+ * The shop name. This value is also used as the extraction source when the brand name is missing.
53
+ *
54
+ * This parameter is required.
55
+ *
56
+ * @example
57
+ * FILA斐乐官方旗舰店
58
+ */
59
+ shopName?: string;
60
+ /**
61
+ * @remarks
62
+ * The product title.
63
+ *
64
+ * This parameter is required.
65
+ *
66
+ * @example
67
+ * FILA Kids Training Shoes
68
+ */
69
+ title?: string;
70
+ static names(): { [key: string]: string } {
71
+ return {
72
+ brandName: 'BrandName',
73
+ category: 'Category',
74
+ imageUrl: 'ImageUrl',
75
+ itemId: 'ItemId',
76
+ productUrl: 'ProductUrl',
77
+ shopName: 'ShopName',
78
+ title: 'Title',
79
+ };
80
+ }
81
+
82
+ static types(): { [key: string]: any } {
83
+ return {
84
+ brandName: 'string',
85
+ category: 'string',
86
+ imageUrl: 'string',
87
+ itemId: 'string',
88
+ productUrl: 'string',
89
+ shopName: 'string',
90
+ title: 'string',
91
+ };
92
+ }
93
+
94
+ validate() {
95
+ super.validate();
96
+ }
97
+
98
+ constructor(map?: { [key: string]: any }) {
99
+ super(map);
100
+ }
101
+ }
102
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { SubmitProductMatchResponseBody } from "./SubmitProductMatchResponseBody";
4
+
5
+
6
+ export class SubmitProductMatchResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: SubmitProductMatchResponseBody;
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: SubmitProductMatchResponseBody,
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,116 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SubmitProductMatchResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The task acceptance time in ISO 8601 UTC format.
9
+ *
10
+ * @example
11
+ * 2026-08-20T09:30:00Z
12
+ */
13
+ submittedAt?: string;
14
+ /**
15
+ * @remarks
16
+ * The asynchronous task ID used for QueryAsyncTaskResult queries.
17
+ *
18
+ * @example
19
+ * b7ea15cb609f47b7999d2d68dfbf3c90
20
+ */
21
+ taskId?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ submittedAt: 'SubmittedAt',
25
+ taskId: 'TaskId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ submittedAt: 'string',
32
+ taskId: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class SubmitProductMatchResponseBody extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The error code. This parameter is not returned if the call is successful.
49
+ *
50
+ * @example
51
+ * 200
52
+ */
53
+ code?: string;
54
+ /**
55
+ * @remarks
56
+ * The submit result of the matching product identification asynchronous task.
57
+ */
58
+ data?: SubmitProductMatchResponseBodyData;
59
+ /**
60
+ * @remarks
61
+ * The error message. This parameter is not returned if the call is successful.
62
+ *
63
+ * @example
64
+ * OK
65
+ */
66
+ message?: string;
67
+ /**
68
+ * @remarks
69
+ * Id of the request
70
+ *
71
+ * @example
72
+ * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
73
+ */
74
+ requestId?: string;
75
+ /**
76
+ * @remarks
77
+ * Indicates whether the call is successful. Valid values:
78
+ * - true: The call is successful.
79
+ * - false: The call failed.
80
+ *
81
+ * @example
82
+ * True
83
+ */
84
+ success?: boolean;
85
+ static names(): { [key: string]: string } {
86
+ return {
87
+ code: 'Code',
88
+ data: 'Data',
89
+ message: 'Message',
90
+ requestId: 'RequestId',
91
+ success: 'Success',
92
+ };
93
+ }
94
+
95
+ static types(): { [key: string]: any } {
96
+ return {
97
+ code: 'string',
98
+ data: SubmitProductMatchResponseBodyData,
99
+ message: 'string',
100
+ requestId: 'string',
101
+ success: 'boolean',
102
+ };
103
+ }
104
+
105
+ validate() {
106
+ if(this.data && typeof (this.data as any).validate === 'function') {
107
+ (this.data as any).validate();
108
+ }
109
+ super.validate();
110
+ }
111
+
112
+ constructor(map?: { [key: string]: any }) {
113
+ super(map);
114
+ }
115
+ }
116
+
@@ -61,7 +61,7 @@ export class TextCorrectResponseBody extends $dara.Model {
61
61
  data?: TextCorrectResponseBodyData;
62
62
  /**
63
63
  * @remarks
64
- * The error message. The value "Success" is returned if the call is successful. A specific error message is returned if an exception occurs, such as "The parameters contain sensitive information. Try other input."
64
+ * The error message. The value "Success" is returned if the call is successful. If an error occurs, a specific error message is returned, such as "The parameters contain sensitive information. Try other input."
65
65
  *
66
66
  * @example
67
67
  * Success
@@ -5,9 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class TextTranslateRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * This field represents your identity and facilitates communication for various issues.
9
- * ● If you are an Alibaba internal organization, specify a value based on your actual scenario, such as BU name-product or BU name-chat.
10
- * ● If you are an external Alibaba partner, specify the full name of your company. This company name must be consistent with the company name used when you registered your Alibaba Cloud account.
8
+ * This field represents your identity and facilitates communication for various issues. If you are an Alibaba internal organization, specify a value based on your actual scenario, such as BU name-product or BU name-chat. If you are an external Alibaba partner, specify the full name of your company. This company name must be consistent with the company name used when you registered your Alibaba Cloud account.
11
9
  *
12
10
  * @example
13
11
  * MyCompany-Chat
@@ -15,7 +13,7 @@ export class TextTranslateRequest extends $dara.Model {
15
13
  bizName?: string;
16
14
  /**
17
15
  * @remarks
18
- * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format, which preserves HTML tags).
16
+ * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format that preserves HTML tags).
19
17
  *
20
18
  * @example
21
19
  * text
@@ -23,7 +21,7 @@ export class TextTranslateRequest extends $dara.Model {
23
21
  formatType?: string;
24
22
  /**
25
23
  * @remarks
26
- * The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console, and its ID must be provided. If the glossary ID is empty, the translation results are not modified.
24
+ * The intervention glossary ID. This parameter is optional. You must create the glossary separately in the console and provide its ID. If the glossary ID is empty, the translation results are not modified.
27
25
  *
28
26
  * @example
29
27
  * glossary_1
@@ -31,7 +29,7 @@ export class TextTranslateRequest extends $dara.Model {
31
29
  glossary?: string;
32
30
  /**
33
31
  * @remarks
34
- * The source language code. This parameter is optional. If not specified, the language is automatically detected. You can set this parameter to auto for language detection. For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
32
+ * The source language code. If not specified, the language is automatically detected. This parameter is optional. You can set it to auto for language detection. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
35
33
  *
36
34
  * @example
37
35
  * auto
@@ -39,7 +37,7 @@ export class TextTranslateRequest extends $dara.Model {
39
37
  sourceLanguage?: string;
40
38
  /**
41
39
  * @remarks
42
- * The list of texts to translate. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
40
+ * The list of texts to be translated. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
43
41
  *
44
42
  * This parameter is required.
45
43
  *
@@ -49,7 +47,7 @@ export class TextTranslateRequest extends $dara.Model {
49
47
  sourceTextList?: string[];
50
48
  /**
51
49
  * @remarks
52
- * The target language code. This parameter is required. For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
50
+ * The target language code. This parameter is required. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
53
51
  *
54
52
  * This parameter is required.
55
53
  *
@@ -59,14 +57,13 @@ export class TextTranslateRequest extends $dara.Model {
59
57
  targetLanguage?: string;
60
58
  /**
61
59
  * @remarks
62
- * The business scenario identifier. You can pass in only one of the following values. When specified, the translation engine invokes the corresponding industry terminology library and style strategy to produce translations that better fit the industry. If this field is not specified or an invalid value is passed, the general translation strategy is used.
63
- * Valid values:
64
- * ● e-commerce-title: cross-border e-commerce product title translation
65
- * ● e-commerce-description: cross-border e-commerce product description translation
66
- * ● e-commerce-chat: cross-border e-commerce conversation translation
67
- * ● e-commerce-cpv: cross-border e-commerce product CPV attribute translation
68
- * ● novel: novel translation
69
- * ● game: game translation
60
+ * The business scenario identifier. You can pass in only one of the following values. When specified, the translation engine invokes the corresponding industry terminology library and style strategy to produce translations that better fit the industry. If this field is not specified or an invalid value is passed, the general translation strategy is used. Valid values:
61
+ * - e-commerce-title: cross-border e-commerce product title translation.
62
+ * - e-commerce-description: cross-border e-commerce product description translation.
63
+ * - e-commerce-chat: cross-border e-commerce conversation translation.
64
+ * - e-commerce-cpv: cross-border e-commerce product CPV attribute translation.
65
+ * - novel: novel translation.
66
+ * - game: game translation.
70
67
  *
71
68
  * @example
72
69
  * e-commerce-title
@@ -111,7 +111,7 @@ export class TextTranslateResponseBody extends $dara.Model {
111
111
  data?: TextTranslateResponseBodyData;
112
112
  /**
113
113
  * @remarks
114
- * The error message. The value "Success" is returned for successful calls. For exceptions, a specific error message is returned, such as "The parameters contain sensitive information. Try other input."
114
+ * The error message. The value "Success" is returned for successful calls. For failed calls, a specific error message is returned, such as "The parameters contain sensitive information. Try other input."
115
115
  *
116
116
  * @example
117
117
  * Success
@@ -119,7 +119,7 @@ export class TextTranslateResponseBody extends $dara.Model {
119
119
  message?: string;
120
120
  /**
121
121
  * @remarks
122
- * The request ID, which uniquely identifies a single API call.
122
+ * The request ID, used to uniquely identify a request.
123
123
  *
124
124
  * @example
125
125
  * 922E43BB-EE0E-1A29-B143-BB91BB3EA6AB
@@ -5,9 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class TextTranslateShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * This field represents your identity and facilitates communication for various issues.
9
- * ● If you are an Alibaba internal organization, specify a value based on your actual scenario, such as BU name-product or BU name-chat.
10
- * ● If you are an external Alibaba partner, specify the full name of your company. This company name must be consistent with the company name used when you registered your Alibaba Cloud account.
8
+ * This field represents your identity and facilitates communication for various issues. If you are an Alibaba internal organization, specify a value based on your actual scenario, such as BU name-product or BU name-chat. If you are an external Alibaba partner, specify the full name of your company. This company name must be consistent with the company name used when you registered your Alibaba Cloud account.
11
9
  *
12
10
  * @example
13
11
  * MyCompany-Chat
@@ -15,7 +13,7 @@ export class TextTranslateShrinkRequest extends $dara.Model {
15
13
  bizName?: string;
16
14
  /**
17
15
  * @remarks
18
- * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format, which preserves HTML tags).
16
+ * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format that preserves HTML tags).
19
17
  *
20
18
  * @example
21
19
  * text
@@ -23,7 +21,7 @@ export class TextTranslateShrinkRequest extends $dara.Model {
23
21
  formatType?: string;
24
22
  /**
25
23
  * @remarks
26
- * The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console, and its ID must be provided. If the glossary ID is empty, the translation results are not modified.
24
+ * The intervention glossary ID. This parameter is optional. You must create the glossary separately in the console and provide its ID. If the glossary ID is empty, the translation results are not modified.
27
25
  *
28
26
  * @example
29
27
  * glossary_1
@@ -31,7 +29,7 @@ export class TextTranslateShrinkRequest extends $dara.Model {
31
29
  glossary?: string;
32
30
  /**
33
31
  * @remarks
34
- * The source language code. This parameter is optional. If not specified, the language is automatically detected. You can set this parameter to auto for language detection. For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
32
+ * The source language code. If not specified, the language is automatically detected. This parameter is optional. You can set it to auto for language detection. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
35
33
  *
36
34
  * @example
37
35
  * auto
@@ -39,7 +37,7 @@ export class TextTranslateShrinkRequest extends $dara.Model {
39
37
  sourceLanguage?: string;
40
38
  /**
41
39
  * @remarks
42
- * The list of texts to translate. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
40
+ * The list of texts to be translated. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
43
41
  *
44
42
  * This parameter is required.
45
43
  *
@@ -49,7 +47,7 @@ export class TextTranslateShrinkRequest extends $dara.Model {
49
47
  sourceTextListShrink?: string;
50
48
  /**
51
49
  * @remarks
52
- * The target language code. This parameter is required. For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
50
+ * The target language code. This parameter is required. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
53
51
  *
54
52
  * This parameter is required.
55
53
  *
@@ -59,14 +57,13 @@ export class TextTranslateShrinkRequest extends $dara.Model {
59
57
  targetLanguage?: string;
60
58
  /**
61
59
  * @remarks
62
- * The business scenario identifier. You can pass in only one of the following values. When specified, the translation engine invokes the corresponding industry terminology library and style strategy to produce translations that better fit the industry. If this field is not specified or an invalid value is passed, the general translation strategy is used.
63
- * Valid values:
64
- * ● e-commerce-title: cross-border e-commerce product title translation
65
- * ● e-commerce-description: cross-border e-commerce product description translation
66
- * ● e-commerce-chat: cross-border e-commerce conversation translation
67
- * ● e-commerce-cpv: cross-border e-commerce product CPV attribute translation
68
- * ● novel: novel translation
69
- * ● game: game translation
60
+ * The business scenario identifier. You can pass in only one of the following values. When specified, the translation engine invokes the corresponding industry terminology library and style strategy to produce translations that better fit the industry. If this field is not specified or an invalid value is passed, the general translation strategy is used. Valid values:
61
+ * - e-commerce-title: cross-border e-commerce product title translation.
62
+ * - e-commerce-description: cross-border e-commerce product description translation.
63
+ * - e-commerce-chat: cross-border e-commerce conversation translation.
64
+ * - e-commerce-cpv: cross-border e-commerce product CPV attribute translation.
65
+ * - novel: novel translation.
66
+ * - game: game translation.
70
67
  *
71
68
  * @example
72
69
  * e-commerce-title
@@ -12,7 +12,7 @@ export class VideoTranslationRequest extends $dara.Model {
12
12
  capabilities?: string[];
13
13
  /**
14
14
  * @remarks
15
- * The source language. This parameter is optional. Default value: auto (automatic detection).
15
+ * The source language. This parameter is optional. Default value: auto, which indicates automatic detection.
16
16
  *
17
17
  * @example
18
18
  * zh
@@ -30,7 +30,7 @@ export class VideoTranslationRequest extends $dara.Model {
30
30
  targetLanguage?: string;
31
31
  /**
32
32
  * @remarks
33
- * The video URL (MP4/MOV, ≤ 200 MB).
33
+ * The URL of the video (MP4/MOV, ≤ 200 MB).
34
34
  *
35
35
  * This parameter is required.
36
36
  *
@@ -43,7 +43,7 @@ export class VideoTranslationResponseBody extends $dara.Model {
43
43
  code?: string;
44
44
  /**
45
45
  * @remarks
46
- * The asynchronous task submit result.
46
+ * The submit status of the asynchronous task.
47
47
  */
48
48
  data?: VideoTranslationResponseBodyData;
49
49
  /**
@@ -12,7 +12,7 @@ export class VideoTranslationShrinkRequest extends $dara.Model {
12
12
  capabilitiesShrink?: string;
13
13
  /**
14
14
  * @remarks
15
- * The source language. This parameter is optional. Default value: auto (automatic detection).
15
+ * The source language. This parameter is optional. Default value: auto, which indicates automatic detection.
16
16
  *
17
17
  * @example
18
18
  * zh
@@ -30,7 +30,7 @@ export class VideoTranslationShrinkRequest extends $dara.Model {
30
30
  targetLanguage?: string;
31
31
  /**
32
32
  * @remarks
33
- * The video URL (MP4/MOV, ≤ 200 MB).
33
+ * The URL of the video (MP4/MOV, ≤ 200 MB).
34
34
  *
35
35
  * This parameter is required.
36
36
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class VirtualTryOnResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The asynchronous task ID. Used to query the task result later.
8
+ * The asynchronous task ID, which is used to query the task result later.
9
9
  *
10
10
  * @example
11
11
  * task-xxxx-xxxx-xxxx
@@ -66,7 +66,7 @@ export class VirtualTryOnResponseBody extends $dara.Model {
66
66
  message?: string;
67
67
  /**
68
68
  * @remarks
69
- * The request ID. Used to uniquely identify a single API call.
69
+ * The request ID, which uniquely identifies the request.
70
70
  *
71
71
  * @example
72
72
  * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
@@ -74,7 +74,7 @@ export class VirtualTryOnResponseBody 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. A value of false indicates failure.
77
+ * Indicates whether the call is successful. Valid values: true: The call is successful. false: The call failed.
78
78
  *
79
79
  * @example
80
80
  * True