Skip to main content

Client

Struct Client 

Source
pub struct Client { /* private fields */ }
Expand description

Async client for the VoIP.ms REST API.

Clients are cheap to clone; the underlying reqwest::Client uses an internal connection pool that is shared across clones.

Implementations§

Source§

impl Client

Source

pub fn new( api_username: impl Into<String>, api_password: impl Into<String>, ) -> Self

Build a new client with the default base URL and a default reqwest::Client. Use Client::builder for more control.

§Panics

Panics if the default base URL fails to parse, which would indicate a bug in this crate.

Source

pub fn builder( api_username: impl Into<String>, api_password: impl Into<String>, ) -> ClientBuilder

Start building a client with custom HTTP client or base URL.

Source

pub async fn call_raw<P>(&self, method: &str, params: &P) -> Result<Value>
where P: Serialize + ?Sized,

Issue a request for method with the given typed parameters and return the full JSON response body as a serde_json::Value.

The status field is inspected: any value other than success causes an Error::Api – including the empty-collection statuses (ApiStatus::is_empty, e.g. no_sms). This is the verbatim escape hatch: it surfaces exactly what VoIP.ms returned. The typed Client::call instead folds those into an empty response.

This is the low-level raw call used by every generated *_raw method on Client. Reach for it directly when VoIP.ms adds a method this crate hasn’t been regenerated for; otherwise prefer the typed Client::call or one of the per-method wrappers.

Source

pub async fn call<P, T>(&self, method: &str, params: &P) -> Result<T>

Issue a request and deserialize the full JSON response body into T.

Like Client::call_raw, a non-success status is returned as Error::Api – except an empty-collection status (ApiStatus::is_empty), which deserializes into T with its collection fields defaulting to None rather than erroring.

Source

pub async fn call_at<P, T>( &self, method: &str, params: &P, pointer: &str, ) -> Result<T>

Issue a request and deserialize a JSON subtree selected by JSON pointer.

Use this when the API wraps the interesting data under a known key (e.g. /balance or /dids).

As with Client::call, an empty-collection status (ApiStatus::is_empty) is not an error; it carries no data subtree, so the pointer resolves to JSON null and T’s fields default to None.

Source

pub fn base_url(&self) -> &Url

The base URL this client posts to.

Source§

impl Client

Source

pub async fn add_charge( &self, params: &AddChargeParams, ) -> Result<AddChargeResponse>

- Adds a Charge to a specific Reseller Client

Call the addCharge API method and deserialize into AddChargeResponse.

Source

pub async fn add_charge_raw(&self, params: &AddChargeParams) -> Result<Value>

Call the addCharge API method and return the raw JSON envelope.

Source

pub async fn add_lnp_file( &self, params: &AddLNPFileParams, ) -> Result<AddLNPFileResponse>

- Add an invoice file to a portability process.

Call the addLNPFile API method and deserialize into AddLNPFileResponse.

Source

pub async fn add_lnp_file_raw(&self, params: &AddLNPFileParams) -> Result<Value>

Call the addLNPFile API method and return the raw JSON envelope.

Source

pub async fn add_lnp_port( &self, params: &AddLNPPortParams, ) -> Result<AddLNPPortResponse>

- Add one or more numbers to start a portability process.

Call the addLNPPort API method and deserialize into AddLNPPortResponse.

Source

pub async fn add_lnp_port_raw(&self, params: &AddLNPPortParams) -> Result<Value>

Call the addLNPPort API method and return the raw JSON envelope.

Source

pub async fn add_member_to_conference( &self, params: &AddMemberToConferenceParams, ) -> Result<AddMemberToConferenceResponse>

- Add Member to a Conference

Call the addMemberToConference API method and deserialize into AddMemberToConferenceResponse.

Source

pub async fn add_member_to_conference_raw( &self, params: &AddMemberToConferenceParams, ) -> Result<Value>

Call the addMemberToConference API method and return the raw JSON envelope.

Source

pub async fn add_payment( &self, params: &AddPaymentParams, ) -> Result<AddPaymentResponse>

- Adds a Payment to a specific Reseller Client

Call the addPayment API method and deserialize into AddPaymentResponse.

Source

pub async fn add_payment_raw(&self, params: &AddPaymentParams) -> Result<Value>

Call the addPayment API method and return the raw JSON envelope.

Source

pub async fn assign_did_vpri( &self, params: &AssignDIDvPRIParams, ) -> Result<AssignDIDvPRIResponse>

- Assigns a Per Minute DID to a VPRI (Flat Rate DIDs can’t be assigned)

Call the assignDIDvPRI API method and deserialize into AssignDIDvPRIResponse.

Source

pub async fn assign_did_vpri_raw( &self, params: &AssignDIDvPRIParams, ) -> Result<Value>

Call the assignDIDvPRI API method and return the raw JSON envelope.

Source

pub async fn back_order_did_can( &self, params: &BackOrderDIDCANParams, ) -> Result<BackOrderDIDCANResponse>

- Backorder DID (CANADA) from a specific ratecenter and province.

Call the backOrderDIDCAN API method and deserialize into BackOrderDIDCANResponse.

Source

pub async fn back_order_did_can_raw( &self, params: &BackOrderDIDCANParams, ) -> Result<Value>

Call the backOrderDIDCAN API method and return the raw JSON envelope.

Source

pub async fn back_order_did_usa( &self, params: &BackOrderDIDUSAParams, ) -> Result<BackOrderDIDUSAResponse>

- Backorder DID (USA) from a specific ratecenter and state.

Call the backOrderDIDUSA API method and deserialize into BackOrderDIDUSAResponse.

Source

pub async fn back_order_did_usa_raw( &self, params: &BackOrderDIDUSAParams, ) -> Result<Value>

Call the backOrderDIDUSA API method and return the raw JSON envelope.

Source

pub async fn cancel_did( &self, params: &CancelDIDParams, ) -> Result<CancelDIDResponse>

- Deletes a specific DID from your Account.

Call the cancelDID API method and deserialize into CancelDIDResponse.

Source

pub async fn cancel_did_raw(&self, params: &CancelDIDParams) -> Result<Value>

Call the cancelDID API method and return the raw JSON envelope.

Source

pub async fn cancel_fax_number( &self, params: &CancelFAXNumberParams, ) -> Result<CancelFAXNumberResponse>

- Deletes a specific Fax Number from your Account.

Call the cancelFaxNumber API method and deserialize into CancelFAXNumberResponse.

Source

pub async fn cancel_fax_number_raw( &self, params: &CancelFAXNumberParams, ) -> Result<Value>

Call the cancelFaxNumber API method and return the raw JSON envelope.

Source

pub async fn connect_did( &self, params: &ConnectDIDParams, ) -> Result<ConnectDIDResponse>

- Connects a specific DID to a specific Reseller Client Sub Account

Call the connectDID API method and deserialize into ConnectDIDResponse.

Source

pub async fn connect_did_raw(&self, params: &ConnectDIDParams) -> Result<Value>

Call the connectDID API method and return the raw JSON envelope.

Source

pub async fn connect_fax( &self, params: &ConnectFAXParams, ) -> Result<ConnectFAXResponse>

- Connects a specific FAX DID to a specific Reseller Client Sub Account

Call the connectFAX API method and deserialize into ConnectFAXResponse.

Source

pub async fn connect_fax_raw(&self, params: &ConnectFAXParams) -> Result<Value>

Call the connectFAX API method and return the raw JSON envelope.

Source

pub async fn create_sub_account( &self, params: &CreateSubAccountParams, ) -> Result<CreateSubAccountResponse>

- Adds a new Sub Account entry to your Account

Call the createSubAccount API method and deserialize into CreateSubAccountResponse.

Source

pub async fn create_sub_account_raw( &self, params: &CreateSubAccountParams, ) -> Result<Value>

Call the createSubAccount API method and return the raw JSON envelope.

Source

pub async fn create_voicemail( &self, params: &CreateVoicemailParams, ) -> Result<CreateVoicemailResponse>

- Adds a new Voicemail entry to your Account

Call the createVoicemail API method and deserialize into CreateVoicemailResponse.

Source

pub async fn create_voicemail_raw( &self, params: &CreateVoicemailParams, ) -> Result<Value>

Call the createVoicemail API method and return the raw JSON envelope.

Source

pub async fn del_call_hunting( &self, params: &DelCallHuntingParams, ) -> Result<DelCallHuntingResponse>

- Deletes a specific Call Hunting from your Account.

Call the delCallHunting API method and deserialize into DelCallHuntingResponse.

Source

pub async fn del_call_hunting_raw( &self, params: &DelCallHuntingParams, ) -> Result<Value>

Call the delCallHunting API method and return the raw JSON envelope.

Source

pub async fn del_call_parking( &self, params: &DelCallParkingParams, ) -> Result<DelCallParkingResponse>

- Deletes a specific Call Parking entry from your Account.

Call the delCallParking API method and deserialize into DelCallParkingResponse.

Source

pub async fn del_call_parking_raw( &self, params: &DelCallParkingParams, ) -> Result<Value>

Call the delCallParking API method and return the raw JSON envelope.

Source

pub async fn del_call_recording( &self, params: &DelCallRecordingParams, ) -> Result<DelCallRecordingResponse>

- Delete specific call recording, audio file and information related.

Call the delCallRecording API method and deserialize into DelCallRecordingResponse.

Source

pub async fn del_call_recording_raw( &self, params: &DelCallRecordingParams, ) -> Result<Value>

Call the delCallRecording API method and return the raw JSON envelope.

Source

pub async fn del_callback( &self, params: &DelCallbackParams, ) -> Result<DelCallbackResponse>

- Deletes a specific Callback from your Account.

Call the delCallback API method and deserialize into DelCallbackResponse.

Source

pub async fn del_callback_raw( &self, params: &DelCallbackParams, ) -> Result<Value>

Call the delCallback API method and return the raw JSON envelope.

Source

pub async fn del_caller_id_filtering( &self, params: &DelCallerIDFilteringParams, ) -> Result<DelCallerIDFilteringResponse>

- Deletes a specific CallerID Filtering from your Account.

Call the delCallerIDFiltering API method and deserialize into DelCallerIDFilteringResponse.

Source

pub async fn del_caller_id_filtering_raw( &self, params: &DelCallerIDFilteringParams, ) -> Result<Value>

Call the delCallerIDFiltering API method and return the raw JSON envelope.

Source

pub async fn del_client( &self, params: &DelClientParams, ) -> Result<DelClientResponse>

- Deletes a specific reseller client from your Account.

Call the delClient API method and deserialize into DelClientResponse.

Source

pub async fn del_client_raw(&self, params: &DelClientParams) -> Result<Value>

Call the delClient API method and return the raw JSON envelope.

Source

pub async fn del_conference( &self, params: &DelConferenceParams, ) -> Result<DelConferenceResponse>

- Deletes a specific Conference from your Account.

Call the delConference API method and deserialize into DelConferenceResponse.

Source

pub async fn del_conference_raw( &self, params: &DelConferenceParams, ) -> Result<Value>

Call the delConference API method and return the raw JSON envelope.

Source

pub async fn del_conference_member( &self, params: &DelConferenceMemberParams, ) -> Result<DelConferenceMemberResponse>

- Deletes a specific Member profile from your Account.

Call the delConferenceMember API method and deserialize into DelConferenceMemberResponse.

Source

pub async fn del_conference_member_raw( &self, params: &DelConferenceMemberParams, ) -> Result<Value>

Call the delConferenceMember API method and return the raw JSON envelope.

Source

pub async fn del_disa(&self, params: &DelDISAParams) -> Result<DelDISAResponse>

- Deletes a specific DISA from your Account.

Call the delDISA API method and deserialize into DelDISAResponse.

Source

pub async fn del_disa_raw(&self, params: &DelDISAParams) -> Result<Value>

Call the delDISA API method and return the raw JSON envelope.

Source

pub async fn del_email_to_fax( &self, params: &DelEmailToFAXParams, ) -> Result<DelEmailToFAXResponse>

- Deletes a specific “Email to Fax configuration” from your Account.

Call the delEmailToFax API method and deserialize into DelEmailToFAXResponse.

Source

pub async fn del_email_to_fax_raw( &self, params: &DelEmailToFAXParams, ) -> Result<Value>

Call the delEmailToFax API method and return the raw JSON envelope.

Source

pub async fn del_fax_folder( &self, params: &DelFAXFolderParams, ) -> Result<DelFAXFolderResponse>

- Deletes a specific Fax Folder from your Account.

Call the delFaxFolder API method and deserialize into DelFAXFolderResponse.

Source

pub async fn del_fax_folder_raw( &self, params: &DelFAXFolderParams, ) -> Result<Value>

Call the delFaxFolder API method and return the raw JSON envelope.

Source

pub async fn del_forwarding( &self, params: &DelForwardingParams, ) -> Result<DelForwardingResponse>

- Deletes a specific Forwarding from your Account.

Call the delForwarding API method and deserialize into DelForwardingResponse.

Source

pub async fn del_forwarding_raw( &self, params: &DelForwardingParams, ) -> Result<Value>

Call the delForwarding API method and return the raw JSON envelope.

Source

pub async fn del_ivr(&self, params: &DelIVRParams) -> Result<DelIVRResponse>

- Deletes a specific IVR from your Account.

