The AddPersonRequestPhonesInner interface has label typed as boolean. In reality this is a string, as can be seen in the Update person API docs
As a result, I cannot attach a label using the SDK without @ts-expect-error
personsApi.updatePerson({
id: personId,
UpdatePersonRequest: {
name: 'John Doe',
phones: [
{
value: phoneNumber,
// This errors, string is not assignable to type boolean
label: 'custom_label',
},
],
},
});