import type * as Pinnacle from "../index.js"; /** * Response for get phone number status. */ export interface PhoneNumberStatus { /** List of errors that occured. */ errors: string[]; /** Phone number in E164 format that is in review */ phoneNumber: string; /** * Current status of the phone number.
* * `PENDING`: Not active during the one or more of the following: purchase pending, brand or campaign pending verification, and pending assignment to a campaign. To use a number, make sure to [attach it](../phone-numbers/attach-campaign) to an active campaign.
* `ACTIVE`: Number is ready to send messages.
* `FAILURE`: Errors occurred while activating this number. See the [errors field](phone-number#response.body.errors). */ status: Pinnacle.PhoneNumberStatusEnum; }