n8n-nodes-nimbasms
Version:
Nimba SMS node for n8n - Send SMS, manage contacts, campaigns and more
15 lines (14 loc) • 1.09 kB
TypeScript
import { IExecuteFunctions, ILoadOptionsFunctions, IDataObject, IHttpRequestMethods } from 'n8n-workflow';
export declare function nimbaSmsApiRequest(this: IExecuteFunctions | ILoadOptionsFunctions, method: IHttpRequestMethods, resource: string, body?: IDataObject, qs?: IDataObject, uri?: string, option?: IDataObject): Promise<any>;
export declare function nimbaSmsApiRequestAllItems(this: IExecuteFunctions | ILoadOptionsFunctions, propertyName: string, method: IHttpRequestMethods, endpoint: string, body?: IDataObject, query?: IDataObject): Promise<any>;
export declare function validateEmail(email: string): boolean;
export declare function validatePhoneNumber(phone: string): boolean;
export declare function formatPhoneNumber(phone: string): string;
export declare function validateSenderName(senderName: string): boolean;
export declare function validateMessage(message: string): boolean;
export interface IPaginationOptions {
limit?: number;
offset?: number;
returnAll?: boolean;
}
export declare function preparePaginationQuery(options: IPaginationOptions): IDataObject;