emailengine-client
Version:
A TypeScript client for the EmailEngine API
27 lines (26 loc) • 775 B
TypeScript
import { Options } from '../../../../misc/Options';
/**
* Options for retrieving accounts.
*/
export declare class GetAccountsOptions extends Options {
/**
* Override the EENGINE_TIMEOUT environment variable for a single API request (in milliseconds)
*/
'x-ee-timeout'?: number | undefined;
/**
* Page number (zero indexed, so use 0 for first page)
*/
'page'?: number | undefined;
/**
* How many entries per page
*/
'pageSize'?: number | undefined;
/**
* Filter accounts by state
*/
'state'?: 'init' | 'syncing' | 'connecting' | 'connected' | 'authenticationError' | 'connectError' | 'unset' | 'disconnected';
/**
* Filter accounts by string match
*/
'query'?: string | undefined;
}