UNPKG

webhooks-simpleing

Version:
14 lines (13 loc) 392 B
export type Response = { status?: number; statusText?: string; errorCode?: string; }; export interface WebhooksSendMessage { type: "jandi" | "slack"; urlType: string[]; title: string; content: string; callback?: (res: any) => {}; } export declare const webhooksSendMessage: ({ type, urlType, title, content, callback, }: WebhooksSendMessage) => Promise<void>;