@alicloud/aidge20260428 3.1.0 → 3.1.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.
@@ -4,13 +4,16 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class TextTranslateShrinkRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The business scenario identifier. Optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, game. If not specified or invalid, the general translation strategy is used by default.
9
+ *
7
10
  * @example
8
11
  * MyCompany-Chat
9
12
  */
10
13
  bizName?: string;
11
14
  /**
12
15
  * @remarks
13
- * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format that preserves HTML tags).
16
+ * The format type of the source text. Optional. Supports text (plain text format) and html (web page format, preserving HTML tags).
14
17
  *
15
18
  * @example
16
19
  * text
@@ -18,7 +21,7 @@ export class TextTranslateShrinkRequest extends $dara.Model {
18
21
  formatType?: string;
19
22
  /**
20
23
  * @remarks
21
- * The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console and its ID provided here. If the glossary ID is empty, the translation result is not modified.
24
+ * The intervention glossary ID. Optional. The glossary must be created separately in the console and its ID provided. If the glossary ID is empty, the translation result is not modified.
22
25
  *
23
26
  * @example
24
27
  * glossary_1
@@ -26,7 +29,7 @@ export class TextTranslateShrinkRequest extends $dara.Model {
26
29
  glossary?: string;
27
30
  /**
28
31
  * @remarks
29
- * The source language code. This parameter is optional. If not specified, the language is automatically detected. You can pass auto for language detection.
32
+ * The source language code. Optional. If not specified, the language is automatically detected. You can pass auto for language detection.
30
33
  *
31
34
  * @example
32
35
  * auto
@@ -34,7 +37,7 @@ export class TextTranslateShrinkRequest extends $dara.Model {
34
37
  sourceLanguage?: string;
35
38
  /**
36
39
  * @remarks
37
- * 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 translate. Required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
38
41
  *
39
42
  * This parameter is required.
40
43
  *
@@ -44,7 +47,7 @@ export class TextTranslateShrinkRequest extends $dara.Model {
44
47
  sourceTextListShrink?: string;
45
48
  /**
46
49
  * @remarks
47
- * The target language code. This parameter is required. More than 100 language directions are supported. For details, refer to the supported language directions list.
50
+ * The target language code. Required. Supports more than 100 language directions. For details, refer to the supported language directions list.
48
51
  *
49
52
  * This parameter is required.
50
53
  *
@@ -53,6 +56,9 @@ export class TextTranslateShrinkRequest extends $dara.Model {
53
56
  */
54
57
  targetLanguage?: string;
55
58
  /**
59
+ * @remarks
60
+ * The format of the translation text. **html** (web page format. This setting processes both the source text and translated text in HTML format). **text** (text format. This setting processes both the source text and translated result as plain text without format processing).
61
+ *
56
62
  * @example
57
63
  * e-commerce-title
58
64
  */
@@ -20,6 +20,12 @@ export { ImageTranslationProResponseBodyDataGenFilesResultList } from './ImageTr
20
20
  export { ImageTranslationProResponseBodyDataGenFiles } from './ImageTranslationProResponseBody';
21
21
  export { ImageTranslationProResponseBodyDataResultList } from './ImageTranslationProResponseBody';
22
22
  export { ImageTranslationProResponseBodyData } from './ImageTranslationProResponseBody';
23
+ export { ImageTranslationStandardResponseBodyDataEditInfoGoodsRects } from './ImageTranslationStandardResponseBody';
24
+ export { ImageTranslationStandardResponseBodyDataEditInfoTextAreasTextsImageRect } from './ImageTranslationStandardResponseBody';
25
+ export { ImageTranslationStandardResponseBodyDataEditInfoTextAreasTextsTextRect } from './ImageTranslationStandardResponseBody';
26
+ export { ImageTranslationStandardResponseBodyDataEditInfoTextAreasTexts } from './ImageTranslationStandardResponseBody';
27
+ export { ImageTranslationStandardResponseBodyDataEditInfoTextAreas } from './ImageTranslationStandardResponseBody';
28
+ export { ImageTranslationStandardResponseBodyDataEditInfo } from './ImageTranslationStandardResponseBody';
23
29
  export { ImageTranslationStandardResponseBodyData } from './ImageTranslationStandardResponseBody';
24
30
  export { LanguageDetectResponseBodyData } from './LanguageDetectResponseBody';
25
31
  export { MaterialInspectionResponseBodyDataResultSteps } from './MaterialInspectionResponseBody';