purecloudplatformclientv2 66.0.0 → 71.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/ActionEntityListing.md +1 -1
- data/docs/AgentActivityEntityListing.md +1 -1
- data/docs/AnalyticsSession.md +1 -0
- data/docs/ArchitectApi.md +21 -17
- data/docs/AttemptLimitsEntityListing.md +1 -1
- data/docs/AuthorizationApi.md +140 -0
- data/docs/AuthzDivisionEntityListing.md +1 -1
- data/docs/BuSearchAgentSchedulesRequest.md +15 -0
- data/docs/CalibrationEntityListing.md +1 -1
- data/docs/CallConversationEntityListing.md +1 -1
- data/docs/CallHistoryConversationEntityListing.md +1 -1
- data/docs/CallMediaParticipant.md +2 -0
- data/docs/CallableTimeSetEntityListing.md +1 -1
- data/docs/CallbackConversationEntityListing.md +1 -1
- data/docs/CallbackMediaParticipant.md +2 -0
- data/docs/CampaignDivisionViewListing.md +1 -1
- data/docs/CampaignEntityListing.md +1 -1
- data/docs/CampaignRuleEntityListing.md +1 -1
- data/docs/CampaignSequenceEntityListing.md +1 -1
- data/docs/CertificateAuthorityEntityListing.md +1 -1
- data/docs/ChatConversationEntityListing.md +1 -1
- data/docs/ChatMediaParticipant.md +2 -0
- data/docs/ClientAppEntityListing.md +1 -1
- data/docs/CobrowseConversationEntityListing.md +1 -1
- data/docs/CobrowseMediaParticipant.md +2 -0
- data/docs/CommandStatusEntityListing.md +1 -1
- data/docs/ConsumedResourcesEntityListing.md +1 -1
- data/docs/ConsumingResourcesEntityListing.md +1 -1
- data/docs/ContactCenterSettings.md +13 -0
- data/docs/ContactListDivisionViewListing.md +1 -1
- data/docs/ContactListEntityListing.md +1 -1
- data/docs/ContactListFilterEntityListing.md +1 -1
- data/docs/ContactListing.md +1 -1
- data/docs/ConversationAggregationQuery.md +1 -0
- data/docs/ConversationCallEventTopicCallConversation.md +1 -0
- data/docs/ConversationCallEventTopicCallMediaParticipant.md +2 -0
- data/docs/ConversationCallbackEventTopicCallbackMediaParticipant.md +2 -0
- data/docs/ConversationChatEventTopicChatMediaParticipant.md +2 -0
- data/docs/ConversationCobrowseEventTopicCobrowseMediaParticipant.md +2 -0
- data/docs/ConversationDeletionProtectionQuery.md +13 -0
- data/docs/ConversationEmailEventTopicEmailMediaParticipant.md +2 -0
- data/docs/ConversationEntityListing.md +1 -1
- data/docs/ConversationEventTopicParticipant.md +2 -0
- data/docs/ConversationMessageEventTopicMessageMediaParticipant.md +2 -0
- data/docs/ConversationScreenShareEventTopicScreenShareMediaParticipant.md +2 -0
- data/docs/ConversationSocialExpressionEventTopicSocialMediaParticipant.md +2 -0
- data/docs/ConversationVideoEventTopicVideoMediaParticipant.md +2 -0
- data/docs/ConversationsApi.md +198 -0
- data/docs/CreateManagementUnitApiRequest.md +1 -1
- data/docs/{CreateManagementUnitSettings.md → CreateManagementUnitSettingsRequest.md} +3 -3
- data/docs/CreateWorkPlan.md +1 -0
- data/docs/CreateWorkPlanShift.md +1 -0
- data/docs/CredentialInfoListing.md +1 -1
- data/docs/CredentialTypeListing.md +1 -1
- data/docs/DIDEntityListing.md +1 -1
- data/docs/DIDPoolEntityListing.md +1 -1
- data/docs/DataTableRowEntityListing.md +1 -1
- data/docs/DataTablesDomainEntityListing.md +1 -1
- data/docs/DependencyObjectEntityListing.md +1 -1
- data/docs/DependencyTypeEntityListing.md +1 -1
- data/docs/DialerEventEntityListing.md +1 -1
- data/docs/DialerResponsesetConfigChangeResponseSet.md +1 -0
- data/docs/DialogflowAgentSummaryEntityListing.md +1 -1
- data/docs/DirectoryUserDevicesListing.md +1 -1
- data/docs/DncListDivisionViewListing.md +1 -1
- data/docs/DncListEntityListing.md +1 -1
- data/docs/DocumentAuditEntityListing.md +1 -1
- data/docs/DocumentEntityListing.md +1 -1
- data/docs/DomainEdgeSoftwareVersionDto.md +1 -1
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
- data/docs/DomainEntityListing.md +1 -1
- data/docs/DomainEntityListingEvaluationForm.md +1 -1
- data/docs/DomainEntityListingQueryResult.md +1 -1
- data/docs/DomainEntityListingSurveyForm.md +1 -1
- data/docs/DomainLogicalInterface.md +4 -0
- data/docs/EdgeEntityListing.md +1 -1
- data/docs/EdgeGroupEntityListing.md +1 -1
- data/docs/EdgeLineEntityListing.md +1 -1
- data/docs/EmailConversationEntityListing.md +1 -1
- data/docs/EmailMediaParticipant.md +2 -0
- data/docs/EmailMessageListing.md +1 -1
- data/docs/EmergencyGroupListing.md +1 -1
- data/docs/EncryptionKeyEntityListing.md +1 -1
- data/docs/EvaluationEntityListing.md +1 -1
- data/docs/EvaluationFormEntityListing.md +1 -1
- data/docs/EvaluatorActivityEntityListing.md +1 -1
- data/docs/ExtensionEntityListing.md +1 -1
- data/docs/ExtensionPoolEntityListing.md +1 -1
- data/docs/ExternalOrganizationListing.md +1 -1
- data/docs/FacebookIntegrationEntityListing.md +1 -1
- data/docs/FaxDocumentEntityListing.md +1 -1
- data/docs/FlowAggregationQuery.md +1 -0
- data/docs/FlowDivisionView.md +2 -0
- data/docs/FlowDivisionViewEntityListing.md +1 -1
- data/docs/FlowEntityListing.md +1 -1
- data/docs/FlowOutcomeListing.md +1 -1
- data/docs/FlowVersionEntityListing.md +1 -1
- data/docs/GDPRRequestEntityListing.md +1 -1
- data/docs/GDPRSubjectEntityListing.md +1 -1
- data/docs/GreetingListing.md +1 -1
- data/docs/GroupEntityListing.md +1 -1
- data/docs/GroupProfileEntityListing.md +1 -1
- data/docs/IVREntityListing.md +1 -1
- data/docs/InboundDomainEntityListing.md +1 -1
- data/docs/InboundRouteEntityListing.md +1 -1
- data/docs/IntegrationEntityListing.md +1 -1
- data/docs/IntegrationEventEntityListing.md +1 -1
- data/docs/IntegrationType.md +1 -0
- data/docs/IntegrationTypeEntityListing.md +1 -1
- data/docs/InteractionStatsAlertContainer.md +1 -1
- data/docs/InteractionStatsRuleContainer.md +1 -1
- data/docs/KeywordSetEntityListing.md +1 -1
- data/docs/LanguageEntityListing.md +1 -1
- data/docs/LexBotAliasEntityListing.md +1 -1
- data/docs/LexBotEntityListing.md +1 -1
- data/docs/LibraryEntityListing.md +1 -1
- data/docs/LineBaseEntityListing.md +1 -1
- data/docs/LineEntityListing.md +1 -1
- data/docs/LineIntegrationEntityListing.md +1 -1
- data/docs/LocationAddressVerificationDetails.md +16 -0
- data/docs/LocationCreateDefinition.md +20 -0
- data/docs/LocationDefinition.md +12 -9
- data/docs/LocationEntityListing.md +1 -1
- data/docs/LocationUpdateDefinition.md +20 -0
- data/docs/LocationsApi.md +6 -6
- data/docs/LogicalInterfaceEntityListing.md +1 -1
- data/docs/ManagementUnit.md +1 -1
- data/docs/ManagementUnitListing.md +1 -1
- data/docs/{UserExternalIdentifier.md → ManagementUnitReference.md} +3 -4
- data/docs/{ManagementUnitSettings.md → ManagementUnitSettingsRequest.md} +3 -3
- data/docs/ManagementUnitSettingsResponse.md +18 -0
- data/docs/MessageConversationEntityListing.md +1 -1
- data/docs/MessageEvaluation.md +16 -0
- data/docs/MessageMediaParticipant.md +2 -0
- data/docs/MessagingIntegrationEntityListing.md +1 -1
- data/docs/MessagingStickerEntityListing.md +1 -1
- data/docs/NoteListing.md +1 -1
- data/docs/NotificationsApi.md +1 -1
- data/docs/OAuthClientEntityListing.md +1 -1
- data/docs/OAuthProviderEntityListing.md +1 -1
- data/docs/OrganizationPresenceEntityListing.md +1 -1
- data/docs/OrganizationRoleEntityListing.md +1 -1
- data/docs/OrphanRecordingListing.md +1 -1
- data/docs/OutboundRouteBaseEntityListing.md +1 -1
- data/docs/OutboundRouteEntityListing.md +1 -1
- data/docs/Participant.md +2 -0
- data/docs/ParticipantBasic.md +2 -0
- data/docs/PermissionCollectionEntityListing.md +1 -1
- data/docs/PhoneBaseEntityListing.md +1 -1
- data/docs/PhoneEntityListing.md +1 -1
- data/docs/PhoneMetaBaseEntityListing.md +1 -1
- data/docs/PhysicalInterfaceEntityListing.md +1 -1
- data/docs/PlanningPeriodSettings.md +14 -0
- data/docs/PolicyEntityListing.md +1 -1
- data/docs/PromptAssetEntityListing.md +1 -1
- data/docs/PromptEntityListing.md +1 -1
- data/docs/QualityApi.md +51 -23
- data/docs/QualityAuditPage.md +1 -1
- data/docs/QueueConversationCallEventTopicCallConversation.md +1 -0
- data/docs/QueueConversationCallEventTopicCallMediaParticipant.md +2 -0
- data/docs/QueueConversationCallbackEventTopicCallbackMediaParticipant.md +2 -0
- data/docs/QueueConversationChatEventTopicChatMediaParticipant.md +2 -0
- data/docs/QueueConversationCobrowseEventTopicCobrowseMediaParticipant.md +2 -0
- data/docs/QueueConversationEmailEventTopicEmailMediaParticipant.md +2 -0
- data/docs/QueueConversationEventTopicParticipant.md +2 -0
- data/docs/QueueConversationMessageEventTopicMessageMediaParticipant.md +2 -0
- data/docs/QueueConversationScreenShareEventTopicScreenShareMediaParticipant.md +2 -0
- data/docs/QueueConversationSocialExpressionEventTopicParticipant.md +2 -0
- data/docs/QueueConversationVideoEventTopicParticipant.md +2 -0
- data/docs/QueueEntityListing.md +1 -1
- data/docs/QueueMemberEntityListing.md +1 -1
- data/docs/QueueUserEventTopicQueueMember.md +4 -4
- data/docs/QueueUserEventTopicUserReference.md +13 -0
- data/docs/RecipientListing.md +1 -1
- data/docs/Recording.md +1 -0
- data/docs/RecordingApi.md +164 -14
- data/docs/RecordingJobEntityListing.md +1 -1
- data/docs/RecordingJobsQuery.md +1 -1
- data/docs/RecordingMetadata.md +1 -0
- data/docs/RelationshipListing.md +1 -1
- data/docs/ReportMetaDataEntityListing.md +1 -1
- data/docs/ReportRunEntryEntityDomainListing.md +1 -1
- data/docs/ReportScheduleEntityListing.md +1 -1
- data/docs/ReportingExportJobListing.md +1 -1
- data/docs/ReportingExportJobRequest.md +2 -0
- data/docs/ReportingExportJobResponse.md +2 -0
- data/docs/ResponseEntityList.md +1 -1
- data/docs/ResponseEntityListing.md +1 -1
- data/docs/ResponseSetEntityListing.md +1 -1
- data/docs/RoleDivisionGrants.md +13 -0
- data/docs/RoleDivisionPair.md +14 -0
- data/docs/RoutingApi.md +250 -2
- data/docs/RuleSetEntityListing.md +1 -1
- data/docs/SCIMApi.md +302 -26
- data/docs/ScheduleEntityListing.md +1 -1
- data/docs/ScheduleGroupEntityListing.md +1 -1
- data/docs/{SchedulingSettings.md → SchedulingSettingsRequest.md} +2 -2
- data/docs/SchedulingSettingsResponse.md +15 -0
- data/docs/SchemaCategoryEntityListing.md +1 -1
- data/docs/SchemaReferenceEntityListing.md +1 -1
- data/docs/ScimConfigResourceType.md +1 -1
- data/docs/ScimConfigResourceTypeSchemaExtension.md +1 -1
- data/docs/ScimError.md +4 -4
- data/docs/ScimServiceProviderConfig.md +7 -7
- data/docs/ScimServiceProviderConfigAuthenticationScheme.md +1 -1
- data/docs/ScimV2CreateUser.md +1 -1
- data/docs/ScimV2Group.md +3 -2
- data/docs/ScimV2User.md +2 -2
- data/docs/ScreenRecordingSessionListing.md +1 -1
- data/docs/ScriptEntityListing.md +1 -1
- data/docs/SearchApi.md +3 -3
- data/docs/SecurityProfileEntityListing.md +1 -1
- data/docs/SelectedColumns.md +14 -0
- data/docs/SendAgentlessOutboundMessageRequest.md +16 -0
- data/docs/SendAgentlessOutboundMessageResponse.md +21 -0
- data/docs/ShareEntityListing.md +1 -1
- data/docs/ShiftTradeSettings.md +1 -0
- data/docs/SiteEntityListing.md +1 -1
- data/docs/SkillEntityListing.md +1 -1
- data/docs/SmsAddressEntityListing.md +1 -1
- data/docs/SmsPhoneNumber.md +1 -0
- data/docs/SmsPhoneNumberEntityListing.md +1 -1
- data/docs/StationEntityListing.md +1 -1
- data/docs/StationsApi.md +1 -2
- data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
- data/docs/SubscriptionOverviewUsage.md +2 -0
- data/docs/SuggestApi.md +2 -2
- data/docs/SurveyAggregationQuery.md +1 -0
- data/docs/SurveyFormEntityListing.md +1 -1
- data/docs/SystemPromptAssetEntityListing.md +1 -1
- data/docs/SystemPromptEntityListing.md +1 -1
- data/docs/TagValueEntityListing.md +1 -1
- data/docs/TextMessageListing.md +1 -1
- data/docs/TimeOffRequestLookup.md +13 -0
- data/docs/TimeZoneEntityListing.md +1 -1
- data/docs/TranscriptionSettings.md +14 -0
- data/docs/TrunkBaseEntityListing.md +1 -1
- data/docs/TrunkEntityListing.md +1 -1
- data/docs/TrunkMetabaseEntityListing.md +1 -1
- data/docs/TrustEntityListing.md +1 -1
- data/docs/TrustUserEntityListing.md +1 -1
- data/docs/TrustorEntityListing.md +1 -1
- data/docs/TtsEngineEntityListing.md +1 -1
- data/docs/TtsVoiceEntityListing.md +1 -1
- data/docs/TwitterIntegrationEntityListing.md +1 -1
- data/docs/UpdateManagementUnitRequest.md +1 -1
- data/docs/UserActionCategoryEntityListing.md +1 -1
- data/docs/UserAggregationQuery.md +1 -0
- data/docs/UserDetailsQuery.md +1 -1
- data/docs/UserEntityListing.md +1 -1
- data/docs/UserLanguageEntityListing.md +1 -1
- data/docs/UserProfileEntityListing.md +1 -1
- data/docs/UserQueueEntityListing.md +1 -1
- data/docs/UserRecordingEntityListing.md +1 -1
- data/docs/UserSkillEntityListing.md +1 -1
- data/docs/UsersApi.md +101 -306
- data/docs/ValueWrapperPlanningPeriodSettings.md +13 -0
- data/docs/VoicemailMessageEntityListing.md +1 -1
- data/docs/WebChatMemberInfoEntityList.md +1 -1
- data/docs/WfmForecastModificationIntervalOffsetValue.md +1 -1
- data/docs/WhatsAppIntegrationEntityListing.md +1 -1
- data/docs/WhatsAppIntegrationRequest.md +17 -0
- data/docs/WorkPlan.md +1 -0
- data/docs/WorkPlanListItemResponse.md +1 -0
- data/docs/WorkPlanReference.md +3 -1
- data/docs/WorkPlanShift.md +1 -0
- data/docs/WorkforceManagementApi.md +80 -9
- data/docs/WorkspaceEntityListing.md +1 -1
- data/docs/WorkspaceMemberEntityListing.md +1 -1
- data/docs/WrapupCodeEntityListing.md +1 -1
- data/lib/purecloudplatformclientv2.rb +23 -5
- data/lib/purecloudplatformclientv2/api/architect_api.rb +24 -6
- data/lib/purecloudplatformclientv2/api/authorization_api.rb +157 -0
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +195 -0
- data/lib/purecloudplatformclientv2/api/notifications_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/quality_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/recording_api.rb +138 -2
- data/lib/purecloudplatformclientv2/api/routing_api.rb +239 -9
- data/lib/purecloudplatformclientv2/api/scim_api.rb +364 -20
- data/lib/purecloudplatformclientv2/api/users_api.rb +127 -353
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +81 -8
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/analytics_flow.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_session.rb +30 -4
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/bu_search_agent_schedules_request.rb +266 -0
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/call_media_participant.rb +53 -1
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/callback_media_participant.rb +53 -1
- data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/chat_media_participant.rb +53 -1
- data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/cobrowse_media_participant.rb +53 -1
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_center_settings.rb +202 -0
- data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_aggregation_query.rb +44 -4
- data/lib/purecloudplatformclientv2/models/conversation_aggregation_view.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_call_event_topic_call_conversation.rb +29 -4
- data/lib/purecloudplatformclientv2/models/conversation_call_event_topic_call_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_callback_event_topic_callback_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_chat_event_topic_chat_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_cobrowse_event_topic_cobrowse_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_deletion_protection_query.rb +209 -0
- data/lib/purecloudplatformclientv2/models/conversation_email_event_topic_email_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_message_event_topic_message_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_screen_share_event_topic_screen_share_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_social_expression_event_topic_social_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_video_event_topic_video_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/create_management_unit_api_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/{create_management_unit_settings.rb → create_management_unit_settings_request.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/create_work_plan.rb +27 -1
- data/lib/purecloudplatformclientv2/models/create_work_plan_shift.rb +27 -1
- data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
- data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dialer_responseset_config_change_response_set.rb +26 -1
- data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_logical_interface.rb +105 -1
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/email_media_participant.rb +53 -1
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluation_aggregation_query.rb +2 -2
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/event_log.rb +2 -2
- data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow_aggregation_query.rb +44 -4
- data/lib/purecloudplatformclientv2/models/flow_division_view.rb +55 -3
- data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_type.rb +29 -1
- data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/location_address_verification_details.rb +294 -0
- data/lib/purecloudplatformclientv2/models/location_create_definition.rb +405 -0
- data/lib/purecloudplatformclientv2/models/location_definition.rb +110 -34
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{location_create_update_definition.rb → location_update_definition.rb} +48 -63
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/management_unit.rb +1 -1
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{user_external_identifier.rb → management_unit_reference.rb} +10 -46
- data/lib/purecloudplatformclientv2/models/{management_unit_settings.rb → management_unit_settings_request.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/management_unit_settings_response.rb +337 -0
- data/lib/purecloudplatformclientv2/models/manager.rb +1 -1
- data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/message_evaluation.rb +277 -0
- data/lib/purecloudplatformclientv2/models/message_media_participant.rb +53 -1
- data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/participant.rb +56 -4
- data/lib/purecloudplatformclientv2/models/participant_basic.rb +56 -4
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/photo.rb +1 -1
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/planning_period_settings.rb +238 -0
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
- data/lib/purecloudplatformclientv2/models/queue_conversation_call_event_topic_call_conversation.rb +29 -4
- data/lib/purecloudplatformclientv2/models/queue_conversation_call_event_topic_call_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_callback_event_topic_callback_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_chat_event_topic_chat_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_cobrowse_event_topic_cobrowse_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_email_event_topic_email_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_message_event_topic_message_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_screen_share_event_topic_screen_share_media_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_participant.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/queue_user_event_topic_queue_member.rb +31 -31
- data/lib/purecloudplatformclientv2/models/queue_user_event_topic_user_reference.rb +201 -0
- data/lib/purecloudplatformclientv2/models/recipient_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/recording.rb +27 -1
- data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/recording_jobs_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/recording_metadata.rb +27 -1
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/reporting_data_export_topic_data_export_notification.rb +2 -2
- data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +58 -4
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +55 -1
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/role_division_grants.rb +209 -0
- data/lib/purecloudplatformclientv2/models/role_division_pair.rb +238 -0
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{scheduling_settings.rb → scheduling_settings_request.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/scheduling_settings_response.rb +255 -0
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/scim_config_resource_type.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_config_resource_type_schema_extension.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_config_resource_types_list_response.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_email.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_error.rb +5 -5
- data/lib/purecloudplatformclientv2/models/scim_group_list_response.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_metadata.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_phone_number.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config.rb +8 -8
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_authentication_scheme.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_bulk_feature.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_filter_feature.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_simple_feature.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_user_list_response.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +2 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_group.rb +34 -3
- data/lib/purecloudplatformclientv2/models/scim_v2_group_reference.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_member_reference.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_patch_operation.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_patch_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +3 -2
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/selected_columns.rb +228 -0
- data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_request.rb +314 -0
- data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_response.rb +424 -0
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/shift_trade_settings.rb +27 -1
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/sms_phone_number.rb +29 -1
- data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/subscription_overview_usage.rb +56 -4
- data/lib/purecloudplatformclientv2/models/survey_aggregation_query.rb +44 -4
- data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/text_message_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/time_off_request_lookup.rb +357 -1
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/transcription_settings.rb +252 -0
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trustee_billing_overview.rb +2 -2
- data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/update_management_unit_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_aggregation_query.rb +44 -4
- data/lib/purecloudplatformclientv2/models/user_details_query.rb +32 -31
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/value_wrapper_planning_period_settings.rb +203 -0
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +12 -12
- data/lib/purecloudplatformclientv2/models/wfm_forecast_modification_interval_offset_value.rb +1 -1
- data/lib/purecloudplatformclientv2/models/wfm_move_agents_complete_topic_wfm_move_agent_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/whats_app_integration_request.rb +321 -0
- data/lib/purecloudplatformclientv2/models/work_plan.rb +27 -1
- data/lib/purecloudplatformclientv2/models/work_plan_list_item_response.rb +27 -1
- data/lib/purecloudplatformclientv2/models/work_plan_reference.rb +57 -9
- data/lib/purecloudplatformclientv2/models/work_plan_shift.rb +27 -1
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +48 -12
- data/docs/LocationCreateUpdateDefinition.md +0 -21
@@ -2188,6 +2188,163 @@ module PureCloud
|
|
2188
2188
|
return data, status_code, headers
|
2189
2189
|
end
|
2190
2190
|
|
2191
|
+
# Bulk-grant roles and divisions to a subject.
|
2192
|
+
#
|
2193
|
+
# @param subject_id Subject ID (user or group)
|
2194
|
+
# @param body Pairs of role and division IDs
|
2195
|
+
# @param [Hash] opts the optional parameters
|
2196
|
+
# @option opts [String] :subject_type what the type of the subject is (PC_GROUP, PC_USER or PC_OAUTH_CLIENT) (default to PC_USER)
|
2197
|
+
# @return [nil]
|
2198
|
+
def post_authorization_subject_bulkadd(subject_id, body, opts = {})
|
2199
|
+
post_authorization_subject_bulkadd_with_http_info(subject_id, body, opts)
|
2200
|
+
return nil
|
2201
|
+
end
|
2202
|
+
|
2203
|
+
# Bulk-grant roles and divisions to a subject.
|
2204
|
+
#
|
2205
|
+
# @param subject_id Subject ID (user or group)
|
2206
|
+
# @param body Pairs of role and division IDs
|
2207
|
+
# @param [Hash] opts the optional parameters
|
2208
|
+
# @option opts [String] :subject_type what the type of the subject is (PC_GROUP, PC_USER or PC_OAUTH_CLIENT)
|
2209
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2210
|
+
def post_authorization_subject_bulkadd_with_http_info(subject_id, body, opts = {})
|
2211
|
+
if @api_client.config.debugging
|
2212
|
+
@api_client.config.logger.debug "Calling API: AuthorizationApi.post_authorization_subject_bulkadd ..."
|
2213
|
+
end
|
2214
|
+
|
2215
|
+
|
2216
|
+
# verify the required parameter 'subject_id' is set
|
2217
|
+
fail ArgumentError, "Missing the required parameter 'subject_id' when calling AuthorizationApi.post_authorization_subject_bulkadd" if subject_id.nil?
|
2218
|
+
|
2219
|
+
|
2220
|
+
|
2221
|
+
|
2222
|
+
|
2223
|
+
|
2224
|
+
# verify the required parameter 'body' is set
|
2225
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AuthorizationApi.post_authorization_subject_bulkadd" if body.nil?
|
2226
|
+
|
2227
|
+
|
2228
|
+
|
2229
|
+
|
2230
|
+
|
2231
|
+
|
2232
|
+
|
2233
|
+
|
2234
|
+
|
2235
|
+
|
2236
|
+
|
2237
|
+
# resource path
|
2238
|
+
local_var_path = "/api/v2/authorization/subjects/{subjectId}/bulkadd".sub('{format}','json').sub('{' + 'subjectId' + '}', subject_id.to_s)
|
2239
|
+
|
2240
|
+
# query parameters
|
2241
|
+
query_params = {}
|
2242
|
+
query_params[:'subjectType'] = opts[:'subject_type'] if opts[:'subject_type']
|
2243
|
+
|
2244
|
+
# header parameters
|
2245
|
+
header_params = {}
|
2246
|
+
|
2247
|
+
# HTTP header 'Accept' (if needed)
|
2248
|
+
local_header_accept = ['application/json']
|
2249
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2250
|
+
|
2251
|
+
# HTTP header 'Content-Type'
|
2252
|
+
local_header_content_type = ['application/json']
|
2253
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2254
|
+
|
2255
|
+
# form parameters
|
2256
|
+
form_params = {}
|
2257
|
+
|
2258
|
+
# http body (model)
|
2259
|
+
post_body = @api_client.object_to_http_body(body)
|
2260
|
+
|
2261
|
+
auth_names = ['PureCloud OAuth']
|
2262
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
2263
|
+
:header_params => header_params,
|
2264
|
+
:query_params => query_params,
|
2265
|
+
:form_params => form_params,
|
2266
|
+
:body => post_body,
|
2267
|
+
:auth_names => auth_names)
|
2268
|
+
if @api_client.config.debugging
|
2269
|
+
@api_client.config.logger.debug "API called: AuthorizationApi#post_authorization_subject_bulkadd\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2270
|
+
end
|
2271
|
+
return data, status_code, headers
|
2272
|
+
end
|
2273
|
+
|
2274
|
+
# Bulk-remove grants from a subject.
|
2275
|
+
#
|
2276
|
+
# @param subject_id Subject ID (user or group)
|
2277
|
+
# @param body Pairs of role and division IDs
|
2278
|
+
# @param [Hash] opts the optional parameters
|
2279
|
+
# @return [nil]
|
2280
|
+
def post_authorization_subject_bulkremove(subject_id, body, opts = {})
|
2281
|
+
post_authorization_subject_bulkremove_with_http_info(subject_id, body, opts)
|
2282
|
+
return nil
|
2283
|
+
end
|
2284
|
+
|
2285
|
+
# Bulk-remove grants from a subject.
|
2286
|
+
#
|
2287
|
+
# @param subject_id Subject ID (user or group)
|
2288
|
+
# @param body Pairs of role and division IDs
|
2289
|
+
# @param [Hash] opts the optional parameters
|
2290
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2291
|
+
def post_authorization_subject_bulkremove_with_http_info(subject_id, body, opts = {})
|
2292
|
+
if @api_client.config.debugging
|
2293
|
+
@api_client.config.logger.debug "Calling API: AuthorizationApi.post_authorization_subject_bulkremove ..."
|
2294
|
+
end
|
2295
|
+
|
2296
|
+
|
2297
|
+
# verify the required parameter 'subject_id' is set
|
2298
|
+
fail ArgumentError, "Missing the required parameter 'subject_id' when calling AuthorizationApi.post_authorization_subject_bulkremove" if subject_id.nil?
|
2299
|
+
|
2300
|
+
|
2301
|
+
|
2302
|
+
|
2303
|
+
|
2304
|
+
|
2305
|
+
# verify the required parameter 'body' is set
|
2306
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AuthorizationApi.post_authorization_subject_bulkremove" if body.nil?
|
2307
|
+
|
2308
|
+
|
2309
|
+
|
2310
|
+
|
2311
|
+
|
2312
|
+
# resource path
|
2313
|
+
local_var_path = "/api/v2/authorization/subjects/{subjectId}/bulkremove".sub('{format}','json').sub('{' + 'subjectId' + '}', subject_id.to_s)
|
2314
|
+
|
2315
|
+
# query parameters
|
2316
|
+
query_params = {}
|
2317
|
+
|
2318
|
+
# header parameters
|
2319
|
+
header_params = {}
|
2320
|
+
|
2321
|
+
# HTTP header 'Accept' (if needed)
|
2322
|
+
local_header_accept = ['application/json']
|
2323
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2324
|
+
|
2325
|
+
# HTTP header 'Content-Type'
|
2326
|
+
local_header_content_type = ['application/json']
|
2327
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2328
|
+
|
2329
|
+
# form parameters
|
2330
|
+
form_params = {}
|
2331
|
+
|
2332
|
+
# http body (model)
|
2333
|
+
post_body = @api_client.object_to_http_body(body)
|
2334
|
+
|
2335
|
+
auth_names = ['PureCloud OAuth']
|
2336
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
2337
|
+
:header_params => header_params,
|
2338
|
+
:query_params => query_params,
|
2339
|
+
:form_params => form_params,
|
2340
|
+
:body => post_body,
|
2341
|
+
:auth_names => auth_names)
|
2342
|
+
if @api_client.config.debugging
|
2343
|
+
@api_client.config.logger.debug "API called: AuthorizationApi#post_authorization_subject_bulkremove\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2344
|
+
end
|
2345
|
+
return data, status_code, headers
|
2346
|
+
end
|
2347
|
+
|
2191
2348
|
# Make a grant of a role in a division
|
2192
2349
|
#
|
2193
2350
|
# @param subject_id Subject ID (user or group)
|
@@ -586,6 +586,71 @@ module PureCloud
|
|
586
586
|
return data, status_code, headers
|
587
587
|
end
|
588
588
|
|
589
|
+
# Delete a WhatsApp messaging integration
|
590
|
+
#
|
591
|
+
# @param integration_id Integration ID
|
592
|
+
# @param [Hash] opts the optional parameters
|
593
|
+
# @return [WhatsAppIntegration]
|
594
|
+
def delete_conversations_messaging_integrations_whatsapp_integration_id(integration_id, opts = {})
|
595
|
+
data, _status_code, _headers = delete_conversations_messaging_integrations_whatsapp_integration_id_with_http_info(integration_id, opts)
|
596
|
+
return data
|
597
|
+
end
|
598
|
+
|
599
|
+
# Delete a WhatsApp messaging integration
|
600
|
+
#
|
601
|
+
# @param integration_id Integration ID
|
602
|
+
# @param [Hash] opts the optional parameters
|
603
|
+
# @return [Array<(WhatsAppIntegration, Fixnum, Hash)>] WhatsAppIntegration data, response status code and response headers
|
604
|
+
def delete_conversations_messaging_integrations_whatsapp_integration_id_with_http_info(integration_id, opts = {})
|
605
|
+
if @api_client.config.debugging
|
606
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.delete_conversations_messaging_integrations_whatsapp_integration_id ..."
|
607
|
+
end
|
608
|
+
|
609
|
+
|
610
|
+
# verify the required parameter 'integration_id' is set
|
611
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling ConversationsApi.delete_conversations_messaging_integrations_whatsapp_integration_id" if integration_id.nil?
|
612
|
+
|
613
|
+
|
614
|
+
|
615
|
+
|
616
|
+
|
617
|
+
# resource path
|
618
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/whatsapp/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
619
|
+
|
620
|
+
# query parameters
|
621
|
+
query_params = {}
|
622
|
+
|
623
|
+
# header parameters
|
624
|
+
header_params = {}
|
625
|
+
|
626
|
+
# HTTP header 'Accept' (if needed)
|
627
|
+
local_header_accept = ['application/json']
|
628
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
629
|
+
|
630
|
+
# HTTP header 'Content-Type'
|
631
|
+
local_header_content_type = ['application/json']
|
632
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
633
|
+
|
634
|
+
# form parameters
|
635
|
+
form_params = {}
|
636
|
+
|
637
|
+
# http body (model)
|
638
|
+
post_body = nil
|
639
|
+
|
640
|
+
auth_names = ['PureCloud OAuth']
|
641
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
642
|
+
:header_params => header_params,
|
643
|
+
:query_params => query_params,
|
644
|
+
:form_params => form_params,
|
645
|
+
:body => post_body,
|
646
|
+
:auth_names => auth_names,
|
647
|
+
:return_type => 'WhatsAppIntegration')
|
648
|
+
if @api_client.config.debugging
|
649
|
+
@api_client.config.logger.debug "API called: ConversationsApi#delete_conversations_messaging_integrations_whatsapp_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
650
|
+
end
|
651
|
+
return data, status_code, headers
|
652
|
+
end
|
653
|
+
|
589
654
|
# Get a conversation by id
|
590
655
|
#
|
591
656
|
# @param conversation_id conversationId
|
@@ -9133,6 +9198,71 @@ module PureCloud
|
|
9133
9198
|
return data, status_code, headers
|
9134
9199
|
end
|
9135
9200
|
|
9201
|
+
# Send an agentless outbound message
|
9202
|
+
# Send an agentlesss (api participant) outbound message using a client credential grant. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. This will generate a new Conversation, if there is an existing active Conversation between the fromAddress and toAddress already, then this POST will fail.
|
9203
|
+
# @param body Create agentless outbound messaging request
|
9204
|
+
# @param [Hash] opts the optional parameters
|
9205
|
+
# @return [SendAgentlessOutboundMessageResponse]
|
9206
|
+
def post_conversations_messages_agentless(body, opts = {})
|
9207
|
+
data, _status_code, _headers = post_conversations_messages_agentless_with_http_info(body, opts)
|
9208
|
+
return data
|
9209
|
+
end
|
9210
|
+
|
9211
|
+
# Send an agentless outbound message
|
9212
|
+
# Send an agentlesss (api participant) outbound message using a client credential grant. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. This will generate a new Conversation, if there is an existing active Conversation between the fromAddress and toAddress already, then this POST will fail.
|
9213
|
+
# @param body Create agentless outbound messaging request
|
9214
|
+
# @param [Hash] opts the optional parameters
|
9215
|
+
# @return [Array<(SendAgentlessOutboundMessageResponse, Fixnum, Hash)>] SendAgentlessOutboundMessageResponse data, response status code and response headers
|
9216
|
+
def post_conversations_messages_agentless_with_http_info(body, opts = {})
|
9217
|
+
if @api_client.config.debugging
|
9218
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_messages_agentless ..."
|
9219
|
+
end
|
9220
|
+
|
9221
|
+
|
9222
|
+
# verify the required parameter 'body' is set
|
9223
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_messages_agentless" if body.nil?
|
9224
|
+
|
9225
|
+
|
9226
|
+
|
9227
|
+
|
9228
|
+
|
9229
|
+
# resource path
|
9230
|
+
local_var_path = "/api/v2/conversations/messages/agentless".sub('{format}','json')
|
9231
|
+
|
9232
|
+
# query parameters
|
9233
|
+
query_params = {}
|
9234
|
+
|
9235
|
+
# header parameters
|
9236
|
+
header_params = {}
|
9237
|
+
|
9238
|
+
# HTTP header 'Accept' (if needed)
|
9239
|
+
local_header_accept = ['application/json']
|
9240
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
9241
|
+
|
9242
|
+
# HTTP header 'Content-Type'
|
9243
|
+
local_header_content_type = ['application/json']
|
9244
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
9245
|
+
|
9246
|
+
# form parameters
|
9247
|
+
form_params = {}
|
9248
|
+
|
9249
|
+
# http body (model)
|
9250
|
+
post_body = @api_client.object_to_http_body(body)
|
9251
|
+
|
9252
|
+
auth_names = ['PureCloud OAuth']
|
9253
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
9254
|
+
:header_params => header_params,
|
9255
|
+
:query_params => query_params,
|
9256
|
+
:form_params => form_params,
|
9257
|
+
:body => post_body,
|
9258
|
+
:auth_names => auth_names,
|
9259
|
+
:return_type => 'SendAgentlessOutboundMessageResponse')
|
9260
|
+
if @api_client.config.debugging
|
9261
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_messages_agentless\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
9262
|
+
end
|
9263
|
+
return data, status_code, headers
|
9264
|
+
end
|
9265
|
+
|
9136
9266
|
# Create a Facebook Integration
|
9137
9267
|
#
|
9138
9268
|
# @param body FacebookIntegrationRequest
|
@@ -9328,6 +9458,71 @@ module PureCloud
|
|
9328
9458
|
return data, status_code, headers
|
9329
9459
|
end
|
9330
9460
|
|
9461
|
+
# Create a WhatsApp Integration
|
9462
|
+
#
|
9463
|
+
# @param body WhatsAppIntegrationRequest
|
9464
|
+
# @param [Hash] opts the optional parameters
|
9465
|
+
# @return [WhatsAppIntegration]
|
9466
|
+
def post_conversations_messaging_integrations_whatsapp(body, opts = {})
|
9467
|
+
data, _status_code, _headers = post_conversations_messaging_integrations_whatsapp_with_http_info(body, opts)
|
9468
|
+
return data
|
9469
|
+
end
|
9470
|
+
|
9471
|
+
# Create a WhatsApp Integration
|
9472
|
+
#
|
9473
|
+
# @param body WhatsAppIntegrationRequest
|
9474
|
+
# @param [Hash] opts the optional parameters
|
9475
|
+
# @return [Array<(WhatsAppIntegration, Fixnum, Hash)>] WhatsAppIntegration data, response status code and response headers
|
9476
|
+
def post_conversations_messaging_integrations_whatsapp_with_http_info(body, opts = {})
|
9477
|
+
if @api_client.config.debugging
|
9478
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_messaging_integrations_whatsapp ..."
|
9479
|
+
end
|
9480
|
+
|
9481
|
+
|
9482
|
+
# verify the required parameter 'body' is set
|
9483
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_messaging_integrations_whatsapp" if body.nil?
|
9484
|
+
|
9485
|
+
|
9486
|
+
|
9487
|
+
|
9488
|
+
|
9489
|
+
# resource path
|
9490
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/whatsapp".sub('{format}','json')
|
9491
|
+
|
9492
|
+
# query parameters
|
9493
|
+
query_params = {}
|
9494
|
+
|
9495
|
+
# header parameters
|
9496
|
+
header_params = {}
|
9497
|
+
|
9498
|
+
# HTTP header 'Accept' (if needed)
|
9499
|
+
local_header_accept = ['application/json']
|
9500
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
9501
|
+
|
9502
|
+
# HTTP header 'Content-Type'
|
9503
|
+
local_header_content_type = ['application/json']
|
9504
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
9505
|
+
|
9506
|
+
# form parameters
|
9507
|
+
form_params = {}
|
9508
|
+
|
9509
|
+
# http body (model)
|
9510
|
+
post_body = @api_client.object_to_http_body(body)
|
9511
|
+
|
9512
|
+
auth_names = ['PureCloud OAuth']
|
9513
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
9514
|
+
:header_params => header_params,
|
9515
|
+
:query_params => query_params,
|
9516
|
+
:form_params => form_params,
|
9517
|
+
:body => post_body,
|
9518
|
+
:auth_names => auth_names,
|
9519
|
+
:return_type => 'WhatsAppIntegration')
|
9520
|
+
if @api_client.config.debugging
|
9521
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_messaging_integrations_whatsapp\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
9522
|
+
end
|
9523
|
+
return data, status_code, headers
|
9524
|
+
end
|
9525
|
+
|
9331
9526
|
# Set flagged reason on conversation participant to indicate bad conversation quality.
|
9332
9527
|
#
|
9333
9528
|
# @param conversation_id conversation ID
|
@@ -361,7 +361,7 @@ module PureCloud
|
|
361
361
|
end
|
362
362
|
|
363
363
|
# Create a new channel
|
364
|
-
# There is a limit of
|
364
|
+
# There is a limit of 20 channels per user/app combination. Creating a 21st channel will remove the channel with oldest last used date.
|
365
365
|
# @param [Hash] opts the optional parameters
|
366
366
|
# @return [Channel]
|
367
367
|
def post_notifications_channels(opts = {})
|
@@ -370,7 +370,7 @@ module PureCloud
|
|
370
370
|
end
|
371
371
|
|
372
372
|
# Create a new channel
|
373
|
-
# There is a limit of
|
373
|
+
# There is a limit of 20 channels per user/app combination. Creating a 21st channel will remove the channel with oldest last used date.
|
374
374
|
# @param [Hash] opts the optional parameters
|
375
375
|
# @return [Array<(Channel, Fixnum, Hash)>] Channel data, response status code and response headers
|
376
376
|
def post_notifications_channels_with_http_info(opts = {})
|
@@ -899,7 +899,7 @@ module PureCloud
|
|
899
899
|
end
|
900
900
|
|
901
901
|
# Get audits for conversation or recording
|
902
|
-
#
|
902
|
+
# Different permissions are required for viewing different resource audit entries. The quality:evaluation:viewAudit permission is required to view evaluation audits, the recording:recording:viewAudit permission is required to view recording audits, and so on.
|
903
903
|
# @param conversation_id Conversation ID
|
904
904
|
# @param [Hash] opts the optional parameters
|
905
905
|
# @option opts [Integer] :page_size The total page size requested (default to 25)
|
@@ -917,7 +917,7 @@ module PureCloud
|
|
917
917
|
end
|
918
918
|
|
919
919
|
# Get audits for conversation or recording
|
920
|
-
#
|
920
|
+
# Different permissions are required for viewing different resource audit entries. The quality:evaluation:viewAudit permission is required to view evaluation audits, the recording:recording:viewAudit permission is required to view recording audits, and so on.
|
921
921
|
# @param conversation_id Conversation ID
|
922
922
|
# @param [Hash] opts the optional parameters
|
923
923
|
# @option opts [Integer] :page_size The total page size requested
|
@@ -4428,7 +4428,7 @@ module PureCloud
|
|
4428
4428
|
end
|
4429
4429
|
|
4430
4430
|
# Update an evaluation
|
4431
|
-
#
|
4431
|
+
# The quality:evaluation:edit permission allows modification of most fields, while the quality:evaluation:editScore permission allows an evaluator to change just the question scores, and the quality:evaluation:editAgentSignoff permission allows an agent to change the agent comments and sign off on the evaluation.
|
4432
4432
|
# @param conversation_id conversationId
|
4433
4433
|
# @param evaluation_id evaluationId
|
4434
4434
|
# @param body evaluation
|
@@ -4441,7 +4441,7 @@ module PureCloud
|
|
4441
4441
|
end
|
4442
4442
|
|
4443
4443
|
# Update an evaluation
|
4444
|
-
#
|
4444
|
+
# The quality:evaluation:edit permission allows modification of most fields, while the quality:evaluation:editScore permission allows an evaluator to change just the question scores, and the quality:evaluation:editAgentSignoff permission allows an agent to change the agent comments and sign off on the evaluation.
|
4445
4445
|
# @param conversation_id conversationId
|
4446
4446
|
# @param evaluation_id evaluationId
|
4447
4447
|
# @param body evaluation
|
@@ -2609,8 +2609,73 @@ module PureCloud
|
|
2609
2609
|
return data, status_code, headers
|
2610
2610
|
end
|
2611
2611
|
|
2612
|
+
# Get a list of conversations with protected recordings
|
2613
|
+
#
|
2614
|
+
# @param body conversationIds
|
2615
|
+
# @param [Hash] opts the optional parameters
|
2616
|
+
# @return [Array<AddressableEntityRef>]
|
2617
|
+
def post_recordings_deletionprotection(body, opts = {})
|
2618
|
+
data, _status_code, _headers = post_recordings_deletionprotection_with_http_info(body, opts)
|
2619
|
+
return data
|
2620
|
+
end
|
2621
|
+
|
2622
|
+
# Get a list of conversations with protected recordings
|
2623
|
+
#
|
2624
|
+
# @param body conversationIds
|
2625
|
+
# @param [Hash] opts the optional parameters
|
2626
|
+
# @return [Array<(Array<AddressableEntityRef>, Fixnum, Hash)>] Array<AddressableEntityRef> data, response status code and response headers
|
2627
|
+
def post_recordings_deletionprotection_with_http_info(body, opts = {})
|
2628
|
+
if @api_client.config.debugging
|
2629
|
+
@api_client.config.logger.debug "Calling API: RecordingApi.post_recordings_deletionprotection ..."
|
2630
|
+
end
|
2631
|
+
|
2632
|
+
|
2633
|
+
# verify the required parameter 'body' is set
|
2634
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling RecordingApi.post_recordings_deletionprotection" if body.nil?
|
2635
|
+
|
2636
|
+
|
2637
|
+
|
2638
|
+
|
2639
|
+
|
2640
|
+
# resource path
|
2641
|
+
local_var_path = "/api/v2/recordings/deletionprotection".sub('{format}','json')
|
2642
|
+
|
2643
|
+
# query parameters
|
2644
|
+
query_params = {}
|
2645
|
+
|
2646
|
+
# header parameters
|
2647
|
+
header_params = {}
|
2648
|
+
|
2649
|
+
# HTTP header 'Accept' (if needed)
|
2650
|
+
local_header_accept = ['application/json']
|
2651
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2652
|
+
|
2653
|
+
# HTTP header 'Content-Type'
|
2654
|
+
local_header_content_type = ['application/json']
|
2655
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2656
|
+
|
2657
|
+
# form parameters
|
2658
|
+
form_params = {}
|
2659
|
+
|
2660
|
+
# http body (model)
|
2661
|
+
post_body = @api_client.object_to_http_body(body)
|
2662
|
+
|
2663
|
+
auth_names = ['PureCloud OAuth']
|
2664
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
2665
|
+
:header_params => header_params,
|
2666
|
+
:query_params => query_params,
|
2667
|
+
:form_params => form_params,
|
2668
|
+
:body => post_body,
|
2669
|
+
:auth_names => auth_names,
|
2670
|
+
:return_type => 'Array<AddressableEntityRef>')
|
2671
|
+
if @api_client.config.debugging
|
2672
|
+
@api_client.config.logger.debug "API called: RecordingApi#post_recordings_deletionprotection\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2673
|
+
end
|
2674
|
+
return data, status_code, headers
|
2675
|
+
end
|
2676
|
+
|
2612
2677
|
# Updates the retention records on a recording.
|
2613
|
-
# Currently supports updating and removing both archive and delete dates for eligible recordings. A request to change the archival date of an archived recording will result in a restoration of the recording until the new date set.
|
2678
|
+
# Currently supports updating and removing both archive and delete dates for eligible recordings. A request to change the archival date of an archived recording will result in a restoration of the recording until the new date set. The recording:recording:view permission is required for the recording, as well as either the recording:recording:editRetention or recording:screenRecording:editRetention permissions depending on the type of recording.
|
2614
2679
|
# @param conversation_id Conversation ID
|
2615
2680
|
# @param recording_id Recording ID
|
2616
2681
|
# @param body recording
|
@@ -2622,7 +2687,7 @@ module PureCloud
|
|
2622
2687
|
end
|
2623
2688
|
|
2624
2689
|
# Updates the retention records on a recording.
|
2625
|
-
# Currently supports updating and removing both archive and delete dates for eligible recordings. A request to change the archival date of an archived recording will result in a restoration of the recording until the new date set.
|
2690
|
+
# Currently supports updating and removing both archive and delete dates for eligible recordings. A request to change the archival date of an archived recording will result in a restoration of the recording until the new date set. The recording:recording:view permission is required for the recording, as well as either the recording:recording:editRetention or recording:screenRecording:editRetention permissions depending on the type of recording.
|
2626
2691
|
# @param conversation_id Conversation ID
|
2627
2692
|
# @param recording_id Recording ID
|
2628
2693
|
# @param body recording
|
@@ -3216,5 +3281,76 @@ module PureCloud
|
|
3216
3281
|
end
|
3217
3282
|
return data, status_code, headers
|
3218
3283
|
end
|
3284
|
+
|
3285
|
+
# Apply or revoke recording protection for conversations
|
3286
|
+
#
|
3287
|
+
# @param [Hash] opts the optional parameters
|
3288
|
+
# @option opts [BOOLEAN] :protect Check for apply, uncheck for revoke (each action requires the respective permission) (default to true)
|
3289
|
+
# @option opts [ConversationDeletionProtectionQuery] :body
|
3290
|
+
# @return [nil]
|
3291
|
+
def put_recordings_deletionprotection(opts = {})
|
3292
|
+
put_recordings_deletionprotection_with_http_info(opts)
|
3293
|
+
return nil
|
3294
|
+
end
|
3295
|
+
|
3296
|
+
# Apply or revoke recording protection for conversations
|
3297
|
+
#
|
3298
|
+
# @param [Hash] opts the optional parameters
|
3299
|
+
# @option opts [BOOLEAN] :protect Check for apply, uncheck for revoke (each action requires the respective permission)
|
3300
|
+
# @option opts [ConversationDeletionProtectionQuery] :body
|
3301
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3302
|
+
def put_recordings_deletionprotection_with_http_info(opts = {})
|
3303
|
+
if @api_client.config.debugging
|
3304
|
+
@api_client.config.logger.debug "Calling API: RecordingApi.put_recordings_deletionprotection ..."
|
3305
|
+
end
|
3306
|
+
|
3307
|
+
|
3308
|
+
|
3309
|
+
|
3310
|
+
|
3311
|
+
|
3312
|
+
|
3313
|
+
|
3314
|
+
|
3315
|
+
|
3316
|
+
|
3317
|
+
|
3318
|
+
|
3319
|
+
# resource path
|
3320
|
+
local_var_path = "/api/v2/recordings/deletionprotection".sub('{format}','json')
|
3321
|
+
|
3322
|
+
# query parameters
|
3323
|
+
query_params = {}
|
3324
|
+
query_params[:'protect'] = opts[:'protect'] if opts[:'protect']
|
3325
|
+
|
3326
|
+
# header parameters
|
3327
|
+
header_params = {}
|
3328
|
+
|
3329
|
+
# HTTP header 'Accept' (if needed)
|
3330
|
+
local_header_accept = ['application/json']
|
3331
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3332
|
+
|
3333
|
+
# HTTP header 'Content-Type'
|
3334
|
+
local_header_content_type = ['application/json']
|
3335
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3336
|
+
|
3337
|
+
# form parameters
|
3338
|
+
form_params = {}
|
3339
|
+
|
3340
|
+
# http body (model)
|
3341
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
3342
|
+
|
3343
|
+
auth_names = ['PureCloud OAuth']
|
3344
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
3345
|
+
:header_params => header_params,
|
3346
|
+
:query_params => query_params,
|
3347
|
+
:form_params => form_params,
|
3348
|
+
:body => post_body,
|
3349
|
+
:auth_names => auth_names)
|
3350
|
+
if @api_client.config.debugging
|
3351
|
+
@api_client.config.logger.debug "API called: RecordingApi#put_recordings_deletionprotection\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3352
|
+
end
|
3353
|
+
return data, status_code, headers
|
3354
|
+
end
|
3219
3355
|
end
|
3220
3356
|
end
|