purecloudplatformclientv2 71.0.0 → 72.0.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/README.md +2 -2
- data/docs/ActionEntityListing.md +3 -3
- data/docs/AgentActivityEntityListing.md +3 -3
- data/docs/AnalyticsApi.md +267 -0
- data/docs/AnalyticsUserDetailsAsyncQueryResponse.md +14 -0
- data/docs/AsyncConversationQuery.md +1 -1
- data/docs/AsyncUserDetailsQuery.md +18 -0
- data/docs/AttemptLimitsEntityListing.md +3 -3
- data/docs/AuditApi.md +216 -0
- data/docs/AuditLogMessage.md +24 -0
- data/docs/AuditQueryExecutionResultsResponse.md +16 -0
- data/docs/AuditQueryExecutionStatusResponse.md +18 -0
- data/docs/AuditQueryFilter.md +14 -0
- data/docs/AuditQueryRequest.md +15 -0
- data/docs/AuthzDivisionEntityListing.md +3 -3
- data/docs/CalibrationEntityListing.md +3 -3
- data/docs/CallConversationEntityListing.md +3 -3
- data/docs/CallHistoryConversationEntityListing.md +3 -3
- data/docs/CallableTimeSetEntityListing.md +3 -3
- data/docs/CallbackConversationEntityListing.md +3 -3
- data/docs/CampaignDivisionViewListing.md +3 -3
- data/docs/CampaignEntityListing.md +3 -3
- data/docs/CampaignRuleEntityListing.md +3 -3
- data/docs/CampaignSequenceEntityListing.md +3 -3
- data/docs/CertificateAuthorityEntityListing.md +3 -3
- data/docs/ChatConversationEntityListing.md +3 -3
- data/docs/ClientAppEntityListing.md +3 -3
- data/docs/CobrowseConversationEntityListing.md +3 -3
- data/docs/CommandStatusEntityListing.md +3 -3
- data/docs/ConsumedResourcesEntityListing.md +3 -3
- data/docs/ConsumingResourcesEntityListing.md +3 -3
- data/docs/ContactListDivisionViewListing.md +3 -3
- data/docs/ContactListEntityListing.md +3 -3
- data/docs/ContactListFilterEntityListing.md +3 -3
- data/docs/ContactListing.md +3 -3
- data/docs/ConversationAggregationQuery.md +1 -1
- data/docs/ConversationEntityListing.md +3 -3
- data/docs/ConversationQuery.md +1 -1
- data/docs/CredentialInfoListing.md +3 -3
- data/docs/CredentialTypeListing.md +3 -3
- data/docs/DIDEntityListing.md +3 -3
- data/docs/DIDPoolEntityListing.md +3 -3
- data/docs/DataTableRowEntityListing.md +3 -3
- data/docs/DataTablesDomainEntityListing.md +3 -3
- data/docs/DependencyObjectEntityListing.md +3 -3
- data/docs/DependencyTypeEntityListing.md +3 -3
- data/docs/DialerEventEntityListing.md +3 -3
- data/docs/DialogflowAgentSummaryEntityListing.md +3 -3
- data/docs/DirectoryUserDevicesListing.md +3 -3
- data/docs/DncListDivisionViewListing.md +3 -3
- data/docs/DncListEntityListing.md +3 -3
- data/docs/DocumentAuditEntityListing.md +3 -3
- data/docs/DocumentEntityListing.md +3 -3
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +3 -3
- data/docs/DomainEntityListing.md +3 -3
- data/docs/DomainEntityListingEvaluationForm.md +3 -3
- data/docs/DomainEntityListingQueryResult.md +3 -3
- data/docs/DomainEntityListingSurveyForm.md +3 -3
- data/docs/EdgeEntityListing.md +3 -3
- data/docs/EdgeGroupEntityListing.md +3 -3
- data/docs/EdgeLineEntityListing.md +3 -3
- data/docs/EmailConversationEntityListing.md +3 -3
- data/docs/EmailMessageListing.md +3 -3
- data/docs/EmergencyGroupListing.md +3 -3
- data/docs/EncryptionKeyEntityListing.md +3 -3
- data/docs/EvaluationAggregationQuery.md +1 -1
- data/docs/EvaluationEntityListing.md +3 -3
- data/docs/EvaluationFormEntityListing.md +3 -3
- data/docs/EvaluatorActivityEntityListing.md +3 -3
- data/docs/ExtensionEntityListing.md +3 -3
- data/docs/ExtensionPoolEntityListing.md +3 -3
- data/docs/ExternalOrganizationListing.md +3 -3
- data/docs/FacebookIntegrationEntityListing.md +3 -3
- data/docs/FaxDocumentEntityListing.md +3 -3
- data/docs/FlowAggregationQuery.md +1 -1
- data/docs/FlowDivisionViewEntityListing.md +3 -3
- data/docs/FlowEntityListing.md +3 -3
- data/docs/FlowOutcomeListing.md +3 -3
- data/docs/FlowVersionEntityListing.md +3 -3
- data/docs/GDPRRequestEntityListing.md +3 -3
- data/docs/GDPRSubjectEntityListing.md +3 -3
- data/docs/GreetingListing.md +3 -3
- data/docs/GroupEntityListing.md +3 -3
- data/docs/GroupProfileEntityListing.md +3 -3
- data/docs/IVREntityListing.md +3 -3
- data/docs/InboundDomainEntityListing.md +3 -3
- data/docs/InboundRouteEntityListing.md +3 -3
- data/docs/IntegrationEntityListing.md +3 -3
- data/docs/IntegrationEventEntityListing.md +3 -3
- data/docs/IntegrationTypeEntityListing.md +3 -3
- data/docs/InteractionStatsAlertContainer.md +3 -3
- data/docs/InteractionStatsRuleContainer.md +3 -3
- data/docs/KeywordSetEntityListing.md +3 -3
- data/docs/LanguageEntityListing.md +3 -3
- data/docs/LexBotAliasEntityListing.md +3 -3
- data/docs/LexBotEntityListing.md +3 -3
- data/docs/LibraryEntityListing.md +3 -3
- data/docs/LineBaseEntityListing.md +3 -3
- data/docs/LineEntityListing.md +3 -3
- data/docs/LineIntegrationEntityListing.md +3 -3
- data/docs/LocationEntityListing.md +3 -3
- data/docs/LogicalInterfaceEntityListing.md +3 -3
- data/docs/ManagementUnitListing.md +3 -3
- data/docs/MessageConversationEntityListing.md +3 -3
- data/docs/MessagingIntegrationEntityListing.md +3 -3
- data/docs/MessagingStickerEntityListing.md +3 -3
- data/docs/NoteListing.md +3 -3
- data/docs/OAuthApi.md +261 -0
- data/docs/OAuthAuthorization.md +20 -0
- data/docs/OAuthAuthorizationListing.md +14 -0
- data/docs/OAuthClientEntityListing.md +3 -3
- data/docs/OAuthProviderEntityListing.md +3 -3
- data/docs/OAuthScope.md +15 -0
- data/docs/OAuthScopeListing.md +14 -0
- data/docs/OrganizationPresenceEntityListing.md +3 -3
- data/docs/OrganizationRoleEntityListing.md +3 -3
- data/docs/OrphanRecordingListing.md +3 -3
- data/docs/OutboundRouteBaseEntityListing.md +3 -3
- data/docs/OutboundRouteEntityListing.md +3 -3
- data/docs/PermissionCollectionEntityListing.md +3 -3
- data/docs/PhoneBaseEntityListing.md +3 -3
- data/docs/PhoneEntityListing.md +3 -3
- data/docs/PhoneMetaBaseEntityListing.md +3 -3
- data/docs/PhysicalInterfaceEntityListing.md +3 -3
- data/docs/PolicyEntityListing.md +3 -3
- data/docs/PromptAssetEntityListing.md +3 -3
- data/docs/PromptEntityListing.md +3 -3
- data/docs/PropertyChange.md +15 -0
- data/docs/QualityAuditPage.md +3 -3
- data/docs/QueueEntityListing.md +3 -3
- data/docs/QueueMemberEntityListing.md +3 -3
- data/docs/QueueUserEventTopicQueueMember.md +4 -4
- data/docs/RecipientListing.md +3 -3
- data/docs/RecordingApi.md +0 -134
- data/docs/RecordingJobEntityListing.md +3 -3
- data/docs/RelationshipListing.md +3 -3
- data/docs/ReportMetaDataEntityListing.md +3 -3
- data/docs/ReportRunEntryEntityDomainListing.md +3 -3
- data/docs/ReportSchedule.md +1 -1
- data/docs/ReportScheduleEntityListing.md +3 -3
- data/docs/ReportingExportJobListing.md +3 -3
- data/docs/ReportingExportJobRequest.md +3 -3
- data/docs/ReportingExportJobResponse.md +3 -3
- data/docs/ResponseEntityList.md +3 -3
- data/docs/ResponseEntityListing.md +3 -3
- data/docs/ResponseSetEntityListing.md +3 -3
- data/docs/RuleSetEntityListing.md +3 -3
- data/docs/Schedule.md +2 -2
- data/docs/ScheduleEntityListing.md +3 -3
- data/docs/ScheduleGroupEntityListing.md +3 -3
- data/docs/SchemaCategoryEntityListing.md +3 -3
- data/docs/SchemaReferenceEntityListing.md +3 -3
- data/docs/ScreenRecordingSessionListing.md +3 -3
- data/docs/ScriptEntityListing.md +3 -3
- data/docs/SecurityProfileEntityListing.md +3 -3
- data/docs/SendAgentlessOutboundMessageRequest.md +1 -1
- data/docs/ShareEntityListing.md +3 -3
- data/docs/SiteEntityListing.md +3 -3
- data/docs/SkillEntityListing.md +3 -3
- data/docs/SmsAddressEntityListing.md +3 -3
- data/docs/SmsPhoneNumberEntityListing.md +3 -3
- data/docs/StationEntityListing.md +3 -3
- data/docs/SubjectDivisionGrantsEntityListing.md +3 -3
- data/docs/SurveyAggregationQuery.md +1 -1
- data/docs/SurveyFormEntityListing.md +3 -3
- data/docs/SystemPromptAssetEntityListing.md +3 -3
- data/docs/SystemPromptEntityListing.md +3 -3
- data/docs/TagValueEntityListing.md +3 -3
- data/docs/TextMessageListing.md +3 -3
- data/docs/TimeZoneEntityListing.md +3 -3
- data/docs/TrunkBaseEntityListing.md +3 -3
- data/docs/TrunkEntityListing.md +3 -3
- data/docs/TrunkMetabaseEntityListing.md +3 -3
- data/docs/TrustEntityListing.md +3 -3
- data/docs/TrustUserEntityListing.md +3 -3
- data/docs/TrustorEntityListing.md +3 -3
- data/docs/TtsEngineEntityListing.md +3 -3
- data/docs/TtsVoiceEntityListing.md +3 -3
- data/docs/TwitterIntegrationEntityListing.md +3 -3
- data/docs/UserActionCategoryEntityListing.md +3 -3
- data/docs/UserAggregationQuery.md +1 -1
- data/docs/UserDetailsQuery.md +1 -1
- data/docs/UserEntityListing.md +3 -3
- data/docs/UserLanguageEntityListing.md +3 -3
- data/docs/UserProfileEntityListing.md +3 -3
- data/docs/UserQueueEntityListing.md +3 -3
- data/docs/UserRecordingEntityListing.md +3 -3
- data/docs/UserSkillEntityListing.md +3 -3
- data/docs/UsersApi.md +267 -0
- data/docs/Utilization.md +1 -1
- data/docs/VoicemailMessageEntityListing.md +3 -3
- data/docs/WebChatMemberInfoEntityList.md +3 -3
- data/docs/WfmBuScheduleQueryResultTopicBuScheduleSearchResultNotification.md +15 -0
- data/docs/WfmBuScheduleRunTopicBuScheduleReference.md +14 -0
- data/docs/WfmBuScheduleRunTopicBuScheduleRun.md +18 -0
- data/docs/WfmBuScheduleRunTopicBuSchedulingRunProgressNotification.md +17 -0
- data/docs/WfmBuScheduleRunTopicLocalDate.md +16 -0
- data/docs/{TimeZone.md → WfmBuScheduleRunTopicUserReference.md} +2 -5
- data/docs/WfmBuScheduleSearchResultTopicBuScheduleSearchResultNotification.md +15 -0
- data/docs/WfmBuScheduleTopicBuManagementUnitScheduleSummary.md +17 -0
- data/docs/WfmBuScheduleTopicBuScheduleGenerationResultSummary.md +15 -0
- data/docs/WfmBuScheduleTopicBuScheduleMetadata.md +21 -0
- data/docs/WfmBuScheduleTopicBuScheduleNotification.md +16 -0
- data/docs/WfmBuScheduleTopicBuShortTermForecastReference.md +15 -0
- data/docs/WfmBuScheduleTopicLocalDate.md +16 -0
- data/docs/{QueueUserEventTopicUserReference.md → WfmBuScheduleTopicManagementUnit.md} +2 -2
- data/docs/WfmBuScheduleTopicUserReference.md +13 -0
- data/docs/WfmBuScheduleTopicWfmVersionedEntityMetadata.md +15 -0
- data/docs/WhatsAppIntegrationEntityListing.md +3 -3
- data/docs/WorkspaceEntityListing.md +3 -3
- data/docs/WorkspaceMemberEntityListing.md +3 -3
- data/docs/WrapupCodeEntityListing.md +3 -3
- data/lib/purecloudplatformclientv2.rb +29 -3
- data/lib/purecloudplatformclientv2/api/analytics_api.rb +268 -0
- data/lib/purecloudplatformclientv2/api/audit_api.rb +240 -0
- data/lib/purecloudplatformclientv2/api/o_auth_api.rb +258 -0
- data/lib/purecloudplatformclientv2/api/recording_api.rb +0 -136
- data/lib/purecloudplatformclientv2/api/users_api.rb +268 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/analytics_user_details_async_query_response.rb +229 -0
- data/lib/purecloudplatformclientv2/models/async_conversation_query.rb +5 -0
- data/lib/purecloudplatformclientv2/models/async_query_status.rb +2 -2
- data/lib/purecloudplatformclientv2/models/async_user_details_query.rb +357 -0
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/audit_log_message.rb +536 -0
- data/lib/purecloudplatformclientv2/models/{time_zone.rb → audit_query_execution_results_response.rb} +31 -25
- data/lib/purecloudplatformclientv2/models/audit_query_execution_status_response.rb +362 -0
- data/lib/purecloudplatformclientv2/models/audit_query_filter.rb +252 -0
- data/lib/purecloudplatformclientv2/models/audit_query_request.rb +280 -0
- data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/conversation_aggregation_query.rb +5 -0
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/conversation_query.rb +5 -0
- data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +24 -24
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +24 -24
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +24 -24
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/evaluation_aggregation_query.rb +5 -0
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/flow_aggregation_query.rb +5 -0
- data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +24 -24
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +24 -24
- data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/note_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/o_auth_authorization.rb +381 -0
- data/lib/purecloudplatformclientv2/models/o_auth_authorization_listing.rb +228 -0
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/o_auth_scope.rb +253 -0
- data/lib/purecloudplatformclientv2/models/o_auth_scope_listing.rb +228 -0
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/property_change.rb +258 -0
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +24 -24
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/queue_user_event_topic_queue_member.rb +31 -31
- data/lib/purecloudplatformclientv2/models/recipient_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/report_schedule.rb +5 -0
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +12 -2
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +12 -2
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +24 -24
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/schedule.rb +10 -0
- data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/survey_aggregation_query.rb +5 -0
- data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/text_message_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_aggregation_query.rb +5 -0
- data/lib/purecloudplatformclientv2/models/user_details_query.rb +5 -0
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/utilization.rb +1 -1
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +24 -24
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_query_result_topic_bu_schedule_search_result_notification.rb +251 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_run_topic_bu_schedule_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_run_topic_bu_schedule_run.rb +326 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_run_topic_bu_scheduling_run_progress_notification.rb +315 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_run_topic_local_date.rb +276 -0
- data/lib/purecloudplatformclientv2/models/{conversation_deletion_protection_query.rb → wfm_bu_schedule_run_topic_user_reference.rb} +8 -16
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_search_result_topic_bu_schedule_search_result_notification.rb +251 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_topic_bu_management_unit_schedule_summary.rb +303 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_topic_bu_schedule_generation_result_summary.rb +251 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_topic_bu_schedule_metadata.rb +403 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_topic_bu_schedule_notification.rb +304 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_topic_bu_short_term_forecast_reference.rb +251 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_topic_local_date.rb +276 -0
- data/lib/purecloudplatformclientv2/models/{queue_user_event_topic_user_reference.rb → wfm_bu_schedule_topic_management_unit.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_topic_user_reference.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_topic_wfm_versioned_entity_metadata.rb +251 -0
- data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +60 -8
- data/docs/ConversationDeletionProtectionQuery.md +0 -13
|
@@ -152,6 +152,70 @@ module PureCloud
|
|
|
152
152
|
return data, status_code, headers
|
|
153
153
|
end
|
|
154
154
|
|
|
155
|
+
# Delete/cancel an async request
|
|
156
|
+
#
|
|
157
|
+
# @param job_id jobId
|
|
158
|
+
# @param [Hash] opts the optional parameters
|
|
159
|
+
# @return [nil]
|
|
160
|
+
def delete_analytics_users_details_job(job_id, opts = {})
|
|
161
|
+
delete_analytics_users_details_job_with_http_info(job_id, opts)
|
|
162
|
+
return nil
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# Delete/cancel an async request
|
|
166
|
+
#
|
|
167
|
+
# @param job_id jobId
|
|
168
|
+
# @param [Hash] opts the optional parameters
|
|
169
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
170
|
+
def delete_analytics_users_details_job_with_http_info(job_id, opts = {})
|
|
171
|
+
if @api_client.config.debugging
|
|
172
|
+
@api_client.config.logger.debug "Calling API: AnalyticsApi.delete_analytics_users_details_job ..."
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
# verify the required parameter 'job_id' is set
|
|
177
|
+
fail ArgumentError, "Missing the required parameter 'job_id' when calling AnalyticsApi.delete_analytics_users_details_job" if job_id.nil?
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
# resource path
|
|
184
|
+
local_var_path = "/api/v2/analytics/users/details/jobs/{jobId}".sub('{format}','json').sub('{' + 'jobId' + '}', job_id.to_s)
|
|
185
|
+
|
|
186
|
+
# query parameters
|
|
187
|
+
query_params = {}
|
|
188
|
+
|
|
189
|
+
# header parameters
|
|
190
|
+
header_params = {}
|
|
191
|
+
|
|
192
|
+
# HTTP header 'Accept' (if needed)
|
|
193
|
+
local_header_accept = ['application/json']
|
|
194
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
195
|
+
|
|
196
|
+
# HTTP header 'Content-Type'
|
|
197
|
+
local_header_content_type = ['application/json']
|
|
198
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
199
|
+
|
|
200
|
+
# form parameters
|
|
201
|
+
form_params = {}
|
|
202
|
+
|
|
203
|
+
# http body (model)
|
|
204
|
+
post_body = nil
|
|
205
|
+
|
|
206
|
+
auth_names = ['PureCloud OAuth']
|
|
207
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
208
|
+
:header_params => header_params,
|
|
209
|
+
:query_params => query_params,
|
|
210
|
+
:form_params => form_params,
|
|
211
|
+
:body => post_body,
|
|
212
|
+
:auth_names => auth_names)
|
|
213
|
+
if @api_client.config.debugging
|
|
214
|
+
@api_client.config.logger.debug "API called: AnalyticsApi#delete_analytics_users_details_job\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
215
|
+
end
|
|
216
|
+
return data, status_code, headers
|
|
217
|
+
end
|
|
218
|
+
|
|
155
219
|
# Get a conversation by id
|
|
156
220
|
#
|
|
157
221
|
# @param conversation_id conversationId
|
|
@@ -1102,6 +1166,145 @@ module PureCloud
|
|
|
1102
1166
|
return data, status_code, headers
|
|
1103
1167
|
end
|
|
1104
1168
|
|
|
1169
|
+
# Get status for async query for user details
|
|
1170
|
+
#
|
|
1171
|
+
# @param job_id jobId
|
|
1172
|
+
# @param [Hash] opts the optional parameters
|
|
1173
|
+
# @return [AsyncQueryStatus]
|
|
1174
|
+
def get_analytics_users_details_job(job_id, opts = {})
|
|
1175
|
+
data, _status_code, _headers = get_analytics_users_details_job_with_http_info(job_id, opts)
|
|
1176
|
+
return data
|
|
1177
|
+
end
|
|
1178
|
+
|
|
1179
|
+
# Get status for async query for user details
|
|
1180
|
+
#
|
|
1181
|
+
# @param job_id jobId
|
|
1182
|
+
# @param [Hash] opts the optional parameters
|
|
1183
|
+
# @return [Array<(AsyncQueryStatus, Fixnum, Hash)>] AsyncQueryStatus data, response status code and response headers
|
|
1184
|
+
def get_analytics_users_details_job_with_http_info(job_id, opts = {})
|
|
1185
|
+
if @api_client.config.debugging
|
|
1186
|
+
@api_client.config.logger.debug "Calling API: AnalyticsApi.get_analytics_users_details_job ..."
|
|
1187
|
+
end
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
# verify the required parameter 'job_id' is set
|
|
1191
|
+
fail ArgumentError, "Missing the required parameter 'job_id' when calling AnalyticsApi.get_analytics_users_details_job" if job_id.nil?
|
|
1192
|
+
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
# resource path
|
|
1198
|
+
local_var_path = "/api/v2/analytics/users/details/jobs/{jobId}".sub('{format}','json').sub('{' + 'jobId' + '}', job_id.to_s)
|
|
1199
|
+
|
|
1200
|
+
# query parameters
|
|
1201
|
+
query_params = {}
|
|
1202
|
+
|
|
1203
|
+
# header parameters
|
|
1204
|
+
header_params = {}
|
|
1205
|
+
|
|
1206
|
+
# HTTP header 'Accept' (if needed)
|
|
1207
|
+
local_header_accept = ['application/json']
|
|
1208
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1209
|
+
|
|
1210
|
+
# HTTP header 'Content-Type'
|
|
1211
|
+
local_header_content_type = ['application/json']
|
|
1212
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1213
|
+
|
|
1214
|
+
# form parameters
|
|
1215
|
+
form_params = {}
|
|
1216
|
+
|
|
1217
|
+
# http body (model)
|
|
1218
|
+
post_body = nil
|
|
1219
|
+
|
|
1220
|
+
auth_names = ['PureCloud OAuth']
|
|
1221
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1222
|
+
:header_params => header_params,
|
|
1223
|
+
:query_params => query_params,
|
|
1224
|
+
:form_params => form_params,
|
|
1225
|
+
:body => post_body,
|
|
1226
|
+
:auth_names => auth_names,
|
|
1227
|
+
:return_type => 'AsyncQueryStatus')
|
|
1228
|
+
if @api_client.config.debugging
|
|
1229
|
+
@api_client.config.logger.debug "API called: AnalyticsApi#get_analytics_users_details_job\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1230
|
+
end
|
|
1231
|
+
return data, status_code, headers
|
|
1232
|
+
end
|
|
1233
|
+
|
|
1234
|
+
# Fetch a page of results for an async query
|
|
1235
|
+
#
|
|
1236
|
+
# @param job_id jobId
|
|
1237
|
+
# @param [Hash] opts the optional parameters
|
|
1238
|
+
# @option opts [String] :cursor Indicates where to resume query results (not required for first page)
|
|
1239
|
+
# @return [AnalyticsUserDetailsAsyncQueryResponse]
|
|
1240
|
+
def get_analytics_users_details_job_results(job_id, opts = {})
|
|
1241
|
+
data, _status_code, _headers = get_analytics_users_details_job_results_with_http_info(job_id, opts)
|
|
1242
|
+
return data
|
|
1243
|
+
end
|
|
1244
|
+
|
|
1245
|
+
# Fetch a page of results for an async query
|
|
1246
|
+
#
|
|
1247
|
+
# @param job_id jobId
|
|
1248
|
+
# @param [Hash] opts the optional parameters
|
|
1249
|
+
# @option opts [String] :cursor Indicates where to resume query results (not required for first page)
|
|
1250
|
+
# @return [Array<(AnalyticsUserDetailsAsyncQueryResponse, Fixnum, Hash)>] AnalyticsUserDetailsAsyncQueryResponse data, response status code and response headers
|
|
1251
|
+
def get_analytics_users_details_job_results_with_http_info(job_id, opts = {})
|
|
1252
|
+
if @api_client.config.debugging
|
|
1253
|
+
@api_client.config.logger.debug "Calling API: AnalyticsApi.get_analytics_users_details_job_results ..."
|
|
1254
|
+
end
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
# verify the required parameter 'job_id' is set
|
|
1258
|
+
fail ArgumentError, "Missing the required parameter 'job_id' when calling AnalyticsApi.get_analytics_users_details_job_results" if job_id.nil?
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
|
|
1269
|
+
|
|
1270
|
+
# resource path
|
|
1271
|
+
local_var_path = "/api/v2/analytics/users/details/jobs/{jobId}/results".sub('{format}','json').sub('{' + 'jobId' + '}', job_id.to_s)
|
|
1272
|
+
|
|
1273
|
+
# query parameters
|
|
1274
|
+
query_params = {}
|
|
1275
|
+
query_params[:'cursor'] = opts[:'cursor'] if opts[:'cursor']
|
|
1276
|
+
|
|
1277
|
+
# header parameters
|
|
1278
|
+
header_params = {}
|
|
1279
|
+
|
|
1280
|
+
# HTTP header 'Accept' (if needed)
|
|
1281
|
+
local_header_accept = ['application/json']
|
|
1282
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1283
|
+
|
|
1284
|
+
# HTTP header 'Content-Type'
|
|
1285
|
+
local_header_content_type = ['application/json']
|
|
1286
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1287
|
+
|
|
1288
|
+
# form parameters
|
|
1289
|
+
form_params = {}
|
|
1290
|
+
|
|
1291
|
+
# http body (model)
|
|
1292
|
+
post_body = nil
|
|
1293
|
+
|
|
1294
|
+
auth_names = ['PureCloud OAuth']
|
|
1295
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1296
|
+
:header_params => header_params,
|
|
1297
|
+
:query_params => query_params,
|
|
1298
|
+
:form_params => form_params,
|
|
1299
|
+
:body => post_body,
|
|
1300
|
+
:auth_names => auth_names,
|
|
1301
|
+
:return_type => 'AnalyticsUserDetailsAsyncQueryResponse')
|
|
1302
|
+
if @api_client.config.debugging
|
|
1303
|
+
@api_client.config.logger.debug "API called: AnalyticsApi#get_analytics_users_details_job_results\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1304
|
+
end
|
|
1305
|
+
return data, status_code, headers
|
|
1306
|
+
end
|
|
1307
|
+
|
|
1105
1308
|
# Index conversation properties
|
|
1106
1309
|
#
|
|
1107
1310
|
# @param conversation_id conversationId
|
|
@@ -1957,6 +2160,71 @@ module PureCloud
|
|
|
1957
2160
|
return data, status_code, headers
|
|
1958
2161
|
end
|
|
1959
2162
|
|
|
2163
|
+
# Query for user details asynchronously
|
|
2164
|
+
#
|
|
2165
|
+
# @param body query
|
|
2166
|
+
# @param [Hash] opts the optional parameters
|
|
2167
|
+
# @return [AsyncQueryResponse]
|
|
2168
|
+
def post_analytics_users_details_jobs(body, opts = {})
|
|
2169
|
+
data, _status_code, _headers = post_analytics_users_details_jobs_with_http_info(body, opts)
|
|
2170
|
+
return data
|
|
2171
|
+
end
|
|
2172
|
+
|
|
2173
|
+
# Query for user details asynchronously
|
|
2174
|
+
#
|
|
2175
|
+
# @param body query
|
|
2176
|
+
# @param [Hash] opts the optional parameters
|
|
2177
|
+
# @return [Array<(AsyncQueryResponse, Fixnum, Hash)>] AsyncQueryResponse data, response status code and response headers
|
|
2178
|
+
def post_analytics_users_details_jobs_with_http_info(body, opts = {})
|
|
2179
|
+
if @api_client.config.debugging
|
|
2180
|
+
@api_client.config.logger.debug "Calling API: AnalyticsApi.post_analytics_users_details_jobs ..."
|
|
2181
|
+
end
|
|
2182
|
+
|
|
2183
|
+
|
|
2184
|
+
# verify the required parameter 'body' is set
|
|
2185
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AnalyticsApi.post_analytics_users_details_jobs" if body.nil?
|
|
2186
|
+
|
|
2187
|
+
|
|
2188
|
+
|
|
2189
|
+
|
|
2190
|
+
|
|
2191
|
+
# resource path
|
|
2192
|
+
local_var_path = "/api/v2/analytics/users/details/jobs".sub('{format}','json')
|
|
2193
|
+
|
|
2194
|
+
# query parameters
|
|
2195
|
+
query_params = {}
|
|
2196
|
+
|
|
2197
|
+
# header parameters
|
|
2198
|
+
header_params = {}
|
|
2199
|
+
|
|
2200
|
+
# HTTP header 'Accept' (if needed)
|
|
2201
|
+
local_header_accept = ['application/json']
|
|
2202
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
2203
|
+
|
|
2204
|
+
# HTTP header 'Content-Type'
|
|
2205
|
+
local_header_content_type = ['application/json']
|
|
2206
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
2207
|
+
|
|
2208
|
+
# form parameters
|
|
2209
|
+
form_params = {}
|
|
2210
|
+
|
|
2211
|
+
# http body (model)
|
|
2212
|
+
post_body = @api_client.object_to_http_body(body)
|
|
2213
|
+
|
|
2214
|
+
auth_names = ['PureCloud OAuth']
|
|
2215
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
2216
|
+
:header_params => header_params,
|
|
2217
|
+
:query_params => query_params,
|
|
2218
|
+
:form_params => form_params,
|
|
2219
|
+
:body => post_body,
|
|
2220
|
+
:auth_names => auth_names,
|
|
2221
|
+
:return_type => 'AsyncQueryResponse')
|
|
2222
|
+
if @api_client.config.debugging
|
|
2223
|
+
@api_client.config.logger.debug "API called: AnalyticsApi#post_analytics_users_details_jobs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2224
|
+
end
|
|
2225
|
+
return data, status_code, headers
|
|
2226
|
+
end
|
|
2227
|
+
|
|
1960
2228
|
# Query for user details
|
|
1961
2229
|
#
|
|
1962
2230
|
# @param body query
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
PureCloud Platform API
|
|
3
|
+
|
|
4
|
+
With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v2
|
|
7
|
+
Contact: DeveloperEvangelists@genesys.com
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
License: UNLICENSED
|
|
11
|
+
https://help.mypurecloud.com/articles/terms-and-conditions/
|
|
12
|
+
|
|
13
|
+
Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
|
14
|
+
|
|
15
|
+
=end
|
|
16
|
+
|
|
17
|
+
require "uri"
|
|
18
|
+
|
|
19
|
+
module PureCloud
|
|
20
|
+
class AuditApi
|
|
21
|
+
attr_accessor :api_client
|
|
22
|
+
|
|
23
|
+
def initialize(api_client = ApiClient.default)
|
|
24
|
+
@api_client = api_client
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# Get status of audit query execution
|
|
28
|
+
#
|
|
29
|
+
# @param transaction_id Transaction ID
|
|
30
|
+
# @param [Hash] opts the optional parameters
|
|
31
|
+
# @return [AuditQueryExecutionStatusResponse]
|
|
32
|
+
def get_audits_query_transaction_id(transaction_id, opts = {})
|
|
33
|
+
data, _status_code, _headers = get_audits_query_transaction_id_with_http_info(transaction_id, opts)
|
|
34
|
+
return data
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Get status of audit query execution
|
|
38
|
+
#
|
|
39
|
+
# @param transaction_id Transaction ID
|
|
40
|
+
# @param [Hash] opts the optional parameters
|
|
41
|
+
# @return [Array<(AuditQueryExecutionStatusResponse, Fixnum, Hash)>] AuditQueryExecutionStatusResponse data, response status code and response headers
|
|
42
|
+
def get_audits_query_transaction_id_with_http_info(transaction_id, opts = {})
|
|
43
|
+
if @api_client.config.debugging
|
|
44
|
+
@api_client.config.logger.debug "Calling API: AuditApi.get_audits_query_transaction_id ..."
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
# verify the required parameter 'transaction_id' is set
|
|
49
|
+
fail ArgumentError, "Missing the required parameter 'transaction_id' when calling AuditApi.get_audits_query_transaction_id" if transaction_id.nil?
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
# resource path
|
|
56
|
+
local_var_path = "/api/v2/audits/query/{transactionId}".sub('{format}','json').sub('{' + 'transactionId' + '}', transaction_id.to_s)
|
|
57
|
+
|
|
58
|
+
# query parameters
|
|
59
|
+
query_params = {}
|
|
60
|
+
|
|
61
|
+
# header parameters
|
|
62
|
+
header_params = {}
|
|
63
|
+
|
|
64
|
+
# HTTP header 'Accept' (if needed)
|
|
65
|
+
local_header_accept = ['application/json']
|
|
66
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
67
|
+
|
|
68
|
+
# HTTP header 'Content-Type'
|
|
69
|
+
local_header_content_type = ['application/json']
|
|
70
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
71
|
+
|
|
72
|
+
# form parameters
|
|
73
|
+
form_params = {}
|
|
74
|
+
|
|
75
|
+
# http body (model)
|
|
76
|
+
post_body = nil
|
|
77
|
+
|
|
78
|
+
auth_names = ['PureCloud OAuth']
|
|
79
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
80
|
+
:header_params => header_params,
|
|
81
|
+
:query_params => query_params,
|
|
82
|
+
:form_params => form_params,
|
|
83
|
+
:body => post_body,
|
|
84
|
+
:auth_names => auth_names,
|
|
85
|
+
:return_type => 'AuditQueryExecutionStatusResponse')
|
|
86
|
+
if @api_client.config.debugging
|
|
87
|
+
@api_client.config.logger.debug "API called: AuditApi#get_audits_query_transaction_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
88
|
+
end
|
|
89
|
+
return data, status_code, headers
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Get results of audit query
|
|
93
|
+
#
|
|
94
|
+
# @param transaction_id Transaction ID
|
|
95
|
+
# @param [Hash] opts the optional parameters
|
|
96
|
+
# @option opts [String] :cursor Indicates where to resume query results (not required for first page)
|
|
97
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
|
98
|
+
# @return [AuditQueryExecutionResultsResponse]
|
|
99
|
+
def get_audits_query_transaction_id_results(transaction_id, opts = {})
|
|
100
|
+
data, _status_code, _headers = get_audits_query_transaction_id_results_with_http_info(transaction_id, opts)
|
|
101
|
+
return data
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# Get results of audit query
|
|
105
|
+
#
|
|
106
|
+
# @param transaction_id Transaction ID
|
|
107
|
+
# @param [Hash] opts the optional parameters
|
|
108
|
+
# @option opts [String] :cursor Indicates where to resume query results (not required for first page)
|
|
109
|
+
# @option opts [Integer] :page_size Page size
|
|
110
|
+
# @return [Array<(AuditQueryExecutionResultsResponse, Fixnum, Hash)>] AuditQueryExecutionResultsResponse data, response status code and response headers
|
|
111
|
+
def get_audits_query_transaction_id_results_with_http_info(transaction_id, opts = {})
|
|
112
|
+
if @api_client.config.debugging
|
|
113
|
+
@api_client.config.logger.debug "Calling API: AuditApi.get_audits_query_transaction_id_results ..."
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
# verify the required parameter 'transaction_id' is set
|
|
118
|
+
fail ArgumentError, "Missing the required parameter 'transaction_id' when calling AuditApi.get_audits_query_transaction_id_results" if transaction_id.nil?
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
# resource path
|
|
137
|
+
local_var_path = "/api/v2/audits/query/{transactionId}/results".sub('{format}','json').sub('{' + 'transactionId' + '}', transaction_id.to_s)
|
|
138
|
+
|
|
139
|
+
# query parameters
|
|
140
|
+
query_params = {}
|
|
141
|
+
query_params[:'cursor'] = opts[:'cursor'] if opts[:'cursor']
|
|
142
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
143
|
+
|
|
144
|
+
# header parameters
|
|
145
|
+
header_params = {}
|
|
146
|
+
|
|
147
|
+
# HTTP header 'Accept' (if needed)
|
|
148
|
+
local_header_accept = ['application/json']
|
|
149
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
150
|
+
|
|
151
|
+
# HTTP header 'Content-Type'
|
|
152
|
+
local_header_content_type = ['application/json']
|
|
153
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
154
|
+
|
|
155
|
+
# form parameters
|
|
156
|
+
form_params = {}
|
|
157
|
+
|
|
158
|
+
# http body (model)
|
|
159
|
+
post_body = nil
|
|
160
|
+
|
|
161
|
+
auth_names = ['PureCloud OAuth']
|
|
162
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
163
|
+
:header_params => header_params,
|
|
164
|
+
:query_params => query_params,
|
|
165
|
+
:form_params => form_params,
|
|
166
|
+
:body => post_body,
|
|
167
|
+
:auth_names => auth_names,
|
|
168
|
+
:return_type => 'AuditQueryExecutionResultsResponse')
|
|
169
|
+
if @api_client.config.debugging
|
|
170
|
+
@api_client.config.logger.debug "API called: AuditApi#get_audits_query_transaction_id_results\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
171
|
+
end
|
|
172
|
+
return data, status_code, headers
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# Create audit query execution
|
|
176
|
+
#
|
|
177
|
+
# @param body query
|
|
178
|
+
# @param [Hash] opts the optional parameters
|
|
179
|
+
# @return [AuditQueryExecutionStatusResponse]
|
|
180
|
+
def post_audits_query(body, opts = {})
|
|
181
|
+
data, _status_code, _headers = post_audits_query_with_http_info(body, opts)
|
|
182
|
+
return data
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
# Create audit query execution
|
|
186
|
+
#
|
|
187
|
+
# @param body query
|
|
188
|
+
# @param [Hash] opts the optional parameters
|
|
189
|
+
# @return [Array<(AuditQueryExecutionStatusResponse, Fixnum, Hash)>] AuditQueryExecutionStatusResponse data, response status code and response headers
|
|
190
|
+
def post_audits_query_with_http_info(body, opts = {})
|
|
191
|
+
if @api_client.config.debugging
|
|
192
|
+
@api_client.config.logger.debug "Calling API: AuditApi.post_audits_query ..."
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
# verify the required parameter 'body' is set
|
|
197
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AuditApi.post_audits_query" if body.nil?
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
# resource path
|
|
204
|
+
local_var_path = "/api/v2/audits/query".sub('{format}','json')
|
|
205
|
+
|
|
206
|
+
# query parameters
|
|
207
|
+
query_params = {}
|
|
208
|
+
|
|
209
|
+
# header parameters
|
|
210
|
+
header_params = {}
|
|
211
|
+
|
|
212
|
+
# HTTP header 'Accept' (if needed)
|
|
213
|
+
local_header_accept = ['application/json']
|
|
214
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
215
|
+
|
|
216
|
+
# HTTP header 'Content-Type'
|
|
217
|
+
local_header_content_type = ['application/json']
|
|
218
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
219
|
+
|
|
220
|
+
# form parameters
|
|
221
|
+
form_params = {}
|
|
222
|
+
|
|
223
|
+
# http body (model)
|
|
224
|
+
post_body = @api_client.object_to_http_body(body)
|
|
225
|
+
|
|
226
|
+
auth_names = ['PureCloud OAuth']
|
|
227
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
228
|
+
:header_params => header_params,
|
|
229
|
+
:query_params => query_params,
|
|
230
|
+
:form_params => form_params,
|
|
231
|
+
:body => post_body,
|
|
232
|
+
:auth_names => auth_names,
|
|
233
|
+
:return_type => 'AuditQueryExecutionStatusResponse')
|
|
234
|
+
if @api_client.config.debugging
|
|
235
|
+
@api_client.config.logger.debug "API called: AuditApi#post_audits_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
236
|
+
end
|
|
237
|
+
return data, status_code, headers
|
|
238
|
+
end
|
|
239
|
+
end
|
|
240
|
+
end
|