Call the delIVR API method and deserialize into DelIVRResponse.

Source

pub async fn del_ivr_raw(&self, params: &DelIVRParams) -> Result<Value>

Call the delIVR API method and return the raw JSON envelope.

Source

pub async fn del_location( &self, params: &DelLocationParams, ) -> Result<DelLocationResponse>

Call the delLocation API method and deserialize into DelLocationResponse.

Source

pub async fn del_location_raw( &self, params: &DelLocationParams, ) -> Result<Value>

Call the delLocation API method and return the raw JSON envelope.

Source

pub async fn del_member_from_conference( &self, params: &DelMemberFromConferenceParams, ) -> Result<DelMemberFromConferenceResponse>

- Removes a member profile from a specific Conference from your Account

Call the delMemberFromConference API method and deserialize into DelMemberFromConferenceResponse.

Source

pub async fn del_member_from_conference_raw( &self, params: &DelMemberFromConferenceParams, ) -> Result<Value>

Call the delMemberFromConference API method and return the raw JSON envelope.

Source

pub async fn del_messages( &self, params: &DelMessagesParams, ) -> Result<DelMessagesResponse>

- Deletes all messages in all servers from a specific Voicemail from your Account

Call the delMessages API method and deserialize into DelMessagesResponse.

Source

pub async fn del_messages_raw( &self, params: &DelMessagesParams, ) -> Result<Value>

Call the delMessages API method and return the raw JSON envelope.

Source

pub async fn del_music_on_hold( &self, params: &DelMusicOnHoldParams, ) -> Result<DelMusicOnHoldResponse>

- Deletes a specific custom Music on Hold.

Call the delMusicOnHold API method and deserialize into DelMusicOnHoldResponse.

Source

pub async fn del_music_on_hold_raw( &self, params: &DelMusicOnHoldParams, ) -> Result<Value>

Call the delMusicOnHold API method and return the raw JSON envelope.

Source

pub async fn del_phonebook( &self, params: &DelPhonebookParams, ) -> Result<DelPhonebookResponse>

- Deletes a specific Phonebook from your Account.

Call the delPhonebook API method and deserialize into DelPhonebookResponse.

Source

pub async fn del_phonebook_raw( &self, params: &DelPhonebookParams, ) -> Result<Value>

Call the delPhonebook API method and return the raw JSON envelope.

Source

pub async fn del_phonebook_group( &self, params: &DelPhonebookGroupParams, ) -> Result<DelPhonebookGroupResponse>

- Deletes a specific Phonebook group from your Account.

Call the delPhonebookGroup API method and deserialize into DelPhonebookGroupResponse.

Source

pub async fn del_phonebook_group_raw( &self, params: &DelPhonebookGroupParams, ) -> Result<Value>

Call the delPhonebookGroup API method and return the raw JSON envelope.

Source

pub async fn del_queue( &self, params: &DelQueueParams, ) -> Result<DelQueueResponse>

- Deletes a specific Queue from your Account.

Call the delQueue API method and deserialize into DelQueueResponse.

Source

pub async fn del_queue_raw(&self, params: &DelQueueParams) -> Result<Value>

Call the delQueue API method and return the raw JSON envelope.

Source

pub async fn del_recording( &self, params: &DelRecordingParams, ) -> Result<DelRecordingResponse>

- Deletes a specific Recording from your Account.

Call the delRecording API method and deserialize into DelRecordingResponse.

Source

pub async fn del_recording_raw( &self, params: &DelRecordingParams, ) -> Result<Value>

Call the delRecording API method and return the raw JSON envelope.

Source

pub async fn del_ring_group( &self, params: &DelRingGroupParams, ) -> Result<DelRingGroupResponse>

- Deletes a specific Ring Group from your Account.

Call the delRingGroup API method and deserialize into DelRingGroupResponse.

Source

pub async fn del_ring_group_raw( &self, params: &DelRingGroupParams, ) -> Result<Value>

Call the delRingGroup API method and return the raw JSON envelope.

Source

pub async fn del_sip_uri( &self, params: &DelSIPURIParams, ) -> Result<DelSIPURIResponse>

- Deletes a specific SIP URI from your Account.

Call the delSIPURI API method and deserialize into DelSIPURIResponse.

Source

pub async fn del_sip_uri_raw(&self, params: &DelSIPURIParams) -> Result<Value>

Call the delSIPURI API method and return the raw JSON envelope.

Source

pub async fn del_static_member( &self, params: &DelStaticMemberParams, ) -> Result<DelStaticMemberResponse>

- Deletes a specific Static Member from Queue.

Call the delStaticMember API method and deserialize into DelStaticMemberResponse.

Source

pub async fn del_static_member_raw( &self, params: &DelStaticMemberParams, ) -> Result<Value>

Call the delStaticMember API method and return the raw JSON envelope.

Source

pub async fn del_sub_account( &self, params: &DelSubAccountParams, ) -> Result<DelSubAccountResponse>

- Deletes a specific Sub Account from your Account

Call the delSubAccount API method and deserialize into DelSubAccountResponse.

Source

pub async fn del_sub_account_raw( &self, params: &DelSubAccountParams, ) -> Result<Value>

Call the delSubAccount API method and return the raw JSON envelope.

Source

pub async fn del_time_condition( &self, params: &DelTimeConditionParams, ) -> Result<DelTimeConditionResponse>

- Deletes a specific Time Condition from your Account.

Call the delTimeCondition API method and deserialize into DelTimeConditionResponse.

Source

pub async fn del_time_condition_raw( &self, params: &DelTimeConditionParams, ) -> Result<Value>

Call the delTimeCondition API method and return the raw JSON envelope.

Source

pub async fn del_voicemail( &self, params: &DelVoicemailParams, ) -> Result<DelVoicemailResponse>

- Deletes a specific Voicemail from your Account

Call the delVoicemail API method and deserialize into DelVoicemailResponse.

Source

pub async fn del_voicemail_raw( &self, params: &DelVoicemailParams, ) -> Result<Value>

Call the delVoicemail API method and return the raw JSON envelope.

Source

pub async fn delete_fax_message( &self, params: &DeleteFAXMessageParams, ) -> Result<DeleteFAXMessageResponse>

- Deletes a specific Fax Message from your Account.

Call the deleteFaxMessage API method and deserialize into DeleteFAXMessageResponse.

Source

pub async fn delete_fax_message_raw( &self, params: &DeleteFAXMessageParams, ) -> Result<Value>

Call the deleteFaxMessage API method and return the raw JSON envelope.

Source

pub async fn delete_mms( &self, params: &DeleteMMSParams, ) -> Result<DeleteMMSResponse>

- Deletes a specific MMS from your Account.

Call the deleteMMS API method and deserialize into DeleteMMSResponse.

Source

pub async fn delete_mms_raw(&self, params: &DeleteMMSParams) -> Result<Value>

Call the deleteMMS API method and return the raw JSON envelope.

Source

pub async fn delete_sms( &self, params: &DeleteSMSParams, ) -> Result<DeleteSMSResponse>

- Deletes a specific SMS from your Account.

Call the deleteSMS API method and deserialize into DeleteSMSResponse.

Source

pub async fn delete_sms_raw(&self, params: &DeleteSMSParams) -> Result<Value>

Call the deleteSMS API method and return the raw JSON envelope.

Source

pub async fn e911_address_types( &self, params: &E911AddressTypesParams, ) -> Result<E911AddressTypesResponse>

- Retrieves a list of e911 Address Types if no additional parameter is provided. - Retrieves a specific e911 Address Type if an Address code is provided.

Call the e911AddressTypes API method and deserialize into E911AddressTypesResponse.

Source

pub async fn e911_address_types_raw( &self, params: &E911AddressTypesParams, ) -> Result<Value>

Call the e911AddressTypes API method and return the raw JSON envelope.

Source

pub async fn e911_cancel( &self, params: &E911CancelParams, ) -> Result<E911CancelResponse>

- Cancel the e911 Service from a specific DID.

Call the e911Cancel API method and deserialize into E911CancelResponse.

Source

pub async fn e911_cancel_raw(&self, params: &E911CancelParams) -> Result<Value>

Call the e911Cancel API method and return the raw JSON envelope.

Source

pub async fn e911_info( &self, params: &E911InfoParams, ) -> Result<E911InfoResponse>

- Retrieves the e911 information from a specific DID.

Call the e911Info API method and deserialize into E911InfoResponse.

Source

pub async fn e911_info_raw(&self, params: &E911InfoParams) -> Result<Value>

Call the e911Info API method and return the raw JSON envelope.

Source

pub async fn e911_provision( &self, params: &E911ProvisionParams, ) -> Result<E911ProvisionResponse>

- Subscribes your DID to the e911 Emergency Services.

Call the e911Provision API method and deserialize into E911ProvisionResponse.

Source

pub async fn e911_provision_raw( &self, params: &E911ProvisionParams, ) -> Result<Value>

Call the e911Provision API method and return the raw JSON envelope.

Source

pub async fn e911_provision_manually( &self, params: &E911ProvisionManuallyParams, ) -> Result<E911ProvisionManuallyResponse>

- Subscribes your DID to the e911 Emergency Services. - All e911 information will be validated by the VoIP.ms staff.

Call the e911ProvisionManually API method and deserialize into E911ProvisionManuallyResponse.

Source

pub async fn e911_provision_manually_raw( &self, params: &E911ProvisionManuallyParams, ) -> Result<Value>

Call the e911ProvisionManually API method and return the raw JSON envelope.

Source

pub async fn e911_update( &self, params: &E911UpdateParams, ) -> Result<E911UpdateResponse>

- Updates the Information from your e911 Emergency Services Subscription.

Call the e911Update API method and deserialize into E911UpdateResponse.

Source

pub async fn e911_update_raw(&self, params: &E911UpdateParams) -> Result<Value>

Call the e911Update API method and return the raw JSON envelope.

Source

pub async fn e911_validate( &self, params: &E911ValidateParams, ) -> Result<E911ValidateResponse>

- Validates your e911 information in order to start your e911 Emergency Services Subscription.

Call the e911Validate API method and deserialize into E911ValidateResponse.

Source

pub async fn e911_validate_raw( &self, params: &E911ValidateParams, ) -> Result<Value>

Call the e911Validate API method and return the raw JSON envelope.

Source

pub async fn get_allowed_codecs( &self, params: &GetAllowedCodecsParams, ) -> Result<GetAllowedCodecsResponse>

- Retrieves a list of Allowed Codecs if no additional parameter is provided. - Retrieves a specific Allowed Codec if a codec code is provided.

Call the getAllowedCodecs API method and deserialize into GetAllowedCodecsResponse.

Source

pub async fn get_allowed_codecs_raw( &self, params: &GetAllowedCodecsParams, ) -> Result<Value>

Call the getAllowedCodecs API method and return the raw JSON envelope.

Source

pub async fn get_auth_types( &self, params: &GetAuthTypesParams, ) -> Result<GetAuthTypesResponse>

- Retrieves a list of Authentication Types if no additional parameter is provided. - Retrieves a specific Authentication Type if an auth type code is provided.

Call the getAuthTypes API method and deserialize into GetAuthTypesResponse.

Source

pub async fn get_auth_types_raw( &self, params: &GetAuthTypesParams, ) -> Result<Value>

Call the getAuthTypes API method and return the raw JSON envelope.

Source

pub async fn get_back_orders( &self, params: &GetBackOrdersParams, ) -> Result<GetBackOrdersResponse>

- Retrieves a list of backorder DIDs if no additional parameter is provided. - Retrieves a specific backorder DID if a backorder DID code is provided.

Call the getBackOrders API method and deserialize into GetBackOrdersResponse.

Source

pub async fn get_back_orders_raw( &self, params: &GetBackOrdersParams, ) -> Result<Value>

Call the getBackOrders API method and return the raw JSON envelope.

Source

pub async fn get_balance( &self, params: &GetBalanceParams, ) -> Result<GetBalanceResponse>

- Retrieves Balance for your Account if no additional parameter is provided. - Retrieves Balance and Calls Statistics for your Account if “advanced” parameter is true.

Call the getBalance API method and deserialize into GetBalanceResponse.

Source

pub async fn get_balance_raw(&self, params: &GetBalanceParams) -> Result<Value>

Call the getBalance API method and return the raw JSON envelope.

Source

pub async fn get_balance_management( &self, params: &GetBalanceManagementParams, ) -> Result<GetBalanceManagementResponse>

- Retrieves a list of Balance Management Options if no additional parameter is provided. - Retrieves a specific Balance Management Option if a code is provided.

Call the getBalanceManagement API method and deserialize into GetBalanceManagementResponse.

Source

pub async fn get_balance_management_raw( &self, params: &GetBalanceManagementParams, ) -> Result<Value>

Call the getBalanceManagement API method and return the raw JSON envelope.

Source

pub async fn get_cdr(&self, params: &GetCDRParams) -> Result<GetCDRResponse>

- Retrieves the Call Detail Records of all your calls.

Call the getCDR API method and deserialize into GetCDRResponse.

Source

pub async fn get_cdr_raw(&self, params: &GetCDRParams) -> Result<Value>

Call the getCDR API method and return the raw JSON envelope.

Source

pub async fn get_call_accounts( &self, params: &GetCallAccountsParams, ) -> Result<GetCallAccountsResponse>

