/** * 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 matching when an AI transform mapping should trigger. Each match option object contains a `field`, `should` and `value` property. Together they form logical conditions such as `SUBJECT` should `CONTAIN` value. * @export * @interface AIMappingMatchOption */ export interface AIMappingMatchOption { /** * Fields of an email, sms, or attachment object that can be used to filter results * @type {string} * @memberof AIMappingMatchOption */ field: AIMappingMatchOptionFieldEnum; /** * How the value of the field specified should be compared to the value given in the match options. * @type {string} * @memberof AIMappingMatchOption */ should: AIMappingMatchOptionShouldEnum; /** * The value you wish to compare with the value of the field specified using the `should` value passed. For example `BODY` should `CONTAIN` a value passed. When should value is `MATCH` pass a regex * @type {string} * @memberof AIMappingMatchOption */ value: string; } /** * @export * @enum {string} */ export declare enum AIMappingMatchOptionFieldEnum { SUBJECT = "SUBJECT", TO = "TO", BCC = "BCC", CC = "CC", FROM = "FROM", HEADERS = "HEADERS", FILENAME = "FILENAME", SMS = "SMS" } /** * @export * @enum {string} */ export declare enum AIMappingMatchOptionShouldEnum { MATCH = "MATCH", CONTAIN = "CONTAIN", EQUAL = "EQUAL" } export declare function AIMappingMatchOptionFromJSON(json: any): AIMappingMatchOption; export declare function AIMappingMatchOptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): AIMappingMatchOption; export declare function AIMappingMatchOptionToJSON(value?: AIMappingMatchOption | null): any;