The beforeDelete hook in the model lifecycle is not working correctly.
- Environment: development
- OS: win32-x64
- Strapi Version: 5.6.0
- Node/Yarn Version: npm/10.2.3 node/v20.10.0 win32 x64 workspaces/false
- Edition: Community
- Database: postgres
- Is your project Javascript or Typescript: Typescript

I created a lifecycle hook for a content-type and I'm listening to the beforeDelete method. When a delete operation is performed on the related model, the method is triggered without any issues. However, instead of the documentId in the params value within the event, it returns an Id value.

When I investigated this in the service layer, I found that if I use the query builder instead of the document service API, it returns the documentId. My current issue is that when using the document service API, I can't obtain the documentId in the event.paramsvalue within the beforeDelete method.

### Document Service Apı Model
![image](https://github.com/user-attachments/assets/1ba49f58-aceb-4735-a532-d971d3bd3300)
![image](https://github.com/user-attachments/assets/826741eb-6f82-4b37-b41b-a4e803220fb9)
![image](https://github.com/user-attachments/assets/3079dd43-091f-428f-a37f-60bb373c4f81)

### Query Apı Model
![image](https://github.com/user-attachments/assets/d875c108-b721-4106-97e9-be1dc90c4982)
![image](https://github.com/user-attachments/assets/826741eb-6f82-4b37-b41b-a4e803220fb9)
![image](https://github.com/user-attachments/assets/3680c678-d931-44fa-a657-207733f06085)
