Skip to main content

@dialstack/sdk-dev / js/src / RemoteNumber

Interface: RemoteNumber

Defined in: sdk/js/src/types/components.ts:366

An external phone number the account has had calls with, and what has happened with it. The unconnected counts cover every call since a party last connected, however long ago. A call answered by the other side's voicemail (a call-back, or a forward to a cell phone without press-1-to-accept) counts as connected.

Properties​

last_call​

TypeScript
last_call: string | CallLog;

Defined in: sdk/js/src/types/components.ts:373

The latest call with the number; the call object with expand: ['last_call']


last_call_at​

TypeScript
last_call_at: string;

Defined in: sdk/js/src/types/components.ts:374


last_connected_at​

TypeScript
last_connected_at: string | null;

Defined in: sdk/js/src/types/components.ts:375


name​

TypeScript
name: string | null;

Defined in: sdk/js/src/types/components.ts:371

Caller ID name from the number's latest inbound call


object​

TypeScript
object: "remote_number";

Defined in: sdk/js/src/types/components.ts:367


phone_number​

TypeScript
phone_number: string;

Defined in: sdk/js/src/types/components.ts:369

E.164; identifies the resource


unconnected_inbound​

TypeScript
unconnected_inbound: object;

Defined in: sdk/js/src/types/components.ts:377

The number's calls to the account since a party last connected, none connected

count​

TypeScript
count: number;

first_at​

TypeScript
first_at: string | null;

last_at​

TypeScript
last_at: string | null;

voicemail_count​

TypeScript
voicemail_count: number;

unconnected_outbound​

TypeScript
unconnected_outbound: object;

Defined in: sdk/js/src/types/components.ts:384

The account's calls to the number since a party last connected, none connected

count​

TypeScript
count: number;

last_at​

TypeScript
last_at: string | null;