purecloudplatformclientv2 75.0.0 → 75.1.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/AgentActivityEntityListing.md +1 -1
- data/docs/ArrayNode.md +2 -2
- 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/CallHistoryConversationEntityListing.md +1 -1
- 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/ConversationEntityListing.md +1 -1
- data/docs/ConversationsApi.md +3 -3
- data/docs/CredentialInfoListing.md +1 -1
- data/docs/CredentialTypeListing.md +1 -1
- data/docs/DIDEntityListing.md +1 -1
- data/docs/DIDPoolEntityListing.md +1 -1
- data/docs/DataTableRowEntityListing.md +1 -1
- data/docs/DataTablesDomainEntityListing.md +1 -1
- data/docs/DependencyObjectEntityListing.md +1 -1
- data/docs/DependencyTypeEntityListing.md +1 -1
- data/docs/DialerEventEntityListing.md +1 -1
- data/docs/DialogflowAgentSummaryEntityListing.md +1 -1
- data/docs/DirectoryUserDevicesListing.md +1 -1
- data/docs/DncListDivisionViewListing.md +1 -1
- data/docs/DncListEntityListing.md +1 -1
- data/docs/DocumentAuditEntityListing.md +1 -1
- data/docs/DocumentEntityListing.md +1 -1
- data/docs/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/EdgeNetworkDiagnostic.md +14 -0
- data/docs/EdgeNetworkDiagnosticRequest.md +13 -0
- data/docs/EdgeNetworkDiagnosticResponse.md +14 -0
- data/docs/EmailConversationEntityListing.md +1 -1
- data/docs/EmailMessageListing.md +1 -1
- data/docs/EmergencyGroupListing.md +1 -1
- data/docs/EncryptionKeyEntityListing.md +1 -1
- data/docs/EvaluationEntityListing.md +1 -1
- data/docs/EvaluationFormEntityListing.md +1 -1
- data/docs/EvaluatorActivityEntityListing.md +1 -1
- data/docs/ExtensionEntityListing.md +1 -1
- data/docs/ExtensionPoolEntityListing.md +1 -1
- data/docs/ExternalOrganizationListing.md +1 -1
- data/docs/FacebookIntegrationEntityListing.md +1 -1
- data/docs/FaxDocumentEntityListing.md +1 -1
- data/docs/FlowDivisionViewEntityListing.md +1 -1
- data/docs/FlowEntityListing.md +1 -1
- data/docs/FlowOutcomeListing.md +1 -1
- data/docs/FlowVersionEntityListing.md +1 -1
- data/docs/GDPRRequestEntityListing.md +1 -1
- data/docs/GDPRSubjectEntityListing.md +1 -1
- data/docs/GreetingListing.md +1 -1
- data/docs/GroupEntityListing.md +1 -1
- data/docs/GroupProfileEntityListing.md +1 -1
- data/docs/IVREntityListing.md +1 -1
- data/docs/InboundDomainEntityListing.md +1 -1
- data/docs/InboundRouteEntityListing.md +1 -1
- data/docs/IntegrationEntityListing.md +1 -1
- data/docs/IntegrationEventEntityListing.md +1 -1
- data/docs/IntegrationTypeEntityListing.md +1 -1
- data/docs/InteractionStatsAlertContainer.md +1 -1
- data/docs/InteractionStatsRuleContainer.md +1 -1
- data/docs/JsonNode.md +2 -2
- data/docs/KeywordSetEntityListing.md +1 -1
- data/docs/LanguageEntityListing.md +1 -1
- data/docs/LexBotAliasEntityListing.md +1 -1
- data/docs/LexBotEntityListing.md +1 -1
- data/docs/LibraryEntityListing.md +1 -1
- data/docs/LineBaseEntityListing.md +1 -1
- data/docs/LineEntityListing.md +1 -1
- data/docs/LineIntegrationEntityListing.md +1 -1
- data/docs/LocationEntityListing.md +1 -1
- data/docs/LogicalInterfaceEntityListing.md +1 -1
- data/docs/ManagementUnitListing.md +1 -1
- data/docs/MessageConversationEntityListing.md +1 -1
- data/docs/MessagingApi.md +1020 -0
- data/docs/MessagingIntegrationEntityListing.md +1 -1
- data/docs/MessagingStickerEntityListing.md +1 -1
- 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/QualityAuditPage.md +1 -1
- data/docs/QueueEntityListing.md +1 -1
- data/docs/QueueMemberEntityListing.md +1 -1
- data/docs/RecipientListing.md +1 -1
- data/docs/RecordingJobEntityListing.md +1 -1
- 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/RuleSetEntityListing.md +1 -1
- 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/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/SmsAddressEntityListing.md +1 -1
- data/docs/SmsPhoneNumberEntityListing.md +1 -1
- data/docs/StationEntityListing.md +1 -1
- data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
- 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/TelephonyProvidersEdgeApi.md +540 -0
- 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/TtsEngineEntityListing.md +1 -1
- data/docs/TtsVoiceEntityListing.md +1 -1
- data/docs/TwitterIntegrationEntityListing.md +1 -1
- 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/WhatsAppIntegrationEntityListing.md +1 -1
- data/docs/WorkspaceEntityListing.md +1 -1
- data/docs/WorkspaceMemberEntityListing.md +1 -1
- data/docs/WrapupCodeEntityListing.md +1 -1
- data/lib/purecloudplatformclientv2.rb +4 -0
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/messaging_api.rb +1059 -0
- data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +560 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/array_node.rb +23 -23
- 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_entity_listing.rb +12 -12
- 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_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dependency_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_summary_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_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/edge_network_diagnostic.rb +228 -0
- data/lib/purecloudplatformclientv2/models/edge_network_diagnostic_request.rb +207 -0
- data/lib/purecloudplatformclientv2/models/edge_network_diagnostic_response.rb +228 -0
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
- 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/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_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_type_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/json_node.rb +23 -23
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
- 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_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/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_page.rb +12 -12
- 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_entity_listing.rb +12 -12
- 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/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/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_address_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/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_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/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/whats_app_integration_entity_listing.rb +12 -12
- 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 +10 -2
data/docs/TextMessageListing.md
CHANGED
@@ -14,8 +14,8 @@ title: TextMessageListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: TimeZoneEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: TrunkBaseEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
data/docs/TrunkEntityListing.md
CHANGED
@@ -14,8 +14,8 @@ title: TrunkEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: TrunkMetabaseEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
data/docs/TrustEntityListing.md
CHANGED
@@ -14,8 +14,8 @@ title: TrustEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: TrustUserEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: TrustorEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: TtsEngineEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: TtsVoiceEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: TwitterIntegrationEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: UserActionCategoryEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
data/docs/UserEntityListing.md
CHANGED
@@ -14,8 +14,8 @@ title: UserEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: UserLanguageEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: UserProfileEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: UserQueueEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: UserRecordingEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: UserSkillEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: VoicemailMessageEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: WebChatMemberInfoEntityList
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: WhatsAppIntegrationEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: WorkspaceEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: WorkspaceMemberEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -14,8 +14,8 @@ title: WrapupCodeEntityListing
|
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -669,6 +669,9 @@ require 'purecloudplatformclientv2/models/edge_metrics_memory'
|
|
669
669
|
require 'purecloudplatformclientv2/models/edge_metrics_network'
|
670
670
|
require 'purecloudplatformclientv2/models/edge_metrics_processor'
|
671
671
|
require 'purecloudplatformclientv2/models/edge_metrics_subsystem'
|
672
|
+
require 'purecloudplatformclientv2/models/edge_network_diagnostic'
|
673
|
+
require 'purecloudplatformclientv2/models/edge_network_diagnostic_request'
|
674
|
+
require 'purecloudplatformclientv2/models/edge_network_diagnostic_response'
|
672
675
|
require 'purecloudplatformclientv2/models/edge_reboot_parameters'
|
673
676
|
require 'purecloudplatformclientv2/models/edge_service_state_request'
|
674
677
|
require 'purecloudplatformclientv2/models/edge_trunk_base'
|
@@ -1871,6 +1874,7 @@ require 'purecloudplatformclientv2/api/integrations_api'
|
|
1871
1874
|
require 'purecloudplatformclientv2/api/languages_api'
|
1872
1875
|
require 'purecloudplatformclientv2/api/license_api'
|
1873
1876
|
require 'purecloudplatformclientv2/api/locations_api'
|
1877
|
+
require 'purecloudplatformclientv2/api/messaging_api'
|
1874
1878
|
require 'purecloudplatformclientv2/api/mobile_devices_api'
|
1875
1879
|
require 'purecloudplatformclientv2/api/notifications_api'
|
1876
1880
|
require 'purecloudplatformclientv2/api/o_auth_api'
|
@@ -8977,8 +8977,8 @@ module PureCloud
|
|
8977
8977
|
end
|
8978
8978
|
|
8979
8979
|
# Get messages in batch
|
8980
|
-
#
|
8981
|
-
# @param conversation_id
|
8980
|
+
# The path parameter [conversationId] should contain the conversationId of the conversation being filtered. The body should contain the messageId(s) of messages being requested. For example: [\"a3069a33b-bbb1-4703-9d68-061d9e9db96e\", \"55bc6be3-078c-4a49-a4e6-1e05776ed7e8\"]
|
8981
|
+
# @param conversation_id
|
8982
8982
|
# @param [Hash] opts the optional parameters
|
8983
8983
|
# @option opts [Array<String>] :body messageIds
|
8984
8984
|
# @return [TextMessageListing]
|
@@ -8988,8 +8988,8 @@ module PureCloud
|
|
8988
8988
|
end
|
8989
8989
|
|
8990
8990
|
# Get messages in batch
|
8991
|
-
#
|
8992
|
-
# @param conversation_id
|
8991
|
+
# The path parameter [conversationId] should contain the conversationId of the conversation being filtered. The body should contain the messageId(s) of messages being requested. For example: [\"a3069a33b-bbb1-4703-9d68-061d9e9db96e\", \"55bc6be3-078c-4a49-a4e6-1e05776ed7e8\"]
|
8992
|
+
# @param conversation_id
|
8993
8993
|
# @param [Hash] opts the optional parameters
|
8994
8994
|
# @option opts [Array<String>] :body messageIds
|
8995
8995
|
# @return [Array<(TextMessageListing, Fixnum, Hash)>] TextMessageListing data, response status code and response headers
|
@@ -0,0 +1,1059 @@
|
|
1
|
+
=begin
|
2
|
+
PureCloud Platform API
|
3
|
+
|
4
|
+
With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
|
5
|
+
|
6
|
+
OpenAPI spec version: v2
|
7
|
+
Contact: DeveloperEvangelists@genesys.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
License: UNLICENSED
|
11
|
+
https://help.mypurecloud.com/articles/terms-and-conditions/
|
12
|
+
|
13
|
+
Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
14
|
+
|
15
|
+
=end
|
16
|
+
|
17
|
+
require "uri"
|
18
|
+
|
19
|
+
module PureCloud
|
20
|
+
class MessagingApi
|
21
|
+
attr_accessor :api_client
|
22
|
+
|
23
|
+
def initialize(api_client = ApiClient.default)
|
24
|
+
@api_client = api_client
|
25
|
+
end
|
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_messaging_integrations_facebook_integration_id(integration_id, opts = {})
|
33
|
+
delete_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_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_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_messaging_integrations_facebook_integration_id" if integration_id.nil?
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
# resource path
|
56
|
+
local_var_path = "/api/v2/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_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_messaging_integrations_line_integration_id(integration_id, opts = {})
|
97
|
+
delete_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_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_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_messaging_integrations_line_integration_id" if integration_id.nil?
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
# resource path
|
120
|
+
local_var_path = "/api/v2/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_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_messaging_integrations_twitter_integration_id(integration_id, opts = {})
|
161
|
+
delete_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_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
|
174
|
+
|
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?
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
# resource path
|
184
|
+
local_var_path = "/api/v2/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_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
|
+
# Get a list of Integrations
|
220
|
+
#
|
221
|
+
# @param [Hash] opts the optional parameters
|
222
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
223
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
224
|
+
# @return [MessagingIntegrationEntityListing]
|
225
|
+
def get_messaging_integrations(opts = {})
|
226
|
+
data, _status_code, _headers = get_messaging_integrations_with_http_info(opts)
|
227
|
+
return data
|
228
|
+
end
|
229
|
+
|
230
|
+
# Get a list of Integrations
|
231
|
+
#
|
232
|
+
# @param [Hash] opts the optional parameters
|
233
|
+
# @option opts [Integer] :page_size Page size
|
234
|
+
# @option opts [Integer] :page_number Page number
|
235
|
+
# @return [Array<(MessagingIntegrationEntityListing, Fixnum, Hash)>] MessagingIntegrationEntityListing data, response status code and response headers
|
236
|
+
def get_messaging_integrations_with_http_info(opts = {})
|
237
|
+
if @api_client.config.debugging
|
238
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_messaging_integrations ..."
|
239
|
+
end
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
# resource path
|
254
|
+
local_var_path = "/api/v2/messaging/integrations".sub('{format}','json')
|
255
|
+
|
256
|
+
# query parameters
|
257
|
+
query_params = {}
|
258
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
259
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
260
|
+
|
261
|
+
# header parameters
|
262
|
+
header_params = {}
|
263
|
+
|
264
|
+
# HTTP header 'Accept' (if needed)
|
265
|
+
local_header_accept = ['application/json']
|
266
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
267
|
+
|
268
|
+
# HTTP header 'Content-Type'
|
269
|
+
local_header_content_type = ['application/json']
|
270
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
271
|
+
|
272
|
+
# form parameters
|
273
|
+
form_params = {}
|
274
|
+
|
275
|
+
# http body (model)
|
276
|
+
post_body = nil
|
277
|
+
|
278
|
+
auth_names = ['PureCloud OAuth']
|
279
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
280
|
+
:header_params => header_params,
|
281
|
+
:query_params => query_params,
|
282
|
+
:form_params => form_params,
|
283
|
+
:body => post_body,
|
284
|
+
:auth_names => auth_names,
|
285
|
+
:return_type => 'MessagingIntegrationEntityListing')
|
286
|
+
if @api_client.config.debugging
|
287
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_messaging_integrations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
288
|
+
end
|
289
|
+
return data, status_code, headers
|
290
|
+
end
|
291
|
+
|
292
|
+
# Get a list of Facebook Integrations
|
293
|
+
#
|
294
|
+
# @param [Hash] opts the optional parameters
|
295
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
296
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
297
|
+
# @return [FacebookIntegrationEntityListing]
|
298
|
+
def get_messaging_integrations_facebook(opts = {})
|
299
|
+
data, _status_code, _headers = get_messaging_integrations_facebook_with_http_info(opts)
|
300
|
+
return data
|
301
|
+
end
|
302
|
+
|
303
|
+
# Get a list of Facebook Integrations
|
304
|
+
#
|
305
|
+
# @param [Hash] opts the optional parameters
|
306
|
+
# @option opts [Integer] :page_size Page size
|
307
|
+
# @option opts [Integer] :page_number Page number
|
308
|
+
# @return [Array<(FacebookIntegrationEntityListing, Fixnum, Hash)>] FacebookIntegrationEntityListing data, response status code and response headers
|
309
|
+
def get_messaging_integrations_facebook_with_http_info(opts = {})
|
310
|
+
if @api_client.config.debugging
|
311
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_messaging_integrations_facebook ..."
|
312
|
+
end
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
# resource path
|
327
|
+
local_var_path = "/api/v2/messaging/integrations/facebook".sub('{format}','json')
|
328
|
+
|
329
|
+
# query parameters
|
330
|
+
query_params = {}
|
331
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
332
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
333
|
+
|
334
|
+
# header parameters
|
335
|
+
header_params = {}
|
336
|
+
|
337
|
+
# HTTP header 'Accept' (if needed)
|
338
|
+
local_header_accept = ['application/json']
|
339
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
340
|
+
|
341
|
+
# HTTP header 'Content-Type'
|
342
|
+
local_header_content_type = ['application/json']
|
343
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
344
|
+
|
345
|
+
# form parameters
|
346
|
+
form_params = {}
|
347
|
+
|
348
|
+
# http body (model)
|
349
|
+
post_body = nil
|
350
|
+
|
351
|
+
auth_names = ['PureCloud OAuth']
|
352
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
353
|
+
:header_params => header_params,
|
354
|
+
:query_params => query_params,
|
355
|
+
:form_params => form_params,
|
356
|
+
:body => post_body,
|
357
|
+
:auth_names => auth_names,
|
358
|
+
:return_type => 'FacebookIntegrationEntityListing')
|
359
|
+
if @api_client.config.debugging
|
360
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_messaging_integrations_facebook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
361
|
+
end
|
362
|
+
return data, status_code, headers
|
363
|
+
end
|
364
|
+
|
365
|
+
# Get a Facebook messaging integration
|
366
|
+
#
|
367
|
+
# @param integration_id Integration ID
|
368
|
+
# @param [Hash] opts the optional parameters
|
369
|
+
# @return [FacebookIntegration]
|
370
|
+
def get_messaging_integrations_facebook_integration_id(integration_id, opts = {})
|
371
|
+
data, _status_code, _headers = get_messaging_integrations_facebook_integration_id_with_http_info(integration_id, opts)
|
372
|
+
return data
|
373
|
+
end
|
374
|
+
|
375
|
+
# Get a Facebook messaging integration
|
376
|
+
#
|
377
|
+
# @param integration_id Integration ID
|
378
|
+
# @param [Hash] opts the optional parameters
|
379
|
+
# @return [Array<(FacebookIntegration, Fixnum, Hash)>] FacebookIntegration data, response status code and response headers
|
380
|
+
def get_messaging_integrations_facebook_integration_id_with_http_info(integration_id, opts = {})
|
381
|
+
if @api_client.config.debugging
|
382
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_messaging_integrations_facebook_integration_id ..."
|
383
|
+
end
|
384
|
+
|
385
|
+
|
386
|
+
# verify the required parameter 'integration_id' is set
|
387
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling MessagingApi.get_messaging_integrations_facebook_integration_id" if integration_id.nil?
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
# resource path
|
394
|
+
local_var_path = "/api/v2/messaging/integrations/facebook/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
395
|
+
|
396
|
+
# query parameters
|
397
|
+
query_params = {}
|
398
|
+
|
399
|
+
# header parameters
|
400
|
+
header_params = {}
|
401
|
+
|
402
|
+
# HTTP header 'Accept' (if needed)
|
403
|
+
local_header_accept = ['application/json']
|
404
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
405
|
+
|
406
|
+
# HTTP header 'Content-Type'
|
407
|
+
local_header_content_type = ['application/json']
|
408
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
409
|
+
|
410
|
+
# form parameters
|
411
|
+
form_params = {}
|
412
|
+
|
413
|
+
# http body (model)
|
414
|
+
post_body = nil
|
415
|
+
|
416
|
+
auth_names = ['PureCloud OAuth']
|
417
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
418
|
+
:header_params => header_params,
|
419
|
+
:query_params => query_params,
|
420
|
+
:form_params => form_params,
|
421
|
+
:body => post_body,
|
422
|
+
:auth_names => auth_names,
|
423
|
+
:return_type => 'FacebookIntegration')
|
424
|
+
if @api_client.config.debugging
|
425
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_messaging_integrations_facebook_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
426
|
+
end
|
427
|
+
return data, status_code, headers
|
428
|
+
end
|
429
|
+
|
430
|
+
# Get a list of LINE messenger Integrations
|
431
|
+
#
|
432
|
+
# @param [Hash] opts the optional parameters
|
433
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
434
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
435
|
+
# @return [LineIntegrationEntityListing]
|
436
|
+
def get_messaging_integrations_line(opts = {})
|
437
|
+
data, _status_code, _headers = get_messaging_integrations_line_with_http_info(opts)
|
438
|
+
return data
|
439
|
+
end
|
440
|
+
|
441
|
+
# Get a list of LINE messenger Integrations
|
442
|
+
#
|
443
|
+
# @param [Hash] opts the optional parameters
|
444
|
+
# @option opts [Integer] :page_size Page size
|
445
|
+
# @option opts [Integer] :page_number Page number
|
446
|
+
# @return [Array<(LineIntegrationEntityListing, Fixnum, Hash)>] LineIntegrationEntityListing data, response status code and response headers
|
447
|
+
def get_messaging_integrations_line_with_http_info(opts = {})
|
448
|
+
if @api_client.config.debugging
|
449
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_messaging_integrations_line ..."
|
450
|
+
end
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
# resource path
|
465
|
+
local_var_path = "/api/v2/messaging/integrations/line".sub('{format}','json')
|
466
|
+
|
467
|
+
# query parameters
|
468
|
+
query_params = {}
|
469
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
470
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
471
|
+
|
472
|
+
# header parameters
|
473
|
+
header_params = {}
|
474
|
+
|
475
|
+
# HTTP header 'Accept' (if needed)
|
476
|
+
local_header_accept = ['application/json']
|
477
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
478
|
+
|
479
|
+
# HTTP header 'Content-Type'
|
480
|
+
local_header_content_type = ['application/json']
|
481
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
482
|
+
|
483
|
+
# form parameters
|
484
|
+
form_params = {}
|
485
|
+
|
486
|
+
# http body (model)
|
487
|
+
post_body = nil
|
488
|
+
|
489
|
+
auth_names = ['PureCloud OAuth']
|
490
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
491
|
+
:header_params => header_params,
|
492
|
+
:query_params => query_params,
|
493
|
+
:form_params => form_params,
|
494
|
+
:body => post_body,
|
495
|
+
:auth_names => auth_names,
|
496
|
+
:return_type => 'LineIntegrationEntityListing')
|
497
|
+
if @api_client.config.debugging
|
498
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_messaging_integrations_line\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
499
|
+
end
|
500
|
+
return data, status_code, headers
|
501
|
+
end
|
502
|
+
|
503
|
+
# Get a LINE messenger integration
|
504
|
+
#
|
505
|
+
# @param integration_id Integration ID
|
506
|
+
# @param [Hash] opts the optional parameters
|
507
|
+
# @return [LineIntegration]
|
508
|
+
def get_messaging_integrations_line_integration_id(integration_id, opts = {})
|
509
|
+
data, _status_code, _headers = get_messaging_integrations_line_integration_id_with_http_info(integration_id, opts)
|
510
|
+
return data
|
511
|
+
end
|
512
|
+
|
513
|
+
# Get a LINE messenger integration
|
514
|
+
#
|
515
|
+
# @param integration_id Integration ID
|
516
|
+
# @param [Hash] opts the optional parameters
|
517
|
+
# @return [Array<(LineIntegration, Fixnum, Hash)>] LineIntegration data, response status code and response headers
|
518
|
+
def get_messaging_integrations_line_integration_id_with_http_info(integration_id, opts = {})
|
519
|
+
if @api_client.config.debugging
|
520
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_messaging_integrations_line_integration_id ..."
|
521
|
+
end
|
522
|
+
|
523
|
+
|
524
|
+
# verify the required parameter 'integration_id' is set
|
525
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling MessagingApi.get_messaging_integrations_line_integration_id" if integration_id.nil?
|
526
|
+
|
527
|
+
|
528
|
+
|
529
|
+
|
530
|
+
|
531
|
+
# resource path
|
532
|
+
local_var_path = "/api/v2/messaging/integrations/line/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
533
|
+
|
534
|
+
# query parameters
|
535
|
+
query_params = {}
|
536
|
+
|
537
|
+
# header parameters
|
538
|
+
header_params = {}
|
539
|
+
|
540
|
+
# HTTP header 'Accept' (if needed)
|
541
|
+
local_header_accept = ['application/json']
|
542
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
543
|
+
|
544
|
+
# HTTP header 'Content-Type'
|
545
|
+
local_header_content_type = ['application/json']
|
546
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
547
|
+
|
548
|
+
# form parameters
|
549
|
+
form_params = {}
|
550
|
+
|
551
|
+
# http body (model)
|
552
|
+
post_body = nil
|
553
|
+
|
554
|
+
auth_names = ['PureCloud OAuth']
|
555
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
556
|
+
:header_params => header_params,
|
557
|
+
:query_params => query_params,
|
558
|
+
:form_params => form_params,
|
559
|
+
:body => post_body,
|
560
|
+
:auth_names => auth_names,
|
561
|
+
:return_type => 'LineIntegration')
|
562
|
+
if @api_client.config.debugging
|
563
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_messaging_integrations_line_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
564
|
+
end
|
565
|
+
return data, status_code, headers
|
566
|
+
end
|
567
|
+
|
568
|
+
# Get a list of Twitter Integrations
|
569
|
+
#
|
570
|
+
# @param [Hash] opts the optional parameters
|
571
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
572
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
573
|
+
# @return [TwitterIntegrationEntityListing]
|
574
|
+
def get_messaging_integrations_twitter(opts = {})
|
575
|
+
data, _status_code, _headers = get_messaging_integrations_twitter_with_http_info(opts)
|
576
|
+
return data
|
577
|
+
end
|
578
|
+
|
579
|
+
# Get a list of Twitter Integrations
|
580
|
+
#
|
581
|
+
# @param [Hash] opts the optional parameters
|
582
|
+
# @option opts [Integer] :page_size Page size
|
583
|
+
# @option opts [Integer] :page_number Page number
|
584
|
+
# @return [Array<(TwitterIntegrationEntityListing, Fixnum, Hash)>] TwitterIntegrationEntityListing data, response status code and response headers
|
585
|
+
def get_messaging_integrations_twitter_with_http_info(opts = {})
|
586
|
+
if @api_client.config.debugging
|
587
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_messaging_integrations_twitter ..."
|
588
|
+
end
|
589
|
+
|
590
|
+
|
591
|
+
|
592
|
+
|
593
|
+
|
594
|
+
|
595
|
+
|
596
|
+
|
597
|
+
|
598
|
+
|
599
|
+
|
600
|
+
|
601
|
+
|
602
|
+
# resource path
|
603
|
+
local_var_path = "/api/v2/messaging/integrations/twitter".sub('{format}','json')
|
604
|
+
|
605
|
+
# query parameters
|
606
|
+
query_params = {}
|
607
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
608
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
609
|
+
|
610
|
+
# header parameters
|
611
|
+
header_params = {}
|
612
|
+
|
613
|
+
# HTTP header 'Accept' (if needed)
|
614
|
+
local_header_accept = ['application/json']
|
615
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
616
|
+
|
617
|
+
# HTTP header 'Content-Type'
|
618
|
+
local_header_content_type = ['application/json']
|
619
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
620
|
+
|
621
|
+
# form parameters
|
622
|
+
form_params = {}
|
623
|
+
|
624
|
+
# http body (model)
|
625
|
+
post_body = nil
|
626
|
+
|
627
|
+
auth_names = ['PureCloud OAuth']
|
628
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
629
|
+
:header_params => header_params,
|
630
|
+
:query_params => query_params,
|
631
|
+
:form_params => form_params,
|
632
|
+
:body => post_body,
|
633
|
+
:auth_names => auth_names,
|
634
|
+
:return_type => 'TwitterIntegrationEntityListing')
|
635
|
+
if @api_client.config.debugging
|
636
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_messaging_integrations_twitter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
637
|
+
end
|
638
|
+
return data, status_code, headers
|
639
|
+
end
|
640
|
+
|
641
|
+
# Get a Twitter messaging integration
|
642
|
+
#
|
643
|
+
# @param integration_id Integration ID
|
644
|
+
# @param [Hash] opts the optional parameters
|
645
|
+
# @return [TwitterIntegration]
|
646
|
+
def get_messaging_integrations_twitter_integration_id(integration_id, opts = {})
|
647
|
+
data, _status_code, _headers = get_messaging_integrations_twitter_integration_id_with_http_info(integration_id, opts)
|
648
|
+
return data
|
649
|
+
end
|
650
|
+
|
651
|
+
# Get a Twitter messaging integration
|
652
|
+
#
|
653
|
+
# @param integration_id Integration ID
|
654
|
+
# @param [Hash] opts the optional parameters
|
655
|
+
# @return [Array<(TwitterIntegration, Fixnum, Hash)>] TwitterIntegration data, response status code and response headers
|
656
|
+
def get_messaging_integrations_twitter_integration_id_with_http_info(integration_id, opts = {})
|
657
|
+
if @api_client.config.debugging
|
658
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_messaging_integrations_twitter_integration_id ..."
|
659
|
+
end
|
660
|
+
|
661
|
+
|
662
|
+
# verify the required parameter 'integration_id' is set
|
663
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling MessagingApi.get_messaging_integrations_twitter_integration_id" if integration_id.nil?
|
664
|
+
|
665
|
+
|
666
|
+
|
667
|
+
|
668
|
+
|
669
|
+
# resource path
|
670
|
+
local_var_path = "/api/v2/messaging/integrations/twitter/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
671
|
+
|
672
|
+
# query parameters
|
673
|
+
query_params = {}
|
674
|
+
|
675
|
+
# header parameters
|
676
|
+
header_params = {}
|
677
|
+
|
678
|
+
# HTTP header 'Accept' (if needed)
|
679
|
+
local_header_accept = ['application/json']
|
680
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
681
|
+
|
682
|
+
# HTTP header 'Content-Type'
|
683
|
+
local_header_content_type = ['application/json']
|
684
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
685
|
+
|
686
|
+
# form parameters
|
687
|
+
form_params = {}
|
688
|
+
|
689
|
+
# http body (model)
|
690
|
+
post_body = nil
|
691
|
+
|
692
|
+
auth_names = ['PureCloud OAuth']
|
693
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
694
|
+
:header_params => header_params,
|
695
|
+
:query_params => query_params,
|
696
|
+
:form_params => form_params,
|
697
|
+
:body => post_body,
|
698
|
+
:auth_names => auth_names,
|
699
|
+
:return_type => 'TwitterIntegration')
|
700
|
+
if @api_client.config.debugging
|
701
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_messaging_integrations_twitter_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
702
|
+
end
|
703
|
+
return data, status_code, headers
|
704
|
+
end
|
705
|
+
|
706
|
+
# Get a list of Messaging Stickers
|
707
|
+
#
|
708
|
+
# @param messenger_type Messenger Type
|
709
|
+
# @param [Hash] opts the optional parameters
|
710
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
711
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
712
|
+
# @return [MessagingStickerEntityListing]
|
713
|
+
def get_messaging_sticker(messenger_type, opts = {})
|
714
|
+
data, _status_code, _headers = get_messaging_sticker_with_http_info(messenger_type, opts)
|
715
|
+
return data
|
716
|
+
end
|
717
|
+
|
718
|
+
# Get a list of Messaging Stickers
|
719
|
+
#
|
720
|
+
# @param messenger_type Messenger Type
|
721
|
+
# @param [Hash] opts the optional parameters
|
722
|
+
# @option opts [Integer] :page_size Page size
|
723
|
+
# @option opts [Integer] :page_number Page number
|
724
|
+
# @return [Array<(MessagingStickerEntityListing, Fixnum, Hash)>] MessagingStickerEntityListing data, response status code and response headers
|
725
|
+
def get_messaging_sticker_with_http_info(messenger_type, opts = {})
|
726
|
+
if @api_client.config.debugging
|
727
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.get_messaging_sticker ..."
|
728
|
+
end
|
729
|
+
|
730
|
+
|
731
|
+
# verify the required parameter 'messenger_type' is set
|
732
|
+
fail ArgumentError, "Missing the required parameter 'messenger_type' when calling MessagingApi.get_messaging_sticker" if messenger_type.nil?
|
733
|
+
|
734
|
+
|
735
|
+
|
736
|
+
|
737
|
+
|
738
|
+
|
739
|
+
|
740
|
+
|
741
|
+
|
742
|
+
|
743
|
+
|
744
|
+
|
745
|
+
|
746
|
+
|
747
|
+
|
748
|
+
|
749
|
+
|
750
|
+
# resource path
|
751
|
+
local_var_path = "/api/v2/messaging/stickers/{messengerType}".sub('{format}','json').sub('{' + 'messengerType' + '}', messenger_type.to_s)
|
752
|
+
|
753
|
+
# query parameters
|
754
|
+
query_params = {}
|
755
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
756
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
757
|
+
|
758
|
+
# header parameters
|
759
|
+
header_params = {}
|
760
|
+
|
761
|
+
# HTTP header 'Accept' (if needed)
|
762
|
+
local_header_accept = ['application/json']
|
763
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
764
|
+
|
765
|
+
# HTTP header 'Content-Type'
|
766
|
+
local_header_content_type = ['application/json']
|
767
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
768
|
+
|
769
|
+
# form parameters
|
770
|
+
form_params = {}
|
771
|
+
|
772
|
+
# http body (model)
|
773
|
+
post_body = nil
|
774
|
+
|
775
|
+
auth_names = ['PureCloud OAuth']
|
776
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
777
|
+
:header_params => header_params,
|
778
|
+
:query_params => query_params,
|
779
|
+
:form_params => form_params,
|
780
|
+
:body => post_body,
|
781
|
+
:auth_names => auth_names,
|
782
|
+
:return_type => 'MessagingStickerEntityListing')
|
783
|
+
if @api_client.config.debugging
|
784
|
+
@api_client.config.logger.debug "API called: MessagingApi#get_messaging_sticker\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
785
|
+
end
|
786
|
+
return data, status_code, headers
|
787
|
+
end
|
788
|
+
|
789
|
+
# Create a Facebook Integration
|
790
|
+
#
|
791
|
+
# @param body FacebookIntegrationRequest
|
792
|
+
# @param [Hash] opts the optional parameters
|
793
|
+
# @return [FacebookIntegration]
|
794
|
+
def post_messaging_integrations_facebook(body, opts = {})
|
795
|
+
data, _status_code, _headers = post_messaging_integrations_facebook_with_http_info(body, opts)
|
796
|
+
return data
|
797
|
+
end
|
798
|
+
|
799
|
+
# Create a Facebook Integration
|
800
|
+
#
|
801
|
+
# @param body FacebookIntegrationRequest
|
802
|
+
# @param [Hash] opts the optional parameters
|
803
|
+
# @return [Array<(FacebookIntegration, Fixnum, Hash)>] FacebookIntegration data, response status code and response headers
|
804
|
+
def post_messaging_integrations_facebook_with_http_info(body, opts = {})
|
805
|
+
if @api_client.config.debugging
|
806
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.post_messaging_integrations_facebook ..."
|
807
|
+
end
|
808
|
+
|
809
|
+
|
810
|
+
# verify the required parameter 'body' is set
|
811
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling MessagingApi.post_messaging_integrations_facebook" if body.nil?
|
812
|
+
|
813
|
+
|
814
|
+
|
815
|
+
|
816
|
+
|
817
|
+
# resource path
|
818
|
+
local_var_path = "/api/v2/messaging/integrations/facebook".sub('{format}','json')
|
819
|
+
|
820
|
+
# query parameters
|
821
|
+
query_params = {}
|
822
|
+
|
823
|
+
# header parameters
|
824
|
+
header_params = {}
|
825
|
+
|
826
|
+
# HTTP header 'Accept' (if needed)
|
827
|
+
local_header_accept = ['application/json']
|
828
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
829
|
+
|
830
|
+
# HTTP header 'Content-Type'
|
831
|
+
local_header_content_type = ['application/json']
|
832
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
833
|
+
|
834
|
+
# form parameters
|
835
|
+
form_params = {}
|
836
|
+
|
837
|
+
# http body (model)
|
838
|
+
post_body = @api_client.object_to_http_body(body)
|
839
|
+
|
840
|
+
auth_names = ['PureCloud OAuth']
|
841
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
842
|
+
:header_params => header_params,
|
843
|
+
:query_params => query_params,
|
844
|
+
:form_params => form_params,
|
845
|
+
:body => post_body,
|
846
|
+
:auth_names => auth_names,
|
847
|
+
:return_type => 'FacebookIntegration')
|
848
|
+
if @api_client.config.debugging
|
849
|
+
@api_client.config.logger.debug "API called: MessagingApi#post_messaging_integrations_facebook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
850
|
+
end
|
851
|
+
return data, status_code, headers
|
852
|
+
end
|
853
|
+
|
854
|
+
# Create a LINE messenger Integration
|
855
|
+
#
|
856
|
+
# @param body LineIntegrationRequest
|
857
|
+
# @param [Hash] opts the optional parameters
|
858
|
+
# @return [LineIntegration]
|
859
|
+
def post_messaging_integrations_line(body, opts = {})
|
860
|
+
data, _status_code, _headers = post_messaging_integrations_line_with_http_info(body, opts)
|
861
|
+
return data
|
862
|
+
end
|
863
|
+
|
864
|
+
# Create a LINE messenger Integration
|
865
|
+
#
|
866
|
+
# @param body LineIntegrationRequest
|
867
|
+
# @param [Hash] opts the optional parameters
|
868
|
+
# @return [Array<(LineIntegration, Fixnum, Hash)>] LineIntegration data, response status code and response headers
|
869
|
+
def post_messaging_integrations_line_with_http_info(body, opts = {})
|
870
|
+
if @api_client.config.debugging
|
871
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.post_messaging_integrations_line ..."
|
872
|
+
end
|
873
|
+
|
874
|
+
|
875
|
+
# verify the required parameter 'body' is set
|
876
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling MessagingApi.post_messaging_integrations_line" if body.nil?
|
877
|
+
|
878
|
+
|
879
|
+
|
880
|
+
|
881
|
+
|
882
|
+
# resource path
|
883
|
+
local_var_path = "/api/v2/messaging/integrations/line".sub('{format}','json')
|
884
|
+
|
885
|
+
# query parameters
|
886
|
+
query_params = {}
|
887
|
+
|
888
|
+
# header parameters
|
889
|
+
header_params = {}
|
890
|
+
|
891
|
+
# HTTP header 'Accept' (if needed)
|
892
|
+
local_header_accept = ['application/json']
|
893
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
894
|
+
|
895
|
+
# HTTP header 'Content-Type'
|
896
|
+
local_header_content_type = ['application/json']
|
897
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
898
|
+
|
899
|
+
# form parameters
|
900
|
+
form_params = {}
|
901
|
+
|
902
|
+
# http body (model)
|
903
|
+
post_body = @api_client.object_to_http_body(body)
|
904
|
+
|
905
|
+
auth_names = ['PureCloud OAuth']
|
906
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
907
|
+
:header_params => header_params,
|
908
|
+
:query_params => query_params,
|
909
|
+
:form_params => form_params,
|
910
|
+
:body => post_body,
|
911
|
+
:auth_names => auth_names,
|
912
|
+
:return_type => 'LineIntegration')
|
913
|
+
if @api_client.config.debugging
|
914
|
+
@api_client.config.logger.debug "API called: MessagingApi#post_messaging_integrations_line\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
915
|
+
end
|
916
|
+
return data, status_code, headers
|
917
|
+
end
|
918
|
+
|
919
|
+
# Create a Twitter Integration
|
920
|
+
#
|
921
|
+
# @param body TwitterIntegrationRequest
|
922
|
+
# @param [Hash] opts the optional parameters
|
923
|
+
# @return [TwitterIntegration]
|
924
|
+
def post_messaging_integrations_twitter(body, opts = {})
|
925
|
+
data, _status_code, _headers = post_messaging_integrations_twitter_with_http_info(body, opts)
|
926
|
+
return data
|
927
|
+
end
|
928
|
+
|
929
|
+
# Create a Twitter Integration
|
930
|
+
#
|
931
|
+
# @param body TwitterIntegrationRequest
|
932
|
+
# @param [Hash] opts the optional parameters
|
933
|
+
# @return [Array<(TwitterIntegration, Fixnum, Hash)>] TwitterIntegration data, response status code and response headers
|
934
|
+
def post_messaging_integrations_twitter_with_http_info(body, opts = {})
|
935
|
+
if @api_client.config.debugging
|
936
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.post_messaging_integrations_twitter ..."
|
937
|
+
end
|
938
|
+
|
939
|
+
|
940
|
+
# verify the required parameter 'body' is set
|
941
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling MessagingApi.post_messaging_integrations_twitter" if body.nil?
|
942
|
+
|
943
|
+
|
944
|
+
|
945
|
+
|
946
|
+
|
947
|
+
# resource path
|
948
|
+
local_var_path = "/api/v2/messaging/integrations/twitter".sub('{format}','json')
|
949
|
+
|
950
|
+
# query parameters
|
951
|
+
query_params = {}
|
952
|
+
|
953
|
+
# header parameters
|
954
|
+
header_params = {}
|
955
|
+
|
956
|
+
# HTTP header 'Accept' (if needed)
|
957
|
+
local_header_accept = ['application/json']
|
958
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
959
|
+
|
960
|
+
# HTTP header 'Content-Type'
|
961
|
+
local_header_content_type = ['application/json']
|
962
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
963
|
+
|
964
|
+
# form parameters
|
965
|
+
form_params = {}
|
966
|
+
|
967
|
+
# http body (model)
|
968
|
+
post_body = @api_client.object_to_http_body(body)
|
969
|
+
|
970
|
+
auth_names = ['PureCloud OAuth']
|
971
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
972
|
+
:header_params => header_params,
|
973
|
+
:query_params => query_params,
|
974
|
+
:form_params => form_params,
|
975
|
+
:body => post_body,
|
976
|
+
:auth_names => auth_names,
|
977
|
+
:return_type => 'TwitterIntegration')
|
978
|
+
if @api_client.config.debugging
|
979
|
+
@api_client.config.logger.debug "API called: MessagingApi#post_messaging_integrations_twitter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
980
|
+
end
|
981
|
+
return data, status_code, headers
|
982
|
+
end
|
983
|
+
|
984
|
+
# Update a LINE messenger integration
|
985
|
+
#
|
986
|
+
# @param integration_id Integration ID
|
987
|
+
# @param body LineIntegrationRequest
|
988
|
+
# @param [Hash] opts the optional parameters
|
989
|
+
# @return [LineIntegration]
|
990
|
+
def put_messaging_integrations_line_integration_id(integration_id, body, opts = {})
|
991
|
+
data, _status_code, _headers = put_messaging_integrations_line_integration_id_with_http_info(integration_id, body, opts)
|
992
|
+
return data
|
993
|
+
end
|
994
|
+
|
995
|
+
# Update a LINE messenger integration
|
996
|
+
#
|
997
|
+
# @param integration_id Integration ID
|
998
|
+
# @param body LineIntegrationRequest
|
999
|
+
# @param [Hash] opts the optional parameters
|
1000
|
+
# @return [Array<(LineIntegration, Fixnum, Hash)>] LineIntegration data, response status code and response headers
|
1001
|
+
def put_messaging_integrations_line_integration_id_with_http_info(integration_id, body, opts = {})
|
1002
|
+
if @api_client.config.debugging
|
1003
|
+
@api_client.config.logger.debug "Calling API: MessagingApi.put_messaging_integrations_line_integration_id ..."
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
|
1007
|
+
# verify the required parameter 'integration_id' is set
|
1008
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling MessagingApi.put_messaging_integrations_line_integration_id" if integration_id.nil?
|
1009
|
+
|
1010
|
+
|
1011
|
+
|
1012
|
+
|
1013
|
+
|
1014
|
+
|
1015
|
+
# verify the required parameter 'body' is set
|
1016
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling MessagingApi.put_messaging_integrations_line_integration_id" if body.nil?
|
1017
|
+
|
1018
|
+
|
1019
|
+
|
1020
|
+
|
1021
|
+
|
1022
|
+
# resource path
|
1023
|
+
local_var_path = "/api/v2/messaging/integrations/line/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
1024
|
+
|
1025
|
+
# query parameters
|
1026
|
+
query_params = {}
|
1027
|
+
|
1028
|
+
# header parameters
|
1029
|
+
header_params = {}
|
1030
|
+
|
1031
|
+
# HTTP header 'Accept' (if needed)
|
1032
|
+
local_header_accept = ['application/json']
|
1033
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1034
|
+
|
1035
|
+
# HTTP header 'Content-Type'
|
1036
|
+
local_header_content_type = ['application/json']
|
1037
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1038
|
+
|
1039
|
+
# form parameters
|
1040
|
+
form_params = {}
|
1041
|
+
|
1042
|
+
# http body (model)
|
1043
|
+
post_body = @api_client.object_to_http_body(body)
|
1044
|
+
|
1045
|
+
auth_names = ['PureCloud OAuth']
|
1046
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1047
|
+
:header_params => header_params,
|
1048
|
+
:query_params => query_params,
|
1049
|
+
:form_params => form_params,
|
1050
|
+
:body => post_body,
|
1051
|
+
:auth_names => auth_names,
|
1052
|
+
:return_type => 'LineIntegration')
|
1053
|
+
if @api_client.config.debugging
|
1054
|
+
@api_client.config.logger.debug "API called: MessagingApi#put_messaging_integrations_line_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1055
|
+
end
|
1056
|
+
return data, status_code, headers
|
1057
|
+
end
|
1058
|
+
end
|
1059
|
+
end
|