lib/purecloudplatformclientv2/api/outbound_api.rb in purecloudplatformclientv2-3.1.7 vs lib/purecloudplatformclientv2/api/outbound_api.rb in purecloudplatformclientv2-4.0.0

- old
+ new

@@ -26,21 +26,21 @@ # Delete attempt limits # # @param attempt_limits_id Attempt limits ID # @param [Hash] opts the optional parameters - # @return [String] + # @return [nil] def delete_outbound_attemptlimit(attempt_limits_id, opts = {}) - data, _status_code, _headers = delete_outbound_attemptlimit_with_http_info(attempt_limits_id, opts) - return data + delete_outbound_attemptlimit_with_http_info(attempt_limits_id, opts) + return nil end # Delete attempt limits # # @param attempt_limits_id Attempt limits ID # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers + # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_outbound_attemptlimit_with_http_info(attempt_limits_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OutboundApi.delete_outbound_attemptlimit ..." end # verify the required parameter 'attempt_limits_id' is set @@ -71,33 +71,32 @@ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, - :auth_names => auth_names, - :return_type => 'String') + :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: OutboundApi#delete_outbound_attemptlimit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end # Delete callable time set # # @param callable_time_set_id Callable Time Set ID # @param [Hash] opts the optional parameters - # @return [String] + # @return [nil] def delete_outbound_callabletimeset(callable_time_set_id, opts = {}) - data, _status_code, _headers = delete_outbound_callabletimeset_with_http_info(callable_time_set_id, opts) - return data + delete_outbound_callabletimeset_with_http_info(callable_time_set_id, opts) + return nil end # Delete callable time set # # @param callable_time_set_id Callable Time Set ID # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers + # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_outbound_callabletimeset_with_http_info(callable_time_set_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OutboundApi.delete_outbound_callabletimeset ..." end # verify the required parameter 'callable_time_set_id' is set @@ -128,33 +127,32 @@ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, - :auth_names => auth_names, - :return_type => 'String') + :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: OutboundApi#delete_outbound_callabletimeset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end # Delete a dialer call analysis response set. # # @param call_analysis_set_id Call Analysis Response Set ID # @param [Hash] opts the optional parameters - # @return [String] + # @return [nil] def delete_outbound_callanalysisresponseset(call_analysis_set_id, opts = {}) - data, _status_code, _headers = delete_outbound_callanalysisresponseset_with_http_info(call_analysis_set_id, opts) - return data + delete_outbound_callanalysisresponseset_with_http_info(call_analysis_set_id, opts) + return nil end # Delete a dialer call analysis response set. # # @param call_analysis_set_id Call Analysis Response Set ID # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers + # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_outbound_callanalysisresponseset_with_http_info(call_analysis_set_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OutboundApi.delete_outbound_callanalysisresponseset ..." end # verify the required parameter 'call_analysis_set_id' is set @@ -185,12 +183,11 @@ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, - :auth_names => auth_names, - :return_type => 'String') + :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: OutboundApi#delete_outbound_callanalysisresponseset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -310,21 +307,21 @@ # Delete Campaign Rule # # @param campaign_rule_id Campaign Rule ID # @param [Hash] opts the optional parameters - # @return [String] + # @return [nil] def delete_outbound_campaignrule(campaign_rule_id, opts = {}) - data, _status_code, _headers = delete_outbound_campaignrule_with_http_info(campaign_rule_id, opts) - return data + delete_outbound_campaignrule_with_http_info(campaign_rule_id, opts) + return nil end # Delete Campaign Rule # # @param campaign_rule_id Campaign Rule ID # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers + # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_outbound_campaignrule_with_http_info(campaign_rule_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OutboundApi.delete_outbound_campaignrule ..." end # verify the required parameter 'campaign_rule_id' is set @@ -355,33 +352,32 @@ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, - :auth_names => auth_names, - :return_type => 'String') + :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: OutboundApi#delete_outbound_campaignrule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end # Delete a contact list. # # @param contact_list_id ContactList ID # @param [Hash] opts the optional parameters - # @return [String] + # @return [nil] def delete_outbound_contactlist(contact_list_id, opts = {}) - data, _status_code, _headers = delete_outbound_contactlist_with_http_info(contact_list_id, opts) - return data + delete_outbound_contactlist_with_http_info(contact_list_id, opts) + return nil end # Delete a contact list. # # @param contact_list_id ContactList ID # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers + # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_outbound_contactlist_with_http_info(contact_list_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OutboundApi.delete_outbound_contactlist ..." end # verify the required parameter 'contact_list_id' is set @@ -412,12 +408,11 @@ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, - :auth_names => auth_names, - :return_type => 'String') + :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: OutboundApi#delete_outbound_contactlist\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -425,22 +420,22 @@ # Delete a contact. # # @param contact_list_id Contact List ID # @param contact_id Contact ID # @param [Hash] opts the optional parameters - # @return [String] + # @return [nil] def delete_outbound_contactlist_contact(contact_list_id, contact_id, opts = {}) - data, _status_code, _headers = delete_outbound_contactlist_contact_with_http_info(contact_list_id, contact_id, opts) - return data + delete_outbound_contactlist_contact_with_http_info(contact_list_id, contact_id, opts) + return nil end # Delete a contact. # # @param contact_list_id Contact List ID # @param contact_id Contact ID # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers + # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_outbound_contactlist_contact_with_http_info(contact_list_id, contact_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OutboundApi.delete_outbound_contactlist_contact ..." end # verify the required parameter 'contact_list_id' is set @@ -473,33 +468,32 @@ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, - :auth_names => auth_names, - :return_type => 'String') + :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: OutboundApi#delete_outbound_contactlist_contact\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end # Delete dialer DNC list # # @param dnc_list_id DncList ID # @param [Hash] opts the optional parameters - # @return [String] + # @return [nil] def delete_outbound_dnclist(dnc_list_id, opts = {}) - data, _status_code, _headers = delete_outbound_dnclist_with_http_info(dnc_list_id, opts) - return data + delete_outbound_dnclist_with_http_info(dnc_list_id, opts) + return nil end # Delete dialer DNC list # # @param dnc_list_id DncList ID # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers + # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_outbound_dnclist_with_http_info(dnc_list_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OutboundApi.delete_outbound_dnclist ..." end # verify the required parameter 'dnc_list_id' is set @@ -530,33 +524,32 @@ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, - :auth_names => auth_names, - :return_type => 'String') + :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: OutboundApi#delete_outbound_dnclist\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end # Delete a Rule set. # # @param rule_set_id Rule Set ID # @param [Hash] opts the optional parameters - # @return [String] + # @return [nil] def delete_outbound_ruleset(rule_set_id, opts = {}) - data, _status_code, _headers = delete_outbound_ruleset_with_http_info(rule_set_id, opts) - return data + delete_outbound_ruleset_with_http_info(rule_set_id, opts) + return nil end # Delete a Rule set. # # @param rule_set_id Rule Set ID # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers + # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_outbound_ruleset_with_http_info(rule_set_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OutboundApi.delete_outbound_ruleset ..." end # verify the required parameter 'rule_set_id' is set @@ -587,33 +580,32 @@ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, - :auth_names => auth_names, - :return_type => 'String') + :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: OutboundApi#delete_outbound_ruleset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end # Delete a dialer campaign schedule. # # @param campaign_id Campaign ID # @param [Hash] opts the optional parameters - # @return [String] + # @return [nil] def delete_outbound_schedules_campaign(campaign_id, opts = {}) - data, _status_code, _headers = delete_outbound_schedules_campaign_with_http_info(campaign_id, opts) - return data + delete_outbound_schedules_campaign_with_http_info(campaign_id, opts) + return nil end # Delete a dialer campaign schedule. # # @param campaign_id Campaign ID # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers + # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_outbound_schedules_campaign_with_http_info(campaign_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OutboundApi.delete_outbound_schedules_campaign ..." end # verify the required parameter 'campaign_id' is set @@ -644,33 +636,32 @@ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, - :auth_names => auth_names, - :return_type => 'String') + :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: OutboundApi#delete_outbound_schedules_campaign\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end # Delete a dialer sequence schedule. # # @param sequence_id Sequence ID # @param [Hash] opts the optional parameters - # @return [String] + # @return [nil] def delete_outbound_schedules_sequence(sequence_id, opts = {}) - data, _status_code, _headers = delete_outbound_schedules_sequence_with_http_info(sequence_id, opts) - return data + delete_outbound_schedules_sequence_with_http_info(sequence_id, opts) + return nil end # Delete a dialer sequence schedule. # # @param sequence_id Sequence ID # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers + # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_outbound_schedules_sequence_with_http_info(sequence_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OutboundApi.delete_outbound_schedules_sequence ..." end # verify the required parameter 'sequence_id' is set @@ -701,33 +692,32 @@ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, - :auth_names => auth_names, - :return_type => 'String') + :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: OutboundApi#delete_outbound_schedules_sequence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end # Delete a dialer campaign sequence. # # @param sequence_id Campaign Sequence ID # @param [Hash] opts the optional parameters - # @return [String] + # @return [nil] def delete_outbound_sequence(sequence_id, opts = {}) - data, _status_code, _headers = delete_outbound_sequence_with_http_info(sequence_id, opts) - return data + delete_outbound_sequence_with_http_info(sequence_id, opts) + return nil end # Delete a dialer campaign sequence. # # @param sequence_id Campaign Sequence ID # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers + # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_outbound_sequence_with_http_info(sequence_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: OutboundApi.delete_outbound_sequence ..." end # verify the required parameter 'sequence_id' is set @@ -758,11 +748,10 @@ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, - :auth_names => auth_names, - :return_type => 'String') + :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: OutboundApi#delete_outbound_sequence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end