- Retrieves all Sub Accounts if no additional parameter is provided. - Retrieves Reseller Client Accounts if Reseller Client ID is provided.

Call the getCallAccounts API method and deserialize into GetCallAccountsResponse.

Source

pub async fn get_call_accounts_raw( &self, params: &GetCallAccountsParams, ) -> Result<Value>

Call the getCallAccounts API method and return the raw JSON envelope.

Source

pub async fn get_call_billing( &self, params: &GetCallBillingParams, ) -> Result<GetCallBillingResponse>

- Retrieves a list of Call Billing Options.

Call the getCallBilling API method and deserialize into GetCallBillingResponse.

Source

pub async fn get_call_billing_raw( &self, params: &GetCallBillingParams, ) -> Result<Value>

Call the getCallBilling API method and return the raw JSON envelope.

Source

pub async fn get_call_huntings( &self, params: &GetCallHuntingsParams, ) -> Result<GetCallHuntingsResponse>

- Retrieves a list of Call Huntings if no additional parameter is provided. - Retrieves a specific Call Huntings if a Call Hunting code is provided.

Call the getCallHuntings API method and deserialize into GetCallHuntingsResponse.

Source

pub async fn get_call_huntings_raw( &self, params: &GetCallHuntingsParams, ) -> Result<Value>

Call the getCallHuntings API method and return the raw JSON envelope.

Source

pub async fn get_call_parking( &self, params: &GetCallParkingParams, ) -> Result<GetCallParkingResponse>

- Retrieves all Call Parking entries if no additional parameter is provided. - Retrieves a specific Parking entry if a Call Parking ID is provided.

Call the getCallParking API method and deserialize into GetCallParkingResponse.

Source

pub async fn get_call_parking_raw( &self, params: &GetCallParkingParams, ) -> Result<Value>

Call the getCallParking API method and return the raw JSON envelope.

Source

pub async fn get_call_recording( &self, params: &GetCallRecordingParams, ) -> Result<GetCallRecordingResponse>

- Retrieves one especific call recording information, including the recording file on mp3 format.

Call the getCallRecording API method and deserialize into GetCallRecordingResponse.

Source

pub async fn get_call_recording_raw( &self, params: &GetCallRecordingParams, ) -> Result<Value>

Call the getCallRecording API method and return the raw JSON envelope.

Source

pub async fn get_call_recordings( &self, params: &GetCallRecordingsParams, ) -> Result<GetCallRecordingsResponse>

- Retrieves all call recordings related to account.

Call the getCallRecordings API method and deserialize into GetCallRecordingsResponse.

Source

pub async fn get_call_recordings_raw( &self, params: &GetCallRecordingsParams, ) -> Result<Value>

Call the getCallRecordings API method and return the raw JSON envelope.

Source

pub async fn get_call_transcriptions( &self, params: &GetCallTranscriptionsParams, ) -> Result<GetCallTranscriptionsResponse>

- Retrieves all Call Transcriptions if no additional parameter is provided.

Call the getCallTranscriptions API method and deserialize into GetCallTranscriptionsResponse.

Source

pub async fn get_call_transcriptions_raw( &self, params: &GetCallTranscriptionsParams, ) -> Result<Value>

Call the getCallTranscriptions API method and return the raw JSON envelope.

Source

pub async fn get_call_types( &self, params: &GetCallTypesParams, ) -> Result<GetCallTypesResponse>

- Retrieves a list of Call Types and All DIDs if no additional parameter is provided. - Retrieves a list of Call Types and Reseller Client DIDs if a Reseller Client ID is provided.

Call the getCallTypes API method and deserialize into GetCallTypesResponse.

Source

pub async fn get_call_types_raw( &self, params: &GetCallTypesParams, ) -> Result<Value>

Call the getCallTypes API method and return the raw JSON envelope.

Source

pub async fn get_callbacks( &self, params: &GetCallbacksParams, ) -> Result<GetCallbacksResponse>

- Retrieves a list of Callbacks if no additional parameter is provided. - Retrieves a specific Callback if a Callback code is provided.

Call the getCallbacks API method and deserialize into GetCallbacksResponse.

Source

pub async fn get_callbacks_raw( &self, params: &GetCallbacksParams, ) -> Result<Value>

Call the getCallbacks API method and return the raw JSON envelope.

Source

pub async fn get_caller_id_filtering( &self, params: &GetCallerIDFilteringParams, ) -> Result<GetCallerIDFilteringResponse>

- Retrieves a list of CallerID Filterings if no additional parameter is provided. - Retrieves a specific CallerID Filtering if a CallerID Filtering code is provided.

Call the getCallerIDFiltering API method and deserialize into GetCallerIDFilteringResponse.

Source

pub async fn get_caller_id_filtering_raw( &self, params: &GetCallerIDFilteringParams, ) -> Result<Value>

Call the getCallerIDFiltering API method and return the raw JSON envelope.

Source

pub async fn get_carriers( &self, params: &GetCarriersParams, ) -> Result<GetCarriersResponse>

- Retrieves a list of Carriers for Vanity Numbers if no additional parameter is provided. - Retrieves a specific Carrier for Vanity Numbers if a carrier code is provided.

Call the getCarriers API method and deserialize into GetCarriersResponse.

Source

pub async fn get_carriers_raw( &self, params: &GetCarriersParams, ) -> Result<Value>

Call the getCarriers API method and return the raw JSON envelope.

Source

pub async fn get_charges( &self, params: &GetChargesParams, ) -> Result<GetChargesResponse>

- Retrieves Charges made to a specific Reseller Client.

Call the getCharges API method and deserialize into GetChargesResponse.

Source

pub async fn get_charges_raw(&self, params: &GetChargesParams) -> Result<Value>

Call the getCharges API method and return the raw JSON envelope.

Source

pub async fn get_client_packages( &self, params: &GetClientPackagesParams, ) -> Result<GetClientPackagesResponse>

- Retrieves a list of Packages for a specific Reseller Client.

Call the getClientPackages API method and deserialize into GetClientPackagesResponse.

Source

pub async fn get_client_packages_raw( &self, params: &GetClientPackagesParams, ) -> Result<Value>

Call the getClientPackages API method and return the raw JSON envelope.

Source

pub async fn get_client_threshold( &self, params: &GetClientThresholdParams, ) -> Result<GetClientThresholdResponse>

- Retrieves the Threshold Information for a specific Reseller Client.

Call the getClientThreshold API method and deserialize into GetClientThresholdResponse.

Source

pub async fn get_client_threshold_raw( &self, params: &GetClientThresholdParams, ) -> Result<Value>

Call the getClientThreshold API method and return the raw JSON envelope.

Source

pub async fn get_clients( &self, params: &GetClientsParams, ) -> Result<GetClientsResponse>

- Retrieves a list of all Clients if no additional parameter is provided.- Retrieves a specific Reseller Client if a Reseller Client ID is provided. - Retrieves a specific Reseller Client if a Reseller Client e-mail is provided.

Call the getClients API method and deserialize into GetClientsResponse.

Source

pub async fn get_clients_raw(&self, params: &GetClientsParams) -> Result<Value>

Call the getClients API method and return the raw JSON envelope.

Source

pub async fn get_conference( &self, params: &GetConferenceParams, ) -> Result<GetConferenceResponse>

- Retrieves a list of Conferences if no additional parameter is provided. - Retrieves a specific Conference if a conference code is provided.

Call the getConference API method and deserialize into GetConferenceResponse.

Source

pub async fn get_conference_raw( &self, params: &GetConferenceParams, ) -> Result<Value>

Call the getConference API method and return the raw JSON envelope.

Source

pub async fn get_conference_members( &self, params: &GetConferenceMembersParams, ) -> Result<GetConferenceMembersResponse>

- Retrieves a list of Member profiles if no additional parameter is provided. - Retrieves a specific member if a member code is provided.

Call the getConferenceMembers API method and deserialize into GetConferenceMembersResponse.

Source

pub async fn get_conference_members_raw( &self, params: &GetConferenceMembersParams, ) -> Result<Value>

Call the getConferenceMembers API method and return the raw JSON envelope.

Source

pub async fn get_conference_recording_file( &self, params: &GetConferenceRecordingFileParams, ) -> Result<GetConferenceRecordingFileResponse>

- Retrieves a specific Recording File data in Base64 format.

Call the getConferenceRecordingFile API method and deserialize into GetConferenceRecordingFileResponse.

Source

pub async fn get_conference_recording_file_raw( &self, params: &GetConferenceRecordingFileParams, ) -> Result<Value>

Call the getConferenceRecordingFile API method and return the raw JSON envelope.

Source

pub async fn get_conference_recordings( &self, params: &GetConferenceRecordingsParams, ) -> Result<GetConferenceRecordingsResponse>

- Retrieves a list of recordings of a specific conference.

Call the getConferenceRecordings API method and deserialize into GetConferenceRecordingsResponse.

Source

pub async fn get_conference_recordings_raw( &self, params: &GetConferenceRecordingsParams, ) -> Result<Value>

Call the getConferenceRecordings API method and return the raw JSON envelope.

Source

pub async fn get_countries( &self, params: &GetCountriesParams, ) -> Result<GetCountriesResponse>

- Retrieves a list of Countries if no additional parameter is provided. - Retrieves a specific Country if a country code is provided.

Call the getCountries API method and deserialize into GetCountriesResponse.

Source

pub async fn get_countries_raw( &self, params: &GetCountriesParams, ) -> Result<Value>

Call the getCountries API method and return the raw JSON envelope.

Source

pub async fn get_did_countries( &self, params: &GetDIDCountriesParams, ) -> Result<GetDIDCountriesResponse>

- Retrieves a list of Countries for International DIDs if no country code is provided. - Retrieves a specific Country for International DIDs if a country code is provided.

Call the getDIDCountries API method and deserialize into GetDIDCountriesResponse.

Source

pub async fn get_did_countries_raw( &self, params: &GetDIDCountriesParams, ) -> Result<Value>

Call the getDIDCountries API method and return the raw JSON envelope.

Source

pub async fn get_dids_can( &self, params: &GetDIDsCANParams, ) -> Result<GetDIDsCANResponse>

- Retrives a list of Canadian DIDs by Province and Ratecenter.

Call the getDIDsCAN API method and deserialize into GetDIDsCANResponse.

Source

pub async fn get_dids_can_raw(&self, params: &GetDIDsCANParams) -> Result<Value>

Call the getDIDsCAN API method and return the raw JSON envelope.

Source

pub async fn get_dids_info( &self, params: &GetDIDsInfoParams, ) -> Result<GetDIDsInfoResponse>

- Retrieves information from all your DIDs if no additional parameter is provided. - Retrieves information from Reseller Client’s DIDs if a Reseller Client ID is provided. - Retrieves information from Sub Account’s DIDs if a Sub Accunt is provided. - Retrieves information from a specific DID if a DID Number is provided. - Retrieves SMS information from a specific DID if the SMS is available.

Call the getDIDsInfo API method and deserialize into GetDIDsInfoResponse.

Source

pub async fn get_dids_info_raw( &self, params: &GetDIDsInfoParams, ) -> Result<Value>

Call the getDIDsInfo API method and return the raw JSON envelope.

Source

pub async fn get_dids_international_geographic( &self, params: &GetDIDsInternationalGeographicParams, ) -> Result<GetDIDsInternationalGeographicResponse>

- Retrieves a list of International Geographic DIDs by Country.

Call the getDIDsInternationalGeographic API method and deserialize into GetDIDsInternationalGeographicResponse.

Source

pub async fn get_dids_international_geographic_raw( &self, params: &GetDIDsInternationalGeographicParams, ) -> Result<Value>

Call the getDIDsInternationalGeographic API method and return the raw JSON envelope.

Source

pub async fn get_dids_international_national( &self, params: &GetDIDsInternationalNationalParams, ) -> Result<GetDIDsInternationalNationalResponse>

- Retrieves a list of International National DIDs by Country.

Call the getDIDsInternationalNational API method and deserialize into GetDIDsInternationalNationalResponse.

Source

pub async fn get_dids_international_national_raw( &self, params: &GetDIDsInternationalNationalParams, ) -> Result<Value>

Call the getDIDsInternationalNational API method and return the raw JSON envelope.

Source

pub async fn get_dids_international_toll_free( &self, params: &GetDIDsInternationalTollFreeParams, ) -> Result<GetDIDsInternationalTollFreeResponse>

- Retrieves a list of International TollFree DIDs by Country.

Call the getDIDsInternationalTollFree API method and deserialize into GetDIDsInternationalTollFreeResponse.

Source

pub async fn get_dids_international_toll_free_raw( &self, params: &GetDIDsInternationalTollFreeParams, ) -> Result<Value>

Call the getDIDsInternationalTollFree API method and return the raw JSON envelope.

Source

pub async fn get_dids_usa( &self, params: &GetDIDsUSAParams, ) -> Result<GetDIDsUSAResponse>

- Retrives a list of USA DIDs by State and Ratecenter.

Call the getDIDsUSA API method and deserialize into GetDIDsUSAResponse.

Source

pub async fn get_dids_usa_raw(&self, params: &GetDIDsUSAParams) -> Result<Value>

Call the getDIDsUSA API method and return the raw JSON envelope.

Source

pub async fn get_did_vpri( &self, params: &GetDIDvPRIParams, ) -> Result<GetDIDvPRIResponse>

