/** * 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. */ /** * Extracted text result for an attachment * @export * @interface ExtractAttachmentTextResult */ export interface ExtractAttachmentTextResult { /** * True if extracted text is present * @type {boolean} * @memberof ExtractAttachmentTextResult */ present: boolean; /** * Extracted text when present * @type {string} * @memberof ExtractAttachmentTextResult */ text?: string | null; /** * Method for extracting text from attachments. * @type {string} * @memberof ExtractAttachmentTextResult */ methodUsed?: ExtractAttachmentTextResultMethodUsedEnum; /** * Detected attachment content type * @type {string} * @memberof ExtractAttachmentTextResult */ contentType?: string | null; /** * Warnings or fallback notes * @type {Array} * @memberof ExtractAttachmentTextResult */ warnings: Array; } /** * @export * @enum {string} */ export declare enum ExtractAttachmentTextResultMethodUsedEnum { AUTO = "AUTO", NATIVE = "NATIVE", OCR = "OCR", LLM = "LLM", OCR_THEN_LLM = "OCR_THEN_LLM" } export declare function ExtractAttachmentTextResultFromJSON(json: any): ExtractAttachmentTextResult; export declare function ExtractAttachmentTextResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtractAttachmentTextResult; export declare function ExtractAttachmentTextResultToJSON(value?: ExtractAttachmentTextResult | null): any;