import { PhoneNumber } from "@apideck/unify/models/components";
let value: PhoneNumber = {
id: "12345",
countryCode: "1",
areaCode: "323",
number: "111-111-1111",
extension: "105",
type: "primary",
};
| Field |
Type |
Required |
Description |
Example |
id |
string |
➖ |
Unique identifier of the phone number |
12345 |
countryCode |
string |
➖ |
The country code of the phone number, e.g. +1 |
1 |
areaCode |
string |
➖ |
The area code of the phone number, e.g. 323 |
323 |
number |
string |
✔️ |
The phone number |
111-111-1111 |
extension |
string |
➖ |
The extension of the phone number |
105 |
type |
components.PhoneNumberType |
➖ |
The type of phone number |
primary |