@ikas/admin-api-client
Version:
ikas public node api client for store apps and private apps
5 lines (4 loc) • 398 B
TypeScript
import { IkasWebhook, IWebhookData } from '../models';
export declare const validateIkasWebhookMiddleware: (clientSecret: string) => (req: any, res: any, next: () => any) => Promise<void>;
export declare function validateIkasWebhookSignature(data: IkasWebhook, clientSecret: string): boolean;
export declare function getParsedIkasWebhookData(data: IkasWebhook, clientSecret: string): IWebhookData;