AvailablePhoneNumber interface
Represents a phone number available in inventory
Properties
| assignment |
Represents the assignment type of the offering. Also known as the use case. |
| capabilities | Capabilities of a phone number. |
| cost | The incurred cost for this phone number. |
| country |
The ISO 3166-2 country code, e.g. US. |
| error | The Communication Services error. |
| id | The id of the phone number. |
| is |
Indicates if do not resell agreement is required. If true, the phone number cannot be acquired unless the customer provides explicit agreement to not resell it. |
| phone |
The phone number in E.164 format, e.g. +11234567890. |
| phone |
Represents the number type of the offering. |
| status | Represents the status of the phone number. Possible values include: 'available', 'reserved', 'expired', 'error', 'purchased'. |
Property Details
assignmentType
Represents the assignment type of the offering. Also known as the use case.
assignmentType: PhoneNumberAssignmentType
Property Value
capabilities
Capabilities of a phone number.
capabilities: PhoneNumberCapabilities
Property Value
cost
countryCode
The ISO 3166-2 country code, e.g. US.
countryCode: string
Property Value
string
error
id
The id of the phone number.
id?: string
Property Value
string
isAgreementToNotResellRequired
Indicates if do not resell agreement is required. If true, the phone number cannot be acquired unless the customer provides explicit agreement to not resell it.
isAgreementToNotResellRequired?: boolean
Property Value
boolean
phoneNumber
The phone number in E.164 format, e.g. +11234567890.
phoneNumber?: string
Property Value
string
phoneNumberType
Represents the number type of the offering.
phoneNumberType: PhoneNumberType
Property Value
status
Represents the status of the phone number. Possible values include: 'available', 'reserved', 'expired', 'error', 'purchased'.
status?: PhoneNumberAvailabilityStatus