UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

39 lines (38 loc) 983 B
import { ModelDefinition } from './BaseModels'; export interface EmailInterface { to: string; from: string; subject: string; text?: string; html?: string; id?: number; } export declare class Email implements EmailInterface { to: string; from: string; subject: string; text: string; html: string; id: number; constructor(data?: EmailInterface); /** * The name of the model represented by this $resource, * i.e. `Email`. */ static getModelName(): string; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of Email for dynamic purposes. */ static factory(data: EmailInterface): Email; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ static getModelDefinition(): ModelDefinition; }