Mangopay/mangopay2-nodejs-sdk

Property 'UserId' does not exist on type 'UboDeclarationData'

jgabriele opened this issue · 1 comments

When I am in a context of a UBODeclaration webhook and fetch the UBODeclaration from the RessourceId, it says that is has no UserId property:

image

But if I log the object, it does have (which is good, as it is my only way to link it to the user who did the declaration)

image

Could you please update the TS types?

Hello @jgabriele, we are looking into it