purecloud 0.18.0 → 0.25.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/Gemfile +2 -2
- data/Gemfile.lock +2 -2
- data/README.md +1 -7
- data/config-ruby.json +1 -1
- data/extensions/auth.rb +2 -2
- data/lib/purecloud.rb +110 -75
- data/lib/purecloud/api/architect_api.rb +3127 -74
- data/lib/purecloud/api/attributes_api.rb +33 -33
- data/lib/purecloud/api/authorization_api.rb +83 -83
- data/lib/purecloud/api/compliance_api.rb +5 -5
- data/lib/purecloud/api/configuration_api.rb +594 -397
- data/lib/purecloud/api/content_management_api.rb +183 -183
- data/lib/purecloud/api/conversations_api.rb +289 -159
- data/lib/purecloud/api/downloads_api.rb +6 -6
- data/lib/purecloud/api/external_contacts_api.rb +1693 -0
- data/lib/purecloud/api/fax_api.rb +24 -24
- data/lib/purecloud/api/geolocation_api.rb +14 -14
- data/lib/purecloud/api/greetings_api.rb +68 -68
- data/lib/purecloud/api/groups_api.rb +31 -20
- data/lib/purecloud/api/languages_api.rb +18 -11
- data/lib/purecloud/api/licensing_api.rb +5 -5
- data/lib/purecloud/api/locations_api.rb +11 -11
- data/lib/purecloud/api/notifications_api.rb +41 -41
- data/lib/purecloud/api/o_auth_api.rb +69 -69
- data/lib/purecloud/api/outbound_api.rb +505 -325
- data/lib/purecloud/api/presence_api.rb +65 -65
- data/lib/purecloud/api/quality_api.rb +66 -639
- data/lib/purecloud/api/recording_api.rb +1343 -0
- data/lib/purecloud/api/response_management_api.rb +687 -0
- data/lib/purecloud/api/routing_api.rb +224 -170
- data/lib/purecloud/api/scripts_api.rb +52 -52
- data/lib/purecloud/api/search_api.rb +5 -5
- data/lib/purecloud/api/stations_api.rb +8 -8
- data/lib/purecloud/api/telephony_providers_edge_api.rb +138 -138
- data/lib/purecloud/api/user_recordings_api.rb +29 -29
- data/lib/purecloud/api/users_api.rb +123 -123
- data/lib/purecloud/api/utilities_api.rb +71 -15
- data/lib/purecloud/api/voicemail_api.rb +42 -42
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/address.rb +49 -51
- data/lib/purecloud/models/attribute_filter_item.rb +177 -0
- data/lib/purecloud/models/automate_queue_member_entity_listing.rb +238 -0
- data/lib/purecloud/models/available_additional_service.rb +40 -1
- data/lib/purecloud/models/{topic_entity_listing.rb → available_topic_entity_listing.rb} +1 -1
- data/lib/purecloud/models/call.rb +36 -5
- data/lib/purecloud/models/{line_properties.rb → call_command.rb} +13 -3
- data/lib/purecloud/models/callback.rb +15 -4
- data/lib/purecloud/models/campaign.rb +219 -17
- data/lib/purecloud/models/campaign_progress.rb +186 -0
- data/lib/purecloud/models/channel_topic_entity_listing.rb +238 -0
- data/lib/purecloud/models/charge.rb +14 -4
- data/lib/purecloud/models/{attribute_value.rb → client_text_table_transform.rb} +52 -82
- data/lib/purecloud/models/contact.rb +1 -1
- data/lib/purecloud/models/contact_list.rb +111 -1
- data/lib/purecloud/models/contact_listing.rb +238 -0
- data/lib/purecloud/models/content_attribute_filter_item.rb +177 -0
- data/lib/purecloud/models/content_facet_filter_item.rb +1 -1
- data/lib/purecloud/models/content_query_request.rb +16 -4
- data/lib/purecloud/models/control.rb +221 -0
- data/lib/purecloud/models/{flow_activate_request.rb → control_options.rb} +18 -12
- data/lib/purecloud/models/create_callback_command.rb +200 -0
- data/lib/purecloud/models/discount.rb +220 -0
- data/lib/purecloud/models/document.rb +13 -1
- data/lib/purecloud/models/document_attribute.rb +158 -0
- data/lib/purecloud/models/document_update.rb +28 -16
- data/lib/purecloud/models/document_upload.rb +4 -16
- data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +238 -0
- data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +238 -0
- data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +1 -1
- data/lib/purecloud/models/edge_line.rb +1 -1
- data/lib/purecloud/models/edge_logs_job.rb +181 -0
- data/lib/purecloud/models/edge_logs_job_file.rb +243 -0
- data/lib/purecloud/models/edge_logs_job_request.rb +168 -0
- data/lib/purecloud/models/{backend_work_item_data_element.rb → edge_logs_job_response.rb} +16 -24
- data/lib/purecloud/models/{flow_lock_request.rb → edge_logs_job_upload_request.rb} +10 -12
- data/lib/purecloud/models/email.rb +15 -4
- data/lib/purecloud/models/endpoint.rb +1 -1
- data/lib/purecloud/models/{flow_associate_workspaces_request.rb → estimated_wait_time_predictions.rb} +10 -11
- data/lib/purecloud/models/external_contact.rb +320 -0
- data/lib/purecloud/models/external_organization.rb +306 -0
- data/lib/purecloud/models/external_organization_listing.rb +238 -0
- data/lib/purecloud/models/facet_filter_item.rb +1 -1
- data/lib/purecloud/models/flow_body.rb +1 -1
- data/lib/purecloud/models/flow_body_format.rb +10 -20
- data/lib/purecloud/models/flow_terminate_request.rb +3 -16
- data/lib/purecloud/models/form.rb +148 -0
- data/lib/purecloud/models/group.rb +11 -1
- data/lib/purecloud/models/health_check_info.rb +268 -0
- data/lib/purecloud/models/{body_2.rb → inline_response_200.rb} +1 -1
- data/lib/purecloud/models/integration_type.rb +209 -0
- data/lib/purecloud/models/integration_type_entity_listing.rb +238 -0
- data/lib/purecloud/models/key_rotation_schedule.rb +1 -0
- data/lib/purecloud/models/language.rb +41 -1
- data/lib/purecloud/models/line.rb +1 -1
- data/lib/purecloud/models/line_base.rb +1 -1
- data/lib/purecloud/models/media_policies.rb +169 -0
- data/lib/purecloud/models/media_policy.rb +171 -0
- data/lib/purecloud/models/note.rb +200 -0
- data/lib/purecloud/models/{user_station_resource.rb → note_listing.rb} +68 -58
- data/lib/purecloud/models/o_auth_client.rb +1 -1
- data/lib/purecloud/models/page.rb +2 -2
- data/lib/purecloud/models/{byte_buffer.rb → payment_method.rb} +48 -61
- data/lib/purecloud/models/payment_method_listing.rb +238 -0
- data/lib/purecloud/models/payment_token_provider.rb +180 -0
- data/lib/purecloud/models/phone.rb +1 -1
- data/lib/purecloud/models/phone_base.rb +1 -1
- data/lib/purecloud/models/phone_number.rb +198 -0
- data/lib/purecloud/models/phones_reboot.rb +14 -4
- data/lib/purecloud/models/policy.rb +14 -1
- data/lib/purecloud/models/prediction_results.rb +167 -0
- data/lib/purecloud/models/query_request.rb +16 -4
- data/lib/purecloud/models/queue_member_entity_listing.rb +1 -1
- data/lib/purecloud/models/quote.rb +13 -1
- data/lib/purecloud/models/recording_settings.rb +146 -0
- data/lib/purecloud/models/relationship.rb +201 -0
- data/lib/purecloud/models/relationship_listing.rb +238 -0
- data/lib/purecloud/models/report_schedule.rb +3 -2
- data/lib/purecloud/models/service_type.rb +12 -1
- data/lib/purecloud/models/social_expression.rb +25 -4
- data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +1 -1
- data/lib/purecloud/models/template.rb +1 -1
- data/lib/purecloud/models/text_table_transform_entity_listing.rb +1 -1
- data/lib/purecloud/models/ticker.rb +158 -0
- data/lib/purecloud/models/time_slot.rb +1 -0
- data/lib/purecloud/models/trunk_base.rb +1 -1
- data/lib/purecloud/models/vendor_connection_request.rb +166 -0
- data/lib/purecloud/models/video.rb +15 -4
- data/lib/purecloud/models/work_item_definition.rb +8 -10
- data/lib/purecloud/version.rb +1 -1
- data/ossindex.json +17 -0
- data/purecloud.gemspec +4 -3
- data/rakefile +3 -15
- data/spec/test.rb +6 -3
- data/swagger.json +1 -1
- data/swagger_template/api_client.mustache +304 -0
- data/swagger_template/base_object.mustache +90 -0
- data/{PureCloud.gemspec → swagger_template/gemspec.mustache} +12 -11
- data/version.json +1 -1
- metadata +76 -25
- data/lib/purecloud/api/analytics_api.rb +0 -1554
- data/lib/purecloud/api/orphaned_recordings_api.rb +0 -205
- data/newVersion.md +0 -1
|
@@ -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 post_email_domains(opts = {})
|
|
73
|
+
data, status_code, headers = post_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 post_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#post_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#post_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_domains_domain_routes(domain, opts = {})
|
|
131
|
+
data, status_code, headers = get_email_domains_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_domains_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_domains_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_domains_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_domains_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 post_email_domains_domain_routes(domain, opts = {})
|
|
193
|
+
data, status_code, headers = post_email_domains_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 post_email_domains_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#post_email_domains_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 post_email_domains_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#post_email_domains_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_domains_domain_routes_id(domain, id, opts = {})
|
|
256
|
+
data, status_code, headers = get_email_domains_domain_routes_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_domains_domain_routes_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_domains_domain_routes_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_domains_domain_routes_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_domains_domain_routes_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_domains_domain_routes_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 put_email_domains_domain_routes_id(domain, id, opts = {})
|
|
323
|
+
data, status_code, headers = put_email_domains_domain_routes_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 put_email_domains_domain_routes_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#put_email_domains_domain_routes_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 put_email_domains_domain_routes_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 put_email_domains_domain_routes_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#put_email_domains_domain_routes_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_domains_domain_routes_id(domain, id, opts = {})
|
|
390
|
+
data, status_code, headers = delete_email_domains_domain_routes_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_domains_domain_routes_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_domains_domain_routes_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_domains_domain_routes_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_domains_domain_routes_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_domains_domain_routes_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
445
445
|
end
|
|
446
446
|
return data, status_code, headers
|
|
447
447
|
end
|
|
@@ -565,7 +565,6 @@ module PureCloud
|
|
|
565
565
|
|
|
566
566
|
# Get list of queues.
|
|
567
567
|
#
|
|
568
|
-
# @param queue_id Queue ID
|
|
569
568
|
# @param [Hash] opts the optional parameters
|
|
570
569
|
# @option opts [Integer] :page_size Page size
|
|
571
570
|
# @option opts [Integer] :page_number Page number
|
|
@@ -573,14 +572,13 @@ module PureCloud
|
|
|
573
572
|
# @option opts [String] :name Name
|
|
574
573
|
# @option opts [BOOLEAN] :active Active
|
|
575
574
|
# @return [QueueEntityListing]
|
|
576
|
-
def get_queues(
|
|
577
|
-
data, status_code, headers = get_queues_with_http_info(
|
|
575
|
+
def get_queues(opts = {})
|
|
576
|
+
data, status_code, headers = get_queues_with_http_info(opts)
|
|
578
577
|
return data
|
|
579
578
|
end
|
|
580
579
|
|
|
581
580
|
# Get list of queues.
|
|
582
581
|
#
|
|
583
|
-
# @param queue_id Queue ID
|
|
584
582
|
# @param [Hash] opts the optional parameters
|
|
585
583
|
# @option opts [Integer] :page_size Page size
|
|
586
584
|
# @option opts [Integer] :page_number Page number
|
|
@@ -588,16 +586,13 @@ module PureCloud
|
|
|
588
586
|
# @option opts [String] :name Name
|
|
589
587
|
# @option opts [BOOLEAN] :active Active
|
|
590
588
|
# @return [Array<(QueueEntityListing, Fixnum, Hash)>] QueueEntityListing data, response status code and response headers
|
|
591
|
-
def get_queues_with_http_info(
|
|
589
|
+
def get_queues_with_http_info(opts = {})
|
|
592
590
|
if @api_client.config.debugging
|
|
593
591
|
@api_client.config.logger.debug "Calling API: RoutingApi#get_queues ..."
|
|
594
592
|
end
|
|
595
593
|
|
|
596
|
-
# verify the required parameter 'queue_id' is set
|
|
597
|
-
fail "Missing the required parameter 'queue_id' when calling get_queues" if queue_id.nil?
|
|
598
|
-
|
|
599
594
|
# resource path
|
|
600
|
-
path = "/api/v1/routing/queues".sub('{format}','json')
|
|
595
|
+
path = "/api/v1/routing/queues".sub('{format}','json')
|
|
601
596
|
|
|
602
597
|
# query parameters
|
|
603
598
|
query_params = {}
|
|
@@ -641,31 +636,26 @@ module PureCloud
|
|
|
641
636
|
|
|
642
637
|
# Create queue
|
|
643
638
|
#
|
|
644
|
-
# @param queue_id Queue ID
|
|
645
639
|
# @param [Hash] opts the optional parameters
|
|
646
640
|
# @option opts [Queue] :body Queue
|
|
647
641
|
# @return [Queue]
|
|
648
|
-
def
|
|
649
|
-
data, status_code, headers =
|
|
642
|
+
def post_queues(opts = {})
|
|
643
|
+
data, status_code, headers = post_queues_with_http_info(opts)
|
|
650
644
|
return data
|
|
651
645
|
end
|
|
652
646
|
|
|
653
647
|
# Create queue
|
|
654
648
|
#
|
|
655
|
-
# @param queue_id Queue ID
|
|
656
649
|
# @param [Hash] opts the optional parameters
|
|
657
650
|
# @option opts [Queue] :body Queue
|
|
658
651
|
# @return [Array<(Queue, Fixnum, Hash)>] Queue data, response status code and response headers
|
|
659
|
-
def
|
|
652
|
+
def post_queues_with_http_info(opts = {})
|
|
660
653
|
if @api_client.config.debugging
|
|
661
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
654
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#post_queues ..."
|
|
662
655
|
end
|
|
663
656
|
|
|
664
|
-
# verify the required parameter 'queue_id' is set
|
|
665
|
-
fail "Missing the required parameter 'queue_id' when calling create_queues" if queue_id.nil?
|
|
666
|
-
|
|
667
657
|
# resource path
|
|
668
|
-
path = "/api/v1/routing/queues".sub('{format}','json')
|
|
658
|
+
path = "/api/v1/routing/queues".sub('{format}','json')
|
|
669
659
|
|
|
670
660
|
# query parameters
|
|
671
661
|
query_params = {}
|
|
@@ -697,7 +687,7 @@ module PureCloud
|
|
|
697
687
|
:auth_names => auth_names,
|
|
698
688
|
:return_type => 'Queue')
|
|
699
689
|
if @api_client.config.debugging
|
|
700
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
690
|
+
@api_client.config.logger.debug "API called: RoutingApi#post_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
701
691
|
end
|
|
702
692
|
return data, status_code, headers
|
|
703
693
|
end
|
|
@@ -707,8 +697,8 @@ module PureCloud
|
|
|
707
697
|
# @param queue_id Queue ID
|
|
708
698
|
# @param [Hash] opts the optional parameters
|
|
709
699
|
# @return [Queue]
|
|
710
|
-
def
|
|
711
|
-
data, status_code, headers =
|
|
700
|
+
def get_queues_queue_id(queue_id, opts = {})
|
|
701
|
+
data, status_code, headers = get_queues_queue_id_with_http_info(queue_id, opts)
|
|
712
702
|
return data
|
|
713
703
|
end
|
|
714
704
|
|
|
@@ -717,13 +707,13 @@ module PureCloud
|
|
|
717
707
|
# @param queue_id Queue ID
|
|
718
708
|
# @param [Hash] opts the optional parameters
|
|
719
709
|
# @return [Array<(Queue, Fixnum, Hash)>] Queue data, response status code and response headers
|
|
720
|
-
def
|
|
710
|
+
def get_queues_queue_id_with_http_info(queue_id, opts = {})
|
|
721
711
|
if @api_client.config.debugging
|
|
722
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
712
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#get_queues_queue_id ..."
|
|
723
713
|
end
|
|
724
714
|
|
|
725
715
|
# verify the required parameter 'queue_id' is set
|
|
726
|
-
fail "Missing the required parameter 'queue_id' when calling
|
|
716
|
+
fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id" if queue_id.nil?
|
|
727
717
|
|
|
728
718
|
# resource path
|
|
729
719
|
path = "/api/v1/routing/queues/{queueId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
|
@@ -758,7 +748,7 @@ module PureCloud
|
|
|
758
748
|
:auth_names => auth_names,
|
|
759
749
|
:return_type => 'Queue')
|
|
760
750
|
if @api_client.config.debugging
|
|
761
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
751
|
+
@api_client.config.logger.debug "API called: RoutingApi#get_queues_queue_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
762
752
|
end
|
|
763
753
|
return data, status_code, headers
|
|
764
754
|
end
|
|
@@ -769,8 +759,8 @@ module PureCloud
|
|
|
769
759
|
# @param [Hash] opts the optional parameters
|
|
770
760
|
# @option opts [Queue] :body Queue
|
|
771
761
|
# @return [Queue]
|
|
772
|
-
def
|
|
773
|
-
data, status_code, headers =
|
|
762
|
+
def put_queues_queue_id(queue_id, opts = {})
|
|
763
|
+
data, status_code, headers = put_queues_queue_id_with_http_info(queue_id, opts)
|
|
774
764
|
return data
|
|
775
765
|
end
|
|
776
766
|
|
|
@@ -780,13 +770,13 @@ module PureCloud
|
|
|
780
770
|
# @param [Hash] opts the optional parameters
|
|
781
771
|
# @option opts [Queue] :body Queue
|
|
782
772
|
# @return [Array<(Queue, Fixnum, Hash)>] Queue data, response status code and response headers
|
|
783
|
-
def
|
|
773
|
+
def put_queues_queue_id_with_http_info(queue_id, opts = {})
|
|
784
774
|
if @api_client.config.debugging
|
|
785
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
775
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#put_queues_queue_id ..."
|
|
786
776
|
end
|
|
787
777
|
|
|
788
778
|
# verify the required parameter 'queue_id' is set
|
|
789
|
-
fail "Missing the required parameter 'queue_id' when calling
|
|
779
|
+
fail "Missing the required parameter 'queue_id' when calling put_queues_queue_id" if queue_id.nil?
|
|
790
780
|
|
|
791
781
|
# resource path
|
|
792
782
|
path = "/api/v1/routing/queues/{queueId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
|
@@ -821,7 +811,7 @@ module PureCloud
|
|
|
821
811
|
:auth_names => auth_names,
|
|
822
812
|
:return_type => 'Queue')
|
|
823
813
|
if @api_client.config.debugging
|
|
824
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
814
|
+
@api_client.config.logger.debug "API called: RoutingApi#put_queues_queue_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
825
815
|
end
|
|
826
816
|
return data, status_code, headers
|
|
827
817
|
end
|
|
@@ -832,8 +822,8 @@ module PureCloud
|
|
|
832
822
|
# @param [Hash] opts the optional parameters
|
|
833
823
|
# @option opts [BOOLEAN] :force_delete
|
|
834
824
|
# @return [String]
|
|
835
|
-
def
|
|
836
|
-
data, status_code, headers =
|
|
825
|
+
def delete_queues_queue_id(queue_id, opts = {})
|
|
826
|
+
data, status_code, headers = delete_queues_queue_id_with_http_info(queue_id, opts)
|
|
837
827
|
return data
|
|
838
828
|
end
|
|
839
829
|
|
|
@@ -843,13 +833,13 @@ module PureCloud
|
|
|
843
833
|
# @param [Hash] opts the optional parameters
|
|
844
834
|
# @option opts [BOOLEAN] :force_delete
|
|
845
835
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
846
|
-
def
|
|
836
|
+
def delete_queues_queue_id_with_http_info(queue_id, opts = {})
|
|
847
837
|
if @api_client.config.debugging
|
|
848
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
838
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#delete_queues_queue_id ..."
|
|
849
839
|
end
|
|
850
840
|
|
|
851
841
|
# verify the required parameter 'queue_id' is set
|
|
852
|
-
fail "Missing the required parameter 'queue_id' when calling
|
|
842
|
+
fail "Missing the required parameter 'queue_id' when calling delete_queues_queue_id" if queue_id.nil?
|
|
853
843
|
|
|
854
844
|
# resource path
|
|
855
845
|
path = "/api/v1/routing/queues/{queueId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
|
@@ -885,7 +875,71 @@ module PureCloud
|
|
|
885
875
|
:auth_names => auth_names,
|
|
886
876
|
:return_type => 'String')
|
|
887
877
|
if @api_client.config.debugging
|
|
888
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
878
|
+
@api_client.config.logger.debug "API called: RoutingApi#delete_queues_queue_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
879
|
+
end
|
|
880
|
+
return data, status_code, headers
|
|
881
|
+
end
|
|
882
|
+
|
|
883
|
+
# Get Estimated Wait Time
|
|
884
|
+
#
|
|
885
|
+
# @param queue_id queueId
|
|
886
|
+
# @param [Hash] opts the optional parameters
|
|
887
|
+
# @option opts [String] :conversation_id conversationId
|
|
888
|
+
# @return [EstimatedWaitTimePredictions]
|
|
889
|
+
def get_queues_queue_id_estimatedwaittime(queue_id, opts = {})
|
|
890
|
+
data, status_code, headers = get_queues_queue_id_estimatedwaittime_with_http_info(queue_id, opts)
|
|
891
|
+
return data
|
|
892
|
+
end
|
|
893
|
+
|
|
894
|
+
# Get Estimated Wait Time
|
|
895
|
+
#
|
|
896
|
+
# @param queue_id queueId
|
|
897
|
+
# @param [Hash] opts the optional parameters
|
|
898
|
+
# @option opts [String] :conversation_id conversationId
|
|
899
|
+
# @return [Array<(EstimatedWaitTimePredictions, Fixnum, Hash)>] EstimatedWaitTimePredictions data, response status code and response headers
|
|
900
|
+
def get_queues_queue_id_estimatedwaittime_with_http_info(queue_id, opts = {})
|
|
901
|
+
if @api_client.config.debugging
|
|
902
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#get_queues_queue_id_estimatedwaittime ..."
|
|
903
|
+
end
|
|
904
|
+
|
|
905
|
+
# verify the required parameter 'queue_id' is set
|
|
906
|
+
fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id_estimatedwaittime" if queue_id.nil?
|
|
907
|
+
|
|
908
|
+
# resource path
|
|
909
|
+
path = "/api/v1/routing/queues/{queueId}/estimatedwaittime".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
|
910
|
+
|
|
911
|
+
# query parameters
|
|
912
|
+
query_params = {}
|
|
913
|
+
query_params[:'conversationId'] = opts[:'conversation_id'] if opts[:'conversation_id']
|
|
914
|
+
|
|
915
|
+
# header parameters
|
|
916
|
+
header_params = {}
|
|
917
|
+
|
|
918
|
+
# HTTP header 'Accept' (if needed)
|
|
919
|
+
_header_accept = ['application/json']
|
|
920
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
921
|
+
|
|
922
|
+
# HTTP header 'Content-Type'
|
|
923
|
+
_header_content_type = ['application/json']
|
|
924
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
925
|
+
|
|
926
|
+
# form parameters
|
|
927
|
+
form_params = {}
|
|
928
|
+
|
|
929
|
+
# http body (model)
|
|
930
|
+
post_body = nil
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
auth_names = ['PureCloud Auth']
|
|
934
|
+
data, status_code, headers = @api_client.call_api(:GET, path,
|
|
935
|
+
:header_params => header_params,
|
|
936
|
+
:query_params => query_params,
|
|
937
|
+
:form_params => form_params,
|
|
938
|
+
:body => post_body,
|
|
939
|
+
:auth_names => auth_names,
|
|
940
|
+
:return_type => 'EstimatedWaitTimePredictions')
|
|
941
|
+
if @api_client.config.debugging
|
|
942
|
+
@api_client.config.logger.debug "API called: RoutingApi#get_queues_queue_id_estimatedwaittime\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
889
943
|
end
|
|
890
944
|
return data, status_code, headers
|
|
891
945
|
end
|
|
@@ -901,8 +955,8 @@ module PureCloud
|
|
|
901
955
|
# @option opts [BOOLEAN] :joined Joined
|
|
902
956
|
# @option opts [String] :expand expand
|
|
903
957
|
# @return [QueueMemberEntityListing]
|
|
904
|
-
def
|
|
905
|
-
data, status_code, headers =
|
|
958
|
+
def get_queues_queue_id_members(queue_id, opts = {})
|
|
959
|
+
data, status_code, headers = get_queues_queue_id_members_with_http_info(queue_id, opts)
|
|
906
960
|
return data
|
|
907
961
|
end
|
|
908
962
|
|
|
@@ -917,13 +971,13 @@ module PureCloud
|
|
|
917
971
|
# @option opts [BOOLEAN] :joined Joined
|
|
918
972
|
# @option opts [String] :expand expand
|
|
919
973
|
# @return [Array<(QueueMemberEntityListing, Fixnum, Hash)>] QueueMemberEntityListing data, response status code and response headers
|
|
920
|
-
def
|
|
974
|
+
def get_queues_queue_id_members_with_http_info(queue_id, opts = {})
|
|
921
975
|
if @api_client.config.debugging
|
|
922
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
976
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#get_queues_queue_id_members ..."
|
|
923
977
|
end
|
|
924
978
|
|
|
925
979
|
# verify the required parameter 'queue_id' is set
|
|
926
|
-
fail "Missing the required parameter 'queue_id' when calling
|
|
980
|
+
fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id_members" if queue_id.nil?
|
|
927
981
|
|
|
928
982
|
if opts[:'expand'] && !['routingStatus'].include?(opts[:'expand'])
|
|
929
983
|
fail 'invalid value for "expand", must be one of routingStatus'
|
|
@@ -968,7 +1022,7 @@ module PureCloud
|
|
|
968
1022
|
:auth_names => auth_names,
|
|
969
1023
|
:return_type => 'QueueMemberEntityListing')
|
|
970
1024
|
if @api_client.config.debugging
|
|
971
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
1025
|
+
@api_client.config.logger.debug "API called: RoutingApi#get_queues_queue_id_members\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
972
1026
|
end
|
|
973
1027
|
return data, status_code, headers
|
|
974
1028
|
end
|
|
@@ -980,8 +1034,8 @@ module PureCloud
|
|
|
980
1034
|
# @param [Hash] opts the optional parameters
|
|
981
1035
|
# @option opts [QueueMember] :body To join queue ~ \"joined\":true
|
|
982
1036
|
# @return [QueueMember]
|
|
983
|
-
def
|
|
984
|
-
data, status_code, headers =
|
|
1037
|
+
def put_queues_queue_id_members_member_id(queue_id, member_id, opts = {})
|
|
1038
|
+
data, status_code, headers = put_queues_queue_id_members_member_id_with_http_info(queue_id, member_id, opts)
|
|
985
1039
|
return data
|
|
986
1040
|
end
|
|
987
1041
|
|
|
@@ -992,16 +1046,16 @@ module PureCloud
|
|
|
992
1046
|
# @param [Hash] opts the optional parameters
|
|
993
1047
|
# @option opts [QueueMember] :body To join queue ~ \"joined\":true
|
|
994
1048
|
# @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
|
|
995
|
-
def
|
|
1049
|
+
def put_queues_queue_id_members_member_id_with_http_info(queue_id, member_id, opts = {})
|
|
996
1050
|
if @api_client.config.debugging
|
|
997
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
1051
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#put_queues_queue_id_members_member_id ..."
|
|
998
1052
|
end
|
|
999
1053
|
|
|
1000
1054
|
# verify the required parameter 'queue_id' is set
|
|
1001
|
-
fail "Missing the required parameter 'queue_id' when calling
|
|
1055
|
+
fail "Missing the required parameter 'queue_id' when calling put_queues_queue_id_members_member_id" if queue_id.nil?
|
|
1002
1056
|
|
|
1003
1057
|
# verify the required parameter 'member_id' is set
|
|
1004
|
-
fail "Missing the required parameter 'member_id' when calling
|
|
1058
|
+
fail "Missing the required parameter 'member_id' when calling put_queues_queue_id_members_member_id" if member_id.nil?
|
|
1005
1059
|
|
|
1006
1060
|
# resource path
|
|
1007
1061
|
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 +1090,7 @@ module PureCloud
|
|
|
1036
1090
|
:auth_names => auth_names,
|
|
1037
1091
|
:return_type => 'QueueMember')
|
|
1038
1092
|
if @api_client.config.debugging
|
|
1039
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
1093
|
+
@api_client.config.logger.debug "API called: RoutingApi#put_queues_queue_id_members_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1040
1094
|
end
|
|
1041
1095
|
return data, status_code, headers
|
|
1042
1096
|
end
|
|
@@ -1051,8 +1105,8 @@ module PureCloud
|
|
|
1051
1105
|
# @option opts [String] :expand expand
|
|
1052
1106
|
# @option opts [BOOLEAN] :direct_members Only get users that are direct members of the queue
|
|
1053
1107
|
# @return [QueueMember]
|
|
1054
|
-
def
|
|
1055
|
-
data, status_code, headers =
|
|
1108
|
+
def get_queues_queue_id_users(queue_id, opts = {})
|
|
1109
|
+
data, status_code, headers = get_queues_queue_id_users_with_http_info(queue_id, opts)
|
|
1056
1110
|
return data
|
|
1057
1111
|
end
|
|
1058
1112
|
|
|
@@ -1066,13 +1120,13 @@ module PureCloud
|
|
|
1066
1120
|
# @option opts [String] :expand expand
|
|
1067
1121
|
# @option opts [BOOLEAN] :direct_members Only get users that are direct members of the queue
|
|
1068
1122
|
# @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
|
|
1069
|
-
def
|
|
1123
|
+
def get_queues_queue_id_users_with_http_info(queue_id, opts = {})
|
|
1070
1124
|
if @api_client.config.debugging
|
|
1071
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
1125
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#get_queues_queue_id_users ..."
|
|
1072
1126
|
end
|
|
1073
1127
|
|
|
1074
1128
|
# verify the required parameter 'queue_id' is set
|
|
1075
|
-
fail "Missing the required parameter 'queue_id' when calling
|
|
1129
|
+
fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id_users" if queue_id.nil?
|
|
1076
1130
|
|
|
1077
1131
|
# resource path
|
|
1078
1132
|
path = "/api/v1/routing/queues/{queueId}/users".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
|
@@ -1112,7 +1166,7 @@ module PureCloud
|
|
|
1112
1166
|
:auth_names => auth_names,
|
|
1113
1167
|
:return_type => 'QueueMember')
|
|
1114
1168
|
if @api_client.config.debugging
|
|
1115
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
1169
|
+
@api_client.config.logger.debug "API called: RoutingApi#get_queues_queue_id_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1116
1170
|
end
|
|
1117
1171
|
return data, status_code, headers
|
|
1118
1172
|
end
|
|
@@ -1124,8 +1178,8 @@ module PureCloud
|
|
|
1124
1178
|
# @option opts [Array<QueueMember>] :body Queue Members
|
|
1125
1179
|
# @option opts [BOOLEAN] :delete True to delete queue members
|
|
1126
1180
|
# @return [QueueMember]
|
|
1127
|
-
def
|
|
1128
|
-
data, status_code, headers =
|
|
1181
|
+
def post_queues_queue_id_users(queue_id, opts = {})
|
|
1182
|
+
data, status_code, headers = post_queues_queue_id_users_with_http_info(queue_id, opts)
|
|
1129
1183
|
return data
|
|
1130
1184
|
end
|
|
1131
1185
|
|
|
@@ -1136,13 +1190,13 @@ module PureCloud
|
|
|
1136
1190
|
# @option opts [Array<QueueMember>] :body Queue Members
|
|
1137
1191
|
# @option opts [BOOLEAN] :delete True to delete queue members
|
|
1138
1192
|
# @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
|
|
1139
|
-
def
|
|
1193
|
+
def post_queues_queue_id_users_with_http_info(queue_id, opts = {})
|
|
1140
1194
|
if @api_client.config.debugging
|
|
1141
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
1195
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#post_queues_queue_id_users ..."
|
|
1142
1196
|
end
|
|
1143
1197
|
|
|
1144
1198
|
# verify the required parameter 'queue_id' is set
|
|
1145
|
-
fail "Missing the required parameter 'queue_id' when calling
|
|
1199
|
+
fail "Missing the required parameter 'queue_id' when calling post_queues_queue_id_users" if queue_id.nil?
|
|
1146
1200
|
|
|
1147
1201
|
# resource path
|
|
1148
1202
|
path = "/api/v1/routing/queues/{queueId}/users".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
|
@@ -1178,7 +1232,7 @@ module PureCloud
|
|
|
1178
1232
|
:auth_names => auth_names,
|
|
1179
1233
|
:return_type => 'QueueMember')
|
|
1180
1234
|
if @api_client.config.debugging
|
|
1181
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
1235
|
+
@api_client.config.logger.debug "API called: RoutingApi#post_queues_queue_id_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1182
1236
|
end
|
|
1183
1237
|
return data, status_code, headers
|
|
1184
1238
|
end
|
|
@@ -1189,8 +1243,8 @@ module PureCloud
|
|
|
1189
1243
|
# @param [Hash] opts the optional parameters
|
|
1190
1244
|
# @option opts [Array<QueueMember>] :body Queue Members
|
|
1191
1245
|
# @return [QueueMember]
|
|
1192
|
-
def
|
|
1193
|
-
data, status_code, headers =
|
|
1246
|
+
def patch_queues_queue_id_users(queue_id, opts = {})
|
|
1247
|
+
data, status_code, headers = patch_queues_queue_id_users_with_http_info(queue_id, opts)
|
|
1194
1248
|
return data
|
|
1195
1249
|
end
|
|
1196
1250
|
|
|
@@ -1200,13 +1254,13 @@ module PureCloud
|
|
|
1200
1254
|
# @param [Hash] opts the optional parameters
|
|
1201
1255
|
# @option opts [Array<QueueMember>] :body Queue Members
|
|
1202
1256
|
# @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
|
|
1203
|
-
def
|
|
1257
|
+
def patch_queues_queue_id_users_with_http_info(queue_id, opts = {})
|
|
1204
1258
|
if @api_client.config.debugging
|
|
1205
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
1259
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#patch_queues_queue_id_users ..."
|
|
1206
1260
|
end
|
|
1207
1261
|
|
|
1208
1262
|
# verify the required parameter 'queue_id' is set
|
|
1209
|
-
fail "Missing the required parameter 'queue_id' when calling
|
|
1263
|
+
fail "Missing the required parameter 'queue_id' when calling patch_queues_queue_id_users" if queue_id.nil?
|
|
1210
1264
|
|
|
1211
1265
|
# resource path
|
|
1212
1266
|
path = "/api/v1/routing/queues/{queueId}/users".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
|
@@ -1241,7 +1295,7 @@ module PureCloud
|
|
|
1241
1295
|
:auth_names => auth_names,
|
|
1242
1296
|
:return_type => 'QueueMember')
|
|
1243
1297
|
if @api_client.config.debugging
|
|
1244
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
1298
|
+
@api_client.config.logger.debug "API called: RoutingApi#patch_queues_queue_id_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1245
1299
|
end
|
|
1246
1300
|
return data, status_code, headers
|
|
1247
1301
|
end
|
|
@@ -1252,8 +1306,8 @@ module PureCloud
|
|
|
1252
1306
|
# @param member_id Member ID
|
|
1253
1307
|
# @param [Hash] opts the optional parameters
|
|
1254
1308
|
# @return [String]
|
|
1255
|
-
def
|
|
1256
|
-
data, status_code, headers =
|
|
1309
|
+
def delete_queues_queue_id_users_member_id(queue_id, member_id, opts = {})
|
|
1310
|
+
data, status_code, headers = delete_queues_queue_id_users_member_id_with_http_info(queue_id, member_id, opts)
|
|
1257
1311
|
return data
|
|
1258
1312
|
end
|
|
1259
1313
|
|
|
@@ -1263,16 +1317,16 @@ module PureCloud
|
|
|
1263
1317
|
# @param member_id Member ID
|
|
1264
1318
|
# @param [Hash] opts the optional parameters
|
|
1265
1319
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
1266
|
-
def
|
|
1320
|
+
def delete_queues_queue_id_users_member_id_with_http_info(queue_id, member_id, opts = {})
|
|
1267
1321
|
if @api_client.config.debugging
|
|
1268
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
1322
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#delete_queues_queue_id_users_member_id ..."
|
|
1269
1323
|
end
|
|
1270
1324
|
|
|
1271
1325
|
# verify the required parameter 'queue_id' is set
|
|
1272
|
-
fail "Missing the required parameter 'queue_id' when calling
|
|
1326
|
+
fail "Missing the required parameter 'queue_id' when calling delete_queues_queue_id_users_member_id" if queue_id.nil?
|
|
1273
1327
|
|
|
1274
1328
|
# verify the required parameter 'member_id' is set
|
|
1275
|
-
fail "Missing the required parameter 'member_id' when calling
|
|
1329
|
+
fail "Missing the required parameter 'member_id' when calling delete_queues_queue_id_users_member_id" if member_id.nil?
|
|
1276
1330
|
|
|
1277
1331
|
# resource path
|
|
1278
1332
|
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 +1361,7 @@ module PureCloud
|
|
|
1307
1361
|
:auth_names => auth_names,
|
|
1308
1362
|
:return_type => 'String')
|
|
1309
1363
|
if @api_client.config.debugging
|
|
1310
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
1364
|
+
@api_client.config.logger.debug "API called: RoutingApi#delete_queues_queue_id_users_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1311
1365
|
end
|
|
1312
1366
|
return data, status_code, headers
|
|
1313
1367
|
end
|
|
@@ -1319,8 +1373,8 @@ module PureCloud
|
|
|
1319
1373
|
# @param [Hash] opts the optional parameters
|
|
1320
1374
|
# @option opts [QueueMember] :body Queue Member
|
|
1321
1375
|
# @return [QueueMember]
|
|
1322
|
-
def
|
|
1323
|
-
data, status_code, headers =
|
|
1376
|
+
def patch_queues_queue_id_users_member_id(queue_id, member_id, opts = {})
|
|
1377
|
+
data, status_code, headers = patch_queues_queue_id_users_member_id_with_http_info(queue_id, member_id, opts)
|
|
1324
1378
|
return data
|
|
1325
1379
|
end
|
|
1326
1380
|
|
|
@@ -1331,16 +1385,16 @@ module PureCloud
|
|
|
1331
1385
|
# @param [Hash] opts the optional parameters
|
|
1332
1386
|
# @option opts [QueueMember] :body Queue Member
|
|
1333
1387
|
# @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
|
|
1334
|
-
def
|
|
1388
|
+
def patch_queues_queue_id_users_member_id_with_http_info(queue_id, member_id, opts = {})
|
|
1335
1389
|
if @api_client.config.debugging
|
|
1336
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
1390
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#patch_queues_queue_id_users_member_id ..."
|
|
1337
1391
|
end
|
|
1338
1392
|
|
|
1339
1393
|
# verify the required parameter 'queue_id' is set
|
|
1340
|
-
fail "Missing the required parameter 'queue_id' when calling
|
|
1394
|
+
fail "Missing the required parameter 'queue_id' when calling patch_queues_queue_id_users_member_id" if queue_id.nil?
|
|
1341
1395
|
|
|
1342
1396
|
# verify the required parameter 'member_id' is set
|
|
1343
|
-
fail "Missing the required parameter 'member_id' when calling
|
|
1397
|
+
fail "Missing the required parameter 'member_id' when calling patch_queues_queue_id_users_member_id" if member_id.nil?
|
|
1344
1398
|
|
|
1345
1399
|
# resource path
|
|
1346
1400
|
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 +1429,7 @@ module PureCloud
|
|
|
1375
1429
|
:auth_names => auth_names,
|
|
1376
1430
|
:return_type => 'QueueMember')
|
|
1377
1431
|
if @api_client.config.debugging
|
|
1378
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
1432
|
+
@api_client.config.logger.debug "API called: RoutingApi#patch_queues_queue_id_users_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1379
1433
|
end
|
|
1380
1434
|
return data, status_code, headers
|
|
1381
1435
|
end
|
|
@@ -1386,8 +1440,8 @@ module PureCloud
|
|
|
1386
1440
|
# @param code_id Code ID
|
|
1387
1441
|
# @param [Hash] opts the optional parameters
|
|
1388
1442
|
# @return [WrapupCode]
|
|
1389
|
-
def
|
|
1390
|
-
data, status_code, headers =
|
|
1443
|
+
def get_queues_queue_id_wrapupcodes(queue_id, code_id, opts = {})
|
|
1444
|
+
data, status_code, headers = get_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, opts)
|
|
1391
1445
|
return data
|
|
1392
1446
|
end
|
|
1393
1447
|
|
|
@@ -1397,16 +1451,16 @@ module PureCloud
|
|
|
1397
1451
|
# @param code_id Code ID
|
|
1398
1452
|
# @param [Hash] opts the optional parameters
|
|
1399
1453
|
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
1400
|
-
def
|
|
1454
|
+
def get_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, opts = {})
|
|
1401
1455
|
if @api_client.config.debugging
|
|
1402
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
1456
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#get_queues_queue_id_wrapupcodes ..."
|
|
1403
1457
|
end
|
|
1404
1458
|
|
|
1405
1459
|
# verify the required parameter 'queue_id' is set
|
|
1406
|
-
fail "Missing the required parameter 'queue_id' when calling
|
|
1460
|
+
fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id_wrapupcodes" if queue_id.nil?
|
|
1407
1461
|
|
|
1408
1462
|
# verify the required parameter 'code_id' is set
|
|
1409
|
-
fail "Missing the required parameter 'code_id' when calling
|
|
1463
|
+
fail "Missing the required parameter 'code_id' when calling get_queues_queue_id_wrapupcodes" if code_id.nil?
|
|
1410
1464
|
|
|
1411
1465
|
# resource path
|
|
1412
1466
|
path = "/api/v1/routing/queues/{queueId}/wrapupcodes".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'codeId' + '}', code_id.to_s)
|
|
@@ -1441,7 +1495,7 @@ module PureCloud
|
|
|
1441
1495
|
:auth_names => auth_names,
|
|
1442
1496
|
:return_type => 'WrapupCode')
|
|
1443
1497
|
if @api_client.config.debugging
|
|
1444
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
1498
|
+
@api_client.config.logger.debug "API called: RoutingApi#get_queues_queue_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1445
1499
|
end
|
|
1446
1500
|
return data, status_code, headers
|
|
1447
1501
|
end
|
|
@@ -1453,8 +1507,8 @@ module PureCloud
|
|
|
1453
1507
|
# @param [Hash] opts the optional parameters
|
|
1454
1508
|
# @option opts [Array<WrapupCode>] :body
|
|
1455
1509
|
# @return [WrapupCode]
|
|
1456
|
-
def
|
|
1457
|
-
data, status_code, headers =
|
|
1510
|
+
def post_queues_queue_id_wrapupcodes(queue_id, code_id, opts = {})
|
|
1511
|
+
data, status_code, headers = post_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, opts)
|
|
1458
1512
|
return data
|
|
1459
1513
|
end
|
|
1460
1514
|
|
|
@@ -1465,16 +1519,16 @@ module PureCloud
|
|
|
1465
1519
|
# @param [Hash] opts the optional parameters
|
|
1466
1520
|
# @option opts [Array<WrapupCode>] :body
|
|
1467
1521
|
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
1468
|
-
def
|
|
1522
|
+
def post_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, opts = {})
|
|
1469
1523
|
if @api_client.config.debugging
|
|
1470
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
1524
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#post_queues_queue_id_wrapupcodes ..."
|
|
1471
1525
|
end
|
|
1472
1526
|
|
|
1473
1527
|
# verify the required parameter 'queue_id' is set
|
|
1474
|
-
fail "Missing the required parameter 'queue_id' when calling
|
|
1528
|
+
fail "Missing the required parameter 'queue_id' when calling post_queues_queue_id_wrapupcodes" if queue_id.nil?
|
|
1475
1529
|
|
|
1476
1530
|
# verify the required parameter 'code_id' is set
|
|
1477
|
-
fail "Missing the required parameter 'code_id' when calling
|
|
1531
|
+
fail "Missing the required parameter 'code_id' when calling post_queues_queue_id_wrapupcodes" if code_id.nil?
|
|
1478
1532
|
|
|
1479
1533
|
# resource path
|
|
1480
1534
|
path = "/api/v1/routing/queues/{queueId}/wrapupcodes".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'codeId' + '}', code_id.to_s)
|
|
@@ -1509,7 +1563,7 @@ module PureCloud
|
|
|
1509
1563
|
:auth_names => auth_names,
|
|
1510
1564
|
:return_type => 'WrapupCode')
|
|
1511
1565
|
if @api_client.config.debugging
|
|
1512
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
1566
|
+
@api_client.config.logger.debug "API called: RoutingApi#post_queues_queue_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1513
1567
|
end
|
|
1514
1568
|
return data, status_code, headers
|
|
1515
1569
|
end
|
|
@@ -1520,8 +1574,8 @@ module PureCloud
|
|
|
1520
1574
|
# @param code_id Code ID
|
|
1521
1575
|
# @param [Hash] opts the optional parameters
|
|
1522
1576
|
# @return [String]
|
|
1523
|
-
def
|
|
1524
|
-
data, status_code, headers =
|
|
1577
|
+
def delete_queues_queue_id_wrapupcodes_code_id(queue_id, code_id, opts = {})
|
|
1578
|
+
data, status_code, headers = delete_queues_queue_id_wrapupcodes_code_id_with_http_info(queue_id, code_id, opts)
|
|
1525
1579
|
return data
|
|
1526
1580
|
end
|
|
1527
1581
|
|
|
@@ -1531,16 +1585,16 @@ module PureCloud
|
|
|
1531
1585
|
# @param code_id Code ID
|
|
1532
1586
|
# @param [Hash] opts the optional parameters
|
|
1533
1587
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
1534
|
-
def
|
|
1588
|
+
def delete_queues_queue_id_wrapupcodes_code_id_with_http_info(queue_id, code_id, opts = {})
|
|
1535
1589
|
if @api_client.config.debugging
|
|
1536
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
1590
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#delete_queues_queue_id_wrapupcodes_code_id ..."
|
|
1537
1591
|
end
|
|
1538
1592
|
|
|
1539
1593
|
# verify the required parameter 'queue_id' is set
|
|
1540
|
-
fail "Missing the required parameter 'queue_id' when calling
|
|
1594
|
+
fail "Missing the required parameter 'queue_id' when calling delete_queues_queue_id_wrapupcodes_code_id" if queue_id.nil?
|
|
1541
1595
|
|
|
1542
1596
|
# verify the required parameter 'code_id' is set
|
|
1543
|
-
fail "Missing the required parameter 'code_id' when calling
|
|
1597
|
+
fail "Missing the required parameter 'code_id' when calling delete_queues_queue_id_wrapupcodes_code_id" if code_id.nil?
|
|
1544
1598
|
|
|
1545
1599
|
# resource path
|
|
1546
1600
|
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 +1629,7 @@ module PureCloud
|
|
|
1575
1629
|
:auth_names => auth_names,
|
|
1576
1630
|
:return_type => 'String')
|
|
1577
1631
|
if @api_client.config.debugging
|
|
1578
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
1632
|
+
@api_client.config.logger.debug "API called: RoutingApi#delete_queues_queue_id_wrapupcodes_code_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1579
1633
|
end
|
|
1580
1634
|
return data, status_code, headers
|
|
1581
1635
|
end
|
|
@@ -1709,8 +1763,8 @@ module PureCloud
|
|
|
1709
1763
|
# @param [Hash] opts the optional parameters
|
|
1710
1764
|
# @option opts [Utilization] :body utilization
|
|
1711
1765
|
# @return [Utilization]
|
|
1712
|
-
def
|
|
1713
|
-
data, status_code, headers =
|
|
1766
|
+
def put_utilization(opts = {})
|
|
1767
|
+
data, status_code, headers = put_utilization_with_http_info(opts)
|
|
1714
1768
|
return data
|
|
1715
1769
|
end
|
|
1716
1770
|
|
|
@@ -1719,9 +1773,9 @@ module PureCloud
|
|
|
1719
1773
|
# @param [Hash] opts the optional parameters
|
|
1720
1774
|
# @option opts [Utilization] :body utilization
|
|
1721
1775
|
# @return [Array<(Utilization, Fixnum, Hash)>] Utilization data, response status code and response headers
|
|
1722
|
-
def
|
|
1776
|
+
def put_utilization_with_http_info(opts = {})
|
|
1723
1777
|
if @api_client.config.debugging
|
|
1724
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
1778
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#put_utilization ..."
|
|
1725
1779
|
end
|
|
1726
1780
|
|
|
1727
1781
|
# resource path
|
|
@@ -1757,7 +1811,7 @@ module PureCloud
|
|
|
1757
1811
|
:auth_names => auth_names,
|
|
1758
1812
|
:return_type => 'Utilization')
|
|
1759
1813
|
if @api_client.config.debugging
|
|
1760
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
1814
|
+
@api_client.config.logger.debug "API called: RoutingApi#put_utilization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1761
1815
|
end
|
|
1762
1816
|
return data, status_code, headers
|
|
1763
1817
|
end
|
|
@@ -1888,8 +1942,8 @@ module PureCloud
|
|
|
1888
1942
|
# @param [Hash] opts the optional parameters
|
|
1889
1943
|
# @option opts [WrapupCode] :body WrapupCode
|
|
1890
1944
|
# @return [CallableTimeSet]
|
|
1891
|
-
def
|
|
1892
|
-
data, status_code, headers =
|
|
1945
|
+
def post_wrapupcodes(opts = {})
|
|
1946
|
+
data, status_code, headers = post_wrapupcodes_with_http_info(opts)
|
|
1893
1947
|
return data
|
|
1894
1948
|
end
|
|
1895
1949
|
|
|
@@ -1898,9 +1952,9 @@ module PureCloud
|
|
|
1898
1952
|
# @param [Hash] opts the optional parameters
|
|
1899
1953
|
# @option opts [WrapupCode] :body WrapupCode
|
|
1900
1954
|
# @return [Array<(CallableTimeSet, Fixnum, Hash)>] CallableTimeSet data, response status code and response headers
|
|
1901
|
-
def
|
|
1955
|
+
def post_wrapupcodes_with_http_info(opts = {})
|
|
1902
1956
|
if @api_client.config.debugging
|
|
1903
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
1957
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#post_wrapupcodes ..."
|
|
1904
1958
|
end
|
|
1905
1959
|
|
|
1906
1960
|
# resource path
|
|
@@ -1936,7 +1990,7 @@ module PureCloud
|
|
|
1936
1990
|
:auth_names => auth_names,
|
|
1937
1991
|
:return_type => 'CallableTimeSet')
|
|
1938
1992
|
if @api_client.config.debugging
|
|
1939
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
1993
|
+
@api_client.config.logger.debug "API called: RoutingApi#post_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1940
1994
|
end
|
|
1941
1995
|
return data, status_code, headers
|
|
1942
1996
|
end
|
|
@@ -1946,8 +2000,8 @@ module PureCloud
|
|
|
1946
2000
|
# @param code_id Wrapup Code ID
|
|
1947
2001
|
# @param [Hash] opts the optional parameters
|
|
1948
2002
|
# @return [WrapupCode]
|
|
1949
|
-
def
|
|
1950
|
-
data, status_code, headers =
|
|
2003
|
+
def get_wrapupcodes_code_id(code_id, opts = {})
|
|
2004
|
+
data, status_code, headers = get_wrapupcodes_code_id_with_http_info(code_id, opts)
|
|
1951
2005
|
return data
|
|
1952
2006
|
end
|
|
1953
2007
|
|
|
@@ -1956,13 +2010,13 @@ module PureCloud
|
|
|
1956
2010
|
# @param code_id Wrapup Code ID
|
|
1957
2011
|
# @param [Hash] opts the optional parameters
|
|
1958
2012
|
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
1959
|
-
def
|
|
2013
|
+
def get_wrapupcodes_code_id_with_http_info(code_id, opts = {})
|
|
1960
2014
|
if @api_client.config.debugging
|
|
1961
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
2015
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#get_wrapupcodes_code_id ..."
|
|
1962
2016
|
end
|
|
1963
2017
|
|
|
1964
2018
|
# verify the required parameter 'code_id' is set
|
|
1965
|
-
fail "Missing the required parameter 'code_id' when calling
|
|
2019
|
+
fail "Missing the required parameter 'code_id' when calling get_wrapupcodes_code_id" if code_id.nil?
|
|
1966
2020
|
|
|
1967
2021
|
# resource path
|
|
1968
2022
|
path = "/api/v1/routing/wrapupcodes/{codeId}".sub('{format}','json').sub('{' + 'codeId' + '}', code_id.to_s)
|
|
@@ -1997,7 +2051,7 @@ module PureCloud
|
|
|
1997
2051
|
:auth_names => auth_names,
|
|
1998
2052
|
:return_type => 'WrapupCode')
|
|
1999
2053
|
if @api_client.config.debugging
|
|
2000
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
2054
|
+
@api_client.config.logger.debug "API called: RoutingApi#get_wrapupcodes_code_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2001
2055
|
end
|
|
2002
2056
|
return data, status_code, headers
|
|
2003
2057
|
end
|
|
@@ -2008,8 +2062,8 @@ module PureCloud
|
|
|
2008
2062
|
# @param [Hash] opts the optional parameters
|
|
2009
2063
|
# @option opts [WrapupCode] :body WrapupCode
|
|
2010
2064
|
# @return [WrapupCode]
|
|
2011
|
-
def
|
|
2012
|
-
data, status_code, headers =
|
|
2065
|
+
def put_wrapupcodes_code_id(code_id, opts = {})
|
|
2066
|
+
data, status_code, headers = put_wrapupcodes_code_id_with_http_info(code_id, opts)
|
|
2013
2067
|
return data
|
|
2014
2068
|
end
|
|
2015
2069
|
|
|
@@ -2019,13 +2073,13 @@ module PureCloud
|
|
|
2019
2073
|
# @param [Hash] opts the optional parameters
|
|
2020
2074
|
# @option opts [WrapupCode] :body WrapupCode
|
|
2021
2075
|
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
2022
|
-
def
|
|
2076
|
+
def put_wrapupcodes_code_id_with_http_info(code_id, opts = {})
|
|
2023
2077
|
if @api_client.config.debugging
|
|
2024
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
2078
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#put_wrapupcodes_code_id ..."
|
|
2025
2079
|
end
|
|
2026
2080
|
|
|
2027
2081
|
# verify the required parameter 'code_id' is set
|
|
2028
|
-
fail "Missing the required parameter 'code_id' when calling
|
|
2082
|
+
fail "Missing the required parameter 'code_id' when calling put_wrapupcodes_code_id" if code_id.nil?
|
|
2029
2083
|
|
|
2030
2084
|
# resource path
|
|
2031
2085
|
path = "/api/v1/routing/wrapupcodes/{codeId}".sub('{format}','json').sub('{' + 'codeId' + '}', code_id.to_s)
|
|
@@ -2060,7 +2114,7 @@ module PureCloud
|
|
|
2060
2114
|
:auth_names => auth_names,
|
|
2061
2115
|
:return_type => 'WrapupCode')
|
|
2062
2116
|
if @api_client.config.debugging
|
|
2063
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
2117
|
+
@api_client.config.logger.debug "API called: RoutingApi#put_wrapupcodes_code_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2064
2118
|
end
|
|
2065
2119
|
return data, status_code, headers
|
|
2066
2120
|
end
|
|
@@ -2070,8 +2124,8 @@ module PureCloud
|
|
|
2070
2124
|
# @param code_id Wrapup Code ID
|
|
2071
2125
|
# @param [Hash] opts the optional parameters
|
|
2072
2126
|
# @return [String]
|
|
2073
|
-
def
|
|
2074
|
-
data, status_code, headers =
|
|
2127
|
+
def delete_wrapupcodes_code_id(code_id, opts = {})
|
|
2128
|
+
data, status_code, headers = delete_wrapupcodes_code_id_with_http_info(code_id, opts)
|
|
2075
2129
|
return data
|
|
2076
2130
|
end
|
|
2077
2131
|
|
|
@@ -2080,13 +2134,13 @@ module PureCloud
|
|
|
2080
2134
|
# @param code_id Wrapup Code ID
|
|
2081
2135
|
# @param [Hash] opts the optional parameters
|
|
2082
2136
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
2083
|
-
def
|
|
2137
|
+
def delete_wrapupcodes_code_id_with_http_info(code_id, opts = {})
|
|
2084
2138
|
if @api_client.config.debugging
|
|
2085
|
-
@api_client.config.logger.debug "Calling API: RoutingApi#
|
|
2139
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#delete_wrapupcodes_code_id ..."
|
|
2086
2140
|
end
|
|
2087
2141
|
|
|
2088
2142
|
# verify the required parameter 'code_id' is set
|
|
2089
|
-
fail "Missing the required parameter 'code_id' when calling
|
|
2143
|
+
fail "Missing the required parameter 'code_id' when calling delete_wrapupcodes_code_id" if code_id.nil?
|
|
2090
2144
|
|
|
2091
2145
|
# resource path
|
|
2092
2146
|
path = "/api/v1/routing/wrapupcodes/{codeId}".sub('{format}','json').sub('{' + 'codeId' + '}', code_id.to_s)
|
|
@@ -2121,7 +2175,7 @@ module PureCloud
|
|
|
2121
2175
|
:auth_names => auth_names,
|
|
2122
2176
|
:return_type => 'String')
|
|
2123
2177
|
if @api_client.config.debugging
|
|
2124
|
-
@api_client.config.logger.debug "API called: RoutingApi#
|
|
2178
|
+
@api_client.config.logger.debug "API called: RoutingApi#delete_wrapupcodes_code_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2125
2179
|
end
|
|
2126
2180
|
return data, status_code, headers
|
|
2127
2181
|
end
|