purecloud 0.18.0 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/Gemfile.lock +2 -2
- data/README.md +1 -7
- data/config-ruby.json +1 -1
- data/extensions/auth.rb +2 -2
- data/lib/purecloud.rb +110 -75
- data/lib/purecloud/api/architect_api.rb +3127 -74
- data/lib/purecloud/api/attributes_api.rb +33 -33
- data/lib/purecloud/api/authorization_api.rb +83 -83
- data/lib/purecloud/api/compliance_api.rb +5 -5
- data/lib/purecloud/api/configuration_api.rb +594 -397
- data/lib/purecloud/api/content_management_api.rb +183 -183
- data/lib/purecloud/api/conversations_api.rb +289 -159
- data/lib/purecloud/api/downloads_api.rb +6 -6
- data/lib/purecloud/api/external_contacts_api.rb +1693 -0
- data/lib/purecloud/api/fax_api.rb +24 -24
- data/lib/purecloud/api/geolocation_api.rb +14 -14
- data/lib/purecloud/api/greetings_api.rb +68 -68
- data/lib/purecloud/api/groups_api.rb +31 -20
- data/lib/purecloud/api/languages_api.rb +18 -11
- data/lib/purecloud/api/licensing_api.rb +5 -5
- data/lib/purecloud/api/locations_api.rb +11 -11
- data/lib/purecloud/api/notifications_api.rb +41 -41
- data/lib/purecloud/api/o_auth_api.rb +69 -69
- data/lib/purecloud/api/outbound_api.rb +505 -325
- data/lib/purecloud/api/presence_api.rb +65 -65
- data/lib/purecloud/api/quality_api.rb +66 -639
- data/lib/purecloud/api/recording_api.rb +1343 -0
- data/lib/purecloud/api/response_management_api.rb +687 -0
- data/lib/purecloud/api/routing_api.rb +224 -170
- data/lib/purecloud/api/scripts_api.rb +52 -52
- data/lib/purecloud/api/search_api.rb +5 -5
- data/lib/purecloud/api/stations_api.rb +8 -8
- data/lib/purecloud/api/telephony_providers_edge_api.rb +138 -138
- data/lib/purecloud/api/user_recordings_api.rb +29 -29
- data/lib/purecloud/api/users_api.rb +123 -123
- data/lib/purecloud/api/utilities_api.rb +71 -15
- data/lib/purecloud/api/voicemail_api.rb +42 -42
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/address.rb +49 -51
- data/lib/purecloud/models/attribute_filter_item.rb +177 -0
- data/lib/purecloud/models/automate_queue_member_entity_listing.rb +238 -0
- data/lib/purecloud/models/available_additional_service.rb +40 -1
- data/lib/purecloud/models/{topic_entity_listing.rb → available_topic_entity_listing.rb} +1 -1
- data/lib/purecloud/models/call.rb +36 -5
- data/lib/purecloud/models/{line_properties.rb → call_command.rb} +13 -3
- data/lib/purecloud/models/callback.rb +15 -4
- data/lib/purecloud/models/campaign.rb +219 -17
- data/lib/purecloud/models/campaign_progress.rb +186 -0
- data/lib/purecloud/models/channel_topic_entity_listing.rb +238 -0
- data/lib/purecloud/models/charge.rb +14 -4
- data/lib/purecloud/models/{attribute_value.rb → client_text_table_transform.rb} +52 -82
- data/lib/purecloud/models/contact.rb +1 -1
- data/lib/purecloud/models/contact_list.rb +111 -1
- data/lib/purecloud/models/contact_listing.rb +238 -0
- data/lib/purecloud/models/content_attribute_filter_item.rb +177 -0
- data/lib/purecloud/models/content_facet_filter_item.rb +1 -1
- data/lib/purecloud/models/content_query_request.rb +16 -4
- data/lib/purecloud/models/control.rb +221 -0
- data/lib/purecloud/models/{flow_activate_request.rb → control_options.rb} +18 -12
- data/lib/purecloud/models/create_callback_command.rb +200 -0
- data/lib/purecloud/models/discount.rb +220 -0
- data/lib/purecloud/models/document.rb +13 -1
- data/lib/purecloud/models/document_attribute.rb +158 -0
- data/lib/purecloud/models/document_update.rb +28 -16
- data/lib/purecloud/models/document_upload.rb +4 -16
- data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +238 -0
- data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +238 -0
- data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +1 -1
- data/lib/purecloud/models/edge_line.rb +1 -1
- data/lib/purecloud/models/edge_logs_job.rb +181 -0
- data/lib/purecloud/models/edge_logs_job_file.rb +243 -0
- data/lib/purecloud/models/edge_logs_job_request.rb +168 -0
- data/lib/purecloud/models/{backend_work_item_data_element.rb → edge_logs_job_response.rb} +16 -24
- data/lib/purecloud/models/{flow_lock_request.rb → edge_logs_job_upload_request.rb} +10 -12
- data/lib/purecloud/models/email.rb +15 -4
- data/lib/purecloud/models/endpoint.rb +1 -1
- data/lib/purecloud/models/{flow_associate_workspaces_request.rb → estimated_wait_time_predictions.rb} +10 -11
- data/lib/purecloud/models/external_contact.rb +320 -0
- data/lib/purecloud/models/external_organization.rb +306 -0
- data/lib/purecloud/models/external_organization_listing.rb +238 -0
- data/lib/purecloud/models/facet_filter_item.rb +1 -1
- data/lib/purecloud/models/flow_body.rb +1 -1
- data/lib/purecloud/models/flow_body_format.rb +10 -20
- data/lib/purecloud/models/flow_terminate_request.rb +3 -16
- data/lib/purecloud/models/form.rb +148 -0
- data/lib/purecloud/models/group.rb +11 -1
- data/lib/purecloud/models/health_check_info.rb +268 -0
- data/lib/purecloud/models/{body_2.rb → inline_response_200.rb} +1 -1
- data/lib/purecloud/models/integration_type.rb +209 -0
- data/lib/purecloud/models/integration_type_entity_listing.rb +238 -0
- data/lib/purecloud/models/key_rotation_schedule.rb +1 -0
- data/lib/purecloud/models/language.rb +41 -1
- data/lib/purecloud/models/line.rb +1 -1
- data/lib/purecloud/models/line_base.rb +1 -1
- data/lib/purecloud/models/media_policies.rb +169 -0
- data/lib/purecloud/models/media_policy.rb +171 -0
- data/lib/purecloud/models/note.rb +200 -0
- data/lib/purecloud/models/{user_station_resource.rb → note_listing.rb} +68 -58
- data/lib/purecloud/models/o_auth_client.rb +1 -1
- data/lib/purecloud/models/page.rb +2 -2
- data/lib/purecloud/models/{byte_buffer.rb → payment_method.rb} +48 -61
- data/lib/purecloud/models/payment_method_listing.rb +238 -0
- data/lib/purecloud/models/payment_token_provider.rb +180 -0
- data/lib/purecloud/models/phone.rb +1 -1
- data/lib/purecloud/models/phone_base.rb +1 -1
- data/lib/purecloud/models/phone_number.rb +198 -0
- data/lib/purecloud/models/phones_reboot.rb +14 -4
- data/lib/purecloud/models/policy.rb +14 -1
- data/lib/purecloud/models/prediction_results.rb +167 -0
- data/lib/purecloud/models/query_request.rb +16 -4
- data/lib/purecloud/models/queue_member_entity_listing.rb +1 -1
- data/lib/purecloud/models/quote.rb +13 -1
- data/lib/purecloud/models/recording_settings.rb +146 -0
- data/lib/purecloud/models/relationship.rb +201 -0
- data/lib/purecloud/models/relationship_listing.rb +238 -0
- data/lib/purecloud/models/report_schedule.rb +3 -2
- data/lib/purecloud/models/service_type.rb +12 -1
- data/lib/purecloud/models/social_expression.rb +25 -4
- data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +1 -1
- data/lib/purecloud/models/template.rb +1 -1
- data/lib/purecloud/models/text_table_transform_entity_listing.rb +1 -1
- data/lib/purecloud/models/ticker.rb +158 -0
- data/lib/purecloud/models/time_slot.rb +1 -0
- data/lib/purecloud/models/trunk_base.rb +1 -1
- data/lib/purecloud/models/vendor_connection_request.rb +166 -0
- data/lib/purecloud/models/video.rb +15 -4
- data/lib/purecloud/models/work_item_definition.rb +8 -10
- data/lib/purecloud/version.rb +1 -1
- data/ossindex.json +17 -0
- data/purecloud.gemspec +4 -3
- data/rakefile +3 -15
- data/spec/test.rb +6 -3
- data/swagger.json +1 -1
- data/swagger_template/api_client.mustache +304 -0
- data/swagger_template/base_object.mustache +90 -0
- data/{PureCloud.gemspec → swagger_template/gemspec.mustache} +12 -11
- data/version.json +1 -1
- metadata +76 -25
- data/lib/purecloud/api/analytics_api.rb +0 -1554
- data/lib/purecloud/api/orphaned_recordings_api.rb +0 -205
- data/newVersion.md +0 -1
@@ -12,8 +12,8 @@ module PureCloud
|
|
12
12
|
#
|
13
13
|
# @param [Hash] opts the optional parameters
|
14
14
|
# @return [OAuthProviderEntityListing]
|
15
|
-
def
|
16
|
-
data, status_code, headers =
|
15
|
+
def get_identityproviders(opts = {})
|
16
|
+
data, status_code, headers = get_identityproviders_with_http_info(opts)
|
17
17
|
return data
|
18
18
|
end
|
19
19
|
|
@@ -21,9 +21,9 @@ module PureCloud
|
|
21
21
|
#
|
22
22
|
# @param [Hash] opts the optional parameters
|
23
23
|
# @return [Array<(OAuthProviderEntityListing, Fixnum, Hash)>] OAuthProviderEntityListing data, response status code and response headers
|
24
|
-
def
|
24
|
+
def get_identityproviders_with_http_info(opts = {})
|
25
25
|
if @api_client.config.debugging
|
26
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
26
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#get_identityproviders ..."
|
27
27
|
end
|
28
28
|
|
29
29
|
# resource path
|
@@ -59,7 +59,7 @@ module PureCloud
|
|
59
59
|
:auth_names => auth_names,
|
60
60
|
:return_type => 'OAuthProviderEntityListing')
|
61
61
|
if @api_client.config.debugging
|
62
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
62
|
+
@api_client.config.logger.debug "API called: OAuthApi#get_identityproviders\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
63
63
|
end
|
64
64
|
return data, status_code, headers
|
65
65
|
end
|
@@ -125,8 +125,8 @@ module PureCloud
|
|
125
125
|
# @param [Hash] opts the optional parameters
|
126
126
|
# @option opts [Okta] :body Provider
|
127
127
|
# @return [nil]
|
128
|
-
def
|
129
|
-
|
128
|
+
def put_okta(opts = {})
|
129
|
+
put_okta_with_http_info(opts)
|
130
130
|
return nil
|
131
131
|
end
|
132
132
|
|
@@ -135,9 +135,9 @@ module PureCloud
|
|
135
135
|
# @param [Hash] opts the optional parameters
|
136
136
|
# @option opts [Okta] :body Provider
|
137
137
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
138
|
-
def
|
138
|
+
def put_okta_with_http_info(opts = {})
|
139
139
|
if @api_client.config.debugging
|
140
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
140
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#put_okta ..."
|
141
141
|
end
|
142
142
|
|
143
143
|
# resource path
|
@@ -172,7 +172,7 @@ module PureCloud
|
|
172
172
|
:body => post_body,
|
173
173
|
:auth_names => auth_names)
|
174
174
|
if @api_client.config.debugging
|
175
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
175
|
+
@api_client.config.logger.debug "API called: OAuthApi#put_okta\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
176
176
|
end
|
177
177
|
return data, status_code, headers
|
178
178
|
end
|
@@ -293,8 +293,8 @@ module PureCloud
|
|
293
293
|
# @param [Hash] opts the optional parameters
|
294
294
|
# @option opts [OneLogin] :body Provider
|
295
295
|
# @return [nil]
|
296
|
-
def
|
297
|
-
|
296
|
+
def put_onelogin(opts = {})
|
297
|
+
put_onelogin_with_http_info(opts)
|
298
298
|
return nil
|
299
299
|
end
|
300
300
|
|
@@ -303,9 +303,9 @@ module PureCloud
|
|
303
303
|
# @param [Hash] opts the optional parameters
|
304
304
|
# @option opts [OneLogin] :body Provider
|
305
305
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
306
|
-
def
|
306
|
+
def put_onelogin_with_http_info(opts = {})
|
307
307
|
if @api_client.config.debugging
|
308
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
308
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#put_onelogin ..."
|
309
309
|
end
|
310
310
|
|
311
311
|
# resource path
|
@@ -340,7 +340,7 @@ module PureCloud
|
|
340
340
|
:body => post_body,
|
341
341
|
:auth_names => auth_names)
|
342
342
|
if @api_client.config.debugging
|
343
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
343
|
+
@api_client.config.logger.debug "API called: OAuthApi#put_onelogin\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
344
344
|
end
|
345
345
|
return data, status_code, headers
|
346
346
|
end
|
@@ -461,8 +461,8 @@ module PureCloud
|
|
461
461
|
# @param [Hash] opts the optional parameters
|
462
462
|
# @option opts [PureCloud] :body Provider
|
463
463
|
# @return [nil]
|
464
|
-
def
|
465
|
-
|
464
|
+
def put_purecloud(opts = {})
|
465
|
+
put_purecloud_with_http_info(opts)
|
466
466
|
return nil
|
467
467
|
end
|
468
468
|
|
@@ -471,9 +471,9 @@ module PureCloud
|
|
471
471
|
# @param [Hash] opts the optional parameters
|
472
472
|
# @option opts [PureCloud] :body Provider
|
473
473
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
474
|
-
def
|
474
|
+
def put_purecloud_with_http_info(opts = {})
|
475
475
|
if @api_client.config.debugging
|
476
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
476
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#put_purecloud ..."
|
477
477
|
end
|
478
478
|
|
479
479
|
# resource path
|
@@ -508,7 +508,7 @@ module PureCloud
|
|
508
508
|
:body => post_body,
|
509
509
|
:auth_names => auth_names)
|
510
510
|
if @api_client.config.debugging
|
511
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
511
|
+
@api_client.config.logger.debug "API called: OAuthApi#put_purecloud\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
512
512
|
end
|
513
513
|
return data, status_code, headers
|
514
514
|
end
|
@@ -629,8 +629,8 @@ module PureCloud
|
|
629
629
|
# @param [Hash] opts the optional parameters
|
630
630
|
# @option opts [Salesforce] :body Provider
|
631
631
|
# @return [nil]
|
632
|
-
def
|
633
|
-
|
632
|
+
def put_salesforce(opts = {})
|
633
|
+
put_salesforce_with_http_info(opts)
|
634
634
|
return nil
|
635
635
|
end
|
636
636
|
|
@@ -639,9 +639,9 @@ module PureCloud
|
|
639
639
|
# @param [Hash] opts the optional parameters
|
640
640
|
# @option opts [Salesforce] :body Provider
|
641
641
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
642
|
-
def
|
642
|
+
def put_salesforce_with_http_info(opts = {})
|
643
643
|
if @api_client.config.debugging
|
644
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
644
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#put_salesforce ..."
|
645
645
|
end
|
646
646
|
|
647
647
|
# resource path
|
@@ -676,7 +676,7 @@ module PureCloud
|
|
676
676
|
:body => post_body,
|
677
677
|
:auth_names => auth_names)
|
678
678
|
if @api_client.config.debugging
|
679
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
679
|
+
@api_client.config.logger.debug "API called: OAuthApi#put_salesforce\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
680
680
|
end
|
681
681
|
return data, status_code, headers
|
682
682
|
end
|
@@ -740,8 +740,8 @@ module PureCloud
|
|
740
740
|
#
|
741
741
|
# @param [Hash] opts the optional parameters
|
742
742
|
# @return [OAuthProvider]
|
743
|
-
def
|
744
|
-
data, status_code, headers =
|
743
|
+
def get_provider_id(opts = {})
|
744
|
+
data, status_code, headers = get_provider_id_with_http_info(opts)
|
745
745
|
return data
|
746
746
|
end
|
747
747
|
|
@@ -749,9 +749,9 @@ module PureCloud
|
|
749
749
|
#
|
750
750
|
# @param [Hash] opts the optional parameters
|
751
751
|
# @return [Array<(OAuthProvider, Fixnum, Hash)>] OAuthProvider data, response status code and response headers
|
752
|
-
def
|
752
|
+
def get_provider_id_with_http_info(opts = {})
|
753
753
|
if @api_client.config.debugging
|
754
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
754
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#get_provider_id ..."
|
755
755
|
end
|
756
756
|
|
757
757
|
# resource path
|
@@ -787,7 +787,7 @@ module PureCloud
|
|
787
787
|
:auth_names => auth_names,
|
788
788
|
:return_type => 'OAuthProvider')
|
789
789
|
if @api_client.config.debugging
|
790
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
790
|
+
@api_client.config.logger.debug "API called: OAuthApi#get_provider_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
791
791
|
end
|
792
792
|
return data, status_code, headers
|
793
793
|
end
|
@@ -797,8 +797,8 @@ module PureCloud
|
|
797
797
|
# @param [Hash] opts the optional parameters
|
798
798
|
# @option opts [OAuthProvider] :body Provider
|
799
799
|
# @return [nil]
|
800
|
-
def
|
801
|
-
|
800
|
+
def put_provider_id(opts = {})
|
801
|
+
put_provider_id_with_http_info(opts)
|
802
802
|
return nil
|
803
803
|
end
|
804
804
|
|
@@ -807,9 +807,9 @@ module PureCloud
|
|
807
807
|
# @param [Hash] opts the optional parameters
|
808
808
|
# @option opts [OAuthProvider] :body Provider
|
809
809
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
810
|
-
def
|
810
|
+
def put_provider_id_with_http_info(opts = {})
|
811
811
|
if @api_client.config.debugging
|
812
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
812
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#put_provider_id ..."
|
813
813
|
end
|
814
814
|
|
815
815
|
# resource path
|
@@ -844,7 +844,7 @@ module PureCloud
|
|
844
844
|
:body => post_body,
|
845
845
|
:auth_names => auth_names)
|
846
846
|
if @api_client.config.debugging
|
847
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
847
|
+
@api_client.config.logger.debug "API called: OAuthApi#put_provider_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
848
848
|
end
|
849
849
|
return data, status_code, headers
|
850
850
|
end
|
@@ -853,8 +853,8 @@ module PureCloud
|
|
853
853
|
#
|
854
854
|
# @param [Hash] opts the optional parameters
|
855
855
|
# @return [nil]
|
856
|
-
def
|
857
|
-
|
856
|
+
def delete_provider_id(opts = {})
|
857
|
+
delete_provider_id_with_http_info(opts)
|
858
858
|
return nil
|
859
859
|
end
|
860
860
|
|
@@ -862,9 +862,9 @@ module PureCloud
|
|
862
862
|
#
|
863
863
|
# @param [Hash] opts the optional parameters
|
864
864
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
865
|
-
def
|
865
|
+
def delete_provider_id_with_http_info(opts = {})
|
866
866
|
if @api_client.config.debugging
|
867
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
867
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#delete_provider_id ..."
|
868
868
|
end
|
869
869
|
|
870
870
|
# resource path
|
@@ -899,7 +899,7 @@ module PureCloud
|
|
899
899
|
:body => post_body,
|
900
900
|
:auth_names => auth_names)
|
901
901
|
if @api_client.config.debugging
|
902
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
902
|
+
@api_client.config.logger.debug "API called: OAuthApi#delete_provider_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
903
903
|
end
|
904
904
|
return data, status_code, headers
|
905
905
|
end
|
@@ -965,8 +965,8 @@ module PureCloud
|
|
965
965
|
# @param [Hash] opts the optional parameters
|
966
966
|
# @option opts [OAuthClient] :body Client
|
967
967
|
# @return [OAuthClient]
|
968
|
-
def
|
969
|
-
data, status_code, headers =
|
968
|
+
def post_clients(opts = {})
|
969
|
+
data, status_code, headers = post_clients_with_http_info(opts)
|
970
970
|
return data
|
971
971
|
end
|
972
972
|
|
@@ -975,9 +975,9 @@ module PureCloud
|
|
975
975
|
# @param [Hash] opts the optional parameters
|
976
976
|
# @option opts [OAuthClient] :body Client
|
977
977
|
# @return [Array<(OAuthClient, Fixnum, Hash)>] OAuthClient data, response status code and response headers
|
978
|
-
def
|
978
|
+
def post_clients_with_http_info(opts = {})
|
979
979
|
if @api_client.config.debugging
|
980
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
980
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#post_clients ..."
|
981
981
|
end
|
982
982
|
|
983
983
|
# resource path
|
@@ -1013,7 +1013,7 @@ module PureCloud
|
|
1013
1013
|
:auth_names => auth_names,
|
1014
1014
|
:return_type => 'OAuthClient')
|
1015
1015
|
if @api_client.config.debugging
|
1016
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
1016
|
+
@api_client.config.logger.debug "API called: OAuthApi#post_clients\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1017
1017
|
end
|
1018
1018
|
return data, status_code, headers
|
1019
1019
|
end
|
@@ -1023,8 +1023,8 @@ module PureCloud
|
|
1023
1023
|
# @param client_id Client ID
|
1024
1024
|
# @param [Hash] opts the optional parameters
|
1025
1025
|
# @return [OAuthClient]
|
1026
|
-
def
|
1027
|
-
data, status_code, headers =
|
1026
|
+
def get_clients_client_id(client_id, opts = {})
|
1027
|
+
data, status_code, headers = get_clients_client_id_with_http_info(client_id, opts)
|
1028
1028
|
return data
|
1029
1029
|
end
|
1030
1030
|
|
@@ -1033,13 +1033,13 @@ module PureCloud
|
|
1033
1033
|
# @param client_id Client ID
|
1034
1034
|
# @param [Hash] opts the optional parameters
|
1035
1035
|
# @return [Array<(OAuthClient, Fixnum, Hash)>] OAuthClient data, response status code and response headers
|
1036
|
-
def
|
1036
|
+
def get_clients_client_id_with_http_info(client_id, opts = {})
|
1037
1037
|
if @api_client.config.debugging
|
1038
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
1038
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#get_clients_client_id ..."
|
1039
1039
|
end
|
1040
1040
|
|
1041
1041
|
# verify the required parameter 'client_id' is set
|
1042
|
-
fail "Missing the required parameter 'client_id' when calling
|
1042
|
+
fail "Missing the required parameter 'client_id' when calling get_clients_client_id" if client_id.nil?
|
1043
1043
|
|
1044
1044
|
# resource path
|
1045
1045
|
path = "/api/v1/oauth/clients/{clientId}".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s)
|
@@ -1074,7 +1074,7 @@ module PureCloud
|
|
1074
1074
|
:auth_names => auth_names,
|
1075
1075
|
:return_type => 'OAuthClient')
|
1076
1076
|
if @api_client.config.debugging
|
1077
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
1077
|
+
@api_client.config.logger.debug "API called: OAuthApi#get_clients_client_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1078
1078
|
end
|
1079
1079
|
return data, status_code, headers
|
1080
1080
|
end
|
@@ -1085,8 +1085,8 @@ module PureCloud
|
|
1085
1085
|
# @param [Hash] opts the optional parameters
|
1086
1086
|
# @option opts [OAuthClient] :body Client
|
1087
1087
|
# @return [OAuthClient]
|
1088
|
-
def
|
1089
|
-
data, status_code, headers =
|
1088
|
+
def put_clients_client_id(client_id, opts = {})
|
1089
|
+
data, status_code, headers = put_clients_client_id_with_http_info(client_id, opts)
|
1090
1090
|
return data
|
1091
1091
|
end
|
1092
1092
|
|
@@ -1096,13 +1096,13 @@ module PureCloud
|
|
1096
1096
|
# @param [Hash] opts the optional parameters
|
1097
1097
|
# @option opts [OAuthClient] :body Client
|
1098
1098
|
# @return [Array<(OAuthClient, Fixnum, Hash)>] OAuthClient data, response status code and response headers
|
1099
|
-
def
|
1099
|
+
def put_clients_client_id_with_http_info(client_id, opts = {})
|
1100
1100
|
if @api_client.config.debugging
|
1101
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
1101
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#put_clients_client_id ..."
|
1102
1102
|
end
|
1103
1103
|
|
1104
1104
|
# verify the required parameter 'client_id' is set
|
1105
|
-
fail "Missing the required parameter 'client_id' when calling
|
1105
|
+
fail "Missing the required parameter 'client_id' when calling put_clients_client_id" if client_id.nil?
|
1106
1106
|
|
1107
1107
|
# resource path
|
1108
1108
|
path = "/api/v1/oauth/clients/{clientId}".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s)
|
@@ -1137,7 +1137,7 @@ module PureCloud
|
|
1137
1137
|
:auth_names => auth_names,
|
1138
1138
|
:return_type => 'OAuthClient')
|
1139
1139
|
if @api_client.config.debugging
|
1140
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
1140
|
+
@api_client.config.logger.debug "API called: OAuthApi#put_clients_client_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1141
1141
|
end
|
1142
1142
|
return data, status_code, headers
|
1143
1143
|
end
|
@@ -1147,8 +1147,8 @@ module PureCloud
|
|
1147
1147
|
# @param client_id Client ID
|
1148
1148
|
# @param [Hash] opts the optional parameters
|
1149
1149
|
# @return [nil]
|
1150
|
-
def
|
1151
|
-
|
1150
|
+
def delete_clients_client_id(client_id, opts = {})
|
1151
|
+
delete_clients_client_id_with_http_info(client_id, opts)
|
1152
1152
|
return nil
|
1153
1153
|
end
|
1154
1154
|
|
@@ -1157,13 +1157,13 @@ module PureCloud
|
|
1157
1157
|
# @param client_id Client ID
|
1158
1158
|
# @param [Hash] opts the optional parameters
|
1159
1159
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1160
|
-
def
|
1160
|
+
def delete_clients_client_id_with_http_info(client_id, opts = {})
|
1161
1161
|
if @api_client.config.debugging
|
1162
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
1162
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#delete_clients_client_id ..."
|
1163
1163
|
end
|
1164
1164
|
|
1165
1165
|
# verify the required parameter 'client_id' is set
|
1166
|
-
fail "Missing the required parameter 'client_id' when calling
|
1166
|
+
fail "Missing the required parameter 'client_id' when calling delete_clients_client_id" if client_id.nil?
|
1167
1167
|
|
1168
1168
|
# resource path
|
1169
1169
|
path = "/api/v1/oauth/clients/{clientId}".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s)
|
@@ -1197,7 +1197,7 @@ module PureCloud
|
|
1197
1197
|
:body => post_body,
|
1198
1198
|
:auth_names => auth_names)
|
1199
1199
|
if @api_client.config.debugging
|
1200
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
1200
|
+
@api_client.config.logger.debug "API called: OAuthApi#delete_clients_client_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1201
1201
|
end
|
1202
1202
|
return data, status_code, headers
|
1203
1203
|
end
|
@@ -1207,8 +1207,8 @@ module PureCloud
|
|
1207
1207
|
# @param client_id Client ID
|
1208
1208
|
# @param [Hash] opts the optional parameters
|
1209
1209
|
# @return [nil]
|
1210
|
-
def
|
1211
|
-
|
1210
|
+
def post_clients_client_id_secret(client_id, opts = {})
|
1211
|
+
post_clients_client_id_secret_with_http_info(client_id, opts)
|
1212
1212
|
return nil
|
1213
1213
|
end
|
1214
1214
|
|
@@ -1217,13 +1217,13 @@ module PureCloud
|
|
1217
1217
|
# @param client_id Client ID
|
1218
1218
|
# @param [Hash] opts the optional parameters
|
1219
1219
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1220
|
-
def
|
1220
|
+
def post_clients_client_id_secret_with_http_info(client_id, opts = {})
|
1221
1221
|
if @api_client.config.debugging
|
1222
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
1222
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#post_clients_client_id_secret ..."
|
1223
1223
|
end
|
1224
1224
|
|
1225
1225
|
# verify the required parameter 'client_id' is set
|
1226
|
-
fail "Missing the required parameter 'client_id' when calling
|
1226
|
+
fail "Missing the required parameter 'client_id' when calling post_clients_client_id_secret" if client_id.nil?
|
1227
1227
|
|
1228
1228
|
# resource path
|
1229
1229
|
path = "/api/v1/oauth/clients/{clientId}/secret".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s)
|
@@ -1257,7 +1257,7 @@ module PureCloud
|
|
1257
1257
|
:body => post_body,
|
1258
1258
|
:auth_names => auth_names)
|
1259
1259
|
if @api_client.config.debugging
|
1260
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
1260
|
+
@api_client.config.logger.debug "API called: OAuthApi#post_clients_client_id_secret\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1261
1261
|
end
|
1262
1262
|
return data, status_code, headers
|
1263
1263
|
end
|
@@ -18,8 +18,8 @@ module PureCloud
|
|
18
18
|
# @option opts [String] :sort_order Sort order
|
19
19
|
# @option opts [BOOLEAN] :facets_only Facets only
|
20
20
|
# @return [AuditSearchResult]
|
21
|
-
def
|
22
|
-
data, status_code, headers =
|
21
|
+
def post_audits(opts = {})
|
22
|
+
data, status_code, headers = post_audits_with_http_info(opts)
|
23
23
|
return data
|
24
24
|
end
|
25
25
|
|
@@ -33,9 +33,9 @@ module PureCloud
|
|
33
33
|
# @option opts [String] :sort_order Sort order
|
34
34
|
# @option opts [BOOLEAN] :facets_only Facets only
|
35
35
|
# @return [Array<(AuditSearchResult, Fixnum, Hash)>] AuditSearchResult data, response status code and response headers
|
36
|
-
def
|
36
|
+
def post_audits_with_http_info(opts = {})
|
37
37
|
if @api_client.config.debugging
|
38
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
38
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_audits ..."
|
39
39
|
end
|
40
40
|
|
41
41
|
# resource path
|
@@ -76,7 +76,7 @@ module PureCloud
|
|
76
76
|
:auth_names => auth_names,
|
77
77
|
:return_type => 'AuditSearchResult')
|
78
78
|
if @api_client.config.debugging
|
79
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
79
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_audits\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
80
80
|
end
|
81
81
|
return data, status_code, headers
|
82
82
|
end
|
@@ -168,8 +168,8 @@ module PureCloud
|
|
168
168
|
# @param [Hash] opts the optional parameters
|
169
169
|
# @option opts [CallableTimeSet] :body DialerCallableTimeSet
|
170
170
|
# @return [CallableTimeSet]
|
171
|
-
def
|
172
|
-
data, status_code, headers =
|
171
|
+
def post_callabletimesets(opts = {})
|
172
|
+
data, status_code, headers = post_callabletimesets_with_http_info(opts)
|
173
173
|
return data
|
174
174
|
end
|
175
175
|
|
@@ -178,9 +178,9 @@ module PureCloud
|
|
178
178
|
# @param [Hash] opts the optional parameters
|
179
179
|
# @option opts [CallableTimeSet] :body DialerCallableTimeSet
|
180
180
|
# @return [Array<(CallableTimeSet, Fixnum, Hash)>] CallableTimeSet data, response status code and response headers
|
181
|
-
def
|
181
|
+
def post_callabletimesets_with_http_info(opts = {})
|
182
182
|
if @api_client.config.debugging
|
183
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
183
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_callabletimesets ..."
|
184
184
|
end
|
185
185
|
|
186
186
|
# resource path
|
@@ -216,7 +216,7 @@ module PureCloud
|
|
216
216
|
:auth_names => auth_names,
|
217
217
|
:return_type => 'CallableTimeSet')
|
218
218
|
if @api_client.config.debugging
|
219
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
219
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_callabletimesets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
220
220
|
end
|
221
221
|
return data, status_code, headers
|
222
222
|
end
|
@@ -226,8 +226,8 @@ module PureCloud
|
|
226
226
|
# @param callable_time_set_id Callable Time Set ID
|
227
227
|
# @param [Hash] opts the optional parameters
|
228
228
|
# @return [CallableTimeSet]
|
229
|
-
def
|
230
|
-
data, status_code, headers =
|
229
|
+
def get_callabletimesets_callabletimeset_id(callable_time_set_id, opts = {})
|
230
|
+
data, status_code, headers = get_callabletimesets_callabletimeset_id_with_http_info(callable_time_set_id, opts)
|
231
231
|
return data
|
232
232
|
end
|
233
233
|
|
@@ -236,13 +236,13 @@ module PureCloud
|
|
236
236
|
# @param callable_time_set_id Callable Time Set ID
|
237
237
|
# @param [Hash] opts the optional parameters
|
238
238
|
# @return [Array<(CallableTimeSet, Fixnum, Hash)>] CallableTimeSet data, response status code and response headers
|
239
|
-
def
|
239
|
+
def get_callabletimesets_callabletimeset_id_with_http_info(callable_time_set_id, opts = {})
|
240
240
|
if @api_client.config.debugging
|
241
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
241
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_callabletimesets_callabletimeset_id ..."
|
242
242
|
end
|
243
243
|
|
244
244
|
# verify the required parameter 'callable_time_set_id' is set
|
245
|
-
fail "Missing the required parameter 'callable_time_set_id' when calling
|
245
|
+
fail "Missing the required parameter 'callable_time_set_id' when calling get_callabletimesets_callabletimeset_id" if callable_time_set_id.nil?
|
246
246
|
|
247
247
|
# resource path
|
248
248
|
path = "/api/v1/outbound/callabletimesets/{callableTimeSetId}".sub('{format}','json').sub('{' + 'callableTimeSetId' + '}', callable_time_set_id.to_s)
|
@@ -277,7 +277,7 @@ module PureCloud
|
|
277
277
|
:auth_names => auth_names,
|
278
278
|
:return_type => 'CallableTimeSet')
|
279
279
|
if @api_client.config.debugging
|
280
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
280
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_callabletimesets_callabletimeset_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
281
281
|
end
|
282
282
|
return data, status_code, headers
|
283
283
|
end
|
@@ -288,8 +288,8 @@ module PureCloud
|
|
288
288
|
# @param [Hash] opts the optional parameters
|
289
289
|
# @option opts [CallableTimeSet] :body DialerCallableTimeSet
|
290
290
|
# @return [CallableTimeSet]
|
291
|
-
def
|
292
|
-
data, status_code, headers =
|
291
|
+
def put_callabletimesets_callabletimeset_id(callable_time_set_id, opts = {})
|
292
|
+
data, status_code, headers = put_callabletimesets_callabletimeset_id_with_http_info(callable_time_set_id, opts)
|
293
293
|
return data
|
294
294
|
end
|
295
295
|
|
@@ -299,13 +299,13 @@ module PureCloud
|
|
299
299
|
# @param [Hash] opts the optional parameters
|
300
300
|
# @option opts [CallableTimeSet] :body DialerCallableTimeSet
|
301
301
|
# @return [Array<(CallableTimeSet, Fixnum, Hash)>] CallableTimeSet data, response status code and response headers
|
302
|
-
def
|
302
|
+
def put_callabletimesets_callabletimeset_id_with_http_info(callable_time_set_id, opts = {})
|
303
303
|
if @api_client.config.debugging
|
304
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
304
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#put_callabletimesets_callabletimeset_id ..."
|
305
305
|
end
|
306
306
|
|
307
307
|
# verify the required parameter 'callable_time_set_id' is set
|
308
|
-
fail "Missing the required parameter 'callable_time_set_id' when calling
|
308
|
+
fail "Missing the required parameter 'callable_time_set_id' when calling put_callabletimesets_callabletimeset_id" if callable_time_set_id.nil?
|
309
309
|
|
310
310
|
# resource path
|
311
311
|
path = "/api/v1/outbound/callabletimesets/{callableTimeSetId}".sub('{format}','json').sub('{' + 'callableTimeSetId' + '}', callable_time_set_id.to_s)
|
@@ -340,7 +340,7 @@ module PureCloud
|
|
340
340
|
:auth_names => auth_names,
|
341
341
|
:return_type => 'CallableTimeSet')
|
342
342
|
if @api_client.config.debugging
|
343
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
343
|
+
@api_client.config.logger.debug "API called: OutboundApi#put_callabletimesets_callabletimeset_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
344
344
|
end
|
345
345
|
return data, status_code, headers
|
346
346
|
end
|
@@ -350,8 +350,8 @@ module PureCloud
|
|
350
350
|
# @param callable_time_set_id Callable Time Set ID
|
351
351
|
# @param [Hash] opts the optional parameters
|
352
352
|
# @return [String]
|
353
|
-
def
|
354
|
-
data, status_code, headers =
|
353
|
+
def delete_callabletimesets_callabletimeset_id(callable_time_set_id, opts = {})
|
354
|
+
data, status_code, headers = delete_callabletimesets_callabletimeset_id_with_http_info(callable_time_set_id, opts)
|
355
355
|
return data
|
356
356
|
end
|
357
357
|
|
@@ -360,13 +360,13 @@ module PureCloud
|
|
360
360
|
# @param callable_time_set_id Callable Time Set ID
|
361
361
|
# @param [Hash] opts the optional parameters
|
362
362
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
363
|
-
def
|
363
|
+
def delete_callabletimesets_callabletimeset_id_with_http_info(callable_time_set_id, opts = {})
|
364
364
|
if @api_client.config.debugging
|
365
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
365
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#delete_callabletimesets_callabletimeset_id ..."
|
366
366
|
end
|
367
367
|
|
368
368
|
# verify the required parameter 'callable_time_set_id' is set
|
369
|
-
fail "Missing the required parameter 'callable_time_set_id' when calling
|
369
|
+
fail "Missing the required parameter 'callable_time_set_id' when calling delete_callabletimesets_callabletimeset_id" if callable_time_set_id.nil?
|
370
370
|
|
371
371
|
# resource path
|
372
372
|
path = "/api/v1/outbound/callabletimesets/{callableTimeSetId}".sub('{format}','json').sub('{' + 'callableTimeSetId' + '}', callable_time_set_id.to_s)
|
@@ -401,7 +401,7 @@ module PureCloud
|
|
401
401
|
:auth_names => auth_names,
|
402
402
|
:return_type => 'String')
|
403
403
|
if @api_client.config.debugging
|
404
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
404
|
+
@api_client.config.logger.debug "API called: OutboundApi#delete_callabletimesets_callabletimeset_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
405
405
|
end
|
406
406
|
return data, status_code, headers
|
407
407
|
end
|
@@ -493,8 +493,8 @@ module PureCloud
|
|
493
493
|
# @param [Hash] opts the optional parameters
|
494
494
|
# @option opts [ResponseSet] :body ResponseSet
|
495
495
|
# @return [ResponseSet]
|
496
|
-
def
|
497
|
-
data, status_code, headers =
|
496
|
+
def post_callanalysisresponsesets(opts = {})
|
497
|
+
data, status_code, headers = post_callanalysisresponsesets_with_http_info(opts)
|
498
498
|
return data
|
499
499
|
end
|
500
500
|
|
@@ -503,9 +503,9 @@ module PureCloud
|
|
503
503
|
# @param [Hash] opts the optional parameters
|
504
504
|
# @option opts [ResponseSet] :body ResponseSet
|
505
505
|
# @return [Array<(ResponseSet, Fixnum, Hash)>] ResponseSet data, response status code and response headers
|
506
|
-
def
|
506
|
+
def post_callanalysisresponsesets_with_http_info(opts = {})
|
507
507
|
if @api_client.config.debugging
|
508
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
508
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_callanalysisresponsesets ..."
|
509
509
|
end
|
510
510
|
|
511
511
|
# resource path
|
@@ -541,7 +541,7 @@ module PureCloud
|
|
541
541
|
:auth_names => auth_names,
|
542
542
|
:return_type => 'ResponseSet')
|
543
543
|
if @api_client.config.debugging
|
544
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
544
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_callanalysisresponsesets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
545
545
|
end
|
546
546
|
return data, status_code, headers
|
547
547
|
end
|
@@ -551,8 +551,8 @@ module PureCloud
|
|
551
551
|
# @param call_analysis_set_id Call Analysis Response Set ID
|
552
552
|
# @param [Hash] opts the optional parameters
|
553
553
|
# @return [ResponseSet]
|
554
|
-
def
|
555
|
-
data, status_code, headers =
|
554
|
+
def get_callanalysisresponsesets_callanalysisset_id(call_analysis_set_id, opts = {})
|
555
|
+
data, status_code, headers = get_callanalysisresponsesets_callanalysisset_id_with_http_info(call_analysis_set_id, opts)
|
556
556
|
return data
|
557
557
|
end
|
558
558
|
|
@@ -561,13 +561,13 @@ module PureCloud
|
|
561
561
|
# @param call_analysis_set_id Call Analysis Response Set ID
|
562
562
|
# @param [Hash] opts the optional parameters
|
563
563
|
# @return [Array<(ResponseSet, Fixnum, Hash)>] ResponseSet data, response status code and response headers
|
564
|
-
def
|
564
|
+
def get_callanalysisresponsesets_callanalysisset_id_with_http_info(call_analysis_set_id, opts = {})
|
565
565
|
if @api_client.config.debugging
|
566
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
566
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_callanalysisresponsesets_callanalysisset_id ..."
|
567
567
|
end
|
568
568
|
|
569
569
|
# verify the required parameter 'call_analysis_set_id' is set
|
570
|
-
fail "Missing the required parameter 'call_analysis_set_id' when calling
|
570
|
+
fail "Missing the required parameter 'call_analysis_set_id' when calling get_callanalysisresponsesets_callanalysisset_id" if call_analysis_set_id.nil?
|
571
571
|
|
572
572
|
# resource path
|
573
573
|
path = "/api/v1/outbound/callanalysisresponsesets/{callAnalysisSetId}".sub('{format}','json').sub('{' + 'callAnalysisSetId' + '}', call_analysis_set_id.to_s)
|
@@ -602,7 +602,7 @@ module PureCloud
|
|
602
602
|
:auth_names => auth_names,
|
603
603
|
:return_type => 'ResponseSet')
|
604
604
|
if @api_client.config.debugging
|
605
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
605
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_callanalysisresponsesets_callanalysisset_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
606
606
|
end
|
607
607
|
return data, status_code, headers
|
608
608
|
end
|
@@ -613,8 +613,8 @@ module PureCloud
|
|
613
613
|
# @param [Hash] opts the optional parameters
|
614
614
|
# @option opts [ResponseSet] :body ResponseSet
|
615
615
|
# @return [ResponseSet]
|
616
|
-
def
|
617
|
-
data, status_code, headers =
|
616
|
+
def put_callanalysisresponsesets_callanalysisset_id(call_analysis_set_id, opts = {})
|
617
|
+
data, status_code, headers = put_callanalysisresponsesets_callanalysisset_id_with_http_info(call_analysis_set_id, opts)
|
618
618
|
return data
|
619
619
|
end
|
620
620
|
|
@@ -624,13 +624,13 @@ module PureCloud
|
|
624
624
|
# @param [Hash] opts the optional parameters
|
625
625
|
# @option opts [ResponseSet] :body ResponseSet
|
626
626
|
# @return [Array<(ResponseSet, Fixnum, Hash)>] ResponseSet data, response status code and response headers
|
627
|
-
def
|
627
|
+
def put_callanalysisresponsesets_callanalysisset_id_with_http_info(call_analysis_set_id, opts = {})
|
628
628
|
if @api_client.config.debugging
|
629
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
629
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#put_callanalysisresponsesets_callanalysisset_id ..."
|
630
630
|
end
|
631
631
|
|
632
632
|
# verify the required parameter 'call_analysis_set_id' is set
|
633
|
-
fail "Missing the required parameter 'call_analysis_set_id' when calling
|
633
|
+
fail "Missing the required parameter 'call_analysis_set_id' when calling put_callanalysisresponsesets_callanalysisset_id" if call_analysis_set_id.nil?
|
634
634
|
|
635
635
|
# resource path
|
636
636
|
path = "/api/v1/outbound/callanalysisresponsesets/{callAnalysisSetId}".sub('{format}','json').sub('{' + 'callAnalysisSetId' + '}', call_analysis_set_id.to_s)
|
@@ -665,7 +665,7 @@ module PureCloud
|
|
665
665
|
:auth_names => auth_names,
|
666
666
|
:return_type => 'ResponseSet')
|
667
667
|
if @api_client.config.debugging
|
668
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
668
|
+
@api_client.config.logger.debug "API called: OutboundApi#put_callanalysisresponsesets_callanalysisset_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
669
669
|
end
|
670
670
|
return data, status_code, headers
|
671
671
|
end
|
@@ -675,8 +675,8 @@ module PureCloud
|
|
675
675
|
# @param call_analysis_set_id Call Analysis Response Set ID
|
676
676
|
# @param [Hash] opts the optional parameters
|
677
677
|
# @return [String]
|
678
|
-
def
|
679
|
-
data, status_code, headers =
|
678
|
+
def delete_callanalysisresponsesets_callanalysisset_id(call_analysis_set_id, opts = {})
|
679
|
+
data, status_code, headers = delete_callanalysisresponsesets_callanalysisset_id_with_http_info(call_analysis_set_id, opts)
|
680
680
|
return data
|
681
681
|
end
|
682
682
|
|
@@ -685,13 +685,13 @@ module PureCloud
|
|
685
685
|
# @param call_analysis_set_id Call Analysis Response Set ID
|
686
686
|
# @param [Hash] opts the optional parameters
|
687
687
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
688
|
-
def
|
688
|
+
def delete_callanalysisresponsesets_callanalysisset_id_with_http_info(call_analysis_set_id, opts = {})
|
689
689
|
if @api_client.config.debugging
|
690
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
690
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#delete_callanalysisresponsesets_callanalysisset_id ..."
|
691
691
|
end
|
692
692
|
|
693
693
|
# verify the required parameter 'call_analysis_set_id' is set
|
694
|
-
fail "Missing the required parameter 'call_analysis_set_id' when calling
|
694
|
+
fail "Missing the required parameter 'call_analysis_set_id' when calling delete_callanalysisresponsesets_callanalysisset_id" if call_analysis_set_id.nil?
|
695
695
|
|
696
696
|
# resource path
|
697
697
|
path = "/api/v1/outbound/callanalysisresponsesets/{callAnalysisSetId}".sub('{format}','json').sub('{' + 'callAnalysisSetId' + '}', call_analysis_set_id.to_s)
|
@@ -726,7 +726,7 @@ module PureCloud
|
|
726
726
|
:auth_names => auth_names,
|
727
727
|
:return_type => 'String')
|
728
728
|
if @api_client.config.debugging
|
729
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
729
|
+
@api_client.config.logger.debug "API called: OutboundApi#delete_callanalysisresponsesets_callanalysisset_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
730
730
|
end
|
731
731
|
return data, status_code, headers
|
732
732
|
end
|
@@ -833,8 +833,8 @@ module PureCloud
|
|
833
833
|
# @param [Hash] opts the optional parameters
|
834
834
|
# @option opts [Campaign] :body Campaign
|
835
835
|
# @return [Campaign]
|
836
|
-
def
|
837
|
-
data, status_code, headers =
|
836
|
+
def post_campaigns(opts = {})
|
837
|
+
data, status_code, headers = post_campaigns_with_http_info(opts)
|
838
838
|
return data
|
839
839
|
end
|
840
840
|
|
@@ -843,9 +843,9 @@ module PureCloud
|
|
843
843
|
# @param [Hash] opts the optional parameters
|
844
844
|
# @option opts [Campaign] :body Campaign
|
845
845
|
# @return [Array<(Campaign, Fixnum, Hash)>] Campaign data, response status code and response headers
|
846
|
-
def
|
846
|
+
def post_campaigns_with_http_info(opts = {})
|
847
847
|
if @api_client.config.debugging
|
848
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
848
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_campaigns ..."
|
849
849
|
end
|
850
850
|
|
851
851
|
# resource path
|
@@ -881,7 +881,65 @@ module PureCloud
|
|
881
881
|
:auth_names => auth_names,
|
882
882
|
:return_type => 'Campaign')
|
883
883
|
if @api_client.config.debugging
|
884
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
884
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_campaigns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
885
|
+
end
|
886
|
+
return data, status_code, headers
|
887
|
+
end
|
888
|
+
|
889
|
+
# Get progress for a list of campaigns
|
890
|
+
#
|
891
|
+
# @param [Hash] opts the optional parameters
|
892
|
+
# @option opts [Array<String>] :body Campaign IDs
|
893
|
+
# @return [Array<CampaignProgress>]
|
894
|
+
def post_campaigns_progress(opts = {})
|
895
|
+
data, status_code, headers = post_campaigns_progress_with_http_info(opts)
|
896
|
+
return data
|
897
|
+
end
|
898
|
+
|
899
|
+
# Get progress for a list of campaigns
|
900
|
+
#
|
901
|
+
# @param [Hash] opts the optional parameters
|
902
|
+
# @option opts [Array<String>] :body Campaign IDs
|
903
|
+
# @return [Array<(Array<CampaignProgress>, Fixnum, Hash)>] Array<CampaignProgress> data, response status code and response headers
|
904
|
+
def post_campaigns_progress_with_http_info(opts = {})
|
905
|
+
if @api_client.config.debugging
|
906
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_campaigns_progress ..."
|
907
|
+
end
|
908
|
+
|
909
|
+
# resource path
|
910
|
+
path = "/api/v1/outbound/campaigns/progress".sub('{format}','json')
|
911
|
+
|
912
|
+
# query parameters
|
913
|
+
query_params = {}
|
914
|
+
|
915
|
+
# header parameters
|
916
|
+
header_params = {}
|
917
|
+
|
918
|
+
# HTTP header 'Accept' (if needed)
|
919
|
+
_header_accept = ['application/json']
|
920
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
921
|
+
|
922
|
+
# HTTP header 'Content-Type'
|
923
|
+
_header_content_type = ['application/json']
|
924
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
925
|
+
|
926
|
+
# form parameters
|
927
|
+
form_params = {}
|
928
|
+
|
929
|
+
# http body (model)
|
930
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
931
|
+
|
932
|
+
|
933
|
+
auth_names = ['PureCloud Auth']
|
934
|
+
data, status_code, headers = @api_client.call_api(:POST, path,
|
935
|
+
:header_params => header_params,
|
936
|
+
:query_params => query_params,
|
937
|
+
:form_params => form_params,
|
938
|
+
:body => post_body,
|
939
|
+
:auth_names => auth_names,
|
940
|
+
:return_type => 'Array<CampaignProgress>')
|
941
|
+
if @api_client.config.debugging
|
942
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_campaigns_progress\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
885
943
|
end
|
886
944
|
return data, status_code, headers
|
887
945
|
end
|
@@ -891,8 +949,8 @@ module PureCloud
|
|
891
949
|
# @param campaign_id Campaign ID
|
892
950
|
# @param [Hash] opts the optional parameters
|
893
951
|
# @return [Campaign]
|
894
|
-
def
|
895
|
-
data, status_code, headers =
|
952
|
+
def get_campaigns_campaign_id(campaign_id, opts = {})
|
953
|
+
data, status_code, headers = get_campaigns_campaign_id_with_http_info(campaign_id, opts)
|
896
954
|
return data
|
897
955
|
end
|
898
956
|
|
@@ -901,13 +959,13 @@ module PureCloud
|
|
901
959
|
# @param campaign_id Campaign ID
|
902
960
|
# @param [Hash] opts the optional parameters
|
903
961
|
# @return [Array<(Campaign, Fixnum, Hash)>] Campaign data, response status code and response headers
|
904
|
-
def
|
962
|
+
def get_campaigns_campaign_id_with_http_info(campaign_id, opts = {})
|
905
963
|
if @api_client.config.debugging
|
906
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
964
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_campaigns_campaign_id ..."
|
907
965
|
end
|
908
966
|
|
909
967
|
# verify the required parameter 'campaign_id' is set
|
910
|
-
fail "Missing the required parameter 'campaign_id' when calling
|
968
|
+
fail "Missing the required parameter 'campaign_id' when calling get_campaigns_campaign_id" if campaign_id.nil?
|
911
969
|
|
912
970
|
# resource path
|
913
971
|
path = "/api/v1/outbound/campaigns/{campaignId}".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
|
@@ -942,7 +1000,7 @@ module PureCloud
|
|
942
1000
|
:auth_names => auth_names,
|
943
1001
|
:return_type => 'Campaign')
|
944
1002
|
if @api_client.config.debugging
|
945
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1003
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_campaigns_campaign_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
946
1004
|
end
|
947
1005
|
return data, status_code, headers
|
948
1006
|
end
|
@@ -953,8 +1011,8 @@ module PureCloud
|
|
953
1011
|
# @param [Hash] opts the optional parameters
|
954
1012
|
# @option opts [Campaign] :body Campaign
|
955
1013
|
# @return [Campaign]
|
956
|
-
def
|
957
|
-
data, status_code, headers =
|
1014
|
+
def put_campaigns_campaign_id(campaign_id, opts = {})
|
1015
|
+
data, status_code, headers = put_campaigns_campaign_id_with_http_info(campaign_id, opts)
|
958
1016
|
return data
|
959
1017
|
end
|
960
1018
|
|
@@ -964,13 +1022,13 @@ module PureCloud
|
|
964
1022
|
# @param [Hash] opts the optional parameters
|
965
1023
|
# @option opts [Campaign] :body Campaign
|
966
1024
|
# @return [Array<(Campaign, Fixnum, Hash)>] Campaign data, response status code and response headers
|
967
|
-
def
|
1025
|
+
def put_campaigns_campaign_id_with_http_info(campaign_id, opts = {})
|
968
1026
|
if @api_client.config.debugging
|
969
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1027
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#put_campaigns_campaign_id ..."
|
970
1028
|
end
|
971
1029
|
|
972
1030
|
# verify the required parameter 'campaign_id' is set
|
973
|
-
fail "Missing the required parameter 'campaign_id' when calling
|
1031
|
+
fail "Missing the required parameter 'campaign_id' when calling put_campaigns_campaign_id" if campaign_id.nil?
|
974
1032
|
|
975
1033
|
# resource path
|
976
1034
|
path = "/api/v1/outbound/campaigns/{campaignId}".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
|
@@ -1005,7 +1063,7 @@ module PureCloud
|
|
1005
1063
|
:auth_names => auth_names,
|
1006
1064
|
:return_type => 'Campaign')
|
1007
1065
|
if @api_client.config.debugging
|
1008
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1066
|
+
@api_client.config.logger.debug "API called: OutboundApi#put_campaigns_campaign_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1009
1067
|
end
|
1010
1068
|
return data, status_code, headers
|
1011
1069
|
end
|
@@ -1015,8 +1073,8 @@ module PureCloud
|
|
1015
1073
|
# @param campaign_id Campaign ID
|
1016
1074
|
# @param [Hash] opts the optional parameters
|
1017
1075
|
# @return [String]
|
1018
|
-
def
|
1019
|
-
data, status_code, headers =
|
1076
|
+
def delete_campaigns_campaign_id(campaign_id, opts = {})
|
1077
|
+
data, status_code, headers = delete_campaigns_campaign_id_with_http_info(campaign_id, opts)
|
1020
1078
|
return data
|
1021
1079
|
end
|
1022
1080
|
|
@@ -1025,13 +1083,13 @@ module PureCloud
|
|
1025
1083
|
# @param campaign_id Campaign ID
|
1026
1084
|
# @param [Hash] opts the optional parameters
|
1027
1085
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1028
|
-
def
|
1086
|
+
def delete_campaigns_campaign_id_with_http_info(campaign_id, opts = {})
|
1029
1087
|
if @api_client.config.debugging
|
1030
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1088
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#delete_campaigns_campaign_id ..."
|
1031
1089
|
end
|
1032
1090
|
|
1033
1091
|
# verify the required parameter 'campaign_id' is set
|
1034
|
-
fail "Missing the required parameter 'campaign_id' when calling
|
1092
|
+
fail "Missing the required parameter 'campaign_id' when calling delete_campaigns_campaign_id" if campaign_id.nil?
|
1035
1093
|
|
1036
1094
|
# resource path
|
1037
1095
|
path = "/api/v1/outbound/campaigns/{campaignId}".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
|
@@ -1066,7 +1124,7 @@ module PureCloud
|
|
1066
1124
|
:auth_names => auth_names,
|
1067
1125
|
:return_type => 'String')
|
1068
1126
|
if @api_client.config.debugging
|
1069
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1127
|
+
@api_client.config.logger.debug "API called: OutboundApi#delete_campaigns_campaign_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1070
1128
|
end
|
1071
1129
|
return data, status_code, headers
|
1072
1130
|
end
|
@@ -1078,8 +1136,8 @@ module PureCloud
|
|
1078
1136
|
# @param [Hash] opts the optional parameters
|
1079
1137
|
# @option opts [Agent] :body agent
|
1080
1138
|
# @return [String]
|
1081
|
-
def
|
1082
|
-
data, status_code, headers =
|
1139
|
+
def put_campaigns_campaign_id_agents_user_id(campaign_id, user_id, opts = {})
|
1140
|
+
data, status_code, headers = put_campaigns_campaign_id_agents_user_id_with_http_info(campaign_id, user_id, opts)
|
1083
1141
|
return data
|
1084
1142
|
end
|
1085
1143
|
|
@@ -1090,16 +1148,16 @@ module PureCloud
|
|
1090
1148
|
# @param [Hash] opts the optional parameters
|
1091
1149
|
# @option opts [Agent] :body agent
|
1092
1150
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1093
|
-
def
|
1151
|
+
def put_campaigns_campaign_id_agents_user_id_with_http_info(campaign_id, user_id, opts = {})
|
1094
1152
|
if @api_client.config.debugging
|
1095
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1153
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#put_campaigns_campaign_id_agents_user_id ..."
|
1096
1154
|
end
|
1097
1155
|
|
1098
1156
|
# verify the required parameter 'campaign_id' is set
|
1099
|
-
fail "Missing the required parameter 'campaign_id' when calling
|
1157
|
+
fail "Missing the required parameter 'campaign_id' when calling put_campaigns_campaign_id_agents_user_id" if campaign_id.nil?
|
1100
1158
|
|
1101
1159
|
# verify the required parameter 'user_id' is set
|
1102
|
-
fail "Missing the required parameter 'user_id' when calling
|
1160
|
+
fail "Missing the required parameter 'user_id' when calling put_campaigns_campaign_id_agents_user_id" if user_id.nil?
|
1103
1161
|
|
1104
1162
|
# resource path
|
1105
1163
|
path = "/api/v1/outbound/campaigns/{campaignId}/agents/{userId}".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
|
@@ -1134,7 +1192,7 @@ module PureCloud
|
|
1134
1192
|
:auth_names => auth_names,
|
1135
1193
|
:return_type => 'String')
|
1136
1194
|
if @api_client.config.debugging
|
1137
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1195
|
+
@api_client.config.logger.debug "API called: OutboundApi#put_campaigns_campaign_id_agents_user_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1138
1196
|
end
|
1139
1197
|
return data, status_code, headers
|
1140
1198
|
end
|
@@ -1145,8 +1203,8 @@ module PureCloud
|
|
1145
1203
|
# @param [Hash] opts the optional parameters
|
1146
1204
|
# @option opts [ContactCallbackRequest] :body ContactCallbackRequest
|
1147
1205
|
# @return [ContactCallbackRequest]
|
1148
|
-
def
|
1149
|
-
data, status_code, headers =
|
1206
|
+
def post_campaigns_campaign_id_callback_schedule(campaign_id, opts = {})
|
1207
|
+
data, status_code, headers = post_campaigns_campaign_id_callback_schedule_with_http_info(campaign_id, opts)
|
1150
1208
|
return data
|
1151
1209
|
end
|
1152
1210
|
|
@@ -1156,13 +1214,13 @@ module PureCloud
|
|
1156
1214
|
# @param [Hash] opts the optional parameters
|
1157
1215
|
# @option opts [ContactCallbackRequest] :body ContactCallbackRequest
|
1158
1216
|
# @return [Array<(ContactCallbackRequest, Fixnum, Hash)>] ContactCallbackRequest data, response status code and response headers
|
1159
|
-
def
|
1217
|
+
def post_campaigns_campaign_id_callback_schedule_with_http_info(campaign_id, opts = {})
|
1160
1218
|
if @api_client.config.debugging
|
1161
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1219
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_campaigns_campaign_id_callback_schedule ..."
|
1162
1220
|
end
|
1163
1221
|
|
1164
1222
|
# verify the required parameter 'campaign_id' is set
|
1165
|
-
fail "Missing the required parameter 'campaign_id' when calling
|
1223
|
+
fail "Missing the required parameter 'campaign_id' when calling post_campaigns_campaign_id_callback_schedule" if campaign_id.nil?
|
1166
1224
|
|
1167
1225
|
# resource path
|
1168
1226
|
path = "/api/v1/outbound/campaigns/{campaignId}/callback/schedule".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
|
@@ -1197,7 +1255,7 @@ module PureCloud
|
|
1197
1255
|
:auth_names => auth_names,
|
1198
1256
|
:return_type => 'ContactCallbackRequest')
|
1199
1257
|
if @api_client.config.debugging
|
1200
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1258
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_campaigns_campaign_id_callback_schedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1201
1259
|
end
|
1202
1260
|
return data, status_code, headers
|
1203
1261
|
end
|
@@ -1207,8 +1265,8 @@ module PureCloud
|
|
1207
1265
|
# @param campaign_id Campaign ID
|
1208
1266
|
# @param [Hash] opts the optional parameters
|
1209
1267
|
# @return [CampaignDiagnostics]
|
1210
|
-
def
|
1211
|
-
data, status_code, headers =
|
1268
|
+
def get_campaigns_campaign_id_diagnostics(campaign_id, opts = {})
|
1269
|
+
data, status_code, headers = get_campaigns_campaign_id_diagnostics_with_http_info(campaign_id, opts)
|
1212
1270
|
return data
|
1213
1271
|
end
|
1214
1272
|
|
@@ -1217,13 +1275,13 @@ module PureCloud
|
|
1217
1275
|
# @param campaign_id Campaign ID
|
1218
1276
|
# @param [Hash] opts the optional parameters
|
1219
1277
|
# @return [Array<(CampaignDiagnostics, Fixnum, Hash)>] CampaignDiagnostics data, response status code and response headers
|
1220
|
-
def
|
1278
|
+
def get_campaigns_campaign_id_diagnostics_with_http_info(campaign_id, opts = {})
|
1221
1279
|
if @api_client.config.debugging
|
1222
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1280
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_campaigns_campaign_id_diagnostics ..."
|
1223
1281
|
end
|
1224
1282
|
|
1225
1283
|
# verify the required parameter 'campaign_id' is set
|
1226
|
-
fail "Missing the required parameter 'campaign_id' when calling
|
1284
|
+
fail "Missing the required parameter 'campaign_id' when calling get_campaigns_campaign_id_diagnostics" if campaign_id.nil?
|
1227
1285
|
|
1228
1286
|
# resource path
|
1229
1287
|
path = "/api/v1/outbound/campaigns/{campaignId}/diagnostics".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
|
@@ -1258,7 +1316,129 @@ module PureCloud
|
|
1258
1316
|
:auth_names => auth_names,
|
1259
1317
|
:return_type => 'CampaignDiagnostics')
|
1260
1318
|
if @api_client.config.debugging
|
1261
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1319
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_campaigns_campaign_id_diagnostics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1320
|
+
end
|
1321
|
+
return data, status_code, headers
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
# Get campaign progress
|
1325
|
+
#
|
1326
|
+
# @param campaign_id Campaign ID
|
1327
|
+
# @param [Hash] opts the optional parameters
|
1328
|
+
# @return [CampaignProgress]
|
1329
|
+
def get_campaigns_campaign_id_progress(campaign_id, opts = {})
|
1330
|
+
data, status_code, headers = get_campaigns_campaign_id_progress_with_http_info(campaign_id, opts)
|
1331
|
+
return data
|
1332
|
+
end
|
1333
|
+
|
1334
|
+
# Get campaign progress
|
1335
|
+
#
|
1336
|
+
# @param campaign_id Campaign ID
|
1337
|
+
# @param [Hash] opts the optional parameters
|
1338
|
+
# @return [Array<(CampaignProgress, Fixnum, Hash)>] CampaignProgress data, response status code and response headers
|
1339
|
+
def get_campaigns_campaign_id_progress_with_http_info(campaign_id, opts = {})
|
1340
|
+
if @api_client.config.debugging
|
1341
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_campaigns_campaign_id_progress ..."
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
# verify the required parameter 'campaign_id' is set
|
1345
|
+
fail "Missing the required parameter 'campaign_id' when calling get_campaigns_campaign_id_progress" if campaign_id.nil?
|
1346
|
+
|
1347
|
+
# resource path
|
1348
|
+
path = "/api/v1/outbound/campaigns/{campaignId}/progress".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
|
1349
|
+
|
1350
|
+
# query parameters
|
1351
|
+
query_params = {}
|
1352
|
+
|
1353
|
+
# header parameters
|
1354
|
+
header_params = {}
|
1355
|
+
|
1356
|
+
# HTTP header 'Accept' (if needed)
|
1357
|
+
_header_accept = ['application/json']
|
1358
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
1359
|
+
|
1360
|
+
# HTTP header 'Content-Type'
|
1361
|
+
_header_content_type = ['application/json']
|
1362
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
1363
|
+
|
1364
|
+
# form parameters
|
1365
|
+
form_params = {}
|
1366
|
+
|
1367
|
+
# http body (model)
|
1368
|
+
post_body = nil
|
1369
|
+
|
1370
|
+
|
1371
|
+
auth_names = ['PureCloud Auth']
|
1372
|
+
data, status_code, headers = @api_client.call_api(:GET, path,
|
1373
|
+
:header_params => header_params,
|
1374
|
+
:query_params => query_params,
|
1375
|
+
:form_params => form_params,
|
1376
|
+
:body => post_body,
|
1377
|
+
:auth_names => auth_names,
|
1378
|
+
:return_type => 'CampaignProgress')
|
1379
|
+
if @api_client.config.debugging
|
1380
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_campaigns_campaign_id_progress\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1381
|
+
end
|
1382
|
+
return data, status_code, headers
|
1383
|
+
end
|
1384
|
+
|
1385
|
+
# Reset campaign progress and recycle the campaign
|
1386
|
+
#
|
1387
|
+
# @param campaign_id Campaign ID
|
1388
|
+
# @param [Hash] opts the optional parameters
|
1389
|
+
# @return [String]
|
1390
|
+
def delete_campaigns_campaign_id_progress(campaign_id, opts = {})
|
1391
|
+
data, status_code, headers = delete_campaigns_campaign_id_progress_with_http_info(campaign_id, opts)
|
1392
|
+
return data
|
1393
|
+
end
|
1394
|
+
|
1395
|
+
# Reset campaign progress and recycle the campaign
|
1396
|
+
#
|
1397
|
+
# @param campaign_id Campaign ID
|
1398
|
+
# @param [Hash] opts the optional parameters
|
1399
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1400
|
+
def delete_campaigns_campaign_id_progress_with_http_info(campaign_id, opts = {})
|
1401
|
+
if @api_client.config.debugging
|
1402
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#delete_campaigns_campaign_id_progress ..."
|
1403
|
+
end
|
1404
|
+
|
1405
|
+
# verify the required parameter 'campaign_id' is set
|
1406
|
+
fail "Missing the required parameter 'campaign_id' when calling delete_campaigns_campaign_id_progress" if campaign_id.nil?
|
1407
|
+
|
1408
|
+
# resource path
|
1409
|
+
path = "/api/v1/outbound/campaigns/{campaignId}/progress".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
|
1410
|
+
|
1411
|
+
# query parameters
|
1412
|
+
query_params = {}
|
1413
|
+
|
1414
|
+
# header parameters
|
1415
|
+
header_params = {}
|
1416
|
+
|
1417
|
+
# HTTP header 'Accept' (if needed)
|
1418
|
+
_header_accept = ['application/json']
|
1419
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
1420
|
+
|
1421
|
+
# HTTP header 'Content-Type'
|
1422
|
+
_header_content_type = ['application/json']
|
1423
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
1424
|
+
|
1425
|
+
# form parameters
|
1426
|
+
form_params = {}
|
1427
|
+
|
1428
|
+
# http body (model)
|
1429
|
+
post_body = nil
|
1430
|
+
|
1431
|
+
|
1432
|
+
auth_names = ['PureCloud Auth']
|
1433
|
+
data, status_code, headers = @api_client.call_api(:DELETE, path,
|
1434
|
+
:header_params => header_params,
|
1435
|
+
:query_params => query_params,
|
1436
|
+
:form_params => form_params,
|
1437
|
+
:body => post_body,
|
1438
|
+
:auth_names => auth_names,
|
1439
|
+
:return_type => 'String')
|
1440
|
+
if @api_client.config.debugging
|
1441
|
+
@api_client.config.logger.debug "API called: OutboundApi#delete_campaigns_campaign_id_progress\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1262
1442
|
end
|
1263
1443
|
return data, status_code, headers
|
1264
1444
|
end
|
@@ -1268,8 +1448,8 @@ module PureCloud
|
|
1268
1448
|
# @param campaign_id Campaign ID
|
1269
1449
|
# @param [Hash] opts the optional parameters
|
1270
1450
|
# @return [CampaignStats]
|
1271
|
-
def
|
1272
|
-
data, status_code, headers =
|
1451
|
+
def get_campaigns_campaign_id_stats(campaign_id, opts = {})
|
1452
|
+
data, status_code, headers = get_campaigns_campaign_id_stats_with_http_info(campaign_id, opts)
|
1273
1453
|
return data
|
1274
1454
|
end
|
1275
1455
|
|
@@ -1278,13 +1458,13 @@ module PureCloud
|
|
1278
1458
|
# @param campaign_id Campaign ID
|
1279
1459
|
# @param [Hash] opts the optional parameters
|
1280
1460
|
# @return [Array<(CampaignStats, Fixnum, Hash)>] CampaignStats data, response status code and response headers
|
1281
|
-
def
|
1461
|
+
def get_campaigns_campaign_id_stats_with_http_info(campaign_id, opts = {})
|
1282
1462
|
if @api_client.config.debugging
|
1283
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1463
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_campaigns_campaign_id_stats ..."
|
1284
1464
|
end
|
1285
1465
|
|
1286
1466
|
# verify the required parameter 'campaign_id' is set
|
1287
|
-
fail "Missing the required parameter 'campaign_id' when calling
|
1467
|
+
fail "Missing the required parameter 'campaign_id' when calling get_campaigns_campaign_id_stats" if campaign_id.nil?
|
1288
1468
|
|
1289
1469
|
# resource path
|
1290
1470
|
path = "/api/v1/outbound/campaigns/{campaignId}/stats".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
|
@@ -1319,7 +1499,7 @@ module PureCloud
|
|
1319
1499
|
:auth_names => auth_names,
|
1320
1500
|
:return_type => 'CampaignStats')
|
1321
1501
|
if @api_client.config.debugging
|
1322
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1502
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_campaigns_campaign_id_stats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1323
1503
|
end
|
1324
1504
|
return data, status_code, headers
|
1325
1505
|
end
|
@@ -1420,8 +1600,8 @@ module PureCloud
|
|
1420
1600
|
# @param [Hash] opts the optional parameters
|
1421
1601
|
# @option opts [ContactList] :body ContactList
|
1422
1602
|
# @return [ContactList]
|
1423
|
-
def
|
1424
|
-
data, status_code, headers =
|
1603
|
+
def post_contactlists(opts = {})
|
1604
|
+
data, status_code, headers = post_contactlists_with_http_info(opts)
|
1425
1605
|
return data
|
1426
1606
|
end
|
1427
1607
|
|
@@ -1430,9 +1610,9 @@ module PureCloud
|
|
1430
1610
|
# @param [Hash] opts the optional parameters
|
1431
1611
|
# @option opts [ContactList] :body ContactList
|
1432
1612
|
# @return [Array<(ContactList, Fixnum, Hash)>] ContactList data, response status code and response headers
|
1433
|
-
def
|
1613
|
+
def post_contactlists_with_http_info(opts = {})
|
1434
1614
|
if @api_client.config.debugging
|
1435
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1615
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_contactlists ..."
|
1436
1616
|
end
|
1437
1617
|
|
1438
1618
|
# resource path
|
@@ -1468,7 +1648,7 @@ module PureCloud
|
|
1468
1648
|
:auth_names => auth_names,
|
1469
1649
|
:return_type => 'ContactList')
|
1470
1650
|
if @api_client.config.debugging
|
1471
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1651
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_contactlists\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1472
1652
|
end
|
1473
1653
|
return data, status_code, headers
|
1474
1654
|
end
|
@@ -1478,8 +1658,8 @@ module PureCloud
|
|
1478
1658
|
# @param [Hash] opts the optional parameters
|
1479
1659
|
# @option opts [Array<PenetrationRateId>] :body PenetrationRateIdentifierList
|
1480
1660
|
# @return [Array<PenetrationRate>]
|
1481
|
-
def
|
1482
|
-
data, status_code, headers =
|
1661
|
+
def post_contactlists_penetrationrates(opts = {})
|
1662
|
+
data, status_code, headers = post_contactlists_penetrationrates_with_http_info(opts)
|
1483
1663
|
return data
|
1484
1664
|
end
|
1485
1665
|
|
@@ -1488,9 +1668,9 @@ module PureCloud
|
|
1488
1668
|
# @param [Hash] opts the optional parameters
|
1489
1669
|
# @option opts [Array<PenetrationRateId>] :body PenetrationRateIdentifierList
|
1490
1670
|
# @return [Array<(Array<PenetrationRate>, Fixnum, Hash)>] Array<PenetrationRate> data, response status code and response headers
|
1491
|
-
def
|
1671
|
+
def post_contactlists_penetrationrates_with_http_info(opts = {})
|
1492
1672
|
if @api_client.config.debugging
|
1493
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1673
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_contactlists_penetrationrates ..."
|
1494
1674
|
end
|
1495
1675
|
|
1496
1676
|
# resource path
|
@@ -1526,7 +1706,7 @@ module PureCloud
|
|
1526
1706
|
:auth_names => auth_names,
|
1527
1707
|
:return_type => 'Array<PenetrationRate>')
|
1528
1708
|
if @api_client.config.debugging
|
1529
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1709
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_contactlists_penetrationrates\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1530
1710
|
end
|
1531
1711
|
return data, status_code, headers
|
1532
1712
|
end
|
@@ -1539,8 +1719,8 @@ module PureCloud
|
|
1539
1719
|
# @option opts [BOOLEAN] :import_status Import status
|
1540
1720
|
# @option opts [BOOLEAN] :include_size Include size
|
1541
1721
|
# @return [ContactList]
|
1542
|
-
def
|
1543
|
-
data, status_code, headers =
|
1722
|
+
def get_contactlists_contactlist_id(contact_list_id, opts = {})
|
1723
|
+
data, status_code, headers = get_contactlists_contactlist_id_with_http_info(contact_list_id, opts)
|
1544
1724
|
return data
|
1545
1725
|
end
|
1546
1726
|
|
@@ -1552,13 +1732,13 @@ module PureCloud
|
|
1552
1732
|
# @option opts [BOOLEAN] :import_status Import status
|
1553
1733
|
# @option opts [BOOLEAN] :include_size Include size
|
1554
1734
|
# @return [Array<(ContactList, Fixnum, Hash)>] ContactList data, response status code and response headers
|
1555
|
-
def
|
1735
|
+
def get_contactlists_contactlist_id_with_http_info(contact_list_id, opts = {})
|
1556
1736
|
if @api_client.config.debugging
|
1557
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1737
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_contactlists_contactlist_id ..."
|
1558
1738
|
end
|
1559
1739
|
|
1560
1740
|
# verify the required parameter 'contact_list_id' is set
|
1561
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
1741
|
+
fail "Missing the required parameter 'contact_list_id' when calling get_contactlists_contactlist_id" if contact_list_id.nil?
|
1562
1742
|
|
1563
1743
|
# resource path
|
1564
1744
|
path = "/api/v1/outbound/contactlists/{contactListId}".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
|
@@ -1596,7 +1776,7 @@ module PureCloud
|
|
1596
1776
|
:auth_names => auth_names,
|
1597
1777
|
:return_type => 'ContactList')
|
1598
1778
|
if @api_client.config.debugging
|
1599
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1779
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_contactlists_contactlist_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1600
1780
|
end
|
1601
1781
|
return data, status_code, headers
|
1602
1782
|
end
|
@@ -1607,8 +1787,8 @@ module PureCloud
|
|
1607
1787
|
# @param [Hash] opts the optional parameters
|
1608
1788
|
# @option opts [ContactList] :body ContactList
|
1609
1789
|
# @return [ContactList]
|
1610
|
-
def
|
1611
|
-
data, status_code, headers =
|
1790
|
+
def put_contactlists_contactlist_id(contact_list_id, opts = {})
|
1791
|
+
data, status_code, headers = put_contactlists_contactlist_id_with_http_info(contact_list_id, opts)
|
1612
1792
|
return data
|
1613
1793
|
end
|
1614
1794
|
|
@@ -1618,13 +1798,13 @@ module PureCloud
|
|
1618
1798
|
# @param [Hash] opts the optional parameters
|
1619
1799
|
# @option opts [ContactList] :body ContactList
|
1620
1800
|
# @return [Array<(ContactList, Fixnum, Hash)>] ContactList data, response status code and response headers
|
1621
|
-
def
|
1801
|
+
def put_contactlists_contactlist_id_with_http_info(contact_list_id, opts = {})
|
1622
1802
|
if @api_client.config.debugging
|
1623
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1803
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#put_contactlists_contactlist_id ..."
|
1624
1804
|
end
|
1625
1805
|
|
1626
1806
|
# verify the required parameter 'contact_list_id' is set
|
1627
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
1807
|
+
fail "Missing the required parameter 'contact_list_id' when calling put_contactlists_contactlist_id" if contact_list_id.nil?
|
1628
1808
|
|
1629
1809
|
# resource path
|
1630
1810
|
path = "/api/v1/outbound/contactlists/{contactListId}".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
|
@@ -1659,7 +1839,7 @@ module PureCloud
|
|
1659
1839
|
:auth_names => auth_names,
|
1660
1840
|
:return_type => 'ContactList')
|
1661
1841
|
if @api_client.config.debugging
|
1662
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1842
|
+
@api_client.config.logger.debug "API called: OutboundApi#put_contactlists_contactlist_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1663
1843
|
end
|
1664
1844
|
return data, status_code, headers
|
1665
1845
|
end
|
@@ -1669,8 +1849,8 @@ module PureCloud
|
|
1669
1849
|
# @param contact_list_id ContactList ID
|
1670
1850
|
# @param [Hash] opts the optional parameters
|
1671
1851
|
# @return [String]
|
1672
|
-
def
|
1673
|
-
data, status_code, headers =
|
1852
|
+
def delete_contactlists_contactlist_id(contact_list_id, opts = {})
|
1853
|
+
data, status_code, headers = delete_contactlists_contactlist_id_with_http_info(contact_list_id, opts)
|
1674
1854
|
return data
|
1675
1855
|
end
|
1676
1856
|
|
@@ -1679,13 +1859,13 @@ module PureCloud
|
|
1679
1859
|
# @param contact_list_id ContactList ID
|
1680
1860
|
# @param [Hash] opts the optional parameters
|
1681
1861
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1682
|
-
def
|
1862
|
+
def delete_contactlists_contactlist_id_with_http_info(contact_list_id, opts = {})
|
1683
1863
|
if @api_client.config.debugging
|
1684
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1864
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#delete_contactlists_contactlist_id ..."
|
1685
1865
|
end
|
1686
1866
|
|
1687
1867
|
# verify the required parameter 'contact_list_id' is set
|
1688
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
1868
|
+
fail "Missing the required parameter 'contact_list_id' when calling delete_contactlists_contactlist_id" if contact_list_id.nil?
|
1689
1869
|
|
1690
1870
|
# resource path
|
1691
1871
|
path = "/api/v1/outbound/contactlists/{contactListId}".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
|
@@ -1720,7 +1900,7 @@ module PureCloud
|
|
1720
1900
|
:auth_names => auth_names,
|
1721
1901
|
:return_type => 'String')
|
1722
1902
|
if @api_client.config.debugging
|
1723
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1903
|
+
@api_client.config.logger.debug "API called: OutboundApi#delete_contactlists_contactlist_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1724
1904
|
end
|
1725
1905
|
return data, status_code, headers
|
1726
1906
|
end
|
@@ -1732,8 +1912,8 @@ module PureCloud
|
|
1732
1912
|
# @option opts [Array<Contact>] :body Contact
|
1733
1913
|
# @option opts [BOOLEAN] :priority
|
1734
1914
|
# @return [Contact]
|
1735
|
-
def
|
1736
|
-
data, status_code, headers =
|
1915
|
+
def post_contactlists_contactlist_id_contacts(contact_list_id, opts = {})
|
1916
|
+
data, status_code, headers = post_contactlists_contactlist_id_contacts_with_http_info(contact_list_id, opts)
|
1737
1917
|
return data
|
1738
1918
|
end
|
1739
1919
|
|
@@ -1744,13 +1924,13 @@ module PureCloud
|
|
1744
1924
|
# @option opts [Array<Contact>] :body Contact
|
1745
1925
|
# @option opts [BOOLEAN] :priority
|
1746
1926
|
# @return [Array<(Contact, Fixnum, Hash)>] Contact data, response status code and response headers
|
1747
|
-
def
|
1927
|
+
def post_contactlists_contactlist_id_contacts_with_http_info(contact_list_id, opts = {})
|
1748
1928
|
if @api_client.config.debugging
|
1749
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1929
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_contactlists_contactlist_id_contacts ..."
|
1750
1930
|
end
|
1751
1931
|
|
1752
1932
|
# verify the required parameter 'contact_list_id' is set
|
1753
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
1933
|
+
fail "Missing the required parameter 'contact_list_id' when calling post_contactlists_contactlist_id_contacts" if contact_list_id.nil?
|
1754
1934
|
|
1755
1935
|
# resource path
|
1756
1936
|
path = "/api/v1/outbound/contactlists/{contactListId}/contacts".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
|
@@ -1786,7 +1966,7 @@ module PureCloud
|
|
1786
1966
|
:auth_names => auth_names,
|
1787
1967
|
:return_type => 'Contact')
|
1788
1968
|
if @api_client.config.debugging
|
1789
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1969
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_contactlists_contactlist_id_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1790
1970
|
end
|
1791
1971
|
return data, status_code, headers
|
1792
1972
|
end
|
@@ -1797,8 +1977,8 @@ module PureCloud
|
|
1797
1977
|
# @param contact_id Contact ID
|
1798
1978
|
# @param [Hash] opts the optional parameters
|
1799
1979
|
# @return [Contact]
|
1800
|
-
def
|
1801
|
-
data, status_code, headers =
|
1980
|
+
def get_contactlists_contactlist_id_contacts_contact_id(contact_list_id, contact_id, opts = {})
|
1981
|
+
data, status_code, headers = get_contactlists_contactlist_id_contacts_contact_id_with_http_info(contact_list_id, contact_id, opts)
|
1802
1982
|
return data
|
1803
1983
|
end
|
1804
1984
|
|
@@ -1808,16 +1988,16 @@ module PureCloud
|
|
1808
1988
|
# @param contact_id Contact ID
|
1809
1989
|
# @param [Hash] opts the optional parameters
|
1810
1990
|
# @return [Array<(Contact, Fixnum, Hash)>] Contact data, response status code and response headers
|
1811
|
-
def
|
1991
|
+
def get_contactlists_contactlist_id_contacts_contact_id_with_http_info(contact_list_id, contact_id, opts = {})
|
1812
1992
|
if @api_client.config.debugging
|
1813
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1993
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_contactlists_contactlist_id_contacts_contact_id ..."
|
1814
1994
|
end
|
1815
1995
|
|
1816
1996
|
# verify the required parameter 'contact_list_id' is set
|
1817
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
1997
|
+
fail "Missing the required parameter 'contact_list_id' when calling get_contactlists_contactlist_id_contacts_contact_id" if contact_list_id.nil?
|
1818
1998
|
|
1819
1999
|
# verify the required parameter 'contact_id' is set
|
1820
|
-
fail "Missing the required parameter 'contact_id' when calling
|
2000
|
+
fail "Missing the required parameter 'contact_id' when calling get_contactlists_contactlist_id_contacts_contact_id" if contact_id.nil?
|
1821
2001
|
|
1822
2002
|
# resource path
|
1823
2003
|
path = "/api/v1/outbound/contactlists/{contactListId}/contacts/{contactId}".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s).sub('{' + 'contactId' + '}', contact_id.to_s)
|
@@ -1852,7 +2032,7 @@ module PureCloud
|
|
1852
2032
|
:auth_names => auth_names,
|
1853
2033
|
:return_type => 'Contact')
|
1854
2034
|
if @api_client.config.debugging
|
1855
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2035
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_contactlists_contactlist_id_contacts_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1856
2036
|
end
|
1857
2037
|
return data, status_code, headers
|
1858
2038
|
end
|
@@ -1864,8 +2044,8 @@ module PureCloud
|
|
1864
2044
|
# @param [Hash] opts the optional parameters
|
1865
2045
|
# @option opts [Contact] :body Contact
|
1866
2046
|
# @return [Contact]
|
1867
|
-
def
|
1868
|
-
data, status_code, headers =
|
2047
|
+
def put_contactlists_contactlist_id_contacts_contact_id(contact_list_id, contact_id, opts = {})
|
2048
|
+
data, status_code, headers = put_contactlists_contactlist_id_contacts_contact_id_with_http_info(contact_list_id, contact_id, opts)
|
1869
2049
|
return data
|
1870
2050
|
end
|
1871
2051
|
|
@@ -1876,16 +2056,16 @@ module PureCloud
|
|
1876
2056
|
# @param [Hash] opts the optional parameters
|
1877
2057
|
# @option opts [Contact] :body Contact
|
1878
2058
|
# @return [Array<(Contact, Fixnum, Hash)>] Contact data, response status code and response headers
|
1879
|
-
def
|
2059
|
+
def put_contactlists_contactlist_id_contacts_contact_id_with_http_info(contact_list_id, contact_id, opts = {})
|
1880
2060
|
if @api_client.config.debugging
|
1881
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2061
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#put_contactlists_contactlist_id_contacts_contact_id ..."
|
1882
2062
|
end
|
1883
2063
|
|
1884
2064
|
# verify the required parameter 'contact_list_id' is set
|
1885
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
2065
|
+
fail "Missing the required parameter 'contact_list_id' when calling put_contactlists_contactlist_id_contacts_contact_id" if contact_list_id.nil?
|
1886
2066
|
|
1887
2067
|
# verify the required parameter 'contact_id' is set
|
1888
|
-
fail "Missing the required parameter 'contact_id' when calling
|
2068
|
+
fail "Missing the required parameter 'contact_id' when calling put_contactlists_contactlist_id_contacts_contact_id" if contact_id.nil?
|
1889
2069
|
|
1890
2070
|
# resource path
|
1891
2071
|
path = "/api/v1/outbound/contactlists/{contactListId}/contacts/{contactId}".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s).sub('{' + 'contactId' + '}', contact_id.to_s)
|
@@ -1920,7 +2100,7 @@ module PureCloud
|
|
1920
2100
|
:auth_names => auth_names,
|
1921
2101
|
:return_type => 'Contact')
|
1922
2102
|
if @api_client.config.debugging
|
1923
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2103
|
+
@api_client.config.logger.debug "API called: OutboundApi#put_contactlists_contactlist_id_contacts_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1924
2104
|
end
|
1925
2105
|
return data, status_code, headers
|
1926
2106
|
end
|
@@ -1931,8 +2111,8 @@ module PureCloud
|
|
1931
2111
|
# @param contact_id Contact ID
|
1932
2112
|
# @param [Hash] opts the optional parameters
|
1933
2113
|
# @return [String]
|
1934
|
-
def
|
1935
|
-
data, status_code, headers =
|
2114
|
+
def delete_contactlists_contactlist_id_contacts_contact_id(contact_list_id, contact_id, opts = {})
|
2115
|
+
data, status_code, headers = delete_contactlists_contactlist_id_contacts_contact_id_with_http_info(contact_list_id, contact_id, opts)
|
1936
2116
|
return data
|
1937
2117
|
end
|
1938
2118
|
|
@@ -1942,16 +2122,16 @@ module PureCloud
|
|
1942
2122
|
# @param contact_id Contact ID
|
1943
2123
|
# @param [Hash] opts the optional parameters
|
1944
2124
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1945
|
-
def
|
2125
|
+
def delete_contactlists_contactlist_id_contacts_contact_id_with_http_info(contact_list_id, contact_id, opts = {})
|
1946
2126
|
if @api_client.config.debugging
|
1947
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2127
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#delete_contactlists_contactlist_id_contacts_contact_id ..."
|
1948
2128
|
end
|
1949
2129
|
|
1950
2130
|
# verify the required parameter 'contact_list_id' is set
|
1951
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
2131
|
+
fail "Missing the required parameter 'contact_list_id' when calling delete_contactlists_contactlist_id_contacts_contact_id" if contact_list_id.nil?
|
1952
2132
|
|
1953
2133
|
# verify the required parameter 'contact_id' is set
|
1954
|
-
fail "Missing the required parameter 'contact_id' when calling
|
2134
|
+
fail "Missing the required parameter 'contact_id' when calling delete_contactlists_contactlist_id_contacts_contact_id" if contact_id.nil?
|
1955
2135
|
|
1956
2136
|
# resource path
|
1957
2137
|
path = "/api/v1/outbound/contactlists/{contactListId}/contacts/{contactId}".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s).sub('{' + 'contactId' + '}', contact_id.to_s)
|
@@ -1986,7 +2166,7 @@ module PureCloud
|
|
1986
2166
|
:auth_names => auth_names,
|
1987
2167
|
:return_type => 'String')
|
1988
2168
|
if @api_client.config.debugging
|
1989
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2169
|
+
@api_client.config.logger.debug "API called: OutboundApi#delete_contactlists_contactlist_id_contacts_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1990
2170
|
end
|
1991
2171
|
return data, status_code, headers
|
1992
2172
|
end
|
@@ -1996,8 +2176,8 @@ module PureCloud
|
|
1996
2176
|
# @param contact_list_id ContactList ID
|
1997
2177
|
# @param [Hash] opts the optional parameters
|
1998
2178
|
# @return [String]
|
1999
|
-
def
|
2000
|
-
data, status_code, headers =
|
2179
|
+
def post_contactlists_contactlist_id_export(contact_list_id, opts = {})
|
2180
|
+
data, status_code, headers = post_contactlists_contactlist_id_export_with_http_info(contact_list_id, opts)
|
2001
2181
|
return data
|
2002
2182
|
end
|
2003
2183
|
|
@@ -2006,13 +2186,13 @@ module PureCloud
|
|
2006
2186
|
# @param contact_list_id ContactList ID
|
2007
2187
|
# @param [Hash] opts the optional parameters
|
2008
2188
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
2009
|
-
def
|
2189
|
+
def post_contactlists_contactlist_id_export_with_http_info(contact_list_id, opts = {})
|
2010
2190
|
if @api_client.config.debugging
|
2011
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2191
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_contactlists_contactlist_id_export ..."
|
2012
2192
|
end
|
2013
2193
|
|
2014
2194
|
# verify the required parameter 'contact_list_id' is set
|
2015
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
2195
|
+
fail "Missing the required parameter 'contact_list_id' when calling post_contactlists_contactlist_id_export" if contact_list_id.nil?
|
2016
2196
|
|
2017
2197
|
# resource path
|
2018
2198
|
path = "/api/v1/outbound/contactlists/{contactListId}/export".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
|
@@ -2047,7 +2227,7 @@ module PureCloud
|
|
2047
2227
|
:auth_names => auth_names,
|
2048
2228
|
:return_type => 'String')
|
2049
2229
|
if @api_client.config.debugging
|
2050
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2230
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_contactlists_contactlist_id_export\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2051
2231
|
end
|
2052
2232
|
return data, status_code, headers
|
2053
2233
|
end
|
@@ -2057,8 +2237,8 @@ module PureCloud
|
|
2057
2237
|
# @param contact_list_id ContactList ID
|
2058
2238
|
# @param [Hash] opts the optional parameters
|
2059
2239
|
# @return [ImportStatus]
|
2060
|
-
def
|
2061
|
-
data, status_code, headers =
|
2240
|
+
def get_contactlists_contactlist_id_importstatus(contact_list_id, opts = {})
|
2241
|
+
data, status_code, headers = get_contactlists_contactlist_id_importstatus_with_http_info(contact_list_id, opts)
|
2062
2242
|
return data
|
2063
2243
|
end
|
2064
2244
|
|
@@ -2067,13 +2247,13 @@ module PureCloud
|
|
2067
2247
|
# @param contact_list_id ContactList ID
|
2068
2248
|
# @param [Hash] opts the optional parameters
|
2069
2249
|
# @return [Array<(ImportStatus, Fixnum, Hash)>] ImportStatus data, response status code and response headers
|
2070
|
-
def
|
2250
|
+
def get_contactlists_contactlist_id_importstatus_with_http_info(contact_list_id, opts = {})
|
2071
2251
|
if @api_client.config.debugging
|
2072
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2252
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_contactlists_contactlist_id_importstatus ..."
|
2073
2253
|
end
|
2074
2254
|
|
2075
2255
|
# verify the required parameter 'contact_list_id' is set
|
2076
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
2256
|
+
fail "Missing the required parameter 'contact_list_id' when calling get_contactlists_contactlist_id_importstatus" if contact_list_id.nil?
|
2077
2257
|
|
2078
2258
|
# resource path
|
2079
2259
|
path = "/api/v1/outbound/contactlists/{contactListId}/importstatus".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
|
@@ -2108,7 +2288,7 @@ module PureCloud
|
|
2108
2288
|
:auth_names => auth_names,
|
2109
2289
|
:return_type => 'ImportStatus')
|
2110
2290
|
if @api_client.config.debugging
|
2111
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2291
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_contactlists_contactlist_id_importstatus\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2112
2292
|
end
|
2113
2293
|
return data, status_code, headers
|
2114
2294
|
end
|
@@ -2119,8 +2299,8 @@ module PureCloud
|
|
2119
2299
|
# @param campaign_id Campaign ID
|
2120
2300
|
# @param [Hash] opts the optional parameters
|
2121
2301
|
# @return [PenetrationRate]
|
2122
|
-
def
|
2123
|
-
data, status_code, headers =
|
2302
|
+
def get_contactlists_contactlist_id_campaign_id_penetrationrate(contact_list_id, campaign_id, opts = {})
|
2303
|
+
data, status_code, headers = get_contactlists_contactlist_id_campaign_id_penetrationrate_with_http_info(contact_list_id, campaign_id, opts)
|
2124
2304
|
return data
|
2125
2305
|
end
|
2126
2306
|
|
@@ -2130,16 +2310,16 @@ module PureCloud
|
|
2130
2310
|
# @param campaign_id Campaign ID
|
2131
2311
|
# @param [Hash] opts the optional parameters
|
2132
2312
|
# @return [Array<(PenetrationRate, Fixnum, Hash)>] PenetrationRate data, response status code and response headers
|
2133
|
-
def
|
2313
|
+
def get_contactlists_contactlist_id_campaign_id_penetrationrate_with_http_info(contact_list_id, campaign_id, opts = {})
|
2134
2314
|
if @api_client.config.debugging
|
2135
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2315
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_contactlists_contactlist_id_campaign_id_penetrationrate ..."
|
2136
2316
|
end
|
2137
2317
|
|
2138
2318
|
# verify the required parameter 'contact_list_id' is set
|
2139
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
2319
|
+
fail "Missing the required parameter 'contact_list_id' when calling get_contactlists_contactlist_id_campaign_id_penetrationrate" if contact_list_id.nil?
|
2140
2320
|
|
2141
2321
|
# verify the required parameter 'campaign_id' is set
|
2142
|
-
fail "Missing the required parameter 'campaign_id' when calling
|
2322
|
+
fail "Missing the required parameter 'campaign_id' when calling get_contactlists_contactlist_id_campaign_id_penetrationrate" if campaign_id.nil?
|
2143
2323
|
|
2144
2324
|
# resource path
|
2145
2325
|
path = "/api/v1/outbound/contactlists/{contactListId}/{campaignId}/penetrationrate".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s).sub('{' + 'campaignId' + '}', campaign_id.to_s)
|
@@ -2174,7 +2354,7 @@ module PureCloud
|
|
2174
2354
|
:auth_names => auth_names,
|
2175
2355
|
:return_type => 'PenetrationRate')
|
2176
2356
|
if @api_client.config.debugging
|
2177
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2357
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_contactlists_contactlist_id_campaign_id_penetrationrate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2178
2358
|
end
|
2179
2359
|
return data, status_code, headers
|
2180
2360
|
end
|
@@ -2184,8 +2364,8 @@ module PureCloud
|
|
2184
2364
|
# @param conversation_id Conversation ID
|
2185
2365
|
# @param [Hash] opts the optional parameters
|
2186
2366
|
# @return [nil]
|
2187
|
-
def
|
2188
|
-
|
2367
|
+
def post_conversations_conversation_id_dnc(conversation_id, opts = {})
|
2368
|
+
post_conversations_conversation_id_dnc_with_http_info(conversation_id, opts)
|
2189
2369
|
return nil
|
2190
2370
|
end
|
2191
2371
|
|
@@ -2194,13 +2374,13 @@ module PureCloud
|
|
2194
2374
|
# @param conversation_id Conversation ID
|
2195
2375
|
# @param [Hash] opts the optional parameters
|
2196
2376
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2197
|
-
def
|
2377
|
+
def post_conversations_conversation_id_dnc_with_http_info(conversation_id, opts = {})
|
2198
2378
|
if @api_client.config.debugging
|
2199
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2379
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_conversations_conversation_id_dnc ..."
|
2200
2380
|
end
|
2201
2381
|
|
2202
2382
|
# verify the required parameter 'conversation_id' is set
|
2203
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
2383
|
+
fail "Missing the required parameter 'conversation_id' when calling post_conversations_conversation_id_dnc" if conversation_id.nil?
|
2204
2384
|
|
2205
2385
|
# resource path
|
2206
2386
|
path = "/api/v1/outbound/conversations/{conversationId}/dnc".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
@@ -2234,7 +2414,7 @@ module PureCloud
|
|
2234
2414
|
:body => post_body,
|
2235
2415
|
:auth_names => auth_names)
|
2236
2416
|
if @api_client.config.debugging
|
2237
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2417
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_conversations_conversation_id_dnc\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2238
2418
|
end
|
2239
2419
|
return data, status_code, headers
|
2240
2420
|
end
|
@@ -2335,8 +2515,8 @@ module PureCloud
|
|
2335
2515
|
# @param [Hash] opts the optional parameters
|
2336
2516
|
# @option opts [DncList] :body DncList
|
2337
2517
|
# @return [DncList]
|
2338
|
-
def
|
2339
|
-
data, status_code, headers =
|
2518
|
+
def post_dnclists(opts = {})
|
2519
|
+
data, status_code, headers = post_dnclists_with_http_info(opts)
|
2340
2520
|
return data
|
2341
2521
|
end
|
2342
2522
|
|
@@ -2345,9 +2525,9 @@ module PureCloud
|
|
2345
2525
|
# @param [Hash] opts the optional parameters
|
2346
2526
|
# @option opts [DncList] :body DncList
|
2347
2527
|
# @return [Array<(DncList, Fixnum, Hash)>] DncList data, response status code and response headers
|
2348
|
-
def
|
2528
|
+
def post_dnclists_with_http_info(opts = {})
|
2349
2529
|
if @api_client.config.debugging
|
2350
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2530
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_dnclists ..."
|
2351
2531
|
end
|
2352
2532
|
|
2353
2533
|
# resource path
|
@@ -2383,7 +2563,7 @@ module PureCloud
|
|
2383
2563
|
:auth_names => auth_names,
|
2384
2564
|
:return_type => 'DncList')
|
2385
2565
|
if @api_client.config.debugging
|
2386
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2566
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_dnclists\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2387
2567
|
end
|
2388
2568
|
return data, status_code, headers
|
2389
2569
|
end
|
@@ -2396,8 +2576,8 @@ module PureCloud
|
|
2396
2576
|
# @option opts [BOOLEAN] :import_status Import status
|
2397
2577
|
# @option opts [BOOLEAN] :include_size Include size
|
2398
2578
|
# @return [DncList]
|
2399
|
-
def
|
2400
|
-
data, status_code, headers =
|
2579
|
+
def get_dnclists_dnclist_id(dnc_list_id, opts = {})
|
2580
|
+
data, status_code, headers = get_dnclists_dnclist_id_with_http_info(dnc_list_id, opts)
|
2401
2581
|
return data
|
2402
2582
|
end
|
2403
2583
|
|
@@ -2409,13 +2589,13 @@ module PureCloud
|
|
2409
2589
|
# @option opts [BOOLEAN] :import_status Import status
|
2410
2590
|
# @option opts [BOOLEAN] :include_size Include size
|
2411
2591
|
# @return [Array<(DncList, Fixnum, Hash)>] DncList data, response status code and response headers
|
2412
|
-
def
|
2592
|
+
def get_dnclists_dnclist_id_with_http_info(dnc_list_id, opts = {})
|
2413
2593
|
if @api_client.config.debugging
|
2414
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2594
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_dnclists_dnclist_id ..."
|
2415
2595
|
end
|
2416
2596
|
|
2417
2597
|
# verify the required parameter 'dnc_list_id' is set
|
2418
|
-
fail "Missing the required parameter 'dnc_list_id' when calling
|
2598
|
+
fail "Missing the required parameter 'dnc_list_id' when calling get_dnclists_dnclist_id" if dnc_list_id.nil?
|
2419
2599
|
|
2420
2600
|
# resource path
|
2421
2601
|
path = "/api/v1/outbound/dnclists/{dncListId}".sub('{format}','json').sub('{' + 'dncListId' + '}', dnc_list_id.to_s)
|
@@ -2453,7 +2633,7 @@ module PureCloud
|
|
2453
2633
|
:auth_names => auth_names,
|
2454
2634
|
:return_type => 'DncList')
|
2455
2635
|
if @api_client.config.debugging
|
2456
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2636
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_dnclists_dnclist_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2457
2637
|
end
|
2458
2638
|
return data, status_code, headers
|
2459
2639
|
end
|
@@ -2464,8 +2644,8 @@ module PureCloud
|
|
2464
2644
|
# @param [Hash] opts the optional parameters
|
2465
2645
|
# @option opts [DncList] :body DncList
|
2466
2646
|
# @return [DncList]
|
2467
|
-
def
|
2468
|
-
data, status_code, headers =
|
2647
|
+
def put_dnclists_dnclist_id(dnc_list_id, opts = {})
|
2648
|
+
data, status_code, headers = put_dnclists_dnclist_id_with_http_info(dnc_list_id, opts)
|
2469
2649
|
return data
|
2470
2650
|
end
|
2471
2651
|
|
@@ -2475,13 +2655,13 @@ module PureCloud
|
|
2475
2655
|
# @param [Hash] opts the optional parameters
|
2476
2656
|
# @option opts [DncList] :body DncList
|
2477
2657
|
# @return [Array<(DncList, Fixnum, Hash)>] DncList data, response status code and response headers
|
2478
|
-
def
|
2658
|
+
def put_dnclists_dnclist_id_with_http_info(dnc_list_id, opts = {})
|
2479
2659
|
if @api_client.config.debugging
|
2480
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2660
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#put_dnclists_dnclist_id ..."
|
2481
2661
|
end
|
2482
2662
|
|
2483
2663
|
# verify the required parameter 'dnc_list_id' is set
|
2484
|
-
fail "Missing the required parameter 'dnc_list_id' when calling
|
2664
|
+
fail "Missing the required parameter 'dnc_list_id' when calling put_dnclists_dnclist_id" if dnc_list_id.nil?
|
2485
2665
|
|
2486
2666
|
# resource path
|
2487
2667
|
path = "/api/v1/outbound/dnclists/{dncListId}".sub('{format}','json').sub('{' + 'dncListId' + '}', dnc_list_id.to_s)
|
@@ -2516,7 +2696,7 @@ module PureCloud
|
|
2516
2696
|
:auth_names => auth_names,
|
2517
2697
|
:return_type => 'DncList')
|
2518
2698
|
if @api_client.config.debugging
|
2519
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2699
|
+
@api_client.config.logger.debug "API called: OutboundApi#put_dnclists_dnclist_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2520
2700
|
end
|
2521
2701
|
return data, status_code, headers
|
2522
2702
|
end
|
@@ -2526,8 +2706,8 @@ module PureCloud
|
|
2526
2706
|
# @param dnc_list_id DncList ID
|
2527
2707
|
# @param [Hash] opts the optional parameters
|
2528
2708
|
# @return [String]
|
2529
|
-
def
|
2530
|
-
data, status_code, headers =
|
2709
|
+
def delete_dnclists_dnclist_id(dnc_list_id, opts = {})
|
2710
|
+
data, status_code, headers = delete_dnclists_dnclist_id_with_http_info(dnc_list_id, opts)
|
2531
2711
|
return data
|
2532
2712
|
end
|
2533
2713
|
|
@@ -2536,13 +2716,13 @@ module PureCloud
|
|
2536
2716
|
# @param dnc_list_id DncList ID
|
2537
2717
|
# @param [Hash] opts the optional parameters
|
2538
2718
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
2539
|
-
def
|
2719
|
+
def delete_dnclists_dnclist_id_with_http_info(dnc_list_id, opts = {})
|
2540
2720
|
if @api_client.config.debugging
|
2541
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2721
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#delete_dnclists_dnclist_id ..."
|
2542
2722
|
end
|
2543
2723
|
|
2544
2724
|
# verify the required parameter 'dnc_list_id' is set
|
2545
|
-
fail "Missing the required parameter 'dnc_list_id' when calling
|
2725
|
+
fail "Missing the required parameter 'dnc_list_id' when calling delete_dnclists_dnclist_id" if dnc_list_id.nil?
|
2546
2726
|
|
2547
2727
|
# resource path
|
2548
2728
|
path = "/api/v1/outbound/dnclists/{dncListId}".sub('{format}','json').sub('{' + 'dncListId' + '}', dnc_list_id.to_s)
|
@@ -2577,7 +2757,7 @@ module PureCloud
|
|
2577
2757
|
:auth_names => auth_names,
|
2578
2758
|
:return_type => 'String')
|
2579
2759
|
if @api_client.config.debugging
|
2580
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2760
|
+
@api_client.config.logger.debug "API called: OutboundApi#delete_dnclists_dnclist_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2581
2761
|
end
|
2582
2762
|
return data, status_code, headers
|
2583
2763
|
end
|
@@ -2587,8 +2767,8 @@ module PureCloud
|
|
2587
2767
|
# @param dnc_list_id DncList ID
|
2588
2768
|
# @param [Hash] opts the optional parameters
|
2589
2769
|
# @return [String]
|
2590
|
-
def
|
2591
|
-
data, status_code, headers =
|
2770
|
+
def post_dnclists_dnclist_id_export(dnc_list_id, opts = {})
|
2771
|
+
data, status_code, headers = post_dnclists_dnclist_id_export_with_http_info(dnc_list_id, opts)
|
2592
2772
|
return data
|
2593
2773
|
end
|
2594
2774
|
|
@@ -2597,13 +2777,13 @@ module PureCloud
|
|
2597
2777
|
# @param dnc_list_id DncList ID
|
2598
2778
|
# @param [Hash] opts the optional parameters
|
2599
2779
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
2600
|
-
def
|
2780
|
+
def post_dnclists_dnclist_id_export_with_http_info(dnc_list_id, opts = {})
|
2601
2781
|
if @api_client.config.debugging
|
2602
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2782
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_dnclists_dnclist_id_export ..."
|
2603
2783
|
end
|
2604
2784
|
|
2605
2785
|
# verify the required parameter 'dnc_list_id' is set
|
2606
|
-
fail "Missing the required parameter 'dnc_list_id' when calling
|
2786
|
+
fail "Missing the required parameter 'dnc_list_id' when calling post_dnclists_dnclist_id_export" if dnc_list_id.nil?
|
2607
2787
|
|
2608
2788
|
# resource path
|
2609
2789
|
path = "/api/v1/outbound/dnclists/{dncListId}/export".sub('{format}','json').sub('{' + 'dncListId' + '}', dnc_list_id.to_s)
|
@@ -2638,7 +2818,7 @@ module PureCloud
|
|
2638
2818
|
:auth_names => auth_names,
|
2639
2819
|
:return_type => 'String')
|
2640
2820
|
if @api_client.config.debugging
|
2641
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2821
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_dnclists_dnclist_id_export\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2642
2822
|
end
|
2643
2823
|
return data, status_code, headers
|
2644
2824
|
end
|
@@ -2648,8 +2828,8 @@ module PureCloud
|
|
2648
2828
|
# @param dnc_list_id DncList ID
|
2649
2829
|
# @param [Hash] opts the optional parameters
|
2650
2830
|
# @return [ImportStatus]
|
2651
|
-
def
|
2652
|
-
data, status_code, headers =
|
2831
|
+
def get_dnclists_dnclist_id_importstatus(dnc_list_id, opts = {})
|
2832
|
+
data, status_code, headers = get_dnclists_dnclist_id_importstatus_with_http_info(dnc_list_id, opts)
|
2653
2833
|
return data
|
2654
2834
|
end
|
2655
2835
|
|
@@ -2658,13 +2838,13 @@ module PureCloud
|
|
2658
2838
|
# @param dnc_list_id DncList ID
|
2659
2839
|
# @param [Hash] opts the optional parameters
|
2660
2840
|
# @return [Array<(ImportStatus, Fixnum, Hash)>] ImportStatus data, response status code and response headers
|
2661
|
-
def
|
2841
|
+
def get_dnclists_dnclist_id_importstatus_with_http_info(dnc_list_id, opts = {})
|
2662
2842
|
if @api_client.config.debugging
|
2663
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2843
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_dnclists_dnclist_id_importstatus ..."
|
2664
2844
|
end
|
2665
2845
|
|
2666
2846
|
# verify the required parameter 'dnc_list_id' is set
|
2667
|
-
fail "Missing the required parameter 'dnc_list_id' when calling
|
2847
|
+
fail "Missing the required parameter 'dnc_list_id' when calling get_dnclists_dnclist_id_importstatus" if dnc_list_id.nil?
|
2668
2848
|
|
2669
2849
|
# resource path
|
2670
2850
|
path = "/api/v1/outbound/dnclists/{dncListId}/importstatus".sub('{format}','json').sub('{' + 'dncListId' + '}', dnc_list_id.to_s)
|
@@ -2699,7 +2879,7 @@ module PureCloud
|
|
2699
2879
|
:auth_names => auth_names,
|
2700
2880
|
:return_type => 'ImportStatus')
|
2701
2881
|
if @api_client.config.debugging
|
2702
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2882
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_dnclists_dnclist_id_importstatus\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2703
2883
|
end
|
2704
2884
|
return data, status_code, headers
|
2705
2885
|
end
|
@@ -2710,8 +2890,8 @@ module PureCloud
|
|
2710
2890
|
# @param [Hash] opts the optional parameters
|
2711
2891
|
# @option opts [Array<String>] :body DNC Phone Numbers
|
2712
2892
|
# @return [nil]
|
2713
|
-
def
|
2714
|
-
|
2893
|
+
def post_dnclists_dnclist_id_phonenumbers(dnc_list_id, opts = {})
|
2894
|
+
post_dnclists_dnclist_id_phonenumbers_with_http_info(dnc_list_id, opts)
|
2715
2895
|
return nil
|
2716
2896
|
end
|
2717
2897
|
|
@@ -2721,13 +2901,13 @@ module PureCloud
|
|
2721
2901
|
# @param [Hash] opts the optional parameters
|
2722
2902
|
# @option opts [Array<String>] :body DNC Phone Numbers
|
2723
2903
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2724
|
-
def
|
2904
|
+
def post_dnclists_dnclist_id_phonenumbers_with_http_info(dnc_list_id, opts = {})
|
2725
2905
|
if @api_client.config.debugging
|
2726
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2906
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_dnclists_dnclist_id_phonenumbers ..."
|
2727
2907
|
end
|
2728
2908
|
|
2729
2909
|
# verify the required parameter 'dnc_list_id' is set
|
2730
|
-
fail "Missing the required parameter 'dnc_list_id' when calling
|
2910
|
+
fail "Missing the required parameter 'dnc_list_id' when calling post_dnclists_dnclist_id_phonenumbers" if dnc_list_id.nil?
|
2731
2911
|
|
2732
2912
|
# resource path
|
2733
2913
|
path = "/api/v1/outbound/dnclists/{dncListId}/phonenumbers".sub('{format}','json').sub('{' + 'dncListId' + '}', dnc_list_id.to_s)
|
@@ -2761,7 +2941,7 @@ module PureCloud
|
|
2761
2941
|
:body => post_body,
|
2762
2942
|
:auth_names => auth_names)
|
2763
2943
|
if @api_client.config.debugging
|
2764
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2944
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_dnclists_dnclist_id_phonenumbers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2765
2945
|
end
|
2766
2946
|
return data, status_code, headers
|
2767
2947
|
end
|
@@ -2827,8 +3007,8 @@ module PureCloud
|
|
2827
3007
|
# @param preview_id preview ID
|
2828
3008
|
# @param [Hash] opts the optional parameters
|
2829
3009
|
# @return [Preview]
|
2830
|
-
def
|
2831
|
-
data, status_code, headers =
|
3010
|
+
def get_previews_preview_id(preview_id, opts = {})
|
3011
|
+
data, status_code, headers = get_previews_preview_id_with_http_info(preview_id, opts)
|
2832
3012
|
return data
|
2833
3013
|
end
|
2834
3014
|
|
@@ -2837,13 +3017,13 @@ module PureCloud
|
|
2837
3017
|
# @param preview_id preview ID
|
2838
3018
|
# @param [Hash] opts the optional parameters
|
2839
3019
|
# @return [Array<(Preview, Fixnum, Hash)>] Preview data, response status code and response headers
|
2840
|
-
def
|
3020
|
+
def get_previews_preview_id_with_http_info(preview_id, opts = {})
|
2841
3021
|
if @api_client.config.debugging
|
2842
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3022
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_previews_preview_id ..."
|
2843
3023
|
end
|
2844
3024
|
|
2845
3025
|
# verify the required parameter 'preview_id' is set
|
2846
|
-
fail "Missing the required parameter 'preview_id' when calling
|
3026
|
+
fail "Missing the required parameter 'preview_id' when calling get_previews_preview_id" if preview_id.nil?
|
2847
3027
|
|
2848
3028
|
# resource path
|
2849
3029
|
path = "/api/v1/outbound/previews/{previewId}".sub('{format}','json').sub('{' + 'previewId' + '}', preview_id.to_s)
|
@@ -2878,7 +3058,7 @@ module PureCloud
|
|
2878
3058
|
:auth_names => auth_names,
|
2879
3059
|
:return_type => 'Preview')
|
2880
3060
|
if @api_client.config.debugging
|
2881
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3061
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_previews_preview_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2882
3062
|
end
|
2883
3063
|
return data, status_code, headers
|
2884
3064
|
end
|
@@ -2889,8 +3069,8 @@ module PureCloud
|
|
2889
3069
|
# @param [Hash] opts the optional parameters
|
2890
3070
|
# @option opts [DialerDispositionCallCommand] :body
|
2891
3071
|
# @return [String]
|
2892
|
-
def
|
2893
|
-
data, status_code, headers =
|
3072
|
+
def post_previews_preview_id_dispositioncall(preview_id, opts = {})
|
3073
|
+
data, status_code, headers = post_previews_preview_id_dispositioncall_with_http_info(preview_id, opts)
|
2894
3074
|
return data
|
2895
3075
|
end
|
2896
3076
|
|
@@ -2900,13 +3080,13 @@ module PureCloud
|
|
2900
3080
|
# @param [Hash] opts the optional parameters
|
2901
3081
|
# @option opts [DialerDispositionCallCommand] :body
|
2902
3082
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
2903
|
-
def
|
3083
|
+
def post_previews_preview_id_dispositioncall_with_http_info(preview_id, opts = {})
|
2904
3084
|
if @api_client.config.debugging
|
2905
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3085
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_previews_preview_id_dispositioncall ..."
|
2906
3086
|
end
|
2907
3087
|
|
2908
3088
|
# verify the required parameter 'preview_id' is set
|
2909
|
-
fail "Missing the required parameter 'preview_id' when calling
|
3089
|
+
fail "Missing the required parameter 'preview_id' when calling post_previews_preview_id_dispositioncall" if preview_id.nil?
|
2910
3090
|
|
2911
3091
|
# resource path
|
2912
3092
|
path = "/api/v1/outbound/previews/{previewId}/dispositioncall".sub('{format}','json').sub('{' + 'previewId' + '}', preview_id.to_s)
|
@@ -2941,7 +3121,7 @@ module PureCloud
|
|
2941
3121
|
:auth_names => auth_names,
|
2942
3122
|
:return_type => 'String')
|
2943
3123
|
if @api_client.config.debugging
|
2944
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3124
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_previews_preview_id_dispositioncall\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2945
3125
|
end
|
2946
3126
|
return data, status_code, headers
|
2947
3127
|
end
|
@@ -2952,8 +3132,8 @@ module PureCloud
|
|
2952
3132
|
# @param [Hash] opts the optional parameters
|
2953
3133
|
# @option opts [DialerPlaceCallCommand] :body
|
2954
3134
|
# @return [DialerCall]
|
2955
|
-
def
|
2956
|
-
data, status_code, headers =
|
3135
|
+
def post_previews_preview_id_placecall(preview_id, opts = {})
|
3136
|
+
data, status_code, headers = post_previews_preview_id_placecall_with_http_info(preview_id, opts)
|
2957
3137
|
return data
|
2958
3138
|
end
|
2959
3139
|
|
@@ -2963,13 +3143,13 @@ module PureCloud
|
|
2963
3143
|
# @param [Hash] opts the optional parameters
|
2964
3144
|
# @option opts [DialerPlaceCallCommand] :body
|
2965
3145
|
# @return [Array<(DialerCall, Fixnum, Hash)>] DialerCall data, response status code and response headers
|
2966
|
-
def
|
3146
|
+
def post_previews_preview_id_placecall_with_http_info(preview_id, opts = {})
|
2967
3147
|
if @api_client.config.debugging
|
2968
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3148
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_previews_preview_id_placecall ..."
|
2969
3149
|
end
|
2970
3150
|
|
2971
3151
|
# verify the required parameter 'preview_id' is set
|
2972
|
-
fail "Missing the required parameter 'preview_id' when calling
|
3152
|
+
fail "Missing the required parameter 'preview_id' when calling post_previews_preview_id_placecall" if preview_id.nil?
|
2973
3153
|
|
2974
3154
|
# resource path
|
2975
3155
|
path = "/api/v1/outbound/previews/{previewId}/placecall".sub('{format}','json').sub('{' + 'previewId' + '}', preview_id.to_s)
|
@@ -3004,7 +3184,7 @@ module PureCloud
|
|
3004
3184
|
:auth_names => auth_names,
|
3005
3185
|
:return_type => 'DialerCall')
|
3006
3186
|
if @api_client.config.debugging
|
3007
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3187
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_previews_preview_id_placecall\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3008
3188
|
end
|
3009
3189
|
return data, status_code, headers
|
3010
3190
|
end
|
@@ -3096,8 +3276,8 @@ module PureCloud
|
|
3096
3276
|
# @param [Hash] opts the optional parameters
|
3097
3277
|
# @option opts [RuleSet] :body RuleSet
|
3098
3278
|
# @return [RuleSet]
|
3099
|
-
def
|
3100
|
-
data, status_code, headers =
|
3279
|
+
def post_rulesets(opts = {})
|
3280
|
+
data, status_code, headers = post_rulesets_with_http_info(opts)
|
3101
3281
|
return data
|
3102
3282
|
end
|
3103
3283
|
|
@@ -3106,9 +3286,9 @@ module PureCloud
|
|
3106
3286
|
# @param [Hash] opts the optional parameters
|
3107
3287
|
# @option opts [RuleSet] :body RuleSet
|
3108
3288
|
# @return [Array<(RuleSet, Fixnum, Hash)>] RuleSet data, response status code and response headers
|
3109
|
-
def
|
3289
|
+
def post_rulesets_with_http_info(opts = {})
|
3110
3290
|
if @api_client.config.debugging
|
3111
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3291
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_rulesets ..."
|
3112
3292
|
end
|
3113
3293
|
|
3114
3294
|
# resource path
|
@@ -3144,7 +3324,7 @@ module PureCloud
|
|
3144
3324
|
:auth_names => auth_names,
|
3145
3325
|
:return_type => 'RuleSet')
|
3146
3326
|
if @api_client.config.debugging
|
3147
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3327
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_rulesets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3148
3328
|
end
|
3149
3329
|
return data, status_code, headers
|
3150
3330
|
end
|
@@ -3154,8 +3334,8 @@ module PureCloud
|
|
3154
3334
|
# @param rule_set_id Rule Set ID
|
3155
3335
|
# @param [Hash] opts the optional parameters
|
3156
3336
|
# @return [RuleSet]
|
3157
|
-
def
|
3158
|
-
data, status_code, headers =
|
3337
|
+
def get_rulesets_ruleset_id(rule_set_id, opts = {})
|
3338
|
+
data, status_code, headers = get_rulesets_ruleset_id_with_http_info(rule_set_id, opts)
|
3159
3339
|
return data
|
3160
3340
|
end
|
3161
3341
|
|
@@ -3164,13 +3344,13 @@ module PureCloud
|
|
3164
3344
|
# @param rule_set_id Rule Set ID
|
3165
3345
|
# @param [Hash] opts the optional parameters
|
3166
3346
|
# @return [Array<(RuleSet, Fixnum, Hash)>] RuleSet data, response status code and response headers
|
3167
|
-
def
|
3347
|
+
def get_rulesets_ruleset_id_with_http_info(rule_set_id, opts = {})
|
3168
3348
|
if @api_client.config.debugging
|
3169
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3349
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_rulesets_ruleset_id ..."
|
3170
3350
|
end
|
3171
3351
|
|
3172
3352
|
# verify the required parameter 'rule_set_id' is set
|
3173
|
-
fail "Missing the required parameter 'rule_set_id' when calling
|
3353
|
+
fail "Missing the required parameter 'rule_set_id' when calling get_rulesets_ruleset_id" if rule_set_id.nil?
|
3174
3354
|
|
3175
3355
|
# resource path
|
3176
3356
|
path = "/api/v1/outbound/rulesets/{ruleSetId}".sub('{format}','json').sub('{' + 'ruleSetId' + '}', rule_set_id.to_s)
|
@@ -3205,7 +3385,7 @@ module PureCloud
|
|
3205
3385
|
:auth_names => auth_names,
|
3206
3386
|
:return_type => 'RuleSet')
|
3207
3387
|
if @api_client.config.debugging
|
3208
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3388
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_rulesets_ruleset_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3209
3389
|
end
|
3210
3390
|
return data, status_code, headers
|
3211
3391
|
end
|
@@ -3216,8 +3396,8 @@ module PureCloud
|
|
3216
3396
|
# @param [Hash] opts the optional parameters
|
3217
3397
|
# @option opts [RuleSet] :body RuleSet
|
3218
3398
|
# @return [RuleSet]
|
3219
|
-
def
|
3220
|
-
data, status_code, headers =
|
3399
|
+
def put_rulesets_ruleset_id(rule_set_id, opts = {})
|
3400
|
+
data, status_code, headers = put_rulesets_ruleset_id_with_http_info(rule_set_id, opts)
|
3221
3401
|
return data
|
3222
3402
|
end
|
3223
3403
|
|
@@ -3227,13 +3407,13 @@ module PureCloud
|
|
3227
3407
|
# @param [Hash] opts the optional parameters
|
3228
3408
|
# @option opts [RuleSet] :body RuleSet
|
3229
3409
|
# @return [Array<(RuleSet, Fixnum, Hash)>] RuleSet data, response status code and response headers
|
3230
|
-
def
|
3410
|
+
def put_rulesets_ruleset_id_with_http_info(rule_set_id, opts = {})
|
3231
3411
|
if @api_client.config.debugging
|
3232
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3412
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#put_rulesets_ruleset_id ..."
|
3233
3413
|
end
|
3234
3414
|
|
3235
3415
|
# verify the required parameter 'rule_set_id' is set
|
3236
|
-
fail "Missing the required parameter 'rule_set_id' when calling
|
3416
|
+
fail "Missing the required parameter 'rule_set_id' when calling put_rulesets_ruleset_id" if rule_set_id.nil?
|
3237
3417
|
|
3238
3418
|
# resource path
|
3239
3419
|
path = "/api/v1/outbound/rulesets/{ruleSetId}".sub('{format}','json').sub('{' + 'ruleSetId' + '}', rule_set_id.to_s)
|
@@ -3268,7 +3448,7 @@ module PureCloud
|
|
3268
3448
|
:auth_names => auth_names,
|
3269
3449
|
:return_type => 'RuleSet')
|
3270
3450
|
if @api_client.config.debugging
|
3271
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3451
|
+
@api_client.config.logger.debug "API called: OutboundApi#put_rulesets_ruleset_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3272
3452
|
end
|
3273
3453
|
return data, status_code, headers
|
3274
3454
|
end
|
@@ -3278,8 +3458,8 @@ module PureCloud
|
|
3278
3458
|
# @param rule_set_id Rule Set ID
|
3279
3459
|
# @param [Hash] opts the optional parameters
|
3280
3460
|
# @return [String]
|
3281
|
-
def
|
3282
|
-
data, status_code, headers =
|
3461
|
+
def delete_rulesets_ruleset_id(rule_set_id, opts = {})
|
3462
|
+
data, status_code, headers = delete_rulesets_ruleset_id_with_http_info(rule_set_id, opts)
|
3283
3463
|
return data
|
3284
3464
|
end
|
3285
3465
|
|
@@ -3288,13 +3468,13 @@ module PureCloud
|
|
3288
3468
|
# @param rule_set_id Rule Set ID
|
3289
3469
|
# @param [Hash] opts the optional parameters
|
3290
3470
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
3291
|
-
def
|
3471
|
+
def delete_rulesets_ruleset_id_with_http_info(rule_set_id, opts = {})
|
3292
3472
|
if @api_client.config.debugging
|
3293
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3473
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#delete_rulesets_ruleset_id ..."
|
3294
3474
|
end
|
3295
3475
|
|
3296
3476
|
# verify the required parameter 'rule_set_id' is set
|
3297
|
-
fail "Missing the required parameter 'rule_set_id' when calling
|
3477
|
+
fail "Missing the required parameter 'rule_set_id' when calling delete_rulesets_ruleset_id" if rule_set_id.nil?
|
3298
3478
|
|
3299
3479
|
# resource path
|
3300
3480
|
path = "/api/v1/outbound/rulesets/{ruleSetId}".sub('{format}','json').sub('{' + 'ruleSetId' + '}', rule_set_id.to_s)
|
@@ -3329,7 +3509,7 @@ module PureCloud
|
|
3329
3509
|
:auth_names => auth_names,
|
3330
3510
|
:return_type => 'String')
|
3331
3511
|
if @api_client.config.debugging
|
3332
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3512
|
+
@api_client.config.logger.debug "API called: OutboundApi#delete_rulesets_ruleset_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3333
3513
|
end
|
3334
3514
|
return data, status_code, headers
|
3335
3515
|
end
|
@@ -3395,8 +3575,8 @@ module PureCloud
|
|
3395
3575
|
# @param campaign_id Campaign ID
|
3396
3576
|
# @param [Hash] opts the optional parameters
|
3397
3577
|
# @return [CampaignSchedule]
|
3398
|
-
def
|
3399
|
-
data, status_code, headers =
|
3578
|
+
def get_schedules_campaigns_campaign_id(campaign_id, opts = {})
|
3579
|
+
data, status_code, headers = get_schedules_campaigns_campaign_id_with_http_info(campaign_id, opts)
|
3400
3580
|
return data
|
3401
3581
|
end
|
3402
3582
|
|
@@ -3405,13 +3585,13 @@ module PureCloud
|
|
3405
3585
|
# @param campaign_id Campaign ID
|
3406
3586
|
# @param [Hash] opts the optional parameters
|
3407
3587
|
# @return [Array<(CampaignSchedule, Fixnum, Hash)>] CampaignSchedule data, response status code and response headers
|
3408
|
-
def
|
3588
|
+
def get_schedules_campaigns_campaign_id_with_http_info(campaign_id, opts = {})
|
3409
3589
|
if @api_client.config.debugging
|
3410
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3590
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_schedules_campaigns_campaign_id ..."
|
3411
3591
|
end
|
3412
3592
|
|
3413
3593
|
# verify the required parameter 'campaign_id' is set
|
3414
|
-
fail "Missing the required parameter 'campaign_id' when calling
|
3594
|
+
fail "Missing the required parameter 'campaign_id' when calling get_schedules_campaigns_campaign_id" if campaign_id.nil?
|
3415
3595
|
|
3416
3596
|
# resource path
|
3417
3597
|
path = "/api/v1/outbound/schedules/campaigns/{campaignId}".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
|
@@ -3446,7 +3626,7 @@ module PureCloud
|
|
3446
3626
|
:auth_names => auth_names,
|
3447
3627
|
:return_type => 'CampaignSchedule')
|
3448
3628
|
if @api_client.config.debugging
|
3449
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3629
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_schedules_campaigns_campaign_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3450
3630
|
end
|
3451
3631
|
return data, status_code, headers
|
3452
3632
|
end
|
@@ -3457,8 +3637,8 @@ module PureCloud
|
|
3457
3637
|
# @param [Hash] opts the optional parameters
|
3458
3638
|
# @option opts [CampaignSchedule] :body CampaignSchedule
|
3459
3639
|
# @return [CampaignSchedule]
|
3460
|
-
def
|
3461
|
-
data, status_code, headers =
|
3640
|
+
def put_schedules_campaigns_campaign_id(campaign_id, opts = {})
|
3641
|
+
data, status_code, headers = put_schedules_campaigns_campaign_id_with_http_info(campaign_id, opts)
|
3462
3642
|
return data
|
3463
3643
|
end
|
3464
3644
|
|
@@ -3468,13 +3648,13 @@ module PureCloud
|
|
3468
3648
|
# @param [Hash] opts the optional parameters
|
3469
3649
|
# @option opts [CampaignSchedule] :body CampaignSchedule
|
3470
3650
|
# @return [Array<(CampaignSchedule, Fixnum, Hash)>] CampaignSchedule data, response status code and response headers
|
3471
|
-
def
|
3651
|
+
def put_schedules_campaigns_campaign_id_with_http_info(campaign_id, opts = {})
|
3472
3652
|
if @api_client.config.debugging
|
3473
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3653
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#put_schedules_campaigns_campaign_id ..."
|
3474
3654
|
end
|
3475
3655
|
|
3476
3656
|
# verify the required parameter 'campaign_id' is set
|
3477
|
-
fail "Missing the required parameter 'campaign_id' when calling
|
3657
|
+
fail "Missing the required parameter 'campaign_id' when calling put_schedules_campaigns_campaign_id" if campaign_id.nil?
|
3478
3658
|
|
3479
3659
|
# resource path
|
3480
3660
|
path = "/api/v1/outbound/schedules/campaigns/{campaignId}".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
|
@@ -3509,7 +3689,7 @@ module PureCloud
|
|
3509
3689
|
:auth_names => auth_names,
|
3510
3690
|
:return_type => 'CampaignSchedule')
|
3511
3691
|
if @api_client.config.debugging
|
3512
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3692
|
+
@api_client.config.logger.debug "API called: OutboundApi#put_schedules_campaigns_campaign_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3513
3693
|
end
|
3514
3694
|
return data, status_code, headers
|
3515
3695
|
end
|
@@ -3519,8 +3699,8 @@ module PureCloud
|
|
3519
3699
|
# @param campaign_id Campaign ID
|
3520
3700
|
# @param [Hash] opts the optional parameters
|
3521
3701
|
# @return [String]
|
3522
|
-
def
|
3523
|
-
data, status_code, headers =
|
3702
|
+
def delete_schedules_campaigns_campaign_id(campaign_id, opts = {})
|
3703
|
+
data, status_code, headers = delete_schedules_campaigns_campaign_id_with_http_info(campaign_id, opts)
|
3524
3704
|
return data
|
3525
3705
|
end
|
3526
3706
|
|
@@ -3529,13 +3709,13 @@ module PureCloud
|
|
3529
3709
|
# @param campaign_id Campaign ID
|
3530
3710
|
# @param [Hash] opts the optional parameters
|
3531
3711
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
3532
|
-
def
|
3712
|
+
def delete_schedules_campaigns_campaign_id_with_http_info(campaign_id, opts = {})
|
3533
3713
|
if @api_client.config.debugging
|
3534
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3714
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#delete_schedules_campaigns_campaign_id ..."
|
3535
3715
|
end
|
3536
3716
|
|
3537
3717
|
# verify the required parameter 'campaign_id' is set
|
3538
|
-
fail "Missing the required parameter 'campaign_id' when calling
|
3718
|
+
fail "Missing the required parameter 'campaign_id' when calling delete_schedules_campaigns_campaign_id" if campaign_id.nil?
|
3539
3719
|
|
3540
3720
|
# resource path
|
3541
3721
|
path = "/api/v1/outbound/schedules/campaigns/{campaignId}".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
|
@@ -3570,7 +3750,7 @@ module PureCloud
|
|
3570
3750
|
:auth_names => auth_names,
|
3571
3751
|
:return_type => 'String')
|
3572
3752
|
if @api_client.config.debugging
|
3573
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3753
|
+
@api_client.config.logger.debug "API called: OutboundApi#delete_schedules_campaigns_campaign_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3574
3754
|
end
|
3575
3755
|
return data, status_code, headers
|
3576
3756
|
end
|
@@ -3636,8 +3816,8 @@ module PureCloud
|
|
3636
3816
|
# @param sequence_id Sequence ID
|
3637
3817
|
# @param [Hash] opts the optional parameters
|
3638
3818
|
# @return [SequenceSchedule]
|
3639
|
-
def
|
3640
|
-
data, status_code, headers =
|
3819
|
+
def get_schedules_sequences_sequence_id(sequence_id, opts = {})
|
3820
|
+
data, status_code, headers = get_schedules_sequences_sequence_id_with_http_info(sequence_id, opts)
|
3641
3821
|
return data
|
3642
3822
|
end
|
3643
3823
|
|
@@ -3646,13 +3826,13 @@ module PureCloud
|
|
3646
3826
|
# @param sequence_id Sequence ID
|
3647
3827
|
# @param [Hash] opts the optional parameters
|
3648
3828
|
# @return [Array<(SequenceSchedule, Fixnum, Hash)>] SequenceSchedule data, response status code and response headers
|
3649
|
-
def
|
3829
|
+
def get_schedules_sequences_sequence_id_with_http_info(sequence_id, opts = {})
|
3650
3830
|
if @api_client.config.debugging
|
3651
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3831
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_schedules_sequences_sequence_id ..."
|
3652
3832
|
end
|
3653
3833
|
|
3654
3834
|
# verify the required parameter 'sequence_id' is set
|
3655
|
-
fail "Missing the required parameter 'sequence_id' when calling
|
3835
|
+
fail "Missing the required parameter 'sequence_id' when calling get_schedules_sequences_sequence_id" if sequence_id.nil?
|
3656
3836
|
|
3657
3837
|
# resource path
|
3658
3838
|
path = "/api/v1/outbound/schedules/sequences/{sequenceId}".sub('{format}','json').sub('{' + 'sequenceId' + '}', sequence_id.to_s)
|
@@ -3687,7 +3867,7 @@ module PureCloud
|
|
3687
3867
|
:auth_names => auth_names,
|
3688
3868
|
:return_type => 'SequenceSchedule')
|
3689
3869
|
if @api_client.config.debugging
|
3690
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3870
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_schedules_sequences_sequence_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3691
3871
|
end
|
3692
3872
|
return data, status_code, headers
|
3693
3873
|
end
|
@@ -3698,8 +3878,8 @@ module PureCloud
|
|
3698
3878
|
# @param [Hash] opts the optional parameters
|
3699
3879
|
# @option opts [SequenceSchedule] :body SequenceSchedule
|
3700
3880
|
# @return [SequenceSchedule]
|
3701
|
-
def
|
3702
|
-
data, status_code, headers =
|
3881
|
+
def put_schedules_sequences_sequence_id(sequence_id, opts = {})
|
3882
|
+
data, status_code, headers = put_schedules_sequences_sequence_id_with_http_info(sequence_id, opts)
|
3703
3883
|
return data
|
3704
3884
|
end
|
3705
3885
|
|
@@ -3709,13 +3889,13 @@ module PureCloud
|
|
3709
3889
|
# @param [Hash] opts the optional parameters
|
3710
3890
|
# @option opts [SequenceSchedule] :body SequenceSchedule
|
3711
3891
|
# @return [Array<(SequenceSchedule, Fixnum, Hash)>] SequenceSchedule data, response status code and response headers
|
3712
|
-
def
|
3892
|
+
def put_schedules_sequences_sequence_id_with_http_info(sequence_id, opts = {})
|
3713
3893
|
if @api_client.config.debugging
|
3714
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3894
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#put_schedules_sequences_sequence_id ..."
|
3715
3895
|
end
|
3716
3896
|
|
3717
3897
|
# verify the required parameter 'sequence_id' is set
|
3718
|
-
fail "Missing the required parameter 'sequence_id' when calling
|
3898
|
+
fail "Missing the required parameter 'sequence_id' when calling put_schedules_sequences_sequence_id" if sequence_id.nil?
|
3719
3899
|
|
3720
3900
|
# resource path
|
3721
3901
|
path = "/api/v1/outbound/schedules/sequences/{sequenceId}".sub('{format}','json').sub('{' + 'sequenceId' + '}', sequence_id.to_s)
|
@@ -3750,7 +3930,7 @@ module PureCloud
|
|
3750
3930
|
:auth_names => auth_names,
|
3751
3931
|
:return_type => 'SequenceSchedule')
|
3752
3932
|
if @api_client.config.debugging
|
3753
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3933
|
+
@api_client.config.logger.debug "API called: OutboundApi#put_schedules_sequences_sequence_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3754
3934
|
end
|
3755
3935
|
return data, status_code, headers
|
3756
3936
|
end
|
@@ -3760,8 +3940,8 @@ module PureCloud
|
|
3760
3940
|
# @param sequence_id Sequence ID
|
3761
3941
|
# @param [Hash] opts the optional parameters
|
3762
3942
|
# @return [String]
|
3763
|
-
def
|
3764
|
-
data, status_code, headers =
|
3943
|
+
def delete_schedules_sequences_sequence_id(sequence_id, opts = {})
|
3944
|
+
data, status_code, headers = delete_schedules_sequences_sequence_id_with_http_info(sequence_id, opts)
|
3765
3945
|
return data
|
3766
3946
|
end
|
3767
3947
|
|
@@ -3770,13 +3950,13 @@ module PureCloud
|
|
3770
3950
|
# @param sequence_id Sequence ID
|
3771
3951
|
# @param [Hash] opts the optional parameters
|
3772
3952
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
3773
|
-
def
|
3953
|
+
def delete_schedules_sequences_sequence_id_with_http_info(sequence_id, opts = {})
|
3774
3954
|
if @api_client.config.debugging
|
3775
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3955
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#delete_schedules_sequences_sequence_id ..."
|
3776
3956
|
end
|
3777
3957
|
|
3778
3958
|
# verify the required parameter 'sequence_id' is set
|
3779
|
-
fail "Missing the required parameter 'sequence_id' when calling
|
3959
|
+
fail "Missing the required parameter 'sequence_id' when calling delete_schedules_sequences_sequence_id" if sequence_id.nil?
|
3780
3960
|
|
3781
3961
|
# resource path
|
3782
3962
|
path = "/api/v1/outbound/schedules/sequences/{sequenceId}".sub('{format}','json').sub('{' + 'sequenceId' + '}', sequence_id.to_s)
|
@@ -3811,7 +3991,7 @@ module PureCloud
|
|
3811
3991
|
:auth_names => auth_names,
|
3812
3992
|
:return_type => 'String')
|
3813
3993
|
if @api_client.config.debugging
|
3814
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3994
|
+
@api_client.config.logger.debug "API called: OutboundApi#delete_schedules_sequences_sequence_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3815
3995
|
end
|
3816
3996
|
return data, status_code, headers
|
3817
3997
|
end
|
@@ -3903,8 +4083,8 @@ module PureCloud
|
|
3903
4083
|
# @param [Hash] opts the optional parameters
|
3904
4084
|
# @option opts [CampaignSequence] :body Organization
|
3905
4085
|
# @return [CampaignSequence]
|
3906
|
-
def
|
3907
|
-
data, status_code, headers =
|
4086
|
+
def post_sequences(opts = {})
|
4087
|
+
data, status_code, headers = post_sequences_with_http_info(opts)
|
3908
4088
|
return data
|
3909
4089
|
end
|
3910
4090
|
|
@@ -3913,9 +4093,9 @@ module PureCloud
|
|
3913
4093
|
# @param [Hash] opts the optional parameters
|
3914
4094
|
# @option opts [CampaignSequence] :body Organization
|
3915
4095
|
# @return [Array<(CampaignSequence, Fixnum, Hash)>] CampaignSequence data, response status code and response headers
|
3916
|
-
def
|
4096
|
+
def post_sequences_with_http_info(opts = {})
|
3917
4097
|
if @api_client.config.debugging
|
3918
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
4098
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#post_sequences ..."
|
3919
4099
|
end
|
3920
4100
|
|
3921
4101
|
# resource path
|
@@ -3951,7 +4131,7 @@ module PureCloud
|
|
3951
4131
|
:auth_names => auth_names,
|
3952
4132
|
:return_type => 'CampaignSequence')
|
3953
4133
|
if @api_client.config.debugging
|
3954
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
4134
|
+
@api_client.config.logger.debug "API called: OutboundApi#post_sequences\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3955
4135
|
end
|
3956
4136
|
return data, status_code, headers
|
3957
4137
|
end
|
@@ -3961,8 +4141,8 @@ module PureCloud
|
|
3961
4141
|
# @param sequence_id Campaign Sequence ID
|
3962
4142
|
# @param [Hash] opts the optional parameters
|
3963
4143
|
# @return [CampaignSequence]
|
3964
|
-
def
|
3965
|
-
data, status_code, headers =
|
4144
|
+
def get_sequences_sequence_id(sequence_id, opts = {})
|
4145
|
+
data, status_code, headers = get_sequences_sequence_id_with_http_info(sequence_id, opts)
|
3966
4146
|
return data
|
3967
4147
|
end
|
3968
4148
|
|
@@ -3971,13 +4151,13 @@ module PureCloud
|
|
3971
4151
|
# @param sequence_id Campaign Sequence ID
|
3972
4152
|
# @param [Hash] opts the optional parameters
|
3973
4153
|
# @return [Array<(CampaignSequence, Fixnum, Hash)>] CampaignSequence data, response status code and response headers
|
3974
|
-
def
|
4154
|
+
def get_sequences_sequence_id_with_http_info(sequence_id, opts = {})
|
3975
4155
|
if @api_client.config.debugging
|
3976
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
4156
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_sequences_sequence_id ..."
|
3977
4157
|
end
|
3978
4158
|
|
3979
4159
|
# verify the required parameter 'sequence_id' is set
|
3980
|
-
fail "Missing the required parameter 'sequence_id' when calling
|
4160
|
+
fail "Missing the required parameter 'sequence_id' when calling get_sequences_sequence_id" if sequence_id.nil?
|
3981
4161
|
|
3982
4162
|
# resource path
|
3983
4163
|
path = "/api/v1/outbound/sequences/{sequenceId}".sub('{format}','json').sub('{' + 'sequenceId' + '}', sequence_id.to_s)
|
@@ -4012,7 +4192,7 @@ module PureCloud
|
|
4012
4192
|
:auth_names => auth_names,
|
4013
4193
|
:return_type => 'CampaignSequence')
|
4014
4194
|
if @api_client.config.debugging
|
4015
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
4195
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_sequences_sequence_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4016
4196
|
end
|
4017
4197
|
return data, status_code, headers
|
4018
4198
|
end
|
@@ -4023,8 +4203,8 @@ module PureCloud
|
|
4023
4203
|
# @param [Hash] opts the optional parameters
|
4024
4204
|
# @option opts [CampaignSequence] :body Organization
|
4025
4205
|
# @return [CampaignSequence]
|
4026
|
-
def
|
4027
|
-
data, status_code, headers =
|
4206
|
+
def put_sequences_sequence_id(sequence_id, opts = {})
|
4207
|
+
data, status_code, headers = put_sequences_sequence_id_with_http_info(sequence_id, opts)
|
4028
4208
|
return data
|
4029
4209
|
end
|
4030
4210
|
|
@@ -4034,13 +4214,13 @@ module PureCloud
|
|
4034
4214
|
# @param [Hash] opts the optional parameters
|
4035
4215
|
# @option opts [CampaignSequence] :body Organization
|
4036
4216
|
# @return [Array<(CampaignSequence, Fixnum, Hash)>] CampaignSequence data, response status code and response headers
|
4037
|
-
def
|
4217
|
+
def put_sequences_sequence_id_with_http_info(sequence_id, opts = {})
|
4038
4218
|
if @api_client.config.debugging
|
4039
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
4219
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#put_sequences_sequence_id ..."
|
4040
4220
|
end
|
4041
4221
|
|
4042
4222
|
# verify the required parameter 'sequence_id' is set
|
4043
|
-
fail "Missing the required parameter 'sequence_id' when calling
|
4223
|
+
fail "Missing the required parameter 'sequence_id' when calling put_sequences_sequence_id" if sequence_id.nil?
|
4044
4224
|
|
4045
4225
|
# resource path
|
4046
4226
|
path = "/api/v1/outbound/sequences/{sequenceId}".sub('{format}','json').sub('{' + 'sequenceId' + '}', sequence_id.to_s)
|
@@ -4075,7 +4255,7 @@ module PureCloud
|
|
4075
4255
|
:auth_names => auth_names,
|
4076
4256
|
:return_type => 'CampaignSequence')
|
4077
4257
|
if @api_client.config.debugging
|
4078
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
4258
|
+
@api_client.config.logger.debug "API called: OutboundApi#put_sequences_sequence_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4079
4259
|
end
|
4080
4260
|
return data, status_code, headers
|
4081
4261
|
end
|
@@ -4085,8 +4265,8 @@ module PureCloud
|
|
4085
4265
|
# @param sequence_id Campaign Sequence ID
|
4086
4266
|
# @param [Hash] opts the optional parameters
|
4087
4267
|
# @return [String]
|
4088
|
-
def
|
4089
|
-
data, status_code, headers =
|
4268
|
+
def delete_sequences_sequence_id(sequence_id, opts = {})
|
4269
|
+
data, status_code, headers = delete_sequences_sequence_id_with_http_info(sequence_id, opts)
|
4090
4270
|
return data
|
4091
4271
|
end
|
4092
4272
|
|
@@ -4095,13 +4275,13 @@ module PureCloud
|
|
4095
4275
|
# @param sequence_id Campaign Sequence ID
|
4096
4276
|
# @param [Hash] opts the optional parameters
|
4097
4277
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
4098
|
-
def
|
4278
|
+
def delete_sequences_sequence_id_with_http_info(sequence_id, opts = {})
|
4099
4279
|
if @api_client.config.debugging
|
4100
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
4280
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#delete_sequences_sequence_id ..."
|
4101
4281
|
end
|
4102
4282
|
|
4103
4283
|
# verify the required parameter 'sequence_id' is set
|
4104
|
-
fail "Missing the required parameter 'sequence_id' when calling
|
4284
|
+
fail "Missing the required parameter 'sequence_id' when calling delete_sequences_sequence_id" if sequence_id.nil?
|
4105
4285
|
|
4106
4286
|
# resource path
|
4107
4287
|
path = "/api/v1/outbound/sequences/{sequenceId}".sub('{format}','json').sub('{' + 'sequenceId' + '}', sequence_id.to_s)
|
@@ -4136,7 +4316,7 @@ module PureCloud
|
|
4136
4316
|
:auth_names => auth_names,
|
4137
4317
|
:return_type => 'String')
|
4138
4318
|
if @api_client.config.debugging
|
4139
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
4319
|
+
@api_client.config.logger.debug "API called: OutboundApi#delete_sequences_sequence_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4140
4320
|
end
|
4141
4321
|
return data, status_code, headers
|
4142
4322
|
end
|
@@ -4202,8 +4382,8 @@ module PureCloud
|
|
4202
4382
|
# @param [Hash] opts the optional parameters
|
4203
4383
|
# @option opts [WrapUpCodeMapping] :body wrapUpCodeMapping
|
4204
4384
|
# @return [WrapUpCodeMapping]
|
4205
|
-
def
|
4206
|
-
data, status_code, headers =
|
4385
|
+
def put_wrapupcodemappings(opts = {})
|
4386
|
+
data, status_code, headers = put_wrapupcodemappings_with_http_info(opts)
|
4207
4387
|
return data
|
4208
4388
|
end
|
4209
4389
|
|
@@ -4212,9 +4392,9 @@ module PureCloud
|
|
4212
4392
|
# @param [Hash] opts the optional parameters
|
4213
4393
|
# @option opts [WrapUpCodeMapping] :body wrapUpCodeMapping
|
4214
4394
|
# @return [Array<(WrapUpCodeMapping, Fixnum, Hash)>] WrapUpCodeMapping data, response status code and response headers
|
4215
|
-
def
|
4395
|
+
def put_wrapupcodemappings_with_http_info(opts = {})
|
4216
4396
|
if @api_client.config.debugging
|
4217
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
4397
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#put_wrapupcodemappings ..."
|
4218
4398
|
end
|
4219
4399
|
|
4220
4400
|
# resource path
|
@@ -4250,7 +4430,7 @@ module PureCloud
|
|
4250
4430
|
:auth_names => auth_names,
|
4251
4431
|
:return_type => 'WrapUpCodeMapping')
|
4252
4432
|
if @api_client.config.debugging
|
4253
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
4433
|
+
@api_client.config.logger.debug "API called: OutboundApi#put_wrapupcodemappings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4254
4434
|
end
|
4255
4435
|
return data, status_code, headers
|
4256
4436
|
end
|