purecloudplatformclientv2 91.0.0 → 96.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/AfterCallWork.md +15 -0
- data/docs/AmazonLexRequest.md +14 -0
- data/docs/AnalyticsApi.md +67 -1
- data/docs/AnalyticsProposedAgent.md +14 -0
- data/docs/AnalyticsSession.md +6 -0
- data/docs/ArchitectApi.md +51 -49
- data/docs/ArrayNode.md +4 -4
- data/docs/AuditApi.md +130 -0
- data/docs/AuditRealtimeQueryRequest.md +18 -0
- data/docs/AuditRealtimeQueryResultsResponse.md +17 -0
- data/docs/AvailableTopic.md +1 -0
- data/docs/Biography.md +1 -0
- data/docs/BuAgentSchedulesQueryResponse.md +1 -0
- data/docs/ButtonComponent.md +16 -0
- data/docs/Call.md +1 -0
- data/docs/CallBasic.md +1 -0
- data/docs/Callback.md +1 -0
- data/docs/CallbackBasic.md +1 -0
- data/docs/CoachingApi.md +115 -30
- data/docs/CoachingAppointmentAggregateRequest.md +16 -0
- data/docs/CoachingAppointmentAggregateResponse.md +13 -0
- data/docs/CoachingAppointmentResponse.md +1 -0
- data/docs/CoachingNotification.md +1 -1
- data/docs/Cobrowsesession.md +1 -0
- data/docs/CommonCampaign.md +17 -0
- data/docs/CommonCampaignDivisionView.md +17 -0
- data/docs/CommonCampaignDivisionViewEntityListing.md +22 -0
- data/docs/CommonCampaignEntityListing.md +22 -0
- data/docs/Contact.md +1 -0
- data/docs/ContentActions.md +17 -0
- data/docs/ContentAttachment.md +19 -0
- data/docs/ContentGeneric.md +19 -0
- data/docs/ContentList.md +19 -0
- data/docs/ContentLocation.md +17 -0
- data/docs/ContentNotificationTemplate.md +17 -0
- data/docs/ContentQuickReply.md +16 -0
- data/docs/ConversationAssociation.md +1 -1
- data/docs/ConversationChat.md +1 -0
- data/docs/ConversationEventTopicAfterCallWork.md +15 -0
- data/docs/ConversationEventTopicCall.md +1 -0
- data/docs/ConversationEventTopicCallback.md +1 -0
- data/docs/ConversationEventTopicChat.md +1 -0
- data/docs/ConversationEventTopicCobrowse.md +1 -0
- data/docs/ConversationEventTopicEmail.md +1 -0
- data/docs/ConversationEventTopicMessage.md +2 -0
- data/docs/ConversationEventTopicScreenshare.md +1 -0
- data/docs/ConversationEventTopicSocialExpression.md +1 -0
- data/docs/ConversationEventTopicVideo.md +1 -0
- data/docs/ConversationMetrics.md +15 -0
- data/docs/ConversationsApi.md +73 -4
- data/docs/CreateCoachingAppointmentRequest.md +1 -1
- data/docs/CursorContactListing.md +16 -0
- data/docs/CursorNoteListing.md +16 -0
- data/docs/CursorOrganizationListing.md +16 -0
- data/docs/CursorRelationshipListing.md +16 -0
- data/docs/EdgeGroup.md +1 -0
- data/docs/Education.md +17 -0
- data/docs/Email.md +1 -0
- data/docs/EntityListing.md +1 -5
- data/docs/ExternalContactsApi.md +285 -9
- data/docs/ExternalOrganizationTrustorLink.md +1 -2
- data/docs/FacebookIntegrationUpdateRequest.md +14 -0
- data/docs/GoogleDialogflowCustomSettings.md +13 -0
- data/docs/HistoricalAdherenceActuals.md +15 -0
- data/docs/HistoricalAdherenceDayMetrics.md +23 -0
- data/docs/HistoricalAdherenceExceptionInfo.md +21 -0
- data/docs/HistoricalAdherenceQueryResult.md +21 -0
- data/docs/JourneyAggregateDataContainer.md +14 -0
- data/docs/JourneyAggregateQueryClause.md +14 -0
- data/docs/JourneyAggregateQueryFilter.md +15 -0
- data/docs/JourneyAggregateQueryPredicate.md +17 -0
- data/docs/JourneyAggregateQueryResponse.md +13 -0
- data/docs/JourneyAggregationQuery.md +21 -0
- data/docs/JourneyAggregationView.md +16 -0
- data/docs/JourneyApi.md +78 -0
- data/docs/JsonNode.md +4 -4
- data/docs/KnowledgeSearchRequest.md +3 -3
- data/docs/LanguageUnderstandingApi.md +165 -31
- data/docs/ListItemComponent.md +19 -0
- data/docs/Message.md +1 -0
- data/docs/MessageContent.md +19 -0
- data/docs/MessagingCampaign.md +28 -0
- data/docs/MessagingCampaignDivisionView.md +16 -0
- data/docs/MessagingCampaignDivisionViewEntityListing.md +22 -0
- data/docs/MessagingCampaignEntityListing.md +22 -0
- data/docs/NluDomainVersion.md +2 -1
- data/docs/NotificationTemplateBody.md +14 -0
- data/docs/NotificationTemplateFooter.md +13 -0
- data/docs/NotificationTemplateHeader.md +16 -0
- data/docs/NotificationTemplateParameter.md +14 -0
- data/docs/NotificationsApi.md +1 -1
- data/docs/OAuthClient.md +2 -0
- data/docs/OAuthClientListing.md +2 -0
- data/docs/OAuthClientRequest.md +2 -0
- data/docs/ObservationValue.md +3 -1
- data/docs/OrgOAuthClient.md +2 -0
- data/docs/OutboundApi.md +881 -76
- data/docs/Permissions.md +0 -2
- data/docs/PhoneCapabilities.md +1 -0
- data/docs/PostTextMessage.md +15 -0
- data/docs/PostTextRequest.md +23 -0
- data/docs/PostTextResponse.md +20 -0
- data/docs/PresenceApi.md +206 -6
- data/docs/PresenceExpand.md +17 -0
- data/docs/QueryRequestClause.md +14 -0
- data/docs/QueryRequestFilter.md +14 -0
- data/docs/QueryRequestPredicate.md +14 -0
- data/docs/QueryResponseData.md +14 -0
- data/docs/QueryResponseGroupedData.md +14 -0
- data/docs/QueryResponseMetric.md +14 -0
- data/docs/QueryResponseStats.md +13 -0
- data/docs/QueueConversationEventTopicAfterCallWork.md +15 -0
- data/docs/QueueConversationEventTopicCall.md +1 -0
- data/docs/QueueConversationEventTopicCallback.md +1 -0
- data/docs/QueueConversationEventTopicChat.md +1 -0
- data/docs/QueueConversationEventTopicCobrowse.md +1 -0
- data/docs/QueueConversationEventTopicEmail.md +1 -0
- data/docs/QueueConversationEventTopicMessage.md +2 -0
- data/docs/QueueConversationEventTopicScreenshare.md +1 -0
- data/docs/QueueConversationEventTopicSocialExpression.md +1 -0
- data/docs/QueueConversationEventTopicVideo.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicAfterCallWork.md +15 -0
- data/docs/QueueConversationSocialExpressionEventTopicCall.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicCallback.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicChat.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicCobrowse.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicEmail.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicMessage.md +2 -0
- data/docs/QueueConversationSocialExpressionEventTopicScreenshare.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicSocialExpression.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicVideo.md +1 -0
- data/docs/QueueConversationVideoEventTopicAfterCallWork.md +15 -0
- data/docs/QueueConversationVideoEventTopicCall.md +1 -0
- data/docs/QueueConversationVideoEventTopicCallback.md +1 -0
- data/docs/QueueConversationVideoEventTopicChat.md +1 -0
- data/docs/QueueConversationVideoEventTopicCobrowse.md +1 -0
- data/docs/QueueConversationVideoEventTopicEmail.md +1 -0
- data/docs/QueueConversationVideoEventTopicMessage.md +2 -0
- data/docs/QueueConversationVideoEventTopicScreenshare.md +1 -0
- data/docs/QueueConversationVideoEventTopicSocialExpression.md +1 -0
- data/docs/QueueConversationVideoEventTopicVideo.md +1 -0
- data/docs/Recording.md +1 -0
- data/docs/RecordingApi.md +2 -2
- data/docs/ReportingDataExportTopicDataExportNotification.md +1 -0
- data/docs/ReportingExportJobRequest.md +2 -0
- data/docs/ReportingExportJobResponse.md +4 -0
- data/docs/RoutingApi.md +14 -14
- data/docs/SCIMApi.md +92 -104
- data/docs/ScimConfigResourceType.md +2 -2
- data/docs/ScimGenesysUserExternalId.md +14 -0
- data/docs/ScimMetadata.md +2 -2
- data/docs/ScimUserExtensions.md +3 -2
- data/docs/ScimUserRole.md +1 -1
- data/docs/ScimUserRoutingLanguage.md +2 -2
- data/docs/ScimUserRoutingSkill.md +2 -2
- data/docs/ScimV2CreateUser.md +3 -3
- data/docs/ScimV2Group.md +1 -1
- data/docs/ScimV2SchemaAttribute.md +11 -11
- data/docs/ScimV2SchemaDefinition.md +5 -5
- data/docs/ScimV2SchemaListResponse.md +1 -1
- data/docs/ScimV2User.md +4 -4
- data/docs/Screenshare.md +1 -0
- data/docs/SearchApi.md +5 -2
- data/docs/SmsConfig.md +15 -0
- data/docs/SmsPhoneNumberRef.md +14 -0
- data/docs/SocialExpression.md +1 -0
- data/docs/SpeechTextAnalyticsApi.md +147 -0
- data/docs/StatEventFlowOutcomeTopicDatum.md +14 -0
- data/docs/StatEventFlowOutcomeTopicMetric.md +15 -0
- data/docs/StatEventFlowOutcomeTopicStatsNotification.md +14 -0
- data/docs/StatEventFlowTopicDatum.md +14 -0
- data/docs/StatEventFlowTopicMetric.md +15 -0
- data/docs/StatEventFlowTopicStatsNotification.md +14 -0
- data/docs/StatEventWrapUpCodeTopicDatum.md +14 -0
- data/docs/StatEventWrapUpCodeTopicMetric.md +15 -0
- data/docs/StatEventWrapUpCodeTopicStatsNotification.md +14 -0
- data/docs/SurveyForm.md +0 -2
- data/docs/TelephonyProvidersEdgeApi.md +6 -2
- data/docs/TextbotsApi.md +78 -0
- data/docs/TranscriptUrl.md +13 -0
- data/docs/UpdateCoachingAppointmentRequest.md +2 -1
- data/docs/UserRoutingLanguage.md +3 -3
- data/docs/UserRoutingLanguagePost.md +1 -1
- data/docs/UserRoutingSkill.md +1 -1
- data/docs/UserScheduleAdherence.md +1 -0
- data/docs/UserSearchRequest.md +2 -0
- data/docs/UsersApi.md +19 -6
- data/docs/Video.md +1 -0
- data/docs/ViewFilter.md +2 -0
- data/docs/VoicemailUserPolicy.md +1 -0
- data/docs/WemCoachingAppointmentTopicCoachingAppointmentNotification.md +1 -0
- data/docs/WfmBusinessUnitReference.md +14 -0
- data/docs/WfmHistoricalAdherenceResponse.md +1 -0
- data/docs/WfmHistoricalAdherenceResultWrapper.md +15 -0
- data/docs/WfmHistoricalDataUploadPurgeRequestStatusTopicHistoricalDataUploadPurgeRequestUpdate.md +13 -0
- data/docs/WfmHistoricalDataUploadRequestStatusTopicDateTime.md +16 -0
- data/docs/WfmHistoricalDataUploadRequestStatusTopicHistoricalDataUploadRequestUpdate.md +20 -0
- data/docs/WfmScheduleReference.md +16 -0
- data/docs/WfmUserScheduleAdherenceUpdatedMuTopicUriReference.md +14 -0
- data/docs/WfmUserScheduleAdherenceUpdatedMuTopicUserScheduleAdherenceUpdate.md +1 -0
- data/docs/WfmUserScheduleAdherenceUpdatedTeamTopicQueueReference.md +13 -0
- data/docs/WfmUserScheduleAdherenceUpdatedTeamTopicUriReference.md +14 -0
- data/docs/WfmUserScheduleAdherenceUpdatedTeamTopicUserReference.md +13 -0
- data/docs/WfmUserScheduleAdherenceUpdatedTeamTopicUserScheduleAdherenceUpdate.md +28 -0
- data/docs/WfmUserScheduleAdherenceUpdatedTopicUriReference.md +14 -0
- data/docs/WfmUserScheduleAdherenceUpdatedTopicUserScheduleAdherenceUpdate.md +1 -0
- data/lib/purecloudplatformclientv2.rb +91 -0
- data/lib/purecloudplatformclientv2/api/analytics_api.rb +67 -2
- data/lib/purecloudplatformclientv2/api/architect_api.rb +15 -6
- data/lib/purecloudplatformclientv2/api/audit_api.rb +129 -0
- data/lib/purecloudplatformclientv2/api/coaching_api.rb +155 -9
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +79 -4
- data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +305 -13
- data/lib/purecloudplatformclientv2/api/journey_api.rb +92 -0
- data/lib/purecloudplatformclientv2/api/language_understanding_api.rb +191 -32
- data/lib/purecloudplatformclientv2/api/outbound_api.rb +1215 -155
- data/lib/purecloudplatformclientv2/api/presence_api.rb +213 -8
- data/lib/purecloudplatformclientv2/api/recording_api.rb +3 -3
- data/lib/purecloudplatformclientv2/api/routing_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/scim_api.rb +74 -74
- data/lib/purecloudplatformclientv2/api/search_api.rb +13 -0
- data/lib/purecloudplatformclientv2/api/speech_text_analytics_api.rb +167 -0
- data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +18 -0
- data/lib/purecloudplatformclientv2/api/textbots_api.rb +92 -0
- data/lib/purecloudplatformclientv2/api/users_api.rb +78 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/acw_settings.rb +2 -2
- data/lib/purecloudplatformclientv2/models/after_call_work.rb +267 -0
- data/lib/purecloudplatformclientv2/models/amazon_lex_request.rb +232 -0
- data/lib/purecloudplatformclientv2/models/analytics_proposed_agent.rb +228 -0
- data/lib/purecloudplatformclientv2/models/analytics_session.rb +178 -4
- data/lib/purecloudplatformclientv2/models/array_node.rb +54 -54
- data/lib/purecloudplatformclientv2/models/audit_log_message.rb +6 -6
- data/lib/purecloudplatformclientv2/models/audit_query_entity.rb +2 -2
- data/lib/purecloudplatformclientv2/models/audit_query_execution_status_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/audit_query_request.rb +2 -2
- data/lib/purecloudplatformclientv2/models/audit_query_service.rb +2 -2
- data/lib/purecloudplatformclientv2/models/audit_realtime_query_request.rb +360 -0
- data/lib/purecloudplatformclientv2/models/audit_realtime_query_results_response.rb +303 -0
- data/lib/purecloudplatformclientv2/models/available_topic.rb +32 -4
- data/lib/purecloudplatformclientv2/models/biography.rb +32 -4
- data/lib/purecloudplatformclientv2/models/bu_agent_schedules_query_response.rb +30 -4
- data/lib/purecloudplatformclientv2/models/button_component.rb +281 -0
- data/lib/purecloudplatformclientv2/models/call.rb +30 -4
- data/lib/purecloudplatformclientv2/models/call_basic.rb +30 -4
- data/lib/purecloudplatformclientv2/models/callback.rb +30 -4
- data/lib/purecloudplatformclientv2/models/callback_basic.rb +30 -4
- data/lib/purecloudplatformclientv2/models/coaching_appointment_aggregate_request.rb +294 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_aggregate_response.rb +204 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_response.rb +27 -1
- data/lib/purecloudplatformclientv2/models/coaching_notification.rb +1 -1
- data/lib/purecloudplatformclientv2/models/cobrowsesession.rb +30 -4
- data/lib/purecloudplatformclientv2/models/common_campaign.rb +320 -0
- data/lib/purecloudplatformclientv2/models/common_campaign_division_view.rb +320 -0
- data/lib/purecloudplatformclientv2/models/common_campaign_division_view_entity_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/common_campaign_entity_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/contact.rb +29 -4
- data/lib/purecloudplatformclientv2/models/content_actions.rb +309 -0
- data/lib/purecloudplatformclientv2/models/content_attachment.rb +378 -0
- data/lib/purecloudplatformclientv2/models/content_generic.rb +361 -0
- data/lib/purecloudplatformclientv2/models/content_list.rb +375 -0
- data/lib/purecloudplatformclientv2/models/content_location.rb +307 -0
- data/lib/purecloudplatformclientv2/models/content_notification_template.rb +312 -0
- data/lib/purecloudplatformclientv2/models/content_quick_reply.rb +300 -0
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_association.rb +1 -1
- data/lib/purecloudplatformclientv2/models/conversation_chat.rb +30 -4
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_after_call_work.rb +265 -0
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_cobrowse.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_message.rb +53 -3
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_screenshare.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_social_expression.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_video.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_message_event_topic_message_media_participant.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_metrics.rb +254 -0
- data/lib/purecloudplatformclientv2/models/create_coaching_appointment_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/create_outbound_messaging_conversation_request.rb +2 -2
- data/lib/purecloudplatformclientv2/models/cursor_contact_listing.rb +278 -0
- data/lib/purecloudplatformclientv2/models/cursor_note_listing.rb +278 -0
- data/lib/purecloudplatformclientv2/models/cursor_organization_listing.rb +278 -0
- data/lib/purecloudplatformclientv2/models/cursor_relationship_listing.rb +278 -0
- data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
- data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
- data/lib/purecloudplatformclientv2/models/edge_group.rb +27 -1
- data/lib/purecloudplatformclientv2/models/education.rb +304 -0
- data/lib/purecloudplatformclientv2/models/email.rb +30 -4
- data/lib/purecloudplatformclientv2/models/entity_listing.rb +4 -104
- data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/external_organization_trustor_link.rb +8 -34
- data/lib/purecloudplatformclientv2/models/facebook_integration_update_request.rb +228 -0
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/google_dialogflow_custom_settings.rb +202 -0
- data/lib/purecloudplatformclientv2/models/historical_adherence_actuals.rb +268 -0
- data/lib/purecloudplatformclientv2/models/historical_adherence_day_metrics.rb +462 -0
- data/lib/purecloudplatformclientv2/models/historical_adherence_exception_info.rb +466 -0
- data/lib/purecloudplatformclientv2/models/historical_adherence_query_result.rb +430 -0
- data/lib/purecloudplatformclientv2/models/intent_feedback.rb +2 -2
- data/lib/purecloudplatformclientv2/models/ip_address_range.rb +2 -2
- data/lib/purecloudplatformclientv2/models/journey_aggregate_data_container.rb +231 -0
- data/lib/purecloudplatformclientv2/models/journey_aggregate_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/journey_aggregate_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/journey_aggregate_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/journey_aggregate_query_response.rb +203 -0
- data/lib/purecloudplatformclientv2/models/journey_aggregation_query.rb +435 -0
- data/lib/purecloudplatformclientv2/models/journey_aggregation_view.rb +323 -0
- data/lib/purecloudplatformclientv2/models/json_node.rb +54 -54
- data/lib/purecloudplatformclientv2/models/knowledge_search_request.rb +0 -15
- data/lib/purecloudplatformclientv2/models/library.rb +2 -2
- data/lib/purecloudplatformclientv2/models/list_item_component.rb +373 -0
- data/lib/purecloudplatformclientv2/models/message.rb +32 -6
- data/lib/purecloudplatformclientv2/models/message_content.rb +378 -0
- data/lib/purecloudplatformclientv2/models/message_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/message_media_participant.rb +2 -2
- data/lib/purecloudplatformclientv2/models/messaging_campaign.rb +621 -0
- data/lib/purecloudplatformclientv2/models/messaging_campaign_division_view.rb +279 -0
- data/lib/purecloudplatformclientv2/models/messaging_campaign_division_view_entity_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/messaging_campaign_entity_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/messaging_integration.rb +2 -2
- data/lib/purecloudplatformclientv2/models/messaging_sticker.rb +2 -2
- data/lib/purecloudplatformclientv2/models/nlu_domain_version.rb +32 -1
- data/lib/purecloudplatformclientv2/models/notification_template_body.rb +236 -0
- data/lib/purecloudplatformclientv2/models/notification_template_footer.rb +203 -0
- data/lib/purecloudplatformclientv2/models/notification_template_header.rb +302 -0
- data/lib/purecloudplatformclientv2/models/notification_template_parameter.rb +234 -0
- data/lib/purecloudplatformclientv2/models/o_auth_client.rb +67 -1
- data/lib/purecloudplatformclientv2/models/o_auth_client_listing.rb +67 -1
- data/lib/purecloudplatformclientv2/models/o_auth_client_request.rb +70 -4
- data/lib/purecloudplatformclientv2/models/observation_value.rb +70 -2
- data/lib/purecloudplatformclientv2/models/org_o_auth_client.rb +67 -1
- data/lib/purecloudplatformclientv2/models/participant.rb +2 -2
- data/lib/purecloudplatformclientv2/models/participant_basic.rb +2 -2
- data/lib/purecloudplatformclientv2/models/permissions.rb +1 -52
- data/lib/purecloudplatformclientv2/models/phone_capabilities.rb +29 -4
- data/lib/purecloudplatformclientv2/models/post_text_message.rb +275 -0
- data/lib/purecloudplatformclientv2/models/post_text_request.rb +482 -0
- data/lib/purecloudplatformclientv2/models/post_text_response.rb +413 -0
- data/lib/purecloudplatformclientv2/models/presence_expand.rb +309 -0
- data/lib/purecloudplatformclientv2/models/query_request_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/query_request_filter.rb +254 -0
- data/lib/purecloudplatformclientv2/models/query_request_predicate.rb +252 -0
- data/lib/purecloudplatformclientv2/models/query_response_data.rb +230 -0
- data/lib/purecloudplatformclientv2/models/query_response_grouped_data.rb +232 -0
- data/lib/purecloudplatformclientv2/models/query_response_metric.rb +242 -0
- data/lib/purecloudplatformclientv2/models/query_response_stats.rb +202 -0
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_after_call_work.rb +265 -0
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_cobrowse.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_message.rb +53 -3
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_screenshare.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_social_expression.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_video.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_message_event_topic_message_media_participant.rb +2 -2
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_after_call_work.rb +265 -0
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_cobrowse.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_message.rb +53 -3
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_screenshare.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_social_expression.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_video.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_after_call_work.rb +265 -0
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_cobrowse.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_message.rb +53 -3
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_screenshare.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_social_expression.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_video.rb +26 -1
- data/lib/purecloudplatformclientv2/models/recipient.rb +2 -2
- data/lib/purecloudplatformclientv2/models/recording.rb +41 -1
- data/lib/purecloudplatformclientv2/models/reporting_data_export_topic_data_export_notification.rb +26 -1
- data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +53 -1
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +109 -1
- data/lib/purecloudplatformclientv2/models/response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/schedule_generation_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_config_resource_type.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_genesys_user_external_id.rb +229 -0
- data/lib/purecloudplatformclientv2/models/scim_metadata.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_phone_number.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_user_extensions.rb +35 -7
- data/lib/purecloudplatformclientv2/models/scim_user_role.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_user_routing_language.rb +3 -3
- data/lib/purecloudplatformclientv2/models/scim_user_routing_skill.rb +3 -3
- data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +3 -2
- data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_group.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_schema_attribute.rb +12 -12
- data/lib/purecloudplatformclientv2/models/scim_v2_schema_definition.rb +6 -6
- data/lib/purecloudplatformclientv2/models/scim_v2_schema_list_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +4 -3
- data/lib/purecloudplatformclientv2/models/screenshare.rb +30 -4
- data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_request.rb +2 -2
- data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/sms_config.rb +269 -0
- data/lib/purecloudplatformclientv2/models/sms_phone_number_ref.rb +232 -0
- data/lib/purecloudplatformclientv2/models/social_expression.rb +30 -4
- data/lib/purecloudplatformclientv2/models/stat_event_flow_outcome_topic_datum.rb +228 -0
- data/lib/purecloudplatformclientv2/models/stat_event_flow_outcome_topic_metric.rb +253 -0
- data/lib/purecloudplatformclientv2/models/stat_event_flow_outcome_topic_stats_notification.rb +230 -0
- data/lib/purecloudplatformclientv2/models/stat_event_flow_topic_datum.rb +228 -0
- data/lib/purecloudplatformclientv2/models/stat_event_flow_topic_metric.rb +253 -0
- data/lib/purecloudplatformclientv2/models/stat_event_flow_topic_stats_notification.rb +230 -0
- data/lib/purecloudplatformclientv2/models/stat_event_wrap_up_code_topic_datum.rb +228 -0
- data/lib/purecloudplatformclientv2/models/stat_event_wrap_up_code_topic_metric.rb +253 -0
- data/lib/purecloudplatformclientv2/models/stat_event_wrap_up_code_topic_stats_notification.rb +230 -0
- data/lib/purecloudplatformclientv2/models/survey_form.rb +1 -53
- data/lib/purecloudplatformclientv2/models/transcript_url.rb +202 -0
- data/lib/purecloudplatformclientv2/models/update_coaching_appointment_request.rb +45 -5
- data/lib/purecloudplatformclientv2/models/user_routing_language.rb +4 -4
- data/lib/purecloudplatformclientv2/models/user_routing_language_post.rb +1 -1
- data/lib/purecloudplatformclientv2/models/user_routing_skill.rb +1 -1
- data/lib/purecloudplatformclientv2/models/user_schedule_adherence.rb +27 -1
- data/lib/purecloudplatformclientv2/models/user_search_request.rb +70 -4
- data/lib/purecloudplatformclientv2/models/video.rb +30 -4
- data/lib/purecloudplatformclientv2/models/view_filter.rb +60 -4
- data/lib/purecloudplatformclientv2/models/voicemail_user_policy.rb +30 -4
- data/lib/purecloudplatformclientv2/models/wem_coaching_appointment_topic_coaching_appointment_notification.rb +33 -8
- data/lib/purecloudplatformclientv2/models/wfm_business_unit_reference.rb +233 -0
- data/lib/purecloudplatformclientv2/models/wfm_historical_adherence_response.rb +27 -1
- data/lib/purecloudplatformclientv2/models/wfm_historical_adherence_result_wrapper.rb +258 -0
- data/lib/purecloudplatformclientv2/models/wfm_historical_data_upload_purge_request_status_topic_historical_data_upload_purge_request_update.rb +215 -0
- data/lib/purecloudplatformclientv2/models/wfm_historical_data_upload_request_status_topic_date_time.rb +276 -0
- data/lib/purecloudplatformclientv2/models/wfm_historical_data_upload_request_status_topic_historical_data_upload_request_update.rb +390 -0
- data/lib/purecloudplatformclientv2/models/wfm_schedule_reference.rb +295 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_mu_topic_uri_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_mu_topic_user_schedule_adherence_update.rb +26 -1
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_team_topic_queue_reference.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_team_topic_uri_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_team_topic_user_reference.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_team_topic_user_schedule_adherence_update.rb +606 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_topic_uri_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_topic_user_schedule_adherence_update.rb +26 -1
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +185 -3
@@ -6777,6 +6777,81 @@ module PureCloud
|
|
6777
6777
|
return data, status_code, headers
|
6778
6778
|
end
|
6779
6779
|
|
6780
|
+
# Update Facebook messaging integration
|
6781
|
+
#
|
6782
|
+
# @param integration_id Integration ID
|
6783
|
+
# @param body FacebookIntegrationUpdateRequest
|
6784
|
+
# @param [Hash] opts the optional parameters
|
6785
|
+
# @return [FacebookIntegration]
|
6786
|
+
def patch_conversations_messaging_integrations_facebook_integration_id(integration_id, body, opts = {})
|
6787
|
+
data, _status_code, _headers = patch_conversations_messaging_integrations_facebook_integration_id_with_http_info(integration_id, body, opts)
|
6788
|
+
return data
|
6789
|
+
end
|
6790
|
+
|
6791
|
+
# Update Facebook messaging integration
|
6792
|
+
#
|
6793
|
+
# @param integration_id Integration ID
|
6794
|
+
# @param body FacebookIntegrationUpdateRequest
|
6795
|
+
# @param [Hash] opts the optional parameters
|
6796
|
+
# @return [Array<(FacebookIntegration, Fixnum, Hash)>] FacebookIntegration data, response status code and response headers
|
6797
|
+
def patch_conversations_messaging_integrations_facebook_integration_id_with_http_info(integration_id, body, opts = {})
|
6798
|
+
if @api_client.config.debugging
|
6799
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_messaging_integrations_facebook_integration_id ..."
|
6800
|
+
end
|
6801
|
+
|
6802
|
+
|
6803
|
+
# verify the required parameter 'integration_id' is set
|
6804
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling ConversationsApi.patch_conversations_messaging_integrations_facebook_integration_id" if integration_id.nil?
|
6805
|
+
|
6806
|
+
|
6807
|
+
|
6808
|
+
|
6809
|
+
|
6810
|
+
|
6811
|
+
# verify the required parameter 'body' is set
|
6812
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_messaging_integrations_facebook_integration_id" if body.nil?
|
6813
|
+
|
6814
|
+
|
6815
|
+
|
6816
|
+
|
6817
|
+
|
6818
|
+
# resource path
|
6819
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/facebook/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
6820
|
+
|
6821
|
+
# query parameters
|
6822
|
+
query_params = {}
|
6823
|
+
|
6824
|
+
# header parameters
|
6825
|
+
header_params = {}
|
6826
|
+
|
6827
|
+
# HTTP header 'Accept' (if needed)
|
6828
|
+
local_header_accept = ['application/json']
|
6829
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
6830
|
+
|
6831
|
+
# HTTP header 'Content-Type'
|
6832
|
+
local_header_content_type = ['application/json']
|
6833
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
6834
|
+
|
6835
|
+
# form parameters
|
6836
|
+
form_params = {}
|
6837
|
+
|
6838
|
+
# http body (model)
|
6839
|
+
post_body = @api_client.object_to_http_body(body)
|
6840
|
+
|
6841
|
+
auth_names = ['PureCloud OAuth']
|
6842
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
6843
|
+
:header_params => header_params,
|
6844
|
+
:query_params => query_params,
|
6845
|
+
:form_params => form_params,
|
6846
|
+
:body => post_body,
|
6847
|
+
:auth_names => auth_names,
|
6848
|
+
:return_type => 'FacebookIntegration')
|
6849
|
+
if @api_client.config.debugging
|
6850
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_messaging_integrations_facebook_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6851
|
+
end
|
6852
|
+
return data, status_code, headers
|
6853
|
+
end
|
6854
|
+
|
6780
6855
|
# Activate a WhatsApp messaging integration.
|
6781
6856
|
# The following steps are required in order to fully activate a Whatsapp Integration: Initially, you will need to get an activation code by sending: an action set to Activate, and an authenticationMethod choosing from Sms or Voice. Finally, once you have been informed of an activation code on selected authenticationMethod, you will need to confirm the code by sending: an action set to Confirm, and the confirmationCode you have received from Whatsapp.
|
6782
6857
|
# @param integration_id Integration ID
|
@@ -7122,7 +7197,7 @@ module PureCloud
|
|
7122
7197
|
return data, status_code, headers
|
7123
7198
|
end
|
7124
7199
|
|
7125
|
-
# Performs a full conversation teardown. Issues disconnect requests for any connected media. Applies a system wrap-up code to any participants that are pending wrap-up. This is not intended to be the normal way of ending interactions but is available in the event of problems with the application to allow a
|
7200
|
+
# Performs a full conversation teardown. Issues disconnect requests for any connected media. Applies a system wrap-up code to any participants that are pending wrap-up. This is not intended to be the normal way of ending interactions but is available in the event of problems with the application to allow a resynchronization of state across all components. It is recommended that users submit a support case if they are relying on this endpoint systematically as there is likely something that needs investigation.
|
7126
7201
|
#
|
7127
7202
|
# @param conversation_id conversation ID
|
7128
7203
|
# @param [Hash] opts the optional parameters
|
@@ -7132,7 +7207,7 @@ module PureCloud
|
|
7132
7207
|
return data
|
7133
7208
|
end
|
7134
7209
|
|
7135
|
-
# Performs a full conversation teardown. Issues disconnect requests for any connected media. Applies a system wrap-up code to any participants that are pending wrap-up. This is not intended to be the normal way of ending interactions but is available in the event of problems with the application to allow a
|
7210
|
+
# Performs a full conversation teardown. Issues disconnect requests for any connected media. Applies a system wrap-up code to any participants that are pending wrap-up. This is not intended to be the normal way of ending interactions but is available in the event of problems with the application to allow a resynchronization of state across all components. It is recommended that users submit a support case if they are relying on this endpoint systematically as there is likely something that needs investigation.
|
7136
7211
|
#
|
7137
7212
|
# @param conversation_id conversation ID
|
7138
7213
|
# @param [Hash] opts the optional parameters
|
@@ -9598,7 +9673,7 @@ module PureCloud
|
|
9598
9673
|
end
|
9599
9674
|
|
9600
9675
|
# Create a WhatsApp Integration
|
9601
|
-
#
|
9676
|
+
# You must be approved by WhatsApp to use this feature. Your approved e164-formatted phone number and valid WhatsApp certificate for your number are required. Your WhatsApp certificate must have valid base64 encoding. Please paste carefully and do not add any leading or trailing spaces. Do not alter any characters. An integration must be activated within 7 days of certificate generation. If you cannot complete the addition and activation of the number within 7 days, please obtain a new certificate before creating the integration. Integrations created with an invalid number or certificate may immediately incur additional integration fees. Please carefully enter your number and certificate as described.
|
9602
9677
|
# @param body WhatsAppIntegrationRequest
|
9603
9678
|
# @param [Hash] opts the optional parameters
|
9604
9679
|
# @return [WhatsAppIntegration]
|
@@ -9608,7 +9683,7 @@ module PureCloud
|
|
9608
9683
|
end
|
9609
9684
|
|
9610
9685
|
# Create a WhatsApp Integration
|
9611
|
-
#
|
9686
|
+
# You must be approved by WhatsApp to use this feature. Your approved e164-formatted phone number and valid WhatsApp certificate for your number are required. Your WhatsApp certificate must have valid base64 encoding. Please paste carefully and do not add any leading or trailing spaces. Do not alter any characters. An integration must be activated within 7 days of certificate generation. If you cannot complete the addition and activation of the number within 7 days, please obtain a new certificate before creating the integration. Integrations created with an invalid number or certificate may immediately incur additional integration fees. Please carefully enter your number and certificate as described.
|
9612
9687
|
# @param body WhatsAppIntegrationRequest
|
9613
9688
|
# @param [Hash] opts the optional parameters
|
9614
9689
|
# @return [Array<(WhatsAppIntegration, Fixnum, Hash)>] WhatsAppIntegration data, response status code and response headers
|
@@ -2134,6 +2134,298 @@ module PureCloud
|
|
2134
2134
|
return data, status_code, headers
|
2135
2135
|
end
|
2136
2136
|
|
2137
|
+
# Scan for external contacts using paging
|
2138
|
+
#
|
2139
|
+
# @param [Hash] opts the optional parameters
|
2140
|
+
# @option opts [Integer] :limit The number of contacts per page; must be between 10 and 200, default is 100)
|
2141
|
+
# @option opts [String] :cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
2142
|
+
# @return [CursorContactListing]
|
2143
|
+
def get_externalcontacts_scan_contacts(opts = {})
|
2144
|
+
data, _status_code, _headers = get_externalcontacts_scan_contacts_with_http_info(opts)
|
2145
|
+
return data
|
2146
|
+
end
|
2147
|
+
|
2148
|
+
# Scan for external contacts using paging
|
2149
|
+
#
|
2150
|
+
# @param [Hash] opts the optional parameters
|
2151
|
+
# @option opts [Integer] :limit The number of contacts per page; must be between 10 and 200, default is 100)
|
2152
|
+
# @option opts [String] :cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
2153
|
+
# @return [Array<(CursorContactListing, Fixnum, Hash)>] CursorContactListing data, response status code and response headers
|
2154
|
+
def get_externalcontacts_scan_contacts_with_http_info(opts = {})
|
2155
|
+
if @api_client.config.debugging
|
2156
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi.get_externalcontacts_scan_contacts ..."
|
2157
|
+
end
|
2158
|
+
|
2159
|
+
|
2160
|
+
|
2161
|
+
|
2162
|
+
|
2163
|
+
|
2164
|
+
|
2165
|
+
|
2166
|
+
|
2167
|
+
|
2168
|
+
|
2169
|
+
|
2170
|
+
|
2171
|
+
# resource path
|
2172
|
+
local_var_path = "/api/v2/externalcontacts/scan/contacts".sub('{format}','json')
|
2173
|
+
|
2174
|
+
# query parameters
|
2175
|
+
query_params = {}
|
2176
|
+
query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
|
2177
|
+
query_params[:'cursor'] = opts[:'cursor'] if opts[:'cursor']
|
2178
|
+
|
2179
|
+
# header parameters
|
2180
|
+
header_params = {}
|
2181
|
+
|
2182
|
+
# HTTP header 'Accept' (if needed)
|
2183
|
+
local_header_accept = ['application/json']
|
2184
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2185
|
+
|
2186
|
+
# HTTP header 'Content-Type'
|
2187
|
+
local_header_content_type = ['application/json']
|
2188
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2189
|
+
|
2190
|
+
# form parameters
|
2191
|
+
form_params = {}
|
2192
|
+
|
2193
|
+
# http body (model)
|
2194
|
+
post_body = nil
|
2195
|
+
|
2196
|
+
auth_names = ['PureCloud OAuth']
|
2197
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
2198
|
+
:header_params => header_params,
|
2199
|
+
:query_params => query_params,
|
2200
|
+
:form_params => form_params,
|
2201
|
+
:body => post_body,
|
2202
|
+
:auth_names => auth_names,
|
2203
|
+
:return_type => 'CursorContactListing')
|
2204
|
+
if @api_client.config.debugging
|
2205
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#get_externalcontacts_scan_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2206
|
+
end
|
2207
|
+
return data, status_code, headers
|
2208
|
+
end
|
2209
|
+
|
2210
|
+
# Scan for notes using paging
|
2211
|
+
#
|
2212
|
+
# @param [Hash] opts the optional parameters
|
2213
|
+
# @option opts [Integer] :limit The number of notes per page; must be between 10 and 200, default is 100)
|
2214
|
+
# @option opts [String] :cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
2215
|
+
# @return [CursorNoteListing]
|
2216
|
+
def get_externalcontacts_scan_notes(opts = {})
|
2217
|
+
data, _status_code, _headers = get_externalcontacts_scan_notes_with_http_info(opts)
|
2218
|
+
return data
|
2219
|
+
end
|
2220
|
+
|
2221
|
+
# Scan for notes using paging
|
2222
|
+
#
|
2223
|
+
# @param [Hash] opts the optional parameters
|
2224
|
+
# @option opts [Integer] :limit The number of notes per page; must be between 10 and 200, default is 100)
|
2225
|
+
# @option opts [String] :cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
2226
|
+
# @return [Array<(CursorNoteListing, Fixnum, Hash)>] CursorNoteListing data, response status code and response headers
|
2227
|
+
def get_externalcontacts_scan_notes_with_http_info(opts = {})
|
2228
|
+
if @api_client.config.debugging
|
2229
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi.get_externalcontacts_scan_notes ..."
|
2230
|
+
end
|
2231
|
+
|
2232
|
+
|
2233
|
+
|
2234
|
+
|
2235
|
+
|
2236
|
+
|
2237
|
+
|
2238
|
+
|
2239
|
+
|
2240
|
+
|
2241
|
+
|
2242
|
+
|
2243
|
+
|
2244
|
+
# resource path
|
2245
|
+
local_var_path = "/api/v2/externalcontacts/scan/notes".sub('{format}','json')
|
2246
|
+
|
2247
|
+
# query parameters
|
2248
|
+
query_params = {}
|
2249
|
+
query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
|
2250
|
+
query_params[:'cursor'] = opts[:'cursor'] if opts[:'cursor']
|
2251
|
+
|
2252
|
+
# header parameters
|
2253
|
+
header_params = {}
|
2254
|
+
|
2255
|
+
# HTTP header 'Accept' (if needed)
|
2256
|
+
local_header_accept = ['application/json']
|
2257
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2258
|
+
|
2259
|
+
# HTTP header 'Content-Type'
|
2260
|
+
local_header_content_type = ['application/json']
|
2261
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2262
|
+
|
2263
|
+
# form parameters
|
2264
|
+
form_params = {}
|
2265
|
+
|
2266
|
+
# http body (model)
|
2267
|
+
post_body = nil
|
2268
|
+
|
2269
|
+
auth_names = ['PureCloud OAuth']
|
2270
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
2271
|
+
:header_params => header_params,
|
2272
|
+
:query_params => query_params,
|
2273
|
+
:form_params => form_params,
|
2274
|
+
:body => post_body,
|
2275
|
+
:auth_names => auth_names,
|
2276
|
+
:return_type => 'CursorNoteListing')
|
2277
|
+
if @api_client.config.debugging
|
2278
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#get_externalcontacts_scan_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2279
|
+
end
|
2280
|
+
return data, status_code, headers
|
2281
|
+
end
|
2282
|
+
|
2283
|
+
# Scan for external organizations using paging
|
2284
|
+
#
|
2285
|
+
# @param [Hash] opts the optional parameters
|
2286
|
+
# @option opts [Integer] :limit The number of organizations per page; must be between 10 and 200, default is 100)
|
2287
|
+
# @option opts [String] :cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
2288
|
+
# @return [CursorOrganizationListing]
|
2289
|
+
def get_externalcontacts_scan_organizations(opts = {})
|
2290
|
+
data, _status_code, _headers = get_externalcontacts_scan_organizations_with_http_info(opts)
|
2291
|
+
return data
|
2292
|
+
end
|
2293
|
+
|
2294
|
+
# Scan for external organizations using paging
|
2295
|
+
#
|
2296
|
+
# @param [Hash] opts the optional parameters
|
2297
|
+
# @option opts [Integer] :limit The number of organizations per page; must be between 10 and 200, default is 100)
|
2298
|
+
# @option opts [String] :cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
2299
|
+
# @return [Array<(CursorOrganizationListing, Fixnum, Hash)>] CursorOrganizationListing data, response status code and response headers
|
2300
|
+
def get_externalcontacts_scan_organizations_with_http_info(opts = {})
|
2301
|
+
if @api_client.config.debugging
|
2302
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi.get_externalcontacts_scan_organizations ..."
|
2303
|
+
end
|
2304
|
+
|
2305
|
+
|
2306
|
+
|
2307
|
+
|
2308
|
+
|
2309
|
+
|
2310
|
+
|
2311
|
+
|
2312
|
+
|
2313
|
+
|
2314
|
+
|
2315
|
+
|
2316
|
+
|
2317
|
+
# resource path
|
2318
|
+
local_var_path = "/api/v2/externalcontacts/scan/organizations".sub('{format}','json')
|
2319
|
+
|
2320
|
+
# query parameters
|
2321
|
+
query_params = {}
|
2322
|
+
query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
|
2323
|
+
query_params[:'cursor'] = opts[:'cursor'] if opts[:'cursor']
|
2324
|
+
|
2325
|
+
# header parameters
|
2326
|
+
header_params = {}
|
2327
|
+
|
2328
|
+
# HTTP header 'Accept' (if needed)
|
2329
|
+
local_header_accept = ['application/json']
|
2330
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2331
|
+
|
2332
|
+
# HTTP header 'Content-Type'
|
2333
|
+
local_header_content_type = ['application/json']
|
2334
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2335
|
+
|
2336
|
+
# form parameters
|
2337
|
+
form_params = {}
|
2338
|
+
|
2339
|
+
# http body (model)
|
2340
|
+
post_body = nil
|
2341
|
+
|
2342
|
+
auth_names = ['PureCloud OAuth']
|
2343
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
2344
|
+
:header_params => header_params,
|
2345
|
+
:query_params => query_params,
|
2346
|
+
:form_params => form_params,
|
2347
|
+
:body => post_body,
|
2348
|
+
:auth_names => auth_names,
|
2349
|
+
:return_type => 'CursorOrganizationListing')
|
2350
|
+
if @api_client.config.debugging
|
2351
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#get_externalcontacts_scan_organizations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2352
|
+
end
|
2353
|
+
return data, status_code, headers
|
2354
|
+
end
|
2355
|
+
|
2356
|
+
# Scan for relationships
|
2357
|
+
#
|
2358
|
+
# @param [Hash] opts the optional parameters
|
2359
|
+
# @option opts [Integer] :limit The number of relationships per page; must be between 10 and 200, default is 100)
|
2360
|
+
# @option opts [String] :cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
2361
|
+
# @return [CursorRelationshipListing]
|
2362
|
+
def get_externalcontacts_scan_relationships(opts = {})
|
2363
|
+
data, _status_code, _headers = get_externalcontacts_scan_relationships_with_http_info(opts)
|
2364
|
+
return data
|
2365
|
+
end
|
2366
|
+
|
2367
|
+
# Scan for relationships
|
2368
|
+
#
|
2369
|
+
# @param [Hash] opts the optional parameters
|
2370
|
+
# @option opts [Integer] :limit The number of relationships per page; must be between 10 and 200, default is 100)
|
2371
|
+
# @option opts [String] :cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
2372
|
+
# @return [Array<(CursorRelationshipListing, Fixnum, Hash)>] CursorRelationshipListing data, response status code and response headers
|
2373
|
+
def get_externalcontacts_scan_relationships_with_http_info(opts = {})
|
2374
|
+
if @api_client.config.debugging
|
2375
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi.get_externalcontacts_scan_relationships ..."
|
2376
|
+
end
|
2377
|
+
|
2378
|
+
|
2379
|
+
|
2380
|
+
|
2381
|
+
|
2382
|
+
|
2383
|
+
|
2384
|
+
|
2385
|
+
|
2386
|
+
|
2387
|
+
|
2388
|
+
|
2389
|
+
|
2390
|
+
# resource path
|
2391
|
+
local_var_path = "/api/v2/externalcontacts/scan/relationships".sub('{format}','json')
|
2392
|
+
|
2393
|
+
# query parameters
|
2394
|
+
query_params = {}
|
2395
|
+
query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
|
2396
|
+
query_params[:'cursor'] = opts[:'cursor'] if opts[:'cursor']
|
2397
|
+
|
2398
|
+
# header parameters
|
2399
|
+
header_params = {}
|
2400
|
+
|
2401
|
+
# HTTP header 'Accept' (if needed)
|
2402
|
+
local_header_accept = ['application/json']
|
2403
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2404
|
+
|
2405
|
+
# HTTP header 'Content-Type'
|
2406
|
+
local_header_content_type = ['application/json']
|
2407
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2408
|
+
|
2409
|
+
# form parameters
|
2410
|
+
form_params = {}
|
2411
|
+
|
2412
|
+
# http body (model)
|
2413
|
+
post_body = nil
|
2414
|
+
|
2415
|
+
auth_names = ['PureCloud OAuth']
|
2416
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
2417
|
+
:header_params => header_params,
|
2418
|
+
:query_params => query_params,
|
2419
|
+
:form_params => form_params,
|
2420
|
+
:body => post_body,
|
2421
|
+
:auth_names => auth_names,
|
2422
|
+
:return_type => 'CursorRelationshipListing')
|
2423
|
+
if @api_client.config.debugging
|
2424
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#get_externalcontacts_scan_relationships\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2425
|
+
end
|
2426
|
+
return data, status_code, headers
|
2427
|
+
end
|
2428
|
+
|
2137
2429
|
# Create a note for an external contact
|
2138
2430
|
#
|
2139
2431
|
# @param contact_id ExternalContact Id
|
@@ -2844,39 +3136,39 @@ module PureCloud
|
|
2844
3136
|
return data, status_code, headers
|
2845
3137
|
end
|
2846
3138
|
|
2847
|
-
# Associate an external contact with a conversation
|
2848
|
-
#
|
2849
|
-
# @param conversation_id Conversation ID
|
3139
|
+
# Associate/disassociate an external contact with a conversation
|
3140
|
+
# To associate, supply a value for the externalContactId. To disassociate, do not include the property at all.
|
2850
3141
|
# @param body ConversationAssociation
|
3142
|
+
# @param conversation_id Conversation ID
|
2851
3143
|
# @param [Hash] opts the optional parameters
|
2852
3144
|
# @return [nil]
|
2853
|
-
def put_externalcontacts_conversation(
|
2854
|
-
put_externalcontacts_conversation_with_http_info(
|
3145
|
+
def put_externalcontacts_conversation(body, conversation_id, opts = {})
|
3146
|
+
put_externalcontacts_conversation_with_http_info(body, conversation_id, opts)
|
2855
3147
|
return nil
|
2856
3148
|
end
|
2857
3149
|
|
2858
|
-
# Associate an external contact with a conversation
|
2859
|
-
#
|
2860
|
-
# @param conversation_id Conversation ID
|
3150
|
+
# Associate/disassociate an external contact with a conversation
|
3151
|
+
# To associate, supply a value for the externalContactId. To disassociate, do not include the property at all.
|
2861
3152
|
# @param body ConversationAssociation
|
3153
|
+
# @param conversation_id Conversation ID
|
2862
3154
|
# @param [Hash] opts the optional parameters
|
2863
3155
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2864
|
-
def put_externalcontacts_conversation_with_http_info(
|
3156
|
+
def put_externalcontacts_conversation_with_http_info(body, conversation_id, opts = {})
|
2865
3157
|
if @api_client.config.debugging
|
2866
3158
|
@api_client.config.logger.debug "Calling API: ExternalContactsApi.put_externalcontacts_conversation ..."
|
2867
3159
|
end
|
2868
3160
|
|
2869
3161
|
|
2870
|
-
# verify the required parameter '
|
2871
|
-
fail ArgumentError, "Missing the required parameter '
|
3162
|
+
# verify the required parameter 'body' is set
|
3163
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ExternalContactsApi.put_externalcontacts_conversation" if body.nil?
|
2872
3164
|
|
2873
3165
|
|
2874
3166
|
|
2875
3167
|
|
2876
3168
|
|
2877
3169
|
|
2878
|
-
# verify the required parameter '
|
2879
|
-
fail ArgumentError, "Missing the required parameter '
|
3170
|
+
# verify the required parameter 'conversation_id' is set
|
3171
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ExternalContactsApi.put_externalcontacts_conversation" if conversation_id.nil?
|
2880
3172
|
|
2881
3173
|
|
2882
3174
|
|