Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PhoneNumberAdministration

Package version

Class representing a PhoneNumberAdministration.

Hierarchy

  • PhoneNumberAdministration

Index

Constructors

constructor

Methods

cancelSearch

  • cancelSearch(searchId: string, options?: coreHttp.RequestOptionsBase): Promise<coreHttp.RestResponse>
  • cancelSearch(searchId: string, callback: coreHttp.ServiceCallback<void>): void
  • cancelSearch(searchId: string, options: coreHttp.RequestOptionsBase, callback: coreHttp.ServiceCallback<void>): void

configureNumber

  • configureNumber(pstnConfiguration: PstnConfiguration, phoneNumber: string, options?: coreHttp.RequestOptionsBase): Promise<coreHttp.RestResponse>
  • configureNumber(pstnConfiguration: PstnConfiguration, phoneNumber: string, callback: coreHttp.ServiceCallback<void>): void
  • configureNumber(pstnConfiguration: PstnConfiguration, phoneNumber: string, options: coreHttp.RequestOptionsBase, callback: coreHttp.ServiceCallback<void>): void

createSearch

  • createSearch(displayName: string, description: string, phonePlanIds: string[], areaCode: string, options?: Models.PhoneNumberAdministrationCreateSearchOptionalParams): Promise<Models.PhoneNumberAdministrationCreateSearchResponse>
  • createSearch(displayName: string, description: string, phonePlanIds: string[], areaCode: string, callback: coreHttp.ServiceCallback<CreateSearchResponse>): void
  • createSearch(displayName: string, description: string, phonePlanIds: string[], areaCode: string, options: PhoneNumberAdministrationCreateSearchOptionalParams, callback: coreHttp.ServiceCallback<CreateSearchResponse>): void

getAllAreaCodes

  • getAllAreaCodes(locationType: string, countryCode: string, phonePlanId: string, options?: Models.PhoneNumberAdministrationGetAllAreaCodesOptionalParams): Promise<Models.PhoneNumberAdministrationGetAllAreaCodesResponse>
  • getAllAreaCodes(locationType: string, countryCode: string, phonePlanId: string, callback: coreHttp.ServiceCallback<AreaCodes>): void
  • getAllAreaCodes(locationType: string, countryCode: string, phonePlanId: string, options: PhoneNumberAdministrationGetAllAreaCodesOptionalParams, callback: coreHttp.ServiceCallback<AreaCodes>): void

getAllPhoneNumbers

getAllReleases

getAllSearches

getAllSupportedCountries

getCapabilitiesUpdate

  • getCapabilitiesUpdate(capabilitiesUpdateId: string, options?: coreHttp.RequestOptionsBase): Promise<Models.PhoneNumberAdministrationGetCapabilitiesUpdateResponse>
  • getCapabilitiesUpdate(capabilitiesUpdateId: string, callback: coreHttp.ServiceCallback<UpdatePhoneNumberCapabilitiesResponse>): void
  • getCapabilitiesUpdate(capabilitiesUpdateId: string, options: coreHttp.RequestOptionsBase, callback: coreHttp.ServiceCallback<UpdatePhoneNumberCapabilitiesResponse>): void

getNumberConfiguration

  • getNumberConfiguration(phoneNumber: string, options?: coreHttp.RequestOptionsBase): Promise<Models.PhoneNumberAdministrationGetNumberConfigurationResponse>
  • getNumberConfiguration(phoneNumber: string, callback: coreHttp.ServiceCallback<NumberConfigurationResponse>): void
  • getNumberConfiguration(phoneNumber: string, options: coreHttp.RequestOptionsBase, callback: coreHttp.ServiceCallback<NumberConfigurationResponse>): void

getPhonePlanGroups

  • getPhonePlanGroups(countryCode: string, options?: Models.PhoneNumberAdministrationGetPhonePlanGroupsOptionalParams): Promise<Models.PhoneNumberAdministrationGetPhonePlanGroupsResponse>
  • getPhonePlanGroups(countryCode: string, callback: coreHttp.ServiceCallback<PhonePlanGroups>): void
  • getPhonePlanGroups(countryCode: string, options: PhoneNumberAdministrationGetPhonePlanGroupsOptionalParams, callback: coreHttp.ServiceCallback<PhonePlanGroups>): void

