# Event Types Reference {#event-types-reference}


Complete list of events and entity action types in Gauzy.


## Activity Log Action Types {#activity-log-action-types}


| Action Type | Description             |
| ----------- | ----------------------- |
| `CREATED`   | Entity was created      |
| `UPDATED`   | Entity was updated      |
| `DELETED`   | Entity was soft-deleted |
| `ARCHIVED`  | Entity was archived     |
| `RESTORED`  | Entity was restored     |


## Entity Types {#entity-types}


| Entity Type           | Description          |
| --------------------- | -------------------- |
| `Organization`        | Organization changes |
| `Employee`            | Employee changes     |
| `Task`                | Task updates         |
| `OrganizationProject` | Project updates      |
| `TimeLog`             | Time log entries     |
| `Timesheet`           | Timesheet approvals  |
| `Invoice`             | Invoice lifecycle    |
| `Payment`             | Payment updates      |
| `Expense`             | Expense changes      |
| `Income`              | Income changes       |
| `Contact`             | Contact updates      |
| `Deal`                | Deal stage changes   |
| `Candidate`           | Candidate updates    |
| `Equipment`           | Equipment changes    |


## WebSocket Events {#websocket-events}


| Event              | Direction       | Description         |
| ------------------ | --------------- | ------------------- |
| `timer-started`    | Server → Client | Timer started       |
| `timer-stopped`    | Server → Client | Timer stopped       |
| `screenshot-taken` | Server → Client | Screenshot captured |
| `notification`     | Server → Client | New notification    |
| `task-updated`     | Server → Client | Task changed        |
| `employee-online`  | Server → Client | Employee status     |


## CQRS Events {#cqrs-events}


| Event                  | Description         |
| ---------------------- | ------------------- |
| `TaskCreatedEvent`     | Task created        |
| `TaskUpdatedEvent`     | Task updated        |
| `TimerStartedEvent`    | Timer started       |
| `TimerStoppedEvent`    | Timer stopped       |
| `ScreenshotTakenEvent` | Screenshot captured |
| `InvoiceSentEvent`     | Invoice emailed     |
| `PaymentReceivedEvent` | Payment recorded    |


## Related Pages {#related-pages}


- [WebSocket Architecture](https://sourcey-gauzy.pages.dev/architecture/websocket-realtime/index.md) — real-time events
- [Activity Log Endpoints](https://sourcey-gauzy.pages.dev/api/activity-log-endpoints/index.md) — log querying
- [CQRS Handlers](https://sourcey-gauzy.pages.dev/advanced/cqrs-handlers/index.md) — command/query patterns
