@dialstack/sdk-dev / js/src / DIDItem
Interface: DIDItem
Defined in: sdk/js/src/types/phone-numbers.ts:50
Properties
activated_at?
activated_at?: string | null;
Defined in: sdk/js/src/types/phone-numbers.ts:73
When the number last went into service, or null until it first has. Moving the number to another account does not change it. A number can be disconnected 30 days after this time.
caller_id_name?
caller_id_name?: string | null;
Defined in: sdk/js/src/types/phone-numbers.ts:77
caller_id_prefix?
caller_id_prefix?: string | null;
Defined in: sdk/js/src/types/phone-numbers.ts:86
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?
config?: DIDConfig;
Defined in: sdk/js/src/types/phone-numbers.ts:76
country?
country?: string;
Defined in: sdk/js/src/types/phone-numbers.ts:65
The number's ISO 3166-1 alpha-2 country: US or CA today, more as
countries are added, so it is not a closed union. Toll-free numbers report
US. A directory listing is available only for US numbers.
created_at
created_at: string;
Defined in: sdk/js/src/types/phone-numbers.ts:103
directory_listing_location?
directory_listing_location?: string | null;
Defined in: sdk/js/src/types/phone-numbers.ts:89
directory_listing_location_id?
directory_listing_location_id?: string | null;
Defined in: sdk/js/src/types/phone-numbers.ts:91
Deprecated
Use directory_listing_location. Retained for backwards compatibility.
directory_listing_name?
directory_listing_name?: string | null;
Defined in: sdk/js/src/types/phone-numbers.ts:87
directory_listing_type?
directory_listing_type?: DirectoryListingType;
Defined in: sdk/js/src/types/phone-numbers.ts:88
disconnected_at?
disconnected_at?: string | null;
Defined in: sdk/js/src/types/phone-numbers.ts:67
expires_at?
expires_at?: string | null;
Defined in: sdk/js/src/types/phone-numbers.ts:66
fax_enabled
fax_enabled: boolean;
Defined in: sdk/js/src/types/phone-numbers.ts:75
id
id: string;
Defined in: sdk/js/src/types/phone-numbers.ts:51
inbound_routing
inbound_routing: InboundRouting;
Defined in: sdk/js/src/types/phone-numbers.ts:102
Inbound call handling. routing_target is null when this is drop.
location?
location?: string | null;
Defined in: sdk/js/src/types/phone-numbers.ts:99
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?
number_class?: "account_owned" | "temporary";
Defined in: sdk/js/src/types/phone-numbers.ts:54
number_type?
number_type?: PhoneNumberType;
Defined in: sdk/js/src/types/phone-numbers.ts:59
toll_free for an 8YY number. Toll-free numbers support no caller ID
name, directory listing or outbound porting PIN.
outbound_enabled
outbound_enabled: boolean;
Defined in: sdk/js/src/types/phone-numbers.ts:74
phone_number
phone_number: string;
Defined in: sdk/js/src/types/phone-numbers.ts:52
routing_target?
routing_target?: string | null;
Defined in: sdk/js/src/types/phone-numbers.ts:100
status
status: "active" | "inactive" | "released";
Defined in: sdk/js/src/types/phone-numbers.ts:53
updated_at
updated_at: string;
Defined in: sdk/js/src/types/phone-numbers.ts:104