Hi,
As my free-trial ended and I planned to pay in 1 August, I'm continuing using the static data to develop the UI. I tried this example:
and assigned to PersonResponse type :
return result as PersonResponse
But I found many incompatibility issues between the type of fields and the example you provided.
I expect that the example is outdated due the updates of Typescript types.