@jackdevau/up-api API Reference
    Preparing search index...

    Interface WebhookEventResource

    interface WebhookEventResource {
        type: string;
        id: string;
        attributes: { eventType: WebhookEventTypeEnum; createdAt: string };
        relationships: {
            webhook: {
                data: { type: string; id: string };
                links?: { related: string };
            };
            transaction?: {
                data?: { type: string; id: string };
                links?: { related: string };
            };
        };
    }
    Index

    Properties

    type: string
    id: string
    attributes: { eventType: WebhookEventTypeEnum; createdAt: string }
    relationships: {
        webhook: {
            data: { type: string; id: string };
            links?: { related: string };
        };
        transaction?: {
            data?: { type: string; id: string };
            links?: { related: string };
        };
    }