/** * MailSlurp API * MailSlurp is an API for sending and receiving emails and SMS from dynamically allocated email addresses and phone numbers. It\'s designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository * * The version of the OpenAPI document: 6.5.2 * Contact: contact@mailslurp.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Options for extracting text from an attachment. Choose a method and whether fallback is allowed. * @export * @interface ExtractAttachmentTextOptions */ export interface ExtractAttachmentTextOptions { /** * Method for extracting text from attachments. * @type {string} * @memberof ExtractAttachmentTextOptions */ method?: ExtractAttachmentTextOptionsMethodEnum; /** * Allow fallback to native extraction when the selected method is unavailable. * @type {boolean} * @memberof ExtractAttachmentTextOptions */ allowFallback?: boolean; /** * Maximum bytes to read from attachment for native text extraction. * @type {number} * @memberof ExtractAttachmentTextOptions */ maxBytes?: number | null; } /** * @export * @enum {string} */ export declare enum ExtractAttachmentTextOptionsMethodEnum { AUTO = "AUTO", NATIVE = "NATIVE", OCR = "OCR", LLM = "LLM", OCR_THEN_LLM = "OCR_THEN_LLM" } export declare function ExtractAttachmentTextOptionsFromJSON(json: any): ExtractAttachmentTextOptions; export declare function ExtractAttachmentTextOptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtractAttachmentTextOptions; export declare function ExtractAttachmentTextOptionsToJSON(value?: ExtractAttachmentTextOptions | null): any;