- Retrives the list of DIDs assigned to the VPRI.

Call the getDIDvPRI API method and deserialize into GetDIDvPRIResponse.

Source

pub async fn get_did_vpri_raw(&self, params: &GetDIDvPRIParams) -> Result<Value>

Call the getDIDvPRI API method and return the raw JSON envelope.

Source

pub async fn get_disas( &self, params: &GetDISAsParams, ) -> Result<GetDISAsResponse>

- Retrieves a list of DISAs if no additional parameter is provided. - Retrieves a specific DISA if a DISA code is provided.

Call the getDISAs API method and deserialize into GetDISAsResponse.

Source

pub async fn get_disas_raw(&self, params: &GetDISAsParams) -> Result<Value>

Call the getDISAs API method and return the raw JSON envelope.

Source

pub async fn get_dtmf_modes( &self, params: &GetDTMFModesParams, ) -> Result<GetDTMFModesResponse>

- Retrieves a list of DTMF Modes if no additional parameter is provided. - Retrieves a specific DTMF Mode if a DTMF mode code is provided.

Call the getDTMFModes API method and deserialize into GetDTMFModesResponse.

Source

pub async fn get_dtmf_modes_raw( &self, params: &GetDTMFModesParams, ) -> Result<Value>

Call the getDTMFModes API method and return the raw JSON envelope.

Source

pub async fn get_deposits( &self, params: &GetDepositsParams, ) -> Result<GetDepositsResponse>

- Retrieves Deposits made for a specific Reseller Client.

Call the getDeposits API method and deserialize into GetDepositsResponse.

Source

pub async fn get_deposits_raw( &self, params: &GetDepositsParams, ) -> Result<Value>

Call the getDeposits API method and return the raw JSON envelope.

Source

pub async fn get_device_types( &self, params: &GetDeviceTypesParams, ) -> Result<GetDeviceTypesResponse>

- Retrieves a list of Device Types if no additional parameter is provided. - Retrieves a specific Device Type if a device type code is provided.

Call the getDeviceTypes API method and deserialize into GetDeviceTypesResponse.

Source

pub async fn get_device_types_raw( &self, params: &GetDeviceTypesParams, ) -> Result<Value>

Call the getDeviceTypes API method and return the raw JSON envelope.

Source

pub async fn get_email_to_fax( &self, params: &GetEmailToFAXParams, ) -> Result<GetEmailToFAXResponse>

- Retrieves a list of “Email to Fax configurations” from your account if no additional parameter is provided. - Retrieves a specific “Email to Fax configuration” from your account if a ID is provided.

Call the getEmailToFax API method and deserialize into GetEmailToFAXResponse.

Source

pub async fn get_email_to_fax_raw( &self, params: &GetEmailToFAXParams, ) -> Result<Value>

Call the getEmailToFax API method and return the raw JSON envelope.

Source

pub async fn get_fax_folders( &self, params: &GetFAXFoldersParams, ) -> Result<GetFAXFoldersResponse>

- Retrieves a list of Fax Folders from your account.

Call the getFaxFolders API method and deserialize into GetFAXFoldersResponse.

Source

pub async fn get_fax_folders_raw( &self, params: &GetFAXFoldersParams, ) -> Result<Value>

Call the getFaxFolders API method and return the raw JSON envelope.

Source

pub async fn get_fax_message_pdf( &self, params: &GetFAXMessagePDFParams, ) -> Result<GetFAXMessagePDFResponse>

- Retrieves a Base64 code of the Fax Message to create a PDF file.

Call the getFaxMessagePDF API method and deserialize into GetFAXMessagePDFResponse.

Source

pub async fn get_fax_message_pdf_raw( &self, params: &GetFAXMessagePDFParams, ) -> Result<Value>

Call the getFaxMessagePDF API method and return the raw JSON envelope.

Source

pub async fn get_fax_messages( &self, params: &GetFAXMessagesParams, ) -> Result<GetFAXMessagesResponse>

- Retrieves a list of Fax Messages. - Retrieves a specific Fax Message if a Fax Message ID is provided.

Call the getFaxMessages API method and deserialize into GetFAXMessagesResponse.

Source

pub async fn get_fax_messages_raw( &self, params: &GetFAXMessagesParams, ) -> Result<Value>

Call the getFaxMessages API method and return the raw JSON envelope.

Source

pub async fn get_fax_numbers_info( &self, params: &GetFAXNumbersInfoParams, ) -> Result<GetFAXNumbersInfoResponse>

- Retrieves a list of Fax Numbers.

Call the getFaxNumbersInfo API method and deserialize into GetFAXNumbersInfoResponse.

Source

pub async fn get_fax_numbers_info_raw( &self, params: &GetFAXNumbersInfoParams, ) -> Result<Value>

Call the getFaxNumbersInfo API method and return the raw JSON envelope.

Source

pub async fn get_fax_numbers_portability( &self, params: &GetFAXNumbersPortabilityParams, ) -> Result<GetFAXNumbersPortabilityResponse>

- Shows if a Fax Number can be ported into our network

Call the getFaxNumbersPortability API method and deserialize into GetFAXNumbersPortabilityResponse.

Source

pub async fn get_fax_numbers_portability_raw( &self, params: &GetFAXNumbersPortabilityParams, ) -> Result<Value>

Call the getFaxNumbersPortability API method and return the raw JSON envelope.

Source

pub async fn get_fax_provinces( &self, params: &GetFAXProvincesParams, ) -> Result<GetFAXProvincesResponse>

- Retrieves a list of Canadian Fax Provinces if no additional parameter is provided. - Retrieves a specific Canadian Fax Province if a province code is provided.

Call the getFaxProvinces API method and deserialize into GetFAXProvincesResponse.

Source

pub async fn get_fax_provinces_raw( &self, params: &GetFAXProvincesParams, ) -> Result<Value>

Call the getFaxProvinces API method and return the raw JSON envelope.

Source

pub async fn get_fax_rate_centers_can( &self, params: &GetFAXRateCentersCANParams, ) -> Result<GetFAXRateCentersCANResponse>

- Retrieves a list of Canadian Ratecenters by Province.

Call the getFaxRateCentersCAN API method and deserialize into GetFAXRateCentersCANResponse.

Source

pub async fn get_fax_rate_centers_can_raw( &self, params: &GetFAXRateCentersCANParams, ) -> Result<Value>

Call the getFaxRateCentersCAN API method and return the raw JSON envelope.

Source

pub async fn get_fax_rate_centers_usa( &self, params: &GetFAXRateCentersUSAParams, ) -> Result<GetFAXRateCentersUSAResponse>

- Retrieves a list of USA Ratecenters by State.

Call the getFaxRateCentersUSA API method and deserialize into GetFAXRateCentersUSAResponse.

Source

pub async fn get_fax_rate_centers_usa_raw( &self, params: &GetFAXRateCentersUSAParams, ) -> Result<Value>

Call the getFaxRateCentersUSA API method and return the raw JSON envelope.

Source

pub async fn get_fax_states( &self, params: &GetFAXStatesParams, ) -> Result<GetFAXStatesResponse>

- Retrieves a list of American Fax States if no additional parameter is provided. - Retrieves a specific American Fax State if a state code is provided.

Call the getFaxStates API method and deserialize into GetFAXStatesResponse.

Source

pub async fn get_fax_states_raw( &self, params: &GetFAXStatesParams, ) -> Result<Value>

Call the getFaxStates API method and return the raw JSON envelope.

Source

pub async fn get_forwardings( &self, params: &GetForwardingsParams, ) -> Result<GetForwardingsResponse>

- Retrieves a list of Forwardings if no additional parameter is provided. - Retrieves a specific Forwarding if a fwd code is provided.

Call the getForwardings API method and deserialize into GetForwardingsResponse.

Source

pub async fn get_forwardings_raw( &self, params: &GetForwardingsParams, ) -> Result<Value>

Call the getForwardings API method and return the raw JSON envelope.

Source

pub async fn get_ip(&self, params: &GetIPParams) -> Result<GetIPResponse>

- Shows the IP used by the client application requesting information from the API * this is the only function not using the IP for authentication. * the IP returned should be the one used in the API Configuration.

Call the getIP API method and deserialize into GetIPResponse.

Source

pub async fn get_ip_raw(&self, params: &GetIPParams) -> Result<Value>

Call the getIP API method and return the raw JSON envelope.

Source

pub async fn get_ivrs(&self, params: &GetIVRsParams) -> Result<GetIVRsResponse>

- Retrieves a list of IVRs if no additional parameter is provided. - Retrieves a specific IVR if a IVR code is provided.

Call the getIVRs API method and deserialize into GetIVRsResponse.

Source

pub async fn get_ivrs_raw(&self, params: &GetIVRsParams) -> Result<Value>

Call the getIVRs API method and return the raw JSON envelope.

Source

pub async fn get_international_types( &self, params: &GetInternationalTypesParams, ) -> Result<GetInternationalTypesResponse>

- Retrieves a list of Types for International DIDs if no additional parameter is provided. - Retrieves a specific Types for International DIDs if a type code is provided.

Call the getInternationalTypes API method and deserialize into GetInternationalTypesResponse.

Source

pub async fn get_international_types_raw( &self, params: &GetInternationalTypesParams, ) -> Result<Value>

Call the getInternationalTypes API method and return the raw JSON envelope.

Source

pub async fn get_join_when_empty_types( &self, params: &GetJoinWhenEmptyTypesParams, ) -> Result<GetJoinWhenEmptyTypesResponse>

- Retrieves a list of ‘JoinWhenEmpty’ Types if no additional parameter is provided. - Retrieves a specific ‘JoinWhenEmpty’ Types if a type code is provided.

Call the getJoinWhenEmptyTypes API method and deserialize into GetJoinWhenEmptyTypesResponse.

Source

pub async fn get_join_when_empty_types_raw( &self, params: &GetJoinWhenEmptyTypesParams, ) -> Result<Value>

Call the getJoinWhenEmptyTypes API method and return the raw JSON envelope.

Source

pub async fn get_lnp_attach( &self, params: &GetLNPAttachParams, ) -> Result<GetLNPAttachResponse>

- Retrieve the details of an attached invoice.

Call the getLNPAttach API method and deserialize into GetLNPAttachResponse.

Source

pub async fn get_lnp_attach_raw( &self, params: &GetLNPAttachParams, ) -> Result<Value>

Call the getLNPAttach API method and return the raw JSON envelope.

Source

pub async fn get_lnp_attach_list( &self, params: &GetLNPAttachListParams, ) -> Result<GetLNPAttachListResponse>

- Retrieve the list of invoice (attached) files from a given portability process.

Call the getLNPAttachList API method and deserialize into GetLNPAttachListResponse.

Source

pub async fn get_lnp_attach_list_raw( &self, params: &GetLNPAttachListParams, ) -> Result<Value>

Call the getLNPAttachList API method and return the raw JSON envelope.

Source

pub async fn get_lnp_details( &self, params: &GetLNPDetailsParams, ) -> Result<GetLNPDetailsResponse>

- Retrieve the details of a given portability process.

Call the getLNPDetails API method and deserialize into GetLNPDetailsResponse.

Source

pub async fn get_lnp_details_raw( &self, params: &GetLNPDetailsParams, ) -> Result<Value>

Call the getLNPDetails API method and return the raw JSON envelope.

Source

pub async fn get_lnp_list( &self, params: &GetLNPListParams, ) -> Result<GetLNPListResponse>

- Retrieve the full list of all your portability processes.

Call the getLNPList API method and deserialize into GetLNPListResponse.

Source

pub async fn get_lnp_list_raw(&self, params: &GetLNPListParams) -> Result<Value>

Call the getLNPList API method and return the raw JSON envelope.

Source

pub async fn get_lnp_list_status( &self, params: &GetLNPListStatusParams, ) -> Result<GetLNPListStatusResponse>

- Retrieve the list of possible status of a portability process.

Call the getLNPListStatus API method and deserialize into GetLNPListStatusResponse.

Source

pub async fn get_lnp_list_status_raw( &self, params: &GetLNPListStatusParams, ) -> Result<Value>

Call the getLNPListStatus API method and return the raw JSON envelope.

Source

pub async fn get_lnp_notes( &self, params: &GetLNPNotesParams, ) -> Result<GetLNPNotesResponse>

- Retrieve the list of notes from the given portability process.

Call the getLNPNotes API method and deserialize into GetLNPNotesResponse.

Source

pub async fn get_lnp_notes_raw( &self, params: &GetLNPNotesParams, ) -> Result<Value>

Call the getLNPNotes API method and return the raw JSON envelope.

Source

pub async fn get_lnp_status( &self, params: &GetLNPStatusParams, ) -> Result<GetLNPStatusResponse>

- Retrieve the current status of a given portability process.

Call the getLNPStatus API method and deserialize into GetLNPStatusResponse.

Source

pub async fn get_lnp_status_raw( &self, params: &GetLNPStatusParams, ) -> Result<Value>

Call the getLNPStatus API method and return the raw JSON envelope.

Source

pub async fn get_languages( &self, params: &GetLanguagesParams, ) -> Result<GetLanguagesResponse>

- Retrieves a list of Languages if no additional parameter is provided. - Retrieves a specific Language if a language code is provided.

Call the getLanguages API method and deserialize into GetLanguagesResponse.

