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.

92 lines (91 loc) 2.72 kB
/** * 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://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. */ import { CreateConnectorImapFetchOptions, CreateConnectorImapOptions } from './'; /** * * @export * @interface CreateConnectorOptions */ export interface CreateConnectorOptions { /** * * @type {string} * @memberof CreateConnectorOptions */ connectorType: CreateConnectorOptionsConnectorTypeEnum; /** * * @type {string} * @memberof CreateConnectorOptions */ connectorAuthType: CreateConnectorOptionsConnectorAuthTypeEnum; /** * * @type {CreateConnectorImapOptions} * @memberof CreateConnectorOptions */ imapSettings?: CreateConnectorImapOptions; /** * * @type {string} * @memberof CreateConnectorOptions */ inboxId?: string; /** * * @type {boolean} * @memberof CreateConnectorOptions */ syncEnabled: boolean; /** * * @type {string} * @memberof CreateConnectorOptions */ syncScheduleType: CreateConnectorOptionsSyncScheduleTypeEnum; /** * * @type {number} * @memberof CreateConnectorOptions */ syncInterval?: number; /** * * @type {CreateConnectorImapFetchOptions} * @memberof CreateConnectorOptions */ fetchSettings?: CreateConnectorImapFetchOptions; } /** * @export * @enum {string} */ export declare enum CreateConnectorOptionsConnectorTypeEnum { IMAP = "IMAP" } /** * @export * @enum {string} */ export declare enum CreateConnectorOptionsConnectorAuthTypeEnum { PLAIN_TEXT = "PLAIN_TEXT" } /** * @export * @enum {string} */ export declare enum CreateConnectorOptionsSyncScheduleTypeEnum { INTERVAL = "INTERVAL" } export declare function CreateConnectorOptionsFromJSON(json: any): CreateConnectorOptions; export declare function CreateConnectorOptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateConnectorOptions; export declare function CreateConnectorOptionsToJSON(value?: CreateConnectorOptions | null): any;