paystack-nestjs
Version:
A library for integrating Paystack with NestJS. Supports webhooks
6 lines (5 loc) • 506 B
TypeScript
import { PAYSTACK_WEBHOOK_HANDLER } from './constants';
import { PaystackWebhookEvent } from './webhook-event.type';
export declare const InjectPaystackModuleConfig: () => (target: object, key: string | symbol, index?: number) => void;
export declare const InjectPaystackClient: () => (target: object, key: string | symbol, index?: number) => void;
export declare const PaystackWebhookHandler: (eventType: PaystackWebhookEvent) => import("@nestjs/common").CustomDecorator<typeof PAYSTACK_WEBHOOK_HANDLER>;