purecloud 0.52.1 → 0.53.1
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/README.md +3 -3
- data/bin/notificationMappings.json +8 -0
- data/config-ruby.json +1 -1
- data/doc_out/AgentActivityEntityListing.html.md +1 -1
- data/doc_out/AttemptLimitsEntityListing.html.md +1 -1
- data/doc_out/AttributeEntityListing.html.md +1 -1
- data/doc_out/CalibrationEntityListing.html.md +1 -1
- data/doc_out/Call.html.md +1 -0
- data/doc_out/CallConversationEntityListing.html.md +1 -1
- data/doc_out/CallConversationNotificationCallMediaParticipant.html.md +1 -0
- data/doc_out/CallConversationNotificationParticipants.html.md +1 -0
- data/doc_out/CallableContactsDiagnostic.html.md +1 -0
- data/doc_out/CallableTimeSetEntityListing.html.md +1 -1
- data/doc_out/Callback.html.md +1 -0
- data/doc_out/CallbackConversationEntityListing.html.md +1 -1
- data/doc_out/CallbackConversationNotificationCallbackMediaParticipant.html.md +1 -0
- data/doc_out/CallbackConversationNotificationParticipants.html.md +1 -0
- data/doc_out/Campaign.html.md +1 -0
- data/doc_out/CampaignEntityListing.html.md +1 -1
- data/doc_out/CampaignSequenceEntityListing.html.md +1 -1
- data/doc_out/CertificateAuthorityEntityListing.html.md +1 -1
- data/doc_out/ChannelEntityListing.html.md +1 -1
- data/doc_out/ChatConversationEntityListing.html.md +1 -1
- data/doc_out/ChatConversationNotificationChatMediaParticipant.html.md +1 -0
- data/doc_out/ChatConversationNotificationParticipants.html.md +1 -0
- data/doc_out/CobrowseConversationEntityListing.html.md +1 -1
- data/doc_out/CobrowseConversationNotificationCobrowseMediaParticipant.html.md +1 -0
- data/doc_out/CobrowseConversationNotificationParticipants.html.md +9 -8
- data/doc_out/Cobrowsesession.html.md +1 -0
- data/doc_out/CommandStatusEntityListing.html.md +1 -1
- data/doc_out/ContactListEntityListing.html.md +1 -1
- data/doc_out/ConversationEntityListing.html.md +1 -1
- data/doc_out/ConversationNotificationCall.html.md +1 -0
- data/doc_out/ConversationNotificationCallback.html.md +1 -0
- data/doc_out/ConversationNotificationCallbacks.html.md +1 -0
- data/doc_out/ConversationNotificationCalls.html.md +1 -0
- data/doc_out/ConversationNotificationChat.html.md +1 -0
- data/doc_out/ConversationNotificationChats.html.md +1 -0
- data/doc_out/ConversationNotificationCobrowse.html.md +1 -0
- data/doc_out/ConversationNotificationCobrowsesessions.html.md +1 -0
- data/doc_out/ConversationNotificationEmail.html.md +1 -0
- data/doc_out/ConversationNotificationEmails.html.md +1 -0
- data/doc_out/ConversationNotificationScreenShare.html.md +1 -0
- data/doc_out/ConversationNotificationScreenShares.html.md +1 -0
- data/doc_out/ConversationNotificationSocialExpression.html.md +1 -0
- data/doc_out/ConversationNotificationSocialExpressions.html.md +2 -1
- data/doc_out/DIDEntityListing.html.md +1 -1
- data/doc_out/DIDPoolEntityListing.html.md +1 -1
- data/doc_out/DncListEntityListing.html.md +1 -1
- data/doc_out/DocumentAuditEntityListing.html.md +1 -1
- data/doc_out/DocumentEntityListing.html.md +1 -1
- data/doc_out/DomainEdgeSoftwareVersionDtoEntityListing.html.md +1 -1
- data/doc_out/DomainEntityListing.html.md +1 -1
- data/doc_out/DomainEntityListingEvaluationForm.html.md +1 -1
- data/doc_out/DomainEntityListingQueryResult.html.md +1 -1
- data/doc_out/DomainOrganizationRole.html.md +1 -0
- data/doc_out/DomainOrganizationRoleCreate.html.md +1 -0
- data/doc_out/EdgeEntityListing.html.md +1 -1
- data/doc_out/EdgeGroupEntityListing.html.md +1 -1
- data/doc_out/EdgeLineEntityListing.html.md +1 -1
- data/doc_out/EmailConversationEntityListing.html.md +1 -1
- data/doc_out/EmailConversationNotificationEmailMediaParticipant.html.md +1 -0
- data/doc_out/EmailConversationNotificationParticipants.html.md +1 -0
- data/doc_out/EmailMessageListing.html.md +1 -1
- data/doc_out/EncryptionKeyEntityListing.html.md +1 -1
- data/doc_out/EndpointEntityListing.html.md +1 -1
- data/doc_out/EvaluationEntityListing.html.md +1 -1
- data/doc_out/EvaluationFormEntityListing.html.md +1 -1
- data/doc_out/EvaluatorActivityEntityListing.html.md +1 -1
- data/doc_out/ExtensionEntityListing.html.md +1 -1
- data/doc_out/ExtensionPoolEntityListing.html.md +1 -1
- data/doc_out/FaxDocumentEntityListing.html.md +1 -1
- data/doc_out/GroupEntityListing.html.md +1 -1
- data/doc_out/GroupSearchCriteria.html.md +7 -7
- data/doc_out/GroupSearchRequest.html.md +6 -6
- data/doc_out/GroupsApi.html.md +6 -6
- data/doc_out/GroupsSearchResponse.html.md +9 -9
- data/doc_out/HeartBeatAlertContainer.html.md +1 -1
- data/doc_out/HeartBeatRuleContainer.html.md +1 -1
- data/doc_out/InboundDomainEntityListing.html.md +1 -1
- data/doc_out/InboundRouteEntityListing.html.md +1 -1
- data/doc_out/InteractionStatsAlertContainer.html.md +1 -1
- data/doc_out/InteractionStatsRuleContainer.html.md +1 -1
- data/doc_out/JsonNode.html.md +3 -3
- data/doc_out/JsonNodeSearchResponse.html.md +9 -9
- data/doc_out/KeywordSetEntityListing.html.md +1 -1
- data/doc_out/LanguageEntityListing.html.md +1 -1
- data/doc_out/LibraryEntityListing.html.md +1 -1
- data/doc_out/LineBaseEntityListing.html.md +1 -1
- data/doc_out/LineEntityListing.html.md +1 -1
- data/doc_out/LocationSearchCriteria.html.md +7 -7
- data/doc_out/LocationSearchRequest.html.md +6 -6
- data/doc_out/LocationsApi.html.md +6 -6
- data/doc_out/LocationsSearchResponse.html.md +9 -9
- data/doc_out/LogicalInterfaceEntityListing.html.md +1 -1
- data/doc_out/ManagementUnit.html.md +18 -0
- data/doc_out/OAuthClientEntityListing.html.md +1 -1
- data/doc_out/OAuthProviderEntityListing.html.md +1 -1
- data/doc_out/OrganizationPresenceEntityListing.html.md +1 -1
- data/doc_out/OrganizationRoleEntityListing.html.md +1 -1
- data/doc_out/OrphanRecordingListing.html.md +1 -1
- data/doc_out/OutboundRouteEntityListing.html.md +1 -1
- data/doc_out/PermissionCollectionEntityListing.html.md +1 -1
- data/doc_out/PhoneBaseEntityListing.html.md +1 -1
- data/doc_out/PhoneEntityListing.html.md +1 -1
- data/doc_out/PhoneMetaBaseEntityListing.html.md +1 -1
- data/doc_out/PhysicalInterfaceEntityListing.html.md +1 -1
- data/doc_out/PolicyEntityListing.html.md +1 -1
- data/doc_out/Predicate.html.md +14 -0
- data/doc_out/QualityAuditPage.html.md +1 -1
- data/doc_out/QuestionGroup.html.md +1 -0
- data/doc_out/QueueEntityListing.html.md +1 -1
- data/doc_out/QueueMemberEntityListing.html.md +1 -1
- data/doc_out/ReportMetaDataEntityListing.html.md +1 -1
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +1 -1
- data/doc_out/ReportScheduleEntityListing.html.md +1 -1
- data/doc_out/ResponseEntityList.html.md +1 -1
- data/doc_out/ResponseEntityListing.html.md +1 -1
- data/doc_out/ResponseSetEntityListing.html.md +1 -1
- data/doc_out/RuleSetEntityListing.html.md +1 -1
- data/doc_out/SchemaCategoryEntityListing.html.md +1 -1
- data/doc_out/SchemaReferenceEntityListing.html.md +1 -1
- data/doc_out/ScreenRecordingSessionListing.html.md +1 -1
- data/doc_out/ScreenShareConversationNotificationParticipants.html.md +10 -9
- data/doc_out/ScreenShareConversationNotificationScreenShareMediaParticipant.html.md +1 -0
- data/doc_out/Screenshare.html.md +1 -0
- data/doc_out/SearchAggregation.html.md +6 -6
- data/doc_out/SearchApi.html.md +30 -30
- data/doc_out/SearchCriteria.html.md +7 -7
- data/doc_out/SearchRequest.html.md +9 -9
- data/doc_out/SecurityProfileEntityListing.html.md +1 -1
- data/doc_out/ShareEntityListing.html.md +1 -1
- data/doc_out/SiteEntityListing.html.md +1 -1
- data/doc_out/SkillEntityListing.html.md +1 -1
- data/doc_out/SocialConversationNotificationParticipants.html.md +11 -10
- data/doc_out/SocialConversationNotificationSocialMediaParticipant.html.md +1 -0
- data/doc_out/SocialExpression.html.md +1 -0
- data/doc_out/StationEntityListing.html.md +1 -1
- data/doc_out/SuggestApi.html.md +12 -12
- data/doc_out/SuggestSearchCriteria.html.md +7 -7
- data/doc_out/SuggestSearchRequest.html.md +2 -2
- data/doc_out/TagValueEntityListing.html.md +1 -1
- data/doc_out/TimeZoneEntityListing.html.md +1 -1
- data/doc_out/TrunkEntityListing.html.md +1 -1
- data/doc_out/TrunkMetabaseEntityListing.html.md +1 -1
- data/doc_out/UserEntityListing.html.md +1 -1
- data/doc_out/UserQueueEntityListing.html.md +1 -1
- data/doc_out/UserRecordingEntityListing.html.md +1 -1
- data/doc_out/UserScheduleAdherence.html.md +26 -0
- data/doc_out/UserSearchCriteria.html.md +7 -7
- data/doc_out/UserSearchRequest.html.md +6 -6
- data/doc_out/UserSkillEntityListing.html.md +1 -1
- data/doc_out/UsersApi.html.md +124 -6
- data/doc_out/UsersEntityListing.html.md +1 -1
- data/doc_out/UsersSearchResponse.html.md +9 -9
- data/doc_out/Video.html.md +1 -0
- data/doc_out/VideoConversationNotificationParticipants.html.md +1 -1
- data/doc_out/VideoConversationNotificationVideoMediaParticipant.html.md +1 -1
- data/doc_out/VisibilityCondition.html.md +14 -0
- data/doc_out/WorkforceManagementApi.html.md +69 -0
- data/doc_out/WorkspaceEntityListing.html.md +1 -1
- data/doc_out/WorkspaceMemberEntityListing.html.md +1 -1
- data/doc_out/WrapupCodeEntityListing.html.md +1 -1
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +5 -0
- data/lib/purecloud/api/groups_api.rb +4 -4
- data/lib/purecloud/api/locations_api.rb +4 -4
- data/lib/purecloud/api/search_api.rb +20 -20
- data/lib/purecloud/api/suggest_api.rb +8 -8
- data/lib/purecloud/api/users_api.rb +126 -4
- data/lib/purecloud/api/workforce_management_api.rb +88 -0
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/agent_activity_entity_listing.rb +11 -11
- data/lib/purecloud/models/analytics_query_predicate.rb +1 -1
- data/lib/purecloud/models/attempt_limits_entity_listing.rb +11 -11
- data/lib/purecloud/models/attribute_entity_listing.rb +11 -11
- data/lib/purecloud/models/calibration_entity_listing.rb +11 -11
- data/lib/purecloud/models/call.rb +15 -4
- data/lib/purecloud/models/call_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/call_conversation_notification_call_media_participant.rb +11 -1
- data/lib/purecloud/models/call_conversation_notification_participants.rb +11 -1
- data/lib/purecloud/models/callable_contacts_diagnostic.rb +12 -1
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/callback.rb +15 -4
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/callback_conversation_notification_callback_media_participant.rb +11 -1
- data/lib/purecloud/models/callback_conversation_notification_participants.rb +11 -1
- data/lib/purecloud/models/campaign.rb +12 -1
- 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/certificate_authority_entity_listing.rb +11 -11
- data/lib/purecloud/models/channel_entity_listing.rb +11 -11
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/chat_conversation_notification_chat_media_participant.rb +11 -1
- data/lib/purecloud/models/chat_conversation_notification_participants.rb +11 -1
- data/lib/purecloud/models/cobrowse_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/cobrowse_conversation_notification_cobrowse_media_participant.rb +11 -1
- data/lib/purecloud/models/cobrowse_conversation_notification_participants.rb +87 -77
- data/lib/purecloud/models/cobrowsesession.rb +15 -4
- data/lib/purecloud/models/command_status_entity_listing.rb +11 -11
- data/lib/purecloud/models/contact_list_entity_listing.rb +11 -11
- data/lib/purecloud/models/conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/conversation_notification_call.rb +11 -1
- data/lib/purecloud/models/conversation_notification_callback.rb +11 -1
- data/lib/purecloud/models/conversation_notification_callbacks.rb +11 -1
- data/lib/purecloud/models/conversation_notification_calls.rb +11 -1
- data/lib/purecloud/models/conversation_notification_chat.rb +11 -1
- data/lib/purecloud/models/conversation_notification_chats.rb +14 -4
- data/lib/purecloud/models/conversation_notification_cobrowse.rb +11 -1
- data/lib/purecloud/models/conversation_notification_cobrowsesessions.rb +11 -1
- data/lib/purecloud/models/conversation_notification_email.rb +11 -1
- data/lib/purecloud/models/conversation_notification_emails.rb +11 -1
- data/lib/purecloud/models/conversation_notification_screen_share.rb +11 -1
- data/lib/purecloud/models/conversation_notification_screen_shares.rb +11 -1
- data/lib/purecloud/models/conversation_notification_social_expression.rb +11 -1
- data/lib/purecloud/models/conversation_notification_social_expressions.rb +21 -11
- data/lib/purecloud/models/conversation_notification_video.rb +0 -9
- data/lib/purecloud/models/conversation_notification_videos.rb +0 -9
- data/lib/purecloud/models/did_entity_listing.rb +11 -11
- data/lib/purecloud/models/did_pool_entity_listing.rb +11 -11
- 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_edge_software_version_dto_entity_listing.rb +11 -11
- 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_organization_role.rb +13 -1
- data/lib/purecloud/models/domain_organization_role_create.rb +13 -1
- data/lib/purecloud/models/edge_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_group_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_line_entity_listing.rb +11 -11
- data/lib/purecloud/models/email_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/email_conversation_notification_email_media_participant.rb +11 -1
- data/lib/purecloud/models/email_conversation_notification_participants.rb +11 -1
- 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_entity_listing.rb +11 -11
- 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_entity_listing.rb +11 -11
- data/lib/purecloud/models/extension_pool_entity_listing.rb +11 -11
- data/lib/purecloud/models/fax_document_entity_listing.rb +11 -11
- data/lib/purecloud/models/group_entity_listing.rb +11 -11
- data/lib/purecloud/models/group_search_criteria.rb +7 -0
- data/lib/purecloud/models/group_search_request.rb +6 -0
- data/lib/purecloud/models/groups_search_response.rb +9 -0
- data/lib/purecloud/models/heart_beat_alert_container.rb +11 -11
- data/lib/purecloud/models/heart_beat_rule_container.rb +11 -11
- 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/interaction_stats_alert_container.rb +11 -11
- data/lib/purecloud/models/interaction_stats_rule_container.rb +11 -11
- data/lib/purecloud/models/json_node.rb +40 -40
- data/lib/purecloud/models/json_node_search_response.rb +9 -0
- data/lib/purecloud/models/keyword_set_entity_listing.rb +11 -11
- 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_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/line_entity_listing.rb +11 -11
- data/lib/purecloud/models/location_search_criteria.rb +7 -0
- data/lib/purecloud/models/location_search_request.rb +6 -0
- data/lib/purecloud/models/locations_search_response.rb +9 -0
- data/lib/purecloud/models/logical_interface_entity_listing.rb +11 -11
- data/lib/purecloud/models/management_unit.rb +230 -0
- 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_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_entity_listing.rb +11 -11
- data/lib/purecloud/models/permission_collection_entity_listing.rb +11 -11
- 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/predicate.rb +175 -0
- data/lib/purecloud/models/quality_audit_page.rb +11 -11
- data/lib/purecloud/models/question_group.rb +14 -4
- data/lib/purecloud/models/queue_entity_listing.rb +11 -11
- data/lib/purecloud/models/queue_member_entity_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_entity_listing.rb +11 -11
- data/lib/purecloud/models/response_entity_list.rb +11 -11
- data/lib/purecloud/models/response_entity_listing.rb +11 -11
- data/lib/purecloud/models/response_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/rule_set_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/screen_recording_session_listing.rb +11 -11
- data/lib/purecloud/models/screen_share_conversation_notification_participants.rb +89 -79
- data/lib/purecloud/models/screen_share_conversation_notification_screen_share_media_participant.rb +11 -1
- data/lib/purecloud/models/screenshare.rb +15 -4
- data/lib/purecloud/models/search_aggregation.rb +6 -0
- data/lib/purecloud/models/search_criteria.rb +7 -0
- data/lib/purecloud/models/search_request.rb +9 -1
- data/lib/purecloud/models/security_profile_entity_listing.rb +11 -11
- data/lib/purecloud/models/share_entity_listing.rb +11 -11
- 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_notification_participants.rb +103 -93
- data/lib/purecloud/models/social_conversation_notification_social_media_participant.rb +11 -1
- data/lib/purecloud/models/social_expression.rb +15 -4
- data/lib/purecloud/models/station_entity_listing.rb +11 -11
- data/lib/purecloud/models/suggest_search_criteria.rb +7 -0
- data/lib/purecloud/models/suggest_search_request.rb +2 -1
- data/lib/purecloud/models/tag_value_entity_listing.rb +11 -11
- data/lib/purecloud/models/time_zone_entity_listing.rb +11 -11
- data/lib/purecloud/models/trunk_entity_listing.rb +11 -11
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_entity_listing.rb +11 -11
- 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_schedule_adherence.rb +364 -0
- data/lib/purecloud/models/user_search_criteria.rb +7 -0
- data/lib/purecloud/models/user_search_request.rb +6 -0
- 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 +9 -0
- data/lib/purecloud/models/video.rb +15 -4
- data/lib/purecloud/models/video_conversation_notification_participants.rb +13 -22
- data/lib/purecloud/models/video_conversation_notification_video_media_participant.rb +14 -23
- data/lib/purecloud/models/visibility_condition.rb +186 -0
- 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 +12 -2
@@ -18,18 +18,25 @@ require 'date'
|
|
18
18
|
|
19
19
|
module PureCloud
|
20
20
|
class UserSearchCriteria
|
21
|
+
# The end value of the range. This field is used for range search types.
|
21
22
|
attr_accessor :end_value
|
22
23
|
|
24
|
+
# A list of values for the search to match against
|
23
25
|
attr_accessor :values
|
24
26
|
|
27
|
+
# The start value of the range. This field is used for range search types.
|
25
28
|
attr_accessor :start_value
|
26
29
|
|
30
|
+
# Field names to search against
|
27
31
|
attr_accessor :fields
|
28
32
|
|
33
|
+
# A value for the search to match against
|
29
34
|
attr_accessor :value
|
30
35
|
|
36
|
+
# How to apply this search criteria against other criteria
|
31
37
|
attr_accessor :operator
|
32
38
|
|
39
|
+
# Groups multiple conditions
|
33
40
|
attr_accessor :group
|
34
41
|
|
35
42
|
# Search Type
|
@@ -18,16 +18,22 @@ require 'date'
|
|
18
18
|
|
19
19
|
module PureCloud
|
20
20
|
class UserSearchRequest
|
21
|
+
# The sort order for results
|
21
22
|
attr_accessor :sort_order
|
22
23
|
|
24
|
+
# The field in the resource that you want to sort the results by
|
23
25
|
attr_accessor :sort_by
|
24
26
|
|
27
|
+
# The number of results per page
|
25
28
|
attr_accessor :page_size
|
26
29
|
|
30
|
+
# The page of resources you want to retrieve
|
27
31
|
attr_accessor :page_number
|
28
32
|
|
33
|
+
# A List of strings containing the resource field paths that you want to return
|
29
34
|
attr_accessor :return_fields
|
30
35
|
|
36
|
+
# Provides more details about a specified resource
|
31
37
|
attr_accessor :expand
|
32
38
|
|
33
39
|
attr_accessor :query
|
@@ -28,12 +28,12 @@ module PureCloud
|
|
28
28
|
|
29
29
|
attr_accessor :self_uri
|
30
30
|
|
31
|
-
attr_accessor :next_uri
|
32
|
-
|
33
31
|
attr_accessor :first_uri
|
34
32
|
|
35
33
|
attr_accessor :previous_uri
|
36
34
|
|
35
|
+
attr_accessor :next_uri
|
36
|
+
|
37
37
|
attr_accessor :last_uri
|
38
38
|
|
39
39
|
attr_accessor :page_count
|
@@ -52,12 +52,12 @@ module PureCloud
|
|
52
52
|
|
53
53
|
:'self_uri' => :'selfUri',
|
54
54
|
|
55
|
-
:'next_uri' => :'nextUri',
|
56
|
-
|
57
55
|
:'first_uri' => :'firstUri',
|
58
56
|
|
59
57
|
:'previous_uri' => :'previousUri',
|
60
58
|
|
59
|
+
:'next_uri' => :'nextUri',
|
60
|
+
|
61
61
|
:'last_uri' => :'lastUri',
|
62
62
|
|
63
63
|
:'page_count' => :'pageCount'
|
@@ -73,9 +73,9 @@ module PureCloud
|
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
75
|
:'self_uri' => :'String',
|
76
|
-
:'next_uri' => :'String',
|
77
76
|
:'first_uri' => :'String',
|
78
77
|
:'previous_uri' => :'String',
|
78
|
+
:'next_uri' => :'String',
|
79
79
|
:'last_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
@@ -111,10 +111,6 @@ module PureCloud
|
|
111
111
|
self.self_uri = attributes[:'selfUri']
|
112
112
|
end
|
113
113
|
|
114
|
-
if attributes[:'nextUri']
|
115
|
-
self.next_uri = attributes[:'nextUri']
|
116
|
-
end
|
117
|
-
|
118
114
|
if attributes[:'firstUri']
|
119
115
|
self.first_uri = attributes[:'firstUri']
|
120
116
|
end
|
@@ -123,6 +119,10 @@ module PureCloud
|
|
123
119
|
self.previous_uri = attributes[:'previousUri']
|
124
120
|
end
|
125
121
|
|
122
|
+
if attributes[:'nextUri']
|
123
|
+
self.next_uri = attributes[:'nextUri']
|
124
|
+
end
|
125
|
+
|
126
126
|
if attributes[:'lastUri']
|
127
127
|
self.last_uri = attributes[:'lastUri']
|
128
128
|
end
|
@@ -142,9 +142,9 @@ module PureCloud
|
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
144
|
self_uri == o.self_uri &&
|
145
|
-
next_uri == o.next_uri &&
|
146
145
|
first_uri == o.first_uri &&
|
147
146
|
previous_uri == o.previous_uri &&
|
147
|
+
next_uri == o.next_uri &&
|
148
148
|
last_uri == o.last_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total, self_uri,
|
159
|
+
[entities, page_size, page_number, total, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -28,12 +28,12 @@ module PureCloud
|
|
28
28
|
|
29
29
|
attr_accessor :self_uri
|
30
30
|
|
31
|
-
attr_accessor :next_uri
|
32
|
-
|
33
31
|
attr_accessor :first_uri
|
34
32
|
|
35
33
|
attr_accessor :previous_uri
|
36
34
|
|
35
|
+
attr_accessor :next_uri
|
36
|
+
|
37
37
|
attr_accessor :last_uri
|
38
38
|
|
39
39
|
attr_accessor :page_count
|
@@ -52,12 +52,12 @@ module PureCloud
|
|
52
52
|
|
53
53
|
:'self_uri' => :'selfUri',
|
54
54
|
|
55
|
-
:'next_uri' => :'nextUri',
|
56
|
-
|
57
55
|
:'first_uri' => :'firstUri',
|
58
56
|
|
59
57
|
:'previous_uri' => :'previousUri',
|
60
58
|
|
59
|
+
:'next_uri' => :'nextUri',
|
60
|
+
|
61
61
|
:'last_uri' => :'lastUri',
|
62
62
|
|
63
63
|
:'page_count' => :'pageCount'
|
@@ -73,9 +73,9 @@ module PureCloud
|
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
75
|
:'self_uri' => :'String',
|
76
|
-
:'next_uri' => :'String',
|
77
76
|
:'first_uri' => :'String',
|
78
77
|
:'previous_uri' => :'String',
|
78
|
+
:'next_uri' => :'String',
|
79
79
|
:'last_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
@@ -111,10 +111,6 @@ module PureCloud
|
|
111
111
|
self.self_uri = attributes[:'selfUri']
|
112
112
|
end
|
113
113
|
|
114
|
-
if attributes[:'nextUri']
|
115
|
-
self.next_uri = attributes[:'nextUri']
|
116
|
-
end
|
117
|
-
|
118
114
|
if attributes[:'firstUri']
|
119
115
|
self.first_uri = attributes[:'firstUri']
|
120
116
|
end
|
@@ -123,6 +119,10 @@ module PureCloud
|
|
123
119
|
self.previous_uri = attributes[:'previousUri']
|
124
120
|
end
|
125
121
|
|
122
|
+
if attributes[:'nextUri']
|
123
|
+
self.next_uri = attributes[:'nextUri']
|
124
|
+
end
|
125
|
+
|
126
126
|
if attributes[:'lastUri']
|
127
127
|
self.last_uri = attributes[:'lastUri']
|
128
128
|
end
|
@@ -142,9 +142,9 @@ module PureCloud
|
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
144
|
self_uri == o.self_uri &&
|
145
|
-
next_uri == o.next_uri &&
|
146
145
|
first_uri == o.first_uri &&
|
147
146
|
previous_uri == o.previous_uri &&
|
147
|
+
next_uri == o.next_uri &&
|
148
148
|
last_uri == o.last_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total, self_uri,
|
159
|
+
[entities, page_size, page_number, total, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -18,22 +18,31 @@ require 'date'
|
|
18
18
|
|
19
19
|
module PureCloud
|
20
20
|
class UsersSearchResponse
|
21
|
+
# The total number of results found
|
21
22
|
attr_accessor :total
|
22
23
|
|
24
|
+
# The total number of pages
|
23
25
|
attr_accessor :page_count
|
24
26
|
|
27
|
+
# The current page size
|
25
28
|
attr_accessor :page_size
|
26
29
|
|
30
|
+
# The current page number
|
27
31
|
attr_accessor :page_number
|
28
32
|
|
33
|
+
# Q64 value for the previous page of results
|
29
34
|
attr_accessor :previous_page
|
30
35
|
|
36
|
+
# Q64 value for the current page of results
|
31
37
|
attr_accessor :current_page
|
32
38
|
|
39
|
+
# Q64 value for the next page of results
|
33
40
|
attr_accessor :next_page
|
34
41
|
|
42
|
+
# Resource types the search was performed against
|
35
43
|
attr_accessor :types
|
36
44
|
|
45
|
+
# Search results
|
37
46
|
attr_accessor :results
|
38
47
|
|
39
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -48,6 +48,9 @@ module PureCloud
|
|
48
48
|
# The timestamp when this communication disconnected from the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
49
49
|
attr_accessor :disconnected_time
|
50
50
|
|
51
|
+
# The source provider for the video.
|
52
|
+
attr_accessor :provider
|
53
|
+
|
51
54
|
# Attribute mapping from ruby-style variable name to JSON key.
|
52
55
|
def self.attribute_map
|
53
56
|
{
|
@@ -70,7 +73,9 @@ module PureCloud
|
|
70
73
|
|
71
74
|
:'connected_time' => :'connectedTime',
|
72
75
|
|
73
|
-
:'disconnected_time' => :'disconnectedTime'
|
76
|
+
:'disconnected_time' => :'disconnectedTime',
|
77
|
+
|
78
|
+
:'provider' => :'provider'
|
74
79
|
|
75
80
|
}
|
76
81
|
end
|
@@ -87,7 +92,8 @@ module PureCloud
|
|
87
92
|
:'peer_count' => :'Integer',
|
88
93
|
:'disconnect_type' => :'String',
|
89
94
|
:'connected_time' => :'DateTime',
|
90
|
-
:'disconnected_time' => :'DateTime'
|
95
|
+
:'disconnected_time' => :'DateTime',
|
96
|
+
:'provider' => :'String'
|
91
97
|
|
92
98
|
}
|
93
99
|
end
|
@@ -145,6 +151,10 @@ module PureCloud
|
|
145
151
|
self.disconnected_time = attributes[:'disconnectedTime']
|
146
152
|
end
|
147
153
|
|
154
|
+
if attributes[:'provider']
|
155
|
+
self.provider = attributes[:'provider']
|
156
|
+
end
|
157
|
+
|
148
158
|
end
|
149
159
|
|
150
160
|
# Custom attribute writer method checking allowed values (enum).
|
@@ -178,7 +188,8 @@ module PureCloud
|
|
178
188
|
peer_count == o.peer_count &&
|
179
189
|
disconnect_type == o.disconnect_type &&
|
180
190
|
connected_time == o.connected_time &&
|
181
|
-
disconnected_time == o.disconnected_time
|
191
|
+
disconnected_time == o.disconnected_time &&
|
192
|
+
provider == o.provider
|
182
193
|
end
|
183
194
|
|
184
195
|
# @see the `==` method
|
@@ -188,7 +199,7 @@ module PureCloud
|
|
188
199
|
|
189
200
|
# Calculate hash code according to all attributes.
|
190
201
|
def hash
|
191
|
-
[state, id, context, audio_muted, video_muted, sharing_screen, peer_count, disconnect_type, connected_time, disconnected_time].hash
|
202
|
+
[state, id, context, audio_muted, video_muted, sharing_screen, peer_count, disconnect_type, connected_time, disconnected_time, provider].hash
|
192
203
|
end
|
193
204
|
|
194
205
|
# build the object from hash
|
@@ -68,10 +68,10 @@ module PureCloud
|
|
68
68
|
|
69
69
|
attr_accessor :attributes
|
70
70
|
|
71
|
-
attr_accessor :user
|
72
|
-
|
73
71
|
attr_accessor :sharing_screen
|
74
72
|
|
73
|
+
attr_accessor :user
|
74
|
+
|
75
75
|
# Attribute mapping from ruby-style variable name to JSON key.
|
76
76
|
def self.attribute_map
|
77
77
|
{
|
@@ -126,9 +126,9 @@ module PureCloud
|
|
126
126
|
|
127
127
|
:'attributes' => :'attributes',
|
128
128
|
|
129
|
-
:'
|
129
|
+
:'sharing_screen' => :'sharingScreen',
|
130
130
|
|
131
|
-
:'
|
131
|
+
:'user' => :'user'
|
132
132
|
|
133
133
|
}
|
134
134
|
end
|
@@ -161,8 +161,8 @@ module PureCloud
|
|
161
161
|
:'context' => :'String',
|
162
162
|
:'start_hold_time' => :'DateTime',
|
163
163
|
:'attributes' => :'Hash<String, String>',
|
164
|
-
:'
|
165
|
-
:'
|
164
|
+
:'sharing_screen' => :'BOOLEAN',
|
165
|
+
:'user' => :'CallbackConversationNotificationUser'
|
166
166
|
|
167
167
|
}
|
168
168
|
end
|
@@ -276,14 +276,14 @@ module PureCloud
|
|
276
276
|
end
|
277
277
|
end
|
278
278
|
|
279
|
-
if attributes[:'user']
|
280
|
-
self.user = attributes[:'user']
|
281
|
-
end
|
282
|
-
|
283
279
|
if attributes[:'sharingScreen']
|
284
280
|
self.sharing_screen = attributes[:'sharingScreen']
|
285
281
|
end
|
286
282
|
|
283
|
+
if attributes[:'user']
|
284
|
+
self.user = attributes[:'user']
|
285
|
+
end
|
286
|
+
|
287
287
|
end
|
288
288
|
|
289
289
|
# Custom attribute writer method checking allowed values (enum).
|
@@ -304,15 +304,6 @@ module PureCloud
|
|
304
304
|
@state = state
|
305
305
|
end
|
306
306
|
|
307
|
-
# Custom attribute writer method checking allowed values (enum).
|
308
|
-
def provider=(provider)
|
309
|
-
allowed_values = ["PureCloud WebRTC", "PureCloud Email", "PureCloud Webchat", "PureCloud Co-browse", "PureCloud VR", "PureCloud Callback", "PureCloud Social Channel Management", "PureCloud Fax", "Edge", "Twillio", "Bifrost", "Unknown"]
|
310
|
-
if provider && !allowed_values.include?(provider)
|
311
|
-
fail "invalid value for 'provider', must be one of #{allowed_values}"
|
312
|
-
end
|
313
|
-
@provider = provider
|
314
|
-
end
|
315
|
-
|
316
307
|
# Custom attribute writer method checking allowed values (enum).
|
317
308
|
def disconnect_type=(disconnect_type)
|
318
309
|
allowed_values = ["endpoint", "client", "system", "transfer", "timeout", "transfer.conference", "transfer.consult", "transfer.forward", "transfer.noanswer", "transfer.notavailable", "transport.failure", "error", "peer", "other", "spam"]
|
@@ -351,8 +342,8 @@ module PureCloud
|
|
351
342
|
context == o.context &&
|
352
343
|
start_hold_time == o.start_hold_time &&
|
353
344
|
attributes == o.attributes &&
|
354
|
-
|
355
|
-
|
345
|
+
sharing_screen == o.sharing_screen &&
|
346
|
+
user == o.user
|
356
347
|
end
|
357
348
|
|
358
349
|
# @see the `==` method
|
@@ -362,7 +353,7 @@ module PureCloud
|
|
362
353
|
|
363
354
|
# Calculate hash code according to all attributes.
|
364
355
|
def hash
|
365
|
-
[queue, video_muted, error_info, connected_time, direction, wrapup_skipped, peer_count, state, purpose, end_time, start_time, id, wrapup_prompt, name, wrapup_timeout_ms, held, audio_muted, wrapup_required, provider, script, disconnect_type, address, context, start_hold_time, attributes,
|
356
|
+
[queue, video_muted, error_info, connected_time, direction, wrapup_skipped, peer_count, state, purpose, end_time, start_time, id, wrapup_prompt, name, wrapup_timeout_ms, held, audio_muted, wrapup_required, provider, script, disconnect_type, address, context, start_hold_time, attributes, sharing_screen, user].hash
|
366
357
|
end
|
367
358
|
|
368
359
|
# build the object from hash
|
@@ -60,6 +60,8 @@ module PureCloud
|
|
60
60
|
|
61
61
|
attr_accessor :wrapup_skipped
|
62
62
|
|
63
|
+
attr_accessor :provider
|
64
|
+
|
63
65
|
attr_accessor :audio_muted
|
64
66
|
|
65
67
|
attr_accessor :video_muted
|
@@ -70,8 +72,6 @@ module PureCloud
|
|
70
72
|
|
71
73
|
attr_accessor :context
|
72
74
|
|
73
|
-
attr_accessor :provider
|
74
|
-
|
75
75
|
# Attribute mapping from ruby-style variable name to JSON key.
|
76
76
|
def self.attribute_map
|
77
77
|
{
|
@@ -118,6 +118,8 @@ module PureCloud
|
|
118
118
|
|
119
119
|
:'wrapup_skipped' => :'wrapupSkipped',
|
120
120
|
|
121
|
+
:'provider' => :'provider',
|
122
|
+
|
121
123
|
:'audio_muted' => :'audioMuted',
|
122
124
|
|
123
125
|
:'video_muted' => :'videoMuted',
|
@@ -126,9 +128,7 @@ module PureCloud
|
|
126
128
|
|
127
129
|
:'peer_count' => :'peerCount',
|
128
130
|
|
129
|
-
:'context' => :'context'
|
130
|
-
|
131
|
-
:'provider' => :'provider'
|
131
|
+
:'context' => :'context'
|
132
132
|
|
133
133
|
}
|
134
134
|
end
|
@@ -157,12 +157,12 @@ module PureCloud
|
|
157
157
|
:'script' => :'VideoConversationNotificationUriReference',
|
158
158
|
:'wrapup_timeout_ms' => :'Integer',
|
159
159
|
:'wrapup_skipped' => :'BOOLEAN',
|
160
|
+
:'provider' => :'String',
|
160
161
|
:'audio_muted' => :'BOOLEAN',
|
161
162
|
:'video_muted' => :'BOOLEAN',
|
162
163
|
:'sharing_screen' => :'BOOLEAN',
|
163
164
|
:'peer_count' => :'Integer',
|
164
|
-
:'context' => :'String'
|
165
|
-
:'provider' => :'String'
|
165
|
+
:'context' => :'String'
|
166
166
|
|
167
167
|
}
|
168
168
|
end
|
@@ -260,6 +260,10 @@ module PureCloud
|
|
260
260
|
self.wrapup_skipped = attributes[:'wrapupSkipped']
|
261
261
|
end
|
262
262
|
|
263
|
+
if attributes[:'provider']
|
264
|
+
self.provider = attributes[:'provider']
|
265
|
+
end
|
266
|
+
|
263
267
|
if attributes[:'audioMuted']
|
264
268
|
self.audio_muted = attributes[:'audioMuted']
|
265
269
|
end
|
@@ -280,10 +284,6 @@ module PureCloud
|
|
280
284
|
self.context = attributes[:'context']
|
281
285
|
end
|
282
286
|
|
283
|
-
if attributes[:'provider']
|
284
|
-
self.provider = attributes[:'provider']
|
285
|
-
end
|
286
|
-
|
287
287
|
end
|
288
288
|
|
289
289
|
# Custom attribute writer method checking allowed values (enum).
|
@@ -313,15 +313,6 @@ module PureCloud
|
|
313
313
|
@disconnect_type = disconnect_type
|
314
314
|
end
|
315
315
|
|
316
|
-
# Custom attribute writer method checking allowed values (enum).
|
317
|
-
def provider=(provider)
|
318
|
-
allowed_values = ["PureCloud WebRTC", "PureCloud Email", "PureCloud Webchat", "PureCloud Co-browse", "PureCloud VR", "PureCloud Callback", "PureCloud Social Channel Management", "PureCloud Fax", "Edge", "Twillio", "Bifrost", "Unknown"]
|
319
|
-
if provider && !allowed_values.include?(provider)
|
320
|
-
fail "invalid value for 'provider', must be one of #{allowed_values}"
|
321
|
-
end
|
322
|
-
@provider = provider
|
323
|
-
end
|
324
|
-
|
325
316
|
# Check equality by comparing each attribute.
|
326
317
|
def ==(o)
|
327
318
|
return true if self.equal?(o)
|
@@ -347,12 +338,12 @@ module PureCloud
|
|
347
338
|
script == o.script &&
|
348
339
|
wrapup_timeout_ms == o.wrapup_timeout_ms &&
|
349
340
|
wrapup_skipped == o.wrapup_skipped &&
|
341
|
+
provider == o.provider &&
|
350
342
|
audio_muted == o.audio_muted &&
|
351
343
|
video_muted == o.video_muted &&
|
352
344
|
sharing_screen == o.sharing_screen &&
|
353
345
|
peer_count == o.peer_count &&
|
354
|
-
context == o.context
|
355
|
-
provider == o.provider
|
346
|
+
context == o.context
|
356
347
|
end
|
357
348
|
|
358
349
|
# @see the `==` method
|
@@ -362,7 +353,7 @@ module PureCloud
|
|
362
353
|
|
363
354
|
# Calculate hash code according to all attributes.
|
364
355
|
def hash
|
365
|
-
[id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, audio_muted, video_muted, sharing_screen, peer_count, context
|
356
|
+
[id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, audio_muted, video_muted, sharing_screen, peer_count, context].hash
|
366
357
|
end
|
367
358
|
|
368
359
|
# build the object from hash
|