- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8 - Actualizaciones de configuracion Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
41 lines
966 B
TypeScript
41 lines
966 B
TypeScript
export declare class WebhookEntity {
|
|
id: string;
|
|
tenantId: string;
|
|
name: string;
|
|
description: string;
|
|
url: string;
|
|
secret: string;
|
|
events: string[];
|
|
headers: Record<string, string>;
|
|
isActive: boolean;
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
createdBy: string;
|
|
deliveries: WebhookDeliveryEntity[];
|
|
}
|
|
export declare enum DeliveryStatus {
|
|
PENDING = "pending",
|
|
DELIVERED = "delivered",
|
|
FAILED = "failed",
|
|
RETRYING = "retrying"
|
|
}
|
|
export declare class WebhookDeliveryEntity {
|
|
id: string;
|
|
webhookId: string;
|
|
tenantId: string;
|
|
eventType: string;
|
|
payload: Record<string, any>;
|
|
status: DeliveryStatus;
|
|
responseStatus: number;
|
|
responseBody: string;
|
|
responseHeaders: Record<string, string>;
|
|
attempt: number;
|
|
maxAttempts: number;
|
|
nextRetryAt: Date;
|
|
lastError: string;
|
|
createdAt: Date;
|
|
deliveredAt: Date;
|
|
completedAt: Date;
|
|
webhook: WebhookEntity;
|
|
}
|