Base representation of an Event containing common fields to all Event Types.

interface BaseEvent {
    createdAt: string;
    data: any;
    id: string;
    notificationType: string;
    resourceType: EventSubscriptionResourceTypeId;
    type: EventType;
}

Properties

createdAt: string

Date and time (UTC) the Event was generated.

data: any

An object containing details related to the Event.

id: string

Unique identifier of the Event.

notificationType: string

The type of resource targeted by the Event.

type: EventType

The type of Event that has occurred.