purecloud 0.0.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -69,8 +69,8 @@ module PureCloud
|
|
69
69
|
# @param [Hash] opts the optional parameters
|
70
70
|
# @option opts [InboundDomain] :body Domain
|
71
71
|
# @return [InboundDomain]
|
72
|
-
def
|
73
|
-
data, status_code, headers =
|
72
|
+
def create_email_domains(opts = {})
|
73
|
+
data, status_code, headers = create_email_domains_with_http_info(opts)
|
74
74
|
return data
|
75
75
|
end
|
76
76
|
|
@@ -79,9 +79,9 @@ module PureCloud
|
|
79
79
|
# @param [Hash] opts the optional parameters
|
80
80
|
# @option opts [InboundDomain] :body Domain
|
81
81
|
# @return [Array<(InboundDomain, Fixnum, Hash)>] InboundDomain data, response status code and response headers
|
82
|
-
def
|
82
|
+
def create_email_domains_with_http_info(opts = {})
|
83
83
|
if @api_client.config.debugging
|
84
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
84
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#create_email_domains ..."
|
85
85
|
end
|
86
86
|
|
87
87
|
# resource path
|
@@ -117,7 +117,7 @@ module PureCloud
|
|
117
117
|
:auth_names => auth_names,
|
118
118
|
:return_type => 'InboundDomain')
|
119
119
|
if @api_client.config.debugging
|
120
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
120
|
+
@api_client.config.logger.debug "API called: RoutingApi#create_email_domains\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
121
121
|
end
|
122
122
|
return data, status_code, headers
|
123
123
|
end
|
@@ -127,8 +127,8 @@ module PureCloud
|
|
127
127
|
# @param domain email domain
|
128
128
|
# @param [Hash] opts the optional parameters
|
129
129
|
# @return [InboundRouteEntityListing]
|
130
|
-
def
|
131
|
-
data, status_code, headers =
|
130
|
+
def get_email_domain_routes(domain, opts = {})
|
131
|
+
data, status_code, headers = get_email_domain_routes_with_http_info(domain, opts)
|
132
132
|
return data
|
133
133
|
end
|
134
134
|
|
@@ -137,13 +137,13 @@ module PureCloud
|
|
137
137
|
# @param domain email domain
|
138
138
|
# @param [Hash] opts the optional parameters
|
139
139
|
# @return [Array<(InboundRouteEntityListing, Fixnum, Hash)>] InboundRouteEntityListing data, response status code and response headers
|
140
|
-
def
|
140
|
+
def get_email_domain_routes_with_http_info(domain, opts = {})
|
141
141
|
if @api_client.config.debugging
|
142
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
142
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#get_email_domain_routes ..."
|
143
143
|
end
|
144
144
|
|
145
145
|
# verify the required parameter 'domain' is set
|
146
|
-
fail "Missing the required parameter 'domain' when calling
|
146
|
+
fail "Missing the required parameter 'domain' when calling get_email_domain_routes" if domain.nil?
|
147
147
|
|
148
148
|
# resource path
|
149
149
|
path = "/api/v1/routing/email/domains/{domain}/routes".sub('{format}','json').sub('{' + 'domain' + '}', domain.to_s)
|
@@ -178,7 +178,7 @@ module PureCloud
|
|
178
178
|
:auth_names => auth_names,
|
179
179
|
:return_type => 'InboundRouteEntityListing')
|
180
180
|
if @api_client.config.debugging
|
181
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
181
|
+
@api_client.config.logger.debug "API called: RoutingApi#get_email_domain_routes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
182
182
|
end
|
183
183
|
return data, status_code, headers
|
184
184
|
end
|
@@ -189,8 +189,8 @@ module PureCloud
|
|
189
189
|
# @param [Hash] opts the optional parameters
|
190
190
|
# @option opts [InboundRoute] :body Route
|
191
191
|
# @return [InboundRoute]
|
192
|
-
def
|
193
|
-
data, status_code, headers =
|
192
|
+
def create_email_domain_routes(domain, opts = {})
|
193
|
+
data, status_code, headers = create_email_domain_routes_with_http_info(domain, opts)
|
194
194
|
return data
|
195
195
|
end
|
196
196
|
|
@@ -200,13 +200,13 @@ module PureCloud
|
|
200
200
|
# @param [Hash] opts the optional parameters
|
201
201
|
# @option opts [InboundRoute] :body Route
|
202
202
|
# @return [Array<(InboundRoute, Fixnum, Hash)>] InboundRoute data, response status code and response headers
|
203
|
-
def
|
203
|
+
def create_email_domain_routes_with_http_info(domain, opts = {})
|
204
204
|
if @api_client.config.debugging
|
205
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
205
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#create_email_domain_routes ..."
|
206
206
|
end
|
207
207
|
|
208
208
|
# verify the required parameter 'domain' is set
|
209
|
-
fail "Missing the required parameter 'domain' when calling
|
209
|
+
fail "Missing the required parameter 'domain' when calling create_email_domain_routes" if domain.nil?
|
210
210
|
|
211
211
|
# resource path
|
212
212
|
path = "/api/v1/routing/email/domains/{domain}/routes".sub('{format}','json').sub('{' + 'domain' + '}', domain.to_s)
|
@@ -241,7 +241,7 @@ module PureCloud
|
|
241
241
|
:auth_names => auth_names,
|
242
242
|
:return_type => 'InboundRoute')
|
243
243
|
if @api_client.config.debugging
|
244
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
244
|
+
@api_client.config.logger.debug "API called: RoutingApi#create_email_domain_routes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
245
245
|
end
|
246
246
|
return data, status_code, headers
|
247
247
|
end
|
@@ -252,8 +252,8 @@ module PureCloud
|
|
252
252
|
# @param id route ID
|
253
253
|
# @param [Hash] opts the optional parameters
|
254
254
|
# @return [InboundRoute]
|
255
|
-
def
|
256
|
-
data, status_code, headers =
|
255
|
+
def get_email_domain_routes_by_id(domain, id, opts = {})
|
256
|
+
data, status_code, headers = get_email_domain_routes_by_id_with_http_info(domain, id, opts)
|
257
257
|
return data
|
258
258
|
end
|
259
259
|
|
@@ -263,16 +263,16 @@ module PureCloud
|
|
263
263
|
# @param id route ID
|
264
264
|
# @param [Hash] opts the optional parameters
|
265
265
|
# @return [Array<(InboundRoute, Fixnum, Hash)>] InboundRoute data, response status code and response headers
|
266
|
-
def
|
266
|
+
def get_email_domain_routes_by_id_with_http_info(domain, id, opts = {})
|
267
267
|
if @api_client.config.debugging
|
268
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
268
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#get_email_domain_routes_by_id ..."
|
269
269
|
end
|
270
270
|
|
271
271
|
# verify the required parameter 'domain' is set
|
272
|
-
fail "Missing the required parameter 'domain' when calling
|
272
|
+
fail "Missing the required parameter 'domain' when calling get_email_domain_routes_by_id" if domain.nil?
|
273
273
|
|
274
274
|
# verify the required parameter 'id' is set
|
275
|
-
fail "Missing the required parameter 'id' when calling
|
275
|
+
fail "Missing the required parameter 'id' when calling get_email_domain_routes_by_id" if id.nil?
|
276
276
|
|
277
277
|
# resource path
|
278
278
|
path = "/api/v1/routing/email/domains/{domain}/routes/{id}".sub('{format}','json').sub('{' + 'domain' + '}', domain.to_s).sub('{' + 'id' + '}', id.to_s)
|
@@ -307,7 +307,7 @@ module PureCloud
|
|
307
307
|
:auth_names => auth_names,
|
308
308
|
:return_type => 'InboundRoute')
|
309
309
|
if @api_client.config.debugging
|
310
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
310
|
+
@api_client.config.logger.debug "API called: RoutingApi#get_email_domain_routes_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
311
311
|
end
|
312
312
|
return data, status_code, headers
|
313
313
|
end
|
@@ -319,8 +319,8 @@ module PureCloud
|
|
319
319
|
# @param [Hash] opts the optional parameters
|
320
320
|
# @option opts [InboundRoute] :body Route
|
321
321
|
# @return [InboundRoute]
|
322
|
-
def
|
323
|
-
data, status_code, headers =
|
322
|
+
def update_email_domain_routes_by_id(domain, id, opts = {})
|
323
|
+
data, status_code, headers = update_email_domain_routes_by_id_with_http_info(domain, id, opts)
|
324
324
|
return data
|
325
325
|
end
|
326
326
|
|
@@ -331,16 +331,16 @@ module PureCloud
|
|
331
331
|
# @param [Hash] opts the optional parameters
|
332
332
|
# @option opts [InboundRoute] :body Route
|
333
333
|
# @return [Array<(InboundRoute, Fixnum, Hash)>] InboundRoute data, response status code and response headers
|
334
|
-
def
|
334
|
+
def update_email_domain_routes_by_id_with_http_info(domain, id, opts = {})
|
335
335
|
if @api_client.config.debugging
|
336
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
336
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#update_email_domain_routes_by_id ..."
|
337
337
|
end
|
338
338
|
|
339
339
|
# verify the required parameter 'domain' is set
|
340
|
-
fail "Missing the required parameter 'domain' when calling
|
340
|
+
fail "Missing the required parameter 'domain' when calling update_email_domain_routes_by_id" if domain.nil?
|
341
341
|
|
342
342
|
# verify the required parameter 'id' is set
|
343
|
-
fail "Missing the required parameter 'id' when calling
|
343
|
+
fail "Missing the required parameter 'id' when calling update_email_domain_routes_by_id" if id.nil?
|
344
344
|
|
345
345
|
# resource path
|
346
346
|
path = "/api/v1/routing/email/domains/{domain}/routes/{id}".sub('{format}','json').sub('{' + 'domain' + '}', domain.to_s).sub('{' + 'id' + '}', id.to_s)
|
@@ -375,7 +375,7 @@ module PureCloud
|
|
375
375
|
:auth_names => auth_names,
|
376
376
|
:return_type => 'InboundRoute')
|
377
377
|
if @api_client.config.debugging
|
378
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
378
|
+
@api_client.config.logger.debug "API called: RoutingApi#update_email_domain_routes_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
379
379
|
end
|
380
380
|
return data, status_code, headers
|
381
381
|
end
|
@@ -386,8 +386,8 @@ module PureCloud
|
|
386
386
|
# @param id route ID
|
387
387
|
# @param [Hash] opts the optional parameters
|
388
388
|
# @return [String]
|
389
|
-
def
|
390
|
-
data, status_code, headers =
|
389
|
+
def delete_email_domain_routes_by_id(domain, id, opts = {})
|
390
|
+
data, status_code, headers = delete_email_domain_routes_by_id_with_http_info(domain, id, opts)
|
391
391
|
return data
|
392
392
|
end
|
393
393
|
|
@@ -397,16 +397,16 @@ module PureCloud
|
|
397
397
|
# @param id route ID
|
398
398
|
# @param [Hash] opts the optional parameters
|
399
399
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
400
|
-
def
|
400
|
+
def delete_email_domain_routes_by_id_with_http_info(domain, id, opts = {})
|
401
401
|
if @api_client.config.debugging
|
402
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
402
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#delete_email_domain_routes_by_id ..."
|
403
403
|
end
|
404
404
|
|
405
405
|
# verify the required parameter 'domain' is set
|
406
|
-
fail "Missing the required parameter 'domain' when calling
|
406
|
+
fail "Missing the required parameter 'domain' when calling delete_email_domain_routes_by_id" if domain.nil?
|
407
407
|
|
408
408
|
# verify the required parameter 'id' is set
|
409
|
-
fail "Missing the required parameter 'id' when calling
|
409
|
+
fail "Missing the required parameter 'id' when calling delete_email_domain_routes_by_id" if id.nil?
|
410
410
|
|
411
411
|
# resource path
|
412
412
|
path = "/api/v1/routing/email/domains/{domain}/routes/{id}".sub('{format}','json').sub('{' + 'domain' + '}', domain.to_s).sub('{' + 'id' + '}', id.to_s)
|
@@ -441,7 +441,7 @@ module PureCloud
|
|
441
441
|
:auth_names => auth_names,
|
442
442
|
:return_type => 'String')
|
443
443
|
if @api_client.config.debugging
|
444
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
444
|
+
@api_client.config.logger.debug "API called: RoutingApi#delete_email_domain_routes_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
445
445
|
end
|
446
446
|
return data, status_code, headers
|
447
447
|
end
|
@@ -451,8 +451,8 @@ module PureCloud
|
|
451
451
|
# @param id domain ID
|
452
452
|
# @param [Hash] opts the optional parameters
|
453
453
|
# @return [String]
|
454
|
-
def
|
455
|
-
data, status_code, headers =
|
454
|
+
def delete_email_domains_id(id, opts = {})
|
455
|
+
data, status_code, headers = delete_email_domains_id_with_http_info(id, opts)
|
456
456
|
return data
|
457
457
|
end
|
458
458
|
|
@@ -461,13 +461,13 @@ module PureCloud
|
|
461
461
|
# @param id domain ID
|
462
462
|
# @param [Hash] opts the optional parameters
|
463
463
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
464
|
-
def
|
464
|
+
def delete_email_domains_id_with_http_info(id, opts = {})
|
465
465
|
if @api_client.config.debugging
|
466
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
466
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#delete_email_domains_id ..."
|
467
467
|
end
|
468
468
|
|
469
469
|
# verify the required parameter 'id' is set
|
470
|
-
fail "Missing the required parameter 'id' when calling
|
470
|
+
fail "Missing the required parameter 'id' when calling delete_email_domains_id" if id.nil?
|
471
471
|
|
472
472
|
# resource path
|
473
473
|
path = "/api/v1/routing/email/domains/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
@@ -502,7 +502,7 @@ module PureCloud
|
|
502
502
|
:auth_names => auth_names,
|
503
503
|
:return_type => 'String')
|
504
504
|
if @api_client.config.debugging
|
505
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
505
|
+
@api_client.config.logger.debug "API called: RoutingApi#delete_email_domains_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
506
506
|
end
|
507
507
|
return data, status_code, headers
|
508
508
|
end
|
@@ -645,8 +645,8 @@ module PureCloud
|
|
645
645
|
# @param [Hash] opts the optional parameters
|
646
646
|
# @option opts [Queue] :body Queue
|
647
647
|
# @return [Queue]
|
648
|
-
def
|
649
|
-
data, status_code, headers =
|
648
|
+
def create_queues(queue_id, opts = {})
|
649
|
+
data, status_code, headers = create_queues_with_http_info(queue_id, opts)
|
650
650
|
return data
|
651
651
|
end
|
652
652
|
|
@@ -656,13 +656,13 @@ module PureCloud
|
|
656
656
|
# @param [Hash] opts the optional parameters
|
657
657
|
# @option opts [Queue] :body Queue
|
658
658
|
# @return [Array<(Queue, Fixnum, Hash)>] Queue data, response status code and response headers
|
659
|
-
def
|
659
|
+
def create_queues_with_http_info(queue_id, opts = {})
|
660
660
|
if @api_client.config.debugging
|
661
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
661
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#create_queues ..."
|
662
662
|
end
|
663
663
|
|
664
664
|
# verify the required parameter 'queue_id' is set
|
665
|
-
fail "Missing the required parameter 'queue_id' when calling
|
665
|
+
fail "Missing the required parameter 'queue_id' when calling create_queues" if queue_id.nil?
|
666
666
|
|
667
667
|
# resource path
|
668
668
|
path = "/api/v1/routing/queues".sub('{format}','json').sub('{' + 'QueueId' + '}', queue_id.to_s)
|
@@ -697,7 +697,7 @@ module PureCloud
|
|
697
697
|
:auth_names => auth_names,
|
698
698
|
:return_type => 'Queue')
|
699
699
|
if @api_client.config.debugging
|
700
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
700
|
+
@api_client.config.logger.debug "API called: RoutingApi#create_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
701
701
|
end
|
702
702
|
return data, status_code, headers
|
703
703
|
end
|
@@ -769,8 +769,8 @@ module PureCloud
|
|
769
769
|
# @param [Hash] opts the optional parameters
|
770
770
|
# @option opts [Queue] :body Queue
|
771
771
|
# @return [Queue]
|
772
|
-
def
|
773
|
-
data, status_code, headers =
|
772
|
+
def update_queue(queue_id, opts = {})
|
773
|
+
data, status_code, headers = update_queue_with_http_info(queue_id, opts)
|
774
774
|
return data
|
775
775
|
end
|
776
776
|
|
@@ -780,13 +780,13 @@ module PureCloud
|
|
780
780
|
# @param [Hash] opts the optional parameters
|
781
781
|
# @option opts [Queue] :body Queue
|
782
782
|
# @return [Array<(Queue, Fixnum, Hash)>] Queue data, response status code and response headers
|
783
|
-
def
|
783
|
+
def update_queue_with_http_info(queue_id, opts = {})
|
784
784
|
if @api_client.config.debugging
|
785
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
785
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#update_queue ..."
|
786
786
|
end
|
787
787
|
|
788
788
|
# verify the required parameter 'queue_id' is set
|
789
|
-
fail "Missing the required parameter 'queue_id' when calling
|
789
|
+
fail "Missing the required parameter 'queue_id' when calling update_queue" if queue_id.nil?
|
790
790
|
|
791
791
|
# resource path
|
792
792
|
path = "/api/v1/routing/queues/{queueId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
@@ -821,7 +821,7 @@ module PureCloud
|
|
821
821
|
:auth_names => auth_names,
|
822
822
|
:return_type => 'Queue')
|
823
823
|
if @api_client.config.debugging
|
824
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
824
|
+
@api_client.config.logger.debug "API called: RoutingApi#update_queue\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
825
825
|
end
|
826
826
|
return data, status_code, headers
|
827
827
|
end
|
@@ -980,8 +980,8 @@ module PureCloud
|
|
980
980
|
# @param [Hash] opts the optional parameters
|
981
981
|
# @option opts [QueueMember] :body To join queue ~ \"joined\":true
|
982
982
|
# @return [QueueMember]
|
983
|
-
def
|
984
|
-
data, status_code, headers =
|
983
|
+
def update_queue_members_by_member_id(queue_id, member_id, opts = {})
|
984
|
+
data, status_code, headers = update_queue_members_by_member_id_with_http_info(queue_id, member_id, opts)
|
985
985
|
return data
|
986
986
|
end
|
987
987
|
|
@@ -992,16 +992,16 @@ module PureCloud
|
|
992
992
|
# @param [Hash] opts the optional parameters
|
993
993
|
# @option opts [QueueMember] :body To join queue ~ \"joined\":true
|
994
994
|
# @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
|
995
|
-
def
|
995
|
+
def update_queue_members_by_member_id_with_http_info(queue_id, member_id, opts = {})
|
996
996
|
if @api_client.config.debugging
|
997
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
997
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#update_queue_members_by_member_id ..."
|
998
998
|
end
|
999
999
|
|
1000
1000
|
# verify the required parameter 'queue_id' is set
|
1001
|
-
fail "Missing the required parameter 'queue_id' when calling
|
1001
|
+
fail "Missing the required parameter 'queue_id' when calling update_queue_members_by_member_id" if queue_id.nil?
|
1002
1002
|
|
1003
1003
|
# verify the required parameter 'member_id' is set
|
1004
|
-
fail "Missing the required parameter 'member_id' when calling
|
1004
|
+
fail "Missing the required parameter 'member_id' when calling update_queue_members_by_member_id" if member_id.nil?
|
1005
1005
|
|
1006
1006
|
# resource path
|
1007
1007
|
path = "/api/v1/routing/queues/{queueId}/members/{memberId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
|
@@ -1036,7 +1036,7 @@ module PureCloud
|
|
1036
1036
|
:auth_names => auth_names,
|
1037
1037
|
:return_type => 'QueueMember')
|
1038
1038
|
if @api_client.config.debugging
|
1039
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
1039
|
+
@api_client.config.logger.debug "API called: RoutingApi#update_queue_members_by_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1040
1040
|
end
|
1041
1041
|
return data, status_code, headers
|
1042
1042
|
end
|
@@ -1124,8 +1124,8 @@ module PureCloud
|
|
1124
1124
|
# @option opts [Array<QueueMember>] :body Queue Members
|
1125
1125
|
# @option opts [BOOLEAN] :delete True to delete queue members
|
1126
1126
|
# @return [QueueMember]
|
1127
|
-
def
|
1128
|
-
data, status_code, headers =
|
1127
|
+
def create_queue_users(queue_id, opts = {})
|
1128
|
+
data, status_code, headers = create_queue_users_with_http_info(queue_id, opts)
|
1129
1129
|
return data
|
1130
1130
|
end
|
1131
1131
|
|
@@ -1136,13 +1136,13 @@ module PureCloud
|
|
1136
1136
|
# @option opts [Array<QueueMember>] :body Queue Members
|
1137
1137
|
# @option opts [BOOLEAN] :delete True to delete queue members
|
1138
1138
|
# @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
|
1139
|
-
def
|
1139
|
+
def create_queue_users_with_http_info(queue_id, opts = {})
|
1140
1140
|
if @api_client.config.debugging
|
1141
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
1141
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#create_queue_users ..."
|
1142
1142
|
end
|
1143
1143
|
|
1144
1144
|
# verify the required parameter 'queue_id' is set
|
1145
|
-
fail "Missing the required parameter 'queue_id' when calling
|
1145
|
+
fail "Missing the required parameter 'queue_id' when calling create_queue_users" if queue_id.nil?
|
1146
1146
|
|
1147
1147
|
# resource path
|
1148
1148
|
path = "/api/v1/routing/queues/{queueId}/users".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
@@ -1178,7 +1178,7 @@ module PureCloud
|
|
1178
1178
|
:auth_names => auth_names,
|
1179
1179
|
:return_type => 'QueueMember')
|
1180
1180
|
if @api_client.config.debugging
|
1181
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
1181
|
+
@api_client.config.logger.debug "API called: RoutingApi#create_queue_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1182
1182
|
end
|
1183
1183
|
return data, status_code, headers
|
1184
1184
|
end
|
@@ -1252,8 +1252,8 @@ module PureCloud
|
|
1252
1252
|
# @param member_id Member ID
|
1253
1253
|
# @param [Hash] opts the optional parameters
|
1254
1254
|
# @return [String]
|
1255
|
-
def
|
1256
|
-
data, status_code, headers =
|
1255
|
+
def delete_queue_users_by_member_id(queue_id, member_id, opts = {})
|
1256
|
+
data, status_code, headers = delete_queue_users_by_member_id_with_http_info(queue_id, member_id, opts)
|
1257
1257
|
return data
|
1258
1258
|
end
|
1259
1259
|
|
@@ -1263,16 +1263,16 @@ module PureCloud
|
|
1263
1263
|
# @param member_id Member ID
|
1264
1264
|
# @param [Hash] opts the optional parameters
|
1265
1265
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1266
|
-
def
|
1266
|
+
def delete_queue_users_by_member_id_with_http_info(queue_id, member_id, opts = {})
|
1267
1267
|
if @api_client.config.debugging
|
1268
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
1268
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#delete_queue_users_by_member_id ..."
|
1269
1269
|
end
|
1270
1270
|
|
1271
1271
|
# verify the required parameter 'queue_id' is set
|
1272
|
-
fail "Missing the required parameter 'queue_id' when calling
|
1272
|
+
fail "Missing the required parameter 'queue_id' when calling delete_queue_users_by_member_id" if queue_id.nil?
|
1273
1273
|
|
1274
1274
|
# verify the required parameter 'member_id' is set
|
1275
|
-
fail "Missing the required parameter 'member_id' when calling
|
1275
|
+
fail "Missing the required parameter 'member_id' when calling delete_queue_users_by_member_id" if member_id.nil?
|
1276
1276
|
|
1277
1277
|
# resource path
|
1278
1278
|
path = "/api/v1/routing/queues/{queueId}/users/{memberId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
|
@@ -1307,7 +1307,7 @@ module PureCloud
|
|
1307
1307
|
:auth_names => auth_names,
|
1308
1308
|
:return_type => 'String')
|
1309
1309
|
if @api_client.config.debugging
|
1310
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
1310
|
+
@api_client.config.logger.debug "API called: RoutingApi#delete_queue_users_by_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1311
1311
|
end
|
1312
1312
|
return data, status_code, headers
|
1313
1313
|
end
|
@@ -1319,8 +1319,8 @@ module PureCloud
|
|
1319
1319
|
# @param [Hash] opts the optional parameters
|
1320
1320
|
# @option opts [QueueMember] :body Queue Member
|
1321
1321
|
# @return [QueueMember]
|
1322
|
-
def
|
1323
|
-
data, status_code, headers =
|
1322
|
+
def patch_queue_users_by_member_id(queue_id, member_id, opts = {})
|
1323
|
+
data, status_code, headers = patch_queue_users_by_member_id_with_http_info(queue_id, member_id, opts)
|
1324
1324
|
return data
|
1325
1325
|
end
|
1326
1326
|
|
@@ -1331,16 +1331,16 @@ module PureCloud
|
|
1331
1331
|
# @param [Hash] opts the optional parameters
|
1332
1332
|
# @option opts [QueueMember] :body Queue Member
|
1333
1333
|
# @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
|
1334
|
-
def
|
1334
|
+
def patch_queue_users_by_member_id_with_http_info(queue_id, member_id, opts = {})
|
1335
1335
|
if @api_client.config.debugging
|
1336
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
1336
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#patch_queue_users_by_member_id ..."
|
1337
1337
|
end
|
1338
1338
|
|
1339
1339
|
# verify the required parameter 'queue_id' is set
|
1340
|
-
fail "Missing the required parameter 'queue_id' when calling
|
1340
|
+
fail "Missing the required parameter 'queue_id' when calling patch_queue_users_by_member_id" if queue_id.nil?
|
1341
1341
|
|
1342
1342
|
# verify the required parameter 'member_id' is set
|
1343
|
-
fail "Missing the required parameter 'member_id' when calling
|
1343
|
+
fail "Missing the required parameter 'member_id' when calling patch_queue_users_by_member_id" if member_id.nil?
|
1344
1344
|
|
1345
1345
|
# resource path
|
1346
1346
|
path = "/api/v1/routing/queues/{queueId}/users/{memberId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
|
@@ -1375,7 +1375,7 @@ module PureCloud
|
|
1375
1375
|
:auth_names => auth_names,
|
1376
1376
|
:return_type => 'QueueMember')
|
1377
1377
|
if @api_client.config.debugging
|
1378
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
1378
|
+
@api_client.config.logger.debug "API called: RoutingApi#patch_queue_users_by_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1379
1379
|
end
|
1380
1380
|
return data, status_code, headers
|
1381
1381
|
end
|
@@ -1453,8 +1453,8 @@ module PureCloud
|
|
1453
1453
|
# @param [Hash] opts the optional parameters
|
1454
1454
|
# @option opts [Array<WrapupCode>] :body
|
1455
1455
|
# @return [WrapupCode]
|
1456
|
-
def
|
1457
|
-
data, status_code, headers =
|
1456
|
+
def create_queue_wrapupcodes(queue_id, code_id, opts = {})
|
1457
|
+
data, status_code, headers = create_queue_wrapupcodes_with_http_info(queue_id, code_id, opts)
|
1458
1458
|
return data
|
1459
1459
|
end
|
1460
1460
|
|
@@ -1465,16 +1465,16 @@ module PureCloud
|
|
1465
1465
|
# @param [Hash] opts the optional parameters
|
1466
1466
|
# @option opts [Array<WrapupCode>] :body
|
1467
1467
|
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
1468
|
-
def
|
1468
|
+
def create_queue_wrapupcodes_with_http_info(queue_id, code_id, opts = {})
|
1469
1469
|
if @api_client.config.debugging
|
1470
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
1470
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#create_queue_wrapupcodes ..."
|
1471
1471
|
end
|
1472
1472
|
|
1473
1473
|
# verify the required parameter 'queue_id' is set
|
1474
|
-
fail "Missing the required parameter 'queue_id' when calling
|
1474
|
+
fail "Missing the required parameter 'queue_id' when calling create_queue_wrapupcodes" if queue_id.nil?
|
1475
1475
|
|
1476
1476
|
# verify the required parameter 'code_id' is set
|
1477
|
-
fail "Missing the required parameter 'code_id' when calling
|
1477
|
+
fail "Missing the required parameter 'code_id' when calling create_queue_wrapupcodes" if code_id.nil?
|
1478
1478
|
|
1479
1479
|
# resource path
|
1480
1480
|
path = "/api/v1/routing/queues/{queueId}/wrapupcodes".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'codeId' + '}', code_id.to_s)
|
@@ -1509,7 +1509,7 @@ module PureCloud
|
|
1509
1509
|
:auth_names => auth_names,
|
1510
1510
|
:return_type => 'WrapupCode')
|
1511
1511
|
if @api_client.config.debugging
|
1512
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
1512
|
+
@api_client.config.logger.debug "API called: RoutingApi#create_queue_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1513
1513
|
end
|
1514
1514
|
return data, status_code, headers
|
1515
1515
|
end
|
@@ -1520,8 +1520,8 @@ module PureCloud
|
|
1520
1520
|
# @param code_id Code ID
|
1521
1521
|
# @param [Hash] opts the optional parameters
|
1522
1522
|
# @return [String]
|
1523
|
-
def
|
1524
|
-
data, status_code, headers =
|
1523
|
+
def delete_queue_wrapupcodes_by_code_id(queue_id, code_id, opts = {})
|
1524
|
+
data, status_code, headers = delete_queue_wrapupcodes_by_code_id_with_http_info(queue_id, code_id, opts)
|
1525
1525
|
return data
|
1526
1526
|
end
|
1527
1527
|
|
@@ -1531,16 +1531,16 @@ module PureCloud
|
|
1531
1531
|
# @param code_id Code ID
|
1532
1532
|
# @param [Hash] opts the optional parameters
|
1533
1533
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1534
|
-
def
|
1534
|
+
def delete_queue_wrapupcodes_by_code_id_with_http_info(queue_id, code_id, opts = {})
|
1535
1535
|
if @api_client.config.debugging
|
1536
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
1536
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#delete_queue_wrapupcodes_by_code_id ..."
|
1537
1537
|
end
|
1538
1538
|
|
1539
1539
|
# verify the required parameter 'queue_id' is set
|
1540
|
-
fail "Missing the required parameter 'queue_id' when calling
|
1540
|
+
fail "Missing the required parameter 'queue_id' when calling delete_queue_wrapupcodes_by_code_id" if queue_id.nil?
|
1541
1541
|
|
1542
1542
|
# verify the required parameter 'code_id' is set
|
1543
|
-
fail "Missing the required parameter 'code_id' when calling
|
1543
|
+
fail "Missing the required parameter 'code_id' when calling delete_queue_wrapupcodes_by_code_id" if code_id.nil?
|
1544
1544
|
|
1545
1545
|
# resource path
|
1546
1546
|
path = "/api/v1/routing/queues/{queueId}/wrapupcodes/{codeId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'codeId' + '}', code_id.to_s)
|
@@ -1575,7 +1575,7 @@ module PureCloud
|
|
1575
1575
|
:auth_names => auth_names,
|
1576
1576
|
:return_type => 'String')
|
1577
1577
|
if @api_client.config.debugging
|
1578
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
1578
|
+
@api_client.config.logger.debug "API called: RoutingApi#delete_queue_wrapupcodes_by_code_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1579
1579
|
end
|
1580
1580
|
return data, status_code, headers
|
1581
1581
|
end
|
@@ -1709,8 +1709,8 @@ module PureCloud
|
|
1709
1709
|
# @param [Hash] opts the optional parameters
|
1710
1710
|
# @option opts [Utilization] :body utilization
|
1711
1711
|
# @return [Utilization]
|
1712
|
-
def
|
1713
|
-
data, status_code, headers =
|
1712
|
+
def update_utilization(opts = {})
|
1713
|
+
data, status_code, headers = update_utilization_with_http_info(opts)
|
1714
1714
|
return data
|
1715
1715
|
end
|
1716
1716
|
|
@@ -1719,9 +1719,9 @@ module PureCloud
|
|
1719
1719
|
# @param [Hash] opts the optional parameters
|
1720
1720
|
# @option opts [Utilization] :body utilization
|
1721
1721
|
# @return [Array<(Utilization, Fixnum, Hash)>] Utilization data, response status code and response headers
|
1722
|
-
def
|
1722
|
+
def update_utilization_with_http_info(opts = {})
|
1723
1723
|
if @api_client.config.debugging
|
1724
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
1724
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#update_utilization ..."
|
1725
1725
|
end
|
1726
1726
|
|
1727
1727
|
# resource path
|
@@ -1757,7 +1757,7 @@ module PureCloud
|
|
1757
1757
|
:auth_names => auth_names,
|
1758
1758
|
:return_type => 'Utilization')
|
1759
1759
|
if @api_client.config.debugging
|
1760
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
1760
|
+
@api_client.config.logger.debug "API called: RoutingApi#update_utilization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1761
1761
|
end
|
1762
1762
|
return data, status_code, headers
|
1763
1763
|
end
|
@@ -1888,8 +1888,8 @@ module PureCloud
|
|
1888
1888
|
# @param [Hash] opts the optional parameters
|
1889
1889
|
# @option opts [WrapupCode] :body WrapupCode
|
1890
1890
|
# @return [CallableTimeSet]
|
1891
|
-
def
|
1892
|
-
data, status_code, headers =
|
1891
|
+
def create_wrapupcodes(opts = {})
|
1892
|
+
data, status_code, headers = create_wrapupcodes_with_http_info(opts)
|
1893
1893
|
return data
|
1894
1894
|
end
|
1895
1895
|
|
@@ -1898,9 +1898,9 @@ module PureCloud
|
|
1898
1898
|
# @param [Hash] opts the optional parameters
|
1899
1899
|
# @option opts [WrapupCode] :body WrapupCode
|
1900
1900
|
# @return [Array<(CallableTimeSet, Fixnum, Hash)>] CallableTimeSet data, response status code and response headers
|
1901
|
-
def
|
1901
|
+
def create_wrapupcodes_with_http_info(opts = {})
|
1902
1902
|
if @api_client.config.debugging
|
1903
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
1903
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#create_wrapupcodes ..."
|
1904
1904
|
end
|
1905
1905
|
|
1906
1906
|
# resource path
|
@@ -1936,7 +1936,7 @@ module PureCloud
|
|
1936
1936
|
:auth_names => auth_names,
|
1937
1937
|
:return_type => 'CallableTimeSet')
|
1938
1938
|
if @api_client.config.debugging
|
1939
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
1939
|
+
@api_client.config.logger.debug "API called: RoutingApi#create_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1940
1940
|
end
|
1941
1941
|
return data, status_code, headers
|
1942
1942
|
end
|
@@ -1946,8 +1946,8 @@ module PureCloud
|
|
1946
1946
|
# @param code_id Wrapup Code ID
|
1947
1947
|
# @param [Hash] opts the optional parameters
|
1948
1948
|
# @return [WrapupCode]
|
1949
|
-
def
|
1950
|
-
data, status_code, headers =
|
1949
|
+
def get_wrapupcodes_code(code_id, opts = {})
|
1950
|
+
data, status_code, headers = get_wrapupcodes_code_with_http_info(code_id, opts)
|
1951
1951
|
return data
|
1952
1952
|
end
|
1953
1953
|
|
@@ -1956,13 +1956,13 @@ module PureCloud
|
|
1956
1956
|
# @param code_id Wrapup Code ID
|
1957
1957
|
# @param [Hash] opts the optional parameters
|
1958
1958
|
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
1959
|
-
def
|
1959
|
+
def get_wrapupcodes_code_with_http_info(code_id, opts = {})
|
1960
1960
|
if @api_client.config.debugging
|
1961
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
1961
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#get_wrapupcodes_code ..."
|
1962
1962
|
end
|
1963
1963
|
|
1964
1964
|
# verify the required parameter 'code_id' is set
|
1965
|
-
fail "Missing the required parameter 'code_id' when calling
|
1965
|
+
fail "Missing the required parameter 'code_id' when calling get_wrapupcodes_code" if code_id.nil?
|
1966
1966
|
|
1967
1967
|
# resource path
|
1968
1968
|
path = "/api/v1/routing/wrapupcodes/{codeId}".sub('{format}','json').sub('{' + 'codeId' + '}', code_id.to_s)
|
@@ -1997,7 +1997,7 @@ module PureCloud
|
|
1997
1997
|
:auth_names => auth_names,
|
1998
1998
|
:return_type => 'WrapupCode')
|
1999
1999
|
if @api_client.config.debugging
|
2000
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
2000
|
+
@api_client.config.logger.debug "API called: RoutingApi#get_wrapupcodes_code\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2001
2001
|
end
|
2002
2002
|
return data, status_code, headers
|
2003
2003
|
end
|
@@ -2008,8 +2008,8 @@ module PureCloud
|
|
2008
2008
|
# @param [Hash] opts the optional parameters
|
2009
2009
|
# @option opts [WrapupCode] :body WrapupCode
|
2010
2010
|
# @return [WrapupCode]
|
2011
|
-
def
|
2012
|
-
data, status_code, headers =
|
2011
|
+
def update_wrapupcodes_code(code_id, opts = {})
|
2012
|
+
data, status_code, headers = update_wrapupcodes_code_with_http_info(code_id, opts)
|
2013
2013
|
return data
|
2014
2014
|
end
|
2015
2015
|
|
@@ -2019,13 +2019,13 @@ module PureCloud
|
|
2019
2019
|
# @param [Hash] opts the optional parameters
|
2020
2020
|
# @option opts [WrapupCode] :body WrapupCode
|
2021
2021
|
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
2022
|
-
def
|
2022
|
+
def update_wrapupcodes_code_with_http_info(code_id, opts = {})
|
2023
2023
|
if @api_client.config.debugging
|
2024
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
2024
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#update_wrapupcodes_code ..."
|
2025
2025
|
end
|
2026
2026
|
|
2027
2027
|
# verify the required parameter 'code_id' is set
|
2028
|
-
fail "Missing the required parameter 'code_id' when calling
|
2028
|
+
fail "Missing the required parameter 'code_id' when calling update_wrapupcodes_code" if code_id.nil?
|
2029
2029
|
|
2030
2030
|
# resource path
|
2031
2031
|
path = "/api/v1/routing/wrapupcodes/{codeId}".sub('{format}','json').sub('{' + 'codeId' + '}', code_id.to_s)
|
@@ -2060,7 +2060,7 @@ module PureCloud
|
|
2060
2060
|
:auth_names => auth_names,
|
2061
2061
|
:return_type => 'WrapupCode')
|
2062
2062
|
if @api_client.config.debugging
|
2063
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
2063
|
+
@api_client.config.logger.debug "API called: RoutingApi#update_wrapupcodes_code\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2064
2064
|
end
|
2065
2065
|
return data, status_code, headers
|
2066
2066
|
end
|
@@ -2070,8 +2070,8 @@ module PureCloud
|
|
2070
2070
|
# @param code_id Wrapup Code ID
|
2071
2071
|
# @param [Hash] opts the optional parameters
|
2072
2072
|
# @return [String]
|
2073
|
-
def
|
2074
|
-
data, status_code, headers =
|
2073
|
+
def delete_wrapupcodes_code(code_id, opts = {})
|
2074
|
+
data, status_code, headers = delete_wrapupcodes_code_with_http_info(code_id, opts)
|
2075
2075
|
return data
|
2076
2076
|
end
|
2077
2077
|
|
@@ -2080,13 +2080,13 @@ module PureCloud
|
|
2080
2080
|
# @param code_id Wrapup Code ID
|
2081
2081
|
# @param [Hash] opts the optional parameters
|
2082
2082
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
2083
|
-
def
|
2083
|
+
def delete_wrapupcodes_code_with_http_info(code_id, opts = {})
|
2084
2084
|
if @api_client.config.debugging
|
2085
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
2085
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#delete_wrapupcodes_code ..."
|
2086
2086
|
end
|
2087
2087
|
|
2088
2088
|
# verify the required parameter 'code_id' is set
|
2089
|
-
fail "Missing the required parameter 'code_id' when calling
|
2089
|
+
fail "Missing the required parameter 'code_id' when calling delete_wrapupcodes_code" if code_id.nil?
|
2090
2090
|
|
2091
2091
|
# resource path
|
2092
2092
|
path = "/api/v1/routing/wrapupcodes/{codeId}".sub('{format}','json').sub('{' + 'codeId' + '}', code_id.to_s)
|
@@ -2121,7 +2121,7 @@ module PureCloud
|
|
2121
2121
|
:auth_names => auth_names,
|
2122
2122
|
:return_type => 'String')
|
2123
2123
|
if @api_client.config.debugging
|
2124
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
2124
|
+
@api_client.config.logger.debug "API called: RoutingApi#delete_wrapupcodes_code\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2125
2125
|
end
|
2126
2126
|
return data, status_code, headers
|
2127
2127
|
end
|