/** * 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. */ import { CodeCandidate } from './'; /** * Result of extracting verification codes from message content * @export * @interface ExtractCodesResult */ export interface ExtractCodesResult { /** * True if at least one code candidate was found * @type {boolean} * @memberof ExtractCodesResult */ found: boolean; /** * Best candidate code when found * @type {string} * @memberof ExtractCodesResult */ code?: string | null; /** * Extraction strategy for verification codes. Unsupported strategies may fall back when allowFallback is true. * @type {string} * @memberof ExtractCodesResult */ methodUsed?: ExtractCodesResultMethodUsedEnum; /** * Ranked code candidates * @type {Array} * @memberof ExtractCodesResult */ candidates: Array; /** * Warnings or fallback notes explaining extraction behavior for debugging and QA. * @type {Array} * @memberof ExtractCodesResult */ warnings: Array; } /** * @export * @enum {string} */ export declare enum ExtractCodesResultMethodUsedEnum { AUTO = "AUTO", PATTERN = "PATTERN", LLM = "LLM", OCR = "OCR", OCR_THEN_LLM = "OCR_THEN_LLM" } export declare function ExtractCodesResultFromJSON(json: any): ExtractCodesResult; export declare function ExtractCodesResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtractCodesResult; export declare function ExtractCodesResultToJSON(value?: ExtractCodesResult | null): any;