Source

pub async fn get_languages_raw( &self, params: &GetLanguagesParams, ) -> Result<Value>

Call the getLanguages API method and return the raw JSON envelope.

Source

pub async fn get_locales( &self, params: &GetLocalesParams, ) -> Result<GetLocalesResponse>

- Retrieves a list of locale codes if no additional parameter is provided. - Retrieves a specific locale code if a language code is provided.

Call the getLocales API method and deserialize into GetLocalesResponse.

Source

pub async fn get_locales_raw(&self, params: &GetLocalesParams) -> Result<Value>

Call the getLocales API method and return the raw JSON envelope.

Source

pub async fn get_locations( &self, params: &GetLocationsParams, ) -> Result<GetLocationsResponse>

Call the getLocations API method and deserialize into GetLocationsResponse.

Source

pub async fn get_locations_raw( &self, params: &GetLocationsParams, ) -> Result<Value>

Call the getLocations API method and return the raw JSON envelope.

Source

pub async fn get_lock_international( &self, params: &GetLockInternationalParams, ) -> Result<GetLockInternationalResponse>

- Retrieves a list of Lock Modes if no additional parameter is provided. - Retrieves a specific Lock Mode if a lock code is provided.

Call the getLockInternational API method and deserialize into GetLockInternationalResponse.

Source

pub async fn get_lock_international_raw( &self, params: &GetLockInternationalParams, ) -> Result<Value>

Call the getLockInternational API method and return the raw JSON envelope.

Source

pub async fn get_mms(&self, params: &GetMMSParams) -> Result<GetMMSResponse>

- Retrieves a list of MMS messages by: date range, mms type, DID number, and contact.

Call the getMMS API method and deserialize into GetMMSResponse.

Source

pub async fn get_mms_raw(&self, params: &GetMMSParams) -> Result<Value>

Call the getMMS API method and return the raw JSON envelope.

Source

pub async fn get_media_mms( &self, params: &GetMediaMMSParams, ) -> Result<GetMediaMMSResponse>

- Retrieves media files from the message.

Call the getMediaMMS API method and deserialize into GetMediaMMSResponse.

Source

pub async fn get_media_mms_raw( &self, params: &GetMediaMMSParams, ) -> Result<Value>

Call the getMediaMMS API method and return the raw JSON envelope.

Source

pub async fn get_music_on_hold( &self, params: &GetMusicOnHoldParams, ) -> Result<GetMusicOnHoldResponse>

- Retrieves a list of Music on Hold Options if no additional parameter is provided. - Retrieves a specific Music on Hold Option if a MOH code is provided.

Call the getMusicOnHold API method and deserialize into GetMusicOnHoldResponse.

Source

pub async fn get_music_on_hold_raw( &self, params: &GetMusicOnHoldParams, ) -> Result<Value>

Call the getMusicOnHold API method and return the raw JSON envelope.

Source

pub async fn get_nat(&self, params: &GetNATParams) -> Result<GetNATResponse>

- Retrieves a list of NAT Options if no additional parameter is provided. - Retrieves a specific NAT Option if a NAT code is provided.

Call the getNAT API method and deserialize into GetNATResponse.

Source

pub async fn get_nat_raw(&self, params: &GetNATParams) -> Result<Value>

Call the getNAT API method and return the raw JSON envelope.

Source

pub async fn get_packages( &self, params: &GetPackagesParams, ) -> Result<GetPackagesResponse>

- Retrieves a list of Packages if no additional parameter is provided.- Retrieves a specific Package if a package code is provided.

Call the getPackages API method and deserialize into GetPackagesResponse.

Source

pub async fn get_packages_raw( &self, params: &GetPackagesParams, ) -> Result<Value>

Call the getPackages API method and return the raw JSON envelope.

Source

pub async fn get_phonebook( &self, params: &GetPhonebookParams, ) -> Result<GetPhonebookResponse>

- Retrieves a list of Phonebook entries if no additional parameter is provided. - Retrieves a list of Phonebook entries if a name is provided. - Retrieves a specific Phonebook entry if a Phonebook code is provided. - Retrieves a list of Phonebook entries if a phonebook group name is provided. - Retrieves a list of Phonebook entries if a phonebook group code is provided.

Call the getPhonebook API method and deserialize into GetPhonebookResponse.

Source

pub async fn get_phonebook_raw( &self, params: &GetPhonebookParams, ) -> Result<Value>

Call the getPhonebook API method and return the raw JSON envelope.

Source

pub async fn get_phonebook_groups( &self, params: &GetPhonebookGroupsParams, ) -> Result<GetPhonebookGroupsResponse>

- Retrieves a list of Phonebook groups if no additional parameter is provided. - Retrieves a list of Phonebook groups if a name is provided. - Retrieves a specific Phonebook group if a group ID is provided.

Call the getPhonebookGroups API method and deserialize into GetPhonebookGroupsResponse.

Source

pub async fn get_phonebook_groups_raw( &self, params: &GetPhonebookGroupsParams, ) -> Result<Value>

Call the getPhonebookGroups API method and return the raw JSON envelope.

Source

pub async fn get_play_instructions( &self, params: &GetPlayInstructionsParams, ) -> Result<GetPlayInstructionsResponse>

- Retrieves a list of Play Instructions modes if no additional parameter is provided. - Retrieves a specific Play Instructions mode if a play code is provided.

Call the getPlayInstructions API method and deserialize into GetPlayInstructionsResponse.

Source

pub async fn get_play_instructions_raw( &self, params: &GetPlayInstructionsParams, ) -> Result<Value>

Call the getPlayInstructions API method and return the raw JSON envelope.

Source

pub async fn get_portability( &self, params: &GetPortabilityParams, ) -> Result<GetPortabilityResponse>

- Shows if a DID Number can be ported into our network. - Display plans and rates available if the DID Number can be ported into our network.

Call the getPortability API method and deserialize into GetPortabilityResponse.

Source

pub async fn get_portability_raw( &self, params: &GetPortabilityParams, ) -> Result<Value>

Call the getPortability API method and return the raw JSON envelope.

Source

pub async fn get_protocols( &self, params: &GetProtocolsParams, ) -> Result<GetProtocolsResponse>

- Retrieves a list of Protocols if no additional parameter is provided. - Retrieves a specific Protocol if a protocol code is provided.

Call the getProtocols API method and deserialize into GetProtocolsResponse.

Source

pub async fn get_protocols_raw( &self, params: &GetProtocolsParams, ) -> Result<Value>

Call the getProtocols API method and return the raw JSON envelope.

Source

pub async fn get_provinces( &self, params: &GetProvincesParams, ) -> Result<GetProvincesResponse>

- Retrieves a list of Canadian Provinces.

Call the getProvinces API method and deserialize into GetProvincesResponse.

Source

pub async fn get_provinces_raw( &self, params: &GetProvincesParams, ) -> Result<Value>

Call the getProvinces API method and return the raw JSON envelope.

Source

pub async fn get_queues( &self, params: &GetQueuesParams, ) -> Result<GetQueuesResponse>

- Retrieves a list of Queue entries if no additional parameter is provided. - Retrieves a specific Queue entry if a Queue code is provided.

Call the getQueues API method and deserialize into GetQueuesResponse.

Source

pub async fn get_queues_raw(&self, params: &GetQueuesParams) -> Result<Value>

Call the getQueues API method and return the raw JSON envelope.

Source

pub async fn get_rate_centers_can( &self, params: &GetRateCentersCANParams, ) -> Result<GetRateCentersCANResponse>

- Retrieves a list of Canadian Ratecenters by Province.

Call the getRateCentersCAN API method and deserialize into GetRateCentersCANResponse.

Source

pub async fn get_rate_centers_can_raw( &self, params: &GetRateCentersCANParams, ) -> Result<Value>

Call the getRateCentersCAN API method and return the raw JSON envelope.

Source

pub async fn get_rate_centers_usa( &self, params: &GetRateCentersUSAParams, ) -> Result<GetRateCentersUSAResponse>

- Retrieves a list of USA Ratecenters by State.

Call the getRateCentersUSA API method and deserialize into GetRateCentersUSAResponse.

Source

pub async fn get_rate_centers_usa_raw( &self, params: &GetRateCentersUSAParams, ) -> Result<Value>

Call the getRateCentersUSA API method and return the raw JSON envelope.

Source

pub async fn get_rates( &self, params: &GetRatesParams, ) -> Result<GetRatesResponse>

- Retrieves the Rates for a specific Package and a Search term.

Call the getRates API method and deserialize into GetRatesResponse.

Source

pub async fn get_rates_raw(&self, params: &GetRatesParams) -> Result<Value>

Call the getRates API method and return the raw JSON envelope.

Source

pub async fn get_recording_file( &self, params: &GetRecordingFileParams, ) -> Result<GetRecordingFileResponse>

- Retrieves a specific Recording File data in Base64 format.

Call the getRecordingFile API method and deserialize into GetRecordingFileResponse.

Source

pub async fn get_recording_file_raw( &self, params: &GetRecordingFileParams, ) -> Result<Value>

Call the getRecordingFile API method and return the raw JSON envelope.

Source

pub async fn get_recordings( &self, params: &GetRecordingsParams, ) -> Result<GetRecordingsResponse>

- Retrieves a list of Recordings if no additional parameter is provided. - Retrieves a specific Recording if a Recording code is provided.

Call the getRecordings API method and deserialize into GetRecordingsResponse.

Source

pub async fn get_recordings_raw( &self, params: &GetRecordingsParams, ) -> Result<Value>

Call the getRecordings API method and return the raw JSON envelope.

Source

pub async fn get_registration_status( &self, params: &GetRegistrationStatusParams, ) -> Result<GetRegistrationStatusResponse>

- Retrieves the Registration Status of all accounts if no account is provided.

Call the getRegistrationStatus API method and deserialize into GetRegistrationStatusResponse.

Source

pub async fn get_registration_status_raw( &self, params: &GetRegistrationStatusParams, ) -> Result<Value>

Call the getRegistrationStatus API method and return the raw JSON envelope.

Source

pub async fn get_report_estimated_hold_time( &self, params: &GetReportEstimatedHoldTimeParams, ) -> Result<GetReportEstimatedHoldTimeResponse>

- Retrieves a list of ‘ReportEstimateHoldTime’ Types if no additional parameter is provided. - Retrieves a specific ‘ReportEstimateHoldTime’ Type if a type code is provided.

Call the getReportEstimatedHoldTime API method and deserialize into GetReportEstimatedHoldTimeResponse.

Source

pub async fn get_report_estimated_hold_time_raw( &self, params: &GetReportEstimatedHoldTimeParams, ) -> Result<Value>

Call the getReportEstimatedHoldTime API method and return the raw JSON envelope.

Source

pub async fn get_reseller_balance( &self, params: &GetResellerBalanceParams, ) -> Result<GetResellerBalanceResponse>

- Retrieves Balance and Calls Statistics for a specific Reseller Client for the last 30 days and current day.

Call the getResellerBalance API method and deserialize into GetResellerBalanceResponse.

Source

pub async fn get_reseller_balance_raw( &self, params: &GetResellerBalanceParams, ) -> Result<Value>

Call the getResellerBalance API method and return the raw JSON envelope.

Source

pub async fn get_reseller_cdr( &self, params: &GetResellerCDRParams, ) -> Result<GetResellerCDRResponse>

- Retrieves the Call Detail Records for a specific Reseller Client.

Call the getResellerCDR API method and deserialize into GetResellerCDRResponse.

Source

pub async fn get_reseller_cdr_raw( &self, params: &GetResellerCDRParams, ) -> Result<Value>

Call the getResellerCDR API method and return the raw JSON envelope.

Source

pub async fn get_reseller_mms( &self, params: &GetResellerMMSParams, ) -> Result<GetResellerMMSResponse>

- Retrieves a list of MMS messages for a specific Reseller Client. by: date range, mms type, DID number, and contact

Call the getResellerMMS API method and deserialize into GetResellerMMSResponse.

Source

pub async fn get_reseller_mms_raw( &self, params: &GetResellerMMSParams, ) -> Result<Value>

Call the getResellerMMS API method and return the raw JSON envelope.

Source

pub async fn get_reseller_sms( &self, params: &GetResellerSMSParams, ) -> Result<GetResellerSMSResponse>

- Retrieves a list of SMS messages for a specific Reseller Client. by: date range, sms type, DID number, and contact

Call the getResellerSMS API method and deserialize into GetResellerSMSResponse.

Source

pub async fn get_reseller_sms_raw( &self, params: &GetResellerSMSParams, ) -> Result<Value>

Call the getResellerSMS API method and return the raw JSON envelope.

Source

pub async fn get_ring_groups( &self, params: &GetRingGroupsParams, ) -> Result<GetRingGroupsResponse>

- Retrieves a list of Ring Groups if no additional parameter is provided. - Retrieves a specific Ring Group if a ring group code is provided.

Call the getRingGroups API method and deserialize into GetRingGroupsResponse.

Source

pub async fn get_ring_groups_raw( &self, params: &GetRingGroupsParams, ) -> Result<Value>

Call the getRingGroups API method and return the raw JSON envelope.

Source

pub async fn get_ring_strategies( &self, params: &GetRingStrategiesParams, ) -> Result<GetRingStrategiesResponse>

