Wrong type declaration for documentId
Here [https://github.com/strapi/strapi/blob/80103017ad0134c4681c5b742cfd24091a839446/packages/core/types/src/modules/documents/params/attributes/index.ts#L80](https://github.com/strapi/strapi/blob/80103017ad0134c4681c5b742cfd24091a839446/packages/core/types/src/modules/documents/params/attributes/index.ts#L80)

`documentId?: TSchemaUID;` shoud be `documentId?: DocumentID;`

Present on Strapi v5.9.0