import { EventType } from "@polar-sh/sdk/models/components/eventtype.js";
let value: EventType = {
createdAt: new Date("2025-01-12T10:00:39.769Z"),
modifiedAt: new Date("2024-10-30T04:54:29.522Z"),
id: "<value>",
name: "<value>",
label: "<value>",
organizationId: "<value>",
};
| Field |
Type |
Required |
Description |
createdAt |
Date |
✔️ |
Creation timestamp of the object. |
modifiedAt |
Date |
✔️ |
Last modification timestamp of the object. |
id |
string |
✔️ |
The ID of the object. |
name |
string |
✔️ |
The name of the event type. |
label |
string |
✔️ |
The label for the event type. |
labelPropertySelector |
string |
➖ |
Property path to extract dynamic label from event metadata. |
organizationId |
string |
✔️ |
The ID of the organization owning the event type. |