UNPKG

connect-sdk-nodejs

Version:

SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API

10 lines (9 loc) 376 B
/// <reference types="node" /> import { RequestHeaders, WebhooksContext } from "../../../model/webhooks/types"; import { WebhooksEvent } from "../domain"; export interface V1WebhooksFactory { init(context: WebhooksContext): WebhooksHelper; } export interface WebhooksHelper { unmarshal(body: string | Buffer, requestHeaders: RequestHeaders): Promise<WebhooksEvent>; }