getPhonePlanLocationOptions

  • getPhonePlanLocationOptions(countryCode: string, phonePlanGroupId: string, phonePlanId: string, options?: Models.PhoneNumberAdministrationGetPhonePlanLocationOptionsOptionalParams): Promise<Models.PhoneNumberAdministrationGetPhonePlanLocationOptionsResponse>
  • getPhonePlanLocationOptions(countryCode: string, phonePlanGroupId: string, phonePlanId: string, callback: coreHttp.ServiceCallback<LocationOptionsResponse>): void
  • getPhonePlanLocationOptions(countryCode: string, phonePlanGroupId: string, phonePlanId: string, options: PhoneNumberAdministrationGetPhonePlanLocationOptionsOptionalParams, callback: coreHttp.ServiceCallback<LocationOptionsResponse>): void

getPhonePlans

  • getPhonePlans(countryCode: string, phonePlanGroupId: string, options?: Models.PhoneNumberAdministrationGetPhonePlansOptionalParams): Promise<Models.PhoneNumberAdministrationGetPhonePlansResponse>
  • getPhonePlans(countryCode: string, phonePlanGroupId: string, callback: coreHttp.ServiceCallback<PhonePlansResponse>): void
  • getPhonePlans(countryCode: string, phonePlanGroupId: string, options: PhoneNumberAdministrationGetPhonePlansOptionalParams, callback: coreHttp.ServiceCallback<PhonePlansResponse>): void

getReleaseById

  • getReleaseById(releaseId: string, options?: coreHttp.RequestOptionsBase): Promise<Models.PhoneNumberAdministrationGetReleaseByIdResponse>
  • getReleaseById(releaseId: string, callback: coreHttp.ServiceCallback<PhoneNumberRelease>): void
  • getReleaseById(releaseId: string, options: coreHttp.RequestOptionsBase, callback: coreHttp.ServiceCallback<PhoneNumberRelease>): void

getSearchById

  • getSearchById(searchId: string, options?: coreHttp.RequestOptionsBase): Promise<Models.PhoneNumberAdministrationGetSearchByIdResponse>
  • getSearchById(searchId: string, callback: coreHttp.ServiceCallback<PhoneNumberSearch>): void
  • getSearchById(searchId: string, options: coreHttp.RequestOptionsBase, callback: coreHttp.ServiceCallback<PhoneNumberSearch>): void

purchaseSearch

  • purchaseSearch(searchId: string, options?: coreHttp.RequestOptionsBase): Promise<coreHttp.RestResponse>
  • purchaseSearch(searchId: string, callback: coreHttp.ServiceCallback<void>): void
  • purchaseSearch(searchId: string, options: coreHttp.RequestOptionsBase, callback: coreHttp.ServiceCallback<void>): void

releasePhoneNumbers

  • releasePhoneNumbers(phoneNumbers: string[], options?: coreHttp.RequestOptionsBase): Promise<Models.PhoneNumberAdministrationReleasePhoneNumbersResponse>
  • releasePhoneNumbers(phoneNumbers: string[], callback: coreHttp.ServiceCallback<ReleaseResponse>): void
  • releasePhoneNumbers(phoneNumbers: string[], options: coreHttp.RequestOptionsBase, callback: coreHttp.ServiceCallback<ReleaseResponse>): void

unconfigureNumber

  • unconfigureNumber(phoneNumber: string, options?: coreHttp.RequestOptionsBase): Promise<coreHttp.RestResponse>
  • unconfigureNumber(phoneNumber: string, callback: coreHttp.ServiceCallback<void>): void
  • unconfigureNumber(phoneNumber: string, options: coreHttp.RequestOptionsBase, callback: coreHttp.ServiceCallback<void>): void

updateCapabilities

  • updateCapabilities(phoneNumberCapabilitiesUpdate: {}, options?: coreHttp.RequestOptionsBase): Promise<Models.PhoneNumberAdministrationUpdateCapabilitiesResponse>
  • updateCapabilities(phoneNumberCapabilitiesUpdate: {}, callback: coreHttp.ServiceCallback<UpdateNumberCapabilitiesResponse>): void
  • updateCapabilities(phoneNumberCapabilitiesUpdate: {}, options: coreHttp.RequestOptionsBase, callback: coreHttp.ServiceCallback<UpdateNumberCapabilitiesResponse>): void

Generated using TypeDoc