purecloudplatformclientv2 58.0.1 → 59.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/ActionEntityListing.md +1 -1
- data/docs/{Skill.md → AddressableEntityRef.md} +2 -2
- data/docs/Agent.md +1 -2
- data/docs/AgentActivityEntityListing.md +1 -1
- data/docs/ArchitectApi.md +298 -14
- data/docs/AsyncConversationQuery.md +21 -0
- data/docs/AttemptLimitsEntityListing.md +1 -1
- data/docs/AuthzDivisionEntityListing.md +1 -1
- data/docs/CalibrationEntityListing.md +1 -1
- data/docs/CallConversationEntityListing.md +1 -1
- data/docs/CallHistoryConversation.md +1 -0
- data/docs/CallHistoryConversationEntityListing.md +1 -1
- data/docs/CallHistoryParticipant.md +1 -0
- data/docs/CallableTimeSetEntityListing.md +1 -1
- data/docs/CallbackConversationEntityListing.md +1 -1
- 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/ClientAppEntityListing.md +1 -1
- data/docs/CobrowseConversationEntityListing.md +1 -1
- data/docs/CommandStatusEntityListing.md +1 -1
- data/docs/ConsumedResourcesEntityListing.md +1 -1
- data/docs/ConsumingResourcesEntityListing.md +1 -1
- 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/Conversation.md +1 -0
- data/docs/ConversationBasic.md +1 -0
- data/docs/ConversationChatEventTopicChatMediaParticipant.md +1 -0
- data/docs/ConversationEntityListing.md +1 -1
- data/docs/ConversationEventTopicChat.md +1 -0
- data/docs/ConversationProperties.md +1 -0
- data/docs/ConversationRoutingData.md +3 -3
- data/docs/CreateManagementUnitApiRequest.md +1 -1
- data/docs/CreateUser.md +1 -1
- 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/DataSchema.md +4 -5
- 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/DialogflowAgent.md +18 -0
- data/docs/DialogflowAgentSummary.md +17 -0
- data/docs/DialogflowAgentSummaryEntityListing.md +22 -0
- data/docs/DialogflowIntent.md +14 -0
- data/docs/DialogflowParameter.md +14 -0
- data/docs/DialogflowProject.md +14 -0
- 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/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/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 +1 -0
- data/docs/EmailMessage.md +1 -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/ExecuteRecordingJobsQuery.md +13 -0
- 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/FlowDivisionViewEntityListing.md +1 -1
- data/docs/FlowEntityListing.md +1 -1
- data/docs/FlowOutcome.md +17 -0
- data/docs/FlowOutcomeListing.md +22 -0
- 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/IntegrationTypeEntityListing.md +1 -1
- data/docs/IntegrationsApi.md +762 -0
- 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/LanguageOverride.md +15 -0
- data/docs/LexBot.md +16 -0
- data/docs/LexBotAlias.md +21 -0
- data/docs/LexBotAliasEntityListing.md +22 -0
- data/docs/LexBotEntityListing.md +22 -0
- data/docs/LexIntent.md +16 -0
- data/docs/LexSlot.md +16 -0
- 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/LocationDefinition.md +2 -0
- data/docs/LocationEntityListing.md +1 -1
- data/docs/LocationImage.md +14 -0
- data/docs/LocationsApi.md +6 -2
- data/docs/LogicalInterfaceEntityListing.md +1 -1
- data/docs/ManagementUnit.md +5 -6
- data/docs/ManagementUnitListing.md +1 -1
- data/docs/MessageConversationEntityListing.md +1 -1
- data/docs/MessagingApi.md +1211 -134
- data/docs/MessagingIntegration.md +23 -0
- data/docs/MessagingIntegrationEntityListing.md +22 -0
- data/docs/MessagingStickerEntityListing.md +1 -1
- data/docs/MoveManagementUnitRequest.md +13 -0
- data/docs/MoveManagementUnitResponse.md +14 -0
- data/docs/NoteListing.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/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/PolicyEntityListing.md +1 -1
- data/docs/PromptAssetEntityListing.md +1 -1
- data/docs/PromptEntityListing.md +1 -1
- data/docs/QualityAudit.md +1 -0
- data/docs/QualityAuditPage.md +1 -1
- data/docs/QueueConversationChatEventTopicChatMediaParticipant.md +1 -0
- data/docs/QueueConversationEventTopicChat.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicChat.md +1 -0
- data/docs/QueueConversationVideoEventTopicChat.md +1 -0
- data/docs/QueueEntityListing.md +1 -1
- data/docs/QueueMemberEntityListing.md +1 -1
- data/docs/RecipientListing.md +1 -1
- data/docs/RecordingApi.md +335 -0
- data/docs/RecordingJob.md +23 -0
- data/docs/RecordingJobEntityListing.md +22 -0
- data/docs/RecordingJobsQuery.md +15 -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/ResponseEntityList.md +1 -1
- data/docs/ResponseEntityListing.md +1 -1
- data/docs/ResponseSetEntityListing.md +1 -1
- data/docs/RoutingApi.md +1 -1
- data/docs/RuleSetEntityListing.md +1 -1
- data/docs/SCIMApi.md +145 -145
- data/docs/ScheduleEntityListing.md +1 -1
- data/docs/ScheduleGroupEntityListing.md +1 -1
- data/docs/SchemaCategoryEntityListing.md +1 -1
- data/docs/SchemaReferenceEntityListing.md +1 -1
- data/docs/ScoredAgent.md +1 -1
- data/docs/ScreenRecordingSessionListing.md +1 -1
- data/docs/ScriptEntityListing.md +1 -1
- data/docs/SecurityProfileEntityListing.md +1 -1
- data/docs/ShareEntityListing.md +1 -1
- data/docs/SiteEntityListing.md +1 -1
- data/docs/SkillEntityListing.md +1 -1
- data/docs/SmsPhoneNumberEntityListing.md +1 -1
- data/docs/StationEntityListing.md +1 -1
- data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
- data/docs/SubscriptionOverviewUsage.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/TimeZoneEntityListing.md +1 -1
- 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/TtsEngineEntity.md +20 -0
- data/docs/TtsEngineEntityListing.md +22 -0
- data/docs/TtsSettings.md +14 -0
- data/docs/TtsVoiceEntity.md +19 -0
- data/docs/TtsVoiceEntityListing.md +22 -0
- data/docs/TwitterIntegrationEntityListing.md +1 -1
- data/docs/UpdateManagementUnitRequest.md +15 -0
- data/docs/UserActionCategoryEntityListing.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/VoicemailMessageEntityListing.md +1 -1
- data/docs/WebChatMemberInfoEntityList.md +1 -1
- data/docs/WfmMoveManagementUnitTopicBusinessUnit.md +13 -0
- data/docs/WfmMoveManagementUnitTopicMoveManagementUnitNotification.md +14 -0
- data/docs/WfmUserNotificationTopicTimeOffRequestNotification.md +18 -0
- data/docs/WfmUserNotificationTopicWfmUserNotification.md +1 -0
- data/docs/WorkforceManagementApi.md +158 -18
- data/docs/WorkspaceEntityListing.md +1 -1
- data/docs/WorkspaceMemberEntityListing.md +1 -1
- data/docs/WrapupCodeEntityListing.md +1 -1
- data/lib/purecloudplatformclientv2.rb +35 -1
- data/lib/purecloudplatformclientv2/api/architect_api.rb +334 -6
- data/lib/purecloudplatformclientv2/api/integrations_api.rb +851 -0
- data/lib/purecloudplatformclientv2/api/locations_api.rb +9 -0
- data/lib/purecloudplatformclientv2/api/messaging_api.rb +1111 -6
- data/lib/purecloudplatformclientv2/api/recording_api.rb +342 -0
- data/lib/purecloudplatformclientv2/api/routing_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/scim_api.rb +124 -124
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +163 -21
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{skill.rb → addressable_entity_ref.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/agent.rb +8 -32
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/async_conversation_query.rb +448 -0
- 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/calibration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/call_history_conversation.rb +27 -1
- data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/call_history_participant.rb +30 -4
- 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/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/client_app_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
- 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_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.rb +29 -1
- data/lib/purecloudplatformclientv2/models/conversation_basic.rb +29 -1
- data/lib/purecloudplatformclientv2/models/conversation_chat_event_topic_chat_media_participant.rb +29 -4
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_properties.rb +27 -1
- data/lib/purecloudplatformclientv2/models/conversation_routing_data.rb +3 -3
- data/lib/purecloudplatformclientv2/models/create_management_unit_api_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/create_user.rb +5 -0
- 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_schema.rb +5 -31
- 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/dialogflow_agent.rb +335 -0
- data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary.rb +305 -0
- data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/dialogflow_intent.rb +240 -0
- data/lib/purecloudplatformclientv2/models/dialogflow_parameter.rb +238 -0
- data/lib/purecloudplatformclientv2/models/dialogflow_project.rb +226 -0
- 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_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/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 +30 -4
- data/lib/purecloudplatformclientv2/models/email_message.rb +27 -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_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/execute_recording_jobs_query.rb +221 -0
- 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_division_view_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_outcome.rb +309 -0
- data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +428 -0
- 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_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/language_override.rb +269 -0
- data/lib/purecloudplatformclientv2/models/lex_bot.rb +279 -0
- data/lib/purecloudplatformclientv2/models/lex_bot_alias.rb +444 -0
- data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/lex_intent.rb +297 -0
- data/lib/purecloudplatformclientv2/models/lex_slot.rb +290 -0
- 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_definition.rb +56 -1
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/location_image.rb +227 -0
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/management_unit.rb +21 -57
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/messaging_integration.rb +510 -0
- data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/move_management_unit_request.rb +207 -0
- data/lib/purecloudplatformclientv2/models/move_management_unit_response.rb +242 -0
- 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/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/physical_interface_entity_listing.rb +12 -12
- 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.rb +26 -1
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
- data/lib/purecloudplatformclientv2/models/queue_conversation_chat_event_topic_chat_media_participant.rb +29 -4
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_chat.rb +26 -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/recipient_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/recording_job.rb +480 -0
- data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/recording_jobs_query.rb +283 -0
- 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_export_job_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +2 -2
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +2 -2
- 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/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/schema_category_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/scored_agent.rb +1 -1
- 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/share_entity_listing.rb +12 -12
- 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_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 +30 -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_zone_entity_listing.rb +12 -12
- 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/trustor_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/tts_engine_entity.rb +399 -0
- data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/tts_settings.rb +240 -0
- data/lib/purecloudplatformclientv2/models/tts_voice_entity.rb +372 -0
- data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/update_management_unit_request.rb +254 -0
- data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +12 -12
- 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/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_move_management_unit_topic_business_unit.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wfm_move_management_unit_topic_move_management_unit_notification.rb +240 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_notification_topic_time_off_request_notification.rb +344 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_notification_topic_wfm_user_notification.rb +28 -3
- 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 +72 -4
@@ -92,6 +92,7 @@ module PureCloud
|
|
92
92
|
#
|
93
93
|
# @param location_id Location ID
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
|
+
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
95
96
|
# @return [LocationDefinition]
|
96
97
|
def get_location(location_id, opts = {})
|
97
98
|
data, _status_code, _headers = get_location_with_http_info(location_id, opts)
|
@@ -102,6 +103,7 @@ module PureCloud
|
|
102
103
|
#
|
103
104
|
# @param location_id Location ID
|
104
105
|
# @param [Hash] opts the optional parameters
|
106
|
+
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
105
107
|
# @return [Array<(LocationDefinition, Fixnum, Hash)>] LocationDefinition data, response status code and response headers
|
106
108
|
def get_location_with_http_info(location_id, opts = {})
|
107
109
|
if @api_client.config.debugging
|
@@ -116,11 +118,18 @@ module PureCloud
|
|
116
118
|
|
117
119
|
|
118
120
|
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
119
127
|
# resource path
|
120
128
|
local_var_path = "/api/v2/locations/{locationId}".sub('{format}','json').sub('{' + 'locationId' + '}', location_id.to_s)
|
121
129
|
|
122
130
|
# query parameters
|
123
131
|
query_params = {}
|
132
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
124
133
|
|
125
134
|
# header parameters
|
126
135
|
header_params = {}
|
@@ -24,6 +24,198 @@ module PureCloud
|
|
24
24
|
@api_client = api_client
|
25
25
|
end
|
26
26
|
|
27
|
+
# Delete a Facebook messaging integration
|
28
|
+
#
|
29
|
+
# @param integration_id Integration ID
|
30
|
+
# @param [Hash] opts the optional parameters
|
31
|
+
# @return [nil]
|
32
|
+
def delete_conversations_messaging_integrations_facebook_integration_id(integration_id, opts = {})
|
33
|
+
delete_conversations_messaging_integrations_facebook_integration_id_with_http_info(integration_id, opts)
|
34
|
+
return nil
|
35
|
+
end
|
36
|
+
|
37
|
+
# Delete a Facebook messaging integration
|
38
|
+
#
|
39
|
+
# @param integration_id Integration ID
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
42
|
+
def delete_conversations_messaging_integrations_facebook_integration_id_with_http_info(integration_id, opts = {})
|
43
|
+
if @api_client.config.debugging
|
44
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.delete_conversations_messaging_integrations_facebook_integration_id ..."
|
45
|
+
end
|
46
|
+
|
47
|
+
|
48
|
+
# verify the required parameter 'integration_id' is set
|
49
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling MessagingApi.delete_conversations_messaging_integrations_facebook_integration_id" if integration_id.nil?
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
# resource path
|
56
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/facebook/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
57
|
+
|
58
|
+
# query parameters
|
59
|
+
query_params = {}
|
60
|
+
|
61
|
+
# header parameters
|
62
|
+
header_params = {}
|
63
|
+
|
64
|
+
# HTTP header 'Accept' (if needed)
|
65
|
+
local_header_accept = ['application/json']
|
66
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
67
|
+
|
68
|
+
# HTTP header 'Content-Type'
|
69
|
+
local_header_content_type = ['application/json']
|
70
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
71
|
+
|
72
|
+
# form parameters
|
73
|
+
form_params = {}
|
74
|
+
|
75
|
+
# http body (model)
|
76
|
+
post_body = nil
|
77
|
+
|
78
|
+
auth_names = ['PureCloud OAuth']
|
79
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
80
|
+
:header_params => header_params,
|
81
|
+
:query_params => query_params,
|
82
|
+
:form_params => form_params,
|
83
|
+
:body => post_body,
|
84
|
+
:auth_names => auth_names)
|
85
|
+
if @api_client.config.debugging
|
86
|
+
@api_client.config.logger.debug "API called: MessagingApi#delete_conversations_messaging_integrations_facebook_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
87
|
+
end
|
88
|
+
return data, status_code, headers
|
89
|
+
end
|
90
|
+
|
91
|
+
# Delete a LINE messenger integration
|
92
|
+
#
|
93
|
+
# @param integration_id Integration ID
|
94
|
+
# @param [Hash] opts the optional parameters
|
95
|
+
# @return [nil]
|
96
|
+
def delete_conversations_messaging_integrations_line_integration_id(integration_id, opts = {})
|
97
|
+
delete_conversations_messaging_integrations_line_integration_id_with_http_info(integration_id, opts)
|
98
|
+
return nil
|
99
|
+
end
|
100
|
+
|
101
|
+
# Delete a LINE messenger integration
|
102
|
+
#
|
103
|
+
# @param integration_id Integration ID
|
104
|
+
# @param [Hash] opts the optional parameters
|
105
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
106
|
+
def delete_conversations_messaging_integrations_line_integration_id_with_http_info(integration_id, opts = {})
|
107
|
+
if @api_client.config.debugging
|
108
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.delete_conversations_messaging_integrations_line_integration_id ..."
|
109
|
+
end
|
110
|
+
|
111
|
+
|
112
|
+
# verify the required parameter 'integration_id' is set
|
113
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling MessagingApi.delete_conversations_messaging_integrations_line_integration_id" if integration_id.nil?
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
# resource path
|
120
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/line/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
121
|
+
|
122
|
+
# query parameters
|
123
|
+
query_params = {}
|
124
|
+
|
125
|
+
# header parameters
|
126
|
+
header_params = {}
|
127
|
+
|
128
|
+
# HTTP header 'Accept' (if needed)
|
129
|
+
local_header_accept = ['application/json']
|
130
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
131
|
+
|
132
|
+
# HTTP header 'Content-Type'
|
133
|
+
local_header_content_type = ['application/json']
|
134
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
135
|
+
|
136
|
+
# form parameters
|
137
|
+
form_params = {}
|
138
|
+
|
139
|
+
# http body (model)
|
140
|
+
post_body = nil
|
141
|
+
|
142
|
+
auth_names = ['PureCloud OAuth']
|
143
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
144
|
+
:header_params => header_params,
|
145
|
+
:query_params => query_params,
|
146
|
+
:form_params => form_params,
|
147
|
+
:body => post_body,
|
148
|
+
:auth_names => auth_names)
|
149
|
+
if @api_client.config.debugging
|
150
|
+
@api_client.config.logger.debug "API called: MessagingApi#delete_conversations_messaging_integrations_line_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
151
|
+
end
|
152
|
+
return data, status_code, headers
|
153
|
+
end
|
154
|
+
|
155
|
+
# Delete a Twitter messaging integration
|
156
|
+
#
|
157
|
+
# @param integration_id Integration ID
|
158
|
+
# @param [Hash] opts the optional parameters
|
159
|
+
# @return [nil]
|
160
|
+
def delete_conversations_messaging_integrations_twitter_integration_id(integration_id, opts = {})
|
161
|
+
delete_conversations_messaging_integrations_twitter_integration_id_with_http_info(integration_id, opts)
|
162
|
+
return nil
|
163
|
+
end
|
164
|
+
|
165
|
+
# Delete a Twitter messaging integration
|
166
|
+
#
|
167
|
+
# @param integration_id Integration ID
|
168
|
+
# @param [Hash] opts the optional parameters
|
169
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
170
|
+
def delete_conversations_messaging_integrations_twitter_integration_id_with_http_info(integration_id, opts = {})
|
171
|
+
if @api_client.config.debugging
|
172
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.delete_conversations_messaging_integrations_twitter_integration_id ..."
|
173
|
+
end
|
174
|
+
|
175
|
+
|
176
|
+
# verify the required parameter 'integration_id' is set
|
177
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling MessagingApi.delete_conversations_messaging_integrations_twitter_integration_id" if integration_id.nil?
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
# resource path
|
184
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/twitter/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
185
|
+
|
186
|
+
# query parameters
|
187
|
+
query_params = {}
|
188
|
+
|
189
|
+
# header parameters
|
190
|
+
header_params = {}
|
191
|
+
|
192
|
+
# HTTP header 'Accept' (if needed)
|
193
|
+
local_header_accept = ['application/json']
|
194
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
195
|
+
|
196
|
+
# HTTP header 'Content-Type'
|
197
|
+
local_header_content_type = ['application/json']
|
198
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
199
|
+
|
200
|
+
# form parameters
|
201
|
+
form_params = {}
|
202
|
+
|
203
|
+
# http body (model)
|
204
|
+
post_body = nil
|
205
|
+
|
206
|
+
auth_names = ['PureCloud OAuth']
|
207
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
208
|
+
:header_params => header_params,
|
209
|
+
:query_params => query_params,
|
210
|
+
:form_params => form_params,
|
211
|
+
:body => post_body,
|
212
|
+
:auth_names => auth_names)
|
213
|
+
if @api_client.config.debugging
|
214
|
+
@api_client.config.logger.debug "API called: MessagingApi#delete_conversations_messaging_integrations_twitter_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
215
|
+
end
|
216
|
+
return data, status_code, headers
|
217
|
+
end
|
218
|
+
|
27
219
|
# Delete a Facebook messaging integration
|
28
220
|
#
|
29
221
|
# @param integration_id Integration ID
|
@@ -173,18 +365,660 @@ module PureCloud
|
|
173
365
|
end
|
174
366
|
|
175
367
|
|
176
|
-
# verify the required parameter 'integration_id' is set
|
177
|
-
fail ArgumentError, "Missing the required parameter 'integration_id' when calling MessagingApi.delete_messaging_integrations_twitter_integration_id" if integration_id.nil?
|
368
|
+
# verify the required parameter 'integration_id' is set
|
369
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling MessagingApi.delete_messaging_integrations_twitter_integration_id" if integration_id.nil?
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
|
374
|
+
|
375
|
+
# resource path
|
376
|
+
local_var_path = "/api/v2/messaging/integrations/twitter/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
377
|
+
|
378
|
+
# query parameters
|
379
|
+
query_params = {}
|
380
|
+
|
381
|
+
# header parameters
|
382
|
+
header_params = {}
|
383
|
+
|
384
|
+
# HTTP header 'Accept' (if needed)
|
385
|
+
local_header_accept = ['application/json']
|
386
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
387
|
+
|
388
|
+
# HTTP header 'Content-Type'
|
389
|
+
local_header_content_type = ['application/json']
|
390
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
391
|
+
|
392
|
+
# form parameters
|
393
|
+
form_params = {}
|
394
|
+
|
395
|
+
# http body (model)
|
396
|
+
post_body = nil
|
397
|
+
|
398
|
+
auth_names = ['PureCloud OAuth']
|
399
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
400
|
+
:header_params => header_params,
|
401
|
+
:query_params => query_params,
|
402
|
+
:form_params => form_params,
|
403
|
+
:body => post_body,
|
404
|
+
:auth_names => auth_names)
|
405
|
+
if @api_client.config.debugging
|
406
|
+
@api_client.config.logger.debug "API called: MessagingApi#delete_messaging_integrations_twitter_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
407
|
+
end
|
408
|
+
return data, status_code, headers
|
409
|
+
end
|
410
|
+
|
411
|
+
# Get a list of Integrations
|
412
|
+
#
|
413
|
+
# @param [Hash] opts the optional parameters
|
414
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
415
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
416
|
+
# @return [MessagingIntegrationEntityListing]
|
417
|
+
def get_conversations_messaging_integrations(opts = {})
|
418
|
+
data, _status_code, _headers = get_conversations_messaging_integrations_with_http_info(opts)
|
419
|
+
return data
|
420
|
+
end
|
421
|
+
|
422
|
+
# Get a list of Integrations
|
423
|
+
#
|
424
|
+
# @param [Hash] opts the optional parameters
|
425
|
+
# @option opts [Integer] :page_size Page size
|
426
|
+
# @option opts [Integer] :page_number Page number
|
427
|
+
# @return [Array<(MessagingIntegrationEntityListing, Fixnum, Hash)>] MessagingIntegrationEntityListing data, response status code and response headers
|
428
|
+
def get_conversations_messaging_integrations_with_http_info(opts = {})
|
429
|
+
if @api_client.config.debugging
|
430
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_conversations_messaging_integrations ..."
|
431
|
+
end
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
# resource path
|
446
|
+
local_var_path = "/api/v2/conversations/messaging/integrations".sub('{format}','json')
|
447
|
+
|
448
|
+
# query parameters
|
449
|
+
query_params = {}
|
450
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
451
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
452
|
+
|
453
|
+
# header parameters
|
454
|
+
header_params = {}
|
455
|
+
|
456
|
+
# HTTP header 'Accept' (if needed)
|
457
|
+
local_header_accept = ['application/json']
|
458
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
459
|
+
|
460
|
+
# HTTP header 'Content-Type'
|
461
|
+
local_header_content_type = ['application/json']
|
462
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
463
|
+
|
464
|
+
# form parameters
|
465
|
+
form_params = {}
|
466
|
+
|
467
|
+
# http body (model)
|
468
|
+
post_body = nil
|
469
|
+
|
470
|
+
auth_names = ['PureCloud OAuth']
|
471
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
472
|
+
:header_params => header_params,
|
473
|
+
:query_params => query_params,
|
474
|
+
:form_params => form_params,
|
475
|
+
:body => post_body,
|
476
|
+
:auth_names => auth_names,
|
477
|
+
:return_type => 'MessagingIntegrationEntityListing')
|
478
|
+
if @api_client.config.debugging
|
479
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_conversations_messaging_integrations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
480
|
+
end
|
481
|
+
return data, status_code, headers
|
482
|
+
end
|
483
|
+
|
484
|
+
# Get a list of Facebook Integrations
|
485
|
+
#
|
486
|
+
# @param [Hash] opts the optional parameters
|
487
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
488
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
489
|
+
# @return [FacebookIntegrationEntityListing]
|
490
|
+
def get_conversations_messaging_integrations_facebook(opts = {})
|
491
|
+
data, _status_code, _headers = get_conversations_messaging_integrations_facebook_with_http_info(opts)
|
492
|
+
return data
|
493
|
+
end
|
494
|
+
|
495
|
+
# Get a list of Facebook Integrations
|
496
|
+
#
|
497
|
+
# @param [Hash] opts the optional parameters
|
498
|
+
# @option opts [Integer] :page_size Page size
|
499
|
+
# @option opts [Integer] :page_number Page number
|
500
|
+
# @return [Array<(FacebookIntegrationEntityListing, Fixnum, Hash)>] FacebookIntegrationEntityListing data, response status code and response headers
|
501
|
+
def get_conversations_messaging_integrations_facebook_with_http_info(opts = {})
|
502
|
+
if @api_client.config.debugging
|
503
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_conversations_messaging_integrations_facebook ..."
|
504
|
+
end
|
505
|
+
|
506
|
+
|
507
|
+
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
|
512
|
+
|
513
|
+
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
|
518
|
+
# resource path
|
519
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/facebook".sub('{format}','json')
|
520
|
+
|
521
|
+
# query parameters
|
522
|
+
query_params = {}
|
523
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
524
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
525
|
+
|
526
|
+
# header parameters
|
527
|
+
header_params = {}
|
528
|
+
|
529
|
+
# HTTP header 'Accept' (if needed)
|
530
|
+
local_header_accept = ['application/json']
|
531
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
532
|
+
|
533
|
+
# HTTP header 'Content-Type'
|
534
|
+
local_header_content_type = ['application/json']
|
535
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
536
|
+
|
537
|
+
# form parameters
|
538
|
+
form_params = {}
|
539
|
+
|
540
|
+
# http body (model)
|
541
|
+
post_body = nil
|
542
|
+
|
543
|
+
auth_names = ['PureCloud OAuth']
|
544
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
545
|
+
:header_params => header_params,
|
546
|
+
:query_params => query_params,
|
547
|
+
:form_params => form_params,
|
548
|
+
:body => post_body,
|
549
|
+
:auth_names => auth_names,
|
550
|
+
:return_type => 'FacebookIntegrationEntityListing')
|
551
|
+
if @api_client.config.debugging
|
552
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_conversations_messaging_integrations_facebook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
553
|
+
end
|
554
|
+
return data, status_code, headers
|
555
|
+
end
|
556
|
+
|
557
|
+
# Get a Facebook messaging integration
|
558
|
+
#
|
559
|
+
# @param integration_id Integration ID
|
560
|
+
# @param [Hash] opts the optional parameters
|
561
|
+
# @return [FacebookIntegration]
|
562
|
+
def get_conversations_messaging_integrations_facebook_integration_id(integration_id, opts = {})
|
563
|
+
data, _status_code, _headers = get_conversations_messaging_integrations_facebook_integration_id_with_http_info(integration_id, opts)
|
564
|
+
return data
|
565
|
+
end
|
566
|
+
|
567
|
+
# Get a Facebook messaging integration
|
568
|
+
#
|
569
|
+
# @param integration_id Integration ID
|
570
|
+
# @param [Hash] opts the optional parameters
|
571
|
+
# @return [Array<(FacebookIntegration, Fixnum, Hash)>] FacebookIntegration data, response status code and response headers
|
572
|
+
def get_conversations_messaging_integrations_facebook_integration_id_with_http_info(integration_id, opts = {})
|
573
|
+
if @api_client.config.debugging
|
574
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_conversations_messaging_integrations_facebook_integration_id ..."
|
575
|
+
end
|
576
|
+
|
577
|
+
|
578
|
+
# verify the required parameter 'integration_id' is set
|
579
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling MessagingApi.get_conversations_messaging_integrations_facebook_integration_id" if integration_id.nil?
|
580
|
+
|
581
|
+
|
582
|
+
|
583
|
+
|
584
|
+
|
585
|
+
# resource path
|
586
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/facebook/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
587
|
+
|
588
|
+
# query parameters
|
589
|
+
query_params = {}
|
590
|
+
|
591
|
+
# header parameters
|
592
|
+
header_params = {}
|
593
|
+
|
594
|
+
# HTTP header 'Accept' (if needed)
|
595
|
+
local_header_accept = ['application/json']
|
596
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
597
|
+
|
598
|
+
# HTTP header 'Content-Type'
|
599
|
+
local_header_content_type = ['application/json']
|
600
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
601
|
+
|
602
|
+
# form parameters
|
603
|
+
form_params = {}
|
604
|
+
|
605
|
+
# http body (model)
|
606
|
+
post_body = nil
|
607
|
+
|
608
|
+
auth_names = ['PureCloud OAuth']
|
609
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
610
|
+
:header_params => header_params,
|
611
|
+
:query_params => query_params,
|
612
|
+
:form_params => form_params,
|
613
|
+
:body => post_body,
|
614
|
+
:auth_names => auth_names,
|
615
|
+
:return_type => 'FacebookIntegration')
|
616
|
+
if @api_client.config.debugging
|
617
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_conversations_messaging_integrations_facebook_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
618
|
+
end
|
619
|
+
return data, status_code, headers
|
620
|
+
end
|
621
|
+
|
622
|
+
# Get a list of LINE messenger Integrations
|
623
|
+
#
|
624
|
+
# @param [Hash] opts the optional parameters
|
625
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
626
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
627
|
+
# @return [LineIntegrationEntityListing]
|
628
|
+
def get_conversations_messaging_integrations_line(opts = {})
|
629
|
+
data, _status_code, _headers = get_conversations_messaging_integrations_line_with_http_info(opts)
|
630
|
+
return data
|
631
|
+
end
|
632
|
+
|
633
|
+
# Get a list of LINE messenger Integrations
|
634
|
+
#
|
635
|
+
# @param [Hash] opts the optional parameters
|
636
|
+
# @option opts [Integer] :page_size Page size
|
637
|
+
# @option opts [Integer] :page_number Page number
|
638
|
+
# @return [Array<(LineIntegrationEntityListing, Fixnum, Hash)>] LineIntegrationEntityListing data, response status code and response headers
|
639
|
+
def get_conversations_messaging_integrations_line_with_http_info(opts = {})
|
640
|
+
if @api_client.config.debugging
|
641
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_conversations_messaging_integrations_line ..."
|
642
|
+
end
|
643
|
+
|
644
|
+
|
645
|
+
|
646
|
+
|
647
|
+
|
648
|
+
|
649
|
+
|
650
|
+
|
651
|
+
|
652
|
+
|
653
|
+
|
654
|
+
|
655
|
+
|
656
|
+
# resource path
|
657
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/line".sub('{format}','json')
|
658
|
+
|
659
|
+
# query parameters
|
660
|
+
query_params = {}
|
661
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
662
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
663
|
+
|
664
|
+
# header parameters
|
665
|
+
header_params = {}
|
666
|
+
|
667
|
+
# HTTP header 'Accept' (if needed)
|
668
|
+
local_header_accept = ['application/json']
|
669
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
670
|
+
|
671
|
+
# HTTP header 'Content-Type'
|
672
|
+
local_header_content_type = ['application/json']
|
673
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
674
|
+
|
675
|
+
# form parameters
|
676
|
+
form_params = {}
|
677
|
+
|
678
|
+
# http body (model)
|
679
|
+
post_body = nil
|
680
|
+
|
681
|
+
auth_names = ['PureCloud OAuth']
|
682
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
683
|
+
:header_params => header_params,
|
684
|
+
:query_params => query_params,
|
685
|
+
:form_params => form_params,
|
686
|
+
:body => post_body,
|
687
|
+
:auth_names => auth_names,
|
688
|
+
:return_type => 'LineIntegrationEntityListing')
|
689
|
+
if @api_client.config.debugging
|
690
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_conversations_messaging_integrations_line\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
691
|
+
end
|
692
|
+
return data, status_code, headers
|
693
|
+
end
|
694
|
+
|
695
|
+
# Get a LINE messenger integration
|
696
|
+
#
|
697
|
+
# @param integration_id Integration ID
|
698
|
+
# @param [Hash] opts the optional parameters
|
699
|
+
# @return [LineIntegration]
|
700
|
+
def get_conversations_messaging_integrations_line_integration_id(integration_id, opts = {})
|
701
|
+
data, _status_code, _headers = get_conversations_messaging_integrations_line_integration_id_with_http_info(integration_id, opts)
|
702
|
+
return data
|
703
|
+
end
|
704
|
+
|
705
|
+
# Get a LINE messenger integration
|
706
|
+
#
|
707
|
+
# @param integration_id Integration ID
|
708
|
+
# @param [Hash] opts the optional parameters
|
709
|
+
# @return [Array<(LineIntegration, Fixnum, Hash)>] LineIntegration data, response status code and response headers
|
710
|
+
def get_conversations_messaging_integrations_line_integration_id_with_http_info(integration_id, opts = {})
|
711
|
+
if @api_client.config.debugging
|
712
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_conversations_messaging_integrations_line_integration_id ..."
|
713
|
+
end
|
714
|
+
|
715
|
+
|
716
|
+
# verify the required parameter 'integration_id' is set
|
717
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling MessagingApi.get_conversations_messaging_integrations_line_integration_id" if integration_id.nil?
|
718
|
+
|
719
|
+
|
720
|
+
|
721
|
+
|
722
|
+
|
723
|
+
# resource path
|
724
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/line/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
725
|
+
|
726
|
+
# query parameters
|
727
|
+
query_params = {}
|
728
|
+
|
729
|
+
# header parameters
|
730
|
+
header_params = {}
|
731
|
+
|
732
|
+
# HTTP header 'Accept' (if needed)
|
733
|
+
local_header_accept = ['application/json']
|
734
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
735
|
+
|
736
|
+
# HTTP header 'Content-Type'
|
737
|
+
local_header_content_type = ['application/json']
|
738
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
739
|
+
|
740
|
+
# form parameters
|
741
|
+
form_params = {}
|
742
|
+
|
743
|
+
# http body (model)
|
744
|
+
post_body = nil
|
745
|
+
|
746
|
+
auth_names = ['PureCloud OAuth']
|
747
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
748
|
+
:header_params => header_params,
|
749
|
+
:query_params => query_params,
|
750
|
+
:form_params => form_params,
|
751
|
+
:body => post_body,
|
752
|
+
:auth_names => auth_names,
|
753
|
+
:return_type => 'LineIntegration')
|
754
|
+
if @api_client.config.debugging
|
755
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_conversations_messaging_integrations_line_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
756
|
+
end
|
757
|
+
return data, status_code, headers
|
758
|
+
end
|
759
|
+
|
760
|
+
# Get a list of Twitter Integrations
|
761
|
+
#
|
762
|
+
# @param [Hash] opts the optional parameters
|
763
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
764
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
765
|
+
# @return [TwitterIntegrationEntityListing]
|
766
|
+
def get_conversations_messaging_integrations_twitter(opts = {})
|
767
|
+
data, _status_code, _headers = get_conversations_messaging_integrations_twitter_with_http_info(opts)
|
768
|
+
return data
|
769
|
+
end
|
770
|
+
|
771
|
+
# Get a list of Twitter Integrations
|
772
|
+
#
|
773
|
+
# @param [Hash] opts the optional parameters
|
774
|
+
# @option opts [Integer] :page_size Page size
|
775
|
+
# @option opts [Integer] :page_number Page number
|
776
|
+
# @return [Array<(TwitterIntegrationEntityListing, Fixnum, Hash)>] TwitterIntegrationEntityListing data, response status code and response headers
|
777
|
+
def get_conversations_messaging_integrations_twitter_with_http_info(opts = {})
|
778
|
+
if @api_client.config.debugging
|
779
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_conversations_messaging_integrations_twitter ..."
|
780
|
+
end
|
781
|
+
|
782
|
+
|
783
|
+
|
784
|
+
|
785
|
+
|
786
|
+
|
787
|
+
|
788
|
+
|
789
|
+
|
790
|
+
|
791
|
+
|
792
|
+
|
793
|
+
|
794
|
+
# resource path
|
795
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/twitter".sub('{format}','json')
|
796
|
+
|
797
|
+
# query parameters
|
798
|
+
query_params = {}
|
799
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
800
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
801
|
+
|
802
|
+
# header parameters
|
803
|
+
header_params = {}
|
804
|
+
|
805
|
+
# HTTP header 'Accept' (if needed)
|
806
|
+
local_header_accept = ['application/json']
|
807
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
808
|
+
|
809
|
+
# HTTP header 'Content-Type'
|
810
|
+
local_header_content_type = ['application/json']
|
811
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
812
|
+
|
813
|
+
# form parameters
|
814
|
+
form_params = {}
|
815
|
+
|
816
|
+
# http body (model)
|
817
|
+
post_body = nil
|
818
|
+
|
819
|
+
auth_names = ['PureCloud OAuth']
|
820
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
821
|
+
:header_params => header_params,
|
822
|
+
:query_params => query_params,
|
823
|
+
:form_params => form_params,
|
824
|
+
:body => post_body,
|
825
|
+
:auth_names => auth_names,
|
826
|
+
:return_type => 'TwitterIntegrationEntityListing')
|
827
|
+
if @api_client.config.debugging
|
828
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_conversations_messaging_integrations_twitter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
829
|
+
end
|
830
|
+
return data, status_code, headers
|
831
|
+
end
|
832
|
+
|
833
|
+
# Get a Twitter messaging integration
|
834
|
+
#
|
835
|
+
# @param integration_id Integration ID
|
836
|
+
# @param [Hash] opts the optional parameters
|
837
|
+
# @return [TwitterIntegration]
|
838
|
+
def get_conversations_messaging_integrations_twitter_integration_id(integration_id, opts = {})
|
839
|
+
data, _status_code, _headers = get_conversations_messaging_integrations_twitter_integration_id_with_http_info(integration_id, opts)
|
840
|
+
return data
|
841
|
+
end
|
842
|
+
|
843
|
+
# Get a Twitter messaging integration
|
844
|
+
#
|
845
|
+
# @param integration_id Integration ID
|
846
|
+
# @param [Hash] opts the optional parameters
|
847
|
+
# @return [Array<(TwitterIntegration, Fixnum, Hash)>] TwitterIntegration data, response status code and response headers
|
848
|
+
def get_conversations_messaging_integrations_twitter_integration_id_with_http_info(integration_id, opts = {})
|
849
|
+
if @api_client.config.debugging
|
850
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_conversations_messaging_integrations_twitter_integration_id ..."
|
851
|
+
end
|
852
|
+
|
853
|
+
|
854
|
+
# verify the required parameter 'integration_id' is set
|
855
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling MessagingApi.get_conversations_messaging_integrations_twitter_integration_id" if integration_id.nil?
|
856
|
+
|
857
|
+
|
858
|
+
|
859
|
+
|
860
|
+
|
861
|
+
# resource path
|
862
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/twitter/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
863
|
+
|
864
|
+
# query parameters
|
865
|
+
query_params = {}
|
866
|
+
|
867
|
+
# header parameters
|
868
|
+
header_params = {}
|
869
|
+
|
870
|
+
# HTTP header 'Accept' (if needed)
|
871
|
+
local_header_accept = ['application/json']
|
872
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
873
|
+
|
874
|
+
# HTTP header 'Content-Type'
|
875
|
+
local_header_content_type = ['application/json']
|
876
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
877
|
+
|
878
|
+
# form parameters
|
879
|
+
form_params = {}
|
880
|
+
|
881
|
+
# http body (model)
|
882
|
+
post_body = nil
|
883
|
+
|
884
|
+
auth_names = ['PureCloud OAuth']
|
885
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
886
|
+
:header_params => header_params,
|
887
|
+
:query_params => query_params,
|
888
|
+
:form_params => form_params,
|
889
|
+
:body => post_body,
|
890
|
+
:auth_names => auth_names,
|
891
|
+
:return_type => 'TwitterIntegration')
|
892
|
+
if @api_client.config.debugging
|
893
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_conversations_messaging_integrations_twitter_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
894
|
+
end
|
895
|
+
return data, status_code, headers
|
896
|
+
end
|
897
|
+
|
898
|
+
# Get a list of Messaging Stickers
|
899
|
+
#
|
900
|
+
# @param messenger_type Messenger Type
|
901
|
+
# @param [Hash] opts the optional parameters
|
902
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
903
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
904
|
+
# @return [MessagingStickerEntityListing]
|
905
|
+
def get_conversations_messaging_sticker(messenger_type, opts = {})
|
906
|
+
data, _status_code, _headers = get_conversations_messaging_sticker_with_http_info(messenger_type, opts)
|
907
|
+
return data
|
908
|
+
end
|
909
|
+
|
910
|
+
# Get a list of Messaging Stickers
|
911
|
+
#
|
912
|
+
# @param messenger_type Messenger Type
|
913
|
+
# @param [Hash] opts the optional parameters
|
914
|
+
# @option opts [Integer] :page_size Page size
|
915
|
+
# @option opts [Integer] :page_number Page number
|
916
|
+
# @return [Array<(MessagingStickerEntityListing, Fixnum, Hash)>] MessagingStickerEntityListing data, response status code and response headers
|
917
|
+
def get_conversations_messaging_sticker_with_http_info(messenger_type, opts = {})
|
918
|
+
if @api_client.config.debugging
|
919
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_conversations_messaging_sticker ..."
|
920
|
+
end
|
921
|
+
|
922
|
+
|
923
|
+
# verify the required parameter 'messenger_type' is set
|
924
|
+
fail ArgumentError, "Missing the required parameter 'messenger_type' when calling MessagingApi.get_conversations_messaging_sticker" if messenger_type.nil?
|
925
|
+
|
926
|
+
|
927
|
+
|
928
|
+
|
929
|
+
|
930
|
+
|
931
|
+
|
932
|
+
|
933
|
+
|
934
|
+
|
935
|
+
|
936
|
+
|
937
|
+
|
938
|
+
|
939
|
+
|
940
|
+
|
941
|
+
|
942
|
+
# resource path
|
943
|
+
local_var_path = "/api/v2/conversations/messaging/stickers/{messengerType}".sub('{format}','json').sub('{' + 'messengerType' + '}', messenger_type.to_s)
|
944
|
+
|
945
|
+
# query parameters
|
946
|
+
query_params = {}
|
947
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
948
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
949
|
+
|
950
|
+
# header parameters
|
951
|
+
header_params = {}
|
952
|
+
|
953
|
+
# HTTP header 'Accept' (if needed)
|
954
|
+
local_header_accept = ['application/json']
|
955
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
956
|
+
|
957
|
+
# HTTP header 'Content-Type'
|
958
|
+
local_header_content_type = ['application/json']
|
959
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
960
|
+
|
961
|
+
# form parameters
|
962
|
+
form_params = {}
|
963
|
+
|
964
|
+
# http body (model)
|
965
|
+
post_body = nil
|
966
|
+
|
967
|
+
auth_names = ['PureCloud OAuth']
|
968
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
969
|
+
:header_params => header_params,
|
970
|
+
:query_params => query_params,
|
971
|
+
:form_params => form_params,
|
972
|
+
:body => post_body,
|
973
|
+
:auth_names => auth_names,
|
974
|
+
:return_type => 'MessagingStickerEntityListing')
|
975
|
+
if @api_client.config.debugging
|
976
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_conversations_messaging_sticker\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
977
|
+
end
|
978
|
+
return data, status_code, headers
|
979
|
+
end
|
980
|
+
|
981
|
+
# Get a list of Integrations
|
982
|
+
#
|
983
|
+
# @param [Hash] opts the optional parameters
|
984
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
985
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
986
|
+
# @return [MessagingIntegrationEntityListing]
|
987
|
+
def get_messaging_integrations(opts = {})
|
988
|
+
data, _status_code, _headers = get_messaging_integrations_with_http_info(opts)
|
989
|
+
return data
|
990
|
+
end
|
991
|
+
|
992
|
+
# Get a list of Integrations
|
993
|
+
#
|
994
|
+
# @param [Hash] opts the optional parameters
|
995
|
+
# @option opts [Integer] :page_size Page size
|
996
|
+
# @option opts [Integer] :page_number Page number
|
997
|
+
# @return [Array<(MessagingIntegrationEntityListing, Fixnum, Hash)>] MessagingIntegrationEntityListing data, response status code and response headers
|
998
|
+
def get_messaging_integrations_with_http_info(opts = {})
|
999
|
+
if @api_client.config.debugging
|
1000
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_messaging_integrations ..."
|
1001
|
+
end
|
1002
|
+
|
1003
|
+
|
1004
|
+
|
1005
|
+
|
1006
|
+
|
1007
|
+
|
1008
|
+
|
1009
|
+
|
178
1010
|
|
179
1011
|
|
180
1012
|
|
181
1013
|
|
182
1014
|
|
183
1015
|
# resource path
|
184
|
-
local_var_path = "/api/v2/messaging/integrations
|
1016
|
+
local_var_path = "/api/v2/messaging/integrations".sub('{format}','json')
|
185
1017
|
|
186
1018
|
# query parameters
|
187
1019
|
query_params = {}
|
1020
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
1021
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
188
1022
|
|
189
1023
|
# header parameters
|
190
1024
|
header_params = {}
|
@@ -204,14 +1038,15 @@ module PureCloud
|
|
204
1038
|
post_body = nil
|
205
1039
|
|
206
1040
|
auth_names = ['PureCloud OAuth']
|
207
|
-
data, status_code, headers = @api_client.call_api(:
|
1041
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
208
1042
|
:header_params => header_params,
|
209
1043
|
:query_params => query_params,
|
210
1044
|
:form_params => form_params,
|
211
1045
|
:body => post_body,
|
212
|
-
:auth_names => auth_names
|
1046
|
+
:auth_names => auth_names,
|
1047
|
+
:return_type => 'MessagingIntegrationEntityListing')
|
213
1048
|
if @api_client.config.debugging
|
214
|
-
@api_client.config.logger.debug "API called: MessagingApi#
|
1049
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_messaging_integrations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
215
1050
|
end
|
216
1051
|
return data, status_code, headers
|
217
1052
|
end
|
@@ -713,6 +1548,201 @@ module PureCloud
|
|
713
1548
|
return data, status_code, headers
|
714
1549
|
end
|
715
1550
|
|
1551
|
+
# Create a Facebook Integration
|
1552
|
+
#
|
1553
|
+
# @param body FacebookIntegrationRequest
|
1554
|
+
# @param [Hash] opts the optional parameters
|
1555
|
+
# @return [FacebookIntegration]
|
1556
|
+
def post_conversations_messaging_integrations_facebook(body, opts = {})
|
1557
|
+
data, _status_code, _headers = post_conversations_messaging_integrations_facebook_with_http_info(body, opts)
|
1558
|
+
return data
|
1559
|
+
end
|
1560
|
+
|
1561
|
+
# Create a Facebook Integration
|
1562
|
+
#
|
1563
|
+
# @param body FacebookIntegrationRequest
|
1564
|
+
# @param [Hash] opts the optional parameters
|
1565
|
+
# @return [Array<(FacebookIntegration, Fixnum, Hash)>] FacebookIntegration data, response status code and response headers
|
1566
|
+
def post_conversations_messaging_integrations_facebook_with_http_info(body, opts = {})
|
1567
|
+
if @api_client.config.debugging
|
1568
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.post_conversations_messaging_integrations_facebook ..."
|
1569
|
+
end
|
1570
|
+
|
1571
|
+
|
1572
|
+
# verify the required parameter 'body' is set
|
1573
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling MessagingApi.post_conversations_messaging_integrations_facebook" if body.nil?
|
1574
|
+
|
1575
|
+
|
1576
|
+
|
1577
|
+
|
1578
|
+
|
1579
|
+
# resource path
|
1580
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/facebook".sub('{format}','json')
|
1581
|
+
|
1582
|
+
# query parameters
|
1583
|
+
query_params = {}
|
1584
|
+
|
1585
|
+
# header parameters
|
1586
|
+
header_params = {}
|
1587
|
+
|
1588
|
+
# HTTP header 'Accept' (if needed)
|
1589
|
+
local_header_accept = ['application/json']
|
1590
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1591
|
+
|
1592
|
+
# HTTP header 'Content-Type'
|
1593
|
+
local_header_content_type = ['application/json']
|
1594
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1595
|
+
|
1596
|
+
# form parameters
|
1597
|
+
form_params = {}
|
1598
|
+
|
1599
|
+
# http body (model)
|
1600
|
+
post_body = @api_client.object_to_http_body(body)
|
1601
|
+
|
1602
|
+
auth_names = ['PureCloud OAuth']
|
1603
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1604
|
+
:header_params => header_params,
|
1605
|
+
:query_params => query_params,
|
1606
|
+
:form_params => form_params,
|
1607
|
+
:body => post_body,
|
1608
|
+
:auth_names => auth_names,
|
1609
|
+
:return_type => 'FacebookIntegration')
|
1610
|
+
if @api_client.config.debugging
|
1611
|
+
@api_client.config.logger.debug "API called: MessagingApi#post_conversations_messaging_integrations_facebook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1612
|
+
end
|
1613
|
+
return data, status_code, headers
|
1614
|
+
end
|
1615
|
+
|
1616
|
+
# Create a LINE messenger Integration
|
1617
|
+
#
|
1618
|
+
# @param body LineIntegrationRequest
|
1619
|
+
# @param [Hash] opts the optional parameters
|
1620
|
+
# @return [LineIntegration]
|
1621
|
+
def post_conversations_messaging_integrations_line(body, opts = {})
|
1622
|
+
data, _status_code, _headers = post_conversations_messaging_integrations_line_with_http_info(body, opts)
|
1623
|
+
return data
|
1624
|
+
end
|
1625
|
+
|
1626
|
+
# Create a LINE messenger Integration
|
1627
|
+
#
|
1628
|
+
# @param body LineIntegrationRequest
|
1629
|
+
# @param [Hash] opts the optional parameters
|
1630
|
+
# @return [Array<(LineIntegration, Fixnum, Hash)>] LineIntegration data, response status code and response headers
|
1631
|
+
def post_conversations_messaging_integrations_line_with_http_info(body, opts = {})
|
1632
|
+
if @api_client.config.debugging
|
1633
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.post_conversations_messaging_integrations_line ..."
|
1634
|
+
end
|
1635
|
+
|
1636
|
+
|
1637
|
+
# verify the required parameter 'body' is set
|
1638
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling MessagingApi.post_conversations_messaging_integrations_line" if body.nil?
|
1639
|
+
|
1640
|
+
|
1641
|
+
|
1642
|
+
|
1643
|
+
|
1644
|
+
# resource path
|
1645
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/line".sub('{format}','json')
|
1646
|
+
|
1647
|
+
# query parameters
|
1648
|
+
query_params = {}
|
1649
|
+
|
1650
|
+
# header parameters
|
1651
|
+
header_params = {}
|
1652
|
+
|
1653
|
+
# HTTP header 'Accept' (if needed)
|
1654
|
+
local_header_accept = ['application/json']
|
1655
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1656
|
+
|
1657
|
+
# HTTP header 'Content-Type'
|
1658
|
+
local_header_content_type = ['application/json']
|
1659
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1660
|
+
|
1661
|
+
# form parameters
|
1662
|
+
form_params = {}
|
1663
|
+
|
1664
|
+
# http body (model)
|
1665
|
+
post_body = @api_client.object_to_http_body(body)
|
1666
|
+
|
1667
|
+
auth_names = ['PureCloud OAuth']
|
1668
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1669
|
+
:header_params => header_params,
|
1670
|
+
:query_params => query_params,
|
1671
|
+
:form_params => form_params,
|
1672
|
+
:body => post_body,
|
1673
|
+
:auth_names => auth_names,
|
1674
|
+
:return_type => 'LineIntegration')
|
1675
|
+
if @api_client.config.debugging
|
1676
|
+
@api_client.config.logger.debug "API called: MessagingApi#post_conversations_messaging_integrations_line\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1677
|
+
end
|
1678
|
+
return data, status_code, headers
|
1679
|
+
end
|
1680
|
+
|
1681
|
+
# Create a Twitter Integration
|
1682
|
+
#
|
1683
|
+
# @param body TwitterIntegrationRequest
|
1684
|
+
# @param [Hash] opts the optional parameters
|
1685
|
+
# @return [TwitterIntegration]
|
1686
|
+
def post_conversations_messaging_integrations_twitter(body, opts = {})
|
1687
|
+
data, _status_code, _headers = post_conversations_messaging_integrations_twitter_with_http_info(body, opts)
|
1688
|
+
return data
|
1689
|
+
end
|
1690
|
+
|
1691
|
+
# Create a Twitter Integration
|
1692
|
+
#
|
1693
|
+
# @param body TwitterIntegrationRequest
|
1694
|
+
# @param [Hash] opts the optional parameters
|
1695
|
+
# @return [Array<(TwitterIntegration, Fixnum, Hash)>] TwitterIntegration data, response status code and response headers
|
1696
|
+
def post_conversations_messaging_integrations_twitter_with_http_info(body, opts = {})
|
1697
|
+
if @api_client.config.debugging
|
1698
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.post_conversations_messaging_integrations_twitter ..."
|
1699
|
+
end
|
1700
|
+
|
1701
|
+
|
1702
|
+
# verify the required parameter 'body' is set
|
1703
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling MessagingApi.post_conversations_messaging_integrations_twitter" if body.nil?
|
1704
|
+
|
1705
|
+
|
1706
|
+
|
1707
|
+
|
1708
|
+
|
1709
|
+
# resource path
|
1710
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/twitter".sub('{format}','json')
|
1711
|
+
|
1712
|
+
# query parameters
|
1713
|
+
query_params = {}
|
1714
|
+
|
1715
|
+
# header parameters
|
1716
|
+
header_params = {}
|
1717
|
+
|
1718
|
+
# HTTP header 'Accept' (if needed)
|
1719
|
+
local_header_accept = ['application/json']
|
1720
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1721
|
+
|
1722
|
+
# HTTP header 'Content-Type'
|
1723
|
+
local_header_content_type = ['application/json']
|
1724
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1725
|
+
|
1726
|
+
# form parameters
|
1727
|
+
form_params = {}
|
1728
|
+
|
1729
|
+
# http body (model)
|
1730
|
+
post_body = @api_client.object_to_http_body(body)
|
1731
|
+
|
1732
|
+
auth_names = ['PureCloud OAuth']
|
1733
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1734
|
+
:header_params => header_params,
|
1735
|
+
:query_params => query_params,
|
1736
|
+
:form_params => form_params,
|
1737
|
+
:body => post_body,
|
1738
|
+
:auth_names => auth_names,
|
1739
|
+
:return_type => 'TwitterIntegration')
|
1740
|
+
if @api_client.config.debugging
|
1741
|
+
@api_client.config.logger.debug "API called: MessagingApi#post_conversations_messaging_integrations_twitter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1742
|
+
end
|
1743
|
+
return data, status_code, headers
|
1744
|
+
end
|
1745
|
+
|
716
1746
|
# Create a Facebook Integration
|
717
1747
|
#
|
718
1748
|
# @param body FacebookIntegrationRequest
|
@@ -908,6 +1938,81 @@ module PureCloud
|
|
908
1938
|
return data, status_code, headers
|
909
1939
|
end
|
910
1940
|
|
1941
|
+
# Update a LINE messenger integration
|
1942
|
+
#
|
1943
|
+
# @param integration_id Integration ID
|
1944
|
+
# @param body LineIntegrationRequest
|
1945
|
+
# @param [Hash] opts the optional parameters
|
1946
|
+
# @return [LineIntegration]
|
1947
|
+
def put_conversations_messaging_integrations_line_integration_id(integration_id, body, opts = {})
|
1948
|
+
data, _status_code, _headers = put_conversations_messaging_integrations_line_integration_id_with_http_info(integration_id, body, opts)
|
1949
|
+
return data
|
1950
|
+
end
|
1951
|
+
|
1952
|
+
# Update a LINE messenger integration
|
1953
|
+
#
|
1954
|
+
# @param integration_id Integration ID
|
1955
|
+
# @param body LineIntegrationRequest
|
1956
|
+
# @param [Hash] opts the optional parameters
|
1957
|
+
# @return [Array<(LineIntegration, Fixnum, Hash)>] LineIntegration data, response status code and response headers
|
1958
|
+
def put_conversations_messaging_integrations_line_integration_id_with_http_info(integration_id, body, opts = {})
|
1959
|
+
if @api_client.config.debugging
|
1960
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.put_conversations_messaging_integrations_line_integration_id ..."
|
1961
|
+
end
|
1962
|
+
|
1963
|
+
|
1964
|
+
# verify the required parameter 'integration_id' is set
|
1965
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling MessagingApi.put_conversations_messaging_integrations_line_integration_id" if integration_id.nil?
|
1966
|
+
|
1967
|
+
|
1968
|
+
|
1969
|
+
|
1970
|
+
|
1971
|
+
|
1972
|
+
# verify the required parameter 'body' is set
|
1973
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling MessagingApi.put_conversations_messaging_integrations_line_integration_id" if body.nil?
|
1974
|
+
|
1975
|
+
|
1976
|
+
|
1977
|
+
|
1978
|
+
|
1979
|
+
# resource path
|
1980
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/line/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
1981
|
+
|
1982
|
+
# query parameters
|
1983
|
+
query_params = {}
|
1984
|
+
|
1985
|
+
# header parameters
|
1986
|
+
header_params = {}
|
1987
|
+
|
1988
|
+
# HTTP header 'Accept' (if needed)
|
1989
|
+
local_header_accept = ['application/json']
|
1990
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1991
|
+
|
1992
|
+
# HTTP header 'Content-Type'
|
1993
|
+
local_header_content_type = ['application/json']
|
1994
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1995
|
+
|
1996
|
+
# form parameters
|
1997
|
+
form_params = {}
|
1998
|
+
|
1999
|
+
# http body (model)
|
2000
|
+
post_body = @api_client.object_to_http_body(body)
|
2001
|
+
|
2002
|
+
auth_names = ['PureCloud OAuth']
|
2003
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
2004
|
+
:header_params => header_params,
|
2005
|
+
:query_params => query_params,
|
2006
|
+
:form_params => form_params,
|
2007
|
+
:body => post_body,
|
2008
|
+
:auth_names => auth_names,
|
2009
|
+
:return_type => 'LineIntegration')
|
2010
|
+
if @api_client.config.debugging
|
2011
|
+
@api_client.config.logger.debug "API called: MessagingApi#put_conversations_messaging_integrations_line_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2012
|
+
end
|
2013
|
+
return data, status_code, headers
|
2014
|
+
end
|
2015
|
+
|
911
2016
|
# Update a LINE messenger integration
|
912
2017
|
#
|
913
2018
|
# @param integration_id Integration ID
|