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
impl Client
Sourcepub fn new(
api_username: impl Into<String>,
api_password: impl Into<String>,
) -> Self
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.
Sourcepub fn builder(
api_username: impl Into<String>,
api_password: impl Into<String>,
) -> ClientBuilder
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.
Sourcepub async fn call_raw<P>(&self, method: &str, params: &P) -> Result<Value>
pub async fn call_raw<P>(&self, method: &str, params: &P) -> Result<Value>
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.
Sourcepub async fn call<P, T>(&self, method: &str, params: &P) -> Result<T>
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.
Sourcepub async fn call_at<P, T>(
&self,
method: &str,
params: &P,
pointer: &str,
) -> Result<T>
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§impl Client
impl Client
Sourcepub async fn add_charge(
&self,
params: &AddChargeParams,
) -> Result<AddChargeResponse>
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.
Sourcepub async fn add_charge_raw(&self, params: &AddChargeParams) -> Result<Value>
pub async fn add_charge_raw(&self, params: &AddChargeParams) -> Result<Value>
Call the addCharge API method and return the raw JSON envelope.
Sourcepub async fn add_lnp_file(
&self,
params: &AddLNPFileParams,
) -> Result<AddLNPFileResponse>
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.
Sourcepub async fn add_lnp_file_raw(&self, params: &AddLNPFileParams) -> Result<Value>
pub async fn add_lnp_file_raw(&self, params: &AddLNPFileParams) -> Result<Value>
Call the addLNPFile API method and return the raw JSON envelope.
Sourcepub async fn add_lnp_port(
&self,
params: &AddLNPPortParams,
) -> Result<AddLNPPortResponse>
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.
Sourcepub async fn add_lnp_port_raw(&self, params: &AddLNPPortParams) -> Result<Value>
pub async fn add_lnp_port_raw(&self, params: &AddLNPPortParams) -> Result<Value>
Call the addLNPPort API method and return the raw JSON envelope.
Sourcepub async fn add_member_to_conference(
&self,
params: &AddMemberToConferenceParams,
) -> Result<AddMemberToConferenceResponse>
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.
Sourcepub async fn add_member_to_conference_raw(
&self,
params: &AddMemberToConferenceParams,
) -> Result<Value>
pub async fn add_member_to_conference_raw( &self, params: &AddMemberToConferenceParams, ) -> Result<Value>
Call the addMemberToConference API method and return the raw JSON envelope.
Sourcepub async fn add_payment(
&self,
params: &AddPaymentParams,
) -> Result<AddPaymentResponse>
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.
Sourcepub async fn add_payment_raw(&self, params: &AddPaymentParams) -> Result<Value>
pub async fn add_payment_raw(&self, params: &AddPaymentParams) -> Result<Value>
Call the addPayment API method and return the raw JSON envelope.
Sourcepub async fn assign_did_vpri(
&self,
params: &AssignDIDvPRIParams,
) -> Result<AssignDIDvPRIResponse>
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.
Sourcepub async fn assign_did_vpri_raw(
&self,
params: &AssignDIDvPRIParams,
) -> Result<Value>
pub async fn assign_did_vpri_raw( &self, params: &AssignDIDvPRIParams, ) -> Result<Value>
Call the assignDIDvPRI API method and return the raw JSON envelope.
Sourcepub async fn back_order_did_can(
&self,
params: &BackOrderDIDCANParams,
) -> Result<BackOrderDIDCANResponse>
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.
Sourcepub async fn back_order_did_can_raw(
&self,
params: &BackOrderDIDCANParams,
) -> Result<Value>
pub async fn back_order_did_can_raw( &self, params: &BackOrderDIDCANParams, ) -> Result<Value>
Call the backOrderDIDCAN API method and return the raw JSON envelope.
Sourcepub async fn back_order_did_usa(
&self,
params: &BackOrderDIDUSAParams,
) -> Result<BackOrderDIDUSAResponse>
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.
Sourcepub async fn back_order_did_usa_raw(
&self,
params: &BackOrderDIDUSAParams,
) -> Result<Value>
pub async fn back_order_did_usa_raw( &self, params: &BackOrderDIDUSAParams, ) -> Result<Value>
Call the backOrderDIDUSA API method and return the raw JSON envelope.
Sourcepub async fn cancel_did(
&self,
params: &CancelDIDParams,
) -> Result<CancelDIDResponse>
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.
Sourcepub async fn cancel_did_raw(&self, params: &CancelDIDParams) -> Result<Value>
pub async fn cancel_did_raw(&self, params: &CancelDIDParams) -> Result<Value>
Call the cancelDID API method and return the raw JSON envelope.
Sourcepub async fn cancel_fax_number(
&self,
params: &CancelFAXNumberParams,
) -> Result<CancelFAXNumberResponse>
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.
Sourcepub async fn cancel_fax_number_raw(
&self,
params: &CancelFAXNumberParams,
) -> Result<Value>
pub async fn cancel_fax_number_raw( &self, params: &CancelFAXNumberParams, ) -> Result<Value>
Call the cancelFaxNumber API method and return the raw JSON envelope.
Sourcepub async fn connect_did(
&self,
params: &ConnectDIDParams,
) -> Result<ConnectDIDResponse>
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.
Sourcepub async fn connect_did_raw(&self, params: &ConnectDIDParams) -> Result<Value>
pub async fn connect_did_raw(&self, params: &ConnectDIDParams) -> Result<Value>
Call the connectDID API method and return the raw JSON envelope.
Sourcepub async fn connect_fax(
&self,
params: &ConnectFAXParams,
) -> Result<ConnectFAXResponse>
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.
Sourcepub async fn connect_fax_raw(&self, params: &ConnectFAXParams) -> Result<Value>
pub async fn connect_fax_raw(&self, params: &ConnectFAXParams) -> Result<Value>
Call the connectFAX API method and return the raw JSON envelope.
Sourcepub async fn create_sub_account(
&self,
params: &CreateSubAccountParams,
) -> Result<CreateSubAccountResponse>
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.
Sourcepub async fn create_sub_account_raw(
&self,
params: &CreateSubAccountParams,
) -> Result<Value>
pub async fn create_sub_account_raw( &self, params: &CreateSubAccountParams, ) -> Result<Value>
Call the createSubAccount API method and return the raw JSON envelope.
Sourcepub async fn create_voicemail(
&self,
params: &CreateVoicemailParams,
) -> Result<CreateVoicemailResponse>
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.
Sourcepub async fn create_voicemail_raw(
&self,
params: &CreateVoicemailParams,
) -> Result<Value>
pub async fn create_voicemail_raw( &self, params: &CreateVoicemailParams, ) -> Result<Value>
Call the createVoicemail API method and return the raw JSON envelope.
Sourcepub async fn del_call_hunting(
&self,
params: &DelCallHuntingParams,
) -> Result<DelCallHuntingResponse>
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.
Sourcepub async fn del_call_hunting_raw(
&self,
params: &DelCallHuntingParams,
) -> Result<Value>
pub async fn del_call_hunting_raw( &self, params: &DelCallHuntingParams, ) -> Result<Value>
Call the delCallHunting API method and return the raw JSON envelope.
Sourcepub async fn del_call_parking(
&self,
params: &DelCallParkingParams,
) -> Result<DelCallParkingResponse>
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.
Sourcepub async fn del_call_parking_raw(
&self,
params: &DelCallParkingParams,
) -> Result<Value>
pub async fn del_call_parking_raw( &self, params: &DelCallParkingParams, ) -> Result<Value>
Call the delCallParking API method and return the raw JSON envelope.
Sourcepub async fn del_call_recording(
&self,
params: &DelCallRecordingParams,
) -> Result<DelCallRecordingResponse>
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.
Sourcepub async fn del_call_recording_raw(
&self,
params: &DelCallRecordingParams,
) -> Result<Value>
pub async fn del_call_recording_raw( &self, params: &DelCallRecordingParams, ) -> Result<Value>
Call the delCallRecording API method and return the raw JSON envelope.
Sourcepub async fn del_callback(
&self,
params: &DelCallbackParams,
) -> Result<DelCallbackResponse>
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.
Sourcepub async fn del_callback_raw(
&self,
params: &DelCallbackParams,
) -> Result<Value>
pub async fn del_callback_raw( &self, params: &DelCallbackParams, ) -> Result<Value>
Call the delCallback API method and return the raw JSON envelope.
Sourcepub async fn del_caller_id_filtering(
&self,
params: &DelCallerIDFilteringParams,
) -> Result<DelCallerIDFilteringResponse>
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.
Sourcepub async fn del_caller_id_filtering_raw(
&self,
params: &DelCallerIDFilteringParams,
) -> Result<Value>
pub async fn del_caller_id_filtering_raw( &self, params: &DelCallerIDFilteringParams, ) -> Result<Value>
Call the delCallerIDFiltering API method and return the raw JSON envelope.
Sourcepub async fn del_client(
&self,
params: &DelClientParams,
) -> Result<DelClientResponse>
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.
Sourcepub async fn del_client_raw(&self, params: &DelClientParams) -> Result<Value>
pub async fn del_client_raw(&self, params: &DelClientParams) -> Result<Value>
Call the delClient API method and return the raw JSON envelope.
Sourcepub async fn del_conference(
&self,
params: &DelConferenceParams,
) -> Result<DelConferenceResponse>
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.
Sourcepub async fn del_conference_raw(
&self,
params: &DelConferenceParams,
) -> Result<Value>
pub async fn del_conference_raw( &self, params: &DelConferenceParams, ) -> Result<Value>
Call the delConference API method and return the raw JSON envelope.
Sourcepub async fn del_conference_member(
&self,
params: &DelConferenceMemberParams,
) -> Result<DelConferenceMemberResponse>
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.
Sourcepub async fn del_conference_member_raw(
&self,
params: &DelConferenceMemberParams,
) -> Result<Value>
pub async fn del_conference_member_raw( &self, params: &DelConferenceMemberParams, ) -> Result<Value>
Call the delConferenceMember API method and return the raw JSON envelope.
Sourcepub async fn del_disa(&self, params: &DelDISAParams) -> Result<DelDISAResponse>
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.
Sourcepub async fn del_disa_raw(&self, params: &DelDISAParams) -> Result<Value>
pub async fn del_disa_raw(&self, params: &DelDISAParams) -> Result<Value>
Call the delDISA API method and return the raw JSON envelope.
Sourcepub async fn del_email_to_fax(
&self,
params: &DelEmailToFAXParams,
) -> Result<DelEmailToFAXResponse>
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.
Sourcepub async fn del_email_to_fax_raw(
&self,
params: &DelEmailToFAXParams,
) -> Result<Value>
pub async fn del_email_to_fax_raw( &self, params: &DelEmailToFAXParams, ) -> Result<Value>
Call the delEmailToFax API method and return the raw JSON envelope.
Sourcepub async fn del_fax_folder(
&self,
params: &DelFAXFolderParams,
) -> Result<DelFAXFolderResponse>
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.
Sourcepub async fn del_fax_folder_raw(
&self,
params: &DelFAXFolderParams,
) -> Result<Value>
pub async fn del_fax_folder_raw( &self, params: &DelFAXFolderParams, ) -> Result<Value>
Call the delFaxFolder API method and return the raw JSON envelope.
Sourcepub async fn del_forwarding(
&self,
params: &DelForwardingParams,
) -> Result<DelForwardingResponse>
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.
Sourcepub async fn del_forwarding_raw(
&self,
params: &DelForwardingParams,
) -> Result<Value>
pub async fn del_forwarding_raw( &self, params: &DelForwardingParams, ) -> Result<Value>
Call the delForwarding API method and return the raw JSON envelope.
Sourcepub async fn del_ivr(&self, params: &DelIVRParams) -> Result<DelIVRResponse>
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.
Sourcepub async fn del_ivr_raw(&self, params: &DelIVRParams) -> Result<Value>
pub async fn del_ivr_raw(&self, params: &DelIVRParams) -> Result<Value>
Call the delIVR API method and return the raw JSON envelope.
Sourcepub async fn del_location(
&self,
params: &DelLocationParams,
) -> Result<DelLocationResponse>
pub async fn del_location( &self, params: &DelLocationParams, ) -> Result<DelLocationResponse>
Call the delLocation API method and deserialize into DelLocationResponse.
Sourcepub async fn del_location_raw(
&self,
params: &DelLocationParams,
) -> Result<Value>
pub async fn del_location_raw( &self, params: &DelLocationParams, ) -> Result<Value>
Call the delLocation API method and return the raw JSON envelope.
Sourcepub async fn del_member_from_conference(
&self,
params: &DelMemberFromConferenceParams,
) -> Result<DelMemberFromConferenceResponse>
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.
Sourcepub async fn del_member_from_conference_raw(
&self,
params: &DelMemberFromConferenceParams,
) -> Result<Value>
pub async fn del_member_from_conference_raw( &self, params: &DelMemberFromConferenceParams, ) -> Result<Value>
Call the delMemberFromConference API method and return the raw JSON envelope.
Sourcepub async fn del_messages(
&self,
params: &DelMessagesParams,
) -> Result<DelMessagesResponse>
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.
Sourcepub async fn del_messages_raw(
&self,
params: &DelMessagesParams,
) -> Result<Value>
pub async fn del_messages_raw( &self, params: &DelMessagesParams, ) -> Result<Value>
Call the delMessages API method and return the raw JSON envelope.
Sourcepub async fn del_music_on_hold(
&self,
params: &DelMusicOnHoldParams,
) -> Result<DelMusicOnHoldResponse>
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.
Sourcepub async fn del_music_on_hold_raw(
&self,
params: &DelMusicOnHoldParams,
) -> Result<Value>
pub async fn del_music_on_hold_raw( &self, params: &DelMusicOnHoldParams, ) -> Result<Value>
Call the delMusicOnHold API method and return the raw JSON envelope.
Sourcepub async fn del_phonebook(
&self,
params: &DelPhonebookParams,
) -> Result<DelPhonebookResponse>
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.
Sourcepub async fn del_phonebook_raw(
&self,
params: &DelPhonebookParams,
) -> Result<Value>
pub async fn del_phonebook_raw( &self, params: &DelPhonebookParams, ) -> Result<Value>
Call the delPhonebook API method and return the raw JSON envelope.
Sourcepub async fn del_phonebook_group(
&self,
params: &DelPhonebookGroupParams,
) -> Result<DelPhonebookGroupResponse>
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.
Sourcepub async fn del_phonebook_group_raw(
&self,
params: &DelPhonebookGroupParams,
) -> Result<Value>
pub async fn del_phonebook_group_raw( &self, params: &DelPhonebookGroupParams, ) -> Result<Value>
Call the delPhonebookGroup API method and return the raw JSON envelope.
Sourcepub async fn del_queue(
&self,
params: &DelQueueParams,
) -> Result<DelQueueResponse>
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.
Sourcepub async fn del_queue_raw(&self, params: &DelQueueParams) -> Result<Value>
pub async fn del_queue_raw(&self, params: &DelQueueParams) -> Result<Value>
Call the delQueue API method and return the raw JSON envelope.
Sourcepub async fn del_recording(
&self,
params: &DelRecordingParams,
) -> Result<DelRecordingResponse>
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.
Sourcepub async fn del_recording_raw(
&self,
params: &DelRecordingParams,
) -> Result<Value>
pub async fn del_recording_raw( &self, params: &DelRecordingParams, ) -> Result<Value>
Call the delRecording API method and return the raw JSON envelope.
Sourcepub async fn del_ring_group(
&self,
params: &DelRingGroupParams,
) -> Result<DelRingGroupResponse>
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.
Sourcepub async fn del_ring_group_raw(
&self,
params: &DelRingGroupParams,
) -> Result<Value>
pub async fn del_ring_group_raw( &self, params: &DelRingGroupParams, ) -> Result<Value>
Call the delRingGroup API method and return the raw JSON envelope.
Sourcepub async fn del_sip_uri(
&self,
params: &DelSIPURIParams,
) -> Result<DelSIPURIResponse>
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.
Sourcepub async fn del_sip_uri_raw(&self, params: &DelSIPURIParams) -> Result<Value>
pub async fn del_sip_uri_raw(&self, params: &DelSIPURIParams) -> Result<Value>
Call the delSIPURI API method and return the raw JSON envelope.
Sourcepub async fn del_static_member(
&self,
params: &DelStaticMemberParams,
) -> Result<DelStaticMemberResponse>
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.
Sourcepub async fn del_static_member_raw(
&self,
params: &DelStaticMemberParams,
) -> Result<Value>
pub async fn del_static_member_raw( &self, params: &DelStaticMemberParams, ) -> Result<Value>
Call the delStaticMember API method and return the raw JSON envelope.
Sourcepub async fn del_sub_account(
&self,
params: &DelSubAccountParams,
) -> Result<DelSubAccountResponse>
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.
Sourcepub async fn del_sub_account_raw(
&self,
params: &DelSubAccountParams,
) -> Result<Value>
pub async fn del_sub_account_raw( &self, params: &DelSubAccountParams, ) -> Result<Value>
Call the delSubAccount API method and return the raw JSON envelope.
Sourcepub async fn del_time_condition(
&self,
params: &DelTimeConditionParams,
) -> Result<DelTimeConditionResponse>
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.
Sourcepub async fn del_time_condition_raw(
&self,
params: &DelTimeConditionParams,
) -> Result<Value>
pub async fn del_time_condition_raw( &self, params: &DelTimeConditionParams, ) -> Result<Value>
Call the delTimeCondition API method and return the raw JSON envelope.
Sourcepub async fn del_voicemail(
&self,
params: &DelVoicemailParams,
) -> Result<DelVoicemailResponse>
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.
Sourcepub async fn del_voicemail_raw(
&self,
params: &DelVoicemailParams,
) -> Result<Value>
pub async fn del_voicemail_raw( &self, params: &DelVoicemailParams, ) -> Result<Value>
Call the delVoicemail API method and return the raw JSON envelope.
Sourcepub async fn delete_fax_message(
&self,
params: &DeleteFAXMessageParams,
) -> Result<DeleteFAXMessageResponse>
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.
Sourcepub async fn delete_fax_message_raw(
&self,
params: &DeleteFAXMessageParams,
) -> Result<Value>
pub async fn delete_fax_message_raw( &self, params: &DeleteFAXMessageParams, ) -> Result<Value>
Call the deleteFaxMessage API method and return the raw JSON envelope.
Sourcepub async fn delete_mms(
&self,
params: &DeleteMMSParams,
) -> Result<DeleteMMSResponse>
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.
Sourcepub async fn delete_mms_raw(&self, params: &DeleteMMSParams) -> Result<Value>
pub async fn delete_mms_raw(&self, params: &DeleteMMSParams) -> Result<Value>
Call the deleteMMS API method and return the raw JSON envelope.
Sourcepub async fn delete_sms(
&self,
params: &DeleteSMSParams,
) -> Result<DeleteSMSResponse>
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.
Sourcepub async fn delete_sms_raw(&self, params: &DeleteSMSParams) -> Result<Value>
pub async fn delete_sms_raw(&self, params: &DeleteSMSParams) -> Result<Value>
Call the deleteSMS API method and return the raw JSON envelope.
Sourcepub async fn e911_address_types(
&self,
params: &E911AddressTypesParams,
) -> Result<E911AddressTypesResponse>
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.
Sourcepub async fn e911_address_types_raw(
&self,
params: &E911AddressTypesParams,
) -> Result<Value>
pub async fn e911_address_types_raw( &self, params: &E911AddressTypesParams, ) -> Result<Value>
Call the e911AddressTypes API method and return the raw JSON envelope.
Sourcepub async fn e911_cancel(
&self,
params: &E911CancelParams,
) -> Result<E911CancelResponse>
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.
Sourcepub async fn e911_cancel_raw(&self, params: &E911CancelParams) -> Result<Value>
pub async fn e911_cancel_raw(&self, params: &E911CancelParams) -> Result<Value>
Call the e911Cancel API method and return the raw JSON envelope.
Sourcepub async fn e911_info(
&self,
params: &E911InfoParams,
) -> Result<E911InfoResponse>
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.
Sourcepub async fn e911_info_raw(&self, params: &E911InfoParams) -> Result<Value>
pub async fn e911_info_raw(&self, params: &E911InfoParams) -> Result<Value>
Call the e911Info API method and return the raw JSON envelope.
Sourcepub async fn e911_provision(
&self,
params: &E911ProvisionParams,
) -> Result<E911ProvisionResponse>
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.
Sourcepub async fn e911_provision_raw(
&self,
params: &E911ProvisionParams,
) -> Result<Value>
pub async fn e911_provision_raw( &self, params: &E911ProvisionParams, ) -> Result<Value>
Call the e911Provision API method and return the raw JSON envelope.
Sourcepub async fn e911_provision_manually(
&self,
params: &E911ProvisionManuallyParams,
) -> Result<E911ProvisionManuallyResponse>
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.
Sourcepub async fn e911_provision_manually_raw(
&self,
params: &E911ProvisionManuallyParams,
) -> Result<Value>
pub async fn e911_provision_manually_raw( &self, params: &E911ProvisionManuallyParams, ) -> Result<Value>
Call the e911ProvisionManually API method and return the raw JSON envelope.
Sourcepub async fn e911_update(
&self,
params: &E911UpdateParams,
) -> Result<E911UpdateResponse>
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.
Sourcepub async fn e911_update_raw(&self, params: &E911UpdateParams) -> Result<Value>
pub async fn e911_update_raw(&self, params: &E911UpdateParams) -> Result<Value>
Call the e911Update API method and return the raw JSON envelope.
Sourcepub async fn e911_validate(
&self,
params: &E911ValidateParams,
) -> Result<E911ValidateResponse>
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.
Sourcepub async fn e911_validate_raw(
&self,
params: &E911ValidateParams,
) -> Result<Value>
pub async fn e911_validate_raw( &self, params: &E911ValidateParams, ) -> Result<Value>
Call the e911Validate API method and return the raw JSON envelope.
Sourcepub async fn get_allowed_codecs(
&self,
params: &GetAllowedCodecsParams,
) -> Result<GetAllowedCodecsResponse>
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.
Sourcepub async fn get_allowed_codecs_raw(
&self,
params: &GetAllowedCodecsParams,
) -> Result<Value>
pub async fn get_allowed_codecs_raw( &self, params: &GetAllowedCodecsParams, ) -> Result<Value>
Call the getAllowedCodecs API method and return the raw JSON envelope.
Sourcepub async fn get_auth_types(
&self,
params: &GetAuthTypesParams,
) -> Result<GetAuthTypesResponse>
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.
Sourcepub async fn get_auth_types_raw(
&self,
params: &GetAuthTypesParams,
) -> Result<Value>
pub async fn get_auth_types_raw( &self, params: &GetAuthTypesParams, ) -> Result<Value>
Call the getAuthTypes API method and return the raw JSON envelope.
Sourcepub async fn get_back_orders(
&self,
params: &GetBackOrdersParams,
) -> Result<GetBackOrdersResponse>
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.
Sourcepub async fn get_back_orders_raw(
&self,
params: &GetBackOrdersParams,
) -> Result<Value>
pub async fn get_back_orders_raw( &self, params: &GetBackOrdersParams, ) -> Result<Value>
Call the getBackOrders API method and return the raw JSON envelope.
Sourcepub async fn get_balance(
&self,
params: &GetBalanceParams,
) -> Result<GetBalanceResponse>
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.
Sourcepub async fn get_balance_raw(&self, params: &GetBalanceParams) -> Result<Value>
pub async fn get_balance_raw(&self, params: &GetBalanceParams) -> Result<Value>
Call the getBalance API method and return the raw JSON envelope.
Sourcepub async fn get_balance_management(
&self,
params: &GetBalanceManagementParams,
) -> Result<GetBalanceManagementResponse>
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.
Sourcepub async fn get_balance_management_raw(
&self,
params: &GetBalanceManagementParams,
) -> Result<Value>
pub async fn get_balance_management_raw( &self, params: &GetBalanceManagementParams, ) -> Result<Value>
Call the getBalanceManagement API method and return the raw JSON envelope.
Sourcepub async fn get_cdr(&self, params: &GetCDRParams) -> Result<GetCDRResponse>
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.
Sourcepub async fn get_cdr_raw(&self, params: &GetCDRParams) -> Result<Value>
pub async fn get_cdr_raw(&self, params: &GetCDRParams) -> Result<Value>
Call the getCDR API method and return the raw JSON envelope.
Sourcepub async fn get_call_accounts(
&self,
params: &GetCallAccountsParams,
) -> Result<GetCallAccountsResponse>
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.
Sourcepub async fn get_call_accounts_raw(
&self,
params: &GetCallAccountsParams,
) -> Result<Value>
pub async fn get_call_accounts_raw( &self, params: &GetCallAccountsParams, ) -> Result<Value>
Call the getCallAccounts API method and return the raw JSON envelope.
Sourcepub async fn get_call_billing(
&self,
params: &GetCallBillingParams,
) -> Result<GetCallBillingResponse>
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.
Sourcepub async fn get_call_billing_raw(
&self,
params: &GetCallBillingParams,
) -> Result<Value>
pub async fn get_call_billing_raw( &self, params: &GetCallBillingParams, ) -> Result<Value>
Call the getCallBilling API method and return the raw JSON envelope.
Sourcepub async fn get_call_huntings(
&self,
params: &GetCallHuntingsParams,
) -> Result<GetCallHuntingsResponse>
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.
Sourcepub async fn get_call_huntings_raw(
&self,
params: &GetCallHuntingsParams,
) -> Result<Value>
pub async fn get_call_huntings_raw( &self, params: &GetCallHuntingsParams, ) -> Result<Value>
Call the getCallHuntings API method and return the raw JSON envelope.
Sourcepub async fn get_call_parking(
&self,
params: &GetCallParkingParams,
) -> Result<GetCallParkingResponse>
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.
Sourcepub async fn get_call_parking_raw(
&self,
params: &GetCallParkingParams,
) -> Result<Value>
pub async fn get_call_parking_raw( &self, params: &GetCallParkingParams, ) -> Result<Value>
Call the getCallParking API method and return the raw JSON envelope.
Sourcepub async fn get_call_recording(
&self,
params: &GetCallRecordingParams,
) -> Result<GetCallRecordingResponse>
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.
Sourcepub async fn get_call_recording_raw(
&self,
params: &GetCallRecordingParams,
) -> Result<Value>
pub async fn get_call_recording_raw( &self, params: &GetCallRecordingParams, ) -> Result<Value>
Call the getCallRecording API method and return the raw JSON envelope.
Sourcepub async fn get_call_recordings(
&self,
params: &GetCallRecordingsParams,
) -> Result<GetCallRecordingsResponse>
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.
Sourcepub async fn get_call_recordings_raw(
&self,
params: &GetCallRecordingsParams,
) -> Result<Value>
pub async fn get_call_recordings_raw( &self, params: &GetCallRecordingsParams, ) -> Result<Value>
Call the getCallRecordings API method and return the raw JSON envelope.
Sourcepub async fn get_call_transcriptions(
&self,
params: &GetCallTranscriptionsParams,
) -> Result<GetCallTranscriptionsResponse>
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.
Sourcepub async fn get_call_transcriptions_raw(
&self,
params: &GetCallTranscriptionsParams,
) -> Result<Value>
pub async fn get_call_transcriptions_raw( &self, params: &GetCallTranscriptionsParams, ) -> Result<Value>
Call the getCallTranscriptions API method and return the raw JSON envelope.
Sourcepub async fn get_call_types(
&self,
params: &GetCallTypesParams,
) -> Result<GetCallTypesResponse>
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.
Sourcepub async fn get_call_types_raw(
&self,
params: &GetCallTypesParams,
) -> Result<Value>
pub async fn get_call_types_raw( &self, params: &GetCallTypesParams, ) -> Result<Value>
Call the getCallTypes API method and return the raw JSON envelope.
Sourcepub async fn get_callbacks(
&self,
params: &GetCallbacksParams,
) -> Result<GetCallbacksResponse>
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.
Sourcepub async fn get_callbacks_raw(
&self,
params: &GetCallbacksParams,
) -> Result<Value>
pub async fn get_callbacks_raw( &self, params: &GetCallbacksParams, ) -> Result<Value>
Call the getCallbacks API method and return the raw JSON envelope.
Sourcepub async fn get_caller_id_filtering(
&self,
params: &GetCallerIDFilteringParams,
) -> Result<GetCallerIDFilteringResponse>
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.
Sourcepub async fn get_caller_id_filtering_raw(
&self,
params: &GetCallerIDFilteringParams,
) -> Result<Value>
pub async fn get_caller_id_filtering_raw( &self, params: &GetCallerIDFilteringParams, ) -> Result<Value>
Call the getCallerIDFiltering API method and return the raw JSON envelope.
Sourcepub async fn get_carriers(
&self,
params: &GetCarriersParams,
) -> Result<GetCarriersResponse>
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.
Sourcepub async fn get_carriers_raw(
&self,
params: &GetCarriersParams,
) -> Result<Value>
pub async fn get_carriers_raw( &self, params: &GetCarriersParams, ) -> Result<Value>
Call the getCarriers API method and return the raw JSON envelope.
Sourcepub async fn get_charges(
&self,
params: &GetChargesParams,
) -> Result<GetChargesResponse>
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.
Sourcepub async fn get_charges_raw(&self, params: &GetChargesParams) -> Result<Value>
pub async fn get_charges_raw(&self, params: &GetChargesParams) -> Result<Value>
Call the getCharges API method and return the raw JSON envelope.
Sourcepub async fn get_client_packages(
&self,
params: &GetClientPackagesParams,
) -> Result<GetClientPackagesResponse>
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.
Sourcepub async fn get_client_packages_raw(
&self,
params: &GetClientPackagesParams,
) -> Result<Value>
pub async fn get_client_packages_raw( &self, params: &GetClientPackagesParams, ) -> Result<Value>
Call the getClientPackages API method and return the raw JSON envelope.
Sourcepub async fn get_client_threshold(
&self,
params: &GetClientThresholdParams,
) -> Result<GetClientThresholdResponse>
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.
Sourcepub async fn get_client_threshold_raw(
&self,
params: &GetClientThresholdParams,
) -> Result<Value>
pub async fn get_client_threshold_raw( &self, params: &GetClientThresholdParams, ) -> Result<Value>
Call the getClientThreshold API method and return the raw JSON envelope.
Sourcepub async fn get_clients(
&self,
params: &GetClientsParams,
) -> Result<GetClientsResponse>
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.
Sourcepub async fn get_clients_raw(&self, params: &GetClientsParams) -> Result<Value>
pub async fn get_clients_raw(&self, params: &GetClientsParams) -> Result<Value>
Call the getClients API method and return the raw JSON envelope.
Sourcepub async fn get_conference(
&self,
params: &GetConferenceParams,
) -> Result<GetConferenceResponse>
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.
Sourcepub async fn get_conference_raw(
&self,
params: &GetConferenceParams,
) -> Result<Value>
pub async fn get_conference_raw( &self, params: &GetConferenceParams, ) -> Result<Value>
Call the getConference API method and return the raw JSON envelope.
Sourcepub async fn get_conference_members(
&self,
params: &GetConferenceMembersParams,
) -> Result<GetConferenceMembersResponse>
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.
Sourcepub async fn get_conference_members_raw(
&self,
params: &GetConferenceMembersParams,
) -> Result<Value>
pub async fn get_conference_members_raw( &self, params: &GetConferenceMembersParams, ) -> Result<Value>
Call the getConferenceMembers API method and return the raw JSON envelope.
Sourcepub async fn get_conference_recording_file(
&self,
params: &GetConferenceRecordingFileParams,
) -> Result<GetConferenceRecordingFileResponse>
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.
Sourcepub async fn get_conference_recording_file_raw(
&self,
params: &GetConferenceRecordingFileParams,
) -> Result<Value>
pub async fn get_conference_recording_file_raw( &self, params: &GetConferenceRecordingFileParams, ) -> Result<Value>
Call the getConferenceRecordingFile API method and return the raw JSON envelope.
Sourcepub async fn get_conference_recordings(
&self,
params: &GetConferenceRecordingsParams,
) -> Result<GetConferenceRecordingsResponse>
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.
Sourcepub async fn get_conference_recordings_raw(
&self,
params: &GetConferenceRecordingsParams,
) -> Result<Value>
pub async fn get_conference_recordings_raw( &self, params: &GetConferenceRecordingsParams, ) -> Result<Value>
Call the getConferenceRecordings API method and return the raw JSON envelope.
Sourcepub async fn get_countries(
&self,
params: &GetCountriesParams,
) -> Result<GetCountriesResponse>
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.
Sourcepub async fn get_countries_raw(
&self,
params: &GetCountriesParams,
) -> Result<Value>
pub async fn get_countries_raw( &self, params: &GetCountriesParams, ) -> Result<Value>
Call the getCountries API method and return the raw JSON envelope.
Sourcepub async fn get_did_countries(
&self,
params: &GetDIDCountriesParams,
) -> Result<GetDIDCountriesResponse>
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.
Sourcepub async fn get_did_countries_raw(
&self,
params: &GetDIDCountriesParams,
) -> Result<Value>
pub async fn get_did_countries_raw( &self, params: &GetDIDCountriesParams, ) -> Result<Value>
Call the getDIDCountries API method and return the raw JSON envelope.
Sourcepub async fn get_dids_can(
&self,
params: &GetDIDsCANParams,
) -> Result<GetDIDsCANResponse>
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.
Sourcepub async fn get_dids_can_raw(&self, params: &GetDIDsCANParams) -> Result<Value>
pub async fn get_dids_can_raw(&self, params: &GetDIDsCANParams) -> Result<Value>
Call the getDIDsCAN API method and return the raw JSON envelope.
Sourcepub async fn get_dids_info(
&self,
params: &GetDIDsInfoParams,
) -> Result<GetDIDsInfoResponse>
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.
Sourcepub async fn get_dids_info_raw(
&self,
params: &GetDIDsInfoParams,
) -> Result<Value>
pub async fn get_dids_info_raw( &self, params: &GetDIDsInfoParams, ) -> Result<Value>
Call the getDIDsInfo API method and return the raw JSON envelope.
Sourcepub async fn get_dids_international_geographic(
&self,
params: &GetDIDsInternationalGeographicParams,
) -> Result<GetDIDsInternationalGeographicResponse>
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.
Sourcepub async fn get_dids_international_geographic_raw(
&self,
params: &GetDIDsInternationalGeographicParams,
) -> Result<Value>
pub async fn get_dids_international_geographic_raw( &self, params: &GetDIDsInternationalGeographicParams, ) -> Result<Value>
Call the getDIDsInternationalGeographic API method and return the raw JSON envelope.
Sourcepub async fn get_dids_international_national(
&self,
params: &GetDIDsInternationalNationalParams,
) -> Result<GetDIDsInternationalNationalResponse>
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.
Sourcepub async fn get_dids_international_national_raw(
&self,
params: &GetDIDsInternationalNationalParams,
) -> Result<Value>
pub async fn get_dids_international_national_raw( &self, params: &GetDIDsInternationalNationalParams, ) -> Result<Value>
Call the getDIDsInternationalNational API method and return the raw JSON envelope.
Sourcepub async fn get_dids_international_toll_free(
&self,
params: &GetDIDsInternationalTollFreeParams,
) -> Result<GetDIDsInternationalTollFreeResponse>
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.
Sourcepub async fn get_dids_international_toll_free_raw(
&self,
params: &GetDIDsInternationalTollFreeParams,
) -> Result<Value>
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.
Sourcepub async fn get_dids_usa(
&self,
params: &GetDIDsUSAParams,
) -> Result<GetDIDsUSAResponse>
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.
Sourcepub async fn get_dids_usa_raw(&self, params: &GetDIDsUSAParams) -> Result<Value>
pub async fn get_dids_usa_raw(&self, params: &GetDIDsUSAParams) -> Result<Value>
Call the getDIDsUSA API method and return the raw JSON envelope.
Sourcepub async fn get_did_vpri(
&self,
params: &GetDIDvPRIParams,
) -> Result<GetDIDvPRIResponse>
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.
Sourcepub async fn get_did_vpri_raw(&self, params: &GetDIDvPRIParams) -> Result<Value>
pub async fn get_did_vpri_raw(&self, params: &GetDIDvPRIParams) -> Result<Value>
Call the getDIDvPRI API method and return the raw JSON envelope.
Sourcepub async fn get_disas(
&self,
params: &GetDISAsParams,
) -> Result<GetDISAsResponse>
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.
Sourcepub async fn get_disas_raw(&self, params: &GetDISAsParams) -> Result<Value>
pub async fn get_disas_raw(&self, params: &GetDISAsParams) -> Result<Value>
Call the getDISAs API method and return the raw JSON envelope.
Sourcepub async fn get_dtmf_modes(
&self,
params: &GetDTMFModesParams,
) -> Result<GetDTMFModesResponse>
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.
Sourcepub async fn get_dtmf_modes_raw(
&self,
params: &GetDTMFModesParams,
) -> Result<Value>
pub async fn get_dtmf_modes_raw( &self, params: &GetDTMFModesParams, ) -> Result<Value>
Call the getDTMFModes API method and return the raw JSON envelope.
Sourcepub async fn get_deposits(
&self,
params: &GetDepositsParams,
) -> Result<GetDepositsResponse>
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.
Sourcepub async fn get_deposits_raw(
&self,
params: &GetDepositsParams,
) -> Result<Value>
pub async fn get_deposits_raw( &self, params: &GetDepositsParams, ) -> Result<Value>
Call the getDeposits API method and return the raw JSON envelope.
Sourcepub async fn get_device_types(
&self,
params: &GetDeviceTypesParams,
) -> Result<GetDeviceTypesResponse>
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.
Sourcepub async fn get_device_types_raw(
&self,
params: &GetDeviceTypesParams,
) -> Result<Value>
pub async fn get_device_types_raw( &self, params: &GetDeviceTypesParams, ) -> Result<Value>
Call the getDeviceTypes API method and return the raw JSON envelope.
Sourcepub async fn get_email_to_fax(
&self,
params: &GetEmailToFAXParams,
) -> Result<GetEmailToFAXResponse>
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.
Sourcepub async fn get_email_to_fax_raw(
&self,
params: &GetEmailToFAXParams,
) -> Result<Value>
pub async fn get_email_to_fax_raw( &self, params: &GetEmailToFAXParams, ) -> Result<Value>
Call the getEmailToFax API method and return the raw JSON envelope.
Sourcepub async fn get_fax_folders(
&self,
params: &GetFAXFoldersParams,
) -> Result<GetFAXFoldersResponse>
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.
Sourcepub async fn get_fax_folders_raw(
&self,
params: &GetFAXFoldersParams,
) -> Result<Value>
pub async fn get_fax_folders_raw( &self, params: &GetFAXFoldersParams, ) -> Result<Value>
Call the getFaxFolders API method and return the raw JSON envelope.
Sourcepub async fn get_fax_message_pdf(
&self,
params: &GetFAXMessagePDFParams,
) -> Result<GetFAXMessagePDFResponse>
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.
Sourcepub async fn get_fax_message_pdf_raw(
&self,
params: &GetFAXMessagePDFParams,
) -> Result<Value>
pub async fn get_fax_message_pdf_raw( &self, params: &GetFAXMessagePDFParams, ) -> Result<Value>
Call the getFaxMessagePDF API method and return the raw JSON envelope.
Sourcepub async fn get_fax_messages(
&self,
params: &GetFAXMessagesParams,
) -> Result<GetFAXMessagesResponse>
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.
Sourcepub async fn get_fax_messages_raw(
&self,
params: &GetFAXMessagesParams,
) -> Result<Value>
pub async fn get_fax_messages_raw( &self, params: &GetFAXMessagesParams, ) -> Result<Value>
Call the getFaxMessages API method and return the raw JSON envelope.
Sourcepub async fn get_fax_numbers_info(
&self,
params: &GetFAXNumbersInfoParams,
) -> Result<GetFAXNumbersInfoResponse>
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.
Sourcepub async fn get_fax_numbers_info_raw(
&self,
params: &GetFAXNumbersInfoParams,
) -> Result<Value>
pub async fn get_fax_numbers_info_raw( &self, params: &GetFAXNumbersInfoParams, ) -> Result<Value>
Call the getFaxNumbersInfo API method and return the raw JSON envelope.
Sourcepub async fn get_fax_numbers_portability(
&self,
params: &GetFAXNumbersPortabilityParams,
) -> Result<GetFAXNumbersPortabilityResponse>
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.
Sourcepub async fn get_fax_numbers_portability_raw(
&self,
params: &GetFAXNumbersPortabilityParams,
) -> Result<Value>
pub async fn get_fax_numbers_portability_raw( &self, params: &GetFAXNumbersPortabilityParams, ) -> Result<Value>
Call the getFaxNumbersPortability API method and return the raw JSON envelope.
Sourcepub async fn get_fax_provinces(
&self,
params: &GetFAXProvincesParams,
) -> Result<GetFAXProvincesResponse>
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.
Sourcepub async fn get_fax_provinces_raw(
&self,
params: &GetFAXProvincesParams,
) -> Result<Value>
pub async fn get_fax_provinces_raw( &self, params: &GetFAXProvincesParams, ) -> Result<Value>
Call the getFaxProvinces API method and return the raw JSON envelope.
Sourcepub async fn get_fax_rate_centers_can(
&self,
params: &GetFAXRateCentersCANParams,
) -> Result<GetFAXRateCentersCANResponse>
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.
Sourcepub async fn get_fax_rate_centers_can_raw(
&self,
params: &GetFAXRateCentersCANParams,
) -> Result<Value>
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.
Sourcepub async fn get_fax_rate_centers_usa(
&self,
params: &GetFAXRateCentersUSAParams,
) -> Result<GetFAXRateCentersUSAResponse>
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.
Sourcepub async fn get_fax_rate_centers_usa_raw(
&self,
params: &GetFAXRateCentersUSAParams,
) -> Result<Value>
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.
Sourcepub async fn get_fax_states(
&self,
params: &GetFAXStatesParams,
) -> Result<GetFAXStatesResponse>
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.
Sourcepub async fn get_fax_states_raw(
&self,
params: &GetFAXStatesParams,
) -> Result<Value>
pub async fn get_fax_states_raw( &self, params: &GetFAXStatesParams, ) -> Result<Value>
Call the getFaxStates API method and return the raw JSON envelope.
Sourcepub async fn get_forwardings(
&self,
params: &GetForwardingsParams,
) -> Result<GetForwardingsResponse>
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.
Sourcepub async fn get_forwardings_raw(
&self,
params: &GetForwardingsParams,
) -> Result<Value>
pub async fn get_forwardings_raw( &self, params: &GetForwardingsParams, ) -> Result<Value>
Call the getForwardings API method and return the raw JSON envelope.
Sourcepub async fn get_ip(&self, params: &GetIPParams) -> Result<GetIPResponse>
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.
Sourcepub async fn get_ip_raw(&self, params: &GetIPParams) -> Result<Value>
pub async fn get_ip_raw(&self, params: &GetIPParams) -> Result<Value>
Call the getIP API method and return the raw JSON envelope.
Sourcepub async fn get_ivrs(&self, params: &GetIVRsParams) -> Result<GetIVRsResponse>
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.
Sourcepub async fn get_ivrs_raw(&self, params: &GetIVRsParams) -> Result<Value>
pub async fn get_ivrs_raw(&self, params: &GetIVRsParams) -> Result<Value>
Call the getIVRs API method and return the raw JSON envelope.
Sourcepub async fn get_international_types(
&self,
params: &GetInternationalTypesParams,
) -> Result<GetInternationalTypesResponse>
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.
Sourcepub async fn get_international_types_raw(
&self,
params: &GetInternationalTypesParams,
) -> Result<Value>
pub async fn get_international_types_raw( &self, params: &GetInternationalTypesParams, ) -> Result<Value>
Call the getInternationalTypes API method and return the raw JSON envelope.
Sourcepub async fn get_join_when_empty_types(
&self,
params: &GetJoinWhenEmptyTypesParams,
) -> Result<GetJoinWhenEmptyTypesResponse>
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.
Sourcepub async fn get_join_when_empty_types_raw(
&self,
params: &GetJoinWhenEmptyTypesParams,
) -> Result<Value>
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.
Sourcepub async fn get_lnp_attach(
&self,
params: &GetLNPAttachParams,
) -> Result<GetLNPAttachResponse>
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.
Sourcepub async fn get_lnp_attach_raw(
&self,
params: &GetLNPAttachParams,
) -> Result<Value>
pub async fn get_lnp_attach_raw( &self, params: &GetLNPAttachParams, ) -> Result<Value>
Call the getLNPAttach API method and return the raw JSON envelope.
Sourcepub async fn get_lnp_attach_list(
&self,
params: &GetLNPAttachListParams,
) -> Result<GetLNPAttachListResponse>
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.
Sourcepub async fn get_lnp_attach_list_raw(
&self,
params: &GetLNPAttachListParams,
) -> Result<Value>
pub async fn get_lnp_attach_list_raw( &self, params: &GetLNPAttachListParams, ) -> Result<Value>
Call the getLNPAttachList API method and return the raw JSON envelope.
Sourcepub async fn get_lnp_details(
&self,
params: &GetLNPDetailsParams,
) -> Result<GetLNPDetailsResponse>
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.
Sourcepub async fn get_lnp_details_raw(
&self,
params: &GetLNPDetailsParams,
) -> Result<Value>
pub async fn get_lnp_details_raw( &self, params: &GetLNPDetailsParams, ) -> Result<Value>
Call the getLNPDetails API method and return the raw JSON envelope.
Sourcepub async fn get_lnp_list(
&self,
params: &GetLNPListParams,
) -> Result<GetLNPListResponse>
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.
Sourcepub async fn get_lnp_list_raw(&self, params: &GetLNPListParams) -> Result<Value>
pub async fn get_lnp_list_raw(&self, params: &GetLNPListParams) -> Result<Value>
Call the getLNPList API method and return the raw JSON envelope.
Sourcepub async fn get_lnp_list_status(
&self,
params: &GetLNPListStatusParams,
) -> Result<GetLNPListStatusResponse>
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.
Sourcepub async fn get_lnp_list_status_raw(
&self,
params: &GetLNPListStatusParams,
) -> Result<Value>
pub async fn get_lnp_list_status_raw( &self, params: &GetLNPListStatusParams, ) -> Result<Value>
Call the getLNPListStatus API method and return the raw JSON envelope.
Sourcepub async fn get_lnp_notes(
&self,
params: &GetLNPNotesParams,
) -> Result<GetLNPNotesResponse>
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.
Sourcepub async fn get_lnp_notes_raw(
&self,
params: &GetLNPNotesParams,
) -> Result<Value>
pub async fn get_lnp_notes_raw( &self, params: &GetLNPNotesParams, ) -> Result<Value>
Call the getLNPNotes API method and return the raw JSON envelope.
Sourcepub async fn get_lnp_status(
&self,
params: &GetLNPStatusParams,
) -> Result<GetLNPStatusResponse>
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.
Sourcepub async fn get_lnp_status_raw(
&self,
params: &GetLNPStatusParams,
) -> Result<Value>
pub async fn get_lnp_status_raw( &self, params: &GetLNPStatusParams, ) -> Result<Value>
Call the getLNPStatus API method and return the raw JSON envelope.
Sourcepub async fn get_languages(
&self,
params: &GetLanguagesParams,
) -> Result<GetLanguagesResponse>
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.
Sourcepub async fn get_languages_raw(
&self,
params: &GetLanguagesParams,
) -> Result<Value>
pub async fn get_languages_raw( &self, params: &GetLanguagesParams, ) -> Result<Value>
Call the getLanguages API method and return the raw JSON envelope.
Sourcepub async fn get_locales(
&self,
params: &GetLocalesParams,
) -> Result<GetLocalesResponse>
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.
Sourcepub async fn get_locales_raw(&self, params: &GetLocalesParams) -> Result<Value>
pub async fn get_locales_raw(&self, params: &GetLocalesParams) -> Result<Value>
Call the getLocales API method and return the raw JSON envelope.
Sourcepub async fn get_locations(
&self,
params: &GetLocationsParams,
) -> Result<GetLocationsResponse>
pub async fn get_locations( &self, params: &GetLocationsParams, ) -> Result<GetLocationsResponse>
Call the getLocations API method and deserialize into GetLocationsResponse.
Sourcepub async fn get_locations_raw(
&self,
params: &GetLocationsParams,
) -> Result<Value>
pub async fn get_locations_raw( &self, params: &GetLocationsParams, ) -> Result<Value>
Call the getLocations API method and return the raw JSON envelope.
Sourcepub async fn get_lock_international(
&self,
params: &GetLockInternationalParams,
) -> Result<GetLockInternationalResponse>
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.
Sourcepub async fn get_lock_international_raw(
&self,
params: &GetLockInternationalParams,
) -> Result<Value>
pub async fn get_lock_international_raw( &self, params: &GetLockInternationalParams, ) -> Result<Value>
Call the getLockInternational API method and return the raw JSON envelope.
Sourcepub async fn get_mms(&self, params: &GetMMSParams) -> Result<GetMMSResponse>
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.
Sourcepub async fn get_mms_raw(&self, params: &GetMMSParams) -> Result<Value>
pub async fn get_mms_raw(&self, params: &GetMMSParams) -> Result<Value>
Call the getMMS API method and return the raw JSON envelope.
Sourcepub async fn get_media_mms(
&self,
params: &GetMediaMMSParams,
) -> Result<GetMediaMMSResponse>
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.
Sourcepub async fn get_media_mms_raw(
&self,
params: &GetMediaMMSParams,
) -> Result<Value>
pub async fn get_media_mms_raw( &self, params: &GetMediaMMSParams, ) -> Result<Value>
Call the getMediaMMS API method and return the raw JSON envelope.
Sourcepub async fn get_music_on_hold(
&self,
params: &GetMusicOnHoldParams,
) -> Result<GetMusicOnHoldResponse>
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.
Sourcepub async fn get_music_on_hold_raw(
&self,
params: &GetMusicOnHoldParams,
) -> Result<Value>
pub async fn get_music_on_hold_raw( &self, params: &GetMusicOnHoldParams, ) -> Result<Value>
Call the getMusicOnHold API method and return the raw JSON envelope.
Sourcepub async fn get_nat(&self, params: &GetNATParams) -> Result<GetNATResponse>
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.
Sourcepub async fn get_nat_raw(&self, params: &GetNATParams) -> Result<Value>
pub async fn get_nat_raw(&self, params: &GetNATParams) -> Result<Value>
Call the getNAT API method and return the raw JSON envelope.
Sourcepub async fn get_packages(
&self,
params: &GetPackagesParams,
) -> Result<GetPackagesResponse>
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.
Sourcepub async fn get_packages_raw(
&self,
params: &GetPackagesParams,
) -> Result<Value>
pub async fn get_packages_raw( &self, params: &GetPackagesParams, ) -> Result<Value>
Call the getPackages API method and return the raw JSON envelope.
Sourcepub async fn get_phonebook(
&self,
params: &GetPhonebookParams,
) -> Result<GetPhonebookResponse>
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.
Sourcepub async fn get_phonebook_raw(
&self,
params: &GetPhonebookParams,
) -> Result<Value>
pub async fn get_phonebook_raw( &self, params: &GetPhonebookParams, ) -> Result<Value>
Call the getPhonebook API method and return the raw JSON envelope.
Sourcepub async fn get_phonebook_groups(
&self,
params: &GetPhonebookGroupsParams,
) -> Result<GetPhonebookGroupsResponse>
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.
Sourcepub async fn get_phonebook_groups_raw(
&self,
params: &GetPhonebookGroupsParams,
) -> Result<Value>
pub async fn get_phonebook_groups_raw( &self, params: &GetPhonebookGroupsParams, ) -> Result<Value>
Call the getPhonebookGroups API method and return the raw JSON envelope.
Sourcepub async fn get_play_instructions(
&self,
params: &GetPlayInstructionsParams,
) -> Result<GetPlayInstructionsResponse>
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.
Sourcepub async fn get_play_instructions_raw(
&self,
params: &GetPlayInstructionsParams,
) -> Result<Value>
pub async fn get_play_instructions_raw( &self, params: &GetPlayInstructionsParams, ) -> Result<Value>
Call the getPlayInstructions API method and return the raw JSON envelope.
Sourcepub async fn get_portability(
&self,
params: &GetPortabilityParams,
) -> Result<GetPortabilityResponse>
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.
Sourcepub async fn get_portability_raw(
&self,
params: &GetPortabilityParams,
) -> Result<Value>
pub async fn get_portability_raw( &self, params: &GetPortabilityParams, ) -> Result<Value>
Call the getPortability API method and return the raw JSON envelope.
Sourcepub async fn get_protocols(
&self,
params: &GetProtocolsParams,
) -> Result<GetProtocolsResponse>
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.
Sourcepub async fn get_protocols_raw(
&self,
params: &GetProtocolsParams,
) -> Result<Value>
pub async fn get_protocols_raw( &self, params: &GetProtocolsParams, ) -> Result<Value>
Call the getProtocols API method and return the raw JSON envelope.
Sourcepub async fn get_provinces(
&self,
params: &GetProvincesParams,
) -> Result<GetProvincesResponse>
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.
Sourcepub async fn get_provinces_raw(
&self,
params: &GetProvincesParams,
) -> Result<Value>
pub async fn get_provinces_raw( &self, params: &GetProvincesParams, ) -> Result<Value>
Call the getProvinces API method and return the raw JSON envelope.
Sourcepub async fn get_queues(
&self,
params: &GetQueuesParams,
) -> Result<GetQueuesResponse>
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.
Sourcepub async fn get_queues_raw(&self, params: &GetQueuesParams) -> Result<Value>
pub async fn get_queues_raw(&self, params: &GetQueuesParams) -> Result<Value>
Call the getQueues API method and return the raw JSON envelope.
Sourcepub async fn get_rate_centers_can(
&self,
params: &GetRateCentersCANParams,
) -> Result<GetRateCentersCANResponse>
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.
Sourcepub async fn get_rate_centers_can_raw(
&self,
params: &GetRateCentersCANParams,
) -> Result<Value>
pub async fn get_rate_centers_can_raw( &self, params: &GetRateCentersCANParams, ) -> Result<Value>
Call the getRateCentersCAN API method and return the raw JSON envelope.
Sourcepub async fn get_rate_centers_usa(
&self,
params: &GetRateCentersUSAParams,
) -> Result<GetRateCentersUSAResponse>
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.
Sourcepub async fn get_rate_centers_usa_raw(
&self,
params: &GetRateCentersUSAParams,
) -> Result<Value>
pub async fn get_rate_centers_usa_raw( &self, params: &GetRateCentersUSAParams, ) -> Result<Value>
Call the getRateCentersUSA API method and return the raw JSON envelope.
Sourcepub async fn get_rates(
&self,
params: &GetRatesParams,
) -> Result<GetRatesResponse>
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.
Sourcepub async fn get_rates_raw(&self, params: &GetRatesParams) -> Result<Value>
pub async fn get_rates_raw(&self, params: &GetRatesParams) -> Result<Value>
Call the getRates API method and return the raw JSON envelope.
Sourcepub async fn get_recording_file(
&self,
params: &GetRecordingFileParams,
) -> Result<GetRecordingFileResponse>
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.
Sourcepub async fn get_recording_file_raw(
&self,
params: &GetRecordingFileParams,
) -> Result<Value>
pub async fn get_recording_file_raw( &self, params: &GetRecordingFileParams, ) -> Result<Value>
Call the getRecordingFile API method and return the raw JSON envelope.
Sourcepub async fn get_recordings(
&self,
params: &GetRecordingsParams,
) -> Result<GetRecordingsResponse>
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.
Sourcepub async fn get_recordings_raw(
&self,
params: &GetRecordingsParams,
) -> Result<Value>
pub async fn get_recordings_raw( &self, params: &GetRecordingsParams, ) -> Result<Value>
Call the getRecordings API method and return the raw JSON envelope.
Sourcepub async fn get_registration_status(
&self,
params: &GetRegistrationStatusParams,
) -> Result<GetRegistrationStatusResponse>
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.
Sourcepub async fn get_registration_status_raw(
&self,
params: &GetRegistrationStatusParams,
) -> Result<Value>
pub async fn get_registration_status_raw( &self, params: &GetRegistrationStatusParams, ) -> Result<Value>
Call the getRegistrationStatus API method and return the raw JSON envelope.
Sourcepub async fn get_report_estimated_hold_time(
&self,
params: &GetReportEstimatedHoldTimeParams,
) -> Result<GetReportEstimatedHoldTimeResponse>
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.
Sourcepub async fn get_report_estimated_hold_time_raw(
&self,
params: &GetReportEstimatedHoldTimeParams,
) -> Result<Value>
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.
Sourcepub async fn get_reseller_balance(
&self,
params: &GetResellerBalanceParams,
) -> Result<GetResellerBalanceResponse>
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.
Sourcepub async fn get_reseller_balance_raw(
&self,
params: &GetResellerBalanceParams,
) -> Result<Value>
pub async fn get_reseller_balance_raw( &self, params: &GetResellerBalanceParams, ) -> Result<Value>
Call the getResellerBalance API method and return the raw JSON envelope.
Sourcepub async fn get_reseller_cdr(
&self,
params: &GetResellerCDRParams,
) -> Result<GetResellerCDRResponse>
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.
Sourcepub async fn get_reseller_cdr_raw(
&self,
params: &GetResellerCDRParams,
) -> Result<Value>
pub async fn get_reseller_cdr_raw( &self, params: &GetResellerCDRParams, ) -> Result<Value>
Call the getResellerCDR API method and return the raw JSON envelope.
Sourcepub async fn get_reseller_mms(
&self,
params: &GetResellerMMSParams,
) -> Result<GetResellerMMSResponse>
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.
Sourcepub async fn get_reseller_mms_raw(
&self,
params: &GetResellerMMSParams,
) -> Result<Value>
pub async fn get_reseller_mms_raw( &self, params: &GetResellerMMSParams, ) -> Result<Value>
Call the getResellerMMS API method and return the raw JSON envelope.
Sourcepub async fn get_reseller_sms(
&self,
params: &GetResellerSMSParams,
) -> Result<GetResellerSMSResponse>
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.
Sourcepub async fn get_reseller_sms_raw(
&self,
params: &GetResellerSMSParams,
) -> Result<Value>
pub async fn get_reseller_sms_raw( &self, params: &GetResellerSMSParams, ) -> Result<Value>
Call the getResellerSMS API method and return the raw JSON envelope.
Sourcepub async fn get_ring_groups(
&self,
params: &GetRingGroupsParams,
) -> Result<GetRingGroupsResponse>
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.
Sourcepub async fn get_ring_groups_raw(
&self,
params: &GetRingGroupsParams,
) -> Result<Value>
pub async fn get_ring_groups_raw( &self, params: &GetRingGroupsParams, ) -> Result<Value>
Call the getRingGroups API method and return the raw JSON envelope.
Sourcepub async fn get_ring_strategies(
&self,
params: &GetRingStrategiesParams,
) -> Result<GetRingStrategiesResponse>
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.
Sourcepub async fn get_ring_strategies_raw(
&self,
params: &GetRingStrategiesParams,
) -> Result<Value>
pub async fn get_ring_strategies_raw( &self, params: &GetRingStrategiesParams, ) -> Result<Value>
Call the getRingStrategies API method and return the raw JSON envelope.
Sourcepub async fn get_routes(
&self,
params: &GetRoutesParams,
) -> Result<GetRoutesResponse>
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.
Sourcepub async fn get_routes_raw(&self, params: &GetRoutesParams) -> Result<Value>
pub async fn get_routes_raw(&self, params: &GetRoutesParams) -> Result<Value>
Call the getRoutes API method and return the raw JSON envelope.
Sourcepub async fn get_sip_uris(
&self,
params: &GetSIPURIsParams,
) -> Result<GetSIPURIsResponse>
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.
Sourcepub async fn get_sip_uris_raw(&self, params: &GetSIPURIsParams) -> Result<Value>
pub async fn get_sip_uris_raw(&self, params: &GetSIPURIsParams) -> Result<Value>
Call the getSIPURIs API method and return the raw JSON envelope.
Sourcepub async fn get_sms(&self, params: &GetSMSParams) -> Result<GetSMSResponse>
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.
Sourcepub async fn get_sms_raw(&self, params: &GetSMSParams) -> Result<Value>
pub async fn get_sms_raw(&self, params: &GetSMSParams) -> Result<Value>
Call the getSMS API method and return the raw JSON envelope.
Sourcepub async fn get_servers_info(
&self,
params: &GetServersInfoParams,
) -> Result<GetServersInfoResponse>
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.
Sourcepub async fn get_servers_info_raw(
&self,
params: &GetServersInfoParams,
) -> Result<Value>
pub async fn get_servers_info_raw( &self, params: &GetServersInfoParams, ) -> Result<Value>
Call the getServersInfo API method and return the raw JSON envelope.
Sourcepub async fn get_states(
&self,
params: &GetStatesParams,
) -> Result<GetStatesResponse>
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.
Sourcepub async fn get_states_raw(&self, params: &GetStatesParams) -> Result<Value>
pub async fn get_states_raw(&self, params: &GetStatesParams) -> Result<Value>
Call the getStates API method and return the raw JSON envelope.
Sourcepub async fn get_static_members(
&self,
params: &GetStaticMembersParams,
) -> Result<GetStaticMembersResponse>
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.
Sourcepub async fn get_static_members_raw(
&self,
params: &GetStaticMembersParams,
) -> Result<Value>
pub async fn get_static_members_raw( &self, params: &GetStaticMembersParams, ) -> Result<Value>
Call the getStaticMembers API method and return the raw JSON envelope.
Sourcepub async fn get_sub_accounts(
&self,
params: &GetSubAccountsParams,
) -> Result<GetSubAccountsResponse>
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.
Sourcepub async fn get_sub_accounts_raw(
&self,
params: &GetSubAccountsParams,
) -> Result<Value>
pub async fn get_sub_accounts_raw( &self, params: &GetSubAccountsParams, ) -> Result<Value>
Call the getSubAccounts API method and return the raw JSON envelope.
Sourcepub async fn get_termination_rates(
&self,
params: &GetTerminationRatesParams,
) -> Result<GetTerminationRatesResponse>
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.
Sourcepub async fn get_termination_rates_raw(
&self,
params: &GetTerminationRatesParams,
) -> Result<Value>
pub async fn get_termination_rates_raw( &self, params: &GetTerminationRatesParams, ) -> Result<Value>
Call the getTerminationRates API method and return the raw JSON envelope.
Sourcepub async fn get_time_conditions(
&self,
params: &GetTimeConditionsParams,
) -> Result<GetTimeConditionsResponse>
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.
Sourcepub async fn get_time_conditions_raw(
&self,
params: &GetTimeConditionsParams,
) -> Result<Value>
pub async fn get_time_conditions_raw( &self, params: &GetTimeConditionsParams, ) -> Result<Value>
Call the getTimeConditions API method and return the raw JSON envelope.
Sourcepub async fn get_timezones(
&self,
params: &GetTimezonesParams,
) -> Result<GetTimezonesResponse>
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.
Sourcepub async fn get_timezones_raw(
&self,
params: &GetTimezonesParams,
) -> Result<Value>
pub async fn get_timezones_raw( &self, params: &GetTimezonesParams, ) -> Result<Value>
Call the getTimezones API method and return the raw JSON envelope.
Sourcepub async fn get_transaction_history(
&self,
params: &GetTransactionHistoryParams,
) -> Result<GetTransactionHistoryResponse>
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.
Sourcepub async fn get_transaction_history_raw(
&self,
params: &GetTransactionHistoryParams,
) -> Result<Value>
pub async fn get_transaction_history_raw( &self, params: &GetTransactionHistoryParams, ) -> Result<Value>
Call the getTransactionHistory API method and return the raw JSON envelope.
Sourcepub async fn get_vpris(
&self,
params: &GetVPRIsParams,
) -> Result<GetVPRIsResponse>
pub async fn get_vpris( &self, params: &GetVPRIsParams, ) -> Result<GetVPRIsResponse>
- Retrieves a list of vpri.
Call the getVPRIs API method and deserialize into GetVPRIsResponse.
Sourcepub async fn get_vpris_raw(&self, params: &GetVPRIsParams) -> Result<Value>
pub async fn get_vpris_raw(&self, params: &GetVPRIsParams) -> Result<Value>
Call the getVPRIs API method and return the raw JSON envelope.
Sourcepub async fn get_voicemail_attachment_formats(
&self,
params: &GetVoicemailAttachmentFormatsParams,
) -> Result<GetVoicemailAttachmentFormatsResponse>
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.
Sourcepub async fn get_voicemail_attachment_formats_raw(
&self,
params: &GetVoicemailAttachmentFormatsParams,
) -> Result<Value>
pub async fn get_voicemail_attachment_formats_raw( &self, params: &GetVoicemailAttachmentFormatsParams, ) -> Result<Value>
Call the getVoicemailAttachmentFormats API method and return the raw JSON envelope.
Sourcepub async fn get_voicemail_folders(
&self,
params: &GetVoicemailFoldersParams,
) -> Result<GetVoicemailFoldersResponse>
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.
Sourcepub async fn get_voicemail_folders_raw(
&self,
params: &GetVoicemailFoldersParams,
) -> Result<Value>
pub async fn get_voicemail_folders_raw( &self, params: &GetVoicemailFoldersParams, ) -> Result<Value>
Call the getVoicemailFolders API method and return the raw JSON envelope.
Sourcepub async fn get_voicemail_message_file(
&self,
params: &GetVoicemailMessageFileParams,
) -> Result<GetVoicemailMessageFileResponse>
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.
Sourcepub async fn get_voicemail_message_file_raw(
&self,
params: &GetVoicemailMessageFileParams,
) -> Result<Value>
pub async fn get_voicemail_message_file_raw( &self, params: &GetVoicemailMessageFileParams, ) -> Result<Value>
Call the getVoicemailMessageFile API method and return the raw JSON envelope.
Sourcepub async fn get_voicemail_messages(
&self,
params: &GetVoicemailMessagesParams,
) -> Result<GetVoicemailMessagesResponse>
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.
Sourcepub async fn get_voicemail_messages_raw(
&self,
params: &GetVoicemailMessagesParams,
) -> Result<Value>
pub async fn get_voicemail_messages_raw( &self, params: &GetVoicemailMessagesParams, ) -> Result<Value>
Call the getVoicemailMessages API method and return the raw JSON envelope.
Sourcepub async fn get_voicemail_setups(
&self,
params: &GetVoicemailSetupsParams,
) -> Result<GetVoicemailSetupsResponse>
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.
Sourcepub async fn get_voicemail_setups_raw(
&self,
params: &GetVoicemailSetupsParams,
) -> Result<Value>
pub async fn get_voicemail_setups_raw( &self, params: &GetVoicemailSetupsParams, ) -> Result<Value>
Call the getVoicemailSetups API method and return the raw JSON envelope.
Sourcepub async fn get_voicemail_transcriptions(
&self,
params: &GetVoicemailTranscriptionsParams,
) -> Result<GetVoicemailTranscriptionsResponse>
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.
Sourcepub async fn get_voicemail_transcriptions_raw(
&self,
params: &GetVoicemailTranscriptionsParams,
) -> Result<Value>
pub async fn get_voicemail_transcriptions_raw( &self, params: &GetVoicemailTranscriptionsParams, ) -> Result<Value>
Call the getVoicemailTranscriptions API method and return the raw JSON envelope.
Sourcepub async fn get_voicemails(
&self,
params: &GetVoicemailsParams,
) -> Result<GetVoicemailsResponse>
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.
Sourcepub async fn get_voicemails_raw(
&self,
params: &GetVoicemailsParams,
) -> Result<Value>
pub async fn get_voicemails_raw( &self, params: &GetVoicemailsParams, ) -> Result<Value>
Call the getVoicemails API method and return the raw JSON envelope.
Sourcepub async fn mail_fax_message_pdf(
&self,
params: &MailFAXMessagePDFParams,
) -> Result<MailFAXMessagePDFResponse>
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.
Sourcepub async fn mail_fax_message_pdf_raw(
&self,
params: &MailFAXMessagePDFParams,
) -> Result<Value>
pub async fn mail_fax_message_pdf_raw( &self, params: &MailFAXMessagePDFParams, ) -> Result<Value>
Call the mailFaxMessagePDF API method and return the raw JSON envelope.
Sourcepub async fn mark_listened_voicemail_message(
&self,
params: &MarkListenedVoicemailMessageParams,
) -> Result<MarkListenedVoicemailMessageResponse>
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.
Sourcepub async fn mark_listened_voicemail_message_raw(
&self,
params: &MarkListenedVoicemailMessageParams,
) -> Result<Value>
pub async fn mark_listened_voicemail_message_raw( &self, params: &MarkListenedVoicemailMessageParams, ) -> Result<Value>
Call the markListenedVoicemailMessage API method and return the raw JSON envelope.
Sourcepub async fn mark_urgent_voicemail_message(
&self,
params: &MarkUrgentVoicemailMessageParams,
) -> Result<MarkUrgentVoicemailMessageResponse>
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.
Sourcepub async fn mark_urgent_voicemail_message_raw(
&self,
params: &MarkUrgentVoicemailMessageParams,
) -> Result<Value>
pub async fn mark_urgent_voicemail_message_raw( &self, params: &MarkUrgentVoicemailMessageParams, ) -> Result<Value>
Call the markUrgentVoicemailMessage API method and return the raw JSON envelope.
Sourcepub async fn move_fax_message(
&self,
params: &MoveFAXMessageParams,
) -> Result<MoveFAXMessageResponse>
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.
Sourcepub async fn move_fax_message_raw(
&self,
params: &MoveFAXMessageParams,
) -> Result<Value>
pub async fn move_fax_message_raw( &self, params: &MoveFAXMessageParams, ) -> Result<Value>
Call the moveFaxMessage API method and return the raw JSON envelope.
Sourcepub async fn move_folder_voicemail_message(
&self,
params: &MoveFolderVoicemailMessageParams,
) -> Result<MoveFolderVoicemailMessageResponse>
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.
Sourcepub async fn move_folder_voicemail_message_raw(
&self,
params: &MoveFolderVoicemailMessageParams,
) -> Result<Value>
pub async fn move_folder_voicemail_message_raw( &self, params: &MoveFolderVoicemailMessageParams, ) -> Result<Value>
Call the moveFolderVoicemailMessage API method and return the raw JSON envelope.
Sourcepub async fn order_did(
&self,
params: &OrderDIDParams,
) -> Result<OrderDIDResponse>
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.
Sourcepub async fn order_did_raw(&self, params: &OrderDIDParams) -> Result<Value>
pub async fn order_did_raw(&self, params: &OrderDIDParams) -> Result<Value>
Call the orderDID API method and return the raw JSON envelope.
Sourcepub async fn order_did_international_geographic(
&self,
params: &OrderDIDInternationalGeographicParams,
) -> Result<OrderDIDInternationalGeographicResponse>
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.
Sourcepub async fn order_did_international_geographic_raw(
&self,
params: &OrderDIDInternationalGeographicParams,
) -> Result<Value>
pub async fn order_did_international_geographic_raw( &self, params: &OrderDIDInternationalGeographicParams, ) -> Result<Value>
Call the orderDIDInternationalGeographic API method and return the raw JSON envelope.
Sourcepub async fn order_did_international_national(
&self,
params: &OrderDIDInternationalNationalParams,
) -> Result<OrderDIDInternationalNationalResponse>
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.
Sourcepub async fn order_did_international_national_raw(
&self,
params: &OrderDIDInternationalNationalParams,
) -> Result<Value>
pub async fn order_did_international_national_raw( &self, params: &OrderDIDInternationalNationalParams, ) -> Result<Value>
Call the orderDIDInternationalNational API method and return the raw JSON envelope.
Sourcepub async fn order_did_international_toll_free(
&self,
params: &OrderDIDInternationalTollFreeParams,
) -> Result<OrderDIDInternationalTollFreeResponse>
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.
Sourcepub async fn order_did_international_toll_free_raw(
&self,
params: &OrderDIDInternationalTollFreeParams,
) -> Result<Value>
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.
Sourcepub async fn order_did_virtual(
&self,
params: &OrderDIDVirtualParams,
) -> Result<OrderDIDVirtualResponse>
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.
Sourcepub async fn order_did_virtual_raw(
&self,
params: &OrderDIDVirtualParams,
) -> Result<Value>
pub async fn order_did_virtual_raw( &self, params: &OrderDIDVirtualParams, ) -> Result<Value>
Call the orderDIDVirtual API method and return the raw JSON envelope.
Sourcepub async fn order_fax_number(
&self,
params: &OrderFAXNumberParams,
) -> Result<OrderFAXNumberResponse>
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.
Sourcepub async fn order_fax_number_raw(
&self,
params: &OrderFAXNumberParams,
) -> Result<Value>
pub async fn order_fax_number_raw( &self, params: &OrderFAXNumberParams, ) -> Result<Value>
Call the orderFaxNumber API method and return the raw JSON envelope.
Sourcepub async fn order_toll_free(
&self,
params: &OrderTollFreeParams,
) -> Result<OrderTollFreeResponse>
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.
Sourcepub async fn order_toll_free_raw(
&self,
params: &OrderTollFreeParams,
) -> Result<Value>
pub async fn order_toll_free_raw( &self, params: &OrderTollFreeParams, ) -> Result<Value>
Call the orderTollFree API method and return the raw JSON envelope.
Sourcepub async fn order_vanity(
&self,
params: &OrderVanityParams,
) -> Result<OrderVanityResponse>
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.
Sourcepub async fn order_vanity_raw(
&self,
params: &OrderVanityParams,
) -> Result<Value>
pub async fn order_vanity_raw( &self, params: &OrderVanityParams, ) -> Result<Value>
Call the orderVanity API method and return the raw JSON envelope.
Sourcepub async fn remove_did_vpri(
&self,
params: &RemoveDIDvPRIParams,
) -> Result<RemoveDIDvPRIResponse>
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.
Sourcepub async fn remove_did_vpri_raw(
&self,
params: &RemoveDIDvPRIParams,
) -> Result<Value>
pub async fn remove_did_vpri_raw( &self, params: &RemoveDIDvPRIParams, ) -> Result<Value>
Call the removeDIDvPRI API method and return the raw JSON envelope.
Sourcepub async fn search_dids_can(
&self,
params: &SearchDIDsCANParams,
) -> Result<SearchDIDsCANResponse>
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.
Sourcepub async fn search_dids_can_raw(
&self,
params: &SearchDIDsCANParams,
) -> Result<Value>
pub async fn search_dids_can_raw( &self, params: &SearchDIDsCANParams, ) -> Result<Value>
Call the searchDIDsCAN API method and return the raw JSON envelope.
Sourcepub async fn search_dids_usa(
&self,
params: &SearchDIDsUSAParams,
) -> Result<SearchDIDsUSAResponse>
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.
Sourcepub async fn search_dids_usa_raw(
&self,
params: &SearchDIDsUSAParams,
) -> Result<Value>
pub async fn search_dids_usa_raw( &self, params: &SearchDIDsUSAParams, ) -> Result<Value>
Call the searchDIDsUSA API method and return the raw JSON envelope.
Sourcepub async fn search_fax_area_code_can(
&self,
params: &SearchFAXAreaCodeCANParams,
) -> Result<SearchFAXAreaCodeCANResponse>
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.
Sourcepub async fn search_fax_area_code_can_raw(
&self,
params: &SearchFAXAreaCodeCANParams,
) -> Result<Value>
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.
Sourcepub async fn search_fax_area_code_usa(
&self,
params: &SearchFAXAreaCodeUSAParams,
) -> Result<SearchFAXAreaCodeUSAResponse>
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.
Sourcepub async fn search_fax_area_code_usa_raw(
&self,
params: &SearchFAXAreaCodeUSAParams,
) -> Result<Value>
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.
Sourcepub async fn search_toll_free_can_us(
&self,
params: &SearchTollFreeCANUSParams,
) -> Result<SearchTollFreeCANUSResponse>
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.
Sourcepub async fn search_toll_free_can_us_raw(
&self,
params: &SearchTollFreeCANUSParams,
) -> Result<Value>
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.
Sourcepub async fn search_toll_free_usa(
&self,
params: &SearchTollFreeUSAParams,
) -> Result<SearchTollFreeUSAResponse>
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.
Sourcepub async fn search_toll_free_usa_raw(
&self,
params: &SearchTollFreeUSAParams,
) -> Result<Value>
pub async fn search_toll_free_usa_raw( &self, params: &SearchTollFreeUSAParams, ) -> Result<Value>
Call the searchTollFreeUSA API method and return the raw JSON envelope.
Sourcepub async fn search_vanity(
&self,
params: &SearchVanityParams,
) -> Result<SearchVanityResponse>
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.
Sourcepub async fn search_vanity_raw(
&self,
params: &SearchVanityParams,
) -> Result<Value>
pub async fn search_vanity_raw( &self, params: &SearchVanityParams, ) -> Result<Value>
Call the searchVanity API method and return the raw JSON envelope.
Sourcepub async fn send_call_recording_email(
&self,
params: &SendCallRecordingEmailParams,
) -> Result<SendCallRecordingEmailResponse>
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.
Sourcepub async fn send_call_recording_email_raw(
&self,
params: &SendCallRecordingEmailParams,
) -> Result<Value>
pub async fn send_call_recording_email_raw( &self, params: &SendCallRecordingEmailParams, ) -> Result<Value>
Call the sendCallRecordingEmail API method and return the raw JSON envelope.
Sourcepub async fn send_fax_message(
&self,
params: &SendFAXMessageParams,
) -> Result<SendFAXMessageResponse>
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.
Sourcepub async fn send_fax_message_raw(
&self,
params: &SendFAXMessageParams,
) -> Result<Value>
pub async fn send_fax_message_raw( &self, params: &SendFAXMessageParams, ) -> Result<Value>
Call the sendFaxMessage API method and return the raw JSON envelope.
Sourcepub async fn send_mms(&self, params: &SendMMSParams) -> Result<SendMMSResponse>
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.
Sourcepub async fn send_mms_raw(&self, params: &SendMMSParams) -> Result<Value>
pub async fn send_mms_raw(&self, params: &SendMMSParams) -> Result<Value>
Call the sendMMS API method and return the raw JSON envelope.
Sourcepub async fn send_sms(&self, params: &SendSMSParams) -> Result<SendSMSResponse>
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.
Sourcepub async fn send_sms_raw(&self, params: &SendSMSParams) -> Result<Value>
pub async fn send_sms_raw(&self, params: &SendSMSParams) -> Result<Value>
Call the sendSMS API method and return the raw JSON envelope.
Sourcepub async fn send_voicemail_email(
&self,
params: &SendVoicemailEmailParams,
) -> Result<SendVoicemailEmailResponse>
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.
Sourcepub async fn send_voicemail_email_raw(
&self,
params: &SendVoicemailEmailParams,
) -> Result<Value>
pub async fn send_voicemail_email_raw( &self, params: &SendVoicemailEmailParams, ) -> Result<Value>
Call the sendVoicemailEmail API method and return the raw JSON envelope.
Sourcepub async fn set_call_hunting(
&self,
params: &SetCallHuntingParams,
) -> Result<SetCallHuntingResponse>
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.
Sourcepub async fn set_call_hunting_raw(
&self,
params: &SetCallHuntingParams,
) -> Result<Value>
pub async fn set_call_hunting_raw( &self, params: &SetCallHuntingParams, ) -> Result<Value>
Call the setCallHunting API method and return the raw JSON envelope.
Sourcepub async fn set_call_parking(
&self,
params: &SetCallParkingParams,
) -> Result<SetCallParkingResponse>
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.
Sourcepub async fn set_call_parking_raw(
&self,
params: &SetCallParkingParams,
) -> Result<Value>
pub async fn set_call_parking_raw( &self, params: &SetCallParkingParams, ) -> Result<Value>
Call the setCallParking API method and return the raw JSON envelope.
Sourcepub async fn set_callback(
&self,
params: &SetCallbackParams,
) -> Result<SetCallbackResponse>
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.
Sourcepub async fn set_callback_raw(
&self,
params: &SetCallbackParams,
) -> Result<Value>
pub async fn set_callback_raw( &self, params: &SetCallbackParams, ) -> Result<Value>
Call the setCallback API method and return the raw JSON envelope.
Sourcepub async fn set_caller_id_filtering(
&self,
params: &SetCallerIDFilteringParams,
) -> Result<SetCallerIDFilteringResponse>
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.
Sourcepub async fn set_caller_id_filtering_raw(
&self,
params: &SetCallerIDFilteringParams,
) -> Result<Value>
pub async fn set_caller_id_filtering_raw( &self, params: &SetCallerIDFilteringParams, ) -> Result<Value>
Call the setCallerIDFiltering API method and return the raw JSON envelope.
Sourcepub async fn set_client(
&self,
params: &SetClientParams,
) -> Result<SetClientResponse>
pub async fn set_client( &self, params: &SetClientParams, ) -> Result<SetClientResponse>
- Updates Reseller Client information.
Call the setClient API method and deserialize into SetClientResponse.
Sourcepub async fn set_client_raw(&self, params: &SetClientParams) -> Result<Value>
pub async fn set_client_raw(&self, params: &SetClientParams) -> Result<Value>
Call the setClient API method and return the raw JSON envelope.
Sourcepub async fn set_client_threshold(
&self,
params: &SetClientThresholdParams,
) -> Result<SetClientThresholdResponse>
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.
Sourcepub async fn set_client_threshold_raw(
&self,
params: &SetClientThresholdParams,
) -> Result<Value>
pub async fn set_client_threshold_raw( &self, params: &SetClientThresholdParams, ) -> Result<Value>
Call the setClientThreshold API method and return the raw JSON envelope.
Sourcepub async fn set_conference(
&self,
params: &SetConferenceParams,
) -> Result<SetConferenceResponse>
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.
Sourcepub async fn set_conference_raw(
&self,
params: &SetConferenceParams,
) -> Result<Value>
pub async fn set_conference_raw( &self, params: &SetConferenceParams, ) -> Result<Value>
Call the setConference API method and return the raw JSON envelope.
Sourcepub async fn set_conference_member(
&self,
params: &SetConferenceMemberParams,
) -> Result<SetConferenceMemberResponse>
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.
Sourcepub async fn set_conference_member_raw(
&self,
params: &SetConferenceMemberParams,
) -> Result<Value>
pub async fn set_conference_member_raw( &self, params: &SetConferenceMemberParams, ) -> Result<Value>
Call the setConferenceMember API method and return the raw JSON envelope.
Sourcepub async fn set_did_billing_type(
&self,
params: &SetDIDBillingTypeParams,
) -> Result<SetDIDBillingTypeResponse>
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.
Sourcepub async fn set_did_billing_type_raw(
&self,
params: &SetDIDBillingTypeParams,
) -> Result<Value>
pub async fn set_did_billing_type_raw( &self, params: &SetDIDBillingTypeParams, ) -> Result<Value>
Call the setDIDBillingType API method and return the raw JSON envelope.
Sourcepub async fn set_did_info(
&self,
params: &SetDIDInfoParams,
) -> Result<SetDIDInfoResponse>
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.
Sourcepub async fn set_did_info_raw(&self, params: &SetDIDInfoParams) -> Result<Value>
pub async fn set_did_info_raw(&self, params: &SetDIDInfoParams) -> Result<Value>
Call the setDIDInfo API method and return the raw JSON envelope.
Sourcepub async fn set_did_pop(
&self,
params: &SetDIDPOPParams,
) -> Result<SetDIDPOPResponse>
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.
Sourcepub async fn set_did_pop_raw(&self, params: &SetDIDPOPParams) -> Result<Value>
pub async fn set_did_pop_raw(&self, params: &SetDIDPOPParams) -> Result<Value>
Call the setDIDPOP API method and return the raw JSON envelope.
Sourcepub async fn set_did_routing(
&self,
params: &SetDIDRoutingParams,
) -> Result<SetDIDRoutingResponse>
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.
Sourcepub async fn set_did_routing_raw(
&self,
params: &SetDIDRoutingParams,
) -> Result<Value>
pub async fn set_did_routing_raw( &self, params: &SetDIDRoutingParams, ) -> Result<Value>
Call the setDIDRouting API method and return the raw JSON envelope.
Sourcepub async fn set_did_voicemail(
&self,
params: &SetDIDVoicemailParams,
) -> Result<SetDIDVoicemailResponse>
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.
Sourcepub async fn set_did_voicemail_raw(
&self,
params: &SetDIDVoicemailParams,
) -> Result<Value>
pub async fn set_did_voicemail_raw( &self, params: &SetDIDVoicemailParams, ) -> Result<Value>
Call the setDIDVoicemail API method and return the raw JSON envelope.
Sourcepub async fn set_disa(&self, params: &SetDISAParams) -> Result<SetDISAResponse>
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.
Sourcepub async fn set_disa_raw(&self, params: &SetDISAParams) -> Result<Value>
pub async fn set_disa_raw(&self, params: &SetDISAParams) -> Result<Value>
Call the setDISA API method and return the raw JSON envelope.
Sourcepub async fn set_email_to_fax(
&self,
params: &SetEmailToFAXParams,
) -> Result<SetEmailToFAXResponse>
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.
Sourcepub async fn set_email_to_fax_raw(
&self,
params: &SetEmailToFAXParams,
) -> Result<Value>
pub async fn set_email_to_fax_raw( &self, params: &SetEmailToFAXParams, ) -> Result<Value>
Call the setEmailToFax API method and return the raw JSON envelope.
Sourcepub async fn set_fax_folder(
&self,
params: &SetFAXFolderParams,
) -> Result<SetFAXFolderResponse>
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.
Sourcepub async fn set_fax_folder_raw(
&self,
params: &SetFAXFolderParams,
) -> Result<Value>
pub async fn set_fax_folder_raw( &self, params: &SetFAXFolderParams, ) -> Result<Value>
Call the setFaxFolder API method and return the raw JSON envelope.
Sourcepub async fn set_fax_number_email(
&self,
params: &SetFAXNumberEmailParams,
) -> Result<SetFAXNumberEmailResponse>
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.
Sourcepub async fn set_fax_number_email_raw(
&self,
params: &SetFAXNumberEmailParams,
) -> Result<Value>
pub async fn set_fax_number_email_raw( &self, params: &SetFAXNumberEmailParams, ) -> Result<Value>
Call the setFaxNumberEmail API method and return the raw JSON envelope.
Sourcepub async fn set_fax_number_info(
&self,
params: &SetFAXNumberInfoParams,
) -> Result<SetFAXNumberInfoResponse>
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.
Sourcepub async fn set_fax_number_info_raw(
&self,
params: &SetFAXNumberInfoParams,
) -> Result<Value>
pub async fn set_fax_number_info_raw( &self, params: &SetFAXNumberInfoParams, ) -> Result<Value>
Call the setFaxNumberInfo API method and return the raw JSON envelope.
Sourcepub async fn set_fax_number_url_callback(
&self,
params: &SetFAXNumberURLCallbackParams,
) -> Result<SetFAXNumberURLCallbackResponse>
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.
Sourcepub async fn set_fax_number_url_callback_raw(
&self,
params: &SetFAXNumberURLCallbackParams,
) -> Result<Value>
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.
Sourcepub async fn set_forwarding(
&self,
params: &SetForwardingParams,
) -> Result<SetForwardingResponse>
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.
Sourcepub async fn set_forwarding_raw(
&self,
params: &SetForwardingParams,
) -> Result<Value>
pub async fn set_forwarding_raw( &self, params: &SetForwardingParams, ) -> Result<Value>
Call the setForwarding API method and return the raw JSON envelope.
Sourcepub async fn set_ivr(&self, params: &SetIVRParams) -> Result<SetIVRResponse>
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.
Sourcepub async fn set_ivr_raw(&self, params: &SetIVRParams) -> Result<Value>
pub async fn set_ivr_raw(&self, params: &SetIVRParams) -> Result<Value>
Call the setIVR API method and return the raw JSON envelope.
Sourcepub async fn set_location(
&self,
params: &SetLocationParams,
) -> Result<SetLocationResponse>
pub async fn set_location( &self, params: &SetLocationParams, ) -> Result<SetLocationResponse>
Call the setLocation API method and deserialize into SetLocationResponse.
Sourcepub async fn set_location_raw(
&self,
params: &SetLocationParams,
) -> Result<Value>
pub async fn set_location_raw( &self, params: &SetLocationParams, ) -> Result<Value>
Call the setLocation API method and return the raw JSON envelope.
Sourcepub async fn set_music_on_hold(
&self,
params: &SetMusicOnHoldParams,
) -> Result<SetMusicOnHoldResponse>
pub async fn set_music_on_hold( &self, params: &SetMusicOnHoldParams, ) -> Result<SetMusicOnHoldResponse>
Call the setMusicOnHold API method and deserialize into SetMusicOnHoldResponse.
Sourcepub async fn set_music_on_hold_raw(
&self,
params: &SetMusicOnHoldParams,
) -> Result<Value>
pub async fn set_music_on_hold_raw( &self, params: &SetMusicOnHoldParams, ) -> Result<Value>
Call the setMusicOnHold API method and return the raw JSON envelope.
Sourcepub async fn set_phonebook(
&self,
params: &SetPhonebookParams,
) -> Result<SetPhonebookResponse>
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.
Sourcepub async fn set_phonebook_raw(
&self,
params: &SetPhonebookParams,
) -> Result<Value>
pub async fn set_phonebook_raw( &self, params: &SetPhonebookParams, ) -> Result<Value>
Call the setPhonebook API method and return the raw JSON envelope.
Sourcepub async fn set_phonebook_group(
&self,
params: &SetPhonebookGroupParams,
) -> Result<SetPhonebookGroupResponse>
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.
Sourcepub async fn set_phonebook_group_raw(
&self,
params: &SetPhonebookGroupParams,
) -> Result<Value>
pub async fn set_phonebook_group_raw( &self, params: &SetPhonebookGroupParams, ) -> Result<Value>
Call the setPhonebookGroup API method and return the raw JSON envelope.
Sourcepub async fn set_queue(
&self,
params: &SetQueueParams,
) -> Result<SetQueueResponse>
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.
Sourcepub async fn set_queue_raw(&self, params: &SetQueueParams) -> Result<Value>
pub async fn set_queue_raw(&self, params: &SetQueueParams) -> Result<Value>
Call the setQueue API method and return the raw JSON envelope.
Sourcepub async fn set_recording(
&self,
params: &SetRecordingParams,
) -> Result<SetRecordingResponse>
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.
Sourcepub async fn set_recording_raw(
&self,
params: &SetRecordingParams,
) -> Result<Value>
pub async fn set_recording_raw( &self, params: &SetRecordingParams, ) -> Result<Value>
Call the setRecording API method and return the raw JSON envelope.
Sourcepub async fn set_ring_group(
&self,
params: &SetRingGroupParams,
) -> Result<SetRingGroupResponse>
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.
Sourcepub async fn set_ring_group_raw(
&self,
params: &SetRingGroupParams,
) -> Result<Value>
pub async fn set_ring_group_raw( &self, params: &SetRingGroupParams, ) -> Result<Value>
Call the setRingGroup API method and return the raw JSON envelope.
Sourcepub async fn set_sip_uri(
&self,
params: &SetSIPURIParams,
) -> Result<SetSIPURIResponse>
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.
Sourcepub async fn set_sip_uri_raw(&self, params: &SetSIPURIParams) -> Result<Value>
pub async fn set_sip_uri_raw(&self, params: &SetSIPURIParams) -> Result<Value>
Call the setSIPURI API method and return the raw JSON envelope.
Sourcepub async fn set_sms(&self, params: &SetSMSParams) -> Result<SetSMSResponse>
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.
Sourcepub async fn set_sms_raw(&self, params: &SetSMSParams) -> Result<Value>
pub async fn set_sms_raw(&self, params: &SetSMSParams) -> Result<Value>
Call the setSMS API method and return the raw JSON envelope.
Sourcepub async fn set_static_member(
&self,
params: &SetStaticMemberParams,
) -> Result<SetStaticMemberResponse>
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.
Sourcepub async fn set_static_member_raw(
&self,
params: &SetStaticMemberParams,
) -> Result<Value>
pub async fn set_static_member_raw( &self, params: &SetStaticMemberParams, ) -> Result<Value>
Call the setStaticMember API method and return the raw JSON envelope.
Sourcepub async fn set_sub_account(
&self,
params: &SetSubAccountParams,
) -> Result<SetSubAccountResponse>
pub async fn set_sub_account( &self, params: &SetSubAccountParams, ) -> Result<SetSubAccountResponse>
- Updates Sub Account information.
Call the setSubAccount API method and deserialize into SetSubAccountResponse.
Sourcepub async fn set_sub_account_raw(
&self,
params: &SetSubAccountParams,
) -> Result<Value>
pub async fn set_sub_account_raw( &self, params: &SetSubAccountParams, ) -> Result<Value>
Call the setSubAccount API method and return the raw JSON envelope.
Sourcepub async fn set_time_condition(
&self,
params: &SetTimeConditionParams,
) -> Result<SetTimeConditionResponse>
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.
Sourcepub async fn set_time_condition_raw(
&self,
params: &SetTimeConditionParams,
) -> Result<Value>
pub async fn set_time_condition_raw( &self, params: &SetTimeConditionParams, ) -> Result<Value>
Call the setTimeCondition API method and return the raw JSON envelope.
Sourcepub async fn set_voicemail(
&self,
params: &SetVoicemailParams,
) -> Result<SetVoicemailResponse>
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.
Sourcepub async fn set_voicemail_raw(
&self,
params: &SetVoicemailParams,
) -> Result<Value>
pub async fn set_voicemail_raw( &self, params: &SetVoicemailParams, ) -> Result<Value>
Call the setVoicemail API method and return the raw JSON envelope.
Sourcepub async fn signup_client(
&self,
params: &SignupClientParams,
) -> Result<SignupClientResponse>
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.
Sourcepub async fn signup_client_raw(
&self,
params: &SignupClientParams,
) -> Result<Value>
pub async fn signup_client_raw( &self, params: &SignupClientParams, ) -> Result<Value>
Call the signupClient API method and return the raw JSON envelope.
Sourcepub async fn unconnect_did(
&self,
params: &UnconnectDIDParams,
) -> Result<UnconnectDIDResponse>
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.
Sourcepub async fn unconnect_did_raw(
&self,
params: &UnconnectDIDParams,
) -> Result<Value>
pub async fn unconnect_did_raw( &self, params: &UnconnectDIDParams, ) -> Result<Value>
Call the unconnectDID API method and return the raw JSON envelope.
Sourcepub async fn unconnect_fax(
&self,
params: &UnconnectFAXParams,
) -> Result<UnconnectFAXResponse>
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.
Sourcepub async fn unconnect_fax_raw(
&self,
params: &UnconnectFAXParams,
) -> Result<Value>
pub async fn unconnect_fax_raw( &self, params: &UnconnectFAXParams, ) -> Result<Value>
Call the unconnectFAX API method and return the raw JSON envelope.