import { TelephonePlatformType } from './TelephonePlatformType'; import { TelephoneType } from './TelephoneType'; /** * Group of attributes intended to hold information about phone number associated with the transaction. A user can have one to many phone numbers (home, work, mobile, etc.). */ export declare class Telephone { type?: TelephoneType; platformType?: TelephonePlatformType; /** * Numeric digit between 1 to 3 characters used to represent the country code for international dialing. Does not include symbols, spaces, or leading zeros. */ countryAccessCode: string; /** * A number prefixed to an individual telephone number: used in making long-distance calls. Does not include symbols, spaces, or leading zeros. */ areaCode: string; /** * A number that is dialed on a telephone, without the country or area codes, to reach a particular person, business, etc. Does not include symbols, spaces, or leading zeros. */ phoneNumber: string; /** * The number used to reach an individual once a phone connection is established. Does not include symbols, spaces, or leading zeros. */ extensionNumber?: string; /** * Ranking of order of user preference for contact via text (if type is Mobile) or voice. `0` means no preference. `1` is the primary phone, `2` is the secondary phone, etc. */ preferenceRank?: number; /** * Local date and time user validated possession of their phone number via a text or voice multi factor authentication challenge, in ISO-8601 date and time format `yyyy-MM-ddTHH:mm:ss.SSSZ`. */ lastVerifiedDateTime?: Date; /** * Flag indicating whether user passed validation of possession of their phone number via a text or voice multi factor authentication challenge. */ verifiedFlag?: boolean; constructor(telephone: TelephoneProperties); } export interface TelephoneProperties { type?: TelephoneType; platformType?: TelephonePlatformType; countryAccessCode: string; areaCode: string; phoneNumber: string; extensionNumber?: string; preferenceRank?: number; lastVerifiedDateTime?: Date; verifiedFlag?: boolean; }