purecloud 0.0.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config-ruby.json +1 -1
- data/lib/purecloud/api/analytics_api.rb +57 -57
- data/lib/purecloud/api/architect_api.rb +16 -16
- data/lib/purecloud/api/attributes_api.rb +33 -33
- data/lib/purecloud/api/authorization_api.rb +53 -53
- data/lib/purecloud/api/compliance_api.rb +5 -5
- data/lib/purecloud/api/configuration_api.rb +303 -303
- data/lib/purecloud/api/content_management_api.rb +215 -215
- data/lib/purecloud/api/conversations_api.rb +159 -159
- data/lib/purecloud/api/downloads_api.rb +6 -6
- data/lib/purecloud/api/fax_api.rb +6 -6
- data/lib/purecloud/api/geolocation_api.rb +24 -24
- data/lib/purecloud/api/greetings_api.rb +56 -56
- data/lib/purecloud/api/groups_api.rb +17 -17
- data/lib/purecloud/api/languages_api.rb +11 -11
- data/lib/purecloud/api/licensing_api.rb +17 -17
- data/lib/purecloud/api/locations_api.rb +11 -11
- data/lib/purecloud/api/notifications_api.rb +17 -17
- data/lib/purecloud/api/o_auth_api.rb +97 -97
- data/lib/purecloud/api/orphaned_recordings_api.rb +17 -17
- data/lib/purecloud/api/outbound_api.rb +259 -259
- data/lib/purecloud/api/presence_api.rb +53 -53
- data/lib/purecloud/api/quality_api.rb +101 -101
- data/lib/purecloud/api/routing_api.rb +125 -125
- data/lib/purecloud/api/scripts_api.rb +60 -60
- data/lib/purecloud/api/search_api.rb +5 -5
- data/lib/purecloud/api/stations_api.rb +17 -17
- data/lib/purecloud/api/telephony_providers_edge_api.rb +212 -212
- data/lib/purecloud/api/user_recordings_api.rb +34 -34
- data/lib/purecloud/api/users_api.rb +123 -123
- data/lib/purecloud/api/utilities_api.rb +15 -15
- data/lib/purecloud/api/voicemail_api.rb +29 -29
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +2 -2
@@ -16,8 +16,8 @@ module PureCloud
|
|
16
16
|
# @option opts [String] :sort_by variable name requested to sort by
|
17
17
|
# @option opts [Array<String>] :expand variable name requested by expand list
|
18
18
|
# @return [OrphanRecordingListing]
|
19
|
-
def
|
20
|
-
data, status_code, headers =
|
19
|
+
def get(opts = {})
|
20
|
+
data, status_code, headers = get_with_http_info(opts)
|
21
21
|
return data
|
22
22
|
end
|
23
23
|
|
@@ -29,9 +29,9 @@ module PureCloud
|
|
29
29
|
# @option opts [String] :sort_by variable name requested to sort by
|
30
30
|
# @option opts [Array<String>] :expand variable name requested by expand list
|
31
31
|
# @return [Array<(OrphanRecordingListing, Fixnum, Hash)>] OrphanRecordingListing data, response status code and response headers
|
32
|
-
def
|
32
|
+
def get_with_http_info(opts = {})
|
33
33
|
if @api_client.config.debugging
|
34
|
-
@api_client.config.logger.debug "Calling API: OrphanedRecordingsApi#
|
34
|
+
@api_client.config.logger.debug "Calling API: OrphanedRecordingsApi#get ..."
|
35
35
|
end
|
36
36
|
|
37
37
|
# resource path
|
@@ -71,7 +71,7 @@ module PureCloud
|
|
71
71
|
:auth_names => auth_names,
|
72
72
|
:return_type => 'OrphanRecordingListing')
|
73
73
|
if @api_client.config.debugging
|
74
|
-
@api_client.config.logger.debug "API called: OrphanedRecordingsApi#
|
74
|
+
@api_client.config.logger.debug "API called: OrphanedRecordingsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
75
75
|
end
|
76
76
|
return data, status_code, headers
|
77
77
|
end
|
@@ -81,8 +81,8 @@ module PureCloud
|
|
81
81
|
# @param orphan_id Orphan ID
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
83
|
# @return [OrphanRecording]
|
84
|
-
def
|
85
|
-
data, status_code, headers =
|
84
|
+
def get_orphan(orphan_id, opts = {})
|
85
|
+
data, status_code, headers = get_orphan_with_http_info(orphan_id, opts)
|
86
86
|
return data
|
87
87
|
end
|
88
88
|
|
@@ -91,13 +91,13 @@ module PureCloud
|
|
91
91
|
# @param orphan_id Orphan ID
|
92
92
|
# @param [Hash] opts the optional parameters
|
93
93
|
# @return [Array<(OrphanRecording, Fixnum, Hash)>] OrphanRecording data, response status code and response headers
|
94
|
-
def
|
94
|
+
def get_orphan_with_http_info(orphan_id, opts = {})
|
95
95
|
if @api_client.config.debugging
|
96
|
-
@api_client.config.logger.debug "Calling API: OrphanedRecordingsApi#
|
96
|
+
@api_client.config.logger.debug "Calling API: OrphanedRecordingsApi#get_orphan ..."
|
97
97
|
end
|
98
98
|
|
99
99
|
# verify the required parameter 'orphan_id' is set
|
100
|
-
fail "Missing the required parameter 'orphan_id' when calling
|
100
|
+
fail "Missing the required parameter 'orphan_id' when calling get_orphan" if orphan_id.nil?
|
101
101
|
|
102
102
|
# resource path
|
103
103
|
path = "/api/v1/orphanrecordings/{orphanId}".sub('{format}','json').sub('{' + 'orphanId' + '}', orphan_id.to_s)
|
@@ -132,7 +132,7 @@ module PureCloud
|
|
132
132
|
:auth_names => auth_names,
|
133
133
|
:return_type => 'OrphanRecording')
|
134
134
|
if @api_client.config.debugging
|
135
|
-
@api_client.config.logger.debug "API called: OrphanedRecordingsApi#
|
135
|
+
@api_client.config.logger.debug "API called: OrphanedRecordingsApi#get_orphan\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
136
136
|
end
|
137
137
|
return data, status_code, headers
|
138
138
|
end
|
@@ -142,8 +142,8 @@ module PureCloud
|
|
142
142
|
# @param orphan_id Orphan ID
|
143
143
|
# @param [Hash] opts the optional parameters
|
144
144
|
# @return [OrphanRecording]
|
145
|
-
def
|
146
|
-
data, status_code, headers =
|
145
|
+
def delete_orphan(orphan_id, opts = {})
|
146
|
+
data, status_code, headers = delete_orphan_with_http_info(orphan_id, opts)
|
147
147
|
return data
|
148
148
|
end
|
149
149
|
|
@@ -152,13 +152,13 @@ module PureCloud
|
|
152
152
|
# @param orphan_id Orphan ID
|
153
153
|
# @param [Hash] opts the optional parameters
|
154
154
|
# @return [Array<(OrphanRecording, Fixnum, Hash)>] OrphanRecording data, response status code and response headers
|
155
|
-
def
|
155
|
+
def delete_orphan_with_http_info(orphan_id, opts = {})
|
156
156
|
if @api_client.config.debugging
|
157
|
-
@api_client.config.logger.debug "Calling API: OrphanedRecordingsApi#
|
157
|
+
@api_client.config.logger.debug "Calling API: OrphanedRecordingsApi#delete_orphan ..."
|
158
158
|
end
|
159
159
|
|
160
160
|
# verify the required parameter 'orphan_id' is set
|
161
|
-
fail "Missing the required parameter 'orphan_id' when calling
|
161
|
+
fail "Missing the required parameter 'orphan_id' when calling delete_orphan" if orphan_id.nil?
|
162
162
|
|
163
163
|
# resource path
|
164
164
|
path = "/api/v1/orphanrecordings/{orphanId}".sub('{format}','json').sub('{' + 'orphanId' + '}', orphan_id.to_s)
|
@@ -193,7 +193,7 @@ module PureCloud
|
|
193
193
|
:auth_names => auth_names,
|
194
194
|
:return_type => 'OrphanRecording')
|
195
195
|
if @api_client.config.debugging
|
196
|
-
@api_client.config.logger.debug "API called: OrphanedRecordingsApi#
|
196
|
+
@api_client.config.logger.debug "API called: OrphanedRecordingsApi#delete_orphan\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
197
197
|
end
|
198
198
|
return data, status_code, headers
|
199
199
|
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 create_audits(opts = {})
|
22
|
+
data, status_code, headers = create_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 create_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#create_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#create_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 create_callabletimesets(opts = {})
|
172
|
+
data, status_code, headers = create_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 create_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#create_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#create_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_callable_time_set(callable_time_set_id, opts = {})
|
230
|
+
data, status_code, headers = get_callable_time_set_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_callable_time_set_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_callable_time_set ..."
|
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_callable_time_set" 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_callable_time_set\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 update_callable_time_set(callable_time_set_id, opts = {})
|
292
|
+
data, status_code, headers = update_callable_time_set_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 update_callable_time_set_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#update_callable_time_set ..."
|
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 update_callable_time_set" 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#update_callable_time_set\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_callable_time_set(callable_time_set_id, opts = {})
|
354
|
+
data, status_code, headers = delete_callable_time_set_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_callable_time_set_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_callable_time_set ..."
|
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_callable_time_set" 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_callable_time_set\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 create_callanalysisresponsesets(opts = {})
|
497
|
+
data, status_code, headers = create_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 create_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#create_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#create_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_call_analysis_set(call_analysis_set_id, opts = {})
|
555
|
+
data, status_code, headers = get_callanalysisresponsesets_call_analysis_set_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_call_analysis_set_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_call_analysis_set ..."
|
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_call_analysis_set" 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_call_analysis_set\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 update_callanalysisresponsesets_call_analysis_set(call_analysis_set_id, opts = {})
|
617
|
+
data, status_code, headers = update_callanalysisresponsesets_call_analysis_set_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 update_callanalysisresponsesets_call_analysis_set_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#update_callanalysisresponsesets_call_analysis_set ..."
|
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 update_callanalysisresponsesets_call_analysis_set" 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#update_callanalysisresponsesets_call_analysis_set\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_call_analysis_set(call_analysis_set_id, opts = {})
|
679
|
+
data, status_code, headers = delete_callanalysisresponsesets_call_analysis_set_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_call_analysis_set_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_call_analysis_set ..."
|
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_call_analysis_set" 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_call_analysis_set\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 create_campaigns(opts = {})
|
837
|
+
data, status_code, headers = create_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 create_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#create_campaigns ..."
|
849
849
|
end
|
850
850
|
|
851
851
|
# resource path
|
@@ -881,7 +881,7 @@ 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#create_campaigns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
885
885
|
end
|
886
886
|
return data, status_code, headers
|
887
887
|
end
|
@@ -953,8 +953,8 @@ module PureCloud
|
|
953
953
|
# @param [Hash] opts the optional parameters
|
954
954
|
# @option opts [Campaign] :body Campaign
|
955
955
|
# @return [Campaign]
|
956
|
-
def
|
957
|
-
data, status_code, headers =
|
956
|
+
def update_campaign(campaign_id, opts = {})
|
957
|
+
data, status_code, headers = update_campaign_with_http_info(campaign_id, opts)
|
958
958
|
return data
|
959
959
|
end
|
960
960
|
|
@@ -964,13 +964,13 @@ module PureCloud
|
|
964
964
|
# @param [Hash] opts the optional parameters
|
965
965
|
# @option opts [Campaign] :body Campaign
|
966
966
|
# @return [Array<(Campaign, Fixnum, Hash)>] Campaign data, response status code and response headers
|
967
|
-
def
|
967
|
+
def update_campaign_with_http_info(campaign_id, opts = {})
|
968
968
|
if @api_client.config.debugging
|
969
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
969
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#update_campaign ..."
|
970
970
|
end
|
971
971
|
|
972
972
|
# verify the required parameter 'campaign_id' is set
|
973
|
-
fail "Missing the required parameter 'campaign_id' when calling
|
973
|
+
fail "Missing the required parameter 'campaign_id' when calling update_campaign" if campaign_id.nil?
|
974
974
|
|
975
975
|
# resource path
|
976
976
|
path = "/api/v1/outbound/campaigns/{campaignId}".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
|
@@ -1005,7 +1005,7 @@ module PureCloud
|
|
1005
1005
|
:auth_names => auth_names,
|
1006
1006
|
:return_type => 'Campaign')
|
1007
1007
|
if @api_client.config.debugging
|
1008
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1008
|
+
@api_client.config.logger.debug "API called: OutboundApi#update_campaign\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1009
1009
|
end
|
1010
1010
|
return data, status_code, headers
|
1011
1011
|
end
|
@@ -1078,8 +1078,8 @@ module PureCloud
|
|
1078
1078
|
# @param [Hash] opts the optional parameters
|
1079
1079
|
# @option opts [Agent] :body agent
|
1080
1080
|
# @return [String]
|
1081
|
-
def
|
1082
|
-
data, status_code, headers =
|
1081
|
+
def update_campaign_agents_by_user_id(campaign_id, user_id, opts = {})
|
1082
|
+
data, status_code, headers = update_campaign_agents_by_user_id_with_http_info(campaign_id, user_id, opts)
|
1083
1083
|
return data
|
1084
1084
|
end
|
1085
1085
|
|
@@ -1090,16 +1090,16 @@ module PureCloud
|
|
1090
1090
|
# @param [Hash] opts the optional parameters
|
1091
1091
|
# @option opts [Agent] :body agent
|
1092
1092
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1093
|
-
def
|
1093
|
+
def update_campaign_agents_by_user_id_with_http_info(campaign_id, user_id, opts = {})
|
1094
1094
|
if @api_client.config.debugging
|
1095
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1095
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#update_campaign_agents_by_user_id ..."
|
1096
1096
|
end
|
1097
1097
|
|
1098
1098
|
# verify the required parameter 'campaign_id' is set
|
1099
|
-
fail "Missing the required parameter 'campaign_id' when calling
|
1099
|
+
fail "Missing the required parameter 'campaign_id' when calling update_campaign_agents_by_user_id" if campaign_id.nil?
|
1100
1100
|
|
1101
1101
|
# verify the required parameter 'user_id' is set
|
1102
|
-
fail "Missing the required parameter 'user_id' when calling
|
1102
|
+
fail "Missing the required parameter 'user_id' when calling update_campaign_agents_by_user_id" if user_id.nil?
|
1103
1103
|
|
1104
1104
|
# resource path
|
1105
1105
|
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 +1134,7 @@ module PureCloud
|
|
1134
1134
|
:auth_names => auth_names,
|
1135
1135
|
:return_type => 'String')
|
1136
1136
|
if @api_client.config.debugging
|
1137
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1137
|
+
@api_client.config.logger.debug "API called: OutboundApi#update_campaign_agents_by_user_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1138
1138
|
end
|
1139
1139
|
return data, status_code, headers
|
1140
1140
|
end
|
@@ -1145,8 +1145,8 @@ module PureCloud
|
|
1145
1145
|
# @param [Hash] opts the optional parameters
|
1146
1146
|
# @option opts [ContactCallbackRequest] :body ContactCallbackRequest
|
1147
1147
|
# @return [ContactCallbackRequest]
|
1148
|
-
def
|
1149
|
-
data, status_code, headers =
|
1148
|
+
def create_campaign_callback_schedule(campaign_id, opts = {})
|
1149
|
+
data, status_code, headers = create_campaign_callback_schedule_with_http_info(campaign_id, opts)
|
1150
1150
|
return data
|
1151
1151
|
end
|
1152
1152
|
|
@@ -1156,13 +1156,13 @@ module PureCloud
|
|
1156
1156
|
# @param [Hash] opts the optional parameters
|
1157
1157
|
# @option opts [ContactCallbackRequest] :body ContactCallbackRequest
|
1158
1158
|
# @return [Array<(ContactCallbackRequest, Fixnum, Hash)>] ContactCallbackRequest data, response status code and response headers
|
1159
|
-
def
|
1159
|
+
def create_campaign_callback_schedule_with_http_info(campaign_id, opts = {})
|
1160
1160
|
if @api_client.config.debugging
|
1161
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1161
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#create_campaign_callback_schedule ..."
|
1162
1162
|
end
|
1163
1163
|
|
1164
1164
|
# verify the required parameter 'campaign_id' is set
|
1165
|
-
fail "Missing the required parameter 'campaign_id' when calling
|
1165
|
+
fail "Missing the required parameter 'campaign_id' when calling create_campaign_callback_schedule" if campaign_id.nil?
|
1166
1166
|
|
1167
1167
|
# resource path
|
1168
1168
|
path = "/api/v1/outbound/campaigns/{campaignId}/callback/schedule".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
|
@@ -1197,7 +1197,7 @@ module PureCloud
|
|
1197
1197
|
:auth_names => auth_names,
|
1198
1198
|
:return_type => 'ContactCallbackRequest')
|
1199
1199
|
if @api_client.config.debugging
|
1200
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1200
|
+
@api_client.config.logger.debug "API called: OutboundApi#create_campaign_callback_schedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1201
1201
|
end
|
1202
1202
|
return data, status_code, headers
|
1203
1203
|
end
|
@@ -1420,8 +1420,8 @@ module PureCloud
|
|
1420
1420
|
# @param [Hash] opts the optional parameters
|
1421
1421
|
# @option opts [ContactList] :body ContactList
|
1422
1422
|
# @return [ContactList]
|
1423
|
-
def
|
1424
|
-
data, status_code, headers =
|
1423
|
+
def create_contactlists(opts = {})
|
1424
|
+
data, status_code, headers = create_contactlists_with_http_info(opts)
|
1425
1425
|
return data
|
1426
1426
|
end
|
1427
1427
|
|
@@ -1430,9 +1430,9 @@ module PureCloud
|
|
1430
1430
|
# @param [Hash] opts the optional parameters
|
1431
1431
|
# @option opts [ContactList] :body ContactList
|
1432
1432
|
# @return [Array<(ContactList, Fixnum, Hash)>] ContactList data, response status code and response headers
|
1433
|
-
def
|
1433
|
+
def create_contactlists_with_http_info(opts = {})
|
1434
1434
|
if @api_client.config.debugging
|
1435
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1435
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#create_contactlists ..."
|
1436
1436
|
end
|
1437
1437
|
|
1438
1438
|
# resource path
|
@@ -1468,7 +1468,7 @@ module PureCloud
|
|
1468
1468
|
:auth_names => auth_names,
|
1469
1469
|
:return_type => 'ContactList')
|
1470
1470
|
if @api_client.config.debugging
|
1471
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1471
|
+
@api_client.config.logger.debug "API called: OutboundApi#create_contactlists\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1472
1472
|
end
|
1473
1473
|
return data, status_code, headers
|
1474
1474
|
end
|
@@ -1478,8 +1478,8 @@ module PureCloud
|
|
1478
1478
|
# @param [Hash] opts the optional parameters
|
1479
1479
|
# @option opts [Array<PenetrationRateId>] :body PenetrationRateIdentifierList
|
1480
1480
|
# @return [Array<PenetrationRate>]
|
1481
|
-
def
|
1482
|
-
data, status_code, headers =
|
1481
|
+
def create_contactlists_penetrationrates(opts = {})
|
1482
|
+
data, status_code, headers = create_contactlists_penetrationrates_with_http_info(opts)
|
1483
1483
|
return data
|
1484
1484
|
end
|
1485
1485
|
|
@@ -1488,9 +1488,9 @@ module PureCloud
|
|
1488
1488
|
# @param [Hash] opts the optional parameters
|
1489
1489
|
# @option opts [Array<PenetrationRateId>] :body PenetrationRateIdentifierList
|
1490
1490
|
# @return [Array<(Array<PenetrationRate>, Fixnum, Hash)>] Array<PenetrationRate> data, response status code and response headers
|
1491
|
-
def
|
1491
|
+
def create_contactlists_penetrationrates_with_http_info(opts = {})
|
1492
1492
|
if @api_client.config.debugging
|
1493
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1493
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#create_contactlists_penetrationrates ..."
|
1494
1494
|
end
|
1495
1495
|
|
1496
1496
|
# resource path
|
@@ -1526,7 +1526,7 @@ module PureCloud
|
|
1526
1526
|
:auth_names => auth_names,
|
1527
1527
|
:return_type => 'Array<PenetrationRate>')
|
1528
1528
|
if @api_client.config.debugging
|
1529
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1529
|
+
@api_client.config.logger.debug "API called: OutboundApi#create_contactlists_penetrationrates\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1530
1530
|
end
|
1531
1531
|
return data, status_code, headers
|
1532
1532
|
end
|
@@ -1539,8 +1539,8 @@ module PureCloud
|
|
1539
1539
|
# @option opts [BOOLEAN] :import_status Import status
|
1540
1540
|
# @option opts [BOOLEAN] :include_size Include size
|
1541
1541
|
# @return [ContactList]
|
1542
|
-
def
|
1543
|
-
data, status_code, headers =
|
1542
|
+
def get_contact_list(contact_list_id, opts = {})
|
1543
|
+
data, status_code, headers = get_contact_list_with_http_info(contact_list_id, opts)
|
1544
1544
|
return data
|
1545
1545
|
end
|
1546
1546
|
|
@@ -1552,13 +1552,13 @@ module PureCloud
|
|
1552
1552
|
# @option opts [BOOLEAN] :import_status Import status
|
1553
1553
|
# @option opts [BOOLEAN] :include_size Include size
|
1554
1554
|
# @return [Array<(ContactList, Fixnum, Hash)>] ContactList data, response status code and response headers
|
1555
|
-
def
|
1555
|
+
def get_contact_list_with_http_info(contact_list_id, opts = {})
|
1556
1556
|
if @api_client.config.debugging
|
1557
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1557
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_contact_list ..."
|
1558
1558
|
end
|
1559
1559
|
|
1560
1560
|
# verify the required parameter 'contact_list_id' is set
|
1561
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
1561
|
+
fail "Missing the required parameter 'contact_list_id' when calling get_contact_list" if contact_list_id.nil?
|
1562
1562
|
|
1563
1563
|
# resource path
|
1564
1564
|
path = "/api/v1/outbound/contactlists/{contactListId}".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
|
@@ -1596,7 +1596,7 @@ module PureCloud
|
|
1596
1596
|
:auth_names => auth_names,
|
1597
1597
|
:return_type => 'ContactList')
|
1598
1598
|
if @api_client.config.debugging
|
1599
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1599
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_contact_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1600
1600
|
end
|
1601
1601
|
return data, status_code, headers
|
1602
1602
|
end
|
@@ -1607,8 +1607,8 @@ module PureCloud
|
|
1607
1607
|
# @param [Hash] opts the optional parameters
|
1608
1608
|
# @option opts [ContactList] :body ContactList
|
1609
1609
|
# @return [ContactList]
|
1610
|
-
def
|
1611
|
-
data, status_code, headers =
|
1610
|
+
def update_contact_list(contact_list_id, opts = {})
|
1611
|
+
data, status_code, headers = update_contact_list_with_http_info(contact_list_id, opts)
|
1612
1612
|
return data
|
1613
1613
|
end
|
1614
1614
|
|
@@ -1618,13 +1618,13 @@ module PureCloud
|
|
1618
1618
|
# @param [Hash] opts the optional parameters
|
1619
1619
|
# @option opts [ContactList] :body ContactList
|
1620
1620
|
# @return [Array<(ContactList, Fixnum, Hash)>] ContactList data, response status code and response headers
|
1621
|
-
def
|
1621
|
+
def update_contact_list_with_http_info(contact_list_id, opts = {})
|
1622
1622
|
if @api_client.config.debugging
|
1623
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1623
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#update_contact_list ..."
|
1624
1624
|
end
|
1625
1625
|
|
1626
1626
|
# verify the required parameter 'contact_list_id' is set
|
1627
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
1627
|
+
fail "Missing the required parameter 'contact_list_id' when calling update_contact_list" if contact_list_id.nil?
|
1628
1628
|
|
1629
1629
|
# resource path
|
1630
1630
|
path = "/api/v1/outbound/contactlists/{contactListId}".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
|
@@ -1659,7 +1659,7 @@ module PureCloud
|
|
1659
1659
|
:auth_names => auth_names,
|
1660
1660
|
:return_type => 'ContactList')
|
1661
1661
|
if @api_client.config.debugging
|
1662
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1662
|
+
@api_client.config.logger.debug "API called: OutboundApi#update_contact_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1663
1663
|
end
|
1664
1664
|
return data, status_code, headers
|
1665
1665
|
end
|
@@ -1669,8 +1669,8 @@ module PureCloud
|
|
1669
1669
|
# @param contact_list_id ContactList ID
|
1670
1670
|
# @param [Hash] opts the optional parameters
|
1671
1671
|
# @return [String]
|
1672
|
-
def
|
1673
|
-
data, status_code, headers =
|
1672
|
+
def delete_contact_list(contact_list_id, opts = {})
|
1673
|
+
data, status_code, headers = delete_contact_list_with_http_info(contact_list_id, opts)
|
1674
1674
|
return data
|
1675
1675
|
end
|
1676
1676
|
|
@@ -1679,13 +1679,13 @@ module PureCloud
|
|
1679
1679
|
# @param contact_list_id ContactList ID
|
1680
1680
|
# @param [Hash] opts the optional parameters
|
1681
1681
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1682
|
-
def
|
1682
|
+
def delete_contact_list_with_http_info(contact_list_id, opts = {})
|
1683
1683
|
if @api_client.config.debugging
|
1684
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1684
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#delete_contact_list ..."
|
1685
1685
|
end
|
1686
1686
|
|
1687
1687
|
# verify the required parameter 'contact_list_id' is set
|
1688
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
1688
|
+
fail "Missing the required parameter 'contact_list_id' when calling delete_contact_list" if contact_list_id.nil?
|
1689
1689
|
|
1690
1690
|
# resource path
|
1691
1691
|
path = "/api/v1/outbound/contactlists/{contactListId}".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
|
@@ -1720,7 +1720,7 @@ module PureCloud
|
|
1720
1720
|
:auth_names => auth_names,
|
1721
1721
|
:return_type => 'String')
|
1722
1722
|
if @api_client.config.debugging
|
1723
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1723
|
+
@api_client.config.logger.debug "API called: OutboundApi#delete_contact_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1724
1724
|
end
|
1725
1725
|
return data, status_code, headers
|
1726
1726
|
end
|
@@ -1732,8 +1732,8 @@ module PureCloud
|
|
1732
1732
|
# @option opts [Array<Contact>] :body Contact
|
1733
1733
|
# @option opts [BOOLEAN] :priority
|
1734
1734
|
# @return [Contact]
|
1735
|
-
def
|
1736
|
-
data, status_code, headers =
|
1735
|
+
def create_contact_list_contacts(contact_list_id, opts = {})
|
1736
|
+
data, status_code, headers = create_contact_list_contacts_with_http_info(contact_list_id, opts)
|
1737
1737
|
return data
|
1738
1738
|
end
|
1739
1739
|
|
@@ -1744,13 +1744,13 @@ module PureCloud
|
|
1744
1744
|
# @option opts [Array<Contact>] :body Contact
|
1745
1745
|
# @option opts [BOOLEAN] :priority
|
1746
1746
|
# @return [Array<(Contact, Fixnum, Hash)>] Contact data, response status code and response headers
|
1747
|
-
def
|
1747
|
+
def create_contact_list_contacts_with_http_info(contact_list_id, opts = {})
|
1748
1748
|
if @api_client.config.debugging
|
1749
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1749
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#create_contact_list_contacts ..."
|
1750
1750
|
end
|
1751
1751
|
|
1752
1752
|
# verify the required parameter 'contact_list_id' is set
|
1753
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
1753
|
+
fail "Missing the required parameter 'contact_list_id' when calling create_contact_list_contacts" if contact_list_id.nil?
|
1754
1754
|
|
1755
1755
|
# resource path
|
1756
1756
|
path = "/api/v1/outbound/contactlists/{contactListId}/contacts".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
|
@@ -1786,7 +1786,7 @@ module PureCloud
|
|
1786
1786
|
:auth_names => auth_names,
|
1787
1787
|
:return_type => 'Contact')
|
1788
1788
|
if @api_client.config.debugging
|
1789
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1789
|
+
@api_client.config.logger.debug "API called: OutboundApi#create_contact_list_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1790
1790
|
end
|
1791
1791
|
return data, status_code, headers
|
1792
1792
|
end
|
@@ -1797,8 +1797,8 @@ module PureCloud
|
|
1797
1797
|
# @param contact_id Contact ID
|
1798
1798
|
# @param [Hash] opts the optional parameters
|
1799
1799
|
# @return [Contact]
|
1800
|
-
def
|
1801
|
-
data, status_code, headers =
|
1800
|
+
def get_contact_list_contacts_by_contact_id(contact_list_id, contact_id, opts = {})
|
1801
|
+
data, status_code, headers = get_contact_list_contacts_by_contact_id_with_http_info(contact_list_id, contact_id, opts)
|
1802
1802
|
return data
|
1803
1803
|
end
|
1804
1804
|
|
@@ -1808,16 +1808,16 @@ module PureCloud
|
|
1808
1808
|
# @param contact_id Contact ID
|
1809
1809
|
# @param [Hash] opts the optional parameters
|
1810
1810
|
# @return [Array<(Contact, Fixnum, Hash)>] Contact data, response status code and response headers
|
1811
|
-
def
|
1811
|
+
def get_contact_list_contacts_by_contact_id_with_http_info(contact_list_id, contact_id, opts = {})
|
1812
1812
|
if @api_client.config.debugging
|
1813
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1813
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_contact_list_contacts_by_contact_id ..."
|
1814
1814
|
end
|
1815
1815
|
|
1816
1816
|
# verify the required parameter 'contact_list_id' is set
|
1817
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
1817
|
+
fail "Missing the required parameter 'contact_list_id' when calling get_contact_list_contacts_by_contact_id" if contact_list_id.nil?
|
1818
1818
|
|
1819
1819
|
# verify the required parameter 'contact_id' is set
|
1820
|
-
fail "Missing the required parameter 'contact_id' when calling
|
1820
|
+
fail "Missing the required parameter 'contact_id' when calling get_contact_list_contacts_by_contact_id" if contact_id.nil?
|
1821
1821
|
|
1822
1822
|
# resource path
|
1823
1823
|
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 +1852,7 @@ module PureCloud
|
|
1852
1852
|
:auth_names => auth_names,
|
1853
1853
|
:return_type => 'Contact')
|
1854
1854
|
if @api_client.config.debugging
|
1855
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1855
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_contact_list_contacts_by_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1856
1856
|
end
|
1857
1857
|
return data, status_code, headers
|
1858
1858
|
end
|
@@ -1864,8 +1864,8 @@ module PureCloud
|
|
1864
1864
|
# @param [Hash] opts the optional parameters
|
1865
1865
|
# @option opts [Contact] :body Contact
|
1866
1866
|
# @return [Contact]
|
1867
|
-
def
|
1868
|
-
data, status_code, headers =
|
1867
|
+
def update_contact_list_contacts_by_contact_id(contact_list_id, contact_id, opts = {})
|
1868
|
+
data, status_code, headers = update_contact_list_contacts_by_contact_id_with_http_info(contact_list_id, contact_id, opts)
|
1869
1869
|
return data
|
1870
1870
|
end
|
1871
1871
|
|
@@ -1876,16 +1876,16 @@ module PureCloud
|
|
1876
1876
|
# @param [Hash] opts the optional parameters
|
1877
1877
|
# @option opts [Contact] :body Contact
|
1878
1878
|
# @return [Array<(Contact, Fixnum, Hash)>] Contact data, response status code and response headers
|
1879
|
-
def
|
1879
|
+
def update_contact_list_contacts_by_contact_id_with_http_info(contact_list_id, contact_id, opts = {})
|
1880
1880
|
if @api_client.config.debugging
|
1881
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1881
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#update_contact_list_contacts_by_contact_id ..."
|
1882
1882
|
end
|
1883
1883
|
|
1884
1884
|
# verify the required parameter 'contact_list_id' is set
|
1885
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
1885
|
+
fail "Missing the required parameter 'contact_list_id' when calling update_contact_list_contacts_by_contact_id" if contact_list_id.nil?
|
1886
1886
|
|
1887
1887
|
# verify the required parameter 'contact_id' is set
|
1888
|
-
fail "Missing the required parameter 'contact_id' when calling
|
1888
|
+
fail "Missing the required parameter 'contact_id' when calling update_contact_list_contacts_by_contact_id" if contact_id.nil?
|
1889
1889
|
|
1890
1890
|
# resource path
|
1891
1891
|
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 +1920,7 @@ module PureCloud
|
|
1920
1920
|
:auth_names => auth_names,
|
1921
1921
|
:return_type => 'Contact')
|
1922
1922
|
if @api_client.config.debugging
|
1923
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1923
|
+
@api_client.config.logger.debug "API called: OutboundApi#update_contact_list_contacts_by_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1924
1924
|
end
|
1925
1925
|
return data, status_code, headers
|
1926
1926
|
end
|
@@ -1931,8 +1931,8 @@ module PureCloud
|
|
1931
1931
|
# @param contact_id Contact ID
|
1932
1932
|
# @param [Hash] opts the optional parameters
|
1933
1933
|
# @return [String]
|
1934
|
-
def
|
1935
|
-
data, status_code, headers =
|
1934
|
+
def delete_contact_list_contacts_by_contact_id(contact_list_id, contact_id, opts = {})
|
1935
|
+
data, status_code, headers = delete_contact_list_contacts_by_contact_id_with_http_info(contact_list_id, contact_id, opts)
|
1936
1936
|
return data
|
1937
1937
|
end
|
1938
1938
|
|
@@ -1942,16 +1942,16 @@ module PureCloud
|
|
1942
1942
|
# @param contact_id Contact ID
|
1943
1943
|
# @param [Hash] opts the optional parameters
|
1944
1944
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1945
|
-
def
|
1945
|
+
def delete_contact_list_contacts_by_contact_id_with_http_info(contact_list_id, contact_id, opts = {})
|
1946
1946
|
if @api_client.config.debugging
|
1947
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
1947
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#delete_contact_list_contacts_by_contact_id ..."
|
1948
1948
|
end
|
1949
1949
|
|
1950
1950
|
# verify the required parameter 'contact_list_id' is set
|
1951
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
1951
|
+
fail "Missing the required parameter 'contact_list_id' when calling delete_contact_list_contacts_by_contact_id" if contact_list_id.nil?
|
1952
1952
|
|
1953
1953
|
# verify the required parameter 'contact_id' is set
|
1954
|
-
fail "Missing the required parameter 'contact_id' when calling
|
1954
|
+
fail "Missing the required parameter 'contact_id' when calling delete_contact_list_contacts_by_contact_id" if contact_id.nil?
|
1955
1955
|
|
1956
1956
|
# resource path
|
1957
1957
|
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 +1986,7 @@ module PureCloud
|
|
1986
1986
|
:auth_names => auth_names,
|
1987
1987
|
:return_type => 'String')
|
1988
1988
|
if @api_client.config.debugging
|
1989
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
1989
|
+
@api_client.config.logger.debug "API called: OutboundApi#delete_contact_list_contacts_by_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1990
1990
|
end
|
1991
1991
|
return data, status_code, headers
|
1992
1992
|
end
|
@@ -1996,8 +1996,8 @@ module PureCloud
|
|
1996
1996
|
# @param contact_list_id ContactList ID
|
1997
1997
|
# @param [Hash] opts the optional parameters
|
1998
1998
|
# @return [String]
|
1999
|
-
def
|
2000
|
-
data, status_code, headers =
|
1999
|
+
def create_contact_list_export(contact_list_id, opts = {})
|
2000
|
+
data, status_code, headers = create_contact_list_export_with_http_info(contact_list_id, opts)
|
2001
2001
|
return data
|
2002
2002
|
end
|
2003
2003
|
|
@@ -2006,13 +2006,13 @@ module PureCloud
|
|
2006
2006
|
# @param contact_list_id ContactList ID
|
2007
2007
|
# @param [Hash] opts the optional parameters
|
2008
2008
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
2009
|
-
def
|
2009
|
+
def create_contact_list_export_with_http_info(contact_list_id, opts = {})
|
2010
2010
|
if @api_client.config.debugging
|
2011
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2011
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#create_contact_list_export ..."
|
2012
2012
|
end
|
2013
2013
|
|
2014
2014
|
# verify the required parameter 'contact_list_id' is set
|
2015
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
2015
|
+
fail "Missing the required parameter 'contact_list_id' when calling create_contact_list_export" if contact_list_id.nil?
|
2016
2016
|
|
2017
2017
|
# resource path
|
2018
2018
|
path = "/api/v1/outbound/contactlists/{contactListId}/export".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
|
@@ -2047,7 +2047,7 @@ module PureCloud
|
|
2047
2047
|
:auth_names => auth_names,
|
2048
2048
|
:return_type => 'String')
|
2049
2049
|
if @api_client.config.debugging
|
2050
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2050
|
+
@api_client.config.logger.debug "API called: OutboundApi#create_contact_list_export\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2051
2051
|
end
|
2052
2052
|
return data, status_code, headers
|
2053
2053
|
end
|
@@ -2057,8 +2057,8 @@ module PureCloud
|
|
2057
2057
|
# @param contact_list_id ContactList ID
|
2058
2058
|
# @param [Hash] opts the optional parameters
|
2059
2059
|
# @return [ImportStatus]
|
2060
|
-
def
|
2061
|
-
data, status_code, headers =
|
2060
|
+
def get_contact_list_importstatus(contact_list_id, opts = {})
|
2061
|
+
data, status_code, headers = get_contact_list_importstatus_with_http_info(contact_list_id, opts)
|
2062
2062
|
return data
|
2063
2063
|
end
|
2064
2064
|
|
@@ -2067,13 +2067,13 @@ module PureCloud
|
|
2067
2067
|
# @param contact_list_id ContactList ID
|
2068
2068
|
# @param [Hash] opts the optional parameters
|
2069
2069
|
# @return [Array<(ImportStatus, Fixnum, Hash)>] ImportStatus data, response status code and response headers
|
2070
|
-
def
|
2070
|
+
def get_contact_list_importstatus_with_http_info(contact_list_id, opts = {})
|
2071
2071
|
if @api_client.config.debugging
|
2072
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2072
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_contact_list_importstatus ..."
|
2073
2073
|
end
|
2074
2074
|
|
2075
2075
|
# verify the required parameter 'contact_list_id' is set
|
2076
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
2076
|
+
fail "Missing the required parameter 'contact_list_id' when calling get_contact_list_importstatus" if contact_list_id.nil?
|
2077
2077
|
|
2078
2078
|
# resource path
|
2079
2079
|
path = "/api/v1/outbound/contactlists/{contactListId}/importstatus".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
|
@@ -2108,7 +2108,7 @@ module PureCloud
|
|
2108
2108
|
:auth_names => auth_names,
|
2109
2109
|
:return_type => 'ImportStatus')
|
2110
2110
|
if @api_client.config.debugging
|
2111
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2111
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_contact_list_importstatus\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2112
2112
|
end
|
2113
2113
|
return data, status_code, headers
|
2114
2114
|
end
|
@@ -2119,8 +2119,8 @@ module PureCloud
|
|
2119
2119
|
# @param campaign_id Campaign ID
|
2120
2120
|
# @param [Hash] opts the optional parameters
|
2121
2121
|
# @return [PenetrationRate]
|
2122
|
-
def
|
2123
|
-
data, status_code, headers =
|
2122
|
+
def get_contact_list_by_campaign_id_penetrationrate(contact_list_id, campaign_id, opts = {})
|
2123
|
+
data, status_code, headers = get_contact_list_by_campaign_id_penetrationrate_with_http_info(contact_list_id, campaign_id, opts)
|
2124
2124
|
return data
|
2125
2125
|
end
|
2126
2126
|
|
@@ -2130,16 +2130,16 @@ module PureCloud
|
|
2130
2130
|
# @param campaign_id Campaign ID
|
2131
2131
|
# @param [Hash] opts the optional parameters
|
2132
2132
|
# @return [Array<(PenetrationRate, Fixnum, Hash)>] PenetrationRate data, response status code and response headers
|
2133
|
-
def
|
2133
|
+
def get_contact_list_by_campaign_id_penetrationrate_with_http_info(contact_list_id, campaign_id, opts = {})
|
2134
2134
|
if @api_client.config.debugging
|
2135
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2135
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_contact_list_by_campaign_id_penetrationrate ..."
|
2136
2136
|
end
|
2137
2137
|
|
2138
2138
|
# verify the required parameter 'contact_list_id' is set
|
2139
|
-
fail "Missing the required parameter 'contact_list_id' when calling
|
2139
|
+
fail "Missing the required parameter 'contact_list_id' when calling get_contact_list_by_campaign_id_penetrationrate" if contact_list_id.nil?
|
2140
2140
|
|
2141
2141
|
# verify the required parameter 'campaign_id' is set
|
2142
|
-
fail "Missing the required parameter 'campaign_id' when calling
|
2142
|
+
fail "Missing the required parameter 'campaign_id' when calling get_contact_list_by_campaign_id_penetrationrate" if campaign_id.nil?
|
2143
2143
|
|
2144
2144
|
# resource path
|
2145
2145
|
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 +2174,7 @@ module PureCloud
|
|
2174
2174
|
:auth_names => auth_names,
|
2175
2175
|
:return_type => 'PenetrationRate')
|
2176
2176
|
if @api_client.config.debugging
|
2177
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2177
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_contact_list_by_campaign_id_penetrationrate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2178
2178
|
end
|
2179
2179
|
return data, status_code, headers
|
2180
2180
|
end
|
@@ -2184,8 +2184,8 @@ module PureCloud
|
|
2184
2184
|
# @param conversation_id Conversation ID
|
2185
2185
|
# @param [Hash] opts the optional parameters
|
2186
2186
|
# @return [nil]
|
2187
|
-
def
|
2188
|
-
|
2187
|
+
def create_conversation_dnc(conversation_id, opts = {})
|
2188
|
+
create_conversation_dnc_with_http_info(conversation_id, opts)
|
2189
2189
|
return nil
|
2190
2190
|
end
|
2191
2191
|
|
@@ -2194,13 +2194,13 @@ module PureCloud
|
|
2194
2194
|
# @param conversation_id Conversation ID
|
2195
2195
|
# @param [Hash] opts the optional parameters
|
2196
2196
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2197
|
-
def
|
2197
|
+
def create_conversation_dnc_with_http_info(conversation_id, opts = {})
|
2198
2198
|
if @api_client.config.debugging
|
2199
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2199
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#create_conversation_dnc ..."
|
2200
2200
|
end
|
2201
2201
|
|
2202
2202
|
# verify the required parameter 'conversation_id' is set
|
2203
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
2203
|
+
fail "Missing the required parameter 'conversation_id' when calling create_conversation_dnc" if conversation_id.nil?
|
2204
2204
|
|
2205
2205
|
# resource path
|
2206
2206
|
path = "/api/v1/outbound/conversations/{conversationId}/dnc".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
@@ -2234,7 +2234,7 @@ module PureCloud
|
|
2234
2234
|
:body => post_body,
|
2235
2235
|
:auth_names => auth_names)
|
2236
2236
|
if @api_client.config.debugging
|
2237
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2237
|
+
@api_client.config.logger.debug "API called: OutboundApi#create_conversation_dnc\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2238
2238
|
end
|
2239
2239
|
return data, status_code, headers
|
2240
2240
|
end
|
@@ -2335,8 +2335,8 @@ module PureCloud
|
|
2335
2335
|
# @param [Hash] opts the optional parameters
|
2336
2336
|
# @option opts [DncList] :body DncList
|
2337
2337
|
# @return [DncList]
|
2338
|
-
def
|
2339
|
-
data, status_code, headers =
|
2338
|
+
def create_dnclists(opts = {})
|
2339
|
+
data, status_code, headers = create_dnclists_with_http_info(opts)
|
2340
2340
|
return data
|
2341
2341
|
end
|
2342
2342
|
|
@@ -2345,9 +2345,9 @@ module PureCloud
|
|
2345
2345
|
# @param [Hash] opts the optional parameters
|
2346
2346
|
# @option opts [DncList] :body DncList
|
2347
2347
|
# @return [Array<(DncList, Fixnum, Hash)>] DncList data, response status code and response headers
|
2348
|
-
def
|
2348
|
+
def create_dnclists_with_http_info(opts = {})
|
2349
2349
|
if @api_client.config.debugging
|
2350
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2350
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#create_dnclists ..."
|
2351
2351
|
end
|
2352
2352
|
|
2353
2353
|
# resource path
|
@@ -2383,7 +2383,7 @@ module PureCloud
|
|
2383
2383
|
:auth_names => auth_names,
|
2384
2384
|
:return_type => 'DncList')
|
2385
2385
|
if @api_client.config.debugging
|
2386
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2386
|
+
@api_client.config.logger.debug "API called: OutboundApi#create_dnclists\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2387
2387
|
end
|
2388
2388
|
return data, status_code, headers
|
2389
2389
|
end
|
@@ -2396,8 +2396,8 @@ module PureCloud
|
|
2396
2396
|
# @option opts [BOOLEAN] :import_status Import status
|
2397
2397
|
# @option opts [BOOLEAN] :include_size Include size
|
2398
2398
|
# @return [DncList]
|
2399
|
-
def
|
2400
|
-
data, status_code, headers =
|
2399
|
+
def get_dnc_list(dnc_list_id, opts = {})
|
2400
|
+
data, status_code, headers = get_dnc_list_with_http_info(dnc_list_id, opts)
|
2401
2401
|
return data
|
2402
2402
|
end
|
2403
2403
|
|
@@ -2409,13 +2409,13 @@ module PureCloud
|
|
2409
2409
|
# @option opts [BOOLEAN] :import_status Import status
|
2410
2410
|
# @option opts [BOOLEAN] :include_size Include size
|
2411
2411
|
# @return [Array<(DncList, Fixnum, Hash)>] DncList data, response status code and response headers
|
2412
|
-
def
|
2412
|
+
def get_dnc_list_with_http_info(dnc_list_id, opts = {})
|
2413
2413
|
if @api_client.config.debugging
|
2414
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2414
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_dnc_list ..."
|
2415
2415
|
end
|
2416
2416
|
|
2417
2417
|
# verify the required parameter 'dnc_list_id' is set
|
2418
|
-
fail "Missing the required parameter 'dnc_list_id' when calling
|
2418
|
+
fail "Missing the required parameter 'dnc_list_id' when calling get_dnc_list" if dnc_list_id.nil?
|
2419
2419
|
|
2420
2420
|
# resource path
|
2421
2421
|
path = "/api/v1/outbound/dnclists/{dncListId}".sub('{format}','json').sub('{' + 'dncListId' + '}', dnc_list_id.to_s)
|
@@ -2453,7 +2453,7 @@ module PureCloud
|
|
2453
2453
|
:auth_names => auth_names,
|
2454
2454
|
:return_type => 'DncList')
|
2455
2455
|
if @api_client.config.debugging
|
2456
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2456
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_dnc_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2457
2457
|
end
|
2458
2458
|
return data, status_code, headers
|
2459
2459
|
end
|
@@ -2464,8 +2464,8 @@ module PureCloud
|
|
2464
2464
|
# @param [Hash] opts the optional parameters
|
2465
2465
|
# @option opts [DncList] :body DncList
|
2466
2466
|
# @return [DncList]
|
2467
|
-
def
|
2468
|
-
data, status_code, headers =
|
2467
|
+
def update_dnc_list(dnc_list_id, opts = {})
|
2468
|
+
data, status_code, headers = update_dnc_list_with_http_info(dnc_list_id, opts)
|
2469
2469
|
return data
|
2470
2470
|
end
|
2471
2471
|
|
@@ -2475,13 +2475,13 @@ module PureCloud
|
|
2475
2475
|
# @param [Hash] opts the optional parameters
|
2476
2476
|
# @option opts [DncList] :body DncList
|
2477
2477
|
# @return [Array<(DncList, Fixnum, Hash)>] DncList data, response status code and response headers
|
2478
|
-
def
|
2478
|
+
def update_dnc_list_with_http_info(dnc_list_id, opts = {})
|
2479
2479
|
if @api_client.config.debugging
|
2480
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2480
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#update_dnc_list ..."
|
2481
2481
|
end
|
2482
2482
|
|
2483
2483
|
# verify the required parameter 'dnc_list_id' is set
|
2484
|
-
fail "Missing the required parameter 'dnc_list_id' when calling
|
2484
|
+
fail "Missing the required parameter 'dnc_list_id' when calling update_dnc_list" if dnc_list_id.nil?
|
2485
2485
|
|
2486
2486
|
# resource path
|
2487
2487
|
path = "/api/v1/outbound/dnclists/{dncListId}".sub('{format}','json').sub('{' + 'dncListId' + '}', dnc_list_id.to_s)
|
@@ -2516,7 +2516,7 @@ module PureCloud
|
|
2516
2516
|
:auth_names => auth_names,
|
2517
2517
|
:return_type => 'DncList')
|
2518
2518
|
if @api_client.config.debugging
|
2519
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2519
|
+
@api_client.config.logger.debug "API called: OutboundApi#update_dnc_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2520
2520
|
end
|
2521
2521
|
return data, status_code, headers
|
2522
2522
|
end
|
@@ -2526,8 +2526,8 @@ module PureCloud
|
|
2526
2526
|
# @param dnc_list_id DncList ID
|
2527
2527
|
# @param [Hash] opts the optional parameters
|
2528
2528
|
# @return [String]
|
2529
|
-
def
|
2530
|
-
data, status_code, headers =
|
2529
|
+
def delete_dnc_list(dnc_list_id, opts = {})
|
2530
|
+
data, status_code, headers = delete_dnc_list_with_http_info(dnc_list_id, opts)
|
2531
2531
|
return data
|
2532
2532
|
end
|
2533
2533
|
|
@@ -2536,13 +2536,13 @@ module PureCloud
|
|
2536
2536
|
# @param dnc_list_id DncList ID
|
2537
2537
|
# @param [Hash] opts the optional parameters
|
2538
2538
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
2539
|
-
def
|
2539
|
+
def delete_dnc_list_with_http_info(dnc_list_id, opts = {})
|
2540
2540
|
if @api_client.config.debugging
|
2541
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2541
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#delete_dnc_list ..."
|
2542
2542
|
end
|
2543
2543
|
|
2544
2544
|
# verify the required parameter 'dnc_list_id' is set
|
2545
|
-
fail "Missing the required parameter 'dnc_list_id' when calling
|
2545
|
+
fail "Missing the required parameter 'dnc_list_id' when calling delete_dnc_list" if dnc_list_id.nil?
|
2546
2546
|
|
2547
2547
|
# resource path
|
2548
2548
|
path = "/api/v1/outbound/dnclists/{dncListId}".sub('{format}','json').sub('{' + 'dncListId' + '}', dnc_list_id.to_s)
|
@@ -2577,7 +2577,7 @@ module PureCloud
|
|
2577
2577
|
:auth_names => auth_names,
|
2578
2578
|
:return_type => 'String')
|
2579
2579
|
if @api_client.config.debugging
|
2580
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2580
|
+
@api_client.config.logger.debug "API called: OutboundApi#delete_dnc_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2581
2581
|
end
|
2582
2582
|
return data, status_code, headers
|
2583
2583
|
end
|
@@ -2587,8 +2587,8 @@ module PureCloud
|
|
2587
2587
|
# @param dnc_list_id DncList ID
|
2588
2588
|
# @param [Hash] opts the optional parameters
|
2589
2589
|
# @return [String]
|
2590
|
-
def
|
2591
|
-
data, status_code, headers =
|
2590
|
+
def create_dnc_list_export(dnc_list_id, opts = {})
|
2591
|
+
data, status_code, headers = create_dnc_list_export_with_http_info(dnc_list_id, opts)
|
2592
2592
|
return data
|
2593
2593
|
end
|
2594
2594
|
|
@@ -2597,13 +2597,13 @@ module PureCloud
|
|
2597
2597
|
# @param dnc_list_id DncList ID
|
2598
2598
|
# @param [Hash] opts the optional parameters
|
2599
2599
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
2600
|
-
def
|
2600
|
+
def create_dnc_list_export_with_http_info(dnc_list_id, opts = {})
|
2601
2601
|
if @api_client.config.debugging
|
2602
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2602
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#create_dnc_list_export ..."
|
2603
2603
|
end
|
2604
2604
|
|
2605
2605
|
# verify the required parameter 'dnc_list_id' is set
|
2606
|
-
fail "Missing the required parameter 'dnc_list_id' when calling
|
2606
|
+
fail "Missing the required parameter 'dnc_list_id' when calling create_dnc_list_export" if dnc_list_id.nil?
|
2607
2607
|
|
2608
2608
|
# resource path
|
2609
2609
|
path = "/api/v1/outbound/dnclists/{dncListId}/export".sub('{format}','json').sub('{' + 'dncListId' + '}', dnc_list_id.to_s)
|
@@ -2638,7 +2638,7 @@ module PureCloud
|
|
2638
2638
|
:auth_names => auth_names,
|
2639
2639
|
:return_type => 'String')
|
2640
2640
|
if @api_client.config.debugging
|
2641
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2641
|
+
@api_client.config.logger.debug "API called: OutboundApi#create_dnc_list_export\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2642
2642
|
end
|
2643
2643
|
return data, status_code, headers
|
2644
2644
|
end
|
@@ -2648,8 +2648,8 @@ module PureCloud
|
|
2648
2648
|
# @param dnc_list_id DncList ID
|
2649
2649
|
# @param [Hash] opts the optional parameters
|
2650
2650
|
# @return [ImportStatus]
|
2651
|
-
def
|
2652
|
-
data, status_code, headers =
|
2651
|
+
def get_dnc_list_importstatus(dnc_list_id, opts = {})
|
2652
|
+
data, status_code, headers = get_dnc_list_importstatus_with_http_info(dnc_list_id, opts)
|
2653
2653
|
return data
|
2654
2654
|
end
|
2655
2655
|
|
@@ -2658,13 +2658,13 @@ module PureCloud
|
|
2658
2658
|
# @param dnc_list_id DncList ID
|
2659
2659
|
# @param [Hash] opts the optional parameters
|
2660
2660
|
# @return [Array<(ImportStatus, Fixnum, Hash)>] ImportStatus data, response status code and response headers
|
2661
|
-
def
|
2661
|
+
def get_dnc_list_importstatus_with_http_info(dnc_list_id, opts = {})
|
2662
2662
|
if @api_client.config.debugging
|
2663
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2663
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_dnc_list_importstatus ..."
|
2664
2664
|
end
|
2665
2665
|
|
2666
2666
|
# verify the required parameter 'dnc_list_id' is set
|
2667
|
-
fail "Missing the required parameter 'dnc_list_id' when calling
|
2667
|
+
fail "Missing the required parameter 'dnc_list_id' when calling get_dnc_list_importstatus" if dnc_list_id.nil?
|
2668
2668
|
|
2669
2669
|
# resource path
|
2670
2670
|
path = "/api/v1/outbound/dnclists/{dncListId}/importstatus".sub('{format}','json').sub('{' + 'dncListId' + '}', dnc_list_id.to_s)
|
@@ -2699,7 +2699,7 @@ module PureCloud
|
|
2699
2699
|
:auth_names => auth_names,
|
2700
2700
|
:return_type => 'ImportStatus')
|
2701
2701
|
if @api_client.config.debugging
|
2702
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2702
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_dnc_list_importstatus\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2703
2703
|
end
|
2704
2704
|
return data, status_code, headers
|
2705
2705
|
end
|
@@ -2710,8 +2710,8 @@ module PureCloud
|
|
2710
2710
|
# @param [Hash] opts the optional parameters
|
2711
2711
|
# @option opts [Array<String>] :body DNC Phone Numbers
|
2712
2712
|
# @return [nil]
|
2713
|
-
def
|
2714
|
-
|
2713
|
+
def create_dnc_list_phonenumbers(dnc_list_id, opts = {})
|
2714
|
+
create_dnc_list_phonenumbers_with_http_info(dnc_list_id, opts)
|
2715
2715
|
return nil
|
2716
2716
|
end
|
2717
2717
|
|
@@ -2721,13 +2721,13 @@ module PureCloud
|
|
2721
2721
|
# @param [Hash] opts the optional parameters
|
2722
2722
|
# @option opts [Array<String>] :body DNC Phone Numbers
|
2723
2723
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2724
|
-
def
|
2724
|
+
def create_dnc_list_phonenumbers_with_http_info(dnc_list_id, opts = {})
|
2725
2725
|
if @api_client.config.debugging
|
2726
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2726
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#create_dnc_list_phonenumbers ..."
|
2727
2727
|
end
|
2728
2728
|
|
2729
2729
|
# verify the required parameter 'dnc_list_id' is set
|
2730
|
-
fail "Missing the required parameter 'dnc_list_id' when calling
|
2730
|
+
fail "Missing the required parameter 'dnc_list_id' when calling create_dnc_list_phonenumbers" if dnc_list_id.nil?
|
2731
2731
|
|
2732
2732
|
# resource path
|
2733
2733
|
path = "/api/v1/outbound/dnclists/{dncListId}/phonenumbers".sub('{format}','json').sub('{' + 'dncListId' + '}', dnc_list_id.to_s)
|
@@ -2761,7 +2761,7 @@ module PureCloud
|
|
2761
2761
|
:body => post_body,
|
2762
2762
|
:auth_names => auth_names)
|
2763
2763
|
if @api_client.config.debugging
|
2764
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2764
|
+
@api_client.config.logger.debug "API called: OutboundApi#create_dnc_list_phonenumbers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2765
2765
|
end
|
2766
2766
|
return data, status_code, headers
|
2767
2767
|
end
|
@@ -2889,8 +2889,8 @@ module PureCloud
|
|
2889
2889
|
# @param [Hash] opts the optional parameters
|
2890
2890
|
# @option opts [DialerDispositionCallCommand] :body
|
2891
2891
|
# @return [String]
|
2892
|
-
def
|
2893
|
-
data, status_code, headers =
|
2892
|
+
def create_preview_dispositioncall(preview_id, opts = {})
|
2893
|
+
data, status_code, headers = create_preview_dispositioncall_with_http_info(preview_id, opts)
|
2894
2894
|
return data
|
2895
2895
|
end
|
2896
2896
|
|
@@ -2900,13 +2900,13 @@ module PureCloud
|
|
2900
2900
|
# @param [Hash] opts the optional parameters
|
2901
2901
|
# @option opts [DialerDispositionCallCommand] :body
|
2902
2902
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
2903
|
-
def
|
2903
|
+
def create_preview_dispositioncall_with_http_info(preview_id, opts = {})
|
2904
2904
|
if @api_client.config.debugging
|
2905
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2905
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#create_preview_dispositioncall ..."
|
2906
2906
|
end
|
2907
2907
|
|
2908
2908
|
# verify the required parameter 'preview_id' is set
|
2909
|
-
fail "Missing the required parameter 'preview_id' when calling
|
2909
|
+
fail "Missing the required parameter 'preview_id' when calling create_preview_dispositioncall" if preview_id.nil?
|
2910
2910
|
|
2911
2911
|
# resource path
|
2912
2912
|
path = "/api/v1/outbound/previews/{previewId}/dispositioncall".sub('{format}','json').sub('{' + 'previewId' + '}', preview_id.to_s)
|
@@ -2941,7 +2941,7 @@ module PureCloud
|
|
2941
2941
|
:auth_names => auth_names,
|
2942
2942
|
:return_type => 'String')
|
2943
2943
|
if @api_client.config.debugging
|
2944
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
2944
|
+
@api_client.config.logger.debug "API called: OutboundApi#create_preview_dispositioncall\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2945
2945
|
end
|
2946
2946
|
return data, status_code, headers
|
2947
2947
|
end
|
@@ -2952,8 +2952,8 @@ module PureCloud
|
|
2952
2952
|
# @param [Hash] opts the optional parameters
|
2953
2953
|
# @option opts [DialerPlaceCallCommand] :body
|
2954
2954
|
# @return [DialerCall]
|
2955
|
-
def
|
2956
|
-
data, status_code, headers =
|
2955
|
+
def create_preview_placecall(preview_id, opts = {})
|
2956
|
+
data, status_code, headers = create_preview_placecall_with_http_info(preview_id, opts)
|
2957
2957
|
return data
|
2958
2958
|
end
|
2959
2959
|
|
@@ -2963,13 +2963,13 @@ module PureCloud
|
|
2963
2963
|
# @param [Hash] opts the optional parameters
|
2964
2964
|
# @option opts [DialerPlaceCallCommand] :body
|
2965
2965
|
# @return [Array<(DialerCall, Fixnum, Hash)>] DialerCall data, response status code and response headers
|
2966
|
-
def
|
2966
|
+
def create_preview_placecall_with_http_info(preview_id, opts = {})
|
2967
2967
|
if @api_client.config.debugging
|
2968
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
2968
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#create_preview_placecall ..."
|
2969
2969
|
end
|
2970
2970
|
|
2971
2971
|
# verify the required parameter 'preview_id' is set
|
2972
|
-
fail "Missing the required parameter 'preview_id' when calling
|
2972
|
+
fail "Missing the required parameter 'preview_id' when calling create_preview_placecall" if preview_id.nil?
|
2973
2973
|
|
2974
2974
|
# resource path
|
2975
2975
|
path = "/api/v1/outbound/previews/{previewId}/placecall".sub('{format}','json').sub('{' + 'previewId' + '}', preview_id.to_s)
|
@@ -3004,7 +3004,7 @@ module PureCloud
|
|
3004
3004
|
:auth_names => auth_names,
|
3005
3005
|
:return_type => 'DialerCall')
|
3006
3006
|
if @api_client.config.debugging
|
3007
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3007
|
+
@api_client.config.logger.debug "API called: OutboundApi#create_preview_placecall\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3008
3008
|
end
|
3009
3009
|
return data, status_code, headers
|
3010
3010
|
end
|
@@ -3096,8 +3096,8 @@ module PureCloud
|
|
3096
3096
|
# @param [Hash] opts the optional parameters
|
3097
3097
|
# @option opts [RuleSet] :body RuleSet
|
3098
3098
|
# @return [RuleSet]
|
3099
|
-
def
|
3100
|
-
data, status_code, headers =
|
3099
|
+
def create_rulesets(opts = {})
|
3100
|
+
data, status_code, headers = create_rulesets_with_http_info(opts)
|
3101
3101
|
return data
|
3102
3102
|
end
|
3103
3103
|
|
@@ -3106,9 +3106,9 @@ module PureCloud
|
|
3106
3106
|
# @param [Hash] opts the optional parameters
|
3107
3107
|
# @option opts [RuleSet] :body RuleSet
|
3108
3108
|
# @return [Array<(RuleSet, Fixnum, Hash)>] RuleSet data, response status code and response headers
|
3109
|
-
def
|
3109
|
+
def create_rulesets_with_http_info(opts = {})
|
3110
3110
|
if @api_client.config.debugging
|
3111
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3111
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#create_rulesets ..."
|
3112
3112
|
end
|
3113
3113
|
|
3114
3114
|
# resource path
|
@@ -3144,7 +3144,7 @@ module PureCloud
|
|
3144
3144
|
:auth_names => auth_names,
|
3145
3145
|
:return_type => 'RuleSet')
|
3146
3146
|
if @api_client.config.debugging
|
3147
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3147
|
+
@api_client.config.logger.debug "API called: OutboundApi#create_rulesets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3148
3148
|
end
|
3149
3149
|
return data, status_code, headers
|
3150
3150
|
end
|
@@ -3154,8 +3154,8 @@ module PureCloud
|
|
3154
3154
|
# @param rule_set_id Rule Set ID
|
3155
3155
|
# @param [Hash] opts the optional parameters
|
3156
3156
|
# @return [RuleSet]
|
3157
|
-
def
|
3158
|
-
data, status_code, headers =
|
3157
|
+
def get_rule_set(rule_set_id, opts = {})
|
3158
|
+
data, status_code, headers = get_rule_set_with_http_info(rule_set_id, opts)
|
3159
3159
|
return data
|
3160
3160
|
end
|
3161
3161
|
|
@@ -3164,13 +3164,13 @@ module PureCloud
|
|
3164
3164
|
# @param rule_set_id Rule Set ID
|
3165
3165
|
# @param [Hash] opts the optional parameters
|
3166
3166
|
# @return [Array<(RuleSet, Fixnum, Hash)>] RuleSet data, response status code and response headers
|
3167
|
-
def
|
3167
|
+
def get_rule_set_with_http_info(rule_set_id, opts = {})
|
3168
3168
|
if @api_client.config.debugging
|
3169
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3169
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#get_rule_set ..."
|
3170
3170
|
end
|
3171
3171
|
|
3172
3172
|
# verify the required parameter 'rule_set_id' is set
|
3173
|
-
fail "Missing the required parameter 'rule_set_id' when calling
|
3173
|
+
fail "Missing the required parameter 'rule_set_id' when calling get_rule_set" if rule_set_id.nil?
|
3174
3174
|
|
3175
3175
|
# resource path
|
3176
3176
|
path = "/api/v1/outbound/rulesets/{ruleSetId}".sub('{format}','json').sub('{' + 'ruleSetId' + '}', rule_set_id.to_s)
|
@@ -3205,7 +3205,7 @@ module PureCloud
|
|
3205
3205
|
:auth_names => auth_names,
|
3206
3206
|
:return_type => 'RuleSet')
|
3207
3207
|
if @api_client.config.debugging
|
3208
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3208
|
+
@api_client.config.logger.debug "API called: OutboundApi#get_rule_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3209
3209
|
end
|
3210
3210
|
return data, status_code, headers
|
3211
3211
|
end
|
@@ -3216,8 +3216,8 @@ module PureCloud
|
|
3216
3216
|
# @param [Hash] opts the optional parameters
|
3217
3217
|
# @option opts [RuleSet] :body RuleSet
|
3218
3218
|
# @return [RuleSet]
|
3219
|
-
def
|
3220
|
-
data, status_code, headers =
|
3219
|
+
def update_rule_set(rule_set_id, opts = {})
|
3220
|
+
data, status_code, headers = update_rule_set_with_http_info(rule_set_id, opts)
|
3221
3221
|
return data
|
3222
3222
|
end
|
3223
3223
|
|
@@ -3227,13 +3227,13 @@ module PureCloud
|
|
3227
3227
|
# @param [Hash] opts the optional parameters
|
3228
3228
|
# @option opts [RuleSet] :body RuleSet
|
3229
3229
|
# @return [Array<(RuleSet, Fixnum, Hash)>] RuleSet data, response status code and response headers
|
3230
|
-
def
|
3230
|
+
def update_rule_set_with_http_info(rule_set_id, opts = {})
|
3231
3231
|
if @api_client.config.debugging
|
3232
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3232
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#update_rule_set ..."
|
3233
3233
|
end
|
3234
3234
|
|
3235
3235
|
# verify the required parameter 'rule_set_id' is set
|
3236
|
-
fail "Missing the required parameter 'rule_set_id' when calling
|
3236
|
+
fail "Missing the required parameter 'rule_set_id' when calling update_rule_set" if rule_set_id.nil?
|
3237
3237
|
|
3238
3238
|
# resource path
|
3239
3239
|
path = "/api/v1/outbound/rulesets/{ruleSetId}".sub('{format}','json').sub('{' + 'ruleSetId' + '}', rule_set_id.to_s)
|
@@ -3268,7 +3268,7 @@ module PureCloud
|
|
3268
3268
|
:auth_names => auth_names,
|
3269
3269
|
:return_type => 'RuleSet')
|
3270
3270
|
if @api_client.config.debugging
|
3271
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3271
|
+
@api_client.config.logger.debug "API called: OutboundApi#update_rule_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3272
3272
|
end
|
3273
3273
|
return data, status_code, headers
|
3274
3274
|
end
|
@@ -3278,8 +3278,8 @@ module PureCloud
|
|
3278
3278
|
# @param rule_set_id Rule Set ID
|
3279
3279
|
# @param [Hash] opts the optional parameters
|
3280
3280
|
# @return [String]
|
3281
|
-
def
|
3282
|
-
data, status_code, headers =
|
3281
|
+
def delete_rule_set(rule_set_id, opts = {})
|
3282
|
+
data, status_code, headers = delete_rule_set_with_http_info(rule_set_id, opts)
|
3283
3283
|
return data
|
3284
3284
|
end
|
3285
3285
|
|
@@ -3288,13 +3288,13 @@ module PureCloud
|
|
3288
3288
|
# @param rule_set_id Rule Set ID
|
3289
3289
|
# @param [Hash] opts the optional parameters
|
3290
3290
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
3291
|
-
def
|
3291
|
+
def delete_rule_set_with_http_info(rule_set_id, opts = {})
|
3292
3292
|
if @api_client.config.debugging
|
3293
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3293
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#delete_rule_set ..."
|
3294
3294
|
end
|
3295
3295
|
|
3296
3296
|
# verify the required parameter 'rule_set_id' is set
|
3297
|
-
fail "Missing the required parameter 'rule_set_id' when calling
|
3297
|
+
fail "Missing the required parameter 'rule_set_id' when calling delete_rule_set" if rule_set_id.nil?
|
3298
3298
|
|
3299
3299
|
# resource path
|
3300
3300
|
path = "/api/v1/outbound/rulesets/{ruleSetId}".sub('{format}','json').sub('{' + 'ruleSetId' + '}', rule_set_id.to_s)
|
@@ -3329,7 +3329,7 @@ module PureCloud
|
|
3329
3329
|
:auth_names => auth_names,
|
3330
3330
|
:return_type => 'String')
|
3331
3331
|
if @api_client.config.debugging
|
3332
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3332
|
+
@api_client.config.logger.debug "API called: OutboundApi#delete_rule_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3333
3333
|
end
|
3334
3334
|
return data, status_code, headers
|
3335
3335
|
end
|
@@ -3457,8 +3457,8 @@ module PureCloud
|
|
3457
3457
|
# @param [Hash] opts the optional parameters
|
3458
3458
|
# @option opts [CampaignSchedule] :body CampaignSchedule
|
3459
3459
|
# @return [CampaignSchedule]
|
3460
|
-
def
|
3461
|
-
data, status_code, headers =
|
3460
|
+
def update_schedules_campaign(campaign_id, opts = {})
|
3461
|
+
data, status_code, headers = update_schedules_campaign_with_http_info(campaign_id, opts)
|
3462
3462
|
return data
|
3463
3463
|
end
|
3464
3464
|
|
@@ -3468,13 +3468,13 @@ module PureCloud
|
|
3468
3468
|
# @param [Hash] opts the optional parameters
|
3469
3469
|
# @option opts [CampaignSchedule] :body CampaignSchedule
|
3470
3470
|
# @return [Array<(CampaignSchedule, Fixnum, Hash)>] CampaignSchedule data, response status code and response headers
|
3471
|
-
def
|
3471
|
+
def update_schedules_campaign_with_http_info(campaign_id, opts = {})
|
3472
3472
|
if @api_client.config.debugging
|
3473
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3473
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#update_schedules_campaign ..."
|
3474
3474
|
end
|
3475
3475
|
|
3476
3476
|
# verify the required parameter 'campaign_id' is set
|
3477
|
-
fail "Missing the required parameter 'campaign_id' when calling
|
3477
|
+
fail "Missing the required parameter 'campaign_id' when calling update_schedules_campaign" if campaign_id.nil?
|
3478
3478
|
|
3479
3479
|
# resource path
|
3480
3480
|
path = "/api/v1/outbound/schedules/campaigns/{campaignId}".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
|
@@ -3509,7 +3509,7 @@ module PureCloud
|
|
3509
3509
|
:auth_names => auth_names,
|
3510
3510
|
:return_type => 'CampaignSchedule')
|
3511
3511
|
if @api_client.config.debugging
|
3512
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3512
|
+
@api_client.config.logger.debug "API called: OutboundApi#update_schedules_campaign\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3513
3513
|
end
|
3514
3514
|
return data, status_code, headers
|
3515
3515
|
end
|
@@ -3698,8 +3698,8 @@ module PureCloud
|
|
3698
3698
|
# @param [Hash] opts the optional parameters
|
3699
3699
|
# @option opts [SequenceSchedule] :body SequenceSchedule
|
3700
3700
|
# @return [SequenceSchedule]
|
3701
|
-
def
|
3702
|
-
data, status_code, headers =
|
3701
|
+
def update_schedules_sequence(sequence_id, opts = {})
|
3702
|
+
data, status_code, headers = update_schedules_sequence_with_http_info(sequence_id, opts)
|
3703
3703
|
return data
|
3704
3704
|
end
|
3705
3705
|
|
@@ -3709,13 +3709,13 @@ module PureCloud
|
|
3709
3709
|
# @param [Hash] opts the optional parameters
|
3710
3710
|
# @option opts [SequenceSchedule] :body SequenceSchedule
|
3711
3711
|
# @return [Array<(SequenceSchedule, Fixnum, Hash)>] SequenceSchedule data, response status code and response headers
|
3712
|
-
def
|
3712
|
+
def update_schedules_sequence_with_http_info(sequence_id, opts = {})
|
3713
3713
|
if @api_client.config.debugging
|
3714
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3714
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#update_schedules_sequence ..."
|
3715
3715
|
end
|
3716
3716
|
|
3717
3717
|
# verify the required parameter 'sequence_id' is set
|
3718
|
-
fail "Missing the required parameter 'sequence_id' when calling
|
3718
|
+
fail "Missing the required parameter 'sequence_id' when calling update_schedules_sequence" if sequence_id.nil?
|
3719
3719
|
|
3720
3720
|
# resource path
|
3721
3721
|
path = "/api/v1/outbound/schedules/sequences/{sequenceId}".sub('{format}','json').sub('{' + 'sequenceId' + '}', sequence_id.to_s)
|
@@ -3750,7 +3750,7 @@ module PureCloud
|
|
3750
3750
|
:auth_names => auth_names,
|
3751
3751
|
:return_type => 'SequenceSchedule')
|
3752
3752
|
if @api_client.config.debugging
|
3753
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3753
|
+
@api_client.config.logger.debug "API called: OutboundApi#update_schedules_sequence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3754
3754
|
end
|
3755
3755
|
return data, status_code, headers
|
3756
3756
|
end
|
@@ -3903,8 +3903,8 @@ module PureCloud
|
|
3903
3903
|
# @param [Hash] opts the optional parameters
|
3904
3904
|
# @option opts [CampaignSequence] :body Organization
|
3905
3905
|
# @return [CampaignSequence]
|
3906
|
-
def
|
3907
|
-
data, status_code, headers =
|
3906
|
+
def create_sequences(opts = {})
|
3907
|
+
data, status_code, headers = create_sequences_with_http_info(opts)
|
3908
3908
|
return data
|
3909
3909
|
end
|
3910
3910
|
|
@@ -3913,9 +3913,9 @@ module PureCloud
|
|
3913
3913
|
# @param [Hash] opts the optional parameters
|
3914
3914
|
# @option opts [CampaignSequence] :body Organization
|
3915
3915
|
# @return [Array<(CampaignSequence, Fixnum, Hash)>] CampaignSequence data, response status code and response headers
|
3916
|
-
def
|
3916
|
+
def create_sequences_with_http_info(opts = {})
|
3917
3917
|
if @api_client.config.debugging
|
3918
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
3918
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#create_sequences ..."
|
3919
3919
|
end
|
3920
3920
|
|
3921
3921
|
# resource path
|
@@ -3951,7 +3951,7 @@ module PureCloud
|
|
3951
3951
|
:auth_names => auth_names,
|
3952
3952
|
:return_type => 'CampaignSequence')
|
3953
3953
|
if @api_client.config.debugging
|
3954
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
3954
|
+
@api_client.config.logger.debug "API called: OutboundApi#create_sequences\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3955
3955
|
end
|
3956
3956
|
return data, status_code, headers
|
3957
3957
|
end
|
@@ -4023,8 +4023,8 @@ module PureCloud
|
|
4023
4023
|
# @param [Hash] opts the optional parameters
|
4024
4024
|
# @option opts [CampaignSequence] :body Organization
|
4025
4025
|
# @return [CampaignSequence]
|
4026
|
-
def
|
4027
|
-
data, status_code, headers =
|
4026
|
+
def update_sequence(sequence_id, opts = {})
|
4027
|
+
data, status_code, headers = update_sequence_with_http_info(sequence_id, opts)
|
4028
4028
|
return data
|
4029
4029
|
end
|
4030
4030
|
|
@@ -4034,13 +4034,13 @@ module PureCloud
|
|
4034
4034
|
# @param [Hash] opts the optional parameters
|
4035
4035
|
# @option opts [CampaignSequence] :body Organization
|
4036
4036
|
# @return [Array<(CampaignSequence, Fixnum, Hash)>] CampaignSequence data, response status code and response headers
|
4037
|
-
def
|
4037
|
+
def update_sequence_with_http_info(sequence_id, opts = {})
|
4038
4038
|
if @api_client.config.debugging
|
4039
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
4039
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#update_sequence ..."
|
4040
4040
|
end
|
4041
4041
|
|
4042
4042
|
# verify the required parameter 'sequence_id' is set
|
4043
|
-
fail "Missing the required parameter 'sequence_id' when calling
|
4043
|
+
fail "Missing the required parameter 'sequence_id' when calling update_sequence" if sequence_id.nil?
|
4044
4044
|
|
4045
4045
|
# resource path
|
4046
4046
|
path = "/api/v1/outbound/sequences/{sequenceId}".sub('{format}','json').sub('{' + 'sequenceId' + '}', sequence_id.to_s)
|
@@ -4075,7 +4075,7 @@ module PureCloud
|
|
4075
4075
|
:auth_names => auth_names,
|
4076
4076
|
:return_type => 'CampaignSequence')
|
4077
4077
|
if @api_client.config.debugging
|
4078
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
4078
|
+
@api_client.config.logger.debug "API called: OutboundApi#update_sequence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4079
4079
|
end
|
4080
4080
|
return data, status_code, headers
|
4081
4081
|
end
|
@@ -4202,8 +4202,8 @@ module PureCloud
|
|
4202
4202
|
# @param [Hash] opts the optional parameters
|
4203
4203
|
# @option opts [WrapUpCodeMapping] :body wrapUpCodeMapping
|
4204
4204
|
# @return [WrapUpCodeMapping]
|
4205
|
-
def
|
4206
|
-
data, status_code, headers =
|
4205
|
+
def update_wrapupcodemappings(opts = {})
|
4206
|
+
data, status_code, headers = update_wrapupcodemappings_with_http_info(opts)
|
4207
4207
|
return data
|
4208
4208
|
end
|
4209
4209
|
|
@@ -4212,9 +4212,9 @@ module PureCloud
|
|
4212
4212
|
# @param [Hash] opts the optional parameters
|
4213
4213
|
# @option opts [WrapUpCodeMapping] :body wrapUpCodeMapping
|
4214
4214
|
# @return [Array<(WrapUpCodeMapping, Fixnum, Hash)>] WrapUpCodeMapping data, response status code and response headers
|
4215
|
-
def
|
4215
|
+
def update_wrapupcodemappings_with_http_info(opts = {})
|
4216
4216
|
if @api_client.config.debugging
|
4217
|
-
@api_client.config.logger.debug "Calling API: OutboundApi#
|
4217
|
+
@api_client.config.logger.debug "Calling API: OutboundApi#update_wrapupcodemappings ..."
|
4218
4218
|
end
|
4219
4219
|
|
4220
4220
|
# resource path
|
@@ -4250,7 +4250,7 @@ module PureCloud
|
|
4250
4250
|
:auth_names => auth_names,
|
4251
4251
|
:return_type => 'WrapUpCodeMapping')
|
4252
4252
|
if @api_client.config.debugging
|
4253
|
-
@api_client.config.logger.debug "API called: OutboundApi#
|
4253
|
+
@api_client.config.logger.debug "API called: OutboundApi#update_wrapupcodemappings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4254
4254
|
end
|
4255
4255
|
return data, status_code, headers
|
4256
4256
|
end
|