UNPKG

@nestjs-mod/webhook

Version:

Webhook module with an error filter, guard, controller, database migrations and rest-sdk for work with module from other nodejs appliaction

21 lines (20 loc) 641 B
import { Prisma } from '../prisma-client'; import { WebhookUser } from './webhook-user.entity'; import { WebhookLog } from './webhook-log.entity'; export declare class Webhook { id: string; eventName: string; endpoint: string; enabled: boolean; headers: Prisma.JsonValue | null; requestTimeout: number | null; externalTenantId: string; createdBy: string; updatedBy: string; createdAt: Date; updatedAt: Date; workUntilDate: Date | null; WebhookUser_Webhook_createdByToWebhookUser?: WebhookUser; WebhookUser_Webhook_updatedByToWebhookUser?: WebhookUser; WebhookLog?: WebhookLog[]; }