import { ActiveNumber, DeprovisionEmergencyAddressRequestData, EmergencyAddress, GetActiveNumberRequestData, GetEmergencyAddressRequestData, ListActiveNumbersRequestData, ProvisionEmergencyAddressRequestData, ReleaseNumberRequestData, UpdateActiveNumberRequestData, ValidateEmergencyAddressResponse, ValidateEmergencyAddressRequestData } from '../../../models'; import { ApiListPromise } from '@sinch/sdk-client'; import { NumbersDomainApi } from '../numbers-domain-api'; import { LazyNumbersApiClient } from '../numbers-service'; export declare class ActiveNumberApi extends NumbersDomainApi { constructor(lazyClient: LazyNumbersApiClient); /** * Get active Number * Get a virtual number * @param {GetActiveNumberRequestData} data - The data to provide to the API call. */ get(data: GetActiveNumberRequestData): Promise; /** * List active numbers * Lists all virtual numbers for a project. * @param {ListActiveNumbersRequestData} data - The data to provide to the API call. * @return {ApiListPromise} */ list(data?: ListActiveNumbersRequestData): ApiListPromise; /** * Release number * With this endpoint, you can cancel your subscription for a specific virtual phone number. * @param {ReleaseNumberRequestData} data - The data to provide to the API call. */ release(data: ReleaseNumberRequestData): Promise; /** * Update active number * Update a virtual phone number. For example: you can configure SMS/Voice services or set a friendly name. To update the name that displays, modify the `displayName` parameter. * You'll use `smsConfiguration` to update your SMS configuration and `voiceConfiguration` to update the voice configuration. * @param {UpdateActiveNumberRequestData} data - The data to provide to the API call. */ update(data: UpdateActiveNumberRequestData): Promise; /** * Remove the emergency address for a number. * With this endpoint, you can deprovision the emergency address associated with this number. * @param {DeprovisionEmergencyAddressRequestData} data - The data to provide to the API call. */ deprovisionEmergencyAddress(data: DeprovisionEmergencyAddressRequestData): Promise; /** * Get the emergency address for a number * With this endpoint, you can retrieve the emergency address associated with this number. * @param {GetEmergencyAddressRequestData} data - The data to provide to the API call. */ getEmergencyAddress(data: GetEmergencyAddressRequestData): Promise; /** * Add a emergency address for a number * With this endpoint, you can provision an emergency address associated with this number. * @param {ProvisionEmergencyAddressRequestData} data - The data to provide to the API call. */ provisionEmergencyAddress(data: ProvisionEmergencyAddressRequestData): Promise; /** * Validate the emergency address for a number. * With this endpoint, you can validate the emergency address associated with this number. * @param {ValidateEmergencyAddressRequestData} data - The data to provide to the API call. */ validateEmergencyAddress(data: ValidateEmergencyAddressRequestData): Promise; }