@zenvia/sdk
Version:
This SDK for [Node.js](https://nodejs.org/) was created based on the [Zenvia](https://www.zenvia.com/) [API](https://zenvia.github.io/zenvia-openapi-spec/).
6 lines (5 loc) • 584 B
TypeScript
import { ILoggerInstance, IRequestOptions } from '../types';
export declare function post(token: string, path: string, body: object, logger: ILoggerInstance, options: IRequestOptions): Promise<any>;
export declare function get(token: string, path: string, logger: ILoggerInstance, options: IRequestOptions): Promise<any>;
export declare function patch(token: string, path: string, body: object, logger: ILoggerInstance, options: IRequestOptions): Promise<any>;
export declare function del(token: string, path: string, logger: ILoggerInstance, options: IRequestOptions): Promise<any>;