Skip to main content

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

Interface: DIDItem

Defined in: sdk/js/src/types/phone-numbers.ts:29

Properties​

caller_id_name?​

TypeScript
optional caller_id_name?: string | null;

Defined in: sdk/js/src/types/phone-numbers.ts:39


caller_id_prefix?​

TypeScript
optional caller_id_prefix?: string | null;

Defined in: sdk/js/src/types/phone-numbers.ts:48

Prefix added to the inbound caller's display name (e.g. [Acme] John Smith, or [Acme] +14084806024 when the caller's name is unknown), for calls answered on behalf of a specific brand or business. Applies both to the device that answers and to calls forwarded out to an external number, so a forwarded business call can be told apart from a personal one. Affects only the caller ID presented for inbound calls, not call records.


config?​

TypeScript
optional config?: DIDConfig;

Defined in: sdk/js/src/types/phone-numbers.ts:38


created_at​

TypeScript
created_at: string;

Defined in: sdk/js/src/types/phone-numbers.ts:65


directory_listing_location?​

TypeScript
optional directory_listing_location?: string | null;

Defined in: sdk/js/src/types/phone-numbers.ts:51


directory_listing_location_id?​

TypeScript
optional directory_listing_location_id?: string | null;

Defined in: sdk/js/src/types/phone-numbers.ts:53

Deprecated​

Use directory_listing_location. Retained for backwards compatibility.


directory_listing_name?​

TypeScript
optional directory_listing_name?: string | null;

Defined in: sdk/js/src/types/phone-numbers.ts:49


directory_listing_type?​

TypeScript
optional directory_listing_type?: DirectoryListingType;

Defined in: sdk/js/src/types/phone-numbers.ts:50


disconnected_at?​

TypeScript
optional disconnected_at?: string | null;

Defined in: sdk/js/src/types/phone-numbers.ts:35


expires_at?​

TypeScript
optional expires_at?: string | null;

Defined in: sdk/js/src/types/phone-numbers.ts:34


fax_enabled​

TypeScript
fax_enabled: boolean;

Defined in: sdk/js/src/types/phone-numbers.ts:37


id​

TypeScript
id: string;

Defined in: sdk/js/src/types/phone-numbers.ts:30


inbound_routing​

TypeScript
inbound_routing: InboundRouting;

Defined in: sdk/js/src/types/phone-numbers.ts:64

Inbound call handling. routing_target is null when this is drop.


location?​

TypeScript
optional location?: string | null;

Defined in: sdk/js/src/types/phone-numbers.ts:61

ID of this number's service location, used for tax jurisdiction and regulatory fees. When null the number resolves to the location it is the primary number for, else the account's main location — both correct answers rather than missing ones. Distinct from directory_listing_location, which is the address published in directory services.


number_class?​

TypeScript
optional number_class?: "account_owned" | "temporary";

Defined in: sdk/js/src/types/phone-numbers.ts:33


outbound_enabled​

TypeScript
outbound_enabled: boolean;

Defined in: sdk/js/src/types/phone-numbers.ts:36


phone_number​

TypeScript
phone_number: string;

Defined in: sdk/js/src/types/phone-numbers.ts:31


routing_target?​

TypeScript
optional routing_target?: string | null;

Defined in: sdk/js/src/types/phone-numbers.ts:62


status​

TypeScript
status: "active" | "inactive" | "released";

Defined in: sdk/js/src/types/phone-numbers.ts:32


updated_at​

TypeScript
updated_at: string;

Defined in: sdk/js/src/types/phone-numbers.ts:66