The type of data used to provide phone numbers. There are several ways to set this field’s value:

Context.data.client_phone = Context.data. client_phone.create('+1987654321'); 
Context.data.client_phone = Context.data .client_phone.create('1-999-123456', PhoneType.Work, '101');  
Context.data.client_phone = { 
  type: PhoneType.Work, 
  tel: '1-999- 123456', 
  ext: '101' 
}; 

Note that fields storing phone numbers are not validated in scripts.

Type parameters

Hierarchy

  • TPhone

Properties

Optional ext

ext: undefined | string

Telephone number extension.

tel

tel: string

Phone.

type

type: T

Phone type PhoneType.