Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new PhoneNumber(prv: PathSegment, id?: string, service?: any): PhoneNumber

Methods

get

  • Required Permissions

    PermissionDescription
    ReadAccountsViewing user account info (including name, business name, address and phone number/account number)

    Usage Plan Group

    Light

    Returns Promise<PhoneNumberInfo>

getEndpoint

  • getEndpoint(withValue?: boolean): string

Protected getRest

list

  • Since 1.0.2

    Returns the list of phone numbers that are used by a particular extension, and can be filtered by the phone number type. The returned list contains all numbers which are directly mapped to a given extension plus the features and also company-level numbers which may be used when performing different operations on behalf of this extension.

    Required Permissions

    PermissionDescription
    ReadAccountsViewing user account info (including name, business name, address and phone number/account number)

    Usage Plan Group

    Light

    Parameters

    Returns Promise<GetExtensionPhoneNumbersResponse>

toString

  • toString(withValue?: boolean): string

Generated using TypeDoc