UNPKG

mailslurp-client

Version:

Official client for MailSlurp Email and SMS API. Create email addresses and phone numbers in Javascript without a mail server. Send and receive real emails in applications or tests.

82 lines (81 loc) 2.76 kB
/** * 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. */ /** * DTO representation of an attachment. * @export * @interface AttachmentEntityDto */ export interface AttachmentEntityDto { /** * The unique identifier for this attachment. * @type {string} * @memberof AttachmentEntityDto */ id: string; /** * The identifier of the attachment file * @type {string} * @memberof AttachmentEntityDto */ attachmentId: string; /** * The user identifier associated with this attachment. * @type {string} * @memberof AttachmentEntityDto */ userId: string; /** * The content type of the attachment. * @type {string} * @memberof AttachmentEntityDto */ contentType?: string | null; /** * The content length of the attachment in bytes. * @type {number} * @memberof AttachmentEntityDto */ contentLength?: number | null; /** * The content identifier, which is a unique ID for the content part of the email. * @type {string} * @memberof AttachmentEntityDto */ contentId?: string | null; /** * The name of the attachment file. * @type {string} * @memberof AttachmentEntityDto */ name?: string | null; /** * The inbox identifier associated with this attachment. * @type {string} * @memberof AttachmentEntityDto */ inboxId?: string | null; /** * The timestamp when this attachment was created. * @type {Date} * @memberof AttachmentEntityDto */ createdAt: Date; /** * The timestamp when this attachment was last updated. * @type {Date} * @memberof AttachmentEntityDto */ updatedAt: Date; } export declare function AttachmentEntityDtoFromJSON(json: any): AttachmentEntityDto; export declare function AttachmentEntityDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachmentEntityDto; export declare function AttachmentEntityDtoToJSON(value?: AttachmentEntityDto | null): any;