- Retrieves a list of Ring Strategies if no additional parameter is provided. - Retrieves a specific Ring Strategy if a ring strategy code is provided.

Call the getRingStrategies API method and deserialize into GetRingStrategiesResponse.

Source

pub async fn get_ring_strategies_raw( &self, params: &GetRingStrategiesParams, ) -> Result<Value>

Call the getRingStrategies API method and return the raw JSON envelope.

Source

pub async fn get_routes( &self, params: &GetRoutesParams, ) -> Result<GetRoutesResponse>

- Retrieves a list of Route Options if no additional parameter is provided. - Retrieves a specific Route Option if a route code is provided.

Call the getRoutes API method and deserialize into GetRoutesResponse.

Source

pub async fn get_routes_raw(&self, params: &GetRoutesParams) -> Result<Value>

Call the getRoutes API method and return the raw JSON envelope.

Source

pub async fn get_sip_uris( &self, params: &GetSIPURIsParams, ) -> Result<GetSIPURIsResponse>

- Retrieves a list of SIP URIs if no additional parameter is provided. - Retrieves a specific SIP URI if a SIP URI code is provided.

Call the getSIPURIs API method and deserialize into GetSIPURIsResponse.

Source

pub async fn get_sip_uris_raw(&self, params: &GetSIPURIsParams) -> Result<Value>

Call the getSIPURIs API method and return the raw JSON envelope.

Source

pub async fn get_sms(&self, params: &GetSMSParams) -> Result<GetSMSResponse>

- Retrieves a list of SMS messages by: date range, sms type, DID number, and contact.

Call the getSMS API method and deserialize into GetSMSResponse.

Source

pub async fn get_sms_raw(&self, params: &GetSMSParams) -> Result<Value>

Call the getSMS API method and return the raw JSON envelope.

Source

pub async fn get_servers_info( &self, params: &GetServersInfoParams, ) -> Result<GetServersInfoResponse>

- Retrieves a list of Servers with their info if no additional parameter is provided. - Retrieves a specific Server with its info if a Server POP is provided.

Call the getServersInfo API method and deserialize into GetServersInfoResponse.

Source

pub async fn get_servers_info_raw( &self, params: &GetServersInfoParams, ) -> Result<Value>

Call the getServersInfo API method and return the raw JSON envelope.

Source

pub async fn get_states( &self, params: &GetStatesParams, ) -> Result<GetStatesResponse>

- Retrieves a list of USA States.

Call the getStates API method and deserialize into GetStatesResponse.

Source

pub async fn get_states_raw(&self, params: &GetStatesParams) -> Result<Value>

Call the getStates API method and return the raw JSON envelope.

Source

pub async fn get_static_members( &self, params: &GetStaticMembersParams, ) -> Result<GetStaticMembersResponse>

- Retrieves a list of Static Members from a queue if no additional parameter is provided. - Retrieves a specific Static Member from a queue if Queue ID and Member ID are provided

Call the getStaticMembers API method and deserialize into GetStaticMembersResponse.

Source

pub async fn get_static_members_raw( &self, params: &GetStaticMembersParams, ) -> Result<Value>

Call the getStaticMembers API method and return the raw JSON envelope.

Source

pub async fn get_sub_accounts( &self, params: &GetSubAccountsParams, ) -> Result<GetSubAccountsResponse>

- Retrieves all Sub Accounts if no additional parameter is provided. - Retrieves Reseller Client Accounts if Reseller Client ID is provided. - Retrieves a specific Sub Account if a Sub Account is provided.

Call the getSubAccounts API method and deserialize into GetSubAccountsResponse.

Source

pub async fn get_sub_accounts_raw( &self, params: &GetSubAccountsParams, ) -> Result<Value>

Call the getSubAccounts API method and return the raw JSON envelope.

Source

pub async fn get_termination_rates( &self, params: &GetTerminationRatesParams, ) -> Result<GetTerminationRatesResponse>

- Retrieves the Rates for a specific Route (Premium, Value) and a Search term.

Call the getTerminationRates API method and deserialize into GetTerminationRatesResponse.

Source

pub async fn get_termination_rates_raw( &self, params: &GetTerminationRatesParams, ) -> Result<Value>

Call the getTerminationRates API method and return the raw JSON envelope.

Source

pub async fn get_time_conditions( &self, params: &GetTimeConditionsParams, ) -> Result<GetTimeConditionsResponse>

- Retrieves a list of Time Conditions if no additional parameter is provided. - Retrieves a specific Time Condition if a time condition code is provided.

Call the getTimeConditions API method and deserialize into GetTimeConditionsResponse.

Source

pub async fn get_time_conditions_raw( &self, params: &GetTimeConditionsParams, ) -> Result<Value>

Call the getTimeConditions API method and return the raw JSON envelope.

Source

pub async fn get_timezones( &self, params: &GetTimezonesParams, ) -> Result<GetTimezonesResponse>

- Retrieves a list of Timezones if no additional parameter is provided. - Retrieves a specific Timezone if a timezone code is provided.

Call the getTimezones API method and deserialize into GetTimezonesResponse.

Source

pub async fn get_timezones_raw( &self, params: &GetTimezonesParams, ) -> Result<Value>

Call the getTimezones API method and return the raw JSON envelope.

Source

pub async fn get_transaction_history( &self, params: &GetTransactionHistoryParams, ) -> Result<GetTransactionHistoryResponse>

- Retrieves the Transaction History records between two dates.

Call the getTransactionHistory API method and deserialize into GetTransactionHistoryResponse.

Source

pub async fn get_transaction_history_raw( &self, params: &GetTransactionHistoryParams, ) -> Result<Value>

Call the getTransactionHistory API method and return the raw JSON envelope.

Source

pub async fn get_vpris( &self, params: &GetVPRIsParams, ) -> Result<GetVPRIsResponse>

- Retrieves a list of vpri.

Call the getVPRIs API method and deserialize into GetVPRIsResponse.

Source

pub async fn get_vpris_raw(&self, params: &GetVPRIsParams) -> Result<Value>

Call the getVPRIs API method and return the raw JSON envelope.

Source

pub async fn get_voicemail_attachment_formats( &self, params: &GetVoicemailAttachmentFormatsParams, ) -> Result<GetVoicemailAttachmentFormatsResponse>

- Retrieves a list of Email Attachment Format Options if no additional parameter is provided. - Retrieves a specific Email Attachment Format Option if a format value is provided.

Call the getVoicemailAttachmentFormats API method and deserialize into GetVoicemailAttachmentFormatsResponse.

Source

pub async fn get_voicemail_attachment_formats_raw( &self, params: &GetVoicemailAttachmentFormatsParams, ) -> Result<Value>

Call the getVoicemailAttachmentFormats API method and return the raw JSON envelope.

Source

pub async fn get_voicemail_folders( &self, params: &GetVoicemailFoldersParams, ) -> Result<GetVoicemailFoldersResponse>

- Retrieves a list of default Voicemail Folders if no additional parameter is provided. - Retrieves a list of Voicemail Folders within a mailbox if mailbox parameter is provided. - Retrieves a specific Folder if a folder name is provided.

Call the getVoicemailFolders API method and deserialize into GetVoicemailFoldersResponse.

Source

pub async fn get_voicemail_folders_raw( &self, params: &GetVoicemailFoldersParams, ) -> Result<Value>

Call the getVoicemailFolders API method and return the raw JSON envelope.

Source

pub async fn get_voicemail_message_file( &self, params: &GetVoicemailMessageFileParams, ) -> Result<GetVoicemailMessageFileResponse>

- Retrieves a specific Voicemail Message File in Base64 format.

Call the getVoicemailMessageFile API method and deserialize into GetVoicemailMessageFileResponse.

Source

pub async fn get_voicemail_message_file_raw( &self, params: &GetVoicemailMessageFileParams, ) -> Result<Value>

Call the getVoicemailMessageFile API method and return the raw JSON envelope.

Source

pub async fn get_voicemail_messages( &self, params: &GetVoicemailMessagesParams, ) -> Result<GetVoicemailMessagesResponse>

- Retrieves a list of Voicemail Messages if mailbox parameter is provided. - Retrieves a list of Voicemail Messages in a Folder if a folder is provided. - Retrieves a list of Voicemail Messages in a date range if a from and to are provided.

Call the getVoicemailMessages API method and deserialize into GetVoicemailMessagesResponse.

Source

pub async fn get_voicemail_messages_raw( &self, params: &GetVoicemailMessagesParams, ) -> Result<Value>

Call the getVoicemailMessages API method and return the raw JSON envelope.

Source

pub async fn get_voicemail_setups( &self, params: &GetVoicemailSetupsParams, ) -> Result<GetVoicemailSetupsResponse>

- Retrieves a list of Voicemail Setup Options if no additional parameter is provided. - Retrieves a specific Voicemail Setup Option if a voicemail setup code is provided.

Call the getVoicemailSetups API method and deserialize into GetVoicemailSetupsResponse.

Source

pub async fn get_voicemail_setups_raw( &self, params: &GetVoicemailSetupsParams, ) -> Result<Value>

Call the getVoicemailSetups API method and return the raw JSON envelope.

Source

pub async fn get_voicemail_transcriptions( &self, params: &GetVoicemailTranscriptionsParams, ) -> Result<GetVoicemailTranscriptionsResponse>

- Retrieves all Voicemail Transcriptions if no additional parameter is provided.

Call the getVoicemailTranscriptions API method and deserialize into GetVoicemailTranscriptionsResponse.

Source

pub async fn get_voicemail_transcriptions_raw( &self, params: &GetVoicemailTranscriptionsParams, ) -> Result<Value>

Call the getVoicemailTranscriptions API method and return the raw JSON envelope.

Source

pub async fn get_voicemails( &self, params: &GetVoicemailsParams, ) -> Result<GetVoicemailsResponse>

- Retrieves a list of Voicemails if no additional parameter is provided. - Retrieves a specific Voicemail if a voicemail code is provided.

Call the getVoicemails API method and deserialize into GetVoicemailsResponse.

Source

pub async fn get_voicemails_raw( &self, params: &GetVoicemailsParams, ) -> Result<Value>

Call the getVoicemails API method and return the raw JSON envelope.

Source

pub async fn mail_fax_message_pdf( &self, params: &MailFAXMessagePDFParams, ) -> Result<MailFAXMessagePDFResponse>

- Send a Fax Message attached as a PDF file to an email destination.

Call the mailFaxMessagePDF API method and deserialize into MailFAXMessagePDFResponse.

Source

pub async fn mail_fax_message_pdf_raw( &self, params: &MailFAXMessagePDFParams, ) -> Result<Value>

Call the mailFaxMessagePDF API method and return the raw JSON envelope.

Source

pub async fn mark_listened_voicemail_message( &self, params: &MarkListenedVoicemailMessageParams, ) -> Result<MarkListenedVoicemailMessageResponse>

- Mark a Voicemail Message as Listened or Unlistened. - If value is ‘yes’, the voicemail message will be marked as listened and will be moved to the Old Folder. - If value is ‘no’, the voicemail message will be marked as not-listened and will be moved to the INBOX Folder.

Call the markListenedVoicemailMessage API method and deserialize into MarkListenedVoicemailMessageResponse.

Source

pub async fn mark_listened_voicemail_message_raw( &self, params: &MarkListenedVoicemailMessageParams, ) -> Result<Value>

Call the markListenedVoicemailMessage API method and return the raw JSON envelope.

Source

pub async fn mark_urgent_voicemail_message( &self, params: &MarkUrgentVoicemailMessageParams, ) -> Result<MarkUrgentVoicemailMessageResponse>

- Mark Voicemail Message as Urgent or not Urgent. - If value is ‘yes’, the voicemail message will be marked as urgent and will be moved to the Urgent Folder. - If value is ‘no’, the voicemail message will be unmarked as urgent and will be moved to the INBOX Folder.

Call the markUrgentVoicemailMessage API method and deserialize into MarkUrgentVoicemailMessageResponse.

Source

pub async fn mark_urgent_voicemail_message_raw( &self, params: &MarkUrgentVoicemailMessageParams, ) -> Result<Value>

Call the markUrgentVoicemailMessage API method and return the raw JSON envelope.

Source

pub async fn move_fax_message( &self, params: &MoveFAXMessageParams, ) -> Result<MoveFAXMessageResponse>

- Moves a Fax Message to a different folder.

Call the moveFaxMessage API method and deserialize into MoveFAXMessageResponse.

Source

pub async fn move_fax_message_raw( &self, params: &MoveFAXMessageParams, ) -> Result<Value>

Call the moveFaxMessage API method and return the raw JSON envelope.

Source

pub async fn move_folder_voicemail_message( &self, params: &MoveFolderVoicemailMessageParams, ) -> Result<MoveFolderVoicemailMessageResponse>

- Move Voicemail Message to a Destination Folder.

Call the moveFolderVoicemailMessage API method and deserialize into MoveFolderVoicemailMessageResponse.

Source

pub async fn move_folder_voicemail_message_raw( &self, params: &MoveFolderVoicemailMessageParams, ) -> Result<Value>

Call the moveFolderVoicemailMessage API method and return the raw JSON envelope.

Source

pub async fn order_did( &self, params: &OrderDIDParams, ) -> Result<OrderDIDResponse>

- Orders and Adds a new DID Number to the Account.

