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
@@ -13,9 +13,9 @@ title: TrustUserEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -13,9 +13,9 @@ title: TrustorEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -13,9 +13,9 @@ title: TtsEngineEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -13,9 +13,9 @@ title: TtsVoiceEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -13,9 +13,9 @@ title: TwitterIntegrationEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -13,9 +13,9 @@ title: UserActionCategoryEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
data/docs/UserEntityListing.md
CHANGED
@@ -13,9 +13,9 @@ title: UserEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -13,9 +13,9 @@ title: UserLanguageEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -13,9 +13,9 @@ title: UserProfileEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -13,9 +13,9 @@ title: UserQueueEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -13,9 +13,9 @@ title: UserRecordingEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -13,9 +13,9 @@ title: UserSkillEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -11,6 +11,9 @@ title: UserTokensTopicTokenNotification
|
|
11
11
|
| **ip_address** | **String** | | [optional] |
|
12
12
|
| **date_created** | **String** | | [optional] |
|
13
13
|
| **token_expiration_date** | **String** | | [optional] |
|
14
|
+
| **session_id** | **String** | | [optional] |
|
15
|
+
| **client_id** | **String** | | [optional] |
|
16
|
+
| **token_hash** | **String** | | [optional] |
|
14
17
|
{: class="table table-striped"}
|
15
18
|
|
16
19
|
|
@@ -13,9 +13,9 @@ title: VoicemailMessageEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -13,9 +13,9 @@ title: WebChatMemberInfoEntityList
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -2418,7 +2418,7 @@ Name | Type | Description | Notes
|
|
2418
2418
|
**page_size** | **Integer**| | [optional] |
|
2419
2419
|
**page_number** | **Integer**| | [optional] |
|
2420
2420
|
**expand** | **String**| | [optional] <br />**Values**: details |
|
2421
|
-
**feature** | **String**| | [optional] <br />**Values**: AgentSchedule, AgentTimeOffRequest, ActivityCodes, Agents, BusinessUnitActivityCodes, BusinessUnits, HistoricalAdherence, IntradayMonitoring, ManagementUnits, RealTimeAdherence, Schedules, ServiceGoalGroups, ServiceGoalTemplates, PlanningGroups, ShiftTrading, ShortTermForecasts, TimeOffRequests, WorkPlans |
|
2421
|
+
**feature** | **String**| | [optional] <br />**Values**: AgentSchedule, AgentTimeOffRequest, ActivityCodes, Agents, BusinessUnitActivityCodes, BusinessUnits, HistoricalAdherence, IntradayMonitoring, ManagementUnits, RealTimeAdherence, Schedules, BuSchedules, ServiceGoalGroups, ServiceGoalTemplates, PlanningGroups, ShiftTrading, ShortTermForecasts, BuShortTermForecasts, TimeOffRequests, WorkPlans |
|
2422
2422
|
**division_id** | **String**| | [optional] |
|
2423
2423
|
{: class="table table-striped"}
|
2424
2424
|
|
@@ -13,9 +13,9 @@ title: WorkspaceEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -13,9 +13,9 @@ title: WorkspaceMemberEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -13,9 +13,9 @@ title: WrapupCodeEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **first_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | | [optional] |
|
16
|
-
| **next_uri** | **String** | | [optional] |
|
17
|
-
| **previous_uri** | **String** | | [optional] |
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
@@ -145,8 +145,6 @@ require 'purecloudplatformclientv2/models/available_language_list'
|
|
145
145
|
require 'purecloudplatformclientv2/models/available_topic'
|
146
146
|
require 'purecloudplatformclientv2/models/available_topic_entity_listing'
|
147
147
|
require 'purecloudplatformclientv2/models/available_translations'
|
148
|
-
require 'purecloudplatformclientv2/models/base_program_entity'
|
149
|
-
require 'purecloudplatformclientv2/models/base_topic_entitiy'
|
150
148
|
require 'purecloudplatformclientv2/models/batch_download_job_result'
|
151
149
|
require 'purecloudplatformclientv2/models/batch_download_job_status_result'
|
152
150
|
require 'purecloudplatformclientv2/models/batch_download_job_submission'
|
@@ -472,7 +470,6 @@ require 'purecloudplatformclientv2/models/create_service_goal_group_request'
|
|
472
470
|
require 'purecloudplatformclientv2/models/create_share_request'
|
473
471
|
require 'purecloudplatformclientv2/models/create_share_request_member'
|
474
472
|
require 'purecloudplatformclientv2/models/create_share_response'
|
475
|
-
require 'purecloudplatformclientv2/models/create_topic_request'
|
476
473
|
require 'purecloudplatformclientv2/models/create_user'
|
477
474
|
require 'purecloudplatformclientv2/models/create_web_chat_conversation_request'
|
478
475
|
require 'purecloudplatformclientv2/models/create_web_chat_conversation_response'
|
@@ -667,6 +664,7 @@ require 'purecloudplatformclientv2/models/email_media_policy_conditions'
|
|
667
664
|
require 'purecloudplatformclientv2/models/email_message'
|
668
665
|
require 'purecloudplatformclientv2/models/email_message_listing'
|
669
666
|
require 'purecloudplatformclientv2/models/email_setup'
|
667
|
+
require 'purecloudplatformclientv2/models/embedded_integration'
|
670
668
|
require 'purecloudplatformclientv2/models/emergency_call_flow'
|
671
669
|
require 'purecloudplatformclientv2/models/emergency_group'
|
672
670
|
require 'purecloudplatformclientv2/models/emergency_group_listing'
|
@@ -1006,7 +1004,6 @@ require 'purecloudplatformclientv2/models/phone_number_status'
|
|
1006
1004
|
require 'purecloudplatformclientv2/models/phone_status'
|
1007
1005
|
require 'purecloudplatformclientv2/models/phones_reboot'
|
1008
1006
|
require 'purecloudplatformclientv2/models/photo'
|
1009
|
-
require 'purecloudplatformclientv2/models/phrase'
|
1010
1007
|
require 'purecloudplatformclientv2/models/physical_interface_entity_listing'
|
1011
1008
|
require 'purecloudplatformclientv2/models/ping_identity'
|
1012
1009
|
require 'purecloudplatformclientv2/models/policy'
|
@@ -1024,7 +1021,6 @@ require 'purecloudplatformclientv2/models/presence_definition'
|
|
1024
1021
|
require 'purecloudplatformclientv2/models/presence_event_organization_presence'
|
1025
1022
|
require 'purecloudplatformclientv2/models/presence_event_user_presence'
|
1026
1023
|
require 'purecloudplatformclientv2/models/presence_query_response'
|
1027
|
-
require 'purecloudplatformclientv2/models/program'
|
1028
1024
|
require 'purecloudplatformclientv2/models/prompt'
|
1029
1025
|
require 'purecloudplatformclientv2/models/prompt_asset'
|
1030
1026
|
require 'purecloudplatformclientv2/models/prompt_asset_create'
|
@@ -1390,6 +1386,8 @@ require 'purecloudplatformclientv2/models/site'
|
|
1390
1386
|
require 'purecloudplatformclientv2/models/site_entity_listing'
|
1391
1387
|
require 'purecloudplatformclientv2/models/skill_entity_listing'
|
1392
1388
|
require 'purecloudplatformclientv2/models/skills_to_remove'
|
1389
|
+
require 'purecloudplatformclientv2/models/sms_address'
|
1390
|
+
require 'purecloudplatformclientv2/models/sms_address_entity_listing'
|
1393
1391
|
require 'purecloudplatformclientv2/models/sms_address_provision'
|
1394
1392
|
require 'purecloudplatformclientv2/models/sms_available_phone_number'
|
1395
1393
|
require 'purecloudplatformclientv2/models/sms_phone_number'
|
@@ -1461,7 +1459,6 @@ require 'purecloudplatformclientv2/models/time_zone_entity_listing'
|
|
1461
1459
|
require 'purecloudplatformclientv2/models/time_zone_mapping_preview'
|
1462
1460
|
require 'purecloudplatformclientv2/models/token'
|
1463
1461
|
require 'purecloudplatformclientv2/models/token_info'
|
1464
|
-
require 'purecloudplatformclientv2/models/topic'
|
1465
1462
|
require 'purecloudplatformclientv2/models/transfer_request'
|
1466
1463
|
require 'purecloudplatformclientv2/models/trunk'
|
1467
1464
|
require 'purecloudplatformclientv2/models/trunk_base'
|
@@ -1733,7 +1730,6 @@ require 'purecloudplatformclientv2/api/routing_api'
|
|
1733
1730
|
require 'purecloudplatformclientv2/api/scim_api'
|
1734
1731
|
require 'purecloudplatformclientv2/api/scripts_api'
|
1735
1732
|
require 'purecloudplatformclientv2/api/search_api'
|
1736
|
-
require 'purecloudplatformclientv2/api/speech_text_analytics_api'
|
1737
1733
|
require 'purecloudplatformclientv2/api/stations_api'
|
1738
1734
|
require 'purecloudplatformclientv2/api/suggest_api'
|
1739
1735
|
require 'purecloudplatformclientv2/api/telephony_providers_edge_api'
|
@@ -1153,8 +1153,8 @@ module PureCloud
|
|
1153
1153
|
fail ArgumentError, "Missing the required parameter 'object_type' when calling ArchitectApi.get_architect_dependencytracking_consumedresources" if object_type.nil?
|
1154
1154
|
|
1155
1155
|
# verify enum value
|
1156
|
-
unless ['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMMONMODULEFLOW', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'DATATABLE', 'DIALOGFLOWAGENT', 'EMAILROUTE', 'EMERGENCYGROUP', 'FLOWOUTCOME', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDCHATFLOW', 'INBOUNDEMAILFLOW', 'INBOUNDSHORTMESSAGEFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'LEXBOT', 'LEXBOTALIAS', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RECORDINGPOLICY', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SURVEYINVITEFLOW', 'SYSTEMPROMPT', 'TTSENGINE', 'TTSVOICE', 'USER', 'USERPROMPT', 'WIDGET'
|
1157
|
-
fail ArgumentError, "invalid value for 'object_type', must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMMONMODULEFLOW, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, DATATABLE, DIALOGFLOWAGENT, EMAILROUTE, EMERGENCYGROUP, FLOWOUTCOME, GROUP, INBOUNDCALLFLOW, INBOUNDCHATFLOW, INBOUNDEMAILFLOW, INBOUNDSHORTMESSAGEFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, LEXBOT, LEXBOTALIAS, OUTBOUNDCALLFLOW, QUEUE, RECORDINGPOLICY, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SURVEYINVITEFLOW, SYSTEMPROMPT, TTSENGINE, TTSVOICE, USER, USERPROMPT, WIDGET
|
1156
|
+
unless ['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMMONMODULEFLOW', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'DATATABLE', 'DIALOGFLOWAGENT', 'EMAILROUTE', 'EMERGENCYGROUP', 'FLOWOUTCOME', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDCHATFLOW', 'INBOUNDEMAILFLOW', 'INBOUNDSHORTMESSAGEFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'LEXBOT', 'LEXBOTALIAS', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RECORDINGPOLICY', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SURVEYINVITEFLOW', 'SYSTEMPROMPT', 'TTSENGINE', 'TTSVOICE', 'USER', 'USERPROMPT', 'WIDGET'].include?(object_type)
|
1157
|
+
fail ArgumentError, "invalid value for 'object_type', must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMMONMODULEFLOW, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, DATATABLE, DIALOGFLOWAGENT, EMAILROUTE, EMERGENCYGROUP, FLOWOUTCOME, GROUP, INBOUNDCALLFLOW, INBOUNDCHATFLOW, INBOUNDEMAILFLOW, INBOUNDSHORTMESSAGEFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, LEXBOT, LEXBOTALIAS, OUTBOUNDCALLFLOW, QUEUE, RECORDINGPOLICY, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SURVEYINVITEFLOW, SYSTEMPROMPT, TTSENGINE, TTSVOICE, USER, USERPROMPT, WIDGET"
|
1158
1158
|
end
|
1159
1159
|
|
1160
1160
|
|
@@ -1265,8 +1265,8 @@ module PureCloud
|
|
1265
1265
|
fail ArgumentError, "Missing the required parameter 'object_type' when calling ArchitectApi.get_architect_dependencytracking_consumingresources" if object_type.nil?
|
1266
1266
|
|
1267
1267
|
# verify enum value
|
1268
|
-
unless ['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMMONMODULEFLOW', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'DATATABLE', 'DIALOGFLOWAGENT', 'EMAILROUTE', 'EMERGENCYGROUP', 'FLOWOUTCOME', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDCHATFLOW', 'INBOUNDEMAILFLOW', 'INBOUNDSHORTMESSAGEFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'LEXBOT', 'LEXBOTALIAS', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RECORDINGPOLICY', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SURVEYINVITEFLOW', 'SYSTEMPROMPT', 'TTSENGINE', 'TTSVOICE', 'USER', 'USERPROMPT', 'WIDGET'
|
1269
|
-
fail ArgumentError, "invalid value for 'object_type', must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMMONMODULEFLOW, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, DATATABLE, DIALOGFLOWAGENT, EMAILROUTE, EMERGENCYGROUP, FLOWOUTCOME, GROUP, INBOUNDCALLFLOW, INBOUNDCHATFLOW, INBOUNDEMAILFLOW, INBOUNDSHORTMESSAGEFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, LEXBOT, LEXBOTALIAS, OUTBOUNDCALLFLOW, QUEUE, RECORDINGPOLICY, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SURVEYINVITEFLOW, SYSTEMPROMPT, TTSENGINE, TTSVOICE, USER, USERPROMPT, WIDGET
|
1268
|
+
unless ['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMMONMODULEFLOW', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'DATATABLE', 'DIALOGFLOWAGENT', 'EMAILROUTE', 'EMERGENCYGROUP', 'FLOWOUTCOME', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDCHATFLOW', 'INBOUNDEMAILFLOW', 'INBOUNDSHORTMESSAGEFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'LEXBOT', 'LEXBOTALIAS', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RECORDINGPOLICY', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SURVEYINVITEFLOW', 'SYSTEMPROMPT', 'TTSENGINE', 'TTSVOICE', 'USER', 'USERPROMPT', 'WIDGET'].include?(object_type)
|
1269
|
+
fail ArgumentError, "invalid value for 'object_type', must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMMONMODULEFLOW, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, DATATABLE, DIALOGFLOWAGENT, EMAILROUTE, EMERGENCYGROUP, FLOWOUTCOME, GROUP, INBOUNDCALLFLOW, INBOUNDCHATFLOW, INBOUNDEMAILFLOW, INBOUNDSHORTMESSAGEFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, LEXBOT, LEXBOTALIAS, OUTBOUNDCALLFLOW, QUEUE, RECORDINGPOLICY, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SURVEYINVITEFLOW, SYSTEMPROMPT, TTSENGINE, TTSVOICE, USER, USERPROMPT, WIDGET"
|
1270
1270
|
end
|
1271
1271
|
|
1272
1272
|
|
@@ -1515,8 +1515,8 @@ module PureCloud
|
|
1515
1515
|
|
1516
1516
|
|
1517
1517
|
|
1518
|
-
if opts[:'object_type'] && !['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMMONMODULEFLOW', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'DATATABLE', 'DIALOGFLOWAGENT', 'EMAILROUTE', 'EMERGENCYGROUP', 'FLOWOUTCOME', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDCHATFLOW', 'INBOUNDEMAILFLOW', 'INBOUNDSHORTMESSAGEFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'LEXBOT', 'LEXBOTALIAS', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RECORDINGPOLICY', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SURVEYINVITEFLOW', 'SYSTEMPROMPT', 'TTSENGINE', 'TTSVOICE', 'USER', 'USERPROMPT', 'WIDGET'
|
1519
|
-
fail ArgumentError, 'invalid value for "object_type", must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMMONMODULEFLOW, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, DATATABLE, DIALOGFLOWAGENT, EMAILROUTE, EMERGENCYGROUP, FLOWOUTCOME, GROUP, INBOUNDCALLFLOW, INBOUNDCHATFLOW, INBOUNDEMAILFLOW, INBOUNDSHORTMESSAGEFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, LEXBOT, LEXBOTALIAS, OUTBOUNDCALLFLOW, QUEUE, RECORDINGPOLICY, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SURVEYINVITEFLOW, SYSTEMPROMPT, TTSENGINE, TTSVOICE, USER, USERPROMPT, WIDGET
|
1518
|
+
if opts[:'object_type'] && !['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMMONMODULEFLOW', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'DATATABLE', 'DIALOGFLOWAGENT', 'EMAILROUTE', 'EMERGENCYGROUP', 'FLOWOUTCOME', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDCHATFLOW', 'INBOUNDEMAILFLOW', 'INBOUNDSHORTMESSAGEFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'LEXBOT', 'LEXBOTALIAS', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RECORDINGPOLICY', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SURVEYINVITEFLOW', 'SYSTEMPROMPT', 'TTSENGINE', 'TTSVOICE', 'USER', 'USERPROMPT', 'WIDGET'].include?(opts[:'object_type'])
|
1519
|
+
fail ArgumentError, 'invalid value for "object_type", must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMMONMODULEFLOW, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, DATATABLE, DIALOGFLOWAGENT, EMAILROUTE, EMERGENCYGROUP, FLOWOUTCOME, GROUP, INBOUNDCALLFLOW, INBOUNDCHATFLOW, INBOUNDEMAILFLOW, INBOUNDSHORTMESSAGEFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, LEXBOT, LEXBOTALIAS, OUTBOUNDCALLFLOW, QUEUE, RECORDINGPOLICY, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SURVEYINVITEFLOW, SYSTEMPROMPT, TTSENGINE, TTSVOICE, USER, USERPROMPT, WIDGET'
|
1520
1520
|
end
|
1521
1521
|
|
1522
1522
|
|
@@ -330,6 +330,198 @@ module PureCloud
|
|
330
330
|
return data, status_code, headers
|
331
331
|
end
|
332
332
|
|
333
|
+
# Delete a Facebook messaging integration
|
334
|
+
#
|
335
|
+
# @param integration_id Integration ID
|
336
|
+
# @param [Hash] opts the optional parameters
|
337
|
+
# @return [nil]
|
338
|
+
def delete_conversations_messaging_integrations_facebook_integration_id(integration_id, opts = {})
|
339
|
+
delete_conversations_messaging_integrations_facebook_integration_id_with_http_info(integration_id, opts)
|
340
|
+
return nil
|
341
|
+
end
|
342
|
+
|
343
|
+
# Delete a Facebook messaging integration
|
344
|
+
#
|
345
|
+
# @param integration_id Integration ID
|
346
|
+
# @param [Hash] opts the optional parameters
|
347
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
348
|
+
def delete_conversations_messaging_integrations_facebook_integration_id_with_http_info(integration_id, opts = {})
|
349
|
+
if @api_client.config.debugging
|
350
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.delete_conversations_messaging_integrations_facebook_integration_id ..."
|
351
|
+
end
|
352
|
+
|
353
|
+
|
354
|
+
# verify the required parameter 'integration_id' is set
|
355
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling ConversationsApi.delete_conversations_messaging_integrations_facebook_integration_id" if integration_id.nil?
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
# resource path
|
362
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/facebook/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
363
|
+
|
364
|
+
# query parameters
|
365
|
+
query_params = {}
|
366
|
+
|
367
|
+
# header parameters
|
368
|
+
header_params = {}
|
369
|
+
|
370
|
+
# HTTP header 'Accept' (if needed)
|
371
|
+
local_header_accept = ['application/json']
|
372
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
373
|
+
|
374
|
+
# HTTP header 'Content-Type'
|
375
|
+
local_header_content_type = ['application/json']
|
376
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
377
|
+
|
378
|
+
# form parameters
|
379
|
+
form_params = {}
|
380
|
+
|
381
|
+
# http body (model)
|
382
|
+
post_body = nil
|
383
|
+
|
384
|
+
auth_names = ['PureCloud OAuth']
|
385
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
386
|
+
:header_params => header_params,
|
387
|
+
:query_params => query_params,
|
388
|
+
:form_params => form_params,
|
389
|
+
:body => post_body,
|
390
|
+
:auth_names => auth_names)
|
391
|
+
if @api_client.config.debugging
|
392
|
+
@api_client.config.logger.debug "API called: ConversationsApi#delete_conversations_messaging_integrations_facebook_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
393
|
+
end
|
394
|
+
return data, status_code, headers
|
395
|
+
end
|
396
|
+
|
397
|
+
# Delete a LINE messenger integration
|
398
|
+
#
|
399
|
+
# @param integration_id Integration ID
|
400
|
+
# @param [Hash] opts the optional parameters
|
401
|
+
# @return [nil]
|
402
|
+
def delete_conversations_messaging_integrations_line_integration_id(integration_id, opts = {})
|
403
|
+
delete_conversations_messaging_integrations_line_integration_id_with_http_info(integration_id, opts)
|
404
|
+
return nil
|
405
|
+
end
|
406
|
+
|
407
|
+
# Delete a LINE messenger integration
|
408
|
+
#
|
409
|
+
# @param integration_id Integration ID
|
410
|
+
# @param [Hash] opts the optional parameters
|
411
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
412
|
+
def delete_conversations_messaging_integrations_line_integration_id_with_http_info(integration_id, opts = {})
|
413
|
+
if @api_client.config.debugging
|
414
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.delete_conversations_messaging_integrations_line_integration_id ..."
|
415
|
+
end
|
416
|
+
|
417
|
+
|
418
|
+
# verify the required parameter 'integration_id' is set
|
419
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling ConversationsApi.delete_conversations_messaging_integrations_line_integration_id" if integration_id.nil?
|
420
|
+
|
421
|
+
|
422
|
+
|
423
|
+
|
424
|
+
|
425
|
+
# resource path
|
426
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/line/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
427
|
+
|
428
|
+
# query parameters
|
429
|
+
query_params = {}
|
430
|
+
|
431
|
+
# header parameters
|
432
|
+
header_params = {}
|
433
|
+
|
434
|
+
# HTTP header 'Accept' (if needed)
|
435
|
+
local_header_accept = ['application/json']
|
436
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
437
|
+
|
438
|
+
# HTTP header 'Content-Type'
|
439
|
+
local_header_content_type = ['application/json']
|
440
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
441
|
+
|
442
|
+
# form parameters
|
443
|
+
form_params = {}
|
444
|
+
|
445
|
+
# http body (model)
|
446
|
+
post_body = nil
|
447
|
+
|
448
|
+
auth_names = ['PureCloud OAuth']
|
449
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
450
|
+
:header_params => header_params,
|
451
|
+
:query_params => query_params,
|
452
|
+
:form_params => form_params,
|
453
|
+
:body => post_body,
|
454
|
+
:auth_names => auth_names)
|
455
|
+
if @api_client.config.debugging
|
456
|
+
@api_client.config.logger.debug "API called: ConversationsApi#delete_conversations_messaging_integrations_line_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
457
|
+
end
|
458
|
+
return data, status_code, headers
|
459
|
+
end
|
460
|
+
|
461
|
+
# Delete a Twitter messaging integration
|
462
|
+
#
|
463
|
+
# @param integration_id Integration ID
|
464
|
+
# @param [Hash] opts the optional parameters
|
465
|
+
# @return [nil]
|
466
|
+
def delete_conversations_messaging_integrations_twitter_integration_id(integration_id, opts = {})
|
467
|
+
delete_conversations_messaging_integrations_twitter_integration_id_with_http_info(integration_id, opts)
|
468
|
+
return nil
|
469
|
+
end
|
470
|
+
|
471
|
+
# Delete a Twitter messaging integration
|
472
|
+
#
|
473
|
+
# @param integration_id Integration ID
|
474
|
+
# @param [Hash] opts the optional parameters
|
475
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
476
|
+
def delete_conversations_messaging_integrations_twitter_integration_id_with_http_info(integration_id, opts = {})
|
477
|
+
if @api_client.config.debugging
|
478
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.delete_conversations_messaging_integrations_twitter_integration_id ..."
|
479
|
+
end
|
480
|
+
|
481
|
+
|
482
|
+
# verify the required parameter 'integration_id' is set
|
483
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling ConversationsApi.delete_conversations_messaging_integrations_twitter_integration_id" if integration_id.nil?
|
484
|
+
|
485
|
+
|
486
|
+
|
487
|
+
|
488
|
+
|
489
|
+
# resource path
|
490
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/twitter/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
491
|
+
|
492
|
+
# query parameters
|
493
|
+
query_params = {}
|
494
|
+
|
495
|
+
# header parameters
|
496
|
+
header_params = {}
|
497
|
+
|
498
|
+
# HTTP header 'Accept' (if needed)
|
499
|
+
local_header_accept = ['application/json']
|
500
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
501
|
+
|
502
|
+
# HTTP header 'Content-Type'
|
503
|
+
local_header_content_type = ['application/json']
|
504
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
505
|
+
|
506
|
+
# form parameters
|
507
|
+
form_params = {}
|
508
|
+
|
509
|
+
# http body (model)
|
510
|
+
post_body = nil
|
511
|
+
|
512
|
+
auth_names = ['PureCloud OAuth']
|
513
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
514
|
+
:header_params => header_params,
|
515
|
+
:query_params => query_params,
|
516
|
+
:form_params => form_params,
|
517
|
+
:body => post_body,
|
518
|
+
:auth_names => auth_names)
|
519
|
+
if @api_client.config.debugging
|
520
|
+
@api_client.config.logger.debug "API called: ConversationsApi#delete_conversations_messaging_integrations_twitter_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
521
|
+
end
|
522
|
+
return data, status_code, headers
|
523
|
+
end
|
524
|
+
|
333
525
|
# Get a conversation by id
|
334
526
|
#
|
335
527
|
# @param conversation_id conversationId
|
@@ -2985,23 +3177,565 @@ module PureCloud
|
|
2985
3177
|
end
|
2986
3178
|
|
2987
3179
|
|
2988
|
-
# verify the required parameter 'conversation_id' is set
|
2989
|
-
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_message_participant_wrapupcodes" if conversation_id.nil?
|
2990
|
-
|
2991
|
-
|
2992
|
-
|
2993
|
-
|
2994
|
-
|
2995
|
-
|
2996
|
-
# verify the required parameter 'participant_id' is set
|
2997
|
-
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_message_participant_wrapupcodes" if participant_id.nil?
|
3180
|
+
# verify the required parameter 'conversation_id' is set
|
3181
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_message_participant_wrapupcodes" if conversation_id.nil?
|
3182
|
+
|
3183
|
+
|
3184
|
+
|
3185
|
+
|
3186
|
+
|
3187
|
+
|
3188
|
+
# verify the required parameter 'participant_id' is set
|
3189
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_message_participant_wrapupcodes" if participant_id.nil?
|
3190
|
+
|
3191
|
+
|
3192
|
+
|
3193
|
+
|
3194
|
+
|
3195
|
+
# resource path
|
3196
|
+
local_var_path = "/api/v2/conversations/messages/{conversationId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
3197
|
+
|
3198
|
+
# query parameters
|
3199
|
+
query_params = {}
|
3200
|
+
|
3201
|
+
# header parameters
|
3202
|
+
header_params = {}
|
3203
|
+
|
3204
|
+
# HTTP header 'Accept' (if needed)
|
3205
|
+
local_header_accept = ['application/json']
|
3206
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3207
|
+
|
3208
|
+
# HTTP header 'Content-Type'
|
3209
|
+
local_header_content_type = ['application/json']
|
3210
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3211
|
+
|
3212
|
+
# form parameters
|
3213
|
+
form_params = {}
|
3214
|
+
|
3215
|
+
# http body (model)
|
3216
|
+
post_body = nil
|
3217
|
+
|
3218
|
+
auth_names = ['PureCloud OAuth']
|
3219
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
3220
|
+
:header_params => header_params,
|
3221
|
+
:query_params => query_params,
|
3222
|
+
:form_params => form_params,
|
3223
|
+
:body => post_body,
|
3224
|
+
:auth_names => auth_names,
|
3225
|
+
:return_type => 'Array<WrapupCode>')
|
3226
|
+
if @api_client.config.debugging
|
3227
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_message_participant_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3228
|
+
end
|
3229
|
+
return data, status_code, headers
|
3230
|
+
end
|
3231
|
+
|
3232
|
+
# Get active message conversations for the logged in user
|
3233
|
+
#
|
3234
|
+
# @param [Hash] opts the optional parameters
|
3235
|
+
# @return [MessageConversationEntityListing]
|
3236
|
+
def get_conversations_messages(opts = {})
|
3237
|
+
data, _status_code, _headers = get_conversations_messages_with_http_info(opts)
|
3238
|
+
return data
|
3239
|
+
end
|
3240
|
+
|
3241
|
+
# Get active message conversations for the logged in user
|
3242
|
+
#
|
3243
|
+
# @param [Hash] opts the optional parameters
|
3244
|
+
# @return [Array<(MessageConversationEntityListing, Fixnum, Hash)>] MessageConversationEntityListing data, response status code and response headers
|
3245
|
+
def get_conversations_messages_with_http_info(opts = {})
|
3246
|
+
if @api_client.config.debugging
|
3247
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_messages ..."
|
3248
|
+
end
|
3249
|
+
|
3250
|
+
# resource path
|
3251
|
+
local_var_path = "/api/v2/conversations/messages".sub('{format}','json')
|
3252
|
+
|
3253
|
+
# query parameters
|
3254
|
+
query_params = {}
|
3255
|
+
|
3256
|
+
# header parameters
|
3257
|
+
header_params = {}
|
3258
|
+
|
3259
|
+
# HTTP header 'Accept' (if needed)
|
3260
|
+
local_header_accept = ['application/json']
|
3261
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3262
|
+
|
3263
|
+
# HTTP header 'Content-Type'
|
3264
|
+
local_header_content_type = ['application/json']
|
3265
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3266
|
+
|
3267
|
+
# form parameters
|
3268
|
+
form_params = {}
|
3269
|
+
|
3270
|
+
# http body (model)
|
3271
|
+
post_body = nil
|
3272
|
+
|
3273
|
+
auth_names = ['PureCloud OAuth']
|
3274
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
3275
|
+
:header_params => header_params,
|
3276
|
+
:query_params => query_params,
|
3277
|
+
:form_params => form_params,
|
3278
|
+
:body => post_body,
|
3279
|
+
:auth_names => auth_names,
|
3280
|
+
:return_type => 'MessageConversationEntityListing')
|
3281
|
+
if @api_client.config.debugging
|
3282
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_messages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3283
|
+
end
|
3284
|
+
return data, status_code, headers
|
3285
|
+
end
|
3286
|
+
|
3287
|
+
# Get a list of Integrations
|
3288
|
+
#
|
3289
|
+
# @param [Hash] opts the optional parameters
|
3290
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
3291
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
3292
|
+
# @return [MessagingIntegrationEntityListing]
|
3293
|
+
def get_conversations_messaging_integrations(opts = {})
|
3294
|
+
data, _status_code, _headers = get_conversations_messaging_integrations_with_http_info(opts)
|
3295
|
+
return data
|
3296
|
+
end
|
3297
|
+
|
3298
|
+
# Get a list of Integrations
|
3299
|
+
#
|
3300
|
+
# @param [Hash] opts the optional parameters
|
3301
|
+
# @option opts [Integer] :page_size Page size
|
3302
|
+
# @option opts [Integer] :page_number Page number
|
3303
|
+
# @return [Array<(MessagingIntegrationEntityListing, Fixnum, Hash)>] MessagingIntegrationEntityListing data, response status code and response headers
|
3304
|
+
def get_conversations_messaging_integrations_with_http_info(opts = {})
|
3305
|
+
if @api_client.config.debugging
|
3306
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_messaging_integrations ..."
|
3307
|
+
end
|
3308
|
+
|
3309
|
+
|
3310
|
+
|
3311
|
+
|
3312
|
+
|
3313
|
+
|
3314
|
+
|
3315
|
+
|
3316
|
+
|
3317
|
+
|
3318
|
+
|
3319
|
+
|
3320
|
+
|
3321
|
+
# resource path
|
3322
|
+
local_var_path = "/api/v2/conversations/messaging/integrations".sub('{format}','json')
|
3323
|
+
|
3324
|
+
# query parameters
|
3325
|
+
query_params = {}
|
3326
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
3327
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
3328
|
+
|
3329
|
+
# header parameters
|
3330
|
+
header_params = {}
|
3331
|
+
|
3332
|
+
# HTTP header 'Accept' (if needed)
|
3333
|
+
local_header_accept = ['application/json']
|
3334
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3335
|
+
|
3336
|
+
# HTTP header 'Content-Type'
|
3337
|
+
local_header_content_type = ['application/json']
|
3338
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3339
|
+
|
3340
|
+
# form parameters
|
3341
|
+
form_params = {}
|
3342
|
+
|
3343
|
+
# http body (model)
|
3344
|
+
post_body = nil
|
3345
|
+
|
3346
|
+
auth_names = ['PureCloud OAuth']
|
3347
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
3348
|
+
:header_params => header_params,
|
3349
|
+
:query_params => query_params,
|
3350
|
+
:form_params => form_params,
|
3351
|
+
:body => post_body,
|
3352
|
+
:auth_names => auth_names,
|
3353
|
+
:return_type => 'MessagingIntegrationEntityListing')
|
3354
|
+
if @api_client.config.debugging
|
3355
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_messaging_integrations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3356
|
+
end
|
3357
|
+
return data, status_code, headers
|
3358
|
+
end
|
3359
|
+
|
3360
|
+
# Get a list of Facebook Integrations
|
3361
|
+
#
|
3362
|
+
# @param [Hash] opts the optional parameters
|
3363
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
3364
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
3365
|
+
# @return [FacebookIntegrationEntityListing]
|
3366
|
+
def get_conversations_messaging_integrations_facebook(opts = {})
|
3367
|
+
data, _status_code, _headers = get_conversations_messaging_integrations_facebook_with_http_info(opts)
|
3368
|
+
return data
|
3369
|
+
end
|
3370
|
+
|
3371
|
+
# Get a list of Facebook Integrations
|
3372
|
+
#
|
3373
|
+
# @param [Hash] opts the optional parameters
|
3374
|
+
# @option opts [Integer] :page_size Page size
|
3375
|
+
# @option opts [Integer] :page_number Page number
|
3376
|
+
# @return [Array<(FacebookIntegrationEntityListing, Fixnum, Hash)>] FacebookIntegrationEntityListing data, response status code and response headers
|
3377
|
+
def get_conversations_messaging_integrations_facebook_with_http_info(opts = {})
|
3378
|
+
if @api_client.config.debugging
|
3379
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_messaging_integrations_facebook ..."
|
3380
|
+
end
|
3381
|
+
|
3382
|
+
|
3383
|
+
|
3384
|
+
|
3385
|
+
|
3386
|
+
|
3387
|
+
|
3388
|
+
|
3389
|
+
|
3390
|
+
|
3391
|
+
|
3392
|
+
|
3393
|
+
|
3394
|
+
# resource path
|
3395
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/facebook".sub('{format}','json')
|
3396
|
+
|
3397
|
+
# query parameters
|
3398
|
+
query_params = {}
|
3399
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
3400
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
3401
|
+
|
3402
|
+
# header parameters
|
3403
|
+
header_params = {}
|
3404
|
+
|
3405
|
+
# HTTP header 'Accept' (if needed)
|
3406
|
+
local_header_accept = ['application/json']
|
3407
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3408
|
+
|
3409
|
+
# HTTP header 'Content-Type'
|
3410
|
+
local_header_content_type = ['application/json']
|
3411
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3412
|
+
|
3413
|
+
# form parameters
|
3414
|
+
form_params = {}
|
3415
|
+
|
3416
|
+
# http body (model)
|
3417
|
+
post_body = nil
|
3418
|
+
|
3419
|
+
auth_names = ['PureCloud OAuth']
|
3420
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
3421
|
+
:header_params => header_params,
|
3422
|
+
:query_params => query_params,
|
3423
|
+
:form_params => form_params,
|
3424
|
+
:body => post_body,
|
3425
|
+
:auth_names => auth_names,
|
3426
|
+
:return_type => 'FacebookIntegrationEntityListing')
|
3427
|
+
if @api_client.config.debugging
|
3428
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_messaging_integrations_facebook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3429
|
+
end
|
3430
|
+
return data, status_code, headers
|
3431
|
+
end
|
3432
|
+
|
3433
|
+
# Get a Facebook messaging integration
|
3434
|
+
#
|
3435
|
+
# @param integration_id Integration ID
|
3436
|
+
# @param [Hash] opts the optional parameters
|
3437
|
+
# @return [FacebookIntegration]
|
3438
|
+
def get_conversations_messaging_integrations_facebook_integration_id(integration_id, opts = {})
|
3439
|
+
data, _status_code, _headers = get_conversations_messaging_integrations_facebook_integration_id_with_http_info(integration_id, opts)
|
3440
|
+
return data
|
3441
|
+
end
|
3442
|
+
|
3443
|
+
# Get a Facebook messaging integration
|
3444
|
+
#
|
3445
|
+
# @param integration_id Integration ID
|
3446
|
+
# @param [Hash] opts the optional parameters
|
3447
|
+
# @return [Array<(FacebookIntegration, Fixnum, Hash)>] FacebookIntegration data, response status code and response headers
|
3448
|
+
def get_conversations_messaging_integrations_facebook_integration_id_with_http_info(integration_id, opts = {})
|
3449
|
+
if @api_client.config.debugging
|
3450
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_messaging_integrations_facebook_integration_id ..."
|
3451
|
+
end
|
3452
|
+
|
3453
|
+
|
3454
|
+
# verify the required parameter 'integration_id' is set
|
3455
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling ConversationsApi.get_conversations_messaging_integrations_facebook_integration_id" if integration_id.nil?
|
3456
|
+
|
3457
|
+
|
3458
|
+
|
3459
|
+
|
3460
|
+
|
3461
|
+
# resource path
|
3462
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/facebook/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
3463
|
+
|
3464
|
+
# query parameters
|
3465
|
+
query_params = {}
|
3466
|
+
|
3467
|
+
# header parameters
|
3468
|
+
header_params = {}
|
3469
|
+
|
3470
|
+
# HTTP header 'Accept' (if needed)
|
3471
|
+
local_header_accept = ['application/json']
|
3472
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3473
|
+
|
3474
|
+
# HTTP header 'Content-Type'
|
3475
|
+
local_header_content_type = ['application/json']
|
3476
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3477
|
+
|
3478
|
+
# form parameters
|
3479
|
+
form_params = {}
|
3480
|
+
|
3481
|
+
# http body (model)
|
3482
|
+
post_body = nil
|
3483
|
+
|
3484
|
+
auth_names = ['PureCloud OAuth']
|
3485
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
3486
|
+
:header_params => header_params,
|
3487
|
+
:query_params => query_params,
|
3488
|
+
:form_params => form_params,
|
3489
|
+
:body => post_body,
|
3490
|
+
:auth_names => auth_names,
|
3491
|
+
:return_type => 'FacebookIntegration')
|
3492
|
+
if @api_client.config.debugging
|
3493
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_messaging_integrations_facebook_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3494
|
+
end
|
3495
|
+
return data, status_code, headers
|
3496
|
+
end
|
3497
|
+
|
3498
|
+
# Get a list of LINE messenger Integrations
|
3499
|
+
#
|
3500
|
+
# @param [Hash] opts the optional parameters
|
3501
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
3502
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
3503
|
+
# @return [LineIntegrationEntityListing]
|
3504
|
+
def get_conversations_messaging_integrations_line(opts = {})
|
3505
|
+
data, _status_code, _headers = get_conversations_messaging_integrations_line_with_http_info(opts)
|
3506
|
+
return data
|
3507
|
+
end
|
3508
|
+
|
3509
|
+
# Get a list of LINE messenger Integrations
|
3510
|
+
#
|
3511
|
+
# @param [Hash] opts the optional parameters
|
3512
|
+
# @option opts [Integer] :page_size Page size
|
3513
|
+
# @option opts [Integer] :page_number Page number
|
3514
|
+
# @return [Array<(LineIntegrationEntityListing, Fixnum, Hash)>] LineIntegrationEntityListing data, response status code and response headers
|
3515
|
+
def get_conversations_messaging_integrations_line_with_http_info(opts = {})
|
3516
|
+
if @api_client.config.debugging
|
3517
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_messaging_integrations_line ..."
|
3518
|
+
end
|
3519
|
+
|
3520
|
+
|
3521
|
+
|
3522
|
+
|
3523
|
+
|
3524
|
+
|
3525
|
+
|
3526
|
+
|
3527
|
+
|
3528
|
+
|
3529
|
+
|
3530
|
+
|
3531
|
+
|
3532
|
+
# resource path
|
3533
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/line".sub('{format}','json')
|
3534
|
+
|
3535
|
+
# query parameters
|
3536
|
+
query_params = {}
|
3537
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
3538
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
3539
|
+
|
3540
|
+
# header parameters
|
3541
|
+
header_params = {}
|
3542
|
+
|
3543
|
+
# HTTP header 'Accept' (if needed)
|
3544
|
+
local_header_accept = ['application/json']
|
3545
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3546
|
+
|
3547
|
+
# HTTP header 'Content-Type'
|
3548
|
+
local_header_content_type = ['application/json']
|
3549
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3550
|
+
|
3551
|
+
# form parameters
|
3552
|
+
form_params = {}
|
3553
|
+
|
3554
|
+
# http body (model)
|
3555
|
+
post_body = nil
|
3556
|
+
|
3557
|
+
auth_names = ['PureCloud OAuth']
|
3558
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
3559
|
+
:header_params => header_params,
|
3560
|
+
:query_params => query_params,
|
3561
|
+
:form_params => form_params,
|
3562
|
+
:body => post_body,
|
3563
|
+
:auth_names => auth_names,
|
3564
|
+
:return_type => 'LineIntegrationEntityListing')
|
3565
|
+
if @api_client.config.debugging
|
3566
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_messaging_integrations_line\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3567
|
+
end
|
3568
|
+
return data, status_code, headers
|
3569
|
+
end
|
3570
|
+
|
3571
|
+
# Get a LINE messenger integration
|
3572
|
+
#
|
3573
|
+
# @param integration_id Integration ID
|
3574
|
+
# @param [Hash] opts the optional parameters
|
3575
|
+
# @return [LineIntegration]
|
3576
|
+
def get_conversations_messaging_integrations_line_integration_id(integration_id, opts = {})
|
3577
|
+
data, _status_code, _headers = get_conversations_messaging_integrations_line_integration_id_with_http_info(integration_id, opts)
|
3578
|
+
return data
|
3579
|
+
end
|
3580
|
+
|
3581
|
+
# Get a LINE messenger integration
|
3582
|
+
#
|
3583
|
+
# @param integration_id Integration ID
|
3584
|
+
# @param [Hash] opts the optional parameters
|
3585
|
+
# @return [Array<(LineIntegration, Fixnum, Hash)>] LineIntegration data, response status code and response headers
|
3586
|
+
def get_conversations_messaging_integrations_line_integration_id_with_http_info(integration_id, opts = {})
|
3587
|
+
if @api_client.config.debugging
|
3588
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_messaging_integrations_line_integration_id ..."
|
3589
|
+
end
|
3590
|
+
|
3591
|
+
|
3592
|
+
# verify the required parameter 'integration_id' is set
|
3593
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling ConversationsApi.get_conversations_messaging_integrations_line_integration_id" if integration_id.nil?
|
3594
|
+
|
3595
|
+
|
3596
|
+
|
3597
|
+
|
3598
|
+
|
3599
|
+
# resource path
|
3600
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/line/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
3601
|
+
|
3602
|
+
# query parameters
|
3603
|
+
query_params = {}
|
3604
|
+
|
3605
|
+
# header parameters
|
3606
|
+
header_params = {}
|
3607
|
+
|
3608
|
+
# HTTP header 'Accept' (if needed)
|
3609
|
+
local_header_accept = ['application/json']
|
3610
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3611
|
+
|
3612
|
+
# HTTP header 'Content-Type'
|
3613
|
+
local_header_content_type = ['application/json']
|
3614
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3615
|
+
|
3616
|
+
# form parameters
|
3617
|
+
form_params = {}
|
3618
|
+
|
3619
|
+
# http body (model)
|
3620
|
+
post_body = nil
|
3621
|
+
|
3622
|
+
auth_names = ['PureCloud OAuth']
|
3623
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
3624
|
+
:header_params => header_params,
|
3625
|
+
:query_params => query_params,
|
3626
|
+
:form_params => form_params,
|
3627
|
+
:body => post_body,
|
3628
|
+
:auth_names => auth_names,
|
3629
|
+
:return_type => 'LineIntegration')
|
3630
|
+
if @api_client.config.debugging
|
3631
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_messaging_integrations_line_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3632
|
+
end
|
3633
|
+
return data, status_code, headers
|
3634
|
+
end
|
3635
|
+
|
3636
|
+
# Get a list of Twitter Integrations
|
3637
|
+
#
|
3638
|
+
# @param [Hash] opts the optional parameters
|
3639
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
3640
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
3641
|
+
# @return [TwitterIntegrationEntityListing]
|
3642
|
+
def get_conversations_messaging_integrations_twitter(opts = {})
|
3643
|
+
data, _status_code, _headers = get_conversations_messaging_integrations_twitter_with_http_info(opts)
|
3644
|
+
return data
|
3645
|
+
end
|
3646
|
+
|
3647
|
+
# Get a list of Twitter Integrations
|
3648
|
+
#
|
3649
|
+
# @param [Hash] opts the optional parameters
|
3650
|
+
# @option opts [Integer] :page_size Page size
|
3651
|
+
# @option opts [Integer] :page_number Page number
|
3652
|
+
# @return [Array<(TwitterIntegrationEntityListing, Fixnum, Hash)>] TwitterIntegrationEntityListing data, response status code and response headers
|
3653
|
+
def get_conversations_messaging_integrations_twitter_with_http_info(opts = {})
|
3654
|
+
if @api_client.config.debugging
|
3655
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_messaging_integrations_twitter ..."
|
3656
|
+
end
|
3657
|
+
|
3658
|
+
|
3659
|
+
|
3660
|
+
|
3661
|
+
|
3662
|
+
|
3663
|
+
|
3664
|
+
|
3665
|
+
|
3666
|
+
|
3667
|
+
|
3668
|
+
|
3669
|
+
|
3670
|
+
# resource path
|
3671
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/twitter".sub('{format}','json')
|
3672
|
+
|
3673
|
+
# query parameters
|
3674
|
+
query_params = {}
|
3675
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
3676
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
3677
|
+
|
3678
|
+
# header parameters
|
3679
|
+
header_params = {}
|
3680
|
+
|
3681
|
+
# HTTP header 'Accept' (if needed)
|
3682
|
+
local_header_accept = ['application/json']
|
3683
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3684
|
+
|
3685
|
+
# HTTP header 'Content-Type'
|
3686
|
+
local_header_content_type = ['application/json']
|
3687
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3688
|
+
|
3689
|
+
# form parameters
|
3690
|
+
form_params = {}
|
3691
|
+
|
3692
|
+
# http body (model)
|
3693
|
+
post_body = nil
|
3694
|
+
|
3695
|
+
auth_names = ['PureCloud OAuth']
|
3696
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
3697
|
+
:header_params => header_params,
|
3698
|
+
:query_params => query_params,
|
3699
|
+
:form_params => form_params,
|
3700
|
+
:body => post_body,
|
3701
|
+
:auth_names => auth_names,
|
3702
|
+
:return_type => 'TwitterIntegrationEntityListing')
|
3703
|
+
if @api_client.config.debugging
|
3704
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_messaging_integrations_twitter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3705
|
+
end
|
3706
|
+
return data, status_code, headers
|
3707
|
+
end
|
3708
|
+
|
3709
|
+
# Get a Twitter messaging integration
|
3710
|
+
#
|
3711
|
+
# @param integration_id Integration ID
|
3712
|
+
# @param [Hash] opts the optional parameters
|
3713
|
+
# @return [TwitterIntegration]
|
3714
|
+
def get_conversations_messaging_integrations_twitter_integration_id(integration_id, opts = {})
|
3715
|
+
data, _status_code, _headers = get_conversations_messaging_integrations_twitter_integration_id_with_http_info(integration_id, opts)
|
3716
|
+
return data
|
3717
|
+
end
|
3718
|
+
|
3719
|
+
# Get a Twitter messaging integration
|
3720
|
+
#
|
3721
|
+
# @param integration_id Integration ID
|
3722
|
+
# @param [Hash] opts the optional parameters
|
3723
|
+
# @return [Array<(TwitterIntegration, Fixnum, Hash)>] TwitterIntegration data, response status code and response headers
|
3724
|
+
def get_conversations_messaging_integrations_twitter_integration_id_with_http_info(integration_id, opts = {})
|
3725
|
+
if @api_client.config.debugging
|
3726
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_messaging_integrations_twitter_integration_id ..."
|
3727
|
+
end
|
3728
|
+
|
3729
|
+
|
3730
|
+
# verify the required parameter 'integration_id' is set
|
3731
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling ConversationsApi.get_conversations_messaging_integrations_twitter_integration_id" if integration_id.nil?
|
2998
3732
|
|
2999
3733
|
|
3000
3734
|
|
3001
3735
|
|
3002
3736
|
|
3003
3737
|
# resource path
|
3004
|
-
local_var_path = "/api/v2/conversations/
|
3738
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/twitter/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
3005
3739
|
|
3006
3740
|
# query parameters
|
3007
3741
|
query_params = {}
|
@@ -3030,36 +3764,64 @@ module PureCloud
|
|
3030
3764
|
:form_params => form_params,
|
3031
3765
|
:body => post_body,
|
3032
3766
|
:auth_names => auth_names,
|
3033
|
-
:return_type => '
|
3767
|
+
:return_type => 'TwitterIntegration')
|
3034
3768
|
if @api_client.config.debugging
|
3035
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
3769
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_messaging_integrations_twitter_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3036
3770
|
end
|
3037
3771
|
return data, status_code, headers
|
3038
3772
|
end
|
3039
3773
|
|
3040
|
-
# Get
|
3774
|
+
# Get a list of Messaging Stickers
|
3041
3775
|
#
|
3776
|
+
# @param messenger_type Messenger Type
|
3042
3777
|
# @param [Hash] opts the optional parameters
|
3043
|
-
# @
|
3044
|
-
|
3045
|
-
|
3778
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
3779
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
3780
|
+
# @return [MessagingStickerEntityListing]
|
3781
|
+
def get_conversations_messaging_sticker(messenger_type, opts = {})
|
3782
|
+
data, _status_code, _headers = get_conversations_messaging_sticker_with_http_info(messenger_type, opts)
|
3046
3783
|
return data
|
3047
3784
|
end
|
3048
3785
|
|
3049
|
-
# Get
|
3786
|
+
# Get a list of Messaging Stickers
|
3050
3787
|
#
|
3788
|
+
# @param messenger_type Messenger Type
|
3051
3789
|
# @param [Hash] opts the optional parameters
|
3052
|
-
# @
|
3053
|
-
|
3790
|
+
# @option opts [Integer] :page_size Page size
|
3791
|
+
# @option opts [Integer] :page_number Page number
|
3792
|
+
# @return [Array<(MessagingStickerEntityListing, Fixnum, Hash)>] MessagingStickerEntityListing data, response status code and response headers
|
3793
|
+
def get_conversations_messaging_sticker_with_http_info(messenger_type, opts = {})
|
3054
3794
|
if @api_client.config.debugging
|
3055
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi.
|
3795
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_messaging_sticker ..."
|
3056
3796
|
end
|
3057
3797
|
|
3798
|
+
|
3799
|
+
# verify the required parameter 'messenger_type' is set
|
3800
|
+
fail ArgumentError, "Missing the required parameter 'messenger_type' when calling ConversationsApi.get_conversations_messaging_sticker" if messenger_type.nil?
|
3801
|
+
|
3802
|
+
|
3803
|
+
|
3804
|
+
|
3805
|
+
|
3806
|
+
|
3807
|
+
|
3808
|
+
|
3809
|
+
|
3810
|
+
|
3811
|
+
|
3812
|
+
|
3813
|
+
|
3814
|
+
|
3815
|
+
|
3816
|
+
|
3817
|
+
|
3058
3818
|
# resource path
|
3059
|
-
local_var_path = "/api/v2/conversations/
|
3819
|
+
local_var_path = "/api/v2/conversations/messaging/stickers/{messengerType}".sub('{format}','json').sub('{' + 'messengerType' + '}', messenger_type.to_s)
|
3060
3820
|
|
3061
3821
|
# query parameters
|
3062
3822
|
query_params = {}
|
3823
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
3824
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
3063
3825
|
|
3064
3826
|
# header parameters
|
3065
3827
|
header_params = {}
|
@@ -3085,9 +3847,9 @@ module PureCloud
|
|
3085
3847
|
:form_params => form_params,
|
3086
3848
|
:body => post_body,
|
3087
3849
|
:auth_names => auth_names,
|
3088
|
-
:return_type => '
|
3850
|
+
:return_type => 'MessagingStickerEntityListing')
|
3089
3851
|
if @api_client.config.debugging
|
3090
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
3852
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_messaging_sticker\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3091
3853
|
end
|
3092
3854
|
return data, status_code, headers
|
3093
3855
|
end
|
@@ -7550,6 +8312,201 @@ module PureCloud
|
|
7550
8312
|
return data, status_code, headers
|
7551
8313
|
end
|
7552
8314
|
|
8315
|
+
# Create a Facebook Integration
|
8316
|
+
#
|
8317
|
+
# @param body FacebookIntegrationRequest
|
8318
|
+
# @param [Hash] opts the optional parameters
|
8319
|
+
# @return [FacebookIntegration]
|
8320
|
+
def post_conversations_messaging_integrations_facebook(body, opts = {})
|
8321
|
+
data, _status_code, _headers = post_conversations_messaging_integrations_facebook_with_http_info(body, opts)
|
8322
|
+
return data
|
8323
|
+
end
|
8324
|
+
|
8325
|
+
# Create a Facebook Integration
|
8326
|
+
#
|
8327
|
+
# @param body FacebookIntegrationRequest
|
8328
|
+
# @param [Hash] opts the optional parameters
|
8329
|
+
# @return [Array<(FacebookIntegration, Fixnum, Hash)>] FacebookIntegration data, response status code and response headers
|
8330
|
+
def post_conversations_messaging_integrations_facebook_with_http_info(body, opts = {})
|
8331
|
+
if @api_client.config.debugging
|
8332
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_messaging_integrations_facebook ..."
|
8333
|
+
end
|
8334
|
+
|
8335
|
+
|
8336
|
+
# verify the required parameter 'body' is set
|
8337
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_messaging_integrations_facebook" if body.nil?
|
8338
|
+
|
8339
|
+
|
8340
|
+
|
8341
|
+
|
8342
|
+
|
8343
|
+
# resource path
|
8344
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/facebook".sub('{format}','json')
|
8345
|
+
|
8346
|
+
# query parameters
|
8347
|
+
query_params = {}
|
8348
|
+
|
8349
|
+
# header parameters
|
8350
|
+
header_params = {}
|
8351
|
+
|
8352
|
+
# HTTP header 'Accept' (if needed)
|
8353
|
+
local_header_accept = ['application/json']
|
8354
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
8355
|
+
|
8356
|
+
# HTTP header 'Content-Type'
|
8357
|
+
local_header_content_type = ['application/json']
|
8358
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
8359
|
+
|
8360
|
+
# form parameters
|
8361
|
+
form_params = {}
|
8362
|
+
|
8363
|
+
# http body (model)
|
8364
|
+
post_body = @api_client.object_to_http_body(body)
|
8365
|
+
|
8366
|
+
auth_names = ['PureCloud OAuth']
|
8367
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
8368
|
+
:header_params => header_params,
|
8369
|
+
:query_params => query_params,
|
8370
|
+
:form_params => form_params,
|
8371
|
+
:body => post_body,
|
8372
|
+
:auth_names => auth_names,
|
8373
|
+
:return_type => 'FacebookIntegration')
|
8374
|
+
if @api_client.config.debugging
|
8375
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_messaging_integrations_facebook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
8376
|
+
end
|
8377
|
+
return data, status_code, headers
|
8378
|
+
end
|
8379
|
+
|
8380
|
+
# Create a LINE messenger Integration
|
8381
|
+
#
|
8382
|
+
# @param body LineIntegrationRequest
|
8383
|
+
# @param [Hash] opts the optional parameters
|
8384
|
+
# @return [LineIntegration]
|
8385
|
+
def post_conversations_messaging_integrations_line(body, opts = {})
|
8386
|
+
data, _status_code, _headers = post_conversations_messaging_integrations_line_with_http_info(body, opts)
|
8387
|
+
return data
|
8388
|
+
end
|
8389
|
+
|
8390
|
+
# Create a LINE messenger Integration
|
8391
|
+
#
|
8392
|
+
# @param body LineIntegrationRequest
|
8393
|
+
# @param [Hash] opts the optional parameters
|
8394
|
+
# @return [Array<(LineIntegration, Fixnum, Hash)>] LineIntegration data, response status code and response headers
|
8395
|
+
def post_conversations_messaging_integrations_line_with_http_info(body, opts = {})
|
8396
|
+
if @api_client.config.debugging
|
8397
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_messaging_integrations_line ..."
|
8398
|
+
end
|
8399
|
+
|
8400
|
+
|
8401
|
+
# verify the required parameter 'body' is set
|
8402
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_messaging_integrations_line" if body.nil?
|
8403
|
+
|
8404
|
+
|
8405
|
+
|
8406
|
+
|
8407
|
+
|
8408
|
+
# resource path
|
8409
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/line".sub('{format}','json')
|
8410
|
+
|
8411
|
+
# query parameters
|
8412
|
+
query_params = {}
|
8413
|
+
|
8414
|
+
# header parameters
|
8415
|
+
header_params = {}
|
8416
|
+
|
8417
|
+
# HTTP header 'Accept' (if needed)
|
8418
|
+
local_header_accept = ['application/json']
|
8419
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
8420
|
+
|
8421
|
+
# HTTP header 'Content-Type'
|
8422
|
+
local_header_content_type = ['application/json']
|
8423
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
8424
|
+
|
8425
|
+
# form parameters
|
8426
|
+
form_params = {}
|
8427
|
+
|
8428
|
+
# http body (model)
|
8429
|
+
post_body = @api_client.object_to_http_body(body)
|
8430
|
+
|
8431
|
+
auth_names = ['PureCloud OAuth']
|
8432
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
8433
|
+
:header_params => header_params,
|
8434
|
+
:query_params => query_params,
|
8435
|
+
:form_params => form_params,
|
8436
|
+
:body => post_body,
|
8437
|
+
:auth_names => auth_names,
|
8438
|
+
:return_type => 'LineIntegration')
|
8439
|
+
if @api_client.config.debugging
|
8440
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_messaging_integrations_line\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
8441
|
+
end
|
8442
|
+
return data, status_code, headers
|
8443
|
+
end
|
8444
|
+
|
8445
|
+
# Create a Twitter Integration
|
8446
|
+
#
|
8447
|
+
# @param body TwitterIntegrationRequest
|
8448
|
+
# @param [Hash] opts the optional parameters
|
8449
|
+
# @return [TwitterIntegration]
|
8450
|
+
def post_conversations_messaging_integrations_twitter(body, opts = {})
|
8451
|
+
data, _status_code, _headers = post_conversations_messaging_integrations_twitter_with_http_info(body, opts)
|
8452
|
+
return data
|
8453
|
+
end
|
8454
|
+
|
8455
|
+
# Create a Twitter Integration
|
8456
|
+
#
|
8457
|
+
# @param body TwitterIntegrationRequest
|
8458
|
+
# @param [Hash] opts the optional parameters
|
8459
|
+
# @return [Array<(TwitterIntegration, Fixnum, Hash)>] TwitterIntegration data, response status code and response headers
|
8460
|
+
def post_conversations_messaging_integrations_twitter_with_http_info(body, opts = {})
|
8461
|
+
if @api_client.config.debugging
|
8462
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_messaging_integrations_twitter ..."
|
8463
|
+
end
|
8464
|
+
|
8465
|
+
|
8466
|
+
# verify the required parameter 'body' is set
|
8467
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_messaging_integrations_twitter" if body.nil?
|
8468
|
+
|
8469
|
+
|
8470
|
+
|
8471
|
+
|
8472
|
+
|
8473
|
+
# resource path
|
8474
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/twitter".sub('{format}','json')
|
8475
|
+
|
8476
|
+
# query parameters
|
8477
|
+
query_params = {}
|
8478
|
+
|
8479
|
+
# header parameters
|
8480
|
+
header_params = {}
|
8481
|
+
|
8482
|
+
# HTTP header 'Accept' (if needed)
|
8483
|
+
local_header_accept = ['application/json']
|
8484
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
8485
|
+
|
8486
|
+
# HTTP header 'Content-Type'
|
8487
|
+
local_header_content_type = ['application/json']
|
8488
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
8489
|
+
|
8490
|
+
# form parameters
|
8491
|
+
form_params = {}
|
8492
|
+
|
8493
|
+
# http body (model)
|
8494
|
+
post_body = @api_client.object_to_http_body(body)
|
8495
|
+
|
8496
|
+
auth_names = ['PureCloud OAuth']
|
8497
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
8498
|
+
:header_params => header_params,
|
8499
|
+
:query_params => query_params,
|
8500
|
+
:form_params => form_params,
|
8501
|
+
:body => post_body,
|
8502
|
+
:auth_names => auth_names,
|
8503
|
+
:return_type => 'TwitterIntegration')
|
8504
|
+
if @api_client.config.debugging
|
8505
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_messaging_integrations_twitter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
8506
|
+
end
|
8507
|
+
return data, status_code, headers
|
8508
|
+
end
|
8509
|
+
|
7553
8510
|
# Set flagged reason on conversation participant to indicate bad conversation quality.
|
7554
8511
|
#
|
7555
8512
|
# @param conversation_id conversation ID
|
@@ -7793,5 +8750,80 @@ module PureCloud
|
|
7793
8750
|
end
|
7794
8751
|
return data, status_code, headers
|
7795
8752
|
end
|
8753
|
+
|
8754
|
+
# Update a LINE messenger integration
|
8755
|
+
#
|
8756
|
+
# @param integration_id Integration ID
|
8757
|
+
# @param body LineIntegrationRequest
|
8758
|
+
# @param [Hash] opts the optional parameters
|
8759
|
+
# @return [LineIntegration]
|
8760
|
+
def put_conversations_messaging_integrations_line_integration_id(integration_id, body, opts = {})
|
8761
|
+
data, _status_code, _headers = put_conversations_messaging_integrations_line_integration_id_with_http_info(integration_id, body, opts)
|
8762
|
+
return data
|
8763
|
+
end
|
8764
|
+
|
8765
|
+
# Update a LINE messenger integration
|
8766
|
+
#
|
8767
|
+
# @param integration_id Integration ID
|
8768
|
+
# @param body LineIntegrationRequest
|
8769
|
+
# @param [Hash] opts the optional parameters
|
8770
|
+
# @return [Array<(LineIntegration, Fixnum, Hash)>] LineIntegration data, response status code and response headers
|
8771
|
+
def put_conversations_messaging_integrations_line_integration_id_with_http_info(integration_id, body, opts = {})
|
8772
|
+
if @api_client.config.debugging
|
8773
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.put_conversations_messaging_integrations_line_integration_id ..."
|
8774
|
+
end
|
8775
|
+
|
8776
|
+
|
8777
|
+
# verify the required parameter 'integration_id' is set
|
8778
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling ConversationsApi.put_conversations_messaging_integrations_line_integration_id" if integration_id.nil?
|
8779
|
+
|
8780
|
+
|
8781
|
+
|
8782
|
+
|
8783
|
+
|
8784
|
+
|
8785
|
+
# verify the required parameter 'body' is set
|
8786
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.put_conversations_messaging_integrations_line_integration_id" if body.nil?
|
8787
|
+
|
8788
|
+
|
8789
|
+
|
8790
|
+
|
8791
|
+
|
8792
|
+
# resource path
|
8793
|
+
local_var_path = "/api/v2/conversations/messaging/integrations/line/{integrationId}".sub('{format}','json').sub('{' + 'integrationId' + '}', integration_id.to_s)
|
8794
|
+
|
8795
|
+
# query parameters
|
8796
|
+
query_params = {}
|
8797
|
+
|
8798
|
+
# header parameters
|
8799
|
+
header_params = {}
|
8800
|
+
|
8801
|
+
# HTTP header 'Accept' (if needed)
|
8802
|
+
local_header_accept = ['application/json']
|
8803
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
8804
|
+
|
8805
|
+
# HTTP header 'Content-Type'
|
8806
|
+
local_header_content_type = ['application/json']
|
8807
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
8808
|
+
|
8809
|
+
# form parameters
|
8810
|
+
form_params = {}
|
8811
|
+
|
8812
|
+
# http body (model)
|
8813
|
+
post_body = @api_client.object_to_http_body(body)
|
8814
|
+
|
8815
|
+
auth_names = ['PureCloud OAuth']
|
8816
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
8817
|
+
:header_params => header_params,
|
8818
|
+
:query_params => query_params,
|
8819
|
+
:form_params => form_params,
|
8820
|
+
:body => post_body,
|
8821
|
+
:auth_names => auth_names,
|
8822
|
+
:return_type => 'LineIntegration')
|
8823
|
+
if @api_client.config.debugging
|
8824
|
+
@api_client.config.logger.debug "API called: ConversationsApi#put_conversations_messaging_integrations_line_integration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
8825
|
+
end
|
8826
|
+
return data, status_code, headers
|
8827
|
+
end
|
7796
8828
|
end
|
7797
8829
|
end
|