/** * 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. */ /** * Candidate verification code extracted from content * @export * @interface CodeCandidate */ export interface CodeCandidate { /** * Extracted code value * @type {string} * @memberof CodeCandidate */ code: string; /** * Relative confidence score from 0 to 1 * @type {number} * @memberof CodeCandidate */ confidence: number; /** * Extraction strategy for verification codes. Unsupported strategies may fall back when allowFallback is true. * @type {string} * @memberof CodeCandidate */ method: CodeCandidateMethodEnum; /** * Source fragment used for extraction, for example RAW_TEXT_PART or SMS_BODY * @type {string} * @memberof CodeCandidate */ source: string; /** * Nearby text context useful for debugging extraction decisions * @type {string} * @memberof CodeCandidate */ context?: string | null; } /** * @export * @enum {string} */ export declare enum CodeCandidateMethodEnum { AUTO = "AUTO", PATTERN = "PATTERN", LLM = "LLM", OCR = "OCR", OCR_THEN_LLM = "OCR_THEN_LLM" } export declare function CodeCandidateFromJSON(json: any): CodeCandidate; export declare function CodeCandidateFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeCandidate; export declare function CodeCandidateToJSON(value?: CodeCandidate | null): any;