/** * MailSlurp API * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. 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://www.mailslurp.com/docs/) - [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. */ /** * Representation of a webhook * @export * @interface WebhookProjection */ export interface WebhookProjection { /** * * @type {string} * @memberof WebhookProjection */ name?: string; /** * * @type {string} * @memberof WebhookProjection */ id: string; /** * * @type {string} * @memberof WebhookProjection */ url: string; /** * * @type {string} * @memberof WebhookProjection */ inboxId: string; /** * * @type {string} * @memberof WebhookProjection */ eventName?: WebhookProjectionEventNameEnum; /** * * @type {Date} * @memberof WebhookProjection */ createdAt: Date; /** * * @type {Date} * @memberof WebhookProjection */ updatedAt: Date; } export declare function WebhookProjectionFromJSON(json: any): WebhookProjection; export declare function WebhookProjectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookProjection; export declare function WebhookProjectionToJSON(value?: WebhookProjection | null): any; /** * @export * @enum {string} */ export declare enum WebhookProjectionEventNameEnum { EMAILRECEIVED = "EMAIL_RECEIVED", NEWEMAIL = "NEW_EMAIL", NEWCONTACT = "NEW_CONTACT", NEWATTACHMENT = "NEW_ATTACHMENT", EMAILOPENED = "EMAIL_OPENED", EMAILREAD = "EMAIL_READ" }