UNPKG

@altravia/openapi

Version:
27 lines 904 B
/// <reference types="node" /> import { AxiosInstance } from "axios"; import { Environment, Service } from ".."; export interface PecStatus { sender?: string; recipient?: string; data?: string; object?: string; message?: string; } export declare class PecMassiva implements Service { client: AxiosInstance; readonly service = "pecMassiva"; readonly baseUrl = "ws.pecmassiva.com"; environment: Environment; username?: string; password?: string; constructor(client: AxiosInstance, environment: Environment); setCredentials(username: string, password: string): void; getAll(code: string): Promise<Array<PecStatus>>; send(sender: string, recipient: string, body: string, subject: string, attachments?: Array<{ name: string; file: Buffer | any; }>): Promise<any>; get url(): string; } //# sourceMappingURL=PecMassiva.d.ts.map