Call the orderDID API method and deserialize into OrderDIDResponse.

Source

pub async fn order_did_raw(&self, params: &OrderDIDParams) -> Result<Value>

Call the orderDID API method and return the raw JSON envelope.

Source

pub async fn order_did_international_geographic( &self, params: &OrderDIDInternationalGeographicParams, ) -> Result<OrderDIDInternationalGeographicResponse>

- Orders and Adds new International Geographic DID Numbers to the Account.

Call the orderDIDInternationalGeographic API method and deserialize into OrderDIDInternationalGeographicResponse.

Source

pub async fn order_did_international_geographic_raw( &self, params: &OrderDIDInternationalGeographicParams, ) -> Result<Value>

Call the orderDIDInternationalGeographic API method and return the raw JSON envelope.

Source

pub async fn order_did_international_national( &self, params: &OrderDIDInternationalNationalParams, ) -> Result<OrderDIDInternationalNationalResponse>

- Orders and Adds new International National DID Numbers to the Account.

Call the orderDIDInternationalNational API method and deserialize into OrderDIDInternationalNationalResponse.

Source

pub async fn order_did_international_national_raw( &self, params: &OrderDIDInternationalNationalParams, ) -> Result<Value>

Call the orderDIDInternationalNational API method and return the raw JSON envelope.

Source

pub async fn order_did_international_toll_free( &self, params: &OrderDIDInternationalTollFreeParams, ) -> Result<OrderDIDInternationalTollFreeResponse>

- Orders and Adds new International TollFree DID Numbers to the Account.

Call the orderDIDInternationalTollFree API method and deserialize into OrderDIDInternationalTollFreeResponse.

Source

pub async fn order_did_international_toll_free_raw( &self, params: &OrderDIDInternationalTollFreeParams, ) -> Result<Value>

Call the orderDIDInternationalTollFree API method and return the raw JSON envelope.

Source

pub async fn order_did_virtual( &self, params: &OrderDIDVirtualParams, ) -> Result<OrderDIDVirtualResponse>

- Orders and Adds a new Virtual DID Number to the Account.

Call the orderDIDVirtual API method and deserialize into OrderDIDVirtualResponse.

Source

pub async fn order_did_virtual_raw( &self, params: &OrderDIDVirtualParams, ) -> Result<Value>

Call the orderDIDVirtual API method and return the raw JSON envelope.

Source

pub async fn order_fax_number( &self, params: &OrderFAXNumberParams, ) -> Result<OrderFAXNumberResponse>

- Orders and Adds a new Fax Number to the Account.

Call the orderFaxNumber API method and deserialize into OrderFAXNumberResponse.

Source

pub async fn order_fax_number_raw( &self, params: &OrderFAXNumberParams, ) -> Result<Value>

Call the orderFaxNumber API method and return the raw JSON envelope.

Source

pub async fn order_toll_free( &self, params: &OrderTollFreeParams, ) -> Result<OrderTollFreeResponse>

- Orders and Adds a new Toll Free Number to the Account.

Call the orderTollFree API method and deserialize into OrderTollFreeResponse.

Source

pub async fn order_toll_free_raw( &self, params: &OrderTollFreeParams, ) -> Result<Value>

Call the orderTollFree API method and return the raw JSON envelope.

Source

pub async fn order_vanity( &self, params: &OrderVanityParams, ) -> Result<OrderVanityResponse>

- Orders and Adds a new Vanity Toll Free Number to the Account.

Call the orderVanity API method and deserialize into OrderVanityResponse.

Source

pub async fn order_vanity_raw( &self, params: &OrderVanityParams, ) -> Result<Value>

Call the orderVanity API method and return the raw JSON envelope.

Source

pub async fn remove_did_vpri( &self, params: &RemoveDIDvPRIParams, ) -> Result<RemoveDIDvPRIResponse>

- Removes a DID from a VPRI

Call the removeDIDvPRI API method and deserialize into RemoveDIDvPRIResponse.

Source

pub async fn remove_did_vpri_raw( &self, params: &RemoveDIDvPRIParams, ) -> Result<Value>

Call the removeDIDvPRI API method and return the raw JSON envelope.

Source

pub async fn search_dids_can( &self, params: &SearchDIDsCANParams, ) -> Result<SearchDIDsCANResponse>

- Searches for Canadian DIDs by Province using a Search Criteria.

Call the searchDIDsCAN API method and deserialize into SearchDIDsCANResponse.

Source

pub async fn search_dids_can_raw( &self, params: &SearchDIDsCANParams, ) -> Result<Value>

Call the searchDIDsCAN API method and return the raw JSON envelope.

Source

pub async fn search_dids_usa( &self, params: &SearchDIDsUSAParams, ) -> Result<SearchDIDsUSAResponse>

- Searches for USA DIDs by State using a Search Criteria.

Call the searchDIDsUSA API method and deserialize into SearchDIDsUSAResponse.

Source

pub async fn search_dids_usa_raw( &self, params: &SearchDIDsUSAParams, ) -> Result<Value>

Call the searchDIDsUSA API method and return the raw JSON envelope.

Source

pub async fn search_fax_area_code_can( &self, params: &SearchFAXAreaCodeCANParams, ) -> Result<SearchFAXAreaCodeCANResponse>

- Retrieves a list of Canadian Ratecenters searched by Area Code.

Call the searchFaxAreaCodeCAN API method and deserialize into SearchFAXAreaCodeCANResponse.

Source

pub async fn search_fax_area_code_can_raw( &self, params: &SearchFAXAreaCodeCANParams, ) -> Result<Value>

Call the searchFaxAreaCodeCAN API method and return the raw JSON envelope.

Source

pub async fn search_fax_area_code_usa( &self, params: &SearchFAXAreaCodeUSAParams, ) -> Result<SearchFAXAreaCodeUSAResponse>

- Retrieves a list of USA Ratecenters searched by Area Code.

Call the searchFaxAreaCodeUSA API method and deserialize into SearchFAXAreaCodeUSAResponse.

Source

pub async fn search_fax_area_code_usa_raw( &self, params: &SearchFAXAreaCodeUSAParams, ) -> Result<Value>

Call the searchFaxAreaCodeUSA API method and return the raw JSON envelope.

Source

pub async fn search_toll_free_can_us( &self, params: &SearchTollFreeCANUSParams, ) -> Result<SearchTollFreeCANUSResponse>

- Searches for USA/Canada Toll Free Numbers using a Search Criteria. - Shows all USA/Canada Toll Free Numbers available if no criteria is provided.

Call the searchTollFreeCanUS API method and deserialize into SearchTollFreeCANUSResponse.

Source

pub async fn search_toll_free_can_us_raw( &self, params: &SearchTollFreeCANUSParams, ) -> Result<Value>

Call the searchTollFreeCanUS API method and return the raw JSON envelope.

Source

pub async fn search_toll_free_usa( &self, params: &SearchTollFreeUSAParams, ) -> Result<SearchTollFreeUSAResponse>

- Searches for USA Toll Free Numbers using a Search Criteria. - Shows all USA Toll Free Numbers available if no criteria is provided.

Call the searchTollFreeUSA API method and deserialize into SearchTollFreeUSAResponse.

Source

pub async fn search_toll_free_usa_raw( &self, params: &SearchTollFreeUSAParams, ) -> Result<Value>

Call the searchTollFreeUSA API method and return the raw JSON envelope.

Source

pub async fn search_vanity( &self, params: &SearchVanityParams, ) -> Result<SearchVanityResponse>

- Searches for Vanity Toll Free Numbers using a Search Criteria.

Call the searchVanity API method and deserialize into SearchVanityResponse.

Source

pub async fn search_vanity_raw( &self, params: &SearchVanityParams, ) -> Result<Value>

Call the searchVanity API method and return the raw JSON envelope.

Source

pub async fn send_call_recording_email( &self, params: &SendCallRecordingEmailParams, ) -> Result<SendCallRecordingEmailResponse>

- Send information and audio file to email account.

Call the sendCallRecordingEmail API method and deserialize into SendCallRecordingEmailResponse.

Source

pub async fn send_call_recording_email_raw( &self, params: &SendCallRecordingEmailParams, ) -> Result<Value>

Call the sendCallRecordingEmail API method and return the raw JSON envelope.

Source

pub async fn send_fax_message( &self, params: &SendFAXMessageParams, ) -> Result<SendFAXMessageResponse>

- Send a Fax message to a Destination Number.

Call the sendFaxMessage API method and deserialize into SendFAXMessageResponse.

Source

pub async fn send_fax_message_raw( &self, params: &SendFAXMessageParams, ) -> Result<Value>

Call the sendFaxMessage API method and return the raw JSON envelope.

Source

pub async fn send_mms(&self, params: &SendMMSParams) -> Result<SendMMSResponse>

- Send a MMS message to a Destination Number.

Call the sendMMS API method and deserialize into SendMMSResponse.

Source

pub async fn send_mms_raw(&self, params: &SendMMSParams) -> Result<Value>

Call the sendMMS API method and return the raw JSON envelope.

Source

pub async fn send_sms(&self, params: &SendSMSParams) -> Result<SendSMSResponse>

- Send a SMS message to a Destination Number.

Call the sendSMS API method and deserialize into SendSMSResponse.

Source

pub async fn send_sms_raw(&self, params: &SendSMSParams) -> Result<Value>

Call the sendSMS API method and return the raw JSON envelope.

Source

pub async fn send_voicemail_email( &self, params: &SendVoicemailEmailParams, ) -> Result<SendVoicemailEmailResponse>

- Send a Voicemail Message File to an Email Address.

Call the sendVoicemailEmail API method and deserialize into SendVoicemailEmailResponse.

Source

pub async fn send_voicemail_email_raw( &self, params: &SendVoicemailEmailParams, ) -> Result<Value>

Call the sendVoicemailEmail API method and return the raw JSON envelope.

Source

pub async fn set_call_hunting( &self, params: &SetCallHuntingParams, ) -> Result<SetCallHuntingResponse>

- Updates a specific Call Hunting if a Call Hunting code is provided. - Adds a new Call Hunting if no Call Hunting code is provided.

Call the setCallHunting API method and deserialize into SetCallHuntingResponse.

Source

pub async fn set_call_hunting_raw( &self, params: &SetCallHuntingParams, ) -> Result<Value>

Call the setCallHunting API method and return the raw JSON envelope.

Source

pub async fn set_call_parking( &self, params: &SetCallParkingParams, ) -> Result<SetCallParkingResponse>

- Updates a specific Call Parking entry if a Call Parking ID is provided. - Adds a new Call Parking entry if no Call Parking ID is provided.

Call the setCallParking API method and deserialize into SetCallParkingResponse.

Source

pub async fn set_call_parking_raw( &self, params: &SetCallParkingParams, ) -> Result<Value>

Call the setCallParking API method and return the raw JSON envelope.

Source

pub async fn set_callback( &self, params: &SetCallbackParams, ) -> Result<SetCallbackResponse>

- Updates a specific Callback if a callback code is provided. - Adds a new Callback entry if no callback code is provided.

Call the setCallback API method and deserialize into SetCallbackResponse.

Source

pub async fn set_callback_raw( &self, params: &SetCallbackParams, ) -> Result<Value>

Call the setCallback API method and return the raw JSON envelope.

Source

pub async fn set_caller_id_filtering( &self, params: &SetCallerIDFilteringParams, ) -> Result<SetCallerIDFilteringResponse>

- Updates a specific Caller ID Filtering if a filtering code is provided. - Adds a new Caller ID Filtering if no filtering code is provided.

Call the setCallerIDFiltering API method and deserialize into SetCallerIDFilteringResponse.

Source

pub async fn set_caller_id_filtering_raw( &self, params: &SetCallerIDFilteringParams, ) -> Result<Value>

Call the setCallerIDFiltering API method and return the raw JSON envelope.

Source

pub async fn set_client( &self, params: &SetClientParams, ) -> Result<SetClientResponse>

- Updates Reseller Client information.

Call the setClient API method and deserialize into SetClientResponse.

Source

pub async fn set_client_raw(&self, params: &SetClientParams) -> Result<Value>

Call the setClient API method and return the raw JSON envelope.

Source

pub async fn set_client_threshold( &self, params: &SetClientThresholdParams, ) -> Result<SetClientThresholdResponse>

- Update the Threshold Amount for a specific Reseller Client.- Update the Threshold notification e-mail for a specific Reseller Client if the e-mail address is provided.

Call the setClientThreshold API method and deserialize into SetClientThresholdResponse.

Source

pub async fn set_client_threshold_raw( &self, params: &SetClientThresholdParams, ) -> Result<Value>

Call the setClientThreshold API method and return the raw JSON envelope.

Source

pub async fn set_conference( &self, params: &SetConferenceParams, ) -> Result<SetConferenceResponse>

- Updates a specific Conference if a conference code is provided. - Adds a new Conference entry if no conference code is provided.

Call the setConference API method and deserialize into SetConferenceResponse.

Source

pub async fn set_conference_raw( &self, params: &SetConferenceParams, ) -> Result<Value>

Call the setConference API method and return the raw JSON envelope.

Source

pub async fn set_conference_member( &self, params: &SetConferenceMemberParams, ) -> Result<SetConferenceMemberResponse>

- Updates a specific Member profile if a member code is provided. - Adds a new Member profile entry if no member code is provided.

