Every capability the number has, with its current status — a full snapshot.
The capabilities that moved, in no particular order. Empty on a number's first
event. An array because two can settle together: a WhatsApp track reaching a
terminal state is what releases a caller-ID-verified line, so whatsapp and
call move in one instant.
E.164.
The settlement status the number left; null on its first event.
The fold over capabilities: unsettled while any is still working.
A change to one of a phone number's capabilities. Wait on this instead of polling a number until it is usable.
Payload version 2. Version 1 was flat (
setupStatus/setupError/ acapabilitiesstring array) and could report only the line's own setup — it had nowhere to put a WhatsApp failure or its cooldown.