purecloudplatformclientv2 60.0.0 → 61.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 +2 -2
- data/docs/AgentActivityEntityListing.md +2 -2
- data/docs/ArchitectApi.md +16 -16
- data/docs/AttemptLimitsEntityListing.md +2 -2
- data/docs/AuthzDivisionEntityListing.md +2 -2
- data/docs/CalibrationEntityListing.md +2 -2
- data/docs/CallConversationEntityListing.md +2 -2
- data/docs/CallHistoryConversationEntityListing.md +2 -2
- data/docs/CallableTimeSetEntityListing.md +2 -2
- data/docs/CallbackConversationEntityListing.md +2 -2
- data/docs/CampaignDivisionViewListing.md +2 -2
- data/docs/CampaignEntityListing.md +2 -2
- data/docs/CampaignRuleEntityListing.md +2 -2
- data/docs/CampaignSequenceEntityListing.md +2 -2
- data/docs/CertificateAuthorityEntityListing.md +2 -2
- data/docs/ChatConversationEntityListing.md +2 -2
- data/docs/ClientAppEntityListing.md +2 -2
- data/docs/CobrowseConversationEntityListing.md +2 -2
- data/docs/CommandStatusEntityListing.md +2 -2
- data/docs/ConsumedResourcesEntityListing.md +2 -2
- data/docs/ConsumingResourcesEntityListing.md +2 -2
- data/docs/ContactListDivisionViewListing.md +2 -2
- data/docs/ContactListEntityListing.md +2 -2
- data/docs/ContactListFilterEntityListing.md +2 -2
- data/docs/ContactListing.md +2 -2
- data/docs/ConversationEntityListing.md +2 -2
- data/docs/ConversationsApi.md +1033 -25
- data/docs/CredentialInfoListing.md +2 -2
- data/docs/CredentialTypeListing.md +2 -2
- data/docs/DIDEntityListing.md +2 -2
- data/docs/DIDPoolEntityListing.md +2 -2
- data/docs/DataSchema.md +1 -1
- data/docs/DataTableRowEntityListing.md +2 -2
- data/docs/DataTablesDomainEntityListing.md +2 -2
- data/docs/DependencyObjectEntityListing.md +2 -2
- data/docs/DependencyTypeEntityListing.md +2 -2
- data/docs/DialerEventEntityListing.md +2 -2
- data/docs/DialogflowAgentSummaryEntityListing.md +2 -2
- data/docs/DirectoryUserDevicesListing.md +2 -2
- data/docs/DncListDivisionViewListing.md +2 -2
- data/docs/DncListEntityListing.md +2 -2
- data/docs/DocumentAuditEntityListing.md +2 -2
- data/docs/DocumentEntityListing.md +2 -2
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +2 -2
- data/docs/DomainEntityListing.md +2 -2
- data/docs/DomainEntityListingEvaluationForm.md +2 -2
- data/docs/DomainEntityListingQueryResult.md +2 -2
- data/docs/DomainEntityListingSurveyForm.md +2 -2
- data/docs/EdgeEntityListing.md +2 -2
- data/docs/EdgeGroupEntityListing.md +2 -2
- data/docs/EdgeLineEntityListing.md +2 -2
- data/docs/EmailConversationEntityListing.md +2 -2
- data/docs/EmailMessageListing.md +2 -2
- data/docs/EmbeddedIntegration.md +14 -0
- data/docs/EmergencyGroupListing.md +2 -2
- data/docs/EncryptionKeyEntityListing.md +2 -2
- data/docs/EvaluationEntityListing.md +2 -2
- data/docs/EvaluationFormEntityListing.md +2 -2
- data/docs/EvaluatorActivityEntityListing.md +2 -2
- data/docs/ExtensionEntityListing.md +2 -2
- data/docs/ExtensionPoolEntityListing.md +2 -2
- data/docs/ExternalOrganizationListing.md +2 -2
- data/docs/FacebookIntegrationEntityListing.md +2 -2
- data/docs/FaxDocumentEntityListing.md +2 -2
- data/docs/FlowDivisionViewEntityListing.md +2 -2
- data/docs/FlowEntityListing.md +2 -2
- data/docs/FlowOutcomeListing.md +2 -2
- data/docs/FlowVersionEntityListing.md +2 -2
- data/docs/GDPRRequestEntityListing.md +2 -2
- data/docs/GDPRSubjectEntityListing.md +2 -2
- data/docs/GreetingListing.md +2 -2
- data/docs/GroupContact.md +1 -0
- data/docs/GroupEntityListing.md +2 -2
- data/docs/GroupProfileEntityListing.md +2 -2
- data/docs/IVREntityListing.md +2 -2
- data/docs/InboundDomainEntityListing.md +2 -2
- data/docs/InboundRouteEntityListing.md +2 -2
- data/docs/IntegrationEntityListing.md +2 -2
- data/docs/IntegrationEventEntityListing.md +2 -2
- data/docs/IntegrationTypeEntityListing.md +2 -2
- data/docs/InteractionStatsAlertContainer.md +2 -2
- data/docs/InteractionStatsRuleContainer.md +2 -2
- data/docs/KeywordSetEntityListing.md +2 -2
- data/docs/LanguageEntityListing.md +2 -2
- data/docs/LexBotAliasEntityListing.md +2 -2
- data/docs/LexBotEntityListing.md +2 -2
- data/docs/LibraryEntityListing.md +2 -2
- data/docs/LineBaseEntityListing.md +2 -2
- data/docs/LineEntityListing.md +2 -2
- data/docs/LineIntegrationEntityListing.md +2 -2
- data/docs/LocationEntityListing.md +2 -2
- data/docs/LogicalInterfaceEntityListing.md +2 -2
- data/docs/ManagementUnitListing.md +2 -2
- data/docs/Manager.md +1 -1
- data/docs/MessageConversationEntityListing.md +2 -2
- data/docs/MessagingApi.md +7 -1015
- data/docs/MessagingIntegrationEntityListing.md +2 -2
- data/docs/MessagingStickerEntityListing.md +2 -2
- data/docs/NoteListing.md +2 -2
- data/docs/OAuthClientEntityListing.md +2 -2
- data/docs/OAuthProviderEntityListing.md +2 -2
- data/docs/OrganizationApi.md +133 -8
- data/docs/OrganizationPresenceEntityListing.md +2 -2
- data/docs/OrganizationRoleEntityListing.md +2 -2
- data/docs/OrphanRecordingListing.md +2 -2
- data/docs/OutboundRouteBaseEntityListing.md +2 -2
- data/docs/OutboundRouteEntityListing.md +2 -2
- data/docs/PermissionCollectionEntityListing.md +2 -2
- data/docs/PhoneBaseEntityListing.md +2 -2
- data/docs/PhoneEntityListing.md +2 -2
- data/docs/PhoneMetaBaseEntityListing.md +2 -2
- data/docs/Photo.md +2 -2
- data/docs/PhysicalInterfaceEntityListing.md +2 -2
- data/docs/PolicyEntityListing.md +2 -2
- data/docs/PromptAssetEntityListing.md +2 -2
- data/docs/PromptEntityListing.md +2 -2
- data/docs/QualityAuditPage.md +2 -2
- data/docs/QueueEntityListing.md +2 -2
- data/docs/QueueMemberEntityListing.md +2 -2
- data/docs/RecipientListing.md +2 -2
- data/docs/RecordingApi.md +9 -1
- data/docs/RecordingJobEntityListing.md +2 -2
- data/docs/RecordingJobsQuery.md +1 -0
- data/docs/RelationshipListing.md +2 -2
- data/docs/ReportMetaDataEntityListing.md +2 -2
- data/docs/ReportRunEntryEntityDomainListing.md +2 -2
- data/docs/ReportScheduleEntityListing.md +2 -2
- data/docs/ReportingExportJobListing.md +2 -2
- data/docs/ResponseEntityList.md +2 -2
- data/docs/ResponseEntityListing.md +2 -2
- data/docs/ResponseSetEntityListing.md +2 -2
- data/docs/RoutingApi.md +137 -2
- data/docs/RuleSetEntityListing.md +2 -2
- data/docs/ScheduleEntityListing.md +2 -2
- data/docs/ScheduleGroupEntityListing.md +2 -2
- data/docs/SchemaCategoryEntityListing.md +2 -2
- data/docs/SchemaReferenceEntityListing.md +2 -2
- data/docs/ScimEmail.md +3 -3
- data/docs/ScimMetadata.md +4 -4
- data/docs/ScimPhoneNumber.md +3 -3
- data/docs/ScimV2CreateUser.md +11 -10
- data/docs/ScimV2EnterpriseUser.md +3 -3
- data/docs/ScimV2Group.md +2 -2
- data/docs/ScimV2GroupReference.md +1 -1
- data/docs/ScimV2MemberReference.md +1 -1
- data/docs/ScimV2PatchOperation.md +3 -3
- data/docs/ScimV2PatchRequest.md +1 -1
- data/docs/ScimV2User.md +11 -10
- data/docs/ScreenRecordingSessionListing.md +2 -2
- data/docs/ScriptEntityListing.md +2 -2
- data/docs/SecurityProfileEntityListing.md +2 -2
- data/docs/ShareEntityListing.md +2 -2
- data/docs/SiteEntityListing.md +2 -2
- data/docs/SkillEntityListing.md +2 -2
- data/docs/SmsAddress.md +21 -0
- data/docs/SmsAddressEntityListing.md +22 -0
- data/docs/SmsPhoneNumber.md +1 -0
- data/docs/SmsPhoneNumberEntityListing.md +2 -2
- data/docs/SmsPhoneNumberProvision.md +1 -0
- data/docs/StationEntityListing.md +2 -2
- data/docs/SubjectDivisionGrantsEntityListing.md +2 -2
- data/docs/SurveyFormEntityListing.md +2 -2
- data/docs/SystemPromptAssetEntityListing.md +2 -2
- data/docs/SystemPromptEntityListing.md +2 -2
- data/docs/TagValueEntityListing.md +2 -2
- data/docs/TelephonyProvidersEdgeApi.md +4 -0
- data/docs/TextMessageListing.md +2 -2
- data/docs/TimeZoneEntityListing.md +2 -2
- data/docs/TokenInfo.md +1 -0
- data/docs/TrunkBaseEntityListing.md +2 -2
- data/docs/TrunkEntityListing.md +2 -2
- data/docs/TrunkMetabaseEntityListing.md +2 -2
- data/docs/TrustEntityListing.md +2 -2
- data/docs/TrustUserEntityListing.md +2 -2
- data/docs/TrustorEntityListing.md +2 -2
- data/docs/TtsEngineEntityListing.md +2 -2
- data/docs/TtsVoiceEntityListing.md +2 -2
- data/docs/TwitterIntegrationEntityListing.md +2 -2
- data/docs/UserActionCategoryEntityListing.md +2 -2
- data/docs/UserEntityListing.md +2 -2
- data/docs/UserLanguageEntityListing.md +2 -2
- data/docs/UserProfileEntityListing.md +2 -2
- data/docs/UserQueueEntityListing.md +2 -2
- data/docs/UserRecordingEntityListing.md +2 -2
- data/docs/UserSkillEntityListing.md +2 -2
- data/docs/UserTokensTopicTokenNotification.md +3 -0
- data/docs/VoicemailMessageEntityListing.md +2 -2
- data/docs/WebChatMemberInfoEntityList.md +2 -2
- data/docs/WorkforceManagementApi.md +1 -1
- data/docs/WorkspaceEntityListing.md +2 -2
- data/docs/WorkspaceMemberEntityListing.md +2 -2
- data/docs/WrapupCodeEntityListing.md +2 -2
- data/lib/purecloudplatformclientv2.rb +3 -7
- data/lib/purecloudplatformclientv2/api/architect_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +1056 -24
- data/lib/purecloudplatformclientv2/api/messaging_api.rb +10 -1042
- data/lib/purecloudplatformclientv2/api/organization_api.rb +124 -4
- data/lib/purecloudplatformclientv2/api/recording_api.rb +48 -0
- data/lib/purecloudplatformclientv2/api/routing_api.rb +141 -3
- data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +18 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_flow.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +4 -4
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/data_schema.rb +1 -1
- data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +13 -13
- 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 +13 -13
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +13 -13
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/{base_topic_entitiy.rb → embedded_integration.rb} +16 -41
- data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/flow.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow_division_view.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/group_contact.rb +27 -1
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +13 -13
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +13 -13
- data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/manager.rb +1 -1
- data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/messaging_integration.rb +2 -2
- data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/note_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/observation_metric_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/photo.rb +2 -2
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +13 -13
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/recipient_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/recording_jobs_query.rb +34 -3
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +13 -13
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/scim_email.rb +3 -3
- data/lib/purecloudplatformclientv2/models/scim_metadata.rb +5 -5
- data/lib/purecloudplatformclientv2/models/scim_phone_number.rb +3 -3
- data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +39 -11
- data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +3 -3
- data/lib/purecloudplatformclientv2/models/scim_v2_group.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_v2_group_reference.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_member_reference.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_patch_operation.rb +3 -3
- data/lib/purecloudplatformclientv2/models/scim_v2_patch_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +39 -11
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/{program.rb → sms_address.rb} +45 -83
- data/lib/purecloudplatformclientv2/models/{base_program_entity.rb → sms_address_entity_listing.rb} +194 -19
- data/lib/purecloudplatformclientv2/models/sms_phone_number.rb +27 -1
- data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/sms_phone_number_provision.rb +27 -1
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/text_message_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/token_info.rb +29 -1
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_tokens_topic_token_notification.rb +79 -4
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +13 -13
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +8 -16
- data/docs/BaseProgramEntity.md +0 -15
- data/docs/BaseTopicEntitiy.md +0 -15
- data/docs/CreateTopicRequest.md +0 -20
- data/docs/Phrase.md +0 -15
- data/docs/Program.md +0 -22
- data/docs/SpeechTextAnalyticsApi.md +0 -210
- data/docs/Topic.md +0 -25
- data/lib/purecloudplatformclientv2/api/speech_text_analytics_api.rb +0 -222
- data/lib/purecloudplatformclientv2/models/create_topic_request.rb +0 -438
- data/lib/purecloudplatformclientv2/models/phrase.rb +0 -297
- data/lib/purecloudplatformclientv2/models/topic.rb +0 -538
@@ -24,198 +24,6 @@ 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
|
-
|
219
27
|
# Delete a Facebook messaging integration
|
220
28
|
#
|
221
29
|
# @param integration_id Integration ID
|
@@ -359,593 +167,24 @@ module PureCloud
|
|
359
167
|
# @param integration_id Integration ID
|
360
168
|
# @param [Hash] opts the optional parameters
|
361
169
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
362
|
-
def delete_messaging_integrations_twitter_integration_id_with_http_info(integration_id, opts = {})
|
363
|
-
if @api_client.config.debugging
|
364
|
-
@api_client.config.logger.debug "Calling API: MessagingApi.delete_messaging_integrations_twitter_integration_id ..."
|
365
|
-
end
|
366
|
-
|
367
|
-
|
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
|
-
|
170
|
+
def delete_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_messaging_integrations_twitter_integration_id ..."
|
173
|
+
end
|
935
174
|
|
936
175
|
|
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?
|
937
178
|
|
938
179
|
|
939
180
|
|
940
181
|
|
941
182
|
|
942
183
|
# resource path
|
943
|
-
local_var_path = "/api/v2/
|
184
|
+
local_var_path = "/api/v2/messaging/integrations/twitter/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
944
185
|
|
945
186
|
# query parameters
|
946
187
|
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
188
|
|
950
189
|
# header parameters
|
951
190
|
header_params = {}
|
@@ -965,15 +204,14 @@ module PureCloud
|
|
965
204
|
post_body = nil
|
966
205
|
|
967
206
|
auth_names = ['PureCloud OAuth']
|
968
|
-
data, status_code, headers = @api_client.call_api(:
|
207
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
969
208
|
:header_params => header_params,
|
970
209
|
:query_params => query_params,
|
971
210
|
:form_params => form_params,
|
972
211
|
:body => post_body,
|
973
|
-
:auth_names => auth_names
|
974
|
-
:return_type => 'MessagingStickerEntityListing')
|
212
|
+
:auth_names => auth_names)
|
975
213
|
if @api_client.config.debugging
|
976
|
-
@api_client.config.logger.debug "API called: MessagingApi#
|
214
|
+
@api_client.config.logger.debug "API called: MessagingApi#delete_messaging_integrations_twitter_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
977
215
|
end
|
978
216
|
return data, status_code, headers
|
979
217
|
end
|
@@ -1548,201 +786,6 @@ module PureCloud
|
|
1548
786
|
return data, status_code, headers
|
1549
787
|
end
|
1550
788
|
|
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
|
-
|
1746
789
|
# Create a Facebook Integration
|
1747
790
|
#
|
1748
791
|
# @param body FacebookIntegrationRequest
|
@@ -1938,81 +981,6 @@ module PureCloud
|
|
1938
981
|
return data, status_code, headers
|
1939
982
|
end
|
1940
983
|
|
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
|
-
|
2016
984
|
# Update a LINE messenger integration
|
2017
985
|
#
|
2018
986
|
# @param integration_id Integration ID
|