n8n-nodes-nqdev
Version:
Tích hợp dịch vụ eSMS.vn vào n8n, cho phép bạn dễ dàng gửi tin nhắn SMS, Zalo hoặc Viber trực tiếp từ quy trình tự động hóa. Với node này, bạn có thể nhanh chóng kết nối API eSMS.vn, gửi tin nhắn quảng cáo, chăm sóc khách hàng hoặc OTP chỉ trong vài bước
7 lines (6 loc) • 682 B
TypeScript
import { type IDataObject, type IExecuteFunctions, type IHookFunctions, type IHttpRequestMethods, type ILoadOptionsFunctions } from 'n8n-workflow';
import { EsmsResponse, IApiAuthorize } from './interfaces';
export declare const NAME_CREDENTIAL = "nqdevEsmsApi";
export declare const HTTP_HEADERS: IDataObject;
export declare function getEsmsCredentials(this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions): Promise<IApiAuthorize>;
export declare function esmsApiRequest(this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions, method: IHttpRequestMethods, endpoint: string, body?: IDataObject, qs?: IDataObject, headers?: IDataObject): Promise<EsmsResponse>;