/** * 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. */ import * as runtime from '../runtime'; import { ExportLink, ExportOptions } from '../models'; export interface ExportEntitiesRequest { exportType: ExportEntitiesExportTypeEnum; apiKey: string; outputFormat: ExportEntitiesOutputFormatEnum; filter?: string; listSeparatorToken?: string; excludePreviouslyExported?: boolean; createdEarliestTime?: Date; createdOldestTime?: Date; } export interface GetExportLinkRequest { exportType: GetExportLinkExportTypeEnum; exportOptions: ExportOptions; apiKey?: string; } /** * ExportControllerApi - interface * * @export * @interface ExportControllerApiInterface */ export interface ExportControllerApiInterface { /** * * @summary Export inboxes link callable via browser * @param {'INBOXES' | 'CONTACTS' | 'ATTACHMENTS' | 'EMAILS'} exportType * @param {string} apiKey * @param {'CSV_DEFAULT' | 'CSV_EXCEL'} outputFormat * @param {string} [filter] * @param {string} [listSeparatorToken] * @param {boolean} [excludePreviouslyExported] * @param {Date} [createdEarliestTime] * @param {Date} [createdOldestTime] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExportControllerApiInterface */ exportEntitiesRaw(requestParameters: ExportEntitiesRequest): Promise>>; /** * Export inboxes link callable via browser */ exportEntities(requestParameters: ExportEntitiesRequest): Promise>; /** * * @summary Get export link * @param {'INBOXES' | 'CONTACTS' | 'ATTACHMENTS' | 'EMAILS'} exportType * @param {ExportOptions} exportOptions * @param {string} [apiKey] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExportControllerApiInterface */ getExportLinkRaw(requestParameters: GetExportLinkRequest): Promise>; /** * Get export link */ getExportLink(requestParameters: GetExportLinkRequest): Promise; } /** * */ export declare class ExportControllerApi extends runtime.BaseAPI implements ExportControllerApiInterface { /** * Export inboxes link callable via browser */ exportEntitiesRaw(requestParameters: ExportEntitiesRequest): Promise>>; /** * Export inboxes link callable via browser */ exportEntities(requestParameters: ExportEntitiesRequest): Promise>; /** * Get export link */ getExportLinkRaw(requestParameters: GetExportLinkRequest): Promise>; /** * Get export link */ getExportLink(requestParameters: GetExportLinkRequest): Promise; } /** * @export * @enum {string} */ export declare enum ExportEntitiesExportTypeEnum { INBOXES = "INBOXES", CONTACTS = "CONTACTS", ATTACHMENTS = "ATTACHMENTS", EMAILS = "EMAILS" } /** * @export * @enum {string} */ export declare enum ExportEntitiesOutputFormatEnum { DEFAULT = "CSV_DEFAULT", EXCEL = "CSV_EXCEL" } /** * @export * @enum {string} */ export declare enum GetExportLinkExportTypeEnum { INBOXES = "INBOXES", CONTACTS = "CONTACTS", ATTACHMENTS = "ATTACHMENTS", EMAILS = "EMAILS" }