import * as $dara from '@darabonba/typescript'; export declare class TextTranslateRequest extends $dara.Model { /** * @remarks * This field represents your identity and facilitates subsequent communication on 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. * * @example * MyCompany-Chat */ bizName?: string; /** * @remarks * 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). * * @example * text */ formatType?: string; /** * @remarks * 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 specified glossary ID is empty, the translation results are not modified. * * @example * glossary_1 */ glossary?: string; /** * @remarks * The source language code. If this parameter is not specified, the language is automatically detected. This parameter is optional. You can pass auto for language detection. * For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html) * * For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping) * * @example * auto */ sourceLanguage?: string; /** * @remarks * 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. * * This parameter is required. * * @example * ["Hello world"] */ sourceTextList?: string[]; /** * @remarks * The target language code. This parameter is required. * For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html) * * For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping) * * This parameter is required. * * @example * ko */ targetLanguage?: string; /** * @remarks * The business scenario identifier. You can pass only one of the following values. When specified, the translation engine invokes the corresponding industry terminology library and style policy to produce translations that better fit the industry. If this field is not specified or is specified incorrectly, the general translation policy is used. Valid values: e-commerce-title (cross-border e-commerce product title translation), e-commerce-description (cross-border e-commerce product description translation), e-commerce-chat (cross-border e-commerce conversation translation), e-commerce-cpv (cross-border e-commerce product CPV attribute translation), novel (novel translation), game (game translation). * * @example * e-commerce-title */ translateScene?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }