purecloud 0.28.0 → 0.29.1
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.rb +119 -110
- data/lib/purecloud/api/alerting_api.rb +609 -0
- data/lib/purecloud/api/analytics_api.rb +0 -618
- data/lib/purecloud/api/authorization_api.rb +32 -26
- data/lib/purecloud/api/callbacks_api.rb +5 -5
- data/lib/purecloud/api/calls_api.rb +5 -5
- data/lib/purecloud/api/chats_api.rb +5 -5
- data/lib/purecloud/api/configuration_api.rb +325 -4514
- data/lib/purecloud/api/conversations_api.rb +30 -157
- data/lib/purecloud/api/emails_api.rb +5 -5
- data/lib/purecloud/api/groups_api.rb +120 -0
- data/lib/purecloud/api/integrations_api.rb +6 -0
- data/lib/purecloud/api/integrations_workforce_management_api.rb +73 -0
- data/lib/purecloud/api/languages_api.rb +181 -0
- data/lib/purecloud/api/organization_api.rb +243 -0
- data/lib/purecloud/api/outbound_api.rb +13 -380
- data/lib/purecloud/api/presence_api.rb +20 -222
- data/lib/purecloud/api/quality_api.rb +30 -0
- data/lib/purecloud/api/recording_api.rb +12 -0
- data/lib/purecloud/api/routing_api.rb +211 -8
- data/lib/purecloud/api/scripts_api.rb +8 -2
- data/lib/purecloud/api/search_api.rb +315 -13
- data/lib/purecloud/api/socials_api.rb +5 -5
- data/lib/purecloud/api/telephony_providers_edge_api.rb +4594 -698
- data/lib/purecloud/api/users_api.rb +303 -44
- data/lib/purecloud/api/utilities_api.rb +0 -58
- data/lib/purecloud/api/videos_api.rb +5 -5
- data/lib/purecloud/models/address.rb +49 -51
- data/lib/purecloud/models/address_listing.rb +12 -12
- data/lib/purecloud/models/agent_activity_entity_listing.rb +11 -11
- data/lib/purecloud/models/{analytics_segment.rb → analytics_conversation_segment.rb} +8 -8
- data/lib/purecloud/models/analytics_query_predicate.rb +1 -1
- data/lib/purecloud/models/analytics_session.rb +1 -1
- data/lib/purecloud/models/attribute_entity_listing.rb +11 -11
- data/lib/purecloud/models/{primary_user_presence_source.rb → audit_entity.rb} +12 -24
- data/lib/purecloud/models/{facet.rb → audit_facet.rb} +1 -1
- data/lib/purecloud/models/audit_filter.rb +178 -0
- data/lib/purecloud/models/audit_message.rb +2 -2
- data/lib/purecloud/models/{facet_group.rb → audit_user.rb} +18 -20
- data/lib/purecloud/models/automate_queue_member_entity_listing.rb +11 -11
- data/lib/purecloud/models/available_additional_service_listing.rb +11 -11
- data/lib/purecloud/models/available_topic_entity_listing.rb +11 -11
- data/lib/purecloud/models/{chat_search_item.rb → billing_address.rb} +37 -27
- data/lib/purecloud/models/calibration_entity_listing.rb +11 -11
- data/lib/purecloud/models/call.rb +16 -4
- data/lib/purecloud/models/call_conversation.rb +1 -1
- data/lib/purecloud/models/{chat_search_listing.rb → call_conversation_entity_listing.rb} +13 -13
- data/lib/purecloud/models/{call_participant.rb → call_media_participant.rb} +1 -1
- data/lib/purecloud/models/callable_time.rb +1 -1
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/callback_conversation.rb +1 -1
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +238 -0
- data/lib/purecloud/models/{callback_participant.rb → callback_media_participant.rb} +1 -1
- data/lib/purecloud/models/campaign.rb +219 -17
- data/lib/purecloud/models/campaign_entity_listing.rb +11 -11
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +11 -11
- data/lib/purecloud/models/{facet_item.rb → campaign_time_slot.rb} +20 -20
- data/lib/purecloud/models/carrier_entity_listing.rb +11 -11
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +11 -11
- data/lib/purecloud/models/change.rb +1 -1
- data/lib/purecloud/models/channel_entity_listing.rb +11 -11
- data/lib/purecloud/models/channel_topic_entity_listing.rb +11 -11
- data/lib/purecloud/models/chat_conversation.rb +1 -1
- data/lib/purecloud/models/{rule_entity_listing.rb → chat_conversation_entity_listing.rb} +13 -13
- data/lib/purecloud/models/{chat_participant.rb → chat_media_participant.rb} +1 -1
- data/lib/purecloud/models/command_status_entity_listing.rb +11 -11
- data/lib/purecloud/models/common_audit_request.rb +2 -2
- data/lib/purecloud/models/{template.rb → composer_template.rb} +2 -2
- data/lib/purecloud/models/consumed_resources_entity_listing.rb +11 -11
- data/lib/purecloud/models/consuming_resources_entity_listing.rb +11 -11
- data/lib/purecloud/models/{client_transform_model.rb → contact_address.rb} +42 -36
- data/lib/purecloud/models/contact_list.rb +111 -1
- data/lib/purecloud/models/contact_list_entity_listing.rb +11 -11
- data/lib/purecloud/models/contact_listing.rb +11 -11
- data/lib/purecloud/models/{dialer_disposition_call_command.rb → contact_phone_number_column.rb} +20 -20
- data/lib/purecloud/models/{facet_filter_item.rb → content_filter_item.rb} +1 -1
- data/lib/purecloud/models/{transform_progress.rb → conversation_chat.rb} +91 -82
- data/lib/purecloud/models/conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/create_share_request.rb +2 -2
- data/lib/purecloud/models/create_share_request_member.rb +1 -1
- data/lib/purecloud/models/customer_account.rb +1 -1
- data/lib/purecloud/models/deleted_resource_consumer_entity_listing.rb +11 -11
- data/lib/purecloud/models/dependency_object_entity_listing.rb +11 -11
- data/lib/purecloud/models/dependency_type_entity_listing.rb +11 -11
- data/lib/purecloud/models/{action.rb → dialer_action.rb} +1 -1
- data/lib/purecloud/models/dialer_audit_request.rb +2 -2
- data/lib/purecloud/models/{transform_model.rb → dialer_contact.rb} +42 -28
- data/lib/purecloud/models/{rule.rb → dialer_rule.rb} +2 -2
- data/lib/purecloud/models/did.rb +1 -1
- data/lib/purecloud/models/did_entity_listing.rb +11 -11
- data/lib/purecloud/models/did_pool.rb +1 -1
- data/lib/purecloud/models/did_pool_entity_listing.rb +11 -11
- data/lib/purecloud/models/{metric_threshold.rb → disconnect_reason.rb} +29 -19
- data/lib/purecloud/models/dnc_list_entity_listing.rb +11 -11
- data/lib/purecloud/models/document_audit_entity_listing.rb +11 -11
- data/lib/purecloud/models/document_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_billing_period_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_certificate_authority.rb +1 -1
- data/lib/purecloud/models/domain_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +11 -11
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +11 -11
- data/lib/purecloud/models/domain_invoice_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_logical_interface.rb +28 -2
- data/lib/purecloud/models/{dialer_place_call_command.rb → domain_role.rb} +16 -14
- data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge.rb +1 -1
- data/lib/purecloud/models/edge_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_group.rb +1 -1
- data/lib/purecloud/models/edge_group_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_line.rb +1 -1
- data/lib/purecloud/models/edge_line_entity_listing.rb +11 -11
- data/lib/purecloud/models/email_conversation.rb +1 -1
- data/lib/purecloud/models/{user_presence_entity_listing.rb → email_conversation_entity_listing.rb} +13 -13
- data/lib/purecloud/models/{email_participant.rb → email_media_participant.rb} +1 -1
- data/lib/purecloud/models/email_message.rb +56 -26
- data/lib/purecloud/models/email_message_listing.rb +11 -11
- data/lib/purecloud/models/encryption_key_entity_listing.rb +11 -11
- data/lib/purecloud/models/endpoint.rb +2 -2
- data/lib/purecloud/models/endpoint_entity_listing.rb +11 -11
- data/lib/purecloud/models/entity.rb +20 -10
- data/lib/purecloud/models/evaluation_entity_listing.rb +11 -11
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +11 -11
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +11 -11
- data/lib/purecloud/models/extension.rb +1 -1
- data/lib/purecloud/models/extension_entity_listing.rb +11 -11
- data/lib/purecloud/models/extension_pool.rb +1 -1
- data/lib/purecloud/models/extension_pool_entity_listing.rb +11 -11
- data/lib/purecloud/models/external_contact.rb +1 -1
- data/lib/purecloud/models/external_organization.rb +1 -1
- data/lib/purecloud/models/external_organization_listing.rb +11 -11
- data/lib/purecloud/models/fax_document_entity_listing.rb +11 -11
- data/lib/purecloud/models/flow_body.rb +1 -1
- data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +11 -11
- data/lib/purecloud/models/flow_entity_listing.rb +11 -11
- data/lib/purecloud/models/flow_history_result_item_entity_listing.rb +11 -11
- data/lib/purecloud/models/flow_search_request.rb +222 -0
- data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +11 -11
- data/lib/purecloud/models/flow_version_entity_listing.rb +11 -11
- data/lib/purecloud/models/group.rb +42 -36
- data/lib/purecloud/models/group_entity_listing.rb +11 -11
- data/lib/purecloud/models/groups_search_response.rb +230 -0
- data/lib/purecloud/models/hardware_rate_listing.rb +11 -11
- data/lib/purecloud/models/health_check_info.rb +1 -31
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +11 -11
- data/lib/purecloud/models/inbound_route_entity_listing.rb +11 -11
- data/lib/purecloud/models/integration_type_entity_listing.rb +11 -11
- data/lib/purecloud/models/interaction_stats_alert.rb +373 -0
- data/lib/purecloud/models/interaction_stats_alert_container.rb +238 -0
- data/lib/purecloud/models/{alert.rb → interaction_stats_rule.rb} +111 -80
- data/lib/purecloud/models/interaction_stats_rule_container.rb +238 -0
- data/lib/purecloud/models/ivr.rb +1 -1
- data/lib/purecloud/models/ivr_entity_listing.rb +11 -11
- data/lib/purecloud/models/json_node.rb +395 -0
- data/lib/purecloud/models/json_node_search_response.rb +228 -0
- data/lib/purecloud/models/language_entity_listing.rb +11 -11
- data/lib/purecloud/models/library_entity_listing.rb +11 -11
- data/lib/purecloud/models/line.rb +2 -2
- data/lib/purecloud/models/line_base.rb +1 -1
- data/lib/purecloud/models/line_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/line_entity_listing.rb +11 -11
- data/lib/purecloud/models/{body_1.rb → line_properties.rb} +1 -1
- data/lib/purecloud/models/linked_entity_listing_flow_details.rb +11 -11
- data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +11 -11
- data/lib/purecloud/models/location_entity_listing.rb +11 -11
- data/lib/purecloud/models/logical_interface_entity_listing.rb +11 -11
- data/lib/purecloud/models/media_participant_request.rb +232 -0
- data/lib/purecloud/models/{inline_response_200.rb → member_entity.rb} +13 -3
- data/lib/purecloud/models/note_listing.rb +11 -11
- data/lib/purecloud/models/number_plan.rb +1 -1
- data/lib/purecloud/models/o_auth_client.rb +1 -1
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +11 -11
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +11 -11
- data/lib/purecloud/models/organization.rb +2 -22
- data/lib/purecloud/models/organization_presence_entity_listing.rb +11 -11
- data/lib/purecloud/models/organization_role_entity_listing.rb +11 -11
- data/lib/purecloud/models/orphan_recording_listing.rb +11 -11
- data/lib/purecloud/models/outbound_route.rb +1 -1
- data/lib/purecloud/models/outbound_route_entity_listing.rb +11 -11
- data/lib/purecloud/models/page.rb +2 -2
- data/lib/purecloud/models/participant.rb +1 -1
- data/lib/purecloud/models/participant_request.rb +7 -0
- data/lib/purecloud/models/payment_method_listing.rb +11 -11
- data/lib/purecloud/models/permission_collection_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone.rb +2 -2
- data/lib/purecloud/models/phone_base.rb +1 -1
- data/lib/purecloud/models/phone_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/physical_interface_entity_listing.rb +11 -11
- data/lib/purecloud/models/policy_entity_listing.rb +11 -11
- data/lib/purecloud/models/prompt_asset.rb +25 -1
- data/lib/purecloud/models/prompt_asset_entity_listing.rb +11 -11
- data/lib/purecloud/models/prompt_entity_listing.rb +11 -11
- data/lib/purecloud/models/quality_audit_page.rb +11 -11
- data/lib/purecloud/models/query_request.rb +1 -1
- data/lib/purecloud/models/queue.rb +1 -1
- data/lib/purecloud/models/queue_entity_listing.rb +11 -11
- data/lib/purecloud/models/queues_entity_listing.rb +11 -11
- data/lib/purecloud/models/quote_charge.rb +1 -1
- data/lib/purecloud/models/quote_listing.rb +11 -11
- data/lib/purecloud/models/recording.rb +13 -2
- data/lib/purecloud/models/{preview.rb → recording_email_message.rb} +72 -57
- data/lib/purecloud/models/relationship_listing.rb +11 -11
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +11 -11
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +11 -11
- data/lib/purecloud/models/report_schedule.rb +1 -1
- data/lib/purecloud/models/report_schedule_entity_listing.rb +11 -11
- data/lib/purecloud/models/resource_permission_policy.rb +1 -11
- data/lib/purecloud/models/response.rb +84 -14
- data/lib/purecloud/models/response_entity_list.rb +11 -11
- data/lib/purecloud/models/response_entity_listing.rb +11 -11
- data/lib/purecloud/models/{filter.rb → response_filter.rb} +1 -1
- data/lib/purecloud/models/response_query_request.rb +1 -1
- data/lib/purecloud/models/response_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/rule_set.rb +1 -1
- data/lib/purecloud/models/rule_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/schedule.rb +1 -1
- data/lib/purecloud/models/schedule_entity_listing.rb +11 -11
- data/lib/purecloud/models/schedule_group.rb +1 -1
- data/lib/purecloud/models/schedule_group_entity_listing.rb +11 -11
- data/lib/purecloud/models/schema_category_entity_listing.rb +11 -11
- data/lib/purecloud/models/schema_reference_entity_listing.rb +11 -11
- data/lib/purecloud/models/script_entity_listing.rb +11 -11
- data/lib/purecloud/models/{occurrence.rb → search_aggregation.rb} +19 -9
- data/lib/purecloud/models/{conversation_historical_query_request_filter.rb → search_criteria.rb} +83 -24
- data/lib/purecloud/models/search_request.rb +73 -50
- data/lib/purecloud/models/security_profile_entity_listing.rb +11 -11
- data/lib/purecloud/models/service_entity_listing.rb +11 -11
- data/lib/purecloud/models/share_entity_listing.rb +11 -11
- data/lib/purecloud/models/{group_images.rb → shared_entity.rb} +8 -10
- data/lib/purecloud/models/site.rb +1 -1
- data/lib/purecloud/models/site_entity_listing.rb +11 -11
- data/lib/purecloud/models/skill_entity_listing.rb +11 -11
- data/lib/purecloud/models/social_conversation.rb +1 -1
- data/lib/purecloud/models/social_conversation_entity_listing.rb +238 -0
- data/lib/purecloud/models/{social_participant.rb → social_media_participant.rb} +1 -1
- data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +11 -11
- data/lib/purecloud/models/station.rb +11 -1
- data/lib/purecloud/models/station_entity_listing.rb +11 -11
- data/lib/purecloud/models/{facets.rb → subscriber_response.rb} +16 -16
- data/lib/purecloud/models/system_prompt_asset.rb +25 -1
- data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +11 -11
- data/lib/purecloud/models/system_prompt_entity_listing.rb +11 -11
- data/lib/purecloud/models/tag_value_entity_listing.rb +11 -11
- data/lib/purecloud/models/template_entity_listing.rb +12 -12
- data/lib/purecloud/models/text_table_transform_entity_listing.rb +11 -11
- data/lib/purecloud/models/time_slot.rb +3 -0
- data/lib/purecloud/models/time_zone_entity_listing.rb +11 -11
- data/lib/purecloud/models/trunk_base.rb +2 -2
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +11 -11
- data/lib/purecloud/models/unread_metric.rb +1 -0
- data/lib/purecloud/models/unread_status.rb +149 -0
- data/lib/purecloud/models/user.rb +7 -7
- data/lib/purecloud/models/user_action_category_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_action_metadata_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_authorization.rb +7 -37
- data/lib/purecloud/models/user_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_me.rb +375 -0
- data/lib/purecloud/models/user_presence.rb +14 -32
- data/lib/purecloud/models/user_queue.rb +1 -1
- data/lib/purecloud/models/user_queue_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_recording_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_skill_entity_listing.rb +11 -11
- data/lib/purecloud/models/users_entity_listing.rb +11 -11
- data/lib/purecloud/models/users_search_response.rb +230 -0
- data/lib/purecloud/models/validate_address_response.rb +1 -1
- data/lib/purecloud/models/video_conversation.rb +1 -1
- data/lib/purecloud/models/{alert_entity_listing.rb → video_conversation_entity_listing.rb} +13 -13
- data/lib/purecloud/models/{video_participant.rb → video_media_participant.rb} +1 -1
- data/lib/purecloud/models/voice_rate_international_entity_listing.rb +11 -11
- data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +11 -11
- data/lib/purecloud/models/voicemail_message_entity_listing.rb +11 -11
- data/lib/purecloud/models/workspace_entity_listing.rb +11 -11
- data/lib/purecloud/models/workspace_member_entity_listing.rb +11 -11
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +11 -11
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +54 -45
- data/lib/purecloud/api/architect_api.rb +0 -3285
- data/lib/purecloud/models/chat_search_request.rb +0 -244
- data/lib/purecloud/models/conversation_historical_query_request_body.rb +0 -185
- data/lib/purecloud/models/conversation_query_response.rb +0 -366
- data/lib/purecloud/models/dialer_call.rb +0 -156
- data/lib/purecloud/models/penetration_rate.rb +0 -176
- data/lib/purecloud/models/penetration_rate_id.rb +0 -156
- data/lib/purecloud/models/progress_model.rb +0 -169
@@ -319,77 +319,10 @@ module PureCloud
|
|
319
319
|
return data, status_code, headers
|
320
320
|
end
|
321
321
|
|
322
|
-
# Get
|
322
|
+
# Get a user's Presence
|
323
323
|
#
|
324
|
-
# @param user_id
|
325
|
-
# @param
|
326
|
-
# @option opts [Integer] :page_number Page number
|
327
|
-
# @option opts [Integer] :page_size Page size
|
328
|
-
# @return [UserPresenceEntityListing]
|
329
|
-
def get_user_id_presences(user_id, opts = {})
|
330
|
-
data, status_code, headers = get_user_id_presences_with_http_info(user_id, opts)
|
331
|
-
return data
|
332
|
-
end
|
333
|
-
|
334
|
-
# Get an User's list of Presences
|
335
|
-
#
|
336
|
-
# @param user_id User ID
|
337
|
-
# @param [Hash] opts the optional parameters
|
338
|
-
# @option opts [Integer] :page_number Page number
|
339
|
-
# @option opts [Integer] :page_size Page size
|
340
|
-
# @return [Array<(UserPresenceEntityListing, Fixnum, Hash)>] UserPresenceEntityListing data, response status code and response headers
|
341
|
-
def get_user_id_presences_with_http_info(user_id, opts = {})
|
342
|
-
if @api_client.config.debugging
|
343
|
-
@api_client.config.logger.debug "Calling API: PresenceApi#get_user_id_presences ..."
|
344
|
-
end
|
345
|
-
|
346
|
-
# verify the required parameter 'user_id' is set
|
347
|
-
fail "Missing the required parameter 'user_id' when calling get_user_id_presences" if user_id.nil?
|
348
|
-
|
349
|
-
# resource path
|
350
|
-
path = "/api/v2/users/{userId}/presences".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
351
|
-
|
352
|
-
# query parameters
|
353
|
-
query_params = {}
|
354
|
-
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
355
|
-
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
356
|
-
|
357
|
-
# header parameters
|
358
|
-
header_params = {}
|
359
|
-
|
360
|
-
# HTTP header 'Accept' (if needed)
|
361
|
-
_header_accept = ['application/json']
|
362
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
363
|
-
|
364
|
-
# HTTP header 'Content-Type'
|
365
|
-
_header_content_type = ['application/json']
|
366
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
367
|
-
|
368
|
-
# form parameters
|
369
|
-
form_params = {}
|
370
|
-
|
371
|
-
# http body (model)
|
372
|
-
post_body = nil
|
373
|
-
|
374
|
-
|
375
|
-
auth_names = ['PureCloud Auth']
|
376
|
-
data, status_code, headers = @api_client.call_api(:GET, path,
|
377
|
-
:header_params => header_params,
|
378
|
-
:query_params => query_params,
|
379
|
-
:form_params => form_params,
|
380
|
-
:body => post_body,
|
381
|
-
:auth_names => auth_names,
|
382
|
-
:return_type => 'UserPresenceEntityListing')
|
383
|
-
if @api_client.config.debugging
|
384
|
-
@api_client.config.logger.debug "API called: PresenceApi#get_user_id_presences\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
385
|
-
end
|
386
|
-
return data, status_code, headers
|
387
|
-
end
|
388
|
-
|
389
|
-
# Get a UserPresence
|
390
|
-
#
|
391
|
-
# @param user_id User ID
|
392
|
-
# @param source Source
|
324
|
+
# @param user_id user Id
|
325
|
+
# @param source source
|
393
326
|
# @param [Hash] opts the optional parameters
|
394
327
|
# @return [UserPresence]
|
395
328
|
def get_user_id_presences_source(user_id, source, opts = {})
|
@@ -397,10 +330,10 @@ module PureCloud
|
|
397
330
|
return data
|
398
331
|
end
|
399
332
|
|
400
|
-
# Get a
|
333
|
+
# Get a user's Presence
|
401
334
|
#
|
402
|
-
# @param user_id
|
403
|
-
# @param source
|
335
|
+
# @param user_id user Id
|
336
|
+
# @param source source
|
404
337
|
# @param [Hash] opts the optional parameters
|
405
338
|
# @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
|
406
339
|
def get_user_id_presences_source_with_http_info(user_id, source, opts = {})
|
@@ -452,97 +385,26 @@ module PureCloud
|
|
452
385
|
return data, status_code, headers
|
453
386
|
end
|
454
387
|
|
455
|
-
#
|
456
|
-
#
|
457
|
-
# @param user_id
|
458
|
-
# @param source
|
459
|
-
# @param body The updated UserPresence
|
388
|
+
# Patch a user's Presence
|
389
|
+
# The presence object can be patched one of three ways. Option 1: Set the 'primary' property to true. This will set the 'source' defined in the path as the user's primary presence source. Option 2: Provide the presenceDefinition value. Option 3: Provide the message value. Option 1 can be combined with Option2 and/or Option 3.
|
390
|
+
# @param user_id user Id
|
391
|
+
# @param source source
|
460
392
|
# @param [Hash] opts the optional parameters
|
393
|
+
# @option opts [UserPresence] :body
|
461
394
|
# @return [UserPresence]
|
462
|
-
def
|
463
|
-
data, status_code, headers =
|
395
|
+
def patch_user_id_presences_source(user_id, source, opts = {})
|
396
|
+
data, status_code, headers = patch_user_id_presences_source_with_http_info(user_id, source, opts)
|
464
397
|
return data
|
465
398
|
end
|
466
399
|
|
467
|
-
#
|
468
|
-
#
|
469
|
-
# @param user_id
|
470
|
-
# @param source
|
471
|
-
# @param body The updated UserPresence
|
400
|
+
# Patch a user's Presence
|
401
|
+
# The presence object can be patched one of three ways. Option 1: Set the 'primary' property to true. This will set the 'source' defined in the path as the user's primary presence source. Option 2: Provide the presenceDefinition value. Option 3: Provide the message value. Option 1 can be combined with Option2 and/or Option 3.
|
402
|
+
# @param user_id user Id
|
403
|
+
# @param source source
|
472
404
|
# @param [Hash] opts the optional parameters
|
405
|
+
# @option opts [UserPresence] :body
|
473
406
|
# @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
|
474
|
-
def
|
475
|
-
if @api_client.config.debugging
|
476
|
-
@api_client.config.logger.debug "Calling API: PresenceApi#put_user_id_presences_source ..."
|
477
|
-
end
|
478
|
-
|
479
|
-
# verify the required parameter 'user_id' is set
|
480
|
-
fail "Missing the required parameter 'user_id' when calling put_user_id_presences_source" if user_id.nil?
|
481
|
-
|
482
|
-
# verify the required parameter 'source' is set
|
483
|
-
fail "Missing the required parameter 'source' when calling put_user_id_presences_source" if source.nil?
|
484
|
-
|
485
|
-
# verify the required parameter 'body' is set
|
486
|
-
fail "Missing the required parameter 'body' when calling put_user_id_presences_source" if body.nil?
|
487
|
-
|
488
|
-
# resource path
|
489
|
-
path = "/api/v2/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
|
490
|
-
|
491
|
-
# query parameters
|
492
|
-
query_params = {}
|
493
|
-
|
494
|
-
# header parameters
|
495
|
-
header_params = {}
|
496
|
-
|
497
|
-
# HTTP header 'Accept' (if needed)
|
498
|
-
_header_accept = ['application/json']
|
499
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
500
|
-
|
501
|
-
# HTTP header 'Content-Type'
|
502
|
-
_header_content_type = ['application/json']
|
503
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
504
|
-
|
505
|
-
# form parameters
|
506
|
-
form_params = {}
|
507
|
-
|
508
|
-
# http body (model)
|
509
|
-
post_body = @api_client.object_to_http_body(body)
|
510
|
-
|
511
|
-
|
512
|
-
auth_names = ['PureCloud Auth']
|
513
|
-
data, status_code, headers = @api_client.call_api(:PUT, path,
|
514
|
-
:header_params => header_params,
|
515
|
-
:query_params => query_params,
|
516
|
-
:form_params => form_params,
|
517
|
-
:body => post_body,
|
518
|
-
:auth_names => auth_names,
|
519
|
-
:return_type => 'UserPresence')
|
520
|
-
if @api_client.config.debugging
|
521
|
-
@api_client.config.logger.debug "API called: PresenceApi#put_user_id_presences_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
522
|
-
end
|
523
|
-
return data, status_code, headers
|
524
|
-
end
|
525
|
-
|
526
|
-
# Patch a UserPresence
|
527
|
-
#
|
528
|
-
# @param user_id User ID
|
529
|
-
# @param source Source
|
530
|
-
# @param body The patched UserPresence
|
531
|
-
# @param [Hash] opts the optional parameters
|
532
|
-
# @return [UserPresence]
|
533
|
-
def patch_user_id_presences_source(user_id, source, body, opts = {})
|
534
|
-
data, status_code, headers = patch_user_id_presences_source_with_http_info(user_id, source, body, opts)
|
535
|
-
return data
|
536
|
-
end
|
537
|
-
|
538
|
-
# Patch a UserPresence
|
539
|
-
#
|
540
|
-
# @param user_id User ID
|
541
|
-
# @param source Source
|
542
|
-
# @param body The patched UserPresence
|
543
|
-
# @param [Hash] opts the optional parameters
|
544
|
-
# @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
|
545
|
-
def patch_user_id_presences_source_with_http_info(user_id, source, body, opts = {})
|
407
|
+
def patch_user_id_presences_source_with_http_info(user_id, source, opts = {})
|
546
408
|
if @api_client.config.debugging
|
547
409
|
@api_client.config.logger.debug "Calling API: PresenceApi#patch_user_id_presences_source ..."
|
548
410
|
end
|
@@ -553,9 +415,6 @@ module PureCloud
|
|
553
415
|
# verify the required parameter 'source' is set
|
554
416
|
fail "Missing the required parameter 'source' when calling patch_user_id_presences_source" if source.nil?
|
555
417
|
|
556
|
-
# verify the required parameter 'body' is set
|
557
|
-
fail "Missing the required parameter 'body' when calling patch_user_id_presences_source" if body.nil?
|
558
|
-
|
559
418
|
# resource path
|
560
419
|
path = "/api/v2/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
|
561
420
|
|
@@ -577,7 +436,7 @@ module PureCloud
|
|
577
436
|
form_params = {}
|
578
437
|
|
579
438
|
# http body (model)
|
580
|
-
post_body = @api_client.object_to_http_body(body)
|
439
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
581
440
|
|
582
441
|
|
583
442
|
auth_names = ['PureCloud Auth']
|
@@ -593,67 +452,6 @@ module PureCloud
|
|
593
452
|
end
|
594
453
|
return data, status_code, headers
|
595
454
|
end
|
596
|
-
|
597
|
-
# Get a user's Primary UserPresence
|
598
|
-
#
|
599
|
-
# @param user_id User ID
|
600
|
-
# @param [Hash] opts the optional parameters
|
601
|
-
# @return [UserPresence]
|
602
|
-
def get_user_id_primarypresence(user_id, opts = {})
|
603
|
-
data, status_code, headers = get_user_id_primarypresence_with_http_info(user_id, opts)
|
604
|
-
return data
|
605
|
-
end
|
606
|
-
|
607
|
-
# Get a user's Primary UserPresence
|
608
|
-
#
|
609
|
-
# @param user_id User ID
|
610
|
-
# @param [Hash] opts the optional parameters
|
611
|
-
# @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
|
612
|
-
def get_user_id_primarypresence_with_http_info(user_id, opts = {})
|
613
|
-
if @api_client.config.debugging
|
614
|
-
@api_client.config.logger.debug "Calling API: PresenceApi#get_user_id_primarypresence ..."
|
615
|
-
end
|
616
|
-
|
617
|
-
# verify the required parameter 'user_id' is set
|
618
|
-
fail "Missing the required parameter 'user_id' when calling get_user_id_primarypresence" if user_id.nil?
|
619
|
-
|
620
|
-
# resource path
|
621
|
-
path = "/api/v2/users/{userId}/primarypresence".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
622
|
-
|
623
|
-
# query parameters
|
624
|
-
query_params = {}
|
625
|
-
|
626
|
-
# header parameters
|
627
|
-
header_params = {}
|
628
|
-
|
629
|
-
# HTTP header 'Accept' (if needed)
|
630
|
-
_header_accept = ['application/json']
|
631
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
632
|
-
|
633
|
-
# HTTP header 'Content-Type'
|
634
|
-
_header_content_type = ['application/json']
|
635
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
636
|
-
|
637
|
-
# form parameters
|
638
|
-
form_params = {}
|
639
|
-
|
640
|
-
# http body (model)
|
641
|
-
post_body = nil
|
642
|
-
|
643
|
-
|
644
|
-
auth_names = ['PureCloud Auth']
|
645
|
-
data, status_code, headers = @api_client.call_api(:GET, path,
|
646
|
-
:header_params => header_params,
|
647
|
-
:query_params => query_params,
|
648
|
-
:form_params => form_params,
|
649
|
-
:body => post_body,
|
650
|
-
:auth_names => auth_names,
|
651
|
-
:return_type => 'UserPresence')
|
652
|
-
if @api_client.config.debugging
|
653
|
-
@api_client.config.logger.debug "API called: PresenceApi#get_user_id_primarypresence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
654
|
-
end
|
655
|
-
return data, status_code, headers
|
656
|
-
end
|
657
455
|
end
|
658
456
|
end
|
659
457
|
|
@@ -15,6 +15,8 @@ module PureCloud
|
|
15
15
|
# @option opts [Integer] :page_number The page number requested
|
16
16
|
# @option opts [String] :sort_by variable name requested to sort by
|
17
17
|
# @option opts [Array<String>] :expand variable name requested by expand list
|
18
|
+
# @option opts [String] :next_page next page token
|
19
|
+
# @option opts [String] :previous_page Previous page token
|
18
20
|
# @option opts [DateTime] :start_time Start time of agent activity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
19
21
|
# @option opts [DateTime] :end_time End time of agent activity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
20
22
|
# @option opts [Array<String>] :agent_user_id user id of agent requested
|
@@ -34,6 +36,8 @@ module PureCloud
|
|
34
36
|
# @option opts [Integer] :page_number The page number requested
|
35
37
|
# @option opts [String] :sort_by variable name requested to sort by
|
36
38
|
# @option opts [Array<String>] :expand variable name requested by expand list
|
39
|
+
# @option opts [String] :next_page next page token
|
40
|
+
# @option opts [String] :previous_page Previous page token
|
37
41
|
# @option opts [DateTime] :start_time Start time of agent activity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
38
42
|
# @option opts [DateTime] :end_time End time of agent activity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
39
43
|
# @option opts [Array<String>] :agent_user_id user id of agent requested
|
@@ -55,6 +59,8 @@ module PureCloud
|
|
55
59
|
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
56
60
|
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
|
57
61
|
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
62
|
+
query_params[:'nextPage'] = opts[:'next_page'] if opts[:'next_page']
|
63
|
+
query_params[:'previousPage'] = opts[:'previous_page'] if opts[:'previous_page']
|
58
64
|
query_params[:'startTime'] = opts[:'start_time'] if opts[:'start_time']
|
59
65
|
query_params[:'endTime'] = opts[:'end_time'] if opts[:'end_time']
|
60
66
|
query_params[:'agentUserId'] = @api_client.build_collection_param(opts[:'agent_user_id'], :multi) if opts[:'agent_user_id']
|
@@ -102,6 +108,8 @@ module PureCloud
|
|
102
108
|
# @option opts [Integer] :page_number The page number requested
|
103
109
|
# @option opts [String] :sort_by variable name requested to sort by
|
104
110
|
# @option opts [Array<String>] :expand variable name requested by expand list
|
111
|
+
# @option opts [String] :next_page next page token
|
112
|
+
# @option opts [String] :previous_page Previous page token
|
105
113
|
# @option opts [String] :conversation_id conversation id
|
106
114
|
# @option opts [DateTime] :start_time Beginning of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
107
115
|
# @option opts [DateTime] :end_time end of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
@@ -119,6 +127,8 @@ module PureCloud
|
|
119
127
|
# @option opts [Integer] :page_number The page number requested
|
120
128
|
# @option opts [String] :sort_by variable name requested to sort by
|
121
129
|
# @option opts [Array<String>] :expand variable name requested by expand list
|
130
|
+
# @option opts [String] :next_page next page token
|
131
|
+
# @option opts [String] :previous_page Previous page token
|
122
132
|
# @option opts [String] :conversation_id conversation id
|
123
133
|
# @option opts [DateTime] :start_time Beginning of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
124
134
|
# @option opts [DateTime] :end_time end of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
@@ -141,6 +151,8 @@ module PureCloud
|
|
141
151
|
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
142
152
|
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
|
143
153
|
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
154
|
+
query_params[:'nextPage'] = opts[:'next_page'] if opts[:'next_page']
|
155
|
+
query_params[:'previousPage'] = opts[:'previous_page'] if opts[:'previous_page']
|
144
156
|
query_params[:'conversationId'] = opts[:'conversation_id'] if opts[:'conversation_id']
|
145
157
|
query_params[:'startTime'] = opts[:'start_time'] if opts[:'start_time']
|
146
158
|
query_params[:'endTime'] = opts[:'end_time'] if opts[:'end_time']
|
@@ -443,6 +455,8 @@ module PureCloud
|
|
443
455
|
# @option opts [Integer] :page_number The page number requested
|
444
456
|
# @option opts [String] :sort_by variable name requested to sort by
|
445
457
|
# @option opts [Array<String>] :expand variable name requested by expand list
|
458
|
+
# @option opts [String] :next_page next page token
|
459
|
+
# @option opts [String] :previous_page Previous page token
|
446
460
|
# @option opts [String] :recording_id id of the recording
|
447
461
|
# @option opts [String] :entity_type entity type options: Recording, Calibration, Evaluation, Annotation
|
448
462
|
# @return [QualityAuditPage]
|
@@ -459,6 +473,8 @@ module PureCloud
|
|
459
473
|
# @option opts [Integer] :page_number The page number requested
|
460
474
|
# @option opts [String] :sort_by variable name requested to sort by
|
461
475
|
# @option opts [Array<String>] :expand variable name requested by expand list
|
476
|
+
# @option opts [String] :next_page next page token
|
477
|
+
# @option opts [String] :previous_page Previous page token
|
462
478
|
# @option opts [String] :recording_id id of the recording
|
463
479
|
# @option opts [String] :entity_type entity type options: Recording, Calibration, Evaluation, Annotation
|
464
480
|
# @return [Array<(QualityAuditPage, Fixnum, Hash)>] QualityAuditPage data, response status code and response headers
|
@@ -479,6 +495,8 @@ module PureCloud
|
|
479
495
|
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
480
496
|
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
|
481
497
|
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
498
|
+
query_params[:'nextPage'] = opts[:'next_page'] if opts[:'next_page']
|
499
|
+
query_params[:'previousPage'] = opts[:'previous_page'] if opts[:'previous_page']
|
482
500
|
query_params[:'recordingId'] = opts[:'recording_id'] if opts[:'recording_id']
|
483
501
|
query_params[:'entityType'] = opts[:'entity_type'] if opts[:'entity_type']
|
484
502
|
|
@@ -796,6 +814,8 @@ module PureCloud
|
|
796
814
|
# @option opts [Integer] :page_number The page number requested
|
797
815
|
# @option opts [String] :sort_by variable name requested to sort by
|
798
816
|
# @option opts [Array<String>] :expand variable name requested by expand list
|
817
|
+
# @option opts [String] :next_page next page token
|
818
|
+
# @option opts [String] :previous_page Previous page token
|
799
819
|
# @option opts [String] :conversation_id conversationId specified
|
800
820
|
# @option opts [String] :agent_user_id user id of the agent
|
801
821
|
# @option opts [String] :evaluator_user_id evaluator user id
|
@@ -820,6 +840,8 @@ module PureCloud
|
|
820
840
|
# @option opts [Integer] :page_number The page number requested
|
821
841
|
# @option opts [String] :sort_by variable name requested to sort by
|
822
842
|
# @option opts [Array<String>] :expand variable name requested by expand list
|
843
|
+
# @option opts [String] :next_page next page token
|
844
|
+
# @option opts [String] :previous_page Previous page token
|
823
845
|
# @option opts [String] :conversation_id conversationId specified
|
824
846
|
# @option opts [String] :agent_user_id user id of the agent
|
825
847
|
# @option opts [String] :evaluator_user_id evaluator user id
|
@@ -846,6 +868,8 @@ module PureCloud
|
|
846
868
|
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
847
869
|
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
|
848
870
|
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
871
|
+
query_params[:'nextPage'] = opts[:'next_page'] if opts[:'next_page']
|
872
|
+
query_params[:'previousPage'] = opts[:'previous_page'] if opts[:'previous_page']
|
849
873
|
query_params[:'conversationId'] = opts[:'conversation_id'] if opts[:'conversation_id']
|
850
874
|
query_params[:'agentUserId'] = opts[:'agent_user_id'] if opts[:'agent_user_id']
|
851
875
|
query_params[:'evaluatorUserId'] = opts[:'evaluator_user_id'] if opts[:'evaluator_user_id']
|
@@ -955,6 +979,8 @@ module PureCloud
|
|
955
979
|
# @option opts [Integer] :page_number The page number requested
|
956
980
|
# @option opts [String] :sort_by variable name requested to sort by
|
957
981
|
# @option opts [Array<String>] :expand variable name requested by expand list
|
982
|
+
# @option opts [String] :next_page next page token
|
983
|
+
# @option opts [String] :previous_page Previous page token
|
958
984
|
# @option opts [DateTime] :start_time The start time specified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
959
985
|
# @option opts [DateTime] :end_time The end time specified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
960
986
|
# @option opts [String] :name Evaluator name
|
@@ -973,6 +999,8 @@ module PureCloud
|
|
973
999
|
# @option opts [Integer] :page_number The page number requested
|
974
1000
|
# @option opts [String] :sort_by variable name requested to sort by
|
975
1001
|
# @option opts [Array<String>] :expand variable name requested by expand list
|
1002
|
+
# @option opts [String] :next_page next page token
|
1003
|
+
# @option opts [String] :previous_page Previous page token
|
976
1004
|
# @option opts [DateTime] :start_time The start time specified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
977
1005
|
# @option opts [DateTime] :end_time The end time specified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
978
1006
|
# @option opts [String] :name Evaluator name
|
@@ -993,6 +1021,8 @@ module PureCloud
|
|
993
1021
|
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
994
1022
|
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
|
995
1023
|
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
1024
|
+
query_params[:'nextPage'] = opts[:'next_page'] if opts[:'next_page']
|
1025
|
+
query_params[:'previousPage'] = opts[:'previous_page'] if opts[:'previous_page']
|
996
1026
|
query_params[:'startTime'] = opts[:'start_time'] if opts[:'start_time']
|
997
1027
|
query_params[:'endTime'] = opts[:'end_time'] if opts[:'end_time']
|
998
1028
|
query_params[:'name'] = opts[:'name'] if opts[:'name']
|
@@ -579,6 +579,8 @@ module PureCloud
|
|
579
579
|
# @option opts [Integer] :page_number The page number requested
|
580
580
|
# @option opts [String] :sort_by variable name requested to sort by
|
581
581
|
# @option opts [Array<String>] :expand variable name requested by expand list
|
582
|
+
# @option opts [String] :next_page next page token
|
583
|
+
# @option opts [String] :previous_page Previous page token
|
582
584
|
# @return [OrphanRecordingListing]
|
583
585
|
def get_orphanrecordings(opts = {})
|
584
586
|
data, status_code, headers = get_orphanrecordings_with_http_info(opts)
|
@@ -592,6 +594,8 @@ module PureCloud
|
|
592
594
|
# @option opts [Integer] :page_number The page number requested
|
593
595
|
# @option opts [String] :sort_by variable name requested to sort by
|
594
596
|
# @option opts [Array<String>] :expand variable name requested by expand list
|
597
|
+
# @option opts [String] :next_page next page token
|
598
|
+
# @option opts [String] :previous_page Previous page token
|
595
599
|
# @return [Array<(OrphanRecordingListing, Fixnum, Hash)>] OrphanRecordingListing data, response status code and response headers
|
596
600
|
def get_orphanrecordings_with_http_info(opts = {})
|
597
601
|
if @api_client.config.debugging
|
@@ -607,6 +611,8 @@ module PureCloud
|
|
607
611
|
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
608
612
|
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
|
609
613
|
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
614
|
+
query_params[:'nextPage'] = opts[:'next_page'] if opts[:'next_page']
|
615
|
+
query_params[:'previousPage'] = opts[:'previous_page'] if opts[:'previous_page']
|
610
616
|
|
611
617
|
# header parameters
|
612
618
|
header_params = {}
|
@@ -769,6 +775,8 @@ module PureCloud
|
|
769
775
|
# @option opts [Integer] :page_number The page number requested
|
770
776
|
# @option opts [String] :sort_by variable name requested to sort by
|
771
777
|
# @option opts [Array<String>] :expand variable name requested by expand list
|
778
|
+
# @option opts [String] :next_page next page token
|
779
|
+
# @option opts [String] :previous_page Previous page token
|
772
780
|
# @option opts [String] :name the policy name - used for filtering results in searches.
|
773
781
|
# @option opts [BOOLEAN] :enabled checks to see if policy is enabled - use enabled = true or enabled = false
|
774
782
|
# @option opts [BOOLEAN] :summary provides a less verbose response of policy lists.
|
@@ -786,6 +794,8 @@ module PureCloud
|
|
786
794
|
# @option opts [Integer] :page_number The page number requested
|
787
795
|
# @option opts [String] :sort_by variable name requested to sort by
|
788
796
|
# @option opts [Array<String>] :expand variable name requested by expand list
|
797
|
+
# @option opts [String] :next_page next page token
|
798
|
+
# @option opts [String] :previous_page Previous page token
|
789
799
|
# @option opts [String] :name the policy name - used for filtering results in searches.
|
790
800
|
# @option opts [BOOLEAN] :enabled checks to see if policy is enabled - use enabled = true or enabled = false
|
791
801
|
# @option opts [BOOLEAN] :summary provides a less verbose response of policy lists.
|
@@ -805,6 +815,8 @@ module PureCloud
|
|
805
815
|
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
806
816
|
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
|
807
817
|
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
818
|
+
query_params[:'nextPage'] = opts[:'next_page'] if opts[:'next_page']
|
819
|
+
query_params[:'previousPage'] = opts[:'previous_page'] if opts[:'previous_page']
|
808
820
|
query_params[:'name'] = opts[:'name'] if opts[:'name']
|
809
821
|
query_params[:'enabled'] = opts[:'enabled'] if opts[:'enabled']
|
810
822
|
query_params[:'summary'] = opts[:'summary'] if opts[:'summary']
|