UNPKG

notarize-node-client

Version:
32 lines (31 loc) 775 B
import type { Notarize, NotarizeOptions } from './'; export declare class WebhookApi { client: Notarize; constructor(client: Notarize, options?: NotarizeOptions); update(url: string, header?: string): Promise<{ success: boolean; webhookUrl?: string; header?: string; error?: string; }>; retrieve(): Promise<{ success: boolean; webhookUrl?: string; header?: string; error?: string; }>; delete(): Promise<{ success: boolean; error?: string; }>; simulateResponses(msg: { event: string; data: { transactionId: string; status: string; }; }): Promise<{ success: boolean; error?: string; }>; }