purecloud 0.44.1 → 0.45.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/config-ruby.json +1 -1
- data/doc_out/Account.html.md +12 -12
- data/doc_out/AddressListing.html.md +2 -2
- data/doc_out/AgentActivityEntityListing.html.md +2 -2
- data/doc_out/AlertingApi.html.md +15 -18
- data/doc_out/AnalyticsApi.html.md +45 -54
- data/doc_out/AnalyticsSession.html.md +6 -0
- data/doc_out/AssetEntityListing.html.md +2 -2
- data/doc_out/AttributeEntityListing.html.md +2 -2
- data/doc_out/AttributesApi.html.md +15 -18
- data/doc_out/AuthorizationApi.html.md +43 -51
- data/doc_out/AvailableAdditionalServiceListing.html.md +2 -2
- data/doc_out/AvailableTopicEntityListing.html.md +2 -2
- data/doc_out/BillingAddress.html.md +5 -5
- data/doc_out/BillingContactListing.html.md +2 -2
- data/doc_out/CalibrationEntityListing.html.md +2 -2
- data/doc_out/CallConversationEntityListing.html.md +2 -2
- data/doc_out/CallableTimeSetEntityListing.html.md +2 -2
- data/doc_out/CallbackConversationEntityListing.html.md +2 -2
- data/doc_out/CampaignEntityListing.html.md +2 -2
- data/doc_out/CampaignSequenceEntityListing.html.md +2 -2
- data/doc_out/CarrierEntityListing.html.md +2 -2
- data/doc_out/CertificateAuthorityEntityListing.html.md +2 -2
- data/doc_out/ChannelEntityListing.html.md +2 -2
- data/doc_out/ChannelTopicEntityListing.html.md +2 -2
- data/doc_out/ChatConversationEntityListing.html.md +2 -2
- data/doc_out/CommandStatusEntityListing.html.md +2 -2
- data/doc_out/ConfigurationApi.html.md +5 -6
- data/doc_out/ConsumedResourcesEntityListing.html.md +2 -2
- data/doc_out/ConsumingResourcesEntityListing.html.md +2 -2
- data/doc_out/ContactListEntityListing.html.md +2 -2
- data/doc_out/ContactListing.html.md +2 -2
- data/doc_out/ContactSales.html.md +10 -10
- data/doc_out/ContentManagementApi.html.md +50 -52
- data/doc_out/Contract.html.md +3 -3
- data/doc_out/ConversationEntityListing.html.md +2 -2
- data/doc_out/ConversationsApi.html.md +140 -168
- data/doc_out/CreateCallbackCommand.html.md +2 -1
- data/doc_out/DIDEntityListing.html.md +2 -2
- data/doc_out/DIDPoolEntityListing.html.md +2 -2
- data/doc_out/DependencyObjectEntityListing.html.md +2 -2
- data/doc_out/DependencyTypeEntityListing.html.md +2 -2
- data/doc_out/Deployment.html.md +17 -0
- data/doc_out/DeploymentEntityListing.html.md +22 -0
- data/doc_out/DncList.html.md +4 -0
- data/doc_out/DncListEntityListing.html.md +2 -2
- data/doc_out/DocumentAuditEntityListing.html.md +2 -2
- data/doc_out/DocumentEntityListing.html.md +2 -2
- data/doc_out/DomainBillingPeriodEntityListing.html.md +2 -2
- data/doc_out/DomainEdgeSoftwareUpdateDto.html.md +1 -1
- data/doc_out/DomainEntityListing.html.md +2 -2
- data/doc_out/DomainEntityListingEvaluationForm.html.md +2 -2
- data/doc_out/DomainEntityListingQueryResult.html.md +2 -2
- data/doc_out/DomainInvoiceEntityListing.html.md +2 -2
- data/doc_out/DomainLogicalInterface.html.md +3 -3
- data/doc_out/DomainThirdPartyAccountEntityListing.html.md +2 -2
- data/doc_out/DomainThirdPartySubscriptionEntityListing.html.md +2 -2
- data/doc_out/DomainVoiceRateExtendedResponseItemEntityListing.html.md +2 -2
- data/doc_out/DomainVoiceRateInternationalResponseItemEntityListing.html.md +2 -2
- data/doc_out/DomainVoiceRateResponseItemEntityListing.html.md +2 -2
- data/doc_out/EdgeEntityListing.html.md +2 -2
- data/doc_out/EdgeGroup.html.md +1 -1
- data/doc_out/EdgeGroupEntityListing.html.md +2 -2
- data/doc_out/EdgeLineEntityListing.html.md +2 -2
- data/doc_out/EmailConversationEntityListing.html.md +2 -2
- data/doc_out/EmailMessageListing.html.md +2 -2
- data/doc_out/EncryptionKeyEntityListing.html.md +2 -2
- data/doc_out/Endpoint.html.md +2 -2
- data/doc_out/EndpointEntityListing.html.md +2 -2
- data/doc_out/EvaluationEntityListing.html.md +2 -2
- data/doc_out/EvaluationFormEntityListing.html.md +2 -2
- data/doc_out/EvaluatorActivityEntityListing.html.md +2 -2
- data/doc_out/ExpressionResponse.html.md +1 -1
- data/doc_out/ExtensionEntityListing.html.md +2 -2
- data/doc_out/ExtensionPoolEntityListing.html.md +2 -2
- data/doc_out/ExternalContact.html.md +1 -0
- data/doc_out/ExternalOrganization.html.md +1 -0
- data/doc_out/ExternalOrganizationListing.html.md +2 -2
- data/doc_out/FaxApi.html.md +5 -6
- data/doc_out/FaxDocumentEntityListing.html.md +2 -2
- data/doc_out/Flow.html.md +5 -2
- data/doc_out/FlowConfigMetaDataEntityListing.html.md +2 -2
- data/doc_out/FlowEntityListing.html.md +2 -2
- data/doc_out/FlowVersionConfigMetaDataEntityListing.html.md +2 -2
- data/doc_out/FlowVersionEntityListing.html.md +2 -2
- data/doc_out/GeolocationApi.html.md +10 -12
- data/doc_out/Gistener.html.md +2 -2
- data/doc_out/Greeting.html.md +3 -3
- data/doc_out/GroupEntityListing.html.md +2 -2
- data/doc_out/GroupTag.html.md +1 -1
- data/doc_out/GroupsApi.html.md +20 -22
- data/doc_out/HardwareRateListing.html.md +2 -2
- data/doc_out/IVREntityListing.html.md +2 -2
- data/doc_out/IdentityProviderApi.html.md +35 -42
- data/doc_out/InboundDomain.html.md +1 -1
- data/doc_out/InboundDomainEntityListing.html.md +2 -2
- data/doc_out/InboundRouteEntityListing.html.md +2 -2
- data/doc_out/IntegrationEntityListing.html.md +2 -2
- data/doc_out/IntegrationTypeEntityListing.html.md +2 -2
- data/doc_out/InteractionStatsAlertContainer.html.md +2 -2
- data/doc_out/InteractionStatsRuleContainer.html.md +2 -2
- data/doc_out/JsonNode.html.md +1 -1
- data/doc_out/KeywordSetEntityListing.html.md +2 -2
- data/doc_out/LanguageEntityListing.html.md +2 -2
- data/doc_out/LanguagesApi.html.md +13 -13
- data/doc_out/LibraryEntityListing.html.md +2 -2
- data/doc_out/LineBaseEntityListing.html.md +2 -2
- data/doc_out/LineEntityListing.html.md +2 -2
- data/doc_out/LinkedEntityListingFlowDetails.html.md +2 -2
- data/doc_out/LinkedEntityListingWorkItemSearchDetails.html.md +2 -2
- data/doc_out/LocationsApi.html.md +10 -10
- data/doc_out/LogicalInterfaceEntityListing.html.md +2 -2
- data/doc_out/NoteListing.html.md +2 -2
- data/doc_out/NotificationsApi.html.md +10 -12
- data/doc_out/OAuthApi.html.md +10 -12
- data/doc_out/OAuthClientEntityListing.html.md +2 -2
- data/doc_out/OAuthProviderEntityListing.html.md +2 -2
- data/doc_out/Operation.html.md +16 -0
- data/doc_out/Order.html.md +2 -2
- data/doc_out/OrganizationPresence.html.md +1 -0
- data/doc_out/OrganizationPresenceEntityListing.html.md +2 -2
- data/doc_out/OrganizationRoleEntityListing.html.md +2 -2
- data/doc_out/OrphanRecordingListing.html.md +2 -2
- data/doc_out/OutboundApi.html.md +125 -145
- data/doc_out/OutboundRoute.html.md +1 -1
- data/doc_out/OutboundRouteEntityListing.html.md +2 -2
- data/doc_out/PaymentMethod.html.md +3 -3
- data/doc_out/PaymentMethodListing.html.md +2 -2
- data/doc_out/PermissionCollectionEntityListing.html.md +2 -2
- data/doc_out/Phone.html.md +3 -3
- data/doc_out/PhoneBase.html.md +2 -2
- data/doc_out/PhoneBaseEntityListing.html.md +2 -2
- data/doc_out/PhoneEntityListing.html.md +2 -2
- data/doc_out/PhoneMetaBaseEntityListing.html.md +2 -2
- data/doc_out/PhysicalInterfaceEntityListing.html.md +2 -2
- data/doc_out/PolicyEntityListing.html.md +2 -2
- data/doc_out/PresenceApi.html.md +5 -6
- data/doc_out/Prompt.html.md +1 -0
- data/doc_out/PromptAssetEntityListing.html.md +2 -2
- data/doc_out/PromptEntityListing.html.md +2 -2
- data/doc_out/Publication.html.md +1 -1
- data/doc_out/QualityApi.html.md +55 -58
- data/doc_out/QualityAuditPage.html.md +2 -2
- data/doc_out/QueueEntityListing.html.md +2 -2
- data/doc_out/Quote.html.md +3 -3
- data/doc_out/QuoteListing.html.md +2 -2
- data/doc_out/RecordingApi.html.md +30 -36
- data/doc_out/RelationshipListing.html.md +2 -2
- data/doc_out/ReportMetaDataEntityListing.html.md +2 -2
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +2 -2
- data/doc_out/ReportSchedule.html.md +3 -3
- data/doc_out/ReportScheduleEntityListing.html.md +2 -2
- data/doc_out/ResourcePermissionPolicy.html.md +1 -0
- data/doc_out/ResponseEntityList.html.md +2 -2
- data/doc_out/ResponseEntityListing.html.md +2 -2
- data/doc_out/ResponseManagementApi.html.md +25 -30
- data/doc_out/ResponseSetEntityListing.html.md +2 -2
- data/doc_out/RoutingApi.html.md +80 -94
- data/doc_out/RuleSetEntityListing.html.md +2 -2
- data/doc_out/SceneEntityListing.html.md +2 -2
- data/doc_out/SceneGroupEntityListing.html.md +2 -2
- data/doc_out/ScheduleEntityListing.html.md +2 -2
- data/doc_out/ScheduleGroupEntityListing.html.md +2 -2
- data/doc_out/SchemaCategoryEntityListing.html.md +2 -2
- data/doc_out/SchemaReferenceEntityListing.html.md +2 -2
- data/doc_out/ScriptEntityListing.html.md +2 -2
- data/doc_out/SearchApi.html.md +50 -46
- data/doc_out/SecurityProfileEntityListing.html.md +2 -2
- data/doc_out/ServiceEntityListing.html.md +2 -2
- data/doc_out/Share.html.md +1 -0
- data/doc_out/ShareEntityListing.html.md +2 -2
- data/doc_out/Site.html.md +1 -1
- data/doc_out/SiteEntityListing.html.md +2 -2
- data/doc_out/SkillEntityListing.html.md +2 -2
- data/doc_out/SocialAccount.html.md +2 -2
- data/doc_out/SocialConversationEntityListing.html.md +2 -2
- data/doc_out/SocializeFilterRequest.html.md +1 -1
- data/doc_out/SpreadsheetTransformEntityListing.html.md +2 -2
- data/doc_out/StationEntityListing.html.md +2 -2
- data/doc_out/SuggestApi.html.md +20 -16
- data/doc_out/SupportCreditListing.html.md +2 -2
- data/doc_out/SystemPromptAssetEntityListing.html.md +2 -2
- data/doc_out/SystemPromptEntityListing.html.md +2 -2
- data/doc_out/TagValueEntityListing.html.md +2 -2
- data/doc_out/TelephonyProvidersEdgeApi.html.md +160 -192
- data/doc_out/TemplateEntityListing.html.md +2 -2
- data/doc_out/TextTableTransformEntityListing.html.md +2 -2
- data/doc_out/TimeOffRequest.html.md +30 -0
- data/doc_out/TimeOffRequestList.html.md +16 -0
- data/doc_out/TimeOffRequestPatch.html.md +13 -0
- data/doc_out/TimeZoneEntityListing.html.md +2 -2
- data/doc_out/TrunkEntityListing.html.md +2 -2
- data/doc_out/TrunkMetabaseEntityListing.html.md +2 -2
- data/doc_out/TwitterExpression.html.md +4 -4
- data/doc_out/TwitterId.html.md +17 -0
- data/doc_out/UserActionCategoryEntityListing.html.md +2 -2
- data/doc_out/UserActionMetadataEntityListing.html.md +1 -1
- data/doc_out/UserEntityListing.html.md +2 -2
- data/doc_out/UserQueueEntityListing.html.md +2 -2
- data/doc_out/UserRecordingEntityListing.html.md +2 -2
- data/doc_out/UserRecordingsApi.html.md +5 -4
- data/doc_out/UserSkillEntityListing.html.md +2 -2
- data/doc_out/UsersApi.html.md +86 -99
- data/doc_out/UsersEntityListing.html.md +2 -2
- data/doc_out/UtilitiesApi.html.md +5 -6
- data/doc_out/VideoConversationEntityListing.html.md +2 -2
- data/doc_out/VoiceRateInternationalEntityListing.html.md +2 -2
- data/doc_out/VoiceXmlOperation.html.md +1 -0
- data/doc_out/VoiceXmlOperationEntityListing.html.md +2 -2
- data/doc_out/VoicemailApi.html.md +10 -12
- data/doc_out/WaypointEntityListing.html.md +2 -2
- data/doc_out/WorkspaceEntityListing.html.md +2 -2
- data/doc_out/WorkspaceMemberEntityListing.html.md +2 -2
- data/doc_out/WrapupCodeEntityListing.html.md +2 -2
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +7 -0
- data/lib/purecloud/api/alerting_api.rb +27 -18
- data/lib/purecloud/api/analytics_api.rb +81 -54
- data/lib/purecloud/api/attributes_api.rb +27 -18
- data/lib/purecloud/api/authorization_api.rb +74 -50
- data/lib/purecloud/api/configuration_api.rb +9 -6
- data/lib/purecloud/api/content_management_api.rb +90 -60
- data/lib/purecloud/api/conversations_api.rb +252 -168
- data/lib/purecloud/api/fax_api.rb +9 -6
- data/lib/purecloud/api/geolocation_api.rb +18 -12
- data/lib/purecloud/api/groups_api.rb +36 -24
- data/lib/purecloud/api/identity_provider_api.rb +63 -42
- data/lib/purecloud/api/languages_api.rb +21 -12
- data/lib/purecloud/api/locations_api.rb +18 -12
- data/lib/purecloud/api/notifications_api.rb +18 -12
- data/lib/purecloud/api/o_auth_api.rb +18 -12
- data/lib/purecloud/api/outbound_api.rb +220 -148
- data/lib/purecloud/api/presence_api.rb +9 -6
- data/lib/purecloud/api/quality_api.rb +99 -66
- data/lib/purecloud/api/recording_api.rb +54 -36
- data/lib/purecloud/api/response_management_api.rb +45 -30
- data/lib/purecloud/api/routing_api.rb +144 -96
- data/lib/purecloud/api/search_api.rb +90 -60
- data/lib/purecloud/api/suggest_api.rb +36 -24
- data/lib/purecloud/api/telephony_providers_edge_api.rb +288 -192
- data/lib/purecloud/api/user_recordings_api.rb +9 -6
- data/lib/purecloud/api/users_api.rb +145 -100
- data/lib/purecloud/api/utilities_api.rb +9 -6
- data/lib/purecloud/api/voicemail_api.rb +18 -12
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/account.rb +12 -0
- data/lib/purecloud/models/address_listing.rb +17 -17
- data/lib/purecloud/models/agent_activity_entity_listing.rb +17 -17
- data/lib/purecloud/models/aggregate_metric_data.rb +1 -1
- data/lib/purecloud/models/analytics_conversation_segment.rb +1 -1
- data/lib/purecloud/models/analytics_query_predicate.rb +2 -2
- data/lib/purecloud/models/analytics_session.rb +66 -1
- data/lib/purecloud/models/asset_entity_listing.rb +17 -17
- data/lib/purecloud/models/attribute_entity_listing.rb +17 -17
- data/lib/purecloud/models/available_additional_service_listing.rb +17 -17
- data/lib/purecloud/models/available_topic_entity_listing.rb +17 -17
- data/lib/purecloud/models/billing_address.rb +5 -0
- data/lib/purecloud/models/billing_contact_listing.rb +17 -17
- data/lib/purecloud/models/calibration_entity_listing.rb +17 -17
- data/lib/purecloud/models/call_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +17 -17
- data/lib/purecloud/models/carrier_entity_listing.rb +17 -17
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +17 -17
- data/lib/purecloud/models/channel_entity_listing.rb +17 -17
- data/lib/purecloud/models/channel_topic_entity_listing.rb +17 -17
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/command_status_entity_listing.rb +17 -17
- data/lib/purecloud/models/consumed_resources_entity_listing.rb +17 -17
- data/lib/purecloud/models/consuming_resources_entity_listing.rb +17 -17
- data/lib/purecloud/models/contact_list_entity_listing.rb +17 -17
- data/lib/purecloud/models/contact_listing.rb +17 -17
- data/lib/purecloud/models/contact_sales.rb +10 -0
- data/lib/purecloud/models/contract.rb +3 -0
- data/lib/purecloud/models/conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/create_callback_command.rb +18 -8
- data/lib/purecloud/models/create_share_request.rb +1 -1
- data/lib/purecloud/models/create_share_request_member.rb +1 -1
- data/lib/purecloud/models/create_share_response.rb +1 -1
- data/lib/purecloud/models/dependency_object_entity_listing.rb +17 -17
- data/lib/purecloud/models/dependency_type_entity_listing.rb +17 -17
- data/lib/purecloud/models/deployment.rb +209 -0
- data/lib/purecloud/models/deployment_entity_listing.rb +257 -0
- data/lib/purecloud/models/did_entity_listing.rb +17 -17
- data/lib/purecloud/models/did_pool_entity_listing.rb +17 -17
- data/lib/purecloud/models/dnc_list.rb +56 -1
- data/lib/purecloud/models/dnc_list_entity_listing.rb +17 -17
- data/lib/purecloud/models/document_audit_entity_listing.rb +17 -17
- data/lib/purecloud/models/document_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_billing_period_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_edge_software_update_dto.rb +1 -0
- data/lib/purecloud/models/domain_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +17 -17
- data/lib/purecloud/models/domain_invoice_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_logical_interface.rb +3 -0
- data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_group_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_line_entity_listing.rb +17 -17
- data/lib/purecloud/models/email_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/email_message_listing.rb +17 -17
- data/lib/purecloud/models/encryption_key_entity_listing.rb +17 -17
- data/lib/purecloud/models/endpoint.rb +2 -0
- data/lib/purecloud/models/endpoint_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluation_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +17 -17
- data/lib/purecloud/models/extension_entity_listing.rb +17 -17
- data/lib/purecloud/models/extension_pool_entity_listing.rb +17 -17
- data/lib/purecloud/models/external_contact.rb +11 -1
- data/lib/purecloud/models/external_organization.rb +11 -1
- data/lib/purecloud/models/external_organization_listing.rb +17 -17
- data/lib/purecloud/models/fax_document_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow.rb +49 -19
- data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_version_entity_listing.rb +17 -17
- data/lib/purecloud/models/greeting.rb +3 -0
- data/lib/purecloud/models/group_entity_listing.rb +17 -17
- data/lib/purecloud/models/hardware_rate_listing.rb +17 -17
- data/lib/purecloud/models/inbound_domain.rb +1 -0
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +17 -17
- data/lib/purecloud/models/inbound_route_entity_listing.rb +17 -17
- data/lib/purecloud/models/integration_entity_listing.rb +17 -17
- data/lib/purecloud/models/integration_type_entity_listing.rb +17 -17
- data/lib/purecloud/models/interaction_stats_alert_container.rb +17 -17
- data/lib/purecloud/models/interaction_stats_rule_container.rb +17 -17
- data/lib/purecloud/models/ivr_entity_listing.rb +17 -17
- data/lib/purecloud/models/json_node.rb +13 -13
- data/lib/purecloud/models/keyword_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/language_entity_listing.rb +17 -17
- data/lib/purecloud/models/library_entity_listing.rb +17 -17
- data/lib/purecloud/models/line_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/line_entity_listing.rb +17 -17
- data/lib/purecloud/models/linked_entity_listing_flow_details.rb +17 -17
- data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +17 -17
- data/lib/purecloud/models/logical_interface_entity_listing.rb +17 -17
- data/lib/purecloud/models/management_unit.rb +1 -0
- data/lib/purecloud/models/note_listing.rb +17 -17
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +17 -17
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +17 -17
- data/lib/purecloud/models/operation.rb +195 -0
- data/lib/purecloud/models/order.rb +2 -0
- data/lib/purecloud/models/organization_presence.rb +13 -1
- data/lib/purecloud/models/organization_presence_entity_listing.rb +17 -17
- data/lib/purecloud/models/organization_role_entity_listing.rb +17 -17
- data/lib/purecloud/models/orphan_recording_listing.rb +17 -17
- data/lib/purecloud/models/outbound_route.rb +1 -0
- data/lib/purecloud/models/outbound_route_entity_listing.rb +17 -17
- data/lib/purecloud/models/payment_method.rb +3 -0
- data/lib/purecloud/models/payment_method_listing.rb +17 -17
- data/lib/purecloud/models/permission_collection_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone.rb +3 -0
- data/lib/purecloud/models/phone_base.rb +2 -0
- data/lib/purecloud/models/phone_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/physical_interface_entity_listing.rb +17 -17
- data/lib/purecloud/models/policy_entity_listing.rb +17 -17
- data/lib/purecloud/models/prompt.rb +11 -1
- data/lib/purecloud/models/prompt_asset_entity_listing.rb +17 -17
- data/lib/purecloud/models/prompt_entity_listing.rb +17 -17
- data/lib/purecloud/models/quality_audit_page.rb +17 -17
- data/lib/purecloud/models/queue_entity_listing.rb +17 -17
- data/lib/purecloud/models/quote.rb +3 -0
- data/lib/purecloud/models/quote_listing.rb +17 -17
- data/lib/purecloud/models/relationship_listing.rb +17 -17
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +17 -17
- data/lib/purecloud/models/report_schedule.rb +3 -1
- data/lib/purecloud/models/report_schedule_entity_listing.rb +17 -17
- data/lib/purecloud/models/resource_permission_policy.rb +13 -1
- data/lib/purecloud/models/response_entity_list.rb +17 -17
- data/lib/purecloud/models/response_entity_listing.rb +17 -17
- data/lib/purecloud/models/response_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/rule_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/scene_entity_listing.rb +17 -17
- data/lib/purecloud/models/scene_group_entity_listing.rb +17 -17
- data/lib/purecloud/models/schedule_entity_listing.rb +17 -17
- data/lib/purecloud/models/schedule_group_entity_listing.rb +17 -17
- data/lib/purecloud/models/schema_category_entity_listing.rb +17 -17
- data/lib/purecloud/models/schema_reference_entity_listing.rb +17 -17
- data/lib/purecloud/models/script_entity_listing.rb +17 -17
- data/lib/purecloud/models/security_profile_entity_listing.rb +17 -17
- data/lib/purecloud/models/service_entity_listing.rb +17 -17
- data/lib/purecloud/models/share.rb +12 -2
- data/lib/purecloud/models/share_entity_listing.rb +17 -17
- data/lib/purecloud/models/site.rb +1 -0
- data/lib/purecloud/models/site_entity_listing.rb +17 -17
- data/lib/purecloud/models/skill_entity_listing.rb +17 -17
- data/lib/purecloud/models/social_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +17 -17
- data/lib/purecloud/models/station_entity_listing.rb +17 -17
- data/lib/purecloud/models/support_credit_listing.rb +17 -17
- data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +17 -17
- data/lib/purecloud/models/system_prompt_entity_listing.rb +17 -17
- data/lib/purecloud/models/tag_value_entity_listing.rb +17 -17
- data/lib/purecloud/models/template_entity_listing.rb +17 -17
- data/lib/purecloud/models/text_table_transform_entity_listing.rb +17 -17
- data/lib/purecloud/models/time_off_request.rb +356 -0
- data/lib/purecloud/models/time_off_request_list.rb +199 -0
- data/lib/purecloud/models/time_off_request_patch.rb +167 -0
- data/lib/purecloud/models/time_zone_entity_listing.rb +17 -17
- data/lib/purecloud/models/trunk_entity_listing.rb +17 -17
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +17 -17
- data/lib/purecloud/models/twitter_id.rb +213 -0
- data/lib/purecloud/models/user_action_category_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_action_metadata_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_queue_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_recording_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_skill_entity_listing.rb +17 -17
- data/lib/purecloud/models/users_entity_listing.rb +17 -17
- data/lib/purecloud/models/video_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/voice_rate_international_entity_listing.rb +17 -17
- data/lib/purecloud/models/voice_xml_operation.rb +11 -1
- data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +17 -17
- data/lib/purecloud/models/waypoint_entity_listing.rb +17 -17
- data/lib/purecloud/models/workspace_entity_listing.rb +17 -17
- data/lib/purecloud/models/workspace_member_entity_listing.rb +17 -17
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +17 -17
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +16 -2
@@ -1834,11 +1834,11 @@ module PureCloud
|
|
1834
1834
|
#
|
1835
1835
|
# @param callback_id
|
1836
1836
|
# @param participant_id
|
1837
|
+
# @param body Participant
|
1837
1838
|
# @param [Hash] opts the optional parameters
|
1838
|
-
# @option opts [MediaParticipantRequest] :body
|
1839
1839
|
# @return [nil]
|
1840
|
-
def patch_callbacks_callback_id_participants_participant_id(callback_id, participant_id, opts = {})
|
1841
|
-
patch_callbacks_callback_id_participants_participant_id_with_http_info(callback_id, participant_id, opts)
|
1840
|
+
def patch_callbacks_callback_id_participants_participant_id(callback_id, participant_id, body, opts = {})
|
1841
|
+
patch_callbacks_callback_id_participants_participant_id_with_http_info(callback_id, participant_id, body, opts)
|
1842
1842
|
return nil
|
1843
1843
|
end
|
1844
1844
|
|
@@ -1846,10 +1846,10 @@ module PureCloud
|
|
1846
1846
|
#
|
1847
1847
|
# @param callback_id
|
1848
1848
|
# @param participant_id
|
1849
|
+
# @param body Participant
|
1849
1850
|
# @param [Hash] opts the optional parameters
|
1850
|
-
# @option opts [MediaParticipantRequest] :body
|
1851
1851
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1852
|
-
def patch_callbacks_callback_id_participants_participant_id_with_http_info(callback_id, participant_id, opts = {})
|
1852
|
+
def patch_callbacks_callback_id_participants_participant_id_with_http_info(callback_id, participant_id, body, opts = {})
|
1853
1853
|
if @api_client.config.debugging
|
1854
1854
|
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_callbacks_callback_id_participants_participant_id ..."
|
1855
1855
|
end
|
@@ -1860,6 +1860,9 @@ module PureCloud
|
|
1860
1860
|
# verify the required parameter 'participant_id' is set
|
1861
1861
|
fail "Missing the required parameter 'participant_id' when calling patch_callbacks_callback_id_participants_participant_id" if participant_id.nil?
|
1862
1862
|
|
1863
|
+
# verify the required parameter 'body' is set
|
1864
|
+
fail "Missing the required parameter 'body' when calling patch_callbacks_callback_id_participants_participant_id" if body.nil?
|
1865
|
+
|
1863
1866
|
# resource path
|
1864
1867
|
local_var_path = "/api/v2/conversations/callbacks/{callbackId}/participants/{participantId}".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
1865
1868
|
|
@@ -1881,7 +1884,7 @@ module PureCloud
|
|
1881
1884
|
form_params = {}
|
1882
1885
|
|
1883
1886
|
# http body (model)
|
1884
|
-
post_body = @api_client.object_to_http_body(
|
1887
|
+
post_body = @api_client.object_to_http_body(body)
|
1885
1888
|
|
1886
1889
|
auth_names = ['PureCloud Auth']
|
1887
1890
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -1900,11 +1903,11 @@ module PureCloud
|
|
1900
1903
|
#
|
1901
1904
|
# @param callback_id
|
1902
1905
|
# @param participant_id
|
1906
|
+
# @param body Attributes
|
1903
1907
|
# @param [Hash] opts the optional parameters
|
1904
|
-
# @option opts [ParticipantAttributes] :body
|
1905
1908
|
# @return [nil]
|
1906
|
-
def patch_callbacks_callback_id_participants_participant_id_attributes(callback_id, participant_id, opts = {})
|
1907
|
-
patch_callbacks_callback_id_participants_participant_id_attributes_with_http_info(callback_id, participant_id, opts)
|
1909
|
+
def patch_callbacks_callback_id_participants_participant_id_attributes(callback_id, participant_id, body, opts = {})
|
1910
|
+
patch_callbacks_callback_id_participants_participant_id_attributes_with_http_info(callback_id, participant_id, body, opts)
|
1908
1911
|
return nil
|
1909
1912
|
end
|
1910
1913
|
|
@@ -1912,10 +1915,10 @@ module PureCloud
|
|
1912
1915
|
#
|
1913
1916
|
# @param callback_id
|
1914
1917
|
# @param participant_id
|
1918
|
+
# @param body Attributes
|
1915
1919
|
# @param [Hash] opts the optional parameters
|
1916
|
-
# @option opts [ParticipantAttributes] :body
|
1917
1920
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1918
|
-
def patch_callbacks_callback_id_participants_participant_id_attributes_with_http_info(callback_id, participant_id, opts = {})
|
1921
|
+
def patch_callbacks_callback_id_participants_participant_id_attributes_with_http_info(callback_id, participant_id, body, opts = {})
|
1919
1922
|
if @api_client.config.debugging
|
1920
1923
|
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_callbacks_callback_id_participants_participant_id_attributes ..."
|
1921
1924
|
end
|
@@ -1926,6 +1929,9 @@ module PureCloud
|
|
1926
1929
|
# verify the required parameter 'participant_id' is set
|
1927
1930
|
fail "Missing the required parameter 'participant_id' when calling patch_callbacks_callback_id_participants_participant_id_attributes" if participant_id.nil?
|
1928
1931
|
|
1932
|
+
# verify the required parameter 'body' is set
|
1933
|
+
fail "Missing the required parameter 'body' when calling patch_callbacks_callback_id_participants_participant_id_attributes" if body.nil?
|
1934
|
+
|
1929
1935
|
# resource path
|
1930
1936
|
local_var_path = "/api/v2/conversations/callbacks/{callbackId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
1931
1937
|
|
@@ -1947,7 +1953,7 @@ module PureCloud
|
|
1947
1953
|
form_params = {}
|
1948
1954
|
|
1949
1955
|
# http body (model)
|
1950
|
-
post_body = @api_client.object_to_http_body(
|
1956
|
+
post_body = @api_client.object_to_http_body(body)
|
1951
1957
|
|
1952
1958
|
auth_names = ['PureCloud Auth']
|
1953
1959
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -1965,21 +1971,21 @@ module PureCloud
|
|
1965
1971
|
# Update conversation
|
1966
1972
|
#
|
1967
1973
|
# @param call_id
|
1974
|
+
# @param body Conversation
|
1968
1975
|
# @param [Hash] opts the optional parameters
|
1969
|
-
# @option opts [Conversation] :body Conversation
|
1970
1976
|
# @return [Conversation]
|
1971
|
-
def patch_calls_call_id(call_id, opts = {})
|
1972
|
-
data, status_code, headers = patch_calls_call_id_with_http_info(call_id, opts)
|
1977
|
+
def patch_calls_call_id(call_id, body, opts = {})
|
1978
|
+
data, status_code, headers = patch_calls_call_id_with_http_info(call_id, body, opts)
|
1973
1979
|
return data
|
1974
1980
|
end
|
1975
1981
|
|
1976
1982
|
# Update conversation
|
1977
1983
|
#
|
1978
1984
|
# @param call_id
|
1985
|
+
# @param body Conversation
|
1979
1986
|
# @param [Hash] opts the optional parameters
|
1980
|
-
# @option opts [Conversation] :body Conversation
|
1981
1987
|
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
1982
|
-
def patch_calls_call_id_with_http_info(call_id, opts = {})
|
1988
|
+
def patch_calls_call_id_with_http_info(call_id, body, opts = {})
|
1983
1989
|
if @api_client.config.debugging
|
1984
1990
|
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_calls_call_id ..."
|
1985
1991
|
end
|
@@ -1987,6 +1993,9 @@ module PureCloud
|
|
1987
1993
|
# verify the required parameter 'call_id' is set
|
1988
1994
|
fail "Missing the required parameter 'call_id' when calling patch_calls_call_id" if call_id.nil?
|
1989
1995
|
|
1996
|
+
# verify the required parameter 'body' is set
|
1997
|
+
fail "Missing the required parameter 'body' when calling patch_calls_call_id" if body.nil?
|
1998
|
+
|
1990
1999
|
# resource path
|
1991
2000
|
local_var_path = "/api/v2/conversations/calls/{callId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
|
1992
2001
|
|
@@ -2008,7 +2017,7 @@ module PureCloud
|
|
2008
2017
|
form_params = {}
|
2009
2018
|
|
2010
2019
|
# http body (model)
|
2011
|
-
post_body = @api_client.object_to_http_body(
|
2020
|
+
post_body = @api_client.object_to_http_body(body)
|
2012
2021
|
|
2013
2022
|
auth_names = ['PureCloud Auth']
|
2014
2023
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -2028,11 +2037,11 @@ module PureCloud
|
|
2028
2037
|
#
|
2029
2038
|
# @param call_id
|
2030
2039
|
# @param participant_id
|
2040
|
+
# @param body Participant request
|
2031
2041
|
# @param [Hash] opts the optional parameters
|
2032
|
-
# @option opts [MediaParticipantRequest] :body
|
2033
2042
|
# @return [nil]
|
2034
|
-
def patch_calls_call_id_participants_participant_id(call_id, participant_id, opts = {})
|
2035
|
-
patch_calls_call_id_participants_participant_id_with_http_info(call_id, participant_id, opts)
|
2043
|
+
def patch_calls_call_id_participants_participant_id(call_id, participant_id, body, opts = {})
|
2044
|
+
patch_calls_call_id_participants_participant_id_with_http_info(call_id, participant_id, body, opts)
|
2036
2045
|
return nil
|
2037
2046
|
end
|
2038
2047
|
|
@@ -2040,10 +2049,10 @@ module PureCloud
|
|
2040
2049
|
#
|
2041
2050
|
# @param call_id
|
2042
2051
|
# @param participant_id
|
2052
|
+
# @param body Participant request
|
2043
2053
|
# @param [Hash] opts the optional parameters
|
2044
|
-
# @option opts [MediaParticipantRequest] :body
|
2045
2054
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2046
|
-
def patch_calls_call_id_participants_participant_id_with_http_info(call_id, participant_id, opts = {})
|
2055
|
+
def patch_calls_call_id_participants_participant_id_with_http_info(call_id, participant_id, body, opts = {})
|
2047
2056
|
if @api_client.config.debugging
|
2048
2057
|
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_calls_call_id_participants_participant_id ..."
|
2049
2058
|
end
|
@@ -2054,6 +2063,9 @@ module PureCloud
|
|
2054
2063
|
# verify the required parameter 'participant_id' is set
|
2055
2064
|
fail "Missing the required parameter 'participant_id' when calling patch_calls_call_id_participants_participant_id" if participant_id.nil?
|
2056
2065
|
|
2066
|
+
# verify the required parameter 'body' is set
|
2067
|
+
fail "Missing the required parameter 'body' when calling patch_calls_call_id_participants_participant_id" if body.nil?
|
2068
|
+
|
2057
2069
|
# resource path
|
2058
2070
|
local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
2059
2071
|
|
@@ -2075,7 +2087,7 @@ module PureCloud
|
|
2075
2087
|
form_params = {}
|
2076
2088
|
|
2077
2089
|
# http body (model)
|
2078
|
-
post_body = @api_client.object_to_http_body(
|
2090
|
+
post_body = @api_client.object_to_http_body(body)
|
2079
2091
|
|
2080
2092
|
auth_names = ['PureCloud Auth']
|
2081
2093
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -2094,11 +2106,11 @@ module PureCloud
|
|
2094
2106
|
#
|
2095
2107
|
# @param call_id
|
2096
2108
|
# @param participant_id
|
2109
|
+
# @param body Participant attributes
|
2097
2110
|
# @param [Hash] opts the optional parameters
|
2098
|
-
# @option opts [ParticipantAttributes] :body
|
2099
2111
|
# @return [nil]
|
2100
|
-
def patch_calls_call_id_participants_participant_id_attributes(call_id, participant_id, opts = {})
|
2101
|
-
patch_calls_call_id_participants_participant_id_attributes_with_http_info(call_id, participant_id, opts)
|
2112
|
+
def patch_calls_call_id_participants_participant_id_attributes(call_id, participant_id, body, opts = {})
|
2113
|
+
patch_calls_call_id_participants_participant_id_attributes_with_http_info(call_id, participant_id, body, opts)
|
2102
2114
|
return nil
|
2103
2115
|
end
|
2104
2116
|
|
@@ -2106,10 +2118,10 @@ module PureCloud
|
|
2106
2118
|
#
|
2107
2119
|
# @param call_id
|
2108
2120
|
# @param participant_id
|
2121
|
+
# @param body Participant attributes
|
2109
2122
|
# @param [Hash] opts the optional parameters
|
2110
|
-
# @option opts [ParticipantAttributes] :body
|
2111
2123
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2112
|
-
def patch_calls_call_id_participants_participant_id_attributes_with_http_info(call_id, participant_id, opts = {})
|
2124
|
+
def patch_calls_call_id_participants_participant_id_attributes_with_http_info(call_id, participant_id, body, opts = {})
|
2113
2125
|
if @api_client.config.debugging
|
2114
2126
|
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_calls_call_id_participants_participant_id_attributes ..."
|
2115
2127
|
end
|
@@ -2120,6 +2132,9 @@ module PureCloud
|
|
2120
2132
|
# verify the required parameter 'participant_id' is set
|
2121
2133
|
fail "Missing the required parameter 'participant_id' when calling patch_calls_call_id_participants_participant_id_attributes" if participant_id.nil?
|
2122
2134
|
|
2135
|
+
# verify the required parameter 'body' is set
|
2136
|
+
fail "Missing the required parameter 'body' when calling patch_calls_call_id_participants_participant_id_attributes" if body.nil?
|
2137
|
+
|
2123
2138
|
# resource path
|
2124
2139
|
local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
2125
2140
|
|
@@ -2141,7 +2156,7 @@ module PureCloud
|
|
2141
2156
|
form_params = {}
|
2142
2157
|
|
2143
2158
|
# http body (model)
|
2144
|
-
post_body = @api_client.object_to_http_body(
|
2159
|
+
post_body = @api_client.object_to_http_body(body)
|
2145
2160
|
|
2146
2161
|
auth_names = ['PureCloud Auth']
|
2147
2162
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -2160,11 +2175,11 @@ module PureCloud
|
|
2160
2175
|
#
|
2161
2176
|
# @param call_id
|
2162
2177
|
# @param participant_id
|
2178
|
+
# @param body new speak to
|
2163
2179
|
# @param [Hash] opts the optional parameters
|
2164
|
-
# @option opts [ConsultTransferUpdate] :body new speak to
|
2165
2180
|
# @return [ConsultTransferResponse]
|
2166
|
-
def patch_calls_call_id_participants_participant_id_consult(call_id, participant_id, opts = {})
|
2167
|
-
data, status_code, headers = patch_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts)
|
2181
|
+
def patch_calls_call_id_participants_participant_id_consult(call_id, participant_id, body, opts = {})
|
2182
|
+
data, status_code, headers = patch_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, body, opts)
|
2168
2183
|
return data
|
2169
2184
|
end
|
2170
2185
|
|
@@ -2172,10 +2187,10 @@ module PureCloud
|
|
2172
2187
|
#
|
2173
2188
|
# @param call_id
|
2174
2189
|
# @param participant_id
|
2190
|
+
# @param body new speak to
|
2175
2191
|
# @param [Hash] opts the optional parameters
|
2176
|
-
# @option opts [ConsultTransferUpdate] :body new speak to
|
2177
2192
|
# @return [Array<(ConsultTransferResponse, Fixnum, Hash)>] ConsultTransferResponse data, response status code and response headers
|
2178
|
-
def patch_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts = {})
|
2193
|
+
def patch_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, body, opts = {})
|
2179
2194
|
if @api_client.config.debugging
|
2180
2195
|
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_calls_call_id_participants_participant_id_consult ..."
|
2181
2196
|
end
|
@@ -2186,6 +2201,9 @@ module PureCloud
|
|
2186
2201
|
# verify the required parameter 'participant_id' is set
|
2187
2202
|
fail "Missing the required parameter 'participant_id' when calling patch_calls_call_id_participants_participant_id_consult" if participant_id.nil?
|
2188
2203
|
|
2204
|
+
# verify the required parameter 'body' is set
|
2205
|
+
fail "Missing the required parameter 'body' when calling patch_calls_call_id_participants_participant_id_consult" if body.nil?
|
2206
|
+
|
2189
2207
|
# resource path
|
2190
2208
|
local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/consult".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
2191
2209
|
|
@@ -2207,7 +2225,7 @@ module PureCloud
|
|
2207
2225
|
form_params = {}
|
2208
2226
|
|
2209
2227
|
# http body (model)
|
2210
|
-
post_body = @api_client.object_to_http_body(
|
2228
|
+
post_body = @api_client.object_to_http_body(body)
|
2211
2229
|
|
2212
2230
|
auth_names = ['PureCloud Auth']
|
2213
2231
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -2227,11 +2245,11 @@ module PureCloud
|
|
2227
2245
|
#
|
2228
2246
|
# @param chat_id
|
2229
2247
|
# @param participant_id
|
2248
|
+
# @param body Update request
|
2230
2249
|
# @param [Hash] opts the optional parameters
|
2231
|
-
# @option opts [MediaParticipantRequest] :body
|
2232
2250
|
# @return [nil]
|
2233
|
-
def patch_chats_chat_id_participants_participant_id(chat_id, participant_id, opts = {})
|
2234
|
-
patch_chats_chat_id_participants_participant_id_with_http_info(chat_id, participant_id, opts)
|
2251
|
+
def patch_chats_chat_id_participants_participant_id(chat_id, participant_id, body, opts = {})
|
2252
|
+
patch_chats_chat_id_participants_participant_id_with_http_info(chat_id, participant_id, body, opts)
|
2235
2253
|
return nil
|
2236
2254
|
end
|
2237
2255
|
|
@@ -2239,10 +2257,10 @@ module PureCloud
|
|
2239
2257
|
#
|
2240
2258
|
# @param chat_id
|
2241
2259
|
# @param participant_id
|
2260
|
+
# @param body Update request
|
2242
2261
|
# @param [Hash] opts the optional parameters
|
2243
|
-
# @option opts [MediaParticipantRequest] :body
|
2244
2262
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2245
|
-
def patch_chats_chat_id_participants_participant_id_with_http_info(chat_id, participant_id, opts = {})
|
2263
|
+
def patch_chats_chat_id_participants_participant_id_with_http_info(chat_id, participant_id, body, opts = {})
|
2246
2264
|
if @api_client.config.debugging
|
2247
2265
|
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_chats_chat_id_participants_participant_id ..."
|
2248
2266
|
end
|
@@ -2253,6 +2271,9 @@ module PureCloud
|
|
2253
2271
|
# verify the required parameter 'participant_id' is set
|
2254
2272
|
fail "Missing the required parameter 'participant_id' when calling patch_chats_chat_id_participants_participant_id" if participant_id.nil?
|
2255
2273
|
|
2274
|
+
# verify the required parameter 'body' is set
|
2275
|
+
fail "Missing the required parameter 'body' when calling patch_chats_chat_id_participants_participant_id" if body.nil?
|
2276
|
+
|
2256
2277
|
# resource path
|
2257
2278
|
local_var_path = "/api/v2/conversations/chats/{chatId}/participants/{participantId}".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
2258
2279
|
|
@@ -2274,7 +2295,7 @@ module PureCloud
|
|
2274
2295
|
form_params = {}
|
2275
2296
|
|
2276
2297
|
# http body (model)
|
2277
|
-
post_body = @api_client.object_to_http_body(
|
2298
|
+
post_body = @api_client.object_to_http_body(body)
|
2278
2299
|
|
2279
2300
|
auth_names = ['PureCloud Auth']
|
2280
2301
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -2293,11 +2314,11 @@ module PureCloud
|
|
2293
2314
|
#
|
2294
2315
|
# @param chat_id
|
2295
2316
|
# @param participant_id
|
2317
|
+
# @param body Participant attributes
|
2296
2318
|
# @param [Hash] opts the optional parameters
|
2297
|
-
# @option opts [ParticipantAttributes] :body
|
2298
2319
|
# @return [nil]
|
2299
|
-
def patch_chats_chat_id_participants_participant_id_attributes(chat_id, participant_id, opts = {})
|
2300
|
-
patch_chats_chat_id_participants_participant_id_attributes_with_http_info(chat_id, participant_id, opts)
|
2320
|
+
def patch_chats_chat_id_participants_participant_id_attributes(chat_id, participant_id, body, opts = {})
|
2321
|
+
patch_chats_chat_id_participants_participant_id_attributes_with_http_info(chat_id, participant_id, body, opts)
|
2301
2322
|
return nil
|
2302
2323
|
end
|
2303
2324
|
|
@@ -2305,10 +2326,10 @@ module PureCloud
|
|
2305
2326
|
#
|
2306
2327
|
# @param chat_id
|
2307
2328
|
# @param participant_id
|
2329
|
+
# @param body Participant attributes
|
2308
2330
|
# @param [Hash] opts the optional parameters
|
2309
|
-
# @option opts [ParticipantAttributes] :body
|
2310
2331
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2311
|
-
def patch_chats_chat_id_participants_participant_id_attributes_with_http_info(chat_id, participant_id, opts = {})
|
2332
|
+
def patch_chats_chat_id_participants_participant_id_attributes_with_http_info(chat_id, participant_id, body, opts = {})
|
2312
2333
|
if @api_client.config.debugging
|
2313
2334
|
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_chats_chat_id_participants_participant_id_attributes ..."
|
2314
2335
|
end
|
@@ -2319,6 +2340,9 @@ module PureCloud
|
|
2319
2340
|
# verify the required parameter 'participant_id' is set
|
2320
2341
|
fail "Missing the required parameter 'participant_id' when calling patch_chats_chat_id_participants_participant_id_attributes" if participant_id.nil?
|
2321
2342
|
|
2343
|
+
# verify the required parameter 'body' is set
|
2344
|
+
fail "Missing the required parameter 'body' when calling patch_chats_chat_id_participants_participant_id_attributes" if body.nil?
|
2345
|
+
|
2322
2346
|
# resource path
|
2323
2347
|
local_var_path = "/api/v2/conversations/chats/{chatId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
2324
2348
|
|
@@ -2340,7 +2364,7 @@ module PureCloud
|
|
2340
2364
|
form_params = {}
|
2341
2365
|
|
2342
2366
|
# http body (model)
|
2343
|
-
post_body = @api_client.object_to_http_body(
|
2367
|
+
post_body = @api_client.object_to_http_body(body)
|
2344
2368
|
|
2345
2369
|
auth_names = ['PureCloud Auth']
|
2346
2370
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -2359,11 +2383,11 @@ module PureCloud
|
|
2359
2383
|
# Update conversation participant.
|
2360
2384
|
# @param conversation_id conversation ID
|
2361
2385
|
# @param participant_id participant ID
|
2386
|
+
# @param body Update request
|
2362
2387
|
# @param [Hash] opts the optional parameters
|
2363
|
-
# @option opts [MediaParticipantRequest] :body
|
2364
2388
|
# @return [nil]
|
2365
|
-
def patch_conversation_id_participants_participant_id(conversation_id, participant_id, opts = {})
|
2366
|
-
patch_conversation_id_participants_participant_id_with_http_info(conversation_id, participant_id, opts)
|
2389
|
+
def patch_conversation_id_participants_participant_id(conversation_id, participant_id, body, opts = {})
|
2390
|
+
patch_conversation_id_participants_participant_id_with_http_info(conversation_id, participant_id, body, opts)
|
2367
2391
|
return nil
|
2368
2392
|
end
|
2369
2393
|
|
@@ -2371,10 +2395,10 @@ module PureCloud
|
|
2371
2395
|
# Update conversation participant.
|
2372
2396
|
# @param conversation_id conversation ID
|
2373
2397
|
# @param participant_id participant ID
|
2398
|
+
# @param body Update request
|
2374
2399
|
# @param [Hash] opts the optional parameters
|
2375
|
-
# @option opts [MediaParticipantRequest] :body
|
2376
2400
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2377
|
-
def patch_conversation_id_participants_participant_id_with_http_info(conversation_id, participant_id, opts = {})
|
2401
|
+
def patch_conversation_id_participants_participant_id_with_http_info(conversation_id, participant_id, body, opts = {})
|
2378
2402
|
if @api_client.config.debugging
|
2379
2403
|
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_conversation_id_participants_participant_id ..."
|
2380
2404
|
end
|
@@ -2385,6 +2409,9 @@ module PureCloud
|
|
2385
2409
|
# verify the required parameter 'participant_id' is set
|
2386
2410
|
fail "Missing the required parameter 'participant_id' when calling patch_conversation_id_participants_participant_id" if participant_id.nil?
|
2387
2411
|
|
2412
|
+
# verify the required parameter 'body' is set
|
2413
|
+
fail "Missing the required parameter 'body' when calling patch_conversation_id_participants_participant_id" if body.nil?
|
2414
|
+
|
2388
2415
|
# resource path
|
2389
2416
|
local_var_path = "/api/v2/conversations/{conversationId}/participants/{participantId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
2390
2417
|
|
@@ -2406,7 +2433,7 @@ module PureCloud
|
|
2406
2433
|
form_params = {}
|
2407
2434
|
|
2408
2435
|
# http body (model)
|
2409
|
-
post_body = @api_client.object_to_http_body(
|
2436
|
+
post_body = @api_client.object_to_http_body(body)
|
2410
2437
|
|
2411
2438
|
auth_names = ['PureCloud Auth']
|
2412
2439
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -2425,11 +2452,11 @@ module PureCloud
|
|
2425
2452
|
#
|
2426
2453
|
# @param conversation_id conversation ID
|
2427
2454
|
# @param participant_id participant ID
|
2455
|
+
# @param body Participant attributes
|
2428
2456
|
# @param [Hash] opts the optional parameters
|
2429
|
-
# @option opts [ParticipantAttributes] :body
|
2430
2457
|
# @return [nil]
|
2431
|
-
def patch_conversation_id_participants_participant_id_attributes(conversation_id, participant_id, opts = {})
|
2432
|
-
patch_conversation_id_participants_participant_id_attributes_with_http_info(conversation_id, participant_id, opts)
|
2458
|
+
def patch_conversation_id_participants_participant_id_attributes(conversation_id, participant_id, body, opts = {})
|
2459
|
+
patch_conversation_id_participants_participant_id_attributes_with_http_info(conversation_id, participant_id, body, opts)
|
2433
2460
|
return nil
|
2434
2461
|
end
|
2435
2462
|
|
@@ -2437,10 +2464,10 @@ module PureCloud
|
|
2437
2464
|
#
|
2438
2465
|
# @param conversation_id conversation ID
|
2439
2466
|
# @param participant_id participant ID
|
2467
|
+
# @param body Participant attributes
|
2440
2468
|
# @param [Hash] opts the optional parameters
|
2441
|
-
# @option opts [ParticipantAttributes] :body
|
2442
2469
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2443
|
-
def patch_conversation_id_participants_participant_id_attributes_with_http_info(conversation_id, participant_id, opts = {})
|
2470
|
+
def patch_conversation_id_participants_participant_id_attributes_with_http_info(conversation_id, participant_id, body, opts = {})
|
2444
2471
|
if @api_client.config.debugging
|
2445
2472
|
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_conversation_id_participants_participant_id_attributes ..."
|
2446
2473
|
end
|
@@ -2451,6 +2478,9 @@ module PureCloud
|
|
2451
2478
|
# verify the required parameter 'participant_id' is set
|
2452
2479
|
fail "Missing the required parameter 'participant_id' when calling patch_conversation_id_participants_participant_id_attributes" if participant_id.nil?
|
2453
2480
|
|
2481
|
+
# verify the required parameter 'body' is set
|
2482
|
+
fail "Missing the required parameter 'body' when calling patch_conversation_id_participants_participant_id_attributes" if body.nil?
|
2483
|
+
|
2454
2484
|
# resource path
|
2455
2485
|
local_var_path = "/api/v2/conversations/{conversationId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
2456
2486
|
|
@@ -2472,7 +2502,7 @@ module PureCloud
|
|
2472
2502
|
form_params = {}
|
2473
2503
|
|
2474
2504
|
# http body (model)
|
2475
|
-
post_body = @api_client.object_to_http_body(
|
2505
|
+
post_body = @api_client.object_to_http_body(body)
|
2476
2506
|
|
2477
2507
|
auth_names = ['PureCloud Auth']
|
2478
2508
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -2491,11 +2521,11 @@ module PureCloud
|
|
2491
2521
|
#
|
2492
2522
|
# @param email_id
|
2493
2523
|
# @param participant_id
|
2524
|
+
# @param body Update request
|
2494
2525
|
# @param [Hash] opts the optional parameters
|
2495
|
-
# @option opts [MediaParticipantRequest] :body
|
2496
2526
|
# @return [nil]
|
2497
|
-
def patch_emails_email_id_participants_participant_id(email_id, participant_id, opts = {})
|
2498
|
-
patch_emails_email_id_participants_participant_id_with_http_info(email_id, participant_id, opts)
|
2527
|
+
def patch_emails_email_id_participants_participant_id(email_id, participant_id, body, opts = {})
|
2528
|
+
patch_emails_email_id_participants_participant_id_with_http_info(email_id, participant_id, body, opts)
|
2499
2529
|
return nil
|
2500
2530
|
end
|
2501
2531
|
|
@@ -2503,10 +2533,10 @@ module PureCloud
|
|
2503
2533
|
#
|
2504
2534
|
# @param email_id
|
2505
2535
|
# @param participant_id
|
2536
|
+
# @param body Update request
|
2506
2537
|
# @param [Hash] opts the optional parameters
|
2507
|
-
# @option opts [MediaParticipantRequest] :body
|
2508
2538
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2509
|
-
def patch_emails_email_id_participants_participant_id_with_http_info(email_id, participant_id, opts = {})
|
2539
|
+
def patch_emails_email_id_participants_participant_id_with_http_info(email_id, participant_id, body, opts = {})
|
2510
2540
|
if @api_client.config.debugging
|
2511
2541
|
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_emails_email_id_participants_participant_id ..."
|
2512
2542
|
end
|
@@ -2517,6 +2547,9 @@ module PureCloud
|
|
2517
2547
|
# verify the required parameter 'participant_id' is set
|
2518
2548
|
fail "Missing the required parameter 'participant_id' when calling patch_emails_email_id_participants_participant_id" if participant_id.nil?
|
2519
2549
|
|
2550
|
+
# verify the required parameter 'body' is set
|
2551
|
+
fail "Missing the required parameter 'body' when calling patch_emails_email_id_participants_participant_id" if body.nil?
|
2552
|
+
|
2520
2553
|
# resource path
|
2521
2554
|
local_var_path = "/api/v2/conversations/emails/{emailId}/participants/{participantId}".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
2522
2555
|
|
@@ -2538,7 +2571,7 @@ module PureCloud
|
|
2538
2571
|
form_params = {}
|
2539
2572
|
|
2540
2573
|
# http body (model)
|
2541
|
-
post_body = @api_client.object_to_http_body(
|
2574
|
+
post_body = @api_client.object_to_http_body(body)
|
2542
2575
|
|
2543
2576
|
auth_names = ['PureCloud Auth']
|
2544
2577
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -2557,11 +2590,11 @@ module PureCloud
|
|
2557
2590
|
#
|
2558
2591
|
# @param email_id
|
2559
2592
|
# @param participant_id
|
2593
|
+
# @param body Participant attributes
|
2560
2594
|
# @param [Hash] opts the optional parameters
|
2561
|
-
# @option opts [ParticipantAttributes] :body
|
2562
2595
|
# @return [nil]
|
2563
|
-
def patch_emails_email_id_participants_participant_id_attributes(email_id, participant_id, opts = {})
|
2564
|
-
patch_emails_email_id_participants_participant_id_attributes_with_http_info(email_id, participant_id, opts)
|
2596
|
+
def patch_emails_email_id_participants_participant_id_attributes(email_id, participant_id, body, opts = {})
|
2597
|
+
patch_emails_email_id_participants_participant_id_attributes_with_http_info(email_id, participant_id, body, opts)
|
2565
2598
|
return nil
|
2566
2599
|
end
|
2567
2600
|
|
@@ -2569,10 +2602,10 @@ module PureCloud
|
|
2569
2602
|
#
|
2570
2603
|
# @param email_id
|
2571
2604
|
# @param participant_id
|
2605
|
+
# @param body Participant attributes
|
2572
2606
|
# @param [Hash] opts the optional parameters
|
2573
|
-
# @option opts [ParticipantAttributes] :body
|
2574
2607
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2575
|
-
def patch_emails_email_id_participants_participant_id_attributes_with_http_info(email_id, participant_id, opts = {})
|
2608
|
+
def patch_emails_email_id_participants_participant_id_attributes_with_http_info(email_id, participant_id, body, opts = {})
|
2576
2609
|
if @api_client.config.debugging
|
2577
2610
|
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_emails_email_id_participants_participant_id_attributes ..."
|
2578
2611
|
end
|
@@ -2583,6 +2616,9 @@ module PureCloud
|
|
2583
2616
|
# verify the required parameter 'participant_id' is set
|
2584
2617
|
fail "Missing the required parameter 'participant_id' when calling patch_emails_email_id_participants_participant_id_attributes" if participant_id.nil?
|
2585
2618
|
|
2619
|
+
# verify the required parameter 'body' is set
|
2620
|
+
fail "Missing the required parameter 'body' when calling patch_emails_email_id_participants_participant_id_attributes" if body.nil?
|
2621
|
+
|
2586
2622
|
# resource path
|
2587
2623
|
local_var_path = "/api/v2/conversations/emails/{emailId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
2588
2624
|
|
@@ -2604,7 +2640,7 @@ module PureCloud
|
|
2604
2640
|
form_params = {}
|
2605
2641
|
|
2606
2642
|
# http body (model)
|
2607
|
-
post_body = @api_client.object_to_http_body(
|
2643
|
+
post_body = @api_client.object_to_http_body(body)
|
2608
2644
|
|
2609
2645
|
auth_names = ['PureCloud Auth']
|
2610
2646
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -2621,24 +2657,27 @@ module PureCloud
|
|
2621
2657
|
|
2622
2658
|
# Create a Callback
|
2623
2659
|
#
|
2660
|
+
# @param body Callback
|
2624
2661
|
# @param [Hash] opts the optional parameters
|
2625
|
-
# @option opts [CreateCallbackCommand] :body
|
2626
2662
|
# @return [CreateCallbackResponse]
|
2627
|
-
def post_callbacks(opts = {})
|
2628
|
-
data, status_code, headers = post_callbacks_with_http_info(opts)
|
2663
|
+
def post_callbacks(body, opts = {})
|
2664
|
+
data, status_code, headers = post_callbacks_with_http_info(body, opts)
|
2629
2665
|
return data
|
2630
2666
|
end
|
2631
2667
|
|
2632
2668
|
# Create a Callback
|
2633
2669
|
#
|
2670
|
+
# @param body Callback
|
2634
2671
|
# @param [Hash] opts the optional parameters
|
2635
|
-
# @option opts [CreateCallbackCommand] :body
|
2636
2672
|
# @return [Array<(CreateCallbackResponse, Fixnum, Hash)>] CreateCallbackResponse data, response status code and response headers
|
2637
|
-
def post_callbacks_with_http_info(opts = {})
|
2673
|
+
def post_callbacks_with_http_info(body, opts = {})
|
2638
2674
|
if @api_client.config.debugging
|
2639
2675
|
@api_client.config.logger.debug "Calling API: ConversationsApi#post_callbacks ..."
|
2640
2676
|
end
|
2641
2677
|
|
2678
|
+
# verify the required parameter 'body' is set
|
2679
|
+
fail "Missing the required parameter 'body' when calling post_callbacks" if body.nil?
|
2680
|
+
|
2642
2681
|
# resource path
|
2643
2682
|
local_var_path = "/api/v2/conversations/callbacks".sub('{format}','json')
|
2644
2683
|
|
@@ -2660,7 +2699,7 @@ module PureCloud
|
|
2660
2699
|
form_params = {}
|
2661
2700
|
|
2662
2701
|
# http body (model)
|
2663
|
-
post_body = @api_client.object_to_http_body(
|
2702
|
+
post_body = @api_client.object_to_http_body(body)
|
2664
2703
|
|
2665
2704
|
auth_names = ['PureCloud Auth']
|
2666
2705
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -2680,11 +2719,11 @@ module PureCloud
|
|
2680
2719
|
#
|
2681
2720
|
# @param callback_id
|
2682
2721
|
# @param participant_id
|
2722
|
+
# @param body Transfer request
|
2683
2723
|
# @param [Hash] opts the optional parameters
|
2684
|
-
# @option opts [TransferRequest] :body
|
2685
2724
|
# @return [nil]
|
2686
|
-
def post_callbacks_callback_id_participants_participant_id_replace(callback_id, participant_id, opts = {})
|
2687
|
-
post_callbacks_callback_id_participants_participant_id_replace_with_http_info(callback_id, participant_id, opts)
|
2725
|
+
def post_callbacks_callback_id_participants_participant_id_replace(callback_id, participant_id, body, opts = {})
|
2726
|
+
post_callbacks_callback_id_participants_participant_id_replace_with_http_info(callback_id, participant_id, body, opts)
|
2688
2727
|
return nil
|
2689
2728
|
end
|
2690
2729
|
|
@@ -2692,10 +2731,10 @@ module PureCloud
|
|
2692
2731
|
#
|
2693
2732
|
# @param callback_id
|
2694
2733
|
# @param participant_id
|
2734
|
+
# @param body Transfer request
|
2695
2735
|
# @param [Hash] opts the optional parameters
|
2696
|
-
# @option opts [TransferRequest] :body
|
2697
2736
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2698
|
-
def post_callbacks_callback_id_participants_participant_id_replace_with_http_info(callback_id, participant_id, opts = {})
|
2737
|
+
def post_callbacks_callback_id_participants_participant_id_replace_with_http_info(callback_id, participant_id, body, opts = {})
|
2699
2738
|
if @api_client.config.debugging
|
2700
2739
|
@api_client.config.logger.debug "Calling API: ConversationsApi#post_callbacks_callback_id_participants_participant_id_replace ..."
|
2701
2740
|
end
|
@@ -2706,6 +2745,9 @@ module PureCloud
|
|
2706
2745
|
# verify the required parameter 'participant_id' is set
|
2707
2746
|
fail "Missing the required parameter 'participant_id' when calling post_callbacks_callback_id_participants_participant_id_replace" if participant_id.nil?
|
2708
2747
|
|
2748
|
+
# verify the required parameter 'body' is set
|
2749
|
+
fail "Missing the required parameter 'body' when calling post_callbacks_callback_id_participants_participant_id_replace" if body.nil?
|
2750
|
+
|
2709
2751
|
# resource path
|
2710
2752
|
local_var_path = "/api/v2/conversations/callbacks/{callbackId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
2711
2753
|
|
@@ -2727,7 +2769,7 @@ module PureCloud
|
|
2727
2769
|
form_params = {}
|
2728
2770
|
|
2729
2771
|
# http body (model)
|
2730
|
-
post_body = @api_client.object_to_http_body(
|
2772
|
+
post_body = @api_client.object_to_http_body(body)
|
2731
2773
|
|
2732
2774
|
auth_names = ['PureCloud Auth']
|
2733
2775
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -2744,24 +2786,27 @@ module PureCloud
|
|
2744
2786
|
|
2745
2787
|
# Create a call conversation
|
2746
2788
|
#
|
2789
|
+
# @param body Call request
|
2747
2790
|
# @param [Hash] opts the optional parameters
|
2748
|
-
# @option opts [CreateCallRequest] :body
|
2749
2791
|
# @return [CreateCallResponse]
|
2750
|
-
def post_calls(opts = {})
|
2751
|
-
data, status_code, headers = post_calls_with_http_info(opts)
|
2792
|
+
def post_calls(body, opts = {})
|
2793
|
+
data, status_code, headers = post_calls_with_http_info(body, opts)
|
2752
2794
|
return data
|
2753
2795
|
end
|
2754
2796
|
|
2755
2797
|
# Create a call conversation
|
2756
2798
|
#
|
2799
|
+
# @param body Call request
|
2757
2800
|
# @param [Hash] opts the optional parameters
|
2758
|
-
# @option opts [CreateCallRequest] :body
|
2759
2801
|
# @return [Array<(CreateCallResponse, Fixnum, Hash)>] CreateCallResponse data, response status code and response headers
|
2760
|
-
def post_calls_with_http_info(opts = {})
|
2802
|
+
def post_calls_with_http_info(body, opts = {})
|
2761
2803
|
if @api_client.config.debugging
|
2762
2804
|
@api_client.config.logger.debug "Calling API: ConversationsApi#post_calls ..."
|
2763
2805
|
end
|
2764
2806
|
|
2807
|
+
# verify the required parameter 'body' is set
|
2808
|
+
fail "Missing the required parameter 'body' when calling post_calls" if body.nil?
|
2809
|
+
|
2765
2810
|
# resource path
|
2766
2811
|
local_var_path = "/api/v2/conversations/calls".sub('{format}','json')
|
2767
2812
|
|
@@ -2783,7 +2828,7 @@ module PureCloud
|
|
2783
2828
|
form_params = {}
|
2784
2829
|
|
2785
2830
|
# http body (model)
|
2786
|
-
post_body = @api_client.object_to_http_body(
|
2831
|
+
post_body = @api_client.object_to_http_body(body)
|
2787
2832
|
|
2788
2833
|
auth_names = ['PureCloud Auth']
|
2789
2834
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -2802,21 +2847,21 @@ module PureCloud
|
|
2802
2847
|
# Add a new call to a conversation
|
2803
2848
|
#
|
2804
2849
|
# @param call_id
|
2850
|
+
# @param body Conversation
|
2805
2851
|
# @param [Hash] opts the optional parameters
|
2806
|
-
# @option opts [CallCommand] :body Conversation
|
2807
2852
|
# @return [Conversation]
|
2808
|
-
def post_calls_call_id(call_id, opts = {})
|
2809
|
-
data, status_code, headers = post_calls_call_id_with_http_info(call_id, opts)
|
2853
|
+
def post_calls_call_id(call_id, body, opts = {})
|
2854
|
+
data, status_code, headers = post_calls_call_id_with_http_info(call_id, body, opts)
|
2810
2855
|
return data
|
2811
2856
|
end
|
2812
2857
|
|
2813
2858
|
# Add a new call to a conversation
|
2814
2859
|
#
|
2815
2860
|
# @param call_id
|
2861
|
+
# @param body Conversation
|
2816
2862
|
# @param [Hash] opts the optional parameters
|
2817
|
-
# @option opts [CallCommand] :body Conversation
|
2818
2863
|
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
2819
|
-
def post_calls_call_id_with_http_info(call_id, opts = {})
|
2864
|
+
def post_calls_call_id_with_http_info(call_id, body, opts = {})
|
2820
2865
|
if @api_client.config.debugging
|
2821
2866
|
@api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id ..."
|
2822
2867
|
end
|
@@ -2824,6 +2869,9 @@ module PureCloud
|
|
2824
2869
|
# verify the required parameter 'call_id' is set
|
2825
2870
|
fail "Missing the required parameter 'call_id' when calling post_calls_call_id" if call_id.nil?
|
2826
2871
|
|
2872
|
+
# verify the required parameter 'body' is set
|
2873
|
+
fail "Missing the required parameter 'body' when calling post_calls_call_id" if body.nil?
|
2874
|
+
|
2827
2875
|
# resource path
|
2828
2876
|
local_var_path = "/api/v2/conversations/calls/{callId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
|
2829
2877
|
|
@@ -2845,7 +2893,7 @@ module PureCloud
|
|
2845
2893
|
form_params = {}
|
2846
2894
|
|
2847
2895
|
# http body (model)
|
2848
|
-
post_body = @api_client.object_to_http_body(
|
2896
|
+
post_body = @api_client.object_to_http_body(body)
|
2849
2897
|
|
2850
2898
|
auth_names = ['PureCloud Auth']
|
2851
2899
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -2864,21 +2912,21 @@ module PureCloud
|
|
2864
2912
|
# Add participants to a conversation
|
2865
2913
|
#
|
2866
2914
|
# @param call_id
|
2915
|
+
# @param body Conversation
|
2867
2916
|
# @param [Hash] opts the optional parameters
|
2868
|
-
# @option opts [Conversation] :body Conversation
|
2869
2917
|
# @return [Conversation]
|
2870
|
-
def post_calls_call_id_participants(call_id, opts = {})
|
2871
|
-
data, status_code, headers = post_calls_call_id_participants_with_http_info(call_id, opts)
|
2918
|
+
def post_calls_call_id_participants(call_id, body, opts = {})
|
2919
|
+
data, status_code, headers = post_calls_call_id_participants_with_http_info(call_id, body, opts)
|
2872
2920
|
return data
|
2873
2921
|
end
|
2874
2922
|
|
2875
2923
|
# Add participants to a conversation
|
2876
2924
|
#
|
2877
2925
|
# @param call_id
|
2926
|
+
# @param body Conversation
|
2878
2927
|
# @param [Hash] opts the optional parameters
|
2879
|
-
# @option opts [Conversation] :body Conversation
|
2880
2928
|
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
2881
|
-
def post_calls_call_id_participants_with_http_info(call_id, opts = {})
|
2929
|
+
def post_calls_call_id_participants_with_http_info(call_id, body, opts = {})
|
2882
2930
|
if @api_client.config.debugging
|
2883
2931
|
@api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id_participants ..."
|
2884
2932
|
end
|
@@ -2886,6 +2934,9 @@ module PureCloud
|
|
2886
2934
|
# verify the required parameter 'call_id' is set
|
2887
2935
|
fail "Missing the required parameter 'call_id' when calling post_calls_call_id_participants" if call_id.nil?
|
2888
2936
|
|
2937
|
+
# verify the required parameter 'body' is set
|
2938
|
+
fail "Missing the required parameter 'body' when calling post_calls_call_id_participants" if body.nil?
|
2939
|
+
|
2889
2940
|
# resource path
|
2890
2941
|
local_var_path = "/api/v2/conversations/calls/{callId}/participants".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
|
2891
2942
|
|
@@ -2907,7 +2958,7 @@ module PureCloud
|
|
2907
2958
|
form_params = {}
|
2908
2959
|
|
2909
2960
|
# http body (model)
|
2910
|
-
post_body = @api_client.object_to_http_body(
|
2961
|
+
post_body = @api_client.object_to_http_body(body)
|
2911
2962
|
|
2912
2963
|
auth_names = ['PureCloud Auth']
|
2913
2964
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -2927,11 +2978,11 @@ module PureCloud
|
|
2927
2978
|
#
|
2928
2979
|
# @param call_id
|
2929
2980
|
# @param participant_id
|
2981
|
+
# @param body Destination address & initial speak to
|
2930
2982
|
# @param [Hash] opts the optional parameters
|
2931
|
-
# @option opts [ConsultTransfer] :body Destination address & initial speak to
|
2932
2983
|
# @return [ConsultTransferResponse]
|
2933
|
-
def post_calls_call_id_participants_participant_id_consult(call_id, participant_id, opts = {})
|
2934
|
-
data, status_code, headers = post_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts)
|
2984
|
+
def post_calls_call_id_participants_participant_id_consult(call_id, participant_id, body, opts = {})
|
2985
|
+
data, status_code, headers = post_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, body, opts)
|
2935
2986
|
return data
|
2936
2987
|
end
|
2937
2988
|
|
@@ -2939,10 +2990,10 @@ module PureCloud
|
|
2939
2990
|
#
|
2940
2991
|
# @param call_id
|
2941
2992
|
# @param participant_id
|
2993
|
+
# @param body Destination address & initial speak to
|
2942
2994
|
# @param [Hash] opts the optional parameters
|
2943
|
-
# @option opts [ConsultTransfer] :body Destination address & initial speak to
|
2944
2995
|
# @return [Array<(ConsultTransferResponse, Fixnum, Hash)>] ConsultTransferResponse data, response status code and response headers
|
2945
|
-
def post_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts = {})
|
2996
|
+
def post_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, body, opts = {})
|
2946
2997
|
if @api_client.config.debugging
|
2947
2998
|
@api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id_participants_participant_id_consult ..."
|
2948
2999
|
end
|
@@ -2953,6 +3004,9 @@ module PureCloud
|
|
2953
3004
|
# verify the required parameter 'participant_id' is set
|
2954
3005
|
fail "Missing the required parameter 'participant_id' when calling post_calls_call_id_participants_participant_id_consult" if participant_id.nil?
|
2955
3006
|
|
3007
|
+
# verify the required parameter 'body' is set
|
3008
|
+
fail "Missing the required parameter 'body' when calling post_calls_call_id_participants_participant_id_consult" if body.nil?
|
3009
|
+
|
2956
3010
|
# resource path
|
2957
3011
|
local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/consult".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
2958
3012
|
|
@@ -2974,7 +3028,7 @@ module PureCloud
|
|
2974
3028
|
form_params = {}
|
2975
3029
|
|
2976
3030
|
# http body (model)
|
2977
|
-
post_body = @api_client.object_to_http_body(
|
3031
|
+
post_body = @api_client.object_to_http_body(body)
|
2978
3032
|
|
2979
3033
|
auth_names = ['PureCloud Auth']
|
2980
3034
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -3058,11 +3112,11 @@ module PureCloud
|
|
3058
3112
|
#
|
3059
3113
|
# @param call_id
|
3060
3114
|
# @param participant_id
|
3115
|
+
# @param body Transfer request
|
3061
3116
|
# @param [Hash] opts the optional parameters
|
3062
|
-
# @option opts [TransferRequest] :body
|
3063
3117
|
# @return [nil]
|
3064
|
-
def post_calls_call_id_participants_participant_id_replace(call_id, participant_id, opts = {})
|
3065
|
-
post_calls_call_id_participants_participant_id_replace_with_http_info(call_id, participant_id, opts)
|
3118
|
+
def post_calls_call_id_participants_participant_id_replace(call_id, participant_id, body, opts = {})
|
3119
|
+
post_calls_call_id_participants_participant_id_replace_with_http_info(call_id, participant_id, body, opts)
|
3066
3120
|
return nil
|
3067
3121
|
end
|
3068
3122
|
|
@@ -3070,10 +3124,10 @@ module PureCloud
|
|
3070
3124
|
#
|
3071
3125
|
# @param call_id
|
3072
3126
|
# @param participant_id
|
3127
|
+
# @param body Transfer request
|
3073
3128
|
# @param [Hash] opts the optional parameters
|
3074
|
-
# @option opts [TransferRequest] :body
|
3075
3129
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3076
|
-
def post_calls_call_id_participants_participant_id_replace_with_http_info(call_id, participant_id, opts = {})
|
3130
|
+
def post_calls_call_id_participants_participant_id_replace_with_http_info(call_id, participant_id, body, opts = {})
|
3077
3131
|
if @api_client.config.debugging
|
3078
3132
|
@api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id_participants_participant_id_replace ..."
|
3079
3133
|
end
|
@@ -3084,6 +3138,9 @@ module PureCloud
|
|
3084
3138
|
# verify the required parameter 'participant_id' is set
|
3085
3139
|
fail "Missing the required parameter 'participant_id' when calling post_calls_call_id_participants_participant_id_replace" if participant_id.nil?
|
3086
3140
|
|
3141
|
+
# verify the required parameter 'body' is set
|
3142
|
+
fail "Missing the required parameter 'body' when calling post_calls_call_id_participants_participant_id_replace" if body.nil?
|
3143
|
+
|
3087
3144
|
# resource path
|
3088
3145
|
local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
3089
3146
|
|
@@ -3105,7 +3162,7 @@ module PureCloud
|
|
3105
3162
|
form_params = {}
|
3106
3163
|
|
3107
3164
|
# http body (model)
|
3108
|
-
post_body = @api_client.object_to_http_body(
|
3165
|
+
post_body = @api_client.object_to_http_body(body)
|
3109
3166
|
|
3110
3167
|
auth_names = ['PureCloud Auth']
|
3111
3168
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -3124,11 +3181,11 @@ module PureCloud
|
|
3124
3181
|
#
|
3125
3182
|
# @param chat_id
|
3126
3183
|
# @param participant_id
|
3184
|
+
# @param body Transfer request
|
3127
3185
|
# @param [Hash] opts the optional parameters
|
3128
|
-
# @option opts [TransferRequest] :body
|
3129
3186
|
# @return [nil]
|
3130
|
-
def post_chats_chat_id_participants_participant_id_replace(chat_id, participant_id, opts = {})
|
3131
|
-
post_chats_chat_id_participants_participant_id_replace_with_http_info(chat_id, participant_id, opts)
|
3187
|
+
def post_chats_chat_id_participants_participant_id_replace(chat_id, participant_id, body, opts = {})
|
3188
|
+
post_chats_chat_id_participants_participant_id_replace_with_http_info(chat_id, participant_id, body, opts)
|
3132
3189
|
return nil
|
3133
3190
|
end
|
3134
3191
|
|
@@ -3136,10 +3193,10 @@ module PureCloud
|
|
3136
3193
|
#
|
3137
3194
|
# @param chat_id
|
3138
3195
|
# @param participant_id
|
3196
|
+
# @param body Transfer request
|
3139
3197
|
# @param [Hash] opts the optional parameters
|
3140
|
-
# @option opts [TransferRequest] :body
|
3141
3198
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3142
|
-
def post_chats_chat_id_participants_participant_id_replace_with_http_info(chat_id, participant_id, opts = {})
|
3199
|
+
def post_chats_chat_id_participants_participant_id_replace_with_http_info(chat_id, participant_id, body, opts = {})
|
3143
3200
|
if @api_client.config.debugging
|
3144
3201
|
@api_client.config.logger.debug "Calling API: ConversationsApi#post_chats_chat_id_participants_participant_id_replace ..."
|
3145
3202
|
end
|
@@ -3150,6 +3207,9 @@ module PureCloud
|
|
3150
3207
|
# verify the required parameter 'participant_id' is set
|
3151
3208
|
fail "Missing the required parameter 'participant_id' when calling post_chats_chat_id_participants_participant_id_replace" if participant_id.nil?
|
3152
3209
|
|
3210
|
+
# verify the required parameter 'body' is set
|
3211
|
+
fail "Missing the required parameter 'body' when calling post_chats_chat_id_participants_participant_id_replace" if body.nil?
|
3212
|
+
|
3153
3213
|
# resource path
|
3154
3214
|
local_var_path = "/api/v2/conversations/chats/{chatId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
3155
3215
|
|
@@ -3171,7 +3231,7 @@ module PureCloud
|
|
3171
3231
|
form_params = {}
|
3172
3232
|
|
3173
3233
|
# http body (model)
|
3174
|
-
post_body = @api_client.object_to_http_body(
|
3234
|
+
post_body = @api_client.object_to_http_body(body)
|
3175
3235
|
|
3176
3236
|
auth_names = ['PureCloud Auth']
|
3177
3237
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -3256,11 +3316,11 @@ module PureCloud
|
|
3256
3316
|
#
|
3257
3317
|
# @param conversation_id conversation ID
|
3258
3318
|
# @param participant_id participant ID
|
3319
|
+
# @param body Transfer request
|
3259
3320
|
# @param [Hash] opts the optional parameters
|
3260
|
-
# @option opts [TransferRequest] :body
|
3261
3321
|
# @return [nil]
|
3262
|
-
def post_conversation_id_participants_participant_id_replace(conversation_id, participant_id, opts = {})
|
3263
|
-
post_conversation_id_participants_participant_id_replace_with_http_info(conversation_id, participant_id, opts)
|
3322
|
+
def post_conversation_id_participants_participant_id_replace(conversation_id, participant_id, body, opts = {})
|
3323
|
+
post_conversation_id_participants_participant_id_replace_with_http_info(conversation_id, participant_id, body, opts)
|
3264
3324
|
return nil
|
3265
3325
|
end
|
3266
3326
|
|
@@ -3268,10 +3328,10 @@ module PureCloud
|
|
3268
3328
|
#
|
3269
3329
|
# @param conversation_id conversation ID
|
3270
3330
|
# @param participant_id participant ID
|
3331
|
+
# @param body Transfer request
|
3271
3332
|
# @param [Hash] opts the optional parameters
|
3272
|
-
# @option opts [TransferRequest] :body
|
3273
3333
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3274
|
-
def post_conversation_id_participants_participant_id_replace_with_http_info(conversation_id, participant_id, opts = {})
|
3334
|
+
def post_conversation_id_participants_participant_id_replace_with_http_info(conversation_id, participant_id, body, opts = {})
|
3275
3335
|
if @api_client.config.debugging
|
3276
3336
|
@api_client.config.logger.debug "Calling API: ConversationsApi#post_conversation_id_participants_participant_id_replace ..."
|
3277
3337
|
end
|
@@ -3282,6 +3342,9 @@ module PureCloud
|
|
3282
3342
|
# verify the required parameter 'participant_id' is set
|
3283
3343
|
fail "Missing the required parameter 'participant_id' when calling post_conversation_id_participants_participant_id_replace" if participant_id.nil?
|
3284
3344
|
|
3345
|
+
# verify the required parameter 'body' is set
|
3346
|
+
fail "Missing the required parameter 'body' when calling post_conversation_id_participants_participant_id_replace" if body.nil?
|
3347
|
+
|
3285
3348
|
# resource path
|
3286
3349
|
local_var_path = "/api/v2/conversations/{conversationId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
3287
3350
|
|
@@ -3303,7 +3366,7 @@ module PureCloud
|
|
3303
3366
|
form_params = {}
|
3304
3367
|
|
3305
3368
|
# http body (model)
|
3306
|
-
post_body = @api_client.object_to_http_body(
|
3369
|
+
post_body = @api_client.object_to_http_body(body)
|
3307
3370
|
|
3308
3371
|
auth_names = ['PureCloud Auth']
|
3309
3372
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -3320,24 +3383,27 @@ module PureCloud
|
|
3320
3383
|
|
3321
3384
|
# Query for conversation aggregates
|
3322
3385
|
#
|
3386
|
+
# @param body query
|
3323
3387
|
# @param [Hash] opts the optional parameters
|
3324
|
-
# @option opts [AggregationQuery] :body query
|
3325
3388
|
# @return [AggregateQueryResponse]
|
3326
|
-
def post_conversations_aggregates_query(opts = {})
|
3327
|
-
data, status_code, headers = post_conversations_aggregates_query_with_http_info(opts)
|
3389
|
+
def post_conversations_aggregates_query(body, opts = {})
|
3390
|
+
data, status_code, headers = post_conversations_aggregates_query_with_http_info(body, opts)
|
3328
3391
|
return data
|
3329
3392
|
end
|
3330
3393
|
|
3331
3394
|
# Query for conversation aggregates
|
3332
3395
|
#
|
3396
|
+
# @param body query
|
3333
3397
|
# @param [Hash] opts the optional parameters
|
3334
|
-
# @option opts [AggregationQuery] :body query
|
3335
3398
|
# @return [Array<(AggregateQueryResponse, Fixnum, Hash)>] AggregateQueryResponse data, response status code and response headers
|
3336
|
-
def post_conversations_aggregates_query_with_http_info(opts = {})
|
3399
|
+
def post_conversations_aggregates_query_with_http_info(body, opts = {})
|
3337
3400
|
if @api_client.config.debugging
|
3338
3401
|
@api_client.config.logger.debug "Calling API: ConversationsApi#post_conversations_aggregates_query ..."
|
3339
3402
|
end
|
3340
3403
|
|
3404
|
+
# verify the required parameter 'body' is set
|
3405
|
+
fail "Missing the required parameter 'body' when calling post_conversations_aggregates_query" if body.nil?
|
3406
|
+
|
3341
3407
|
# resource path
|
3342
3408
|
local_var_path = "/api/v2/analytics/conversations/aggregates/query".sub('{format}','json')
|
3343
3409
|
|
@@ -3359,7 +3425,7 @@ module PureCloud
|
|
3359
3425
|
form_params = {}
|
3360
3426
|
|
3361
3427
|
# http body (model)
|
3362
|
-
post_body = @api_client.object_to_http_body(
|
3428
|
+
post_body = @api_client.object_to_http_body(body)
|
3363
3429
|
|
3364
3430
|
auth_names = ['PureCloud Auth']
|
3365
3431
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -3378,21 +3444,21 @@ module PureCloud
|
|
3378
3444
|
# Index conversation properties
|
3379
3445
|
#
|
3380
3446
|
# @param conversation_id conversationId
|
3447
|
+
# @param body request
|
3381
3448
|
# @param [Hash] opts the optional parameters
|
3382
|
-
# @option opts [PropertyIndexRequest] :body request
|
3383
3449
|
# @return [PropertyIndexRequest]
|
3384
|
-
def post_conversations_conversation_id_details_properties(conversation_id, opts = {})
|
3385
|
-
data, status_code, headers = post_conversations_conversation_id_details_properties_with_http_info(conversation_id, opts)
|
3450
|
+
def post_conversations_conversation_id_details_properties(conversation_id, body, opts = {})
|
3451
|
+
data, status_code, headers = post_conversations_conversation_id_details_properties_with_http_info(conversation_id, body, opts)
|
3386
3452
|
return data
|
3387
3453
|
end
|
3388
3454
|
|
3389
3455
|
# Index conversation properties
|
3390
3456
|
#
|
3391
3457
|
# @param conversation_id conversationId
|
3458
|
+
# @param body request
|
3392
3459
|
# @param [Hash] opts the optional parameters
|
3393
|
-
# @option opts [PropertyIndexRequest] :body request
|
3394
3460
|
# @return [Array<(PropertyIndexRequest, Fixnum, Hash)>] PropertyIndexRequest data, response status code and response headers
|
3395
|
-
def post_conversations_conversation_id_details_properties_with_http_info(conversation_id, opts = {})
|
3461
|
+
def post_conversations_conversation_id_details_properties_with_http_info(conversation_id, body, opts = {})
|
3396
3462
|
if @api_client.config.debugging
|
3397
3463
|
@api_client.config.logger.debug "Calling API: ConversationsApi#post_conversations_conversation_id_details_properties ..."
|
3398
3464
|
end
|
@@ -3400,6 +3466,9 @@ module PureCloud
|
|
3400
3466
|
# verify the required parameter 'conversation_id' is set
|
3401
3467
|
fail "Missing the required parameter 'conversation_id' when calling post_conversations_conversation_id_details_properties" if conversation_id.nil?
|
3402
3468
|
|
3469
|
+
# verify the required parameter 'body' is set
|
3470
|
+
fail "Missing the required parameter 'body' when calling post_conversations_conversation_id_details_properties" if body.nil?
|
3471
|
+
|
3403
3472
|
# resource path
|
3404
3473
|
local_var_path = "/api/v2/analytics/conversations/{conversationId}/details/properties".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
3405
3474
|
|
@@ -3421,7 +3490,7 @@ module PureCloud
|
|
3421
3490
|
form_params = {}
|
3422
3491
|
|
3423
3492
|
# http body (model)
|
3424
|
-
post_body = @api_client.object_to_http_body(
|
3493
|
+
post_body = @api_client.object_to_http_body(body)
|
3425
3494
|
|
3426
3495
|
auth_names = ['PureCloud Auth']
|
3427
3496
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -3439,24 +3508,27 @@ module PureCloud
|
|
3439
3508
|
|
3440
3509
|
# Query for conversation details
|
3441
3510
|
#
|
3511
|
+
# @param body query
|
3442
3512
|
# @param [Hash] opts the optional parameters
|
3443
|
-
# @option opts [ConversationQuery] :body query
|
3444
3513
|
# @return [AnalyticsConversationQueryResponse]
|
3445
|
-
def post_conversations_details_query(opts = {})
|
3446
|
-
data, status_code, headers = post_conversations_details_query_with_http_info(opts)
|
3514
|
+
def post_conversations_details_query(body, opts = {})
|
3515
|
+
data, status_code, headers = post_conversations_details_query_with_http_info(body, opts)
|
3447
3516
|
return data
|
3448
3517
|
end
|
3449
3518
|
|
3450
3519
|
# Query for conversation details
|
3451
3520
|
#
|
3521
|
+
# @param body query
|
3452
3522
|
# @param [Hash] opts the optional parameters
|
3453
|
-
# @option opts [ConversationQuery] :body query
|
3454
3523
|
# @return [Array<(AnalyticsConversationQueryResponse, Fixnum, Hash)>] AnalyticsConversationQueryResponse data, response status code and response headers
|
3455
|
-
def post_conversations_details_query_with_http_info(opts = {})
|
3524
|
+
def post_conversations_details_query_with_http_info(body, opts = {})
|
3456
3525
|
if @api_client.config.debugging
|
3457
3526
|
@api_client.config.logger.debug "Calling API: ConversationsApi#post_conversations_details_query ..."
|
3458
3527
|
end
|
3459
3528
|
|
3529
|
+
# verify the required parameter 'body' is set
|
3530
|
+
fail "Missing the required parameter 'body' when calling post_conversations_details_query" if body.nil?
|
3531
|
+
|
3460
3532
|
# resource path
|
3461
3533
|
local_var_path = "/api/v2/analytics/conversations/details/query".sub('{format}','json')
|
3462
3534
|
|
@@ -3478,7 +3550,7 @@ module PureCloud
|
|
3478
3550
|
form_params = {}
|
3479
3551
|
|
3480
3552
|
# http body (model)
|
3481
|
-
post_body = @api_client.object_to_http_body(
|
3553
|
+
post_body = @api_client.object_to_http_body(body)
|
3482
3554
|
|
3483
3555
|
auth_names = ['PureCloud Auth']
|
3484
3556
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -3497,21 +3569,21 @@ module PureCloud
|
|
3497
3569
|
# Send an email reply
|
3498
3570
|
#
|
3499
3571
|
# @param email_id
|
3572
|
+
# @param body Reply
|
3500
3573
|
# @param [Hash] opts the optional parameters
|
3501
|
-
# @option opts [EmailMessage] :body Reply
|
3502
3574
|
# @return [EmailMessage]
|
3503
|
-
def post_emails_email_id_messages(email_id, opts = {})
|
3504
|
-
data, status_code, headers = post_emails_email_id_messages_with_http_info(email_id, opts)
|
3575
|
+
def post_emails_email_id_messages(email_id, body, opts = {})
|
3576
|
+
data, status_code, headers = post_emails_email_id_messages_with_http_info(email_id, body, opts)
|
3505
3577
|
return data
|
3506
3578
|
end
|
3507
3579
|
|
3508
3580
|
# Send an email reply
|
3509
3581
|
#
|
3510
3582
|
# @param email_id
|
3583
|
+
# @param body Reply
|
3511
3584
|
# @param [Hash] opts the optional parameters
|
3512
|
-
# @option opts [EmailMessage] :body Reply
|
3513
3585
|
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
3514
|
-
def post_emails_email_id_messages_with_http_info(email_id, opts = {})
|
3586
|
+
def post_emails_email_id_messages_with_http_info(email_id, body, opts = {})
|
3515
3587
|
if @api_client.config.debugging
|
3516
3588
|
@api_client.config.logger.debug "Calling API: ConversationsApi#post_emails_email_id_messages ..."
|
3517
3589
|
end
|
@@ -3519,6 +3591,9 @@ module PureCloud
|
|
3519
3591
|
# verify the required parameter 'email_id' is set
|
3520
3592
|
fail "Missing the required parameter 'email_id' when calling post_emails_email_id_messages" if email_id.nil?
|
3521
3593
|
|
3594
|
+
# verify the required parameter 'body' is set
|
3595
|
+
fail "Missing the required parameter 'body' when calling post_emails_email_id_messages" if body.nil?
|
3596
|
+
|
3522
3597
|
# resource path
|
3523
3598
|
local_var_path = "/api/v2/conversations/emails/{emailId}/messages".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
|
3524
3599
|
|
@@ -3540,7 +3615,7 @@ module PureCloud
|
|
3540
3615
|
form_params = {}
|
3541
3616
|
|
3542
3617
|
# http body (model)
|
3543
|
-
post_body = @api_client.object_to_http_body(
|
3618
|
+
post_body = @api_client.object_to_http_body(body)
|
3544
3619
|
|
3545
3620
|
auth_names = ['PureCloud Auth']
|
3546
3621
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -3560,11 +3635,11 @@ module PureCloud
|
|
3560
3635
|
#
|
3561
3636
|
# @param email_id
|
3562
3637
|
# @param participant_id
|
3638
|
+
# @param body Transfer request
|
3563
3639
|
# @param [Hash] opts the optional parameters
|
3564
|
-
# @option opts [TransferRequest] :body
|
3565
3640
|
# @return [nil]
|
3566
|
-
def post_emails_email_id_participants_participant_id_replace(email_id, participant_id, opts = {})
|
3567
|
-
post_emails_email_id_participants_participant_id_replace_with_http_info(email_id, participant_id, opts)
|
3641
|
+
def post_emails_email_id_participants_participant_id_replace(email_id, participant_id, body, opts = {})
|
3642
|
+
post_emails_email_id_participants_participant_id_replace_with_http_info(email_id, participant_id, body, opts)
|
3568
3643
|
return nil
|
3569
3644
|
end
|
3570
3645
|
|
@@ -3572,10 +3647,10 @@ module PureCloud
|
|
3572
3647
|
#
|
3573
3648
|
# @param email_id
|
3574
3649
|
# @param participant_id
|
3650
|
+
# @param body Transfer request
|
3575
3651
|
# @param [Hash] opts the optional parameters
|
3576
|
-
# @option opts [TransferRequest] :body
|
3577
3652
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3578
|
-
def post_emails_email_id_participants_participant_id_replace_with_http_info(email_id, participant_id, opts = {})
|
3653
|
+
def post_emails_email_id_participants_participant_id_replace_with_http_info(email_id, participant_id, body, opts = {})
|
3579
3654
|
if @api_client.config.debugging
|
3580
3655
|
@api_client.config.logger.debug "Calling API: ConversationsApi#post_emails_email_id_participants_participant_id_replace ..."
|
3581
3656
|
end
|
@@ -3586,6 +3661,9 @@ module PureCloud
|
|
3586
3661
|
# verify the required parameter 'participant_id' is set
|
3587
3662
|
fail "Missing the required parameter 'participant_id' when calling post_emails_email_id_participants_participant_id_replace" if participant_id.nil?
|
3588
3663
|
|
3664
|
+
# verify the required parameter 'body' is set
|
3665
|
+
fail "Missing the required parameter 'body' when calling post_emails_email_id_participants_participant_id_replace" if body.nil?
|
3666
|
+
|
3589
3667
|
# resource path
|
3590
3668
|
local_var_path = "/api/v2/conversations/emails/{emailId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
3591
3669
|
|
@@ -3607,7 +3685,7 @@ module PureCloud
|
|
3607
3685
|
form_params = {}
|
3608
3686
|
|
3609
3687
|
# http body (model)
|
3610
|
-
post_body = @api_client.object_to_http_body(
|
3688
|
+
post_body = @api_client.object_to_http_body(body)
|
3611
3689
|
|
3612
3690
|
auth_names = ['PureCloud Auth']
|
3613
3691
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -3624,24 +3702,27 @@ module PureCloud
|
|
3624
3702
|
|
3625
3703
|
# Create Fax Conversation
|
3626
3704
|
#
|
3705
|
+
# @param body Fax
|
3627
3706
|
# @param [Hash] opts the optional parameters
|
3628
|
-
# @option opts [FaxSendRequest] :body Fax
|
3629
3707
|
# @return [FaxSendResponse]
|
3630
|
-
def post_faxes(opts = {})
|
3631
|
-
data, status_code, headers = post_faxes_with_http_info(opts)
|
3708
|
+
def post_faxes(body, opts = {})
|
3709
|
+
data, status_code, headers = post_faxes_with_http_info(body, opts)
|
3632
3710
|
return data
|
3633
3711
|
end
|
3634
3712
|
|
3635
3713
|
# Create Fax Conversation
|
3636
3714
|
#
|
3715
|
+
# @param body Fax
|
3637
3716
|
# @param [Hash] opts the optional parameters
|
3638
|
-
# @option opts [FaxSendRequest] :body Fax
|
3639
3717
|
# @return [Array<(FaxSendResponse, Fixnum, Hash)>] FaxSendResponse data, response status code and response headers
|
3640
|
-
def post_faxes_with_http_info(opts = {})
|
3718
|
+
def post_faxes_with_http_info(body, opts = {})
|
3641
3719
|
if @api_client.config.debugging
|
3642
3720
|
@api_client.config.logger.debug "Calling API: ConversationsApi#post_faxes ..."
|
3643
3721
|
end
|
3644
3722
|
|
3723
|
+
# verify the required parameter 'body' is set
|
3724
|
+
fail "Missing the required parameter 'body' when calling post_faxes" if body.nil?
|
3725
|
+
|
3645
3726
|
# resource path
|
3646
3727
|
local_var_path = "/api/v2/conversations/faxes".sub('{format}','json')
|
3647
3728
|
|
@@ -3663,7 +3744,7 @@ module PureCloud
|
|
3663
3744
|
form_params = {}
|
3664
3745
|
|
3665
3746
|
# http body (model)
|
3666
|
-
post_body = @api_client.object_to_http_body(
|
3747
|
+
post_body = @api_client.object_to_http_body(body)
|
3667
3748
|
|
3668
3749
|
auth_names = ['PureCloud Auth']
|
3669
3750
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -3682,21 +3763,21 @@ module PureCloud
|
|
3682
3763
|
# Update conversation draft reply
|
3683
3764
|
#
|
3684
3765
|
# @param email_id
|
3766
|
+
# @param body Draft
|
3685
3767
|
# @param [Hash] opts the optional parameters
|
3686
|
-
# @option opts [EmailMessage] :body Draft
|
3687
3768
|
# @return [EmailMessage]
|
3688
|
-
def put_emails_email_id_messages_draft(email_id, opts = {})
|
3689
|
-
data, status_code, headers = put_emails_email_id_messages_draft_with_http_info(email_id, opts)
|
3769
|
+
def put_emails_email_id_messages_draft(email_id, body, opts = {})
|
3770
|
+
data, status_code, headers = put_emails_email_id_messages_draft_with_http_info(email_id, body, opts)
|
3690
3771
|
return data
|
3691
3772
|
end
|
3692
3773
|
|
3693
3774
|
# Update conversation draft reply
|
3694
3775
|
#
|
3695
3776
|
# @param email_id
|
3777
|
+
# @param body Draft
|
3696
3778
|
# @param [Hash] opts the optional parameters
|
3697
|
-
# @option opts [EmailMessage] :body Draft
|
3698
3779
|
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
3699
|
-
def put_emails_email_id_messages_draft_with_http_info(email_id, opts = {})
|
3780
|
+
def put_emails_email_id_messages_draft_with_http_info(email_id, body, opts = {})
|
3700
3781
|
if @api_client.config.debugging
|
3701
3782
|
@api_client.config.logger.debug "Calling API: ConversationsApi#put_emails_email_id_messages_draft ..."
|
3702
3783
|
end
|
@@ -3704,6 +3785,9 @@ module PureCloud
|
|
3704
3785
|
# verify the required parameter 'email_id' is set
|
3705
3786
|
fail "Missing the required parameter 'email_id' when calling put_emails_email_id_messages_draft" if email_id.nil?
|
3706
3787
|
|
3788
|
+
# verify the required parameter 'body' is set
|
3789
|
+
fail "Missing the required parameter 'body' when calling put_emails_email_id_messages_draft" if body.nil?
|
3790
|
+
|
3707
3791
|
# resource path
|
3708
3792
|
local_var_path = "/api/v2/conversations/emails/{emailId}/messages/draft".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
|
3709
3793
|
|
@@ -3725,7 +3809,7 @@ module PureCloud
|
|
3725
3809
|
form_params = {}
|
3726
3810
|
|
3727
3811
|
# http body (model)
|
3728
|
-
post_body = @api_client.object_to_http_body(
|
3812
|
+
post_body = @api_client.object_to_http_body(body)
|
3729
3813
|
|
3730
3814
|
auth_names = ['PureCloud Auth']
|
3731
3815
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|