Call the setConferenceMember API method and deserialize into SetConferenceMemberResponse.

Source

pub async fn set_conference_member_raw( &self, params: &SetConferenceMemberParams, ) -> Result<Value>

Call the setConferenceMember API method and return the raw JSON envelope.

Source

pub async fn set_did_billing_type( &self, params: &SetDIDBillingTypeParams, ) -> Result<SetDIDBillingTypeResponse>

- Updates the Billing Plan from a specific DID.

Call the setDIDBillingType API method and deserialize into SetDIDBillingTypeResponse.

Source

pub async fn set_did_billing_type_raw( &self, params: &SetDIDBillingTypeParams, ) -> Result<Value>

Call the setDIDBillingType API method and return the raw JSON envelope.

Source

pub async fn set_did_info( &self, params: &SetDIDInfoParams, ) -> Result<SetDIDInfoResponse>

- Updates the information from a specific DID.

Call the setDIDInfo API method and deserialize into SetDIDInfoResponse.

Source

pub async fn set_did_info_raw(&self, params: &SetDIDInfoParams) -> Result<Value>

Call the setDIDInfo API method and return the raw JSON envelope.

Source

pub async fn set_did_pop( &self, params: &SetDIDPOPParams, ) -> Result<SetDIDPOPResponse>

- Updates the POP from a specific DID.

Call the setDIDPOP API method and deserialize into SetDIDPOPResponse.

Source

pub async fn set_did_pop_raw(&self, params: &SetDIDPOPParams) -> Result<Value>

Call the setDIDPOP API method and return the raw JSON envelope.

Source

pub async fn set_did_routing( &self, params: &SetDIDRoutingParams, ) -> Result<SetDIDRoutingResponse>

- Updates the Routing from a specific DID.

Call the setDIDRouting API method and deserialize into SetDIDRoutingResponse.

Source

pub async fn set_did_routing_raw( &self, params: &SetDIDRoutingParams, ) -> Result<Value>

Call the setDIDRouting API method and return the raw JSON envelope.

Source

pub async fn set_did_voicemail( &self, params: &SetDIDVoicemailParams, ) -> Result<SetDIDVoicemailResponse>

- Updates the Voicemail from a specific DID.

Call the setDIDVoicemail API method and deserialize into SetDIDVoicemailResponse.

Source

pub async fn set_did_voicemail_raw( &self, params: &SetDIDVoicemailParams, ) -> Result<Value>

Call the setDIDVoicemail API method and return the raw JSON envelope.

Source

pub async fn set_disa(&self, params: &SetDISAParams) -> Result<SetDISAResponse>

- Updates a specific DISA if a disa code is provided. - Adds a new DISA entry if no disa code is provided.

Call the setDISA API method and deserialize into SetDISAResponse.

Source

pub async fn set_disa_raw(&self, params: &SetDISAParams) -> Result<Value>

Call the setDISA API method and return the raw JSON envelope.

Source

pub async fn set_email_to_fax( &self, params: &SetEmailToFAXParams, ) -> Result<SetEmailToFAXResponse>

- Create or update the information of a specific “Email to Fax configuration”.

Call the setEmailToFax API method and deserialize into SetEmailToFAXResponse.

Source

pub async fn set_email_to_fax_raw( &self, params: &SetEmailToFAXParams, ) -> Result<Value>

Call the setEmailToFax API method and return the raw JSON envelope.

Source

pub async fn set_fax_folder( &self, params: &SetFAXFolderParams, ) -> Result<SetFAXFolderResponse>

- Create or update the information of a specific Fax Folder.

Call the setFaxFolder API method and deserialize into SetFAXFolderResponse.

Source

pub async fn set_fax_folder_raw( &self, params: &SetFAXFolderParams, ) -> Result<Value>

Call the setFaxFolder API method and return the raw JSON envelope.

Source

pub async fn set_fax_number_email( &self, params: &SetFAXNumberEmailParams, ) -> Result<SetFAXNumberEmailResponse>

- Updates the email configuration from a specific Fax Number.

Call the setFaxNumberEmail API method and deserialize into SetFAXNumberEmailResponse.

Source

pub async fn set_fax_number_email_raw( &self, params: &SetFAXNumberEmailParams, ) -> Result<Value>

Call the setFaxNumberEmail API method and return the raw JSON envelope.

Source

pub async fn set_fax_number_info( &self, params: &SetFAXNumberInfoParams, ) -> Result<SetFAXNumberInfoResponse>

- Updates the information from a specific Fax Number.

Call the setFaxNumberInfo API method and deserialize into SetFAXNumberInfoResponse.

Source

pub async fn set_fax_number_info_raw( &self, params: &SetFAXNumberInfoParams, ) -> Result<Value>

Call the setFaxNumberInfo API method and return the raw JSON envelope.

Source

pub async fn set_fax_number_url_callback( &self, params: &SetFAXNumberURLCallbackParams, ) -> Result<SetFAXNumberURLCallbackResponse>

- Updates the url callback configuration from a specific Fax Number.

Call the setFaxNumberURLCallback API method and deserialize into SetFAXNumberURLCallbackResponse.

Source

pub async fn set_fax_number_url_callback_raw( &self, params: &SetFAXNumberURLCallbackParams, ) -> Result<Value>

Call the setFaxNumberURLCallback API method and return the raw JSON envelope.

Source

pub async fn set_forwarding( &self, params: &SetForwardingParams, ) -> Result<SetForwardingResponse>

- Updates a specific Forwarding if a fwd code is provided. - Adds a new Forwarding entry if no fwd code is provided.

Call the setForwarding API method and deserialize into SetForwardingResponse.

Source

pub async fn set_forwarding_raw( &self, params: &SetForwardingParams, ) -> Result<Value>

Call the setForwarding API method and return the raw JSON envelope.

Source

pub async fn set_ivr(&self, params: &SetIVRParams) -> Result<SetIVRResponse>

- Updates a specific IVR if an IVR code is provided. - Adds a new IVR entry if no IVR code is provided.

Call the setIVR API method and deserialize into SetIVRResponse.

Source

pub async fn set_ivr_raw(&self, params: &SetIVRParams) -> Result<Value>

Call the setIVR API method and return the raw JSON envelope.

Source

pub async fn set_location( &self, params: &SetLocationParams, ) -> Result<SetLocationResponse>

Call the setLocation API method and deserialize into SetLocationResponse.

Source

pub async fn set_location_raw( &self, params: &SetLocationParams, ) -> Result<Value>

Call the setLocation API method and return the raw JSON envelope.

Source

pub async fn set_music_on_hold( &self, params: &SetMusicOnHoldParams, ) -> Result<SetMusicOnHoldResponse>

Call the setMusicOnHold API method and deserialize into SetMusicOnHoldResponse.

Source

pub async fn set_music_on_hold_raw( &self, params: &SetMusicOnHoldParams, ) -> Result<Value>

Call the setMusicOnHold API method and return the raw JSON envelope.

Source

pub async fn set_phonebook( &self, params: &SetPhonebookParams, ) -> Result<SetPhonebookResponse>

- Updates a specific Phonebook entry if a phonebook code is provided. - Adds a new Phonebook entry if no phonebook code is provided.

Call the setPhonebook API method and deserialize into SetPhonebookResponse.

Source

pub async fn set_phonebook_raw( &self, params: &SetPhonebookParams, ) -> Result<Value>

Call the setPhonebook API method and return the raw JSON envelope.

Source

pub async fn set_phonebook_group( &self, params: &SetPhonebookGroupParams, ) -> Result<SetPhonebookGroupResponse>

- Updates a specific Phonebook group if a phonebook code is provided. - Adds a new Phonebook group if no phonebook group code is provided. - Assigns or modifies group members if a member list is provided

Call the setPhonebookGroup API method and deserialize into SetPhonebookGroupResponse.

Source

pub async fn set_phonebook_group_raw( &self, params: &SetPhonebookGroupParams, ) -> Result<Value>

Call the setPhonebookGroup API method and return the raw JSON envelope.

Source

pub async fn set_queue( &self, params: &SetQueueParams, ) -> Result<SetQueueResponse>

- Updates a specific Queue entry if a queue code is provided. - Adds a new Queue entry if no queue code is provided.

Call the setQueue API method and deserialize into SetQueueResponse.

Source

pub async fn set_queue_raw(&self, params: &SetQueueParams) -> Result<Value>

Call the setQueue API method and return the raw JSON envelope.

Source

pub async fn set_recording( &self, params: &SetRecordingParams, ) -> Result<SetRecordingResponse>

- Updates a specific Recording File if a Recording ID is provided. - Adds a new Recording file entry if no Recording ID is provided.

Call the setRecording API method and deserialize into SetRecordingResponse.

Source

pub async fn set_recording_raw( &self, params: &SetRecordingParams, ) -> Result<Value>

Call the setRecording API method and return the raw JSON envelope.

Source

pub async fn set_ring_group( &self, params: &SetRingGroupParams, ) -> Result<SetRingGroupResponse>

- Updates a specific Ring Group if a ring group code is provided. - Adds a new Ring Group entry if no ring group code is provided.

Call the setRingGroup API method and deserialize into SetRingGroupResponse.

Source

pub async fn set_ring_group_raw( &self, params: &SetRingGroupParams, ) -> Result<Value>

Call the setRingGroup API method and return the raw JSON envelope.

Source

pub async fn set_sip_uri( &self, params: &SetSIPURIParams, ) -> Result<SetSIPURIResponse>

- Updates a specific SIP URI if a SIP URI code is provided. - Adds a new SIP URI entry if no SIP URI code is provided.

Call the setSIPURI API method and deserialize into SetSIPURIResponse.

Source

pub async fn set_sip_uri_raw(&self, params: &SetSIPURIParams) -> Result<Value>

Call the setSIPURI API method and return the raw JSON envelope.

Source

pub async fn set_sms(&self, params: &SetSMSParams) -> Result<SetSMSResponse>

- Enable/Disable the SMS Service for a DID - Change the SMS settings for a DID

Call the setSMS API method and deserialize into SetSMSResponse.

Source

pub async fn set_sms_raw(&self, params: &SetSMSParams) -> Result<Value>

Call the setSMS API method and return the raw JSON envelope.

Source

pub async fn set_static_member( &self, params: &SetStaticMemberParams, ) -> Result<SetStaticMemberResponse>

- Updates a specific Member from queue if a Member code is provided. - Adds a new Member to Queue if no Member code is provided.

Call the setStaticMember API method and deserialize into SetStaticMemberResponse.

Source

pub async fn set_static_member_raw( &self, params: &SetStaticMemberParams, ) -> Result<Value>

Call the setStaticMember API method and return the raw JSON envelope.

Source

pub async fn set_sub_account( &self, params: &SetSubAccountParams, ) -> Result<SetSubAccountResponse>

- Updates Sub Account information.

Call the setSubAccount API method and deserialize into SetSubAccountResponse.

Source

pub async fn set_sub_account_raw( &self, params: &SetSubAccountParams, ) -> Result<Value>

Call the setSubAccount API method and return the raw JSON envelope.

Source

pub async fn set_time_condition( &self, params: &SetTimeConditionParams, ) -> Result<SetTimeConditionResponse>

- Updates a specific Time Condition if a time condition code is provided. - Adds a new Time Condition entry if no time condition code is provided.

Call the setTimeCondition API method and deserialize into SetTimeConditionResponse.

Source

pub async fn set_time_condition_raw( &self, params: &SetTimeConditionParams, ) -> Result<Value>

Call the setTimeCondition API method and return the raw JSON envelope.

Source

pub async fn set_voicemail( &self, params: &SetVoicemailParams, ) -> Result<SetVoicemailResponse>

- Updates the information from a specific Voicemail.

Call the setVoicemail API method and deserialize into SetVoicemailResponse.

Source

pub async fn set_voicemail_raw( &self, params: &SetVoicemailParams, ) -> Result<Value>

Call the setVoicemail API method and return the raw JSON envelope.

Source

pub async fn signup_client( &self, params: &SignupClientParams, ) -> Result<SignupClientResponse>

- Signs a new Reseller Client to your Reseller Account.

Call the signupClient API method and deserialize into SignupClientResponse.

Source

pub async fn signup_client_raw( &self, params: &SignupClientParams, ) -> Result<Value>

Call the signupClient API method and return the raw JSON envelope.

Source

pub async fn unconnect_did( &self, params: &UnconnectDIDParams, ) -> Result<UnconnectDIDResponse>

- Unconnects specific DID from Reseller Client Sub Account.

Call the unconnectDID API method and deserialize into UnconnectDIDResponse.

Source

pub async fn unconnect_did_raw( &self, params: &UnconnectDIDParams, ) -> Result<Value>

Call the unconnectDID API method and return the raw JSON envelope.

Source

pub async fn unconnect_fax( &self, params: &UnconnectFAXParams, ) -> Result<UnconnectFAXResponse>

- Unconnects specific FAX DID from Reseller Client Sub Account.

Call the unconnectFAX API method and deserialize into UnconnectFAXResponse.

Source

pub async fn unconnect_fax_raw( &self, params: &UnconnectFAXParams, ) -> Result<Value>

Call the unconnectFAX API method and return the raw JSON envelope.

Trait Implementations§

Source§

impl Clone for Client

Source§

fn clone(&self) -> Client

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Client

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more