> ## Documentation Index
> Fetch the complete documentation index at: https://developers.luccasoftware.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Types of events

Here is the list of all event topics generated from the Lucca API (webhooks).

| event.topic                        | data.type                                                                    | Description                                                                                                                                                                                                                                              |
| :--------------------------------- | :--------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `legal-entity.created`             | [legal-entity](../organization/legal-entity)                                 | Occurs when a new legal-entity is created.                                                                                                                                                                                                               |
| `legal-entity.deleted`             | [legal-entity](../organization/legal-entity)                                 | Occurs when an existing legal-entity is de-leted.                                                                                                                                                                                                        |
| `legal-entity.updated`             | [legal-entity](../organization/legal-entity)                                 | Occurs when an existing legal-entity is updated.                                                                                                                                                                                                         |
| `business-establishment.created`   | [business-establishment](../organization/business-establishment)             | Occurs when a new business-establishment is created.                                                                                                                                                                                                     |
| `business-establishment.deleted`   | [business-establishment](../organization/business-establishment)             | Occurs when an existing business-establishment is deleted.                                                                                                                                                                                               |
| `business-establishment.updated`   | [business-establishment](../organization/business-establishment)             | Occurs when an existing business-establishment is updated.                                                                                                                                                                                               |
| `department.created`               | [department](../organization/department)                                     | Occurs when a new department is created.                                                                                                                                                                                                                 |
| `department.deleted`               | [department](../organization/department)                                     | Occurs when an existing department is deleted.                                                                                                                                                                                                           |
| `department.updated`               | [department](../organization/department)                                     | Occurs when an existing department is updated.                                                                                                                                                                                                           |
| `employee.created`                 | [employee](../employees/employee)                                            | Occurs when a new employee is created.                                                                                                                                                                                                                   |
| `employee.deleted`                 | [employee](../employees/employee)                                            | Occurs when an existing employee is deleted.                                                                                                                                                                                                             |
| `employee.updated`                 | [employee](../employees/employee)                                            | Occurs when an existing employee is updated. Whenever their relationship with an "applicable" employment and/or job-position is changed (e.g. through the passing of time or creating/updating one of these objects), then this event is also triggered. |
| `employee-personal-record.created` | [employee-personal-record](../employees/employee-personal-record)            | Occurs when a new employee-personal-record is created.                                                                                                                                                                                                   |
| `employee-personal-record.deleted` | [employee-personal-record](../employees/employee-personal-record)            | Occurs when an existing employee-personal-record is deleted.                                                                                                                                                                                             |
| `employee-personal-record.updated` | [employee-personal-record](../employees/employee-personal-record)            | Occurs when an existing employee-personal-record is updated.                                                                                                                                                                                             |
| `employment.created`               | [employment](../employments/employment)                                      | Occurs when a new employment is created.                                                                                                                                                                                                                 |
| `employment.deleted`               | [employment](../employments/employment)                                      | Occurs when an existing employment is deleted.                                                                                                                                                                                                           |
| `employment.updated`               | [employment](../employments/employment)                                      | Occurs when an existing employment is updated.                                                                                                                                                                                                           |
| `job-position.created`             | [job-position](../employments/job-position)                                  | Occurs when a new job-position is created.                                                                                                                                                                                                               |
| `job-position.deleted`             | [job-position](../employments/job-position)                                  | Occurs when an existing job-position is deleted.                                                                                                                                                                                                         |
| `job-position.updated`             | [job-position](../employments/job-position)                                  | Occurs when an existing job-position is updated.                                                                                                                                                                                                         |
| `job-qualification.created`        | [job-qualification](../employee-job-qualifications/job-qualification)        | Occurs when a new job-qualification is created.                                                                                                                                                                                                          |
| `job-qualification.deleted`        | [job-qualification](../employee-job-qualifications/job-qualification)        | Occurs when an existing job-qualification is deleted.                                                                                                                                                                                                    |
| `job-qualification.updated`        | [job-qualification](../employee-job-qualifications/job-qualification)        | Occurs when an existing job-qualification is updated.                                                                                                                                                                                                    |
| `occupation-category.created`      | [occupation-category](../employee-occupation-categories/occupation-category) | Occurs when a new occupation-category is created.                                                                                                                                                                                                        |
| `occupation-category.deleted`      | [occupation-category](../employee-occupation-categories/occupation-category) | Occurs when an existing occupation-category is deleted.                                                                                                                                                                                                  |
| `occupation-category.updated`      | [occupation-category](../employee-occupation-categories/occupation-category) | Occurs when an existing occupation-category is updated.                                                                                                                                                                                                  |
| `employee-attributes.created`      | [employee-attribute](../employee-attributes/employee-attribute)              | Occurs when a new employee-attribute is created.                                                                                                                                                                                                         |
| `employee-attributes.deleted`      | [employee-attribute](../employee-attributes/employee-attribute)              | Occurs when an existing employee-attribute is deleted.                                                                                                                                                                                                   |
| `employee-attributes.updated`      | [employee-attribute](../employee-attributes/employee-attribute)              | Occurs when an existing employee-attribute is updated.                                                                                                                                                                                                   |
