/** * 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. */ /** * Persisted retention-policy run state. Poll this after starting a run to track progress without blocking on mailbox cleanup. * @export * @interface InboxRetentionPolicyRunDto */ export interface InboxRetentionPolicyRunDto { /** * * @type {string} * @memberof InboxRetentionPolicyRunDto */ id: string; /** * * @type {string} * @memberof InboxRetentionPolicyRunDto */ status: InboxRetentionPolicyRunDtoStatusEnum; /** * * @type {string} * @memberof InboxRetentionPolicyRunDto */ source: InboxRetentionPolicyRunDtoSourceEnum; /** * * @type {number} * @memberof InboxRetentionPolicyRunDto */ matchedPolicies: number; /** * * @type {number} * @memberof InboxRetentionPolicyRunDto */ appliedPolicies: number; /** * * @type {string} * @memberof InboxRetentionPolicyRunDto */ errorMessage?: string | null; /** * * @type {Date} * @memberof InboxRetentionPolicyRunDto */ startedAt?: Date | null; /** * * @type {Date} * @memberof InboxRetentionPolicyRunDto */ completedAt?: Date | null; /** * * @type {Date} * @memberof InboxRetentionPolicyRunDto */ createdAt: Date; /** * * @type {Date} * @memberof InboxRetentionPolicyRunDto */ updatedAt: Date; } /** * @export * @enum {string} */ export declare enum InboxRetentionPolicyRunDtoStatusEnum { SUBMITTED = "SUBMITTED", RUNNING = "RUNNING", COMPLETED = "COMPLETED", FAILED = "FAILED" } /** * @export * @enum {string} */ export declare enum InboxRetentionPolicyRunDtoSourceEnum { USER_API = "USER_API" } export declare function InboxRetentionPolicyRunDtoFromJSON(json: any): InboxRetentionPolicyRunDto; export declare function InboxRetentionPolicyRunDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): InboxRetentionPolicyRunDto; export declare function InboxRetentionPolicyRunDtoToJSON(value?: InboxRetentionPolicyRunDto | null): any;