Add webhook delivery log tracking

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/119179b7-2f0c-4f11-8282-85c8176fc124.jpg
This commit is contained in:
alphaeusmote
2025-04-10 01:50:56 +00:00
parent 58bd2ab435
commit f86cc446a3
2 changed files with 43 additions and 1 deletions
+5
View File
@@ -70,6 +70,11 @@ export interface IStorage {
deleteWebhook(id: string): Promise<boolean>;
triggerWebhook(webhookId: string, payload: any): Promise<boolean>;
// Webhook Delivery Logs
addWebhookDeliveryLog(log: InsertWebhookDeliveryLog): Promise<WebhookDeliveryLog>;
getWebhookDeliveryLog(id: string): Promise<WebhookDeliveryLog | undefined>;
getWebhookDeliveryLogsByWebhook(webhookId: string): Promise<WebhookDeliveryLog[]>;
// Session store
sessionStore: any;
}