@dialstack/sdk-dev / js/src / UpdatePhoneNumberRequest
Interface: UpdatePhoneNumberRequest
Defined in: sdk/js/src/types/phone-numbers.ts:107
Request body for updating a phone number via POST /v1/phone-numbers/:id
Properties
caller_id_name?
optional caller_id_name?: string;
Defined in: sdk/js/src/types/phone-numbers.ts:119
caller_id_prefix?
optional caller_id_prefix?: string | null;
Defined in: sdk/js/src/types/phone-numbers.ts:126
Prefix added to the inbound caller's display name (e.g. [Acme] John Smith,
or [Acme] +14084806024 when the caller's name is unknown). Applies both to
the device that answers and to calls forwarded out to an external number.
Send null to clear.
caller_id_visibility?
optional caller_id_visibility?: "PUBLIC" | "PRIVATE";
Defined in: sdk/js/src/types/phone-numbers.ts:127
config?
optional config?: DIDConfig | null;
Defined in: sdk/js/src/types/phone-numbers.ts:130
Pass null to clear the per-DID config blob.
directory_listing_location?
optional directory_listing_location?: string;
Defined in: sdk/js/src/types/phone-numbers.ts:114
directory_listing_location_id?
optional directory_listing_location_id?: string;
Defined in: sdk/js/src/types/phone-numbers.ts:116
Deprecated
Use directory_listing_location. Retained for backwards compatibility.
directory_listing_name?
optional directory_listing_name?: string;
Defined in: sdk/js/src/types/phone-numbers.ts:112
directory_listing_type?
optional directory_listing_type?: DirectoryListingType;
Defined in: sdk/js/src/types/phone-numbers.ts:113
expires_at?
optional expires_at?: null;
Defined in: sdk/js/src/types/phone-numbers.ts:111
Pass null to convert a temporary number to permanent. Extending the expiry is not supported.
fax_enabled?
optional fax_enabled?: boolean;
Defined in: sdk/js/src/types/phone-numbers.ts:128
location?
optional location?: string | null;
Defined in: sdk/js/src/types/phone-numbers.ts:118
Assign the number's service location, or null to clear it.
outbound_enabled?
optional outbound_enabled?: boolean;
Defined in: sdk/js/src/types/phone-numbers.ts:108
status?
optional status?: "active" | "inactive";
Defined in: sdk/js/src/types/phone-numbers.ts:109