purecloudplatformclientv2 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +56 -0
- data/docs/ADFS.md +20 -0
- data/docs/Actions.md +13 -0
- data/docs/ActivityCode.md +20 -0
- data/docs/ActivityCodeContainer.md +13 -0
- data/docs/AcwSettings.md +14 -0
- data/docs/Address.md +17 -0
- data/docs/AddressableEntityUser.md +14 -0
- data/docs/AddressableLicenseDefinition.md +14 -0
- data/docs/Adjacents.md +15 -0
- data/docs/Agent.md +13 -0
- data/docs/AgentActivity.md +19 -0
- data/docs/AgentActivityEntityListing.md +22 -0
- data/docs/AgentEvaluatorActivity.md +19 -0
- data/docs/AggregateDataContainer.md +14 -0
- data/docs/AggregateMetricData.md +15 -0
- data/docs/AggregateQueryResponse.md +13 -0
- data/docs/AggregateViewData.md +14 -0
- data/docs/AggregationQuery.md +20 -0
- data/docs/AggregationRange.md +14 -0
- data/docs/AggregationResult.md +17 -0
- data/docs/AggregationResultEntry.md +16 -0
- data/docs/AlertingApi.md +2129 -0
- data/docs/AnalyticsApi.md +1347 -0
- data/docs/AnalyticsConversation.md +17 -0
- data/docs/AnalyticsConversationQueryResponse.md +14 -0
- data/docs/AnalyticsConversationSegment.md +36 -0
- data/docs/AnalyticsEvaluation.md +22 -0
- data/docs/AnalyticsParticipant.md +19 -0
- data/docs/AnalyticsProperty.md +15 -0
- data/docs/AnalyticsQueryAggregation.md +17 -0
- data/docs/AnalyticsQueryClause.md +14 -0
- data/docs/AnalyticsQueryFilter.md +15 -0
- data/docs/AnalyticsQueryPredicate.md +20 -0
- data/docs/AnalyticsRoutingStatusRecord.md +16 -0
- data/docs/AnalyticsSession.md +44 -0
- data/docs/AnalyticsUserDetail.md +15 -0
- data/docs/AnalyticsUserDetailsQueryResponse.md +14 -0
- data/docs/AnalyticsUserPresenceRecord.md +17 -0
- data/docs/AnalyticsView.md +16 -0
- data/docs/Annotation.md +30 -0
- data/docs/AnswerOption.md +15 -0
- data/docs/ArchitectApi.md +2924 -0
- data/docs/ArchiveRetention.md +14 -0
- data/docs/Attachment.md +17 -0
- data/docs/AttemptLimits.md +22 -0
- data/docs/AttemptLimitsEntityListing.md +22 -0
- data/docs/AttemptLimitsNotification.md +24 -0
- data/docs/AttemptLimitsNotificationRecallEntries.md +15 -0
- data/docs/AttemptLimitsNotificationRecallEntry.md +15 -0
- data/docs/Attribute.md +21 -0
- data/docs/AttributeEntityListing.md +22 -0
- data/docs/AttributeFilterItem.md +15 -0
- data/docs/AttributeQueryRequest.md +15 -0
- data/docs/AttributesApi.md +377 -0
- data/docs/AuditChange.md +16 -0
- data/docs/AuditEntity.md +16 -0
- data/docs/AuditEntityReference.md +17 -0
- data/docs/AuditFacet.md +14 -0
- data/docs/AuditFilter.md +16 -0
- data/docs/AuditMessage.md +28 -0
- data/docs/AuditSearchResult.md +18 -0
- data/docs/AuditUser.md +15 -0
- data/docs/AuthorizationApi.md +1067 -0
- data/docs/AvailableLanguageList.md +13 -0
- data/docs/AvailableTopic.md +16 -0
- data/docs/AvailableTopicEntityListing.md +13 -0
- data/docs/AvailableTranslations.md +14 -0
- data/docs/Bullseye.md +13 -0
- data/docs/Calibration.md +28 -0
- data/docs/CalibrationAssignment.md +16 -0
- data/docs/CalibrationCreate.md +28 -0
- data/docs/CalibrationEntityListing.md +22 -0
- data/docs/Call.md +31 -0
- data/docs/CallBasic.md +31 -0
- data/docs/CallCommand.md +13 -0
- data/docs/CallConversation.md +18 -0
- data/docs/CallConversationEntityListing.md +22 -0
- data/docs/CallConversationNotification.md +17 -0
- data/docs/CallConversationNotificationCallMediaParticipant.md +48 -0
- data/docs/CallConversationNotificationDetail.md +16 -0
- data/docs/CallConversationNotificationErrorBody.md +22 -0
- data/docs/CallConversationNotificationErrorInfo.md +22 -0
- data/docs/CallConversationNotificationFaxStatus.md +20 -0
- data/docs/CallConversationNotificationParticipants.md +48 -0
- data/docs/CallConversationNotificationUriReference.md +14 -0
- data/docs/CallConversationNotificationWrapup.md +18 -0
- data/docs/CallForwarding.md +19 -0
- data/docs/CallMediaParticipant.md +48 -0
- data/docs/CallMediaPolicy.md +14 -0
- data/docs/CallMediaPolicyConditions.md +19 -0
- data/docs/CallRecord.md +14 -0
- data/docs/CallableContactsDiagnostic.md +16 -0
- data/docs/CallableTime.md +14 -0
- data/docs/CallableTimeSet.md +19 -0
- data/docs/CallableTimeSetEntityListing.md +22 -0
- data/docs/CallableTimeSetNotification.md +19 -0
- data/docs/CallableTimeSetNotificationCallableTime.md +15 -0
- data/docs/CallableTimeSetNotificationCallableTimes.md +15 -0
- data/docs/CallableTimeSetNotificationTimeSlot.md +16 -0
- data/docs/CallableTimeSetNotificationTimeSlots.md +16 -0
- data/docs/Callback.md +30 -0
- data/docs/CallbackBasic.md +30 -0
- data/docs/CallbackConversation.md +17 -0
- data/docs/CallbackConversationEntityListing.md +22 -0
- data/docs/CallbackConversationNotification.md +16 -0
- data/docs/CallbackConversationNotificationCallbackMediaParticipant.md +44 -0
- data/docs/CallbackConversationNotificationDetail.md +16 -0
- data/docs/CallbackConversationNotificationDialerPreview.md +18 -0
- data/docs/CallbackConversationNotificationErrorBody.md +22 -0
- data/docs/CallbackConversationNotificationErrorInfo.md +22 -0
- data/docs/CallbackConversationNotificationErrorInfoDetails.md +16 -0
- data/docs/CallbackConversationNotificationParticipants.md +44 -0
- data/docs/CallbackConversationNotificationPhoneNumberColumn.md +15 -0
- data/docs/CallbackConversationNotificationUriReference.md +14 -0
- data/docs/CallbackConversationNotificationWrapup.md +18 -0
- data/docs/CallbackIdentifier.md +14 -0
- data/docs/CallbackMediaParticipant.md +44 -0
- data/docs/Campaign.md +41 -0
- data/docs/CampaignDiagnostics.md +16 -0
- data/docs/CampaignEntityListing.md +22 -0
- data/docs/CampaignInteraction.md +33 -0
- data/docs/CampaignInteractions.md +18 -0
- data/docs/CampaignNotification.md +43 -0
- data/docs/CampaignNotificationContactSort.md +16 -0
- data/docs/CampaignNotificationErrors.md +15 -0
- data/docs/CampaignNotificationPhoneColumn.md +15 -0
- data/docs/CampaignNotificationPhoneColumns.md +15 -0
- data/docs/CampaignNotificationRestErrorDetail.md +15 -0
- data/docs/CampaignNotificationUriReference.md +14 -0
- data/docs/CampaignProgress.md +17 -0
- data/docs/CampaignProgressNotification.md +17 -0
- data/docs/CampaignProgressNotificationUriReference.md +14 -0
- data/docs/CampaignRule.md +23 -0
- data/docs/CampaignRuleAction.md +16 -0
- data/docs/CampaignRuleActionEntities.md +15 -0
- data/docs/CampaignRuleCondition.md +15 -0
- data/docs/CampaignRuleEntities.md +14 -0
- data/docs/CampaignRuleEntityListing.md +22 -0
- data/docs/CampaignRuleNotification.md +23 -0
- data/docs/CampaignRuleNotificationCampaignRuleAction.md +17 -0
- data/docs/CampaignRuleNotificationCampaignRuleActionEntities.md +16 -0
- data/docs/CampaignRuleNotificationCampaignRuleActions.md +17 -0
- data/docs/CampaignRuleNotificationCampaignRuleCondition.md +16 -0
- data/docs/CampaignRuleNotificationCampaignRuleConditions.md +16 -0
- data/docs/CampaignRuleNotificationCampaignRuleEntities.md +14 -0
- data/docs/CampaignRuleNotificationUriReference.md +14 -0
- data/docs/CampaignRuleParameters.md +16 -0
- data/docs/CampaignSchedule.md +21 -0
- data/docs/CampaignScheduleNotification.md +21 -0
- data/docs/CampaignScheduleNotificationIntervals.md +15 -0
- data/docs/CampaignScheduleNotificationScheduleInterval.md +15 -0
- data/docs/CampaignScheduleNotificationUriReference.md +14 -0
- data/docs/CampaignSequence.md +23 -0
- data/docs/CampaignSequenceEntityListing.md +22 -0
- data/docs/CampaignSequenceNotification.md +23 -0
- data/docs/CampaignSequenceNotificationUriReference.md +14 -0
- data/docs/CampaignStats.md +18 -0
- data/docs/CampaignTimeSlot.md +15 -0
- data/docs/Certificate.md +13 -0
- data/docs/CertificateAuthorityEntityListing.md +22 -0
- data/docs/CertificateDetails.md +19 -0
- data/docs/Change.md +16 -0
- data/docs/Channel.md +14 -0
- data/docs/ChannelEntityListing.md +13 -0
- data/docs/ChannelTopic.md +14 -0
- data/docs/ChannelTopicEntityListing.md +13 -0
- data/docs/Chat.md +13 -0
- data/docs/ChatConversation.md +17 -0
- data/docs/ChatConversationEntityListing.md +22 -0
- data/docs/ChatConversationNotification.md +16 -0
- data/docs/ChatConversationNotificationChatMediaParticipant.md +38 -0
- data/docs/ChatConversationNotificationDetail.md +16 -0
- data/docs/ChatConversationNotificationErrorBody.md +22 -0
- data/docs/ChatConversationNotificationErrorInfo.md +22 -0
- data/docs/ChatConversationNotificationParticipants.md +38 -0
- data/docs/ChatConversationNotificationUriReference.md +14 -0
- data/docs/ChatConversationNotificationWrapup.md +18 -0
- data/docs/ChatMediaParticipant.md +38 -0
- data/docs/ChatMediaPolicy.md +14 -0
- data/docs/ChatMediaPolicyConditions.md +18 -0
- data/docs/ChatMessage.md +21 -0
- data/docs/ChatMessageUser.md +17 -0
- data/docs/CobrowseConversation.md +17 -0
- data/docs/CobrowseConversationEntityListing.md +22 -0
- data/docs/CobrowseConversationNotification.md +16 -0
- data/docs/CobrowseConversationNotificationCobrowseMediaParticipant.md +42 -0
- data/docs/CobrowseConversationNotificationDetail.md +16 -0
- data/docs/CobrowseConversationNotificationErrorBody.md +22 -0
- data/docs/CobrowseConversationNotificationErrorInfo.md +22 -0
- data/docs/CobrowseConversationNotificationParticipants.md +42 -0
- data/docs/CobrowseConversationNotificationUriReference.md +14 -0
- data/docs/CobrowseConversationNotificationWrapup.md +18 -0
- data/docs/CobrowseMediaParticipant.md +42 -0
- data/docs/Cobrowsesession.md +25 -0
- data/docs/CommandStatus.md +20 -0
- data/docs/CommandStatusEntityListing.md +22 -0
- data/docs/Condition.md +19 -0
- data/docs/ConnectRate.md +15 -0
- data/docs/ConsultTransfer.md +14 -0
- data/docs/ConsultTransferResponse.md +13 -0
- data/docs/ConsultTransferUpdate.md +13 -0
- data/docs/ConsumedResourcesEntityListing.md +22 -0
- data/docs/ConsumingResourcesEntityListing.md +22 -0
- data/docs/Contact.md +16 -0
- data/docs/ContactAddress.md +18 -0
- data/docs/ContactCallbackRequest.md +17 -0
- data/docs/ContactList.md +25 -0
- data/docs/ContactListEntityListing.md +22 -0
- data/docs/ContactListNotification.md +25 -0
- data/docs/ContactListNotificationContactPhoneNumberColumn.md +16 -0
- data/docs/ContactListNotificationImportStatus.md +18 -0
- data/docs/ContactListNotificationPhoneColumns.md +16 -0
- data/docs/ContactListNotificationUriReference.md +14 -0
- data/docs/ContactListing.md +22 -0
- data/docs/ContactPhoneNumberColumn.md +15 -0
- data/docs/ContactSort.md +15 -0
- data/docs/ContentAttributeFilterItem.md +15 -0
- data/docs/ContentFacetFilterItem.md +16 -0
- data/docs/ContentFilterItem.md +16 -0
- data/docs/ContentManagementApi.md +2470 -0
- data/docs/ContentQueryRequest.md +20 -0
- data/docs/ContentSortItem.md +14 -0
- data/docs/Conversation.md +23 -0
- data/docs/ConversationAssociation.md +15 -0
- data/docs/ConversationBasic.md +18 -0
- data/docs/ConversationChat.md +24 -0
- data/docs/ConversationEntityListing.md +22 -0
- data/docs/ConversationNotification.md +17 -0
- data/docs/ConversationNotificationAddress.md +18 -0
- data/docs/ConversationNotificationCall.md +32 -0
- data/docs/ConversationNotificationCallback.md +30 -0
- data/docs/ConversationNotificationCallbacks.md +30 -0
- data/docs/ConversationNotificationCalls.md +32 -0
- data/docs/ConversationNotificationChat.md +22 -0
- data/docs/ConversationNotificationChats.md +22 -0
- data/docs/ConversationNotificationCobrowse.md +26 -0
- data/docs/ConversationNotificationCobrowsesessions.md +26 -0
- data/docs/ConversationNotificationDialerPreview.md +18 -0
- data/docs/ConversationNotificationDisconnectReason.md +15 -0
- data/docs/ConversationNotificationDisconnectReasons.md +15 -0
- data/docs/ConversationNotificationEmail.md +24 -0
- data/docs/ConversationNotificationEmails.md +24 -0
- data/docs/ConversationNotificationErrorDetails.md +20 -0
- data/docs/ConversationNotificationErrorInfo.md +20 -0
- data/docs/ConversationNotificationFaxStatus.md +20 -0
- data/docs/ConversationNotificationParticipant.md +40 -0
- data/docs/ConversationNotificationParticipants.md +40 -0
- data/docs/ConversationNotificationPhoneNumberColumn.md +15 -0
- data/docs/ConversationNotificationScreenshare.md +22 -0
- data/docs/ConversationNotificationScreenshares.md +22 -0
- data/docs/ConversationNotificationSelf.md +18 -0
- data/docs/ConversationNotificationSocialExpression.md +26 -0
- data/docs/ConversationNotificationSocialExpressions.md +26 -0
- data/docs/ConversationNotificationVideo.md +24 -0
- data/docs/ConversationNotificationVideos.md +24 -0
- data/docs/ConversationNotificationWrapup.md +18 -0
- data/docs/ConversationQuery.md +20 -0
- data/docs/ConversationsApi.md +4864 -0
- data/docs/CopyVoicemailMessage.md +15 -0
- data/docs/CoverSheet.md +14 -0
- data/docs/CreateCallRequest.md +21 -0
- data/docs/CreateCallResponse.md +15 -0
- data/docs/CreateCallbackCommand.md +20 -0
- data/docs/CreateCallbackResponse.md +14 -0
- data/docs/CreateEmailRequest.md +24 -0
- data/docs/CreateQueueRequest.md +35 -0
- data/docs/CreateShareRequest.md +17 -0
- data/docs/CreateShareRequestMember.md +14 -0
- data/docs/CreateShareResponse.md +23 -0
- data/docs/CreateUser.md +18 -0
- data/docs/CreateWebChatRequest.md +19 -0
- data/docs/CurrentUserScheduleRequestBody.md +14 -0
- data/docs/CustomerInteractionCenter.md +19 -0
- data/docs/DID.md +28 -0
- data/docs/DIDEntityListing.md +22 -0
- data/docs/DIDPool.md +28 -0
- data/docs/DIDPoolEntityListing.md +22 -0
- data/docs/DefaultGreetingList.md +22 -0
- data/docs/DeleteRetention.md +13 -0
- data/docs/Dependency.md +19 -0
- data/docs/DependencyObject.md +21 -0
- data/docs/DependencyObjectEntityListing.md +22 -0
- data/docs/DependencyStatus.md +21 -0
- data/docs/DependencyType.md +16 -0
- data/docs/DependencyTypeEntityListing.md +22 -0
- data/docs/Destination.md +16 -0
- data/docs/Detail.md +16 -0
- data/docs/DialerAction.md +16 -0
- data/docs/DialerAuditRequest.md +16 -0
- data/docs/DialerContact.md +20 -0
- data/docs/DialerPreview.md +17 -0
- data/docs/DialerRule.md +18 -0
- data/docs/DigitLength.md +14 -0
- data/docs/DisconnectReason.md +15 -0
- data/docs/DncList.md +24 -0
- data/docs/DncListCreate.md +24 -0
- data/docs/DncListEntityListing.md +22 -0
- data/docs/DncListNotification.md +24 -0
- data/docs/DncListNotificationImportStatus.md +18 -0
- data/docs/Document.md +43 -0
- data/docs/DocumentAttribute.md +14 -0
- data/docs/DocumentAudit.md +28 -0
- data/docs/DocumentAuditEntityListing.md +22 -0
- data/docs/DocumentDataV2Notification.md +26 -0
- data/docs/DocumentDataV2NotificationCreatedBy.md +14 -0
- data/docs/DocumentDataV2NotificationLockData.md +15 -0
- data/docs/DocumentDataV2NotificationLockInfo.md +15 -0
- data/docs/DocumentDataV2NotificationUserData.md +14 -0
- data/docs/DocumentDataV2NotificationWorkspace.md +13 -0
- data/docs/DocumentDataV2NotificationWorkspaceData.md +13 -0
- data/docs/DocumentEntityListing.md +22 -0
- data/docs/DocumentThumbnail.md +16 -0
- data/docs/DocumentUpdate.md +21 -0
- data/docs/DocumentUpload.md +16 -0
- data/docs/DocumentationResult.md +32 -0
- data/docs/DocumentationSearchCriteria.md +20 -0
- data/docs/DocumentationSearchRequest.md +17 -0
- data/docs/DocumentationSearchResponse.md +21 -0
- data/docs/DomainCapabilities.md +18 -0
- data/docs/DomainCertificateAuthority.md +28 -0
- data/docs/DomainEdgeSoftwareUpdateDto.md +22 -0
- data/docs/DomainEdgeSoftwareVersionDto.md +20 -0
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +22 -0
- data/docs/DomainEntity.md +15 -0
- data/docs/DomainEntityListing.md +22 -0
- data/docs/DomainEntityListingEvaluationForm.md +22 -0
- data/docs/DomainEntityListingQueryResult.md +22 -0
- data/docs/DomainLogicalInterface.md +45 -0
- data/docs/DomainNetworkAddress.md +16 -0
- data/docs/DomainNetworkCommandResponse.md +16 -0
- data/docs/DomainNetworkRoute.md +17 -0
- data/docs/DomainOrgRoleDifference.md +17 -0
- data/docs/DomainOrganizationProduct.md +13 -0
- data/docs/DomainOrganizationRole.md +23 -0
- data/docs/DomainOrganizationRoleCreate.md +23 -0
- data/docs/DomainOrganizationRoleUpdate.md +23 -0
- data/docs/DomainPermission.md +17 -0
- data/docs/DomainPermissionCollection.md +17 -0
- data/docs/DomainPermissionPolicy.md +20 -0
- data/docs/DomainPhysicalCapabilities.md +14 -0
- data/docs/DomainPhysicalInterface.md +29 -0
- data/docs/DomainResourceConditionNode.md +17 -0
- data/docs/DomainResourceConditionValue.md +16 -0
- data/docs/DomainRole.md +14 -0
- data/docs/DomainSchemaReference.md +24 -0
- data/docs/DownloadResponse.md +15 -0
- data/docs/DurationCondition.md +15 -0
- data/docs/Edge.md +50 -0
- data/docs/EdgeAutoUpdateConfig.md +16 -0
- data/docs/EdgeEntityListing.md +22 -0
- data/docs/EdgeGroup.md +27 -0
- data/docs/EdgeGroupEntityListing.md +22 -0
- data/docs/EdgeInterface.md +20 -0
- data/docs/EdgeLine.md +32 -0
- data/docs/EdgeLineEntityListing.md +22 -0
- data/docs/EdgeLogsJob.md +25 -0
- data/docs/EdgeLogsJobFile.md +30 -0
- data/docs/EdgeLogsJobRequest.md +15 -0
- data/docs/EdgeLogsJobResponse.md +24 -0
- data/docs/EdgeLogsJobUploadRequest.md +13 -0
- data/docs/EdgeRebootParameters.md +13 -0
- data/docs/EdgeServiceStateRequest.md +14 -0
- data/docs/EdgeTrunkBase.md +27 -0
- data/docs/EdgeVersionInformation.md +13 -0
- data/docs/EdgeVersionReport.md +14 -0
- data/docs/Email.md +26 -0
- data/docs/EmailAddress.md +14 -0
- data/docs/EmailAttachment.md +17 -0
- data/docs/EmailConversation.md +17 -0
- data/docs/EmailConversationEntityListing.md +22 -0
- data/docs/EmailConversationNotification.md +16 -0
- data/docs/EmailConversationNotificationDetail.md +16 -0
- data/docs/EmailConversationNotificationEmailMediaParticipant.md +39 -0
- data/docs/EmailConversationNotificationErrorBody.md +22 -0
- data/docs/EmailConversationNotificationErrorInfo.md +22 -0
- data/docs/EmailConversationNotificationParticipants.md +39 -0
- data/docs/EmailConversationNotificationUriReference.md +14 -0
- data/docs/EmailConversationNotificationWrapup.md +18 -0
- data/docs/EmailMediaParticipant.md +39 -0
- data/docs/EmailMediaPolicy.md +14 -0
- data/docs/EmailMediaPolicyConditions.md +17 -0
- data/docs/EmailMessage.md +24 -0
- data/docs/EmailMessageListing.md +22 -0
- data/docs/EmailSetup.md +13 -0
- data/docs/Empty.md +12 -0
- data/docs/EncryptionKey.md +18 -0
- data/docs/EncryptionKeyEntityListing.md +22 -0
- data/docs/Endpoint.md +30 -0
- data/docs/EndpointEntityListing.md +22 -0
- data/docs/Entry.md +14 -0
- data/docs/ErrorBody.md +22 -0
- data/docs/ErrorDetails.md +20 -0
- data/docs/EstimatedWaitTimePredictions.md +13 -0
- data/docs/Evaluation.md +32 -0
- data/docs/EvaluationAssignment.md +14 -0
- data/docs/EvaluationEntityListing.md +22 -0
- data/docs/EvaluationForm.md +21 -0
- data/docs/EvaluationFormAndScoringSet.md +14 -0
- data/docs/EvaluationFormEntityListing.md +22 -0
- data/docs/EvaluationScoringSet.md +18 -0
- data/docs/EvaluatorActivity.md +22 -0
- data/docs/EvaluatorActivityEntityListing.md +22 -0
- data/docs/ExpansionCriterium.md +14 -0
- data/docs/ExportUri.md +14 -0
- data/docs/ExportUriNotification.md +15 -0
- data/docs/Extension.md +28 -0
- data/docs/ExtensionEntityListing.md +22 -0
- data/docs/ExtensionPool.md +26 -0
- data/docs/ExtensionPoolEntityListing.md +22 -0
- data/docs/ExternalContact.md +32 -0
- data/docs/ExternalContactsApi.md +1886 -0
- data/docs/ExternalDataSource.md +14 -0
- data/docs/ExternalOrganization.md +30 -0
- data/docs/ExternalOrganizationListing.md +22 -0
- data/docs/FacetEntry.md +20 -0
- data/docs/FacetInfo.md +14 -0
- data/docs/FacetKeyAttribute.md +15 -0
- data/docs/FacetStatistics.md +19 -0
- data/docs/FacetTerm.md +18 -0
- data/docs/FailedObject.md +16 -0
- data/docs/FaxApi.md +371 -0
- data/docs/FaxDataV2Notification.md +29 -0
- data/docs/FaxDataV2NotificationLockData.md +15 -0
- data/docs/FaxDataV2NotificationLockInfo.md +15 -0
- data/docs/FaxDataV2NotificationUserData.md +14 -0
- data/docs/FaxDataV2NotificationWorkspaceData.md +13 -0
- data/docs/FaxDocument.md +30 -0
- data/docs/FaxDocumentEntityListing.md +22 -0
- data/docs/FaxSendRequest.md +21 -0
- data/docs/FaxSendResponse.md +17 -0
- data/docs/FaxStatus.md +20 -0
- data/docs/FaxSummary.md +15 -0
- data/docs/FeatureState.md +13 -0
- data/docs/FieldConfig.md +20 -0
- data/docs/FieldConfigs.md +16 -0
- data/docs/FieldList.md +21 -0
- data/docs/Flow.md +28 -0
- data/docs/FlowEntityListing.md +22 -0
- data/docs/FlowVersion.md +24 -0
- data/docs/FlowVersionEntityListing.md +22 -0
- data/docs/GSuite.md +20 -0
- data/docs/Geolocation.md +23 -0
- data/docs/GeolocationApi.md +255 -0
- data/docs/GeolocationNotification.md +17 -0
- data/docs/GeolocationSettings.md +17 -0
- data/docs/Greeting.md +24 -0
- data/docs/GreetingAudioFile.md +15 -0
- data/docs/GreetingListing.md +22 -0
- data/docs/GreetingMediaInfo.md +15 -0
- data/docs/GreetingOwner.md +15 -0
- data/docs/GreetingsApi.md +999 -0
- data/docs/Group.md +25 -0
- data/docs/GroupContact.md +16 -0
- data/docs/GroupEntityListing.md +22 -0
- data/docs/GroupMembersUpdate.md +14 -0
- data/docs/GroupSearchCriteria.md +20 -0
- data/docs/GroupSearchRequest.md +17 -0
- data/docs/GroupUpdate.md +22 -0
- data/docs/GroupsApi.md +700 -0
- data/docs/GroupsSearchResponse.md +21 -0
- data/docs/HeartBeatAlert.md +24 -0
- data/docs/HeartBeatAlertContainer.md +22 -0
- data/docs/HeartBeatAlertNotification.md +22 -0
- data/docs/HeartBeatAlertNotificationNotificationUser.md +14 -0
- data/docs/HeartBeatAlertNotificationNotificationUsers.md +14 -0
- data/docs/HeartBeatRule.md +22 -0
- data/docs/HeartBeatRuleContainer.md +22 -0
- data/docs/HeartBeatRuleNotification.md +21 -0
- data/docs/HeartBeatRuleNotificationNotificationUser.md +14 -0
- data/docs/IdentityNow.md +20 -0
- data/docs/IdentityProviderApi.md +1578 -0
- data/docs/ImportStatus.md +17 -0
- data/docs/ImportStatusNotification.md +18 -0
- data/docs/InboundDomain.md +17 -0
- data/docs/InboundDomainEntityListing.md +22 -0
- data/docs/InboundRoute.md +23 -0
- data/docs/InboundRouteEntityListing.md +22 -0
- data/docs/InitiateScreenRecording.md +15 -0
- data/docs/InteractionStatAlertNotification.md +28 -0
- data/docs/InteractionStatAlertNotificationNotificationUser.md +14 -0
- data/docs/InteractionStatRuleNotification.md +26 -0
- data/docs/InteractionStatRuleNotificationNotificationUser.md +14 -0
- data/docs/InteractionStatsAlert.md +29 -0
- data/docs/InteractionStatsAlertContainer.md +22 -0
- data/docs/InteractionStatsRule.md +26 -0
- data/docs/InteractionStatsRuleContainer.md +22 -0
- data/docs/IntradayDataUpdateNotification.md +19 -0
- data/docs/IntradayDataUpdateNotificationForecastDataPerInterval.md +15 -0
- data/docs/IntradayDataUpdateNotificationHistoricalAgentDataPerInterval.md +14 -0
- data/docs/IntradayDataUpdateNotificationHistoricalQueueDataPerInterval.md +20 -0
- data/docs/IntradayDataUpdateNotificationIntradayDataGroup.md +19 -0
- data/docs/IntradayDataUpdateNotificationIntradayDataGroupings.md +19 -0
- data/docs/IntradayDataUpdateNotificationIntradayForecastData.md +15 -0
- data/docs/IntradayDataUpdateNotificationIntradayHistoricalAgentData.md +14 -0
- data/docs/IntradayDataUpdateNotificationIntradayHistoricalQueueData.md +20 -0
- data/docs/IntradayDataUpdateNotificationIntradayMetric.md +14 -0
- data/docs/IntradayDataUpdateNotificationIntradayPerformancePredictionAgentData.md +13 -0
- data/docs/IntradayDataUpdateNotificationIntradayPerformancePredictionQueueData.md +15 -0
- data/docs/IntradayDataUpdateNotificationIntradayScheduleData.md +14 -0
- data/docs/IntradayDataUpdateNotificationMetrics.md +14 -0
- data/docs/IntradayDataUpdateNotificationPerformancePredictionAgentDataPerInterval.md +13 -0
- data/docs/IntradayDataUpdateNotificationPerformancePredictionQueueDataPerInterval.md +15 -0
- data/docs/IntradayDataUpdateNotificationScheduleDataPerInterval.md +14 -0
- data/docs/JsonNode.md +33 -0
- data/docs/JsonNodeSearchResponse.md +22 -0
- data/docs/JsonSchemaDocument.md +19 -0
- data/docs/KeyRotationSchedule.md +16 -0
- data/docs/Keyword.md +25 -0
- data/docs/KeywordSet.md +21 -0
- data/docs/KeywordSetEntityListing.md +22 -0
- data/docs/Language.md +18 -0
- data/docs/LanguageEntityListing.md +22 -0
- data/docs/LanguagesApi.md +611 -0
- data/docs/Library.md +18 -0
- data/docs/LibraryEntityListing.md +22 -0
- data/docs/LicenseApi.md +362 -0
- data/docs/LicenseAssignmentRequest.md +15 -0
- data/docs/LicenseBatchAssignmentRequest.md +13 -0
- data/docs/LicenseDefinition.md +17 -0
- data/docs/LicenseDefinitionListing.md +22 -0
- data/docs/LicenseOrganization.md +16 -0
- data/docs/LicenseUpdateResponse.md +13 -0
- data/docs/LicenseUpdateStatus.md +15 -0
- data/docs/LicenseUser.md +15 -0
- data/docs/Line.md +33 -0
- data/docs/LineBase.md +26 -0
- data/docs/LineBaseEntityListing.md +22 -0
- data/docs/LineEntityListing.md +22 -0
- data/docs/LineStatus.md +17 -0
- data/docs/LocalEncryptionConfiguration.md +18 -0
- data/docs/LocalEncryptionConfigurationListing.md +15 -0
- data/docs/LocalEncryptionKeyRequest.md +15 -0
- data/docs/Location.md +17 -0
- data/docs/LocationAddress.md +19 -0
- data/docs/LocationDefinition.md +21 -0
- data/docs/LocationEmergencyNumber.md +15 -0
- data/docs/LocationSearchCriteria.md +20 -0
- data/docs/LocationSearchRequest.md +17 -0
- data/docs/LocationsApi.md +261 -0
- data/docs/LocationsSearchResponse.md +21 -0
- data/docs/LockInfo.md +16 -0
- data/docs/LogicalInterfaceEntityListing.md +22 -0
- data/docs/ManagementUnit.md +18 -0
- data/docs/MaxParticipants.md +13 -0
- data/docs/MediaParticipantRequest.md +19 -0
- data/docs/MediaPolicies.md +15 -0
- data/docs/MediaResult.md +14 -0
- data/docs/MediaSetting.md +14 -0
- data/docs/MediaSummary.md +14 -0
- data/docs/MediaSummaryDetail.md +14 -0
- data/docs/MemberEntity.md +13 -0
- data/docs/MetaData.md +15 -0
- data/docs/Metabase.md +24 -0
- data/docs/MeteredEvaluationAssignment.md +18 -0
- data/docs/Note.md +20 -0
- data/docs/NoteListing.md +22 -0
- data/docs/NotificationsApi.md +426 -0
- data/docs/Number.md +14 -0
- data/docs/NumberPlan.md +31 -0
- data/docs/NumericRange.md +16 -0
- data/docs/OAuthApi.md +368 -0
- data/docs/OAuthClient.md +21 -0
- data/docs/OAuthClientEntityListing.md +22 -0
- data/docs/OAuthClientListing.md +20 -0
- data/docs/OAuthProvider.md +16 -0
- data/docs/OAuthProviderEntityListing.md +22 -0
- data/docs/ObservationDataContainer.md +14 -0
- data/docs/ObservationQuery.md +14 -0
- data/docs/ObservationQueryResponse.md +13 -0
- data/docs/Okta.md +19 -0
- data/docs/OneLogin.md +19 -0
- data/docs/Operation.md +21 -0
- data/docs/OrgMediaUtilization.md +15 -0
- data/docs/Organization.md +25 -0
- data/docs/OrganizationApi.md +250 -0
- data/docs/OrganizationFeatures.md +25 -0
- data/docs/OrganizationPresence.md +23 -0
- data/docs/OrganizationPresenceEntityListing.md +22 -0
- data/docs/OrganizationProductEntityListing.md +17 -0
- data/docs/OrganizationRoleEntityListing.md +22 -0
- data/docs/OrphanRecording.md +24 -0
- data/docs/OrphanRecordingListing.md +22 -0
- data/docs/OrphanUpdateRequest.md +15 -0
- data/docs/OutOfOffice.md +19 -0
- data/docs/OutOfOfficeNotification.md +17 -0
- data/docs/OutOfOfficeNotificationUser.md +13 -0
- data/docs/OutboundApi.md +4766 -0
- data/docs/OutboundRoute.md +30 -0
- data/docs/OutboundRouteBase.md +28 -0
- data/docs/OutboundRouteBaseEntityListing.md +22 -0
- data/docs/OutboundRouteEntityListing.md +22 -0
- data/docs/PINConfiguration.md +14 -0
- data/docs/Page.md +20 -0
- data/docs/PagingSpec.md +14 -0
- data/docs/Parameter.md +16 -0
- data/docs/ParsedCertificate.md +13 -0
- data/docs/Participant.md +48 -0
- data/docs/ParticipantAttributes.md +13 -0
- data/docs/ParticipantBasic.md +48 -0
- data/docs/PermissionCollectionEntityListing.md +22 -0
- data/docs/Permissions.md +15 -0
- data/docs/Phone.md +37 -0
- data/docs/PhoneBase.md +28 -0
- data/docs/PhoneBaseEntityListing.md +22 -0
- data/docs/PhoneCapabilities.md +18 -0
- data/docs/PhoneColumn.md +14 -0
- data/docs/PhoneEntityListing.md +22 -0
- data/docs/PhoneMetaBaseEntityListing.md +22 -0
- data/docs/PhoneNumber.md +18 -0
- data/docs/PhoneNumberColumn.md +14 -0
- data/docs/PhoneNumberStatus.md +13 -0
- data/docs/PhoneStatus.md +22 -0
- data/docs/PhonesReboot.md +14 -0
- data/docs/PhysicalInterfaceEntityListing.md +22 -0
- data/docs/PingIdentity.md +20 -0
- data/docs/Policy.md +24 -0
- data/docs/PolicyActions.md +20 -0
- data/docs/PolicyConditions.md +20 -0
- data/docs/PolicyCreate.md +24 -0
- data/docs/PolicyEntityListing.md +22 -0
- data/docs/PolicyErrorMessage.md +19 -0
- data/docs/PolicyErrors.md +13 -0
- data/docs/PredictionResults.md +15 -0
- data/docs/PresenceApi.md +508 -0
- data/docs/PresenceQueryResponse.md +14 -0
- data/docs/Prompt.md +18 -0
- data/docs/PromptAsset.md +24 -0
- data/docs/PromptAssetCreate.md +24 -0
- data/docs/PromptAssetEntityListing.md +22 -0
- data/docs/PromptEntityListing.md +22 -0
- data/docs/PropertyIndexRequest.md +15 -0
- data/docs/ProvisionInfo.md +15 -0
- data/docs/PureCloud.md +16 -0
- data/docs/QualifierMappingObservationQueryResponse.md +14 -0
- data/docs/QualityApi.md +2084 -0
- data/docs/QualityAudit.md +23 -0
- data/docs/QualityAuditPage.md +22 -0
- data/docs/QueryFacetInfo.md +14 -0
- data/docs/QueryRequest.md +20 -0
- data/docs/QueryResult.md +16 -0
- data/docs/QueryResults.md +14 -0
- data/docs/Question.md +24 -0
- data/docs/QuestionGroup.md +22 -0
- data/docs/QuestionGroupScore.md +23 -0
- data/docs/QuestionScore.md +18 -0
- data/docs/Queue.md +34 -0
- data/docs/QueueEmailAddress.md +14 -0
- data/docs/QueueEntityListing.md +22 -0
- data/docs/QueueMember.md +20 -0
- data/docs/QueueMemberEntityListing.md +22 -0
- data/docs/QueueMemberNotification.md +16 -0
- data/docs/QueueUtilizationDiagnostic.md +21 -0
- data/docs/Reaction.md +15 -0
- data/docs/RecallEntry.md +14 -0
- data/docs/Recording.md +34 -0
- data/docs/RecordingApi.md +2089 -0
- data/docs/RecordingDataV2Notification.md +29 -0
- data/docs/RecordingDataV2NotificationConversationData.md +13 -0
- data/docs/RecordingDataV2NotificationLockData.md +15 -0
- data/docs/RecordingDataV2NotificationLockInfo.md +15 -0
- data/docs/RecordingDataV2NotificationUserData.md +14 -0
- data/docs/RecordingDataV2NotificationWorkspaceData.md +13 -0
- data/docs/RecordingEmailMessage.md +22 -0
- data/docs/RecordingSettings.md +13 -0
- data/docs/Relationship.md +19 -0
- data/docs/RelationshipListing.md +22 -0
- data/docs/ReplaceRequest.md +15 -0
- data/docs/ReplaceResponse.md +18 -0
- data/docs/ReportMetaData.md +21 -0
- data/docs/ReportMetaDataEntityListing.md +22 -0
- data/docs/ReportRunEntry.md +23 -0
- data/docs/ReportRunEntryEntityDomainListing.md +22 -0
- data/docs/ReportSchedule.md +29 -0
- data/docs/ReportScheduleEntityListing.md +22 -0
- data/docs/ResourceConditionNode.md +17 -0
- data/docs/ResourceConditionValue.md +14 -0
- data/docs/ResourcePermissionPolicy.md +23 -0
- data/docs/Response.md +23 -0
- data/docs/ResponseEntityList.md +22 -0
- data/docs/ResponseEntityListing.md +22 -0
- data/docs/ResponseFilter.md +15 -0
- data/docs/ResponseManagementApi.md +699 -0
- data/docs/ResponseQueryRequest.md +15 -0
- data/docs/ResponseQueryResults.md +13 -0
- data/docs/ResponseSet.md +19 -0
- data/docs/ResponseSetEntityListing.md +22 -0
- data/docs/ResponseSetNotification.md +19 -0
- data/docs/ResponseSetNotificationReaction.md +16 -0
- data/docs/ResponseSetNotificationResponses.md +16 -0
- data/docs/ResponseSubstitution.md +15 -0
- data/docs/ResponseText.md +14 -0
- data/docs/RestErrorDetail.md +14 -0
- data/docs/RetentionDuration.md +14 -0
- data/docs/ReverseWhitepagesLookupResult.md +14 -0
- data/docs/Ring.md +14 -0
- data/docs/RoutingApi.md +2763 -0
- data/docs/RoutingData.md +17 -0
- data/docs/RoutingSkill.md +18 -0
- data/docs/RoutingStatus.md +15 -0
- data/docs/RoutingStatusAlert.md +23 -0
- data/docs/RoutingStatusAlertContainer.md +22 -0
- data/docs/RoutingStatusRule.md +22 -0
- data/docs/RoutingStatusRuleContainer.md +22 -0
- data/docs/RuleSet.md +21 -0
- data/docs/RuleSetDiagnostic.md +14 -0
- data/docs/RuleSetEntityListing.md +22 -0
- data/docs/RuleSetNotification.md +21 -0
- data/docs/RuleSetNotificationAction.md +17 -0
- data/docs/RuleSetNotificationActions.md +17 -0
- data/docs/RuleSetNotificationCondition.md +20 -0
- data/docs/RuleSetNotificationConditions.md +20 -0
- data/docs/RuleSetNotificationRule.md +19 -0
- data/docs/RuleSetNotificationRules.md +19 -0
- data/docs/RuleSetNotificationUriReference.md +14 -0
- data/docs/RunNowResponse.md +15 -0
- data/docs/Salesforce.md +19 -0
- data/docs/ScheduleInterval.md +14 -0
- data/docs/SchemaCategory.md +24 -0
- data/docs/SchemaCategoryEntityListing.md +22 -0
- data/docs/SchemaReferenceEntityListing.md +22 -0
- data/docs/ScreenRecordingSession.md +19 -0
- data/docs/ScreenRecordingSessionListing.md +22 -0
- data/docs/ScreenRecordingSessionRequest.md +15 -0
- data/docs/ScreenShareConversationNotification.md +16 -0
- data/docs/ScreenShareConversationNotificationDetail.md +16 -0
- data/docs/ScreenShareConversationNotificationErrorBody.md +22 -0
- data/docs/ScreenShareConversationNotificationErrorInfo.md +22 -0
- data/docs/ScreenShareConversationNotificationParticipants.md +40 -0
- data/docs/ScreenShareConversationNotificationScreenShareMediaParticipant.md +40 -0
- data/docs/ScreenShareConversationNotificationUriReference.md +14 -0
- data/docs/ScreenShareConversationNotificationWrapup.md +18 -0
- data/docs/Screenshare.md +22 -0
- data/docs/Script.md +26 -0
- data/docs/ScriptEntityListing.md +22 -0
- data/docs/ScriptsApi.md +592 -0
- data/docs/SearchAggregation.md +18 -0
- data/docs/SearchApi.md +888 -0
- data/docs/SearchCriteria.md +20 -0
- data/docs/SearchRequest.md +21 -0
- data/docs/Section.md +16 -0
- data/docs/SecurityProfile.md +16 -0
- data/docs/SecurityProfileEntityListing.md +22 -0
- data/docs/Segment.md +17 -0
- data/docs/SequenceSchedule.md +21 -0
- data/docs/SequenceScheduleNotification.md +21 -0
- data/docs/SequenceScheduleNotificationScheduleInterval.md +15 -0
- data/docs/SequenceScheduleNotificationUriReference.md +14 -0
- data/docs/ServerDate.md +13 -0
- data/docs/ServiceContext.md +13 -0
- data/docs/ServiceLevel.md +14 -0
- data/docs/Share.md +23 -0
- data/docs/ShareEntityListing.md +22 -0
- data/docs/SharedEntity.md +13 -0
- data/docs/SharedResponse.md +17 -0
- data/docs/Site.md +33 -0
- data/docs/SiteEntityListing.md +22 -0
- data/docs/SkillEntityListing.md +22 -0
- data/docs/SkillsToRemove.md +15 -0
- data/docs/SocialConversationNotification.md +16 -0
- data/docs/SocialConversationNotificationDetail.md +16 -0
- data/docs/SocialConversationNotificationErrorBody.md +22 -0
- data/docs/SocialConversationNotificationErrorInfo.md +22 -0
- data/docs/SocialConversationNotificationParticipants.md +41 -0
- data/docs/SocialConversationNotificationSocialMediaParticipant.md +41 -0
- data/docs/SocialConversationNotificationUriReference.md +14 -0
- data/docs/SocialConversationNotificationWrapup.md +18 -0
- data/docs/SocialExpression.md +26 -0
- data/docs/SortItem.md +14 -0
- data/docs/Station.md +22 -0
- data/docs/StationEntityListing.md +22 -0
- data/docs/StationsApi.md +203 -0
- data/docs/StatisticalResponse.md +15 -0
- data/docs/StatisticalSummary.md +21 -0
- data/docs/StreetAddress.md +20 -0
- data/docs/SubscriberResponse.md +14 -0
- data/docs/SuggestApi.md +272 -0
- data/docs/SuggestSearchCriteria.md +19 -0
- data/docs/SuggestSearchRequest.md +15 -0
- data/docs/SystemPresence.md +15 -0
- data/docs/SystemPrompt.md +17 -0
- data/docs/SystemPromptAsset.md +25 -0
- data/docs/SystemPromptAssetEntityListing.md +22 -0
- data/docs/SystemPromptEntityListing.md +22 -0
- data/docs/TagQueryRequest.md +15 -0
- data/docs/TagValue.md +17 -0
- data/docs/TagValueEntityListing.md +22 -0
- data/docs/TelephonyProvidersEdgeApi.md +7507 -0
- data/docs/TermAttribute.md +15 -0
- data/docs/Ticker.md +14 -0
- data/docs/TimeAllowed.md +15 -0
- data/docs/TimeInterval.md +14 -0
- data/docs/TimeOffRequest.md +30 -0
- data/docs/TimeOffRequestList.md +16 -0
- data/docs/TimeOffRequestPatch.md +13 -0
- data/docs/TimeOffRequestUpdateNotification.md +28 -0
- data/docs/TimeOffRequestUpdateNotificationUser.md +13 -0
- data/docs/TimeSlot.md +15 -0
- data/docs/TimeZone.md +16 -0
- data/docs/TimeZoneEntityListing.md +22 -0
- data/docs/TokensApi.md +66 -0
- data/docs/TransferRequest.md +17 -0
- data/docs/Trunk.md +31 -0
- data/docs/TrunkBase.md +28 -0
- data/docs/TrunkBaseAssignment.md +14 -0
- data/docs/TrunkBaseEntityListing.md +22 -0
- data/docs/TrunkEntityListing.md +22 -0
- data/docs/TrunkMetabaseEntityListing.md +22 -0
- data/docs/TrunkRecordingEnabledCount.md +14 -0
- data/docs/TwitterId.md +17 -0
- data/docs/UnreadMetric.md +13 -0
- data/docs/UnreadStatus.md +13 -0
- data/docs/UriReference.md +15 -0
- data/docs/Usage.md +13 -0
- data/docs/UsageItem.md +15 -0
- data/docs/User.md +36 -0
- data/docs/UserAgentInfo.md +15 -0
- data/docs/UserAuthorization.md +15 -0
- data/docs/UserConversationSummary.md +19 -0
- data/docs/UserConversationSummaryNotification.md +19 -0
- data/docs/UserConversationSummaryNotificationCall.md +14 -0
- data/docs/UserConversationSummaryNotificationCallContactCenter.md +14 -0
- data/docs/UserConversationSummaryNotificationMediaSummary.md +14 -0
- data/docs/UserConversationSummaryNotificationMediaSummaryDetail.md +14 -0
- data/docs/UserDetailsQuery.md +20 -0
- data/docs/UserEntityListing.md +22 -0
- data/docs/UserImage.md +14 -0
- data/docs/UserListScheduleRequestBody.md +15 -0
- data/docs/UserMe.md +48 -0
- data/docs/UserParam.md +14 -0
- data/docs/UserPresence.md +20 -0
- data/docs/UserPresenceAlert.md +25 -0
- data/docs/UserPresenceAlertContainer.md +22 -0
- data/docs/UserPresenceNotification.md +16 -0
- data/docs/UserPresenceNotificationOrganizationPresence.md +14 -0
- data/docs/UserPresenceNotificationPresenceDefinition.md +14 -0
- data/docs/UserPresenceRule.md +23 -0
- data/docs/UserPresenceRuleContainer.md +22 -0
- data/docs/UserQueue.md +35 -0
- data/docs/UserQueueEntityListing.md +22 -0
- data/docs/UserRecording.md +25 -0
- data/docs/UserRecordingEntityListing.md +22 -0
- data/docs/UserRecordingsApi.md +385 -0
- data/docs/UserRoutingSkill.md +18 -0
- data/docs/UserRoutingSkillPost.md +16 -0
- data/docs/UserRoutingStatusNotification.md +13 -0
- data/docs/UserRoutingStatusNotificationRoutingStatus.md +14 -0
- data/docs/UserSchedule.md +14 -0
- data/docs/UserScheduleActivity.md +18 -0
- data/docs/UserScheduleAdherence.md +26 -0
- data/docs/UserScheduleAdherenceUpdateNotification.md +22 -0
- data/docs/UserScheduleAdherenceUpdateNotificationUser.md +13 -0
- data/docs/UserScheduleContainer.md +14 -0
- data/docs/UserScheduleFullDayTimeOffMarker.md +17 -0
- data/docs/UserScheduleShift.md +15 -0
- data/docs/UserSearchCriteria.md +20 -0
- data/docs/UserSearchRequest.md +18 -0
- data/docs/UserSkillEntityListing.md +22 -0
- data/docs/UserStation.md +19 -0
- data/docs/UserStations.md +16 -0
- data/docs/UserStationsNotification.md +13 -0
- data/docs/UserStationsNotificationAssociatedStation.md +15 -0
- data/docs/UserStationsNotificationUser.md +13 -0
- data/docs/UserStationsNotificationUserStation.md +15 -0
- data/docs/UsersApi.md +2641 -0
- data/docs/UsersSearchResponse.md +21 -0
- data/docs/UtilitiesApi.md +189 -0
- data/docs/Utilization.md +13 -0
- data/docs/ValidateAddressRequest.md +13 -0
- data/docs/ValidateAddressResponse.md +14 -0
- data/docs/Video.md +23 -0
- data/docs/VideoConversationNotification.md +16 -0
- data/docs/VideoConversationNotificationDetail.md +16 -0
- data/docs/VideoConversationNotificationErrorBody.md +22 -0
- data/docs/VideoConversationNotificationErrorInfo.md +22 -0
- data/docs/VideoConversationNotificationParticipants.md +42 -0
- data/docs/VideoConversationNotificationUriReference.md +14 -0
- data/docs/VideoConversationNotificationVideoMediaParticipant.md +42 -0
- data/docs/VideoConversationNotificationWrapup.md +18 -0
- data/docs/VisibilityCondition.md +14 -0
- data/docs/VmPairingInfo.md +16 -0
- data/docs/VoicemailApi.md +1336 -0
- data/docs/VoicemailCopyRecord.md +15 -0
- data/docs/VoicemailGroupPolicy.md +18 -0
- data/docs/VoicemailMailboxInfo.md +18 -0
- data/docs/VoicemailMediaInfo.md +15 -0
- data/docs/VoicemailMessage.md +29 -0
- data/docs/VoicemailMessageEntityListing.md +22 -0
- data/docs/VoicemailMessageNotification.md +24 -0
- data/docs/VoicemailOrganizationPolicy.md +19 -0
- data/docs/VoicemailSearchCriteria.md +20 -0
- data/docs/VoicemailSearchRequest.md +18 -0
- data/docs/VoicemailUserPolicy.md +16 -0
- data/docs/VoicemailsSearchResponse.md +21 -0
- data/docs/WfmUserEntityListing.md +13 -0
- data/docs/WorkforceManagementApi.md +699 -0
- data/docs/Workspace.md +24 -0
- data/docs/WorkspaceCreate.md +15 -0
- data/docs/WorkspaceEntityListing.md +22 -0
- data/docs/WorkspaceMember.md +21 -0
- data/docs/WorkspaceMemberEntityListing.md +22 -0
- data/docs/WorkspaceSummary.md +14 -0
- data/docs/WrapUpCodeMapping.md +20 -0
- data/docs/WrapUpCodeMappingNotification.md +19 -0
- data/docs/Wrapup.md +19 -0
- data/docs/WrapupCode.md +19 -0
- data/docs/WrapupCodeEntityListing.md +22 -0
- data/git_push.sh +52 -0
- data/lib/purecloudplatformclientv2.rb +949 -0
- data/lib/purecloudplatformclientv2/api/alerting_api.rb +2016 -0
- data/lib/purecloudplatformclientv2/api/analytics_api.rb +1301 -0
- data/lib/purecloudplatformclientv2/api/architect_api.rb +2860 -0
- data/lib/purecloudplatformclientv2/api/attributes_api.rb +374 -0
- data/lib/purecloudplatformclientv2/api/authorization_api.rb +1043 -0
- data/lib/purecloudplatformclientv2/api/content_management_api.rb +2416 -0
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +4725 -0
- data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +1810 -0
- data/lib/purecloudplatformclientv2/api/fax_api.rb +370 -0
- data/lib/purecloudplatformclientv2/api/geolocation_api.rb +263 -0
- data/lib/purecloudplatformclientv2/api/greetings_api.rb +974 -0
- data/lib/purecloudplatformclientv2/api/groups_api.rb +696 -0
- data/lib/purecloudplatformclientv2/api/identity_provider_api.rb +1547 -0
- data/lib/purecloudplatformclientv2/api/languages_api.rb +604 -0
- data/lib/purecloudplatformclientv2/api/license_api.rb +357 -0
- data/lib/purecloudplatformclientv2/api/locations_api.rb +267 -0
- data/lib/purecloudplatformclientv2/api/notifications_api.rb +424 -0
- data/lib/purecloudplatformclientv2/api/o_auth_api.rb +368 -0
- data/lib/purecloudplatformclientv2/api/organization_api.rb +262 -0
- data/lib/purecloudplatformclientv2/api/outbound_api.rb +4670 -0
- data/lib/purecloudplatformclientv2/api/presence_api.rb +505 -0
- data/lib/purecloudplatformclientv2/api/quality_api.rb +2069 -0
- data/lib/purecloudplatformclientv2/api/recording_api.rb +2042 -0
- data/lib/purecloudplatformclientv2/api/response_management_api.rb +693 -0
- data/lib/purecloudplatformclientv2/api/routing_api.rb +2690 -0
- data/lib/purecloudplatformclientv2/api/scripts_api.rb +597 -0
- data/lib/purecloudplatformclientv2/api/search_api.rb +862 -0
- data/lib/purecloudplatformclientv2/api/stations_api.rb +212 -0
- data/lib/purecloudplatformclientv2/api/suggest_api.rb +275 -0
- data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +7258 -0
- data/lib/purecloudplatformclientv2/api/tokens_api.rb +80 -0
- data/lib/purecloudplatformclientv2/api/user_recordings_api.rb +385 -0
- data/lib/purecloudplatformclientv2/api/users_api.rb +2557 -0
- data/lib/purecloudplatformclientv2/api/utilities_api.rb +196 -0
- data/lib/purecloudplatformclientv2/api/voicemail_api.rb +1294 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +675 -0
- data/lib/purecloudplatformclientv2/api_client.rb +336 -0
- data/lib/purecloudplatformclientv2/api_error.rb +40 -0
- data/lib/purecloudplatformclientv2/configuration.rb +170 -0
- data/lib/purecloudplatformclientv2/models/actions.rb +180 -0
- data/lib/purecloudplatformclientv2/models/activity_code.rb +264 -0
- data/lib/purecloudplatformclientv2/models/activity_code_container.rb +182 -0
- data/lib/purecloudplatformclientv2/models/acw_settings.rb +203 -0
- data/lib/purecloudplatformclientv2/models/address.rb +219 -0
- data/lib/purecloudplatformclientv2/models/addressable_entity_user.rb +189 -0
- data/lib/purecloudplatformclientv2/models/addressable_license_definition.rb +189 -0
- data/lib/purecloudplatformclientv2/models/adfs.rb +243 -0
- data/lib/purecloudplatformclientv2/models/adjacents.rb +202 -0
- data/lib/purecloudplatformclientv2/models/agent.rb +179 -0
- data/lib/purecloudplatformclientv2/models/agent_activity.rb +236 -0
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/agent_evaluator_activity.rb +234 -0
- data/lib/purecloudplatformclientv2/models/aggregate_data_container.rb +192 -0
- data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +210 -0
- data/lib/purecloudplatformclientv2/models/aggregate_query_response.rb +180 -0
- data/lib/purecloudplatformclientv2/models/aggregate_view_data.rb +187 -0
- data/lib/purecloudplatformclientv2/models/aggregation_query.rb +255 -0
- data/lib/purecloudplatformclientv2/models/aggregation_range.rb +189 -0
- data/lib/purecloudplatformclientv2/models/aggregation_result.rb +232 -0
- data/lib/purecloudplatformclientv2/models/aggregation_result_entry.rb +208 -0
- data/lib/purecloudplatformclientv2/models/analytics_conversation.rb +220 -0
- data/lib/purecloudplatformclientv2/models/analytics_conversation_query_response.rb +191 -0
- data/lib/purecloudplatformclientv2/models/analytics_conversation_segment.rb +427 -0
- data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +259 -0
- data/lib/purecloudplatformclientv2/models/analytics_participant.rb +248 -0
- data/lib/purecloudplatformclientv2/models/analytics_property.rb +225 -0
- data/lib/purecloudplatformclientv2/models/analytics_query_aggregation.rb +235 -0
- data/lib/purecloudplatformclientv2/models/analytics_query_clause.rb +213 -0
- data/lib/purecloudplatformclientv2/models/analytics_query_filter.rb +221 -0
- data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +319 -0
- data/lib/purecloudplatformclientv2/models/analytics_routing_status_record.rb +223 -0
- data/lib/purecloudplatformclientv2/models/analytics_session.rb +490 -0
- data/lib/purecloudplatformclientv2/models/analytics_user_detail.rb +203 -0
- data/lib/purecloudplatformclientv2/models/analytics_user_details_query_response.rb +191 -0
- data/lib/purecloudplatformclientv2/models/analytics_user_presence_record.rb +233 -0
- data/lib/purecloudplatformclientv2/models/analytics_view.rb +235 -0
- data/lib/purecloudplatformclientv2/models/annotation.rb +355 -0
- data/lib/purecloudplatformclientv2/models/answer_option.rb +196 -0
- data/lib/purecloudplatformclientv2/models/archive_retention.rb +201 -0
- data/lib/purecloudplatformclientv2/models/attachment.rb +214 -0
- data/lib/purecloudplatformclientv2/models/attempt_limits.rb +280 -0
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/attempt_limits_notification.rb +293 -0
- data/lib/purecloudplatformclientv2/models/attempt_limits_notification_recall_entries.rb +196 -0
- data/lib/purecloudplatformclientv2/models/attempt_limits_notification_recall_entry.rb +196 -0
- data/lib/purecloudplatformclientv2/models/attribute.rb +259 -0
- data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/attribute_filter_item.rb +212 -0
- data/lib/purecloudplatformclientv2/models/attribute_query_request.rb +200 -0
- data/lib/purecloudplatformclientv2/models/audit_change.rb +209 -0
- data/lib/purecloudplatformclientv2/models/audit_entity.rb +213 -0
- data/lib/purecloudplatformclientv2/models/audit_entity_reference.rb +228 -0
- data/lib/purecloudplatformclientv2/models/audit_facet.rb +197 -0
- data/lib/purecloudplatformclientv2/models/audit_filter.rb +227 -0
- data/lib/purecloudplatformclientv2/models/audit_message.rb +349 -0
- data/lib/purecloudplatformclientv2/models/audit_search_result.rb +231 -0
- data/lib/purecloudplatformclientv2/models/audit_user.rb +203 -0
- data/lib/purecloudplatformclientv2/models/available_language_list.rb +180 -0
- data/lib/purecloudplatformclientv2/models/available_topic.rb +210 -0
- data/lib/purecloudplatformclientv2/models/available_topic_entity_listing.rb +180 -0
- data/lib/purecloudplatformclientv2/models/available_translations.rb +191 -0
- data/lib/purecloudplatformclientv2/models/bullseye.rb +180 -0
- data/lib/purecloudplatformclientv2/models/calibration.rb +320 -0
- data/lib/purecloudplatformclientv2/models/calibration_assignment.rb +207 -0
- data/lib/purecloudplatformclientv2/models/calibration_create.rb +325 -0
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/call.rb +418 -0
- data/lib/purecloudplatformclientv2/models/call_basic.rb +418 -0
- data/lib/purecloudplatformclientv2/models/call_command.rb +183 -0
- data/lib/purecloudplatformclientv2/models/call_conversation.rb +245 -0
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/call_conversation_notification.rb +232 -0
- data/lib/purecloudplatformclientv2/models/call_conversation_notification_call_media_participant.rb +551 -0
- data/lib/purecloudplatformclientv2/models/call_conversation_notification_detail.rb +205 -0
- data/lib/purecloudplatformclientv2/models/call_conversation_notification_error_body.rb +265 -0
- data/lib/purecloudplatformclientv2/models/call_conversation_notification_error_info.rb +265 -0
- data/lib/purecloudplatformclientv2/models/call_conversation_notification_fax_status.rb +241 -0
- data/lib/purecloudplatformclientv2/models/call_conversation_notification_participants.rb +551 -0
- data/lib/purecloudplatformclientv2/models/call_conversation_notification_uri_reference.rb +187 -0
- data/lib/purecloudplatformclientv2/models/call_conversation_notification_wrapup.rb +225 -0
- data/lib/purecloudplatformclientv2/models/call_forwarding.rb +235 -0
- data/lib/purecloudplatformclientv2/models/call_media_participant.rb +587 -0
- data/lib/purecloudplatformclientv2/models/call_media_policy.rb +189 -0
- data/lib/purecloudplatformclientv2/models/call_media_policy_conditions.rb +242 -0
- data/lib/purecloudplatformclientv2/models/call_record.rb +189 -0
- data/lib/purecloudplatformclientv2/models/callable_contacts_diagnostic.rb +213 -0
- data/lib/purecloudplatformclientv2/models/callable_time.rb +195 -0
- data/lib/purecloudplatformclientv2/models/callable_time_set.rb +244 -0
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/callable_time_set_notification.rb +234 -0
- data/lib/purecloudplatformclientv2/models/callable_time_set_notification_callable_time.rb +198 -0
- data/lib/purecloudplatformclientv2/models/callable_time_set_notification_callable_times.rb +198 -0
- data/lib/purecloudplatformclientv2/models/callable_time_set_notification_time_slot.rb +205 -0
- data/lib/purecloudplatformclientv2/models/callable_time_set_notification_time_slots.rb +205 -0
- data/lib/purecloudplatformclientv2/models/callback.rb +395 -0
- data/lib/purecloudplatformclientv2/models/callback_basic.rb +395 -0
- data/lib/purecloudplatformclientv2/models/callback_conversation.rb +222 -0
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification.rb +209 -0
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_callback_media_participant.rb +503 -0
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_detail.rb +205 -0
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_dialer_preview.rb +225 -0
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_error_body.rb +265 -0
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_error_info.rb +265 -0
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_error_info_details.rb +205 -0
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_participants.rb +503 -0
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_phone_number_column.rb +196 -0
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_uri_reference.rb +187 -0
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_wrapup.rb +225 -0
- data/lib/purecloudplatformclientv2/models/callback_identifier.rb +211 -0
- data/lib/purecloudplatformclientv2/models/callback_media_participant.rb +535 -0
- data/lib/purecloudplatformclientv2/models/campaign.rb +514 -0
- data/lib/purecloudplatformclientv2/models/campaign_diagnostics.rb +211 -0
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/campaign_interaction.rb +384 -0
- data/lib/purecloudplatformclientv2/models/campaign_interactions.rb +233 -0
- data/lib/purecloudplatformclientv2/models/campaign_notification.rb +488 -0
- data/lib/purecloudplatformclientv2/models/campaign_notification_contact_sort.rb +219 -0
- data/lib/purecloudplatformclientv2/models/campaign_notification_errors.rb +196 -0
- data/lib/purecloudplatformclientv2/models/campaign_notification_phone_column.rb +196 -0
- data/lib/purecloudplatformclientv2/models/campaign_notification_phone_columns.rb +196 -0
- data/lib/purecloudplatformclientv2/models/campaign_notification_rest_error_detail.rb +196 -0
- data/lib/purecloudplatformclientv2/models/campaign_notification_uri_reference.rb +187 -0
- data/lib/purecloudplatformclientv2/models/campaign_progress.rb +227 -0
- data/lib/purecloudplatformclientv2/models/campaign_progress_notification.rb +214 -0
- data/lib/purecloudplatformclientv2/models/campaign_progress_notification_uri_reference.rb +187 -0
- data/lib/purecloudplatformclientv2/models/campaign_rule.rb +292 -0
- data/lib/purecloudplatformclientv2/models/campaign_rule_action.rb +219 -0
- data/lib/purecloudplatformclientv2/models/campaign_rule_action_entities.rb +200 -0
- data/lib/purecloudplatformclientv2/models/campaign_rule_condition.rb +210 -0
- data/lib/purecloudplatformclientv2/models/campaign_rule_entities.rb +191 -0
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/campaign_rule_notification.rb +272 -0
- data/lib/purecloudplatformclientv2/models/campaign_rule_notification_campaign_rule_action.rb +230 -0
- data/lib/purecloudplatformclientv2/models/campaign_rule_notification_campaign_rule_action_entities.rb +209 -0
- data/lib/purecloudplatformclientv2/models/campaign_rule_notification_campaign_rule_actions.rb +230 -0
- data/lib/purecloudplatformclientv2/models/campaign_rule_notification_campaign_rule_condition.rb +221 -0
- data/lib/purecloudplatformclientv2/models/campaign_rule_notification_campaign_rule_conditions.rb +221 -0
- data/lib/purecloudplatformclientv2/models/campaign_rule_notification_campaign_rule_entities.rb +191 -0
- data/lib/purecloudplatformclientv2/models/campaign_rule_notification_uri_reference.rb +187 -0
- data/lib/purecloudplatformclientv2/models/campaign_rule_parameters.rb +251 -0
- data/lib/purecloudplatformclientv2/models/campaign_schedule.rb +272 -0
- data/lib/purecloudplatformclientv2/models/campaign_schedule_notification.rb +252 -0
- data/lib/purecloudplatformclientv2/models/campaign_schedule_notification_intervals.rb +196 -0
- data/lib/purecloudplatformclientv2/models/campaign_schedule_notification_schedule_interval.rb +196 -0
- data/lib/purecloudplatformclientv2/models/campaign_schedule_notification_uri_reference.rb +187 -0
- data/lib/purecloudplatformclientv2/models/campaign_sequence.rb +306 -0
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/campaign_sequence_notification.rb +284 -0
- data/lib/purecloudplatformclientv2/models/campaign_sequence_notification_uri_reference.rb +187 -0
- data/lib/purecloudplatformclientv2/models/campaign_stats.rb +229 -0
- data/lib/purecloudplatformclientv2/models/campaign_time_slot.rb +203 -0
- data/lib/purecloudplatformclientv2/models/certificate.rb +184 -0
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/certificate_details.rb +238 -0
- data/lib/purecloudplatformclientv2/models/change.rb +212 -0
- data/lib/purecloudplatformclientv2/models/channel.rb +188 -0
- data/lib/purecloudplatformclientv2/models/channel_entity_listing.rb +180 -0
- data/lib/purecloudplatformclientv2/models/channel_topic.rb +189 -0
- data/lib/purecloudplatformclientv2/models/channel_topic_entity_listing.rb +180 -0
- data/lib/purecloudplatformclientv2/models/chat.rb +178 -0
- data/lib/purecloudplatformclientv2/models/chat_conversation.rb +222 -0
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/chat_conversation_notification.rb +209 -0
- data/lib/purecloudplatformclientv2/models/chat_conversation_notification_chat_media_participant.rb +447 -0
- data/lib/purecloudplatformclientv2/models/chat_conversation_notification_detail.rb +205 -0
- data/lib/purecloudplatformclientv2/models/chat_conversation_notification_error_body.rb +265 -0
- data/lib/purecloudplatformclientv2/models/chat_conversation_notification_error_info.rb +265 -0
- data/lib/purecloudplatformclientv2/models/chat_conversation_notification_participants.rb +447 -0
- data/lib/purecloudplatformclientv2/models/chat_conversation_notification_uri_reference.rb +187 -0
- data/lib/purecloudplatformclientv2/models/chat_conversation_notification_wrapup.rb +225 -0
- data/lib/purecloudplatformclientv2/models/chat_media_participant.rb +473 -0
- data/lib/purecloudplatformclientv2/models/chat_media_policy.rb +189 -0
- data/lib/purecloudplatformclientv2/models/chat_media_policy_conditions.rb +231 -0
- data/lib/purecloudplatformclientv2/models/chat_message.rb +250 -0
- data/lib/purecloudplatformclientv2/models/chat_message_user.rb +216 -0
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation.rb +222 -0
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification.rb +209 -0
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_cobrowse_media_participant.rb +485 -0
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_detail.rb +205 -0
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_error_body.rb +265 -0
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_error_info.rb +265 -0
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_participants.rb +485 -0
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_uri_reference.rb +187 -0
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_wrapup.rb +225 -0
- data/lib/purecloudplatformclientv2/models/cobrowse_media_participant.rb +515 -0
- data/lib/purecloudplatformclientv2/models/cobrowsesession.rb +331 -0
- data/lib/purecloudplatformclientv2/models/command_status.rb +272 -0
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/condition.rb +283 -0
- data/lib/purecloudplatformclientv2/models/connect_rate.rb +199 -0
- data/lib/purecloudplatformclientv2/models/consult_transfer.rb +207 -0
- data/lib/purecloudplatformclientv2/models/consult_transfer_response.rb +183 -0
- data/lib/purecloudplatformclientv2/models/consult_transfer_update.rb +197 -0
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/contact.rb +235 -0
- data/lib/purecloudplatformclientv2/models/contact_address.rb +223 -0
- data/lib/purecloudplatformclientv2/models/contact_callback_request.rb +239 -0
- data/lib/purecloudplatformclientv2/models/contact_list.rb +312 -0
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/contact_list_notification.rb +292 -0
- data/lib/purecloudplatformclientv2/models/contact_list_notification_contact_phone_number_column.rb +205 -0
- data/lib/purecloudplatformclientv2/models/contact_list_notification_import_status.rb +237 -0
- data/lib/purecloudplatformclientv2/models/contact_list_notification_phone_columns.rb +205 -0
- data/lib/purecloudplatformclientv2/models/contact_list_notification_uri_reference.rb +187 -0
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/contact_phone_number_column.rb +207 -0
- data/lib/purecloudplatformclientv2/models/contact_sort.rb +212 -0
- data/lib/purecloudplatformclientv2/models/content_attribute_filter_item.rb +212 -0
- data/lib/purecloudplatformclientv2/models/content_facet_filter_item.rb +235 -0
- data/lib/purecloudplatformclientv2/models/content_filter_item.rb +235 -0
- data/lib/purecloudplatformclientv2/models/content_query_request.rb +249 -0
- data/lib/purecloudplatformclientv2/models/content_sort_item.rb +187 -0
- data/lib/purecloudplatformclientv2/models/conversation.rb +318 -0
- data/lib/purecloudplatformclientv2/models/conversation_association.rb +225 -0
- data/lib/purecloudplatformclientv2/models/conversation_basic.rb +233 -0
- data/lib/purecloudplatformclientv2/models/conversation_chat.rb +333 -0
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification.rb +216 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_address.rb +223 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_call.rb +407 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_callback.rb +375 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_callbacks.rb +375 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_calls.rb +407 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_chat.rb +287 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_chats.rb +287 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_cobrowse.rb +325 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_cobrowsesessions.rb +325 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_dialer_preview.rb +225 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_disconnect_reason.rb +210 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_disconnect_reasons.rb +210 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_email.rb +305 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_emails.rb +305 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_error_details.rb +243 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_error_info.rb +243 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_fax_status.rb +241 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_participant.rb +439 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_participants.rb +439 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_phone_number_column.rb +196 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_screenshare.rb +287 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_screenshares.rb +287 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_self.rb +223 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_social_expression.rb +323 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_social_expressions.rb +323 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_video.rb +305 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_videos.rb +305 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_wrapup.rb +225 -0
- data/lib/purecloudplatformclientv2/models/conversation_query.rb +285 -0
- data/lib/purecloudplatformclientv2/models/copy_voicemail_message.rb +204 -0
- data/lib/purecloudplatformclientv2/models/cover_sheet.rb +189 -0
- data/lib/purecloudplatformclientv2/models/create_call_request.rb +265 -0
- data/lib/purecloudplatformclientv2/models/create_call_response.rb +198 -0
- data/lib/purecloudplatformclientv2/models/create_callback_command.rb +257 -0
- data/lib/purecloudplatformclientv2/models/create_callback_response.rb +199 -0
- data/lib/purecloudplatformclientv2/models/create_email_request.rb +315 -0
- data/lib/purecloudplatformclientv2/models/create_queue_request.rb +433 -0
- data/lib/purecloudplatformclientv2/models/create_share_request.rb +255 -0
- data/lib/purecloudplatformclientv2/models/create_share_request_member.rb +201 -0
- data/lib/purecloudplatformclientv2/models/create_share_response.rb +302 -0
- data/lib/purecloudplatformclientv2/models/create_user.rb +241 -0
- data/lib/purecloudplatformclientv2/models/create_web_chat_request.rb +251 -0
- data/lib/purecloudplatformclientv2/models/current_user_schedule_request_body.rb +198 -0
- data/lib/purecloudplatformclientv2/models/customer_interaction_center.rb +234 -0
- data/lib/purecloudplatformclientv2/models/default_greeting_list.rb +279 -0
- data/lib/purecloudplatformclientv2/models/delete_retention.rb +178 -0
- data/lib/purecloudplatformclientv2/models/dependency.rb +248 -0
- data/lib/purecloudplatformclientv2/models/dependency_object.rb +270 -0
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/dependency_status.rb +270 -0
- data/lib/purecloudplatformclientv2/models/dependency_type.rb +207 -0
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/destination.rb +210 -0
- data/lib/purecloudplatformclientv2/models/detail.rb +205 -0
- data/lib/purecloudplatformclientv2/models/dialer_action.rb +261 -0
- data/lib/purecloudplatformclientv2/models/dialer_audit_request.rb +215 -0
- data/lib/purecloudplatformclientv2/models/dialer_contact.rb +258 -0
- data/lib/purecloudplatformclientv2/models/dialer_preview.rb +220 -0
- data/lib/purecloudplatformclientv2/models/dialer_rule.rb +259 -0
- data/lib/purecloudplatformclientv2/models/did.rb +351 -0
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/did_pool.rb +361 -0
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/digit_length.rb +187 -0
- data/lib/purecloudplatformclientv2/models/disconnect_reason.rb +213 -0
- data/lib/purecloudplatformclientv2/models/dnc_list.rb +309 -0
- data/lib/purecloudplatformclientv2/models/dnc_list_create.rb +309 -0
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/dnc_list_notification.rb +293 -0
- data/lib/purecloudplatformclientv2/models/dnc_list_notification_import_status.rb +237 -0
- data/lib/purecloudplatformclientv2/models/document.rb +506 -0
- data/lib/purecloudplatformclientv2/models/document_attribute.rb +189 -0
- data/lib/purecloudplatformclientv2/models/document_audit.rb +374 -0
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/document_data_v2_notification.rb +295 -0
- data/lib/purecloudplatformclientv2/models/document_data_v2_notification_created_by.rb +187 -0
- data/lib/purecloudplatformclientv2/models/document_data_v2_notification_lock_data.rb +196 -0
- data/lib/purecloudplatformclientv2/models/document_data_v2_notification_lock_info.rb +196 -0
- data/lib/purecloudplatformclientv2/models/document_data_v2_notification_user_data.rb +187 -0
- data/lib/purecloudplatformclientv2/models/document_data_v2_notification_workspace.rb +178 -0
- data/lib/purecloudplatformclientv2/models/document_data_v2_notification_workspace_data.rb +178 -0
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/document_thumbnail.rb +205 -0
- data/lib/purecloudplatformclientv2/models/document_update.rb +267 -0
- data/lib/purecloudplatformclientv2/models/document_upload.rb +219 -0
- data/lib/purecloudplatformclientv2/models/documentation_result.rb +393 -0
- data/lib/purecloudplatformclientv2/models/documentation_search_criteria.rb +287 -0
- data/lib/purecloudplatformclientv2/models/documentation_search_request.rb +234 -0
- data/lib/purecloudplatformclientv2/models/documentation_search_response.rb +287 -0
- data/lib/purecloudplatformclientv2/models/domain_capabilities.rb +229 -0
- data/lib/purecloudplatformclientv2/models/domain_certificate_authority.rb +371 -0
- data/lib/purecloudplatformclientv2/models/domain_edge_software_update_dto.rb +281 -0
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto.rb +244 -0
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/domain_entity.rb +198 -0
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +261 -0
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +261 -0
- data/lib/purecloudplatformclientv2/models/domain_logical_interface.rb +552 -0
- data/lib/purecloudplatformclientv2/models/domain_network_address.rb +237 -0
- data/lib/purecloudplatformclientv2/models/domain_network_command_response.rb +205 -0
- data/lib/purecloudplatformclientv2/models/domain_network_route.rb +233 -0
- data/lib/purecloudplatformclientv2/models/domain_org_role_difference.rb +220 -0
- data/lib/purecloudplatformclientv2/models/domain_organization_product.rb +178 -0
- data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +275 -0
- data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +280 -0
- data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +280 -0
- data/lib/purecloudplatformclientv2/models/domain_permission.rb +214 -0
- data/lib/purecloudplatformclientv2/models/domain_permission_collection.rb +218 -0
- data/lib/purecloudplatformclientv2/models/domain_permission_policy.rb +245 -0
- data/lib/purecloudplatformclientv2/models/domain_physical_capabilities.rb +187 -0
- data/lib/purecloudplatformclientv2/models/domain_physical_interface.rb +345 -0
- data/lib/purecloudplatformclientv2/models/domain_resource_condition_node.rb +246 -0
- data/lib/purecloudplatformclientv2/models/domain_resource_condition_value.rb +219 -0
- data/lib/purecloudplatformclientv2/models/domain_role.rb +189 -0
- data/lib/purecloudplatformclientv2/models/domain_schema_reference.rb +300 -0
- data/lib/purecloudplatformclientv2/models/download_response.rb +198 -0
- data/lib/purecloudplatformclientv2/models/duration_condition.rb +210 -0
- data/lib/purecloudplatformclientv2/models/edge.rb +594 -0
- data/lib/purecloudplatformclientv2/models/edge_auto_update_config.rb +207 -0
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/edge_group.rb +340 -0
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/edge_interface.rb +245 -0
- data/lib/purecloudplatformclientv2/models/edge_line.rb +388 -0
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/edge_logs_job.rb +312 -0
- data/lib/purecloudplatformclientv2/models/edge_logs_job_file.rb +374 -0
- data/lib/purecloudplatformclientv2/models/edge_logs_job_request.rb +199 -0
- data/lib/purecloudplatformclientv2/models/edge_logs_job_response.rb +300 -0
- data/lib/purecloudplatformclientv2/models/edge_logs_job_upload_request.rb +185 -0
- data/lib/purecloudplatformclientv2/models/edge_reboot_parameters.rb +179 -0
- data/lib/purecloudplatformclientv2/models/edge_service_state_request.rb +193 -0
- data/lib/purecloudplatformclientv2/models/edge_trunk_base.rb +353 -0
- data/lib/purecloudplatformclientv2/models/edge_version_information.rb +178 -0
- data/lib/purecloudplatformclientv2/models/edge_version_report.rb +187 -0
- data/lib/purecloudplatformclientv2/models/email.rb +352 -0
- data/lib/purecloudplatformclientv2/models/email_address.rb +187 -0
- data/lib/purecloudplatformclientv2/models/email_attachment.rb +214 -0
- data/lib/purecloudplatformclientv2/models/email_conversation.rb +222 -0
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/email_conversation_notification.rb +209 -0
- data/lib/purecloudplatformclientv2/models/email_conversation_notification_detail.rb +205 -0
- data/lib/purecloudplatformclientv2/models/email_conversation_notification_email_media_participant.rb +456 -0
- data/lib/purecloudplatformclientv2/models/email_conversation_notification_error_body.rb +265 -0
- data/lib/purecloudplatformclientv2/models/email_conversation_notification_error_info.rb +265 -0
- data/lib/purecloudplatformclientv2/models/email_conversation_notification_participants.rb +456 -0
- data/lib/purecloudplatformclientv2/models/email_conversation_notification_uri_reference.rb +187 -0
- data/lib/purecloudplatformclientv2/models/email_conversation_notification_wrapup.rb +225 -0
- data/lib/purecloudplatformclientv2/models/email_media_participant.rb +483 -0
- data/lib/purecloudplatformclientv2/models/email_media_policy.rb +189 -0
- data/lib/purecloudplatformclientv2/models/email_media_policy_conditions.rb +222 -0
- data/lib/purecloudplatformclientv2/models/email_message.rb +308 -0
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/email_setup.rb +179 -0
- data/lib/purecloudplatformclientv2/models/empty.rb +169 -0
- data/lib/purecloudplatformclientv2/models/encryption_key.rb +228 -0
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/endpoint.rb +363 -0
- data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/entry.rb +189 -0
- data/lib/purecloudplatformclientv2/models/error_body.rb +265 -0
- data/lib/purecloudplatformclientv2/models/error_details.rb +243 -0
- data/lib/purecloudplatformclientv2/models/estimated_wait_time_predictions.rb +185 -0
- data/lib/purecloudplatformclientv2/models/evaluation.rb +387 -0
- data/lib/purecloudplatformclientv2/models/evaluation_assignment.rb +187 -0
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/evaluation_form.rb +270 -0
- data/lib/purecloudplatformclientv2/models/evaluation_form_and_scoring_set.rb +187 -0
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/evaluation_scoring_set.rb +225 -0
- data/lib/purecloudplatformclientv2/models/evaluator_activity.rb +261 -0
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/expansion_criterium.rb +201 -0
- data/lib/purecloudplatformclientv2/models/export_uri.rb +188 -0
- data/lib/purecloudplatformclientv2/models/export_uri_notification.rb +196 -0
- data/lib/purecloudplatformclientv2/models/extension.rb +351 -0
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/extension_pool.rb +320 -0
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/external_contact.rb +366 -0
- data/lib/purecloudplatformclientv2/models/external_data_source.rb +204 -0
- data/lib/purecloudplatformclientv2/models/external_organization.rb +349 -0
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/facet_entry.rb +257 -0
- data/lib/purecloudplatformclientv2/models/facet_info.rb +191 -0
- data/lib/purecloudplatformclientv2/models/facet_key_attribute.rb +196 -0
- data/lib/purecloudplatformclientv2/models/facet_statistics.rb +234 -0
- data/lib/purecloudplatformclientv2/models/facet_term.rb +224 -0
- data/lib/purecloudplatformclientv2/models/failed_object.rb +205 -0
- data/lib/purecloudplatformclientv2/models/fax_data_v2_notification.rb +322 -0
- data/lib/purecloudplatformclientv2/models/fax_data_v2_notification_lock_data.rb +196 -0
- data/lib/purecloudplatformclientv2/models/fax_data_v2_notification_lock_info.rb +196 -0
- data/lib/purecloudplatformclientv2/models/fax_data_v2_notification_user_data.rb +187 -0
- data/lib/purecloudplatformclientv2/models/fax_data_v2_notification_workspace_data.rb +178 -0
- data/lib/purecloudplatformclientv2/models/fax_document.rb +337 -0
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/fax_send_request.rb +278 -0
- data/lib/purecloudplatformclientv2/models/fax_send_response.rb +230 -0
- data/lib/purecloudplatformclientv2/models/fax_status.rb +249 -0
- data/lib/purecloudplatformclientv2/models/fax_summary.rb +196 -0
- data/lib/purecloudplatformclientv2/models/feature_state.rb +178 -0
- data/lib/purecloudplatformclientv2/models/field_config.rb +259 -0
- data/lib/purecloudplatformclientv2/models/field_configs.rb +205 -0
- data/lib/purecloudplatformclientv2/models/field_list.rb +254 -0
- data/lib/purecloudplatformclientv2/models/flow.rb +336 -0
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/flow_version.rb +293 -0
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/g_suite.rb +243 -0
- data/lib/purecloudplatformclientv2/models/geolocation.rb +274 -0
- data/lib/purecloudplatformclientv2/models/geolocation_notification.rb +214 -0
- data/lib/purecloudplatformclientv2/models/geolocation_settings.rb +216 -0
- data/lib/purecloudplatformclientv2/models/greeting.rb +324 -0
- data/lib/purecloudplatformclientv2/models/greeting_audio_file.rb +196 -0
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/greeting_media_info.rb +197 -0
- data/lib/purecloudplatformclientv2/models/greeting_owner.rb +198 -0
- data/lib/purecloudplatformclientv2/models/group.rb +358 -0
- data/lib/purecloudplatformclientv2/models/group_contact.rb +249 -0
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/group_members_update.rb +199 -0
- data/lib/purecloudplatformclientv2/models/group_search_criteria.rb +287 -0
- data/lib/purecloudplatformclientv2/models/group_search_request.rb +234 -0
- data/lib/purecloudplatformclientv2/models/group_update.rb +302 -0
- data/lib/purecloudplatformclientv2/models/groups_search_response.rb +287 -0
- data/lib/purecloudplatformclientv2/models/heart_beat_alert.rb +338 -0
- data/lib/purecloudplatformclientv2/models/heart_beat_alert_container.rb +261 -0
- data/lib/purecloudplatformclientv2/models/heart_beat_alert_notification.rb +277 -0
- data/lib/purecloudplatformclientv2/models/heart_beat_alert_notification_notification_user.rb +187 -0
- data/lib/purecloudplatformclientv2/models/heart_beat_alert_notification_notification_users.rb +187 -0
- data/lib/purecloudplatformclientv2/models/heart_beat_rule.rb +315 -0
- data/lib/purecloudplatformclientv2/models/heart_beat_rule_container.rb +261 -0
- data/lib/purecloudplatformclientv2/models/heart_beat_rule_notification.rb +268 -0
- data/lib/purecloudplatformclientv2/models/heart_beat_rule_notification_notification_user.rb +187 -0
- data/lib/purecloudplatformclientv2/models/identity_now.rb +243 -0
- data/lib/purecloudplatformclientv2/models/import_status.rb +249 -0
- data/lib/purecloudplatformclientv2/models/import_status_notification.rb +237 -0
- data/lib/purecloudplatformclientv2/models/inbound_domain.rb +236 -0
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/inbound_route.rb +292 -0
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/initiate_screen_recording.rb +196 -0
- data/lib/purecloudplatformclientv2/models/interaction_stat_alert_notification.rb +387 -0
- data/lib/purecloudplatformclientv2/models/interaction_stat_alert_notification_notification_user.rb +187 -0
- data/lib/purecloudplatformclientv2/models/interaction_stat_rule_notification.rb +369 -0
- data/lib/purecloudplatformclientv2/models/interaction_stat_rule_notification_notification_user.rb +187 -0
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert.rb +464 -0
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +261 -0
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule.rb +427 -0
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +261 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification.rb +238 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_forecast_data_per_interval.rb +196 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_historical_agent_data_per_interval.rb +187 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_historical_queue_data_per_interval.rb +241 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_data_group.rb +258 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_data_groupings.rb +258 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_forecast_data.rb +196 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_historical_agent_data.rb +187 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_historical_queue_data.rb +241 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_metric.rb +201 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_performance_prediction_agent_data.rb +178 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_performance_prediction_queue_data.rb +196 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_schedule_data.rb +187 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_metrics.rb +201 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_performance_prediction_agent_data_per_interval.rb +178 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_performance_prediction_queue_data_per_interval.rb +196 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_schedule_data_per_interval.rb +187 -0
- data/lib/purecloudplatformclientv2/models/json_node.rb +372 -0
- data/lib/purecloudplatformclientv2/models/json_node_search_response.rb +294 -0
- data/lib/purecloudplatformclientv2/models/json_schema_document.rb +237 -0
- data/lib/purecloudplatformclientv2/models/key_rotation_schedule.rb +226 -0
- data/lib/purecloudplatformclientv2/models/keyword.rb +319 -0
- data/lib/purecloudplatformclientv2/models/keyword_set.rb +275 -0
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/language.rb +245 -0
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/library.rb +231 -0
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/license_assignment_request.rb +215 -0
- data/lib/purecloudplatformclientv2/models/license_batch_assignment_request.rb +185 -0
- data/lib/purecloudplatformclientv2/models/license_definition.rb +218 -0
- data/lib/purecloudplatformclientv2/models/license_definition_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/license_organization.rb +209 -0
- data/lib/purecloudplatformclientv2/models/license_update_response.rb +180 -0
- data/lib/purecloudplatformclientv2/models/license_update_status.rb +196 -0
- data/lib/purecloudplatformclientv2/models/license_user.rb +200 -0
- data/lib/purecloudplatformclientv2/models/line.rb +385 -0
- data/lib/purecloudplatformclientv2/models/line_base.rb +320 -0
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/line_status.rb +221 -0
- data/lib/purecloudplatformclientv2/models/local_encryption_configuration.rb +240 -0
- data/lib/purecloudplatformclientv2/models/local_encryption_configuration_listing.rb +198 -0
- data/lib/purecloudplatformclientv2/models/local_encryption_key_request.rb +211 -0
- data/lib/purecloudplatformclientv2/models/location.rb +216 -0
- data/lib/purecloudplatformclientv2/models/location_address.rb +232 -0
- data/lib/purecloudplatformclientv2/models/location_definition.rb +269 -0
- data/lib/purecloudplatformclientv2/models/location_emergency_number.rb +211 -0
- data/lib/purecloudplatformclientv2/models/location_search_criteria.rb +287 -0
- data/lib/purecloudplatformclientv2/models/location_search_request.rb +234 -0
- data/lib/purecloudplatformclientv2/models/locations_search_response.rb +287 -0
- data/lib/purecloudplatformclientv2/models/lock_info.rb +221 -0
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/management_unit.rb +247 -0
- data/lib/purecloudplatformclientv2/models/max_participants.rb +179 -0
- data/lib/purecloudplatformclientv2/models/media_participant_request.rb +253 -0
- data/lib/purecloudplatformclientv2/models/media_policies.rb +199 -0
- data/lib/purecloudplatformclientv2/models/media_result.rb +189 -0
- data/lib/purecloudplatformclientv2/models/media_setting.rb +187 -0
- data/lib/purecloudplatformclientv2/models/media_summary.rb +187 -0
- data/lib/purecloudplatformclientv2/models/media_summary_detail.rb +187 -0
- data/lib/purecloudplatformclientv2/models/member_entity.rb +178 -0
- data/lib/purecloudplatformclientv2/models/meta_data.rb +198 -0
- data/lib/purecloudplatformclientv2/models/metabase.rb +300 -0
- data/lib/purecloudplatformclientv2/models/metered_evaluation_assignment.rb +225 -0
- data/lib/purecloudplatformclientv2/models/note.rb +253 -0
- data/lib/purecloudplatformclientv2/models/note_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/number.rb +187 -0
- data/lib/purecloudplatformclientv2/models/number_plan.rb +365 -0
- data/lib/purecloudplatformclientv2/models/numeric_range.rb +209 -0
- data/lib/purecloudplatformclientv2/models/o_auth_client.rb +284 -0
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/o_auth_client_listing.rb +256 -0
- data/lib/purecloudplatformclientv2/models/o_auth_provider.rb +207 -0
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/observation_data_container.rb +192 -0
- data/lib/purecloudplatformclientv2/models/observation_query.rb +195 -0
- data/lib/purecloudplatformclientv2/models/observation_query_response.rb +180 -0
- data/lib/purecloudplatformclientv2/models/okta.rb +234 -0
- data/lib/purecloudplatformclientv2/models/one_login.rb +234 -0
- data/lib/purecloudplatformclientv2/models/operation.rb +284 -0
- data/lib/purecloudplatformclientv2/models/org_media_utilization.rb +201 -0
- data/lib/purecloudplatformclientv2/models/organization.rb +314 -0
- data/lib/purecloudplatformclientv2/models/organization_features.rb +286 -0
- data/lib/purecloudplatformclientv2/models/organization_presence.rb +279 -0
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/organization_product_entity_listing.rb +216 -0
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/orphan_recording.rb +338 -0
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/orphan_update_request.rb +199 -0
- data/lib/purecloudplatformclientv2/models/out_of_office.rb +236 -0
- data/lib/purecloudplatformclientv2/models/out_of_office_notification.rb +214 -0
- data/lib/purecloudplatformclientv2/models/out_of_office_notification_user.rb +178 -0
- data/lib/purecloudplatformclientv2/models/outbound_route.rb +380 -0
- data/lib/purecloudplatformclientv2/models/outbound_route_base.rb +360 -0
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/page.rb +249 -0
- data/lib/purecloudplatformclientv2/models/paging_spec.rb +197 -0
- data/lib/purecloudplatformclientv2/models/parameter.rb +233 -0
- data/lib/purecloudplatformclientv2/models/parsed_certificate.rb +182 -0
- data/lib/purecloudplatformclientv2/models/participant.rb +554 -0
- data/lib/purecloudplatformclientv2/models/participant_attributes.rb +181 -0
- data/lib/purecloudplatformclientv2/models/participant_basic.rb +554 -0
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/permissions.rb +204 -0
- data/lib/purecloudplatformclientv2/models/phone.rb +440 -0
- data/lib/purecloudplatformclientv2/models/phone_base.rb +350 -0
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/phone_capabilities.rb +223 -0
- data/lib/purecloudplatformclientv2/models/phone_column.rb +197 -0
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/phone_number.rb +223 -0
- data/lib/purecloudplatformclientv2/models/phone_number_column.rb +187 -0
- data/lib/purecloudplatformclientv2/models/phone_number_status.rb +179 -0
- data/lib/purecloudplatformclientv2/models/phone_status.rb +312 -0
- data/lib/purecloudplatformclientv2/models/phones_reboot.rb +191 -0
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/pin_configuration.rb +187 -0
- data/lib/purecloudplatformclientv2/models/ping_identity.rb +243 -0
- data/lib/purecloudplatformclientv2/models/policy.rb +284 -0
- data/lib/purecloudplatformclientv2/models/policy_actions.rb +250 -0
- data/lib/purecloudplatformclientv2/models/policy_conditions.rb +253 -0
- data/lib/purecloudplatformclientv2/models/policy_create.rb +289 -0
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/policy_error_message.rb +235 -0
- data/lib/purecloudplatformclientv2/models/policy_errors.rb +180 -0
- data/lib/purecloudplatformclientv2/models/prediction_results.rb +235 -0
- data/lib/purecloudplatformclientv2/models/presence_query_response.rb +192 -0
- data/lib/purecloudplatformclientv2/models/prompt.rb +232 -0
- data/lib/purecloudplatformclientv2/models/prompt_asset.rb +281 -0
- data/lib/purecloudplatformclientv2/models/prompt_asset_create.rb +286 -0
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/property_index_request.rb +213 -0
- data/lib/purecloudplatformclientv2/models/provision_info.rb +199 -0
- data/lib/purecloudplatformclientv2/models/pure_cloud.rb +207 -0
- data/lib/purecloudplatformclientv2/models/qualifier_mapping_observation_query_response.rb +192 -0
- data/lib/purecloudplatformclientv2/models/quality_audit.rb +272 -0
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +261 -0
- data/lib/purecloudplatformclientv2/models/query_facet_info.rb +191 -0
- data/lib/purecloudplatformclientv2/models/query_request.rb +249 -0
- data/lib/purecloudplatformclientv2/models/query_result.rb +207 -0
- data/lib/purecloudplatformclientv2/models/query_results.rb +187 -0
- data/lib/purecloudplatformclientv2/models/question.rb +279 -0
- data/lib/purecloudplatformclientv2/models/question_group.rb +261 -0
- data/lib/purecloudplatformclientv2/models/question_group_score.rb +270 -0
- data/lib/purecloudplatformclientv2/models/question_score.rb +223 -0
- data/lib/purecloudplatformclientv2/models/queue.rb +423 -0
- data/lib/purecloudplatformclientv2/models/queue_email_address.rb +187 -0
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/queue_member.rb +243 -0
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/queue_member_notification.rb +205 -0
- data/lib/purecloudplatformclientv2/models/queue_utilization_diagnostic.rb +259 -0
- data/lib/purecloudplatformclientv2/models/reaction.rb +210 -0
- data/lib/purecloudplatformclientv2/models/recall_entry.rb +187 -0
- data/lib/purecloudplatformclientv2/models/recording.rb +418 -0
- data/lib/purecloudplatformclientv2/models/recording_data_v2_notification.rb +322 -0
- data/lib/purecloudplatformclientv2/models/recording_data_v2_notification_conversation_data.rb +178 -0
- data/lib/purecloudplatformclientv2/models/recording_data_v2_notification_lock_data.rb +196 -0
- data/lib/purecloudplatformclientv2/models/recording_data_v2_notification_lock_info.rb +196 -0
- data/lib/purecloudplatformclientv2/models/recording_data_v2_notification_user_data.rb +187 -0
- data/lib/purecloudplatformclientv2/models/recording_data_v2_notification_workspace_data.rb +178 -0
- data/lib/purecloudplatformclientv2/models/recording_email_message.rb +268 -0
- data/lib/purecloudplatformclientv2/models/recording_settings.rb +178 -0
- data/lib/purecloudplatformclientv2/models/relationship.rb +252 -0
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/replace_request.rb +196 -0
- data/lib/purecloudplatformclientv2/models/replace_response.rb +237 -0
- data/lib/purecloudplatformclientv2/models/report_meta_data.rb +258 -0
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/report_run_entry.rb +285 -0
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/report_schedule.rb +340 -0
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/resource_condition_node.rb +246 -0
- data/lib/purecloudplatformclientv2/models/resource_condition_value.rb +201 -0
- data/lib/purecloudplatformclientv2/models/resource_permission_policy.rb +272 -0
- data/lib/purecloudplatformclientv2/models/response.rb +307 -0
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +262 -0
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/response_filter.rb +228 -0
- data/lib/purecloudplatformclientv2/models/response_query_request.rb +202 -0
- data/lib/purecloudplatformclientv2/models/response_query_results.rb +184 -0
- data/lib/purecloudplatformclientv2/models/response_set.rb +244 -0
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/response_set_notification.rb +234 -0
- data/lib/purecloudplatformclientv2/models/response_set_notification_reaction.rb +219 -0
- data/lib/purecloudplatformclientv2/models/response_set_notification_responses.rb +219 -0
- data/lib/purecloudplatformclientv2/models/response_substitution.rb +204 -0
- data/lib/purecloudplatformclientv2/models/response_text.rb +208 -0
- data/lib/purecloudplatformclientv2/models/rest_error_detail.rb +193 -0
- data/lib/purecloudplatformclientv2/models/retention_duration.rb +187 -0
- data/lib/purecloudplatformclientv2/models/reverse_whitepages_lookup_result.rb +191 -0
- data/lib/purecloudplatformclientv2/models/ring.rb +189 -0
- data/lib/purecloudplatformclientv2/models/routing_data.rb +227 -0
- data/lib/purecloudplatformclientv2/models/routing_skill.rb +247 -0
- data/lib/purecloudplatformclientv2/models/routing_status.rb +213 -0
- data/lib/purecloudplatformclientv2/models/routing_status_alert.rb +329 -0
- data/lib/purecloudplatformclientv2/models/routing_status_alert_container.rb +261 -0
- data/lib/purecloudplatformclientv2/models/routing_status_rule.rb +315 -0
- data/lib/purecloudplatformclientv2/models/routing_status_rule_container.rb +261 -0
- data/lib/purecloudplatformclientv2/models/rule_set.rb +264 -0
- data/lib/purecloudplatformclientv2/models/rule_set_diagnostic.rb +191 -0
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/rule_set_notification.rb +252 -0
- data/lib/purecloudplatformclientv2/models/rule_set_notification_action.rb +216 -0
- data/lib/purecloudplatformclientv2/models/rule_set_notification_actions.rb +216 -0
- data/lib/purecloudplatformclientv2/models/rule_set_notification_condition.rb +271 -0
- data/lib/purecloudplatformclientv2/models/rule_set_notification_conditions.rb +271 -0
- data/lib/purecloudplatformclientv2/models/rule_set_notification_rule.rb +250 -0
- data/lib/purecloudplatformclientv2/models/rule_set_notification_rules.rb +250 -0
- data/lib/purecloudplatformclientv2/models/rule_set_notification_uri_reference.rb +187 -0
- data/lib/purecloudplatformclientv2/models/run_now_response.rb +198 -0
- data/lib/purecloudplatformclientv2/models/salesforce.rb +234 -0
- data/lib/purecloudplatformclientv2/models/schedule_interval.rb +189 -0
- data/lib/purecloudplatformclientv2/models/schema_category.rb +300 -0
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/screen_recording_session.rb +236 -0
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/screen_recording_session_request.rb +213 -0
- data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification.rb +209 -0
- data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_detail.rb +205 -0
- data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_error_body.rb +265 -0
- data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_error_info.rb +265 -0
- data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_participants.rb +465 -0
- data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_screen_share_media_participant.rb +465 -0
- data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_uri_reference.rb +187 -0
- data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_wrapup.rb +225 -0
- data/lib/purecloudplatformclientv2/models/screenshare.rb +299 -0
- data/lib/purecloudplatformclientv2/models/script.rb +303 -0
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/search_aggregation.rb +245 -0
- data/lib/purecloudplatformclientv2/models/search_criteria.rb +282 -0
- data/lib/purecloudplatformclientv2/models/search_request.rb +287 -0
- data/lib/purecloudplatformclientv2/models/section.rb +207 -0
- data/lib/purecloudplatformclientv2/models/security_profile.rb +209 -0
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/segment.rb +227 -0
- data/lib/purecloudplatformclientv2/models/sequence_schedule.rb +272 -0
- data/lib/purecloudplatformclientv2/models/sequence_schedule_notification.rb +252 -0
- data/lib/purecloudplatformclientv2/models/sequence_schedule_notification_schedule_interval.rb +196 -0
- data/lib/purecloudplatformclientv2/models/sequence_schedule_notification_uri_reference.rb +187 -0
- data/lib/purecloudplatformclientv2/models/server_date.rb +179 -0
- data/lib/purecloudplatformclientv2/models/service_context.rb +179 -0
- data/lib/purecloudplatformclientv2/models/service_level.rb +187 -0
- data/lib/purecloudplatformclientv2/models/share.rb +298 -0
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/shared_entity.rb +178 -0
- data/lib/purecloudplatformclientv2/models/shared_response.rb +214 -0
- data/lib/purecloudplatformclientv2/models/site.rb +399 -0
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/skills_to_remove.rb +196 -0
- data/lib/purecloudplatformclientv2/models/social_conversation_notification.rb +209 -0
- data/lib/purecloudplatformclientv2/models/social_conversation_notification_detail.rb +205 -0
- data/lib/purecloudplatformclientv2/models/social_conversation_notification_error_body.rb +265 -0
- data/lib/purecloudplatformclientv2/models/social_conversation_notification_error_info.rb +265 -0
- data/lib/purecloudplatformclientv2/models/social_conversation_notification_participants.rb +474 -0
- data/lib/purecloudplatformclientv2/models/social_conversation_notification_social_media_participant.rb +474 -0
- data/lib/purecloudplatformclientv2/models/social_conversation_notification_uri_reference.rb +187 -0
- data/lib/purecloudplatformclientv2/models/social_conversation_notification_wrapup.rb +225 -0
- data/lib/purecloudplatformclientv2/models/social_expression.rb +339 -0
- data/lib/purecloudplatformclientv2/models/sort_item.rb +187 -0
- data/lib/purecloudplatformclientv2/models/station.rb +275 -0
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/statistical_response.rb +200 -0
- data/lib/purecloudplatformclientv2/models/statistical_summary.rb +250 -0
- data/lib/purecloudplatformclientv2/models/street_address.rb +256 -0
- data/lib/purecloudplatformclientv2/models/subscriber_response.rb +195 -0
- data/lib/purecloudplatformclientv2/models/suggest_search_criteria.rb +259 -0
- data/lib/purecloudplatformclientv2/models/suggest_search_request.rb +213 -0
- data/lib/purecloudplatformclientv2/models/system_presence.rb +198 -0
- data/lib/purecloudplatformclientv2/models/system_prompt.rb +218 -0
- data/lib/purecloudplatformclientv2/models/system_prompt_asset.rb +309 -0
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/tag_query_request.rb +196 -0
- data/lib/purecloudplatformclientv2/models/tag_value.rb +223 -0
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/term_attribute.rb +210 -0
- data/lib/purecloudplatformclientv2/models/ticker.rb +197 -0
- data/lib/purecloudplatformclientv2/models/time_allowed.rb +198 -0
- data/lib/purecloudplatformclientv2/models/time_interval.rb +187 -0
- data/lib/purecloudplatformclientv2/models/time_off_request.rb +390 -0
- data/lib/purecloudplatformclientv2/models/time_off_request_list.rb +209 -0
- data/lib/purecloudplatformclientv2/models/time_off_request_patch.rb +178 -0
- data/lib/purecloudplatformclientv2/models/time_off_request_update_notification.rb +331 -0
- data/lib/purecloudplatformclientv2/models/time_off_request_update_notification_user.rb +178 -0
- data/lib/purecloudplatformclientv2/models/time_slot.rb +199 -0
- data/lib/purecloudplatformclientv2/models/time_zone.rb +207 -0
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/transfer_request.rb +219 -0
- data/lib/purecloudplatformclientv2/models/trunk.rb +384 -0
- data/lib/purecloudplatformclientv2/models/trunk_base.rb +363 -0
- data/lib/purecloudplatformclientv2/models/trunk_base_assignment.rb +189 -0
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/trunk_recording_enabled_count.rb +189 -0
- data/lib/purecloudplatformclientv2/models/twitter_id.rb +220 -0
- data/lib/purecloudplatformclientv2/models/unread_metric.rb +179 -0
- data/lib/purecloudplatformclientv2/models/unread_status.rb +179 -0
- data/lib/purecloudplatformclientv2/models/uri_reference.rb +196 -0
- data/lib/purecloudplatformclientv2/models/usage.rb +180 -0
- data/lib/purecloudplatformclientv2/models/usage_item.rb +210 -0
- data/lib/purecloudplatformclientv2/models/user.rb +431 -0
- data/lib/purecloudplatformclientv2/models/user_agent_info.rb +199 -0
- data/lib/purecloudplatformclientv2/models/user_authorization.rb +204 -0
- data/lib/purecloudplatformclientv2/models/user_conversation_summary.rb +232 -0
- data/lib/purecloudplatformclientv2/models/user_conversation_summary_notification.rb +232 -0
- data/lib/purecloudplatformclientv2/models/user_conversation_summary_notification_call.rb +187 -0
- data/lib/purecloudplatformclientv2/models/user_conversation_summary_notification_call_contact_center.rb +187 -0
- data/lib/purecloudplatformclientv2/models/user_conversation_summary_notification_media_summary.rb +187 -0
- data/lib/purecloudplatformclientv2/models/user_conversation_summary_notification_media_summary_detail.rb +187 -0
- data/lib/purecloudplatformclientv2/models/user_details_query.rb +273 -0
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/user_image.rb +188 -0
- data/lib/purecloudplatformclientv2/models/user_list_schedule_request_body.rb +214 -0
- data/lib/purecloudplatformclientv2/models/user_me.rb +565 -0
- data/lib/purecloudplatformclientv2/models/user_param.rb +187 -0
- data/lib/purecloudplatformclientv2/models/user_presence.rb +246 -0
- data/lib/purecloudplatformclientv2/models/user_presence_alert.rb +352 -0
- data/lib/purecloudplatformclientv2/models/user_presence_alert_container.rb +261 -0
- data/lib/purecloudplatformclientv2/models/user_presence_notification.rb +205 -0
- data/lib/purecloudplatformclientv2/models/user_presence_notification_organization_presence.rb +187 -0
- data/lib/purecloudplatformclientv2/models/user_presence_notification_presence_definition.rb +187 -0
- data/lib/purecloudplatformclientv2/models/user_presence_rule.rb +329 -0
- data/lib/purecloudplatformclientv2/models/user_presence_rule_container.rb +261 -0
- data/lib/purecloudplatformclientv2/models/user_queue.rb +432 -0
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/user_recording.rb +292 -0
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/user_routing_skill.rb +243 -0
- data/lib/purecloudplatformclientv2/models/user_routing_skill_post.rb +218 -0
- data/lib/purecloudplatformclientv2/models/user_routing_status_notification.rb +178 -0
- data/lib/purecloudplatformclientv2/models/user_routing_status_notification_routing_status.rb +201 -0
- data/lib/purecloudplatformclientv2/models/user_schedule.rb +194 -0
- data/lib/purecloudplatformclientv2/models/user_schedule_activity.rb +230 -0
- data/lib/purecloudplatformclientv2/models/user_schedule_adherence.rb +392 -0
- data/lib/purecloudplatformclientv2/models/user_schedule_adherence_update_notification.rb +273 -0
- data/lib/purecloudplatformclientv2/models/user_schedule_adherence_update_notification_user.rb +178 -0
- data/lib/purecloudplatformclientv2/models/user_schedule_container.rb +192 -0
- data/lib/purecloudplatformclientv2/models/user_schedule_full_day_time_off_marker.rb +220 -0
- data/lib/purecloudplatformclientv2/models/user_schedule_shift.rb +202 -0
- data/lib/purecloudplatformclientv2/models/user_search_criteria.rb +287 -0
- data/lib/purecloudplatformclientv2/models/user_search_request.rb +246 -0
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/user_station.rb +237 -0
- data/lib/purecloudplatformclientv2/models/user_stations.rb +209 -0
- data/lib/purecloudplatformclientv2/models/user_stations_notification.rb +178 -0
- data/lib/purecloudplatformclientv2/models/user_stations_notification_associated_station.rb +196 -0
- data/lib/purecloudplatformclientv2/models/user_stations_notification_user.rb +178 -0
- data/lib/purecloudplatformclientv2/models/user_stations_notification_user_station.rb +196 -0
- data/lib/purecloudplatformclientv2/models/users_search_response.rb +287 -0
- data/lib/purecloudplatformclientv2/models/utilization.rb +181 -0
- data/lib/purecloudplatformclientv2/models/validate_address_request.rb +179 -0
- data/lib/purecloudplatformclientv2/models/validate_address_response.rb +193 -0
- data/lib/purecloudplatformclientv2/models/video.rb +307 -0
- data/lib/purecloudplatformclientv2/models/video_conversation_notification.rb +209 -0
- data/lib/purecloudplatformclientv2/models/video_conversation_notification_detail.rb +205 -0
- data/lib/purecloudplatformclientv2/models/video_conversation_notification_error_body.rb +265 -0
- data/lib/purecloudplatformclientv2/models/video_conversation_notification_error_info.rb +265 -0
- data/lib/purecloudplatformclientv2/models/video_conversation_notification_participants.rb +483 -0
- data/lib/purecloudplatformclientv2/models/video_conversation_notification_uri_reference.rb +187 -0
- data/lib/purecloudplatformclientv2/models/video_conversation_notification_video_media_participant.rb +483 -0
- data/lib/purecloudplatformclientv2/models/video_conversation_notification_wrapup.rb +225 -0
- data/lib/purecloudplatformclientv2/models/visibility_condition.rb +204 -0
- data/lib/purecloudplatformclientv2/models/vm_pairing_info.rb +206 -0
- data/lib/purecloudplatformclientv2/models/voicemail_copy_record.rb +199 -0
- data/lib/purecloudplatformclientv2/models/voicemail_group_policy.rb +228 -0
- data/lib/purecloudplatformclientv2/models/voicemail_mailbox_info.rb +229 -0
- data/lib/purecloudplatformclientv2/models/voicemail_media_info.rb +197 -0
- data/lib/purecloudplatformclientv2/models/voicemail_message.rb +341 -0
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/voicemail_message_notification.rb +277 -0
- data/lib/purecloudplatformclientv2/models/voicemail_organization_policy.rb +239 -0
- data/lib/purecloudplatformclientv2/models/voicemail_search_criteria.rb +287 -0
- data/lib/purecloudplatformclientv2/models/voicemail_search_request.rb +246 -0
- data/lib/purecloudplatformclientv2/models/voicemail_user_policy.rb +209 -0
- data/lib/purecloudplatformclientv2/models/voicemails_search_response.rb +287 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_entity_listing.rb +180 -0
- data/lib/purecloudplatformclientv2/models/workspace.rb +302 -0
- data/lib/purecloudplatformclientv2/models/workspace_create.rb +201 -0
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/workspace_member.rb +271 -0
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/workspace_summary.rb +187 -0
- data/lib/purecloudplatformclientv2/models/wrap_up_code_mapping.rb +252 -0
- data/lib/purecloudplatformclientv2/models/wrap_up_code_mapping_notification.rb +236 -0
- data/lib/purecloudplatformclientv2/models/wrapup.rb +241 -0
- data/lib/purecloudplatformclientv2/models/wrapup_code.rb +241 -0
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/version.rb +19 -0
- data/purecloudplatformclientv2.gemspec +32 -0
- data/spec/api_client_spec.rb +273 -0
- data/spec/configuration_spec.rb +25 -0
- data/spec/spec_helper.rb +99 -0
- metadata +2050 -0
@@ -0,0 +1,4725 @@
|
|
1
|
+
=begin
|
2
|
+
PureCloud Platform API
|
3
|
+
|
4
|
+
With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
|
5
|
+
|
6
|
+
OpenAPI spec version: v2
|
7
|
+
Contact: DeveloperEvangelists@inin.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
License: ININ
|
11
|
+
http://www.inin.com
|
12
|
+
|
13
|
+
Terms of Service: https://developer.mypurecloud.com/tos
|
14
|
+
|
15
|
+
=end
|
16
|
+
|
17
|
+
require "uri"
|
18
|
+
|
19
|
+
module PureCloud
|
20
|
+
class ConversationsApi
|
21
|
+
attr_accessor :api_client
|
22
|
+
|
23
|
+
def initialize(api_client = ApiClient.default)
|
24
|
+
@api_client = api_client
|
25
|
+
end
|
26
|
+
|
27
|
+
# Delete a code used to add a communication to this participant
|
28
|
+
#
|
29
|
+
# @param conversation_id conversation ID
|
30
|
+
# @param participant_id participant ID
|
31
|
+
# @param add_communication_code addCommunicationCode
|
32
|
+
# @param [Hash] opts the optional parameters
|
33
|
+
# @return [nil]
|
34
|
+
def delete_conversation_participant_code(conversation_id, participant_id, add_communication_code, opts = {})
|
35
|
+
delete_conversation_participant_code_with_http_info(conversation_id, participant_id, add_communication_code, opts)
|
36
|
+
return nil
|
37
|
+
end
|
38
|
+
|
39
|
+
# Delete a code used to add a communication to this participant
|
40
|
+
#
|
41
|
+
# @param conversation_id conversation ID
|
42
|
+
# @param participant_id participant ID
|
43
|
+
# @param add_communication_code addCommunicationCode
|
44
|
+
# @param [Hash] opts the optional parameters
|
45
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
46
|
+
def delete_conversation_participant_code_with_http_info(conversation_id, participant_id, add_communication_code, opts = {})
|
47
|
+
if @api_client.config.debugging
|
48
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.delete_conversation_participant_code ..."
|
49
|
+
end
|
50
|
+
# verify the required parameter 'conversation_id' is set
|
51
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.delete_conversation_participant_code" if conversation_id.nil?
|
52
|
+
# verify the required parameter 'participant_id' is set
|
53
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.delete_conversation_participant_code" if participant_id.nil?
|
54
|
+
# verify the required parameter 'add_communication_code' is set
|
55
|
+
fail ArgumentError, "Missing the required parameter 'add_communication_code' when calling ConversationsApi.delete_conversation_participant_code" if add_communication_code.nil?
|
56
|
+
# resource path
|
57
|
+
local_var_path = "/api/v2/conversations/{conversationId}/participants/{participantId}/codes/{addCommunicationCode}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s).sub('{' + 'addCommunicationCode' + '}', add_communication_code.to_s)
|
58
|
+
|
59
|
+
# query parameters
|
60
|
+
query_params = {}
|
61
|
+
|
62
|
+
# header parameters
|
63
|
+
header_params = {}
|
64
|
+
|
65
|
+
# HTTP header 'Accept' (if needed)
|
66
|
+
local_header_accept = ['application/json']
|
67
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
68
|
+
|
69
|
+
# HTTP header 'Content-Type'
|
70
|
+
local_header_content_type = ['application/json']
|
71
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
72
|
+
|
73
|
+
# form parameters
|
74
|
+
form_params = {}
|
75
|
+
|
76
|
+
# http body (model)
|
77
|
+
post_body = nil
|
78
|
+
auth_names = ['PureCloud Auth']
|
79
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
80
|
+
:header_params => header_params,
|
81
|
+
:query_params => query_params,
|
82
|
+
:form_params => form_params,
|
83
|
+
:body => post_body,
|
84
|
+
:auth_names => auth_names)
|
85
|
+
if @api_client.config.debugging
|
86
|
+
@api_client.config.logger.debug "API called: ConversationsApi#delete_conversation_participant_code\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
87
|
+
end
|
88
|
+
return data, status_code, headers
|
89
|
+
end
|
90
|
+
|
91
|
+
# Cancel the transfer
|
92
|
+
#
|
93
|
+
# @param call_id callId
|
94
|
+
# @param participant_id participantId
|
95
|
+
# @param [Hash] opts the optional parameters
|
96
|
+
# @return [String]
|
97
|
+
def delete_conversations_call_participant_consult(call_id, participant_id, opts = {})
|
98
|
+
data, _status_code, _headers = delete_conversations_call_participant_consult_with_http_info(call_id, participant_id, opts)
|
99
|
+
return data
|
100
|
+
end
|
101
|
+
|
102
|
+
# Cancel the transfer
|
103
|
+
#
|
104
|
+
# @param call_id callId
|
105
|
+
# @param participant_id participantId
|
106
|
+
# @param [Hash] opts the optional parameters
|
107
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
108
|
+
def delete_conversations_call_participant_consult_with_http_info(call_id, participant_id, opts = {})
|
109
|
+
if @api_client.config.debugging
|
110
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.delete_conversations_call_participant_consult ..."
|
111
|
+
end
|
112
|
+
# verify the required parameter 'call_id' is set
|
113
|
+
fail ArgumentError, "Missing the required parameter 'call_id' when calling ConversationsApi.delete_conversations_call_participant_consult" if call_id.nil?
|
114
|
+
# verify the required parameter 'participant_id' is set
|
115
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.delete_conversations_call_participant_consult" if participant_id.nil?
|
116
|
+
# resource path
|
117
|
+
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)
|
118
|
+
|
119
|
+
# query parameters
|
120
|
+
query_params = {}
|
121
|
+
|
122
|
+
# header parameters
|
123
|
+
header_params = {}
|
124
|
+
|
125
|
+
# HTTP header 'Accept' (if needed)
|
126
|
+
local_header_accept = ['application/json']
|
127
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
128
|
+
|
129
|
+
# HTTP header 'Content-Type'
|
130
|
+
local_header_content_type = ['application/json']
|
131
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
132
|
+
|
133
|
+
# form parameters
|
134
|
+
form_params = {}
|
135
|
+
|
136
|
+
# http body (model)
|
137
|
+
post_body = nil
|
138
|
+
auth_names = ['PureCloud Auth']
|
139
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
140
|
+
:header_params => header_params,
|
141
|
+
:query_params => query_params,
|
142
|
+
:form_params => form_params,
|
143
|
+
:body => post_body,
|
144
|
+
:auth_names => auth_names,
|
145
|
+
:return_type => 'String')
|
146
|
+
if @api_client.config.debugging
|
147
|
+
@api_client.config.logger.debug "API called: ConversationsApi#delete_conversations_call_participant_consult\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
148
|
+
end
|
149
|
+
return data, status_code, headers
|
150
|
+
end
|
151
|
+
|
152
|
+
# Delete attachment from draft
|
153
|
+
#
|
154
|
+
# @param email_id emailId
|
155
|
+
# @param attachment_id attachmentId
|
156
|
+
# @param [Hash] opts the optional parameters
|
157
|
+
# @return [String]
|
158
|
+
def delete_conversations_email_messages_draft_attachment(email_id, attachment_id, opts = {})
|
159
|
+
data, _status_code, _headers = delete_conversations_email_messages_draft_attachment_with_http_info(email_id, attachment_id, opts)
|
160
|
+
return data
|
161
|
+
end
|
162
|
+
|
163
|
+
# Delete attachment from draft
|
164
|
+
#
|
165
|
+
# @param email_id emailId
|
166
|
+
# @param attachment_id attachmentId
|
167
|
+
# @param [Hash] opts the optional parameters
|
168
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
169
|
+
def delete_conversations_email_messages_draft_attachment_with_http_info(email_id, attachment_id, opts = {})
|
170
|
+
if @api_client.config.debugging
|
171
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.delete_conversations_email_messages_draft_attachment ..."
|
172
|
+
end
|
173
|
+
# verify the required parameter 'email_id' is set
|
174
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling ConversationsApi.delete_conversations_email_messages_draft_attachment" if email_id.nil?
|
175
|
+
# verify the required parameter 'attachment_id' is set
|
176
|
+
fail ArgumentError, "Missing the required parameter 'attachment_id' when calling ConversationsApi.delete_conversations_email_messages_draft_attachment" if attachment_id.nil?
|
177
|
+
# resource path
|
178
|
+
local_var_path = "/api/v2/conversations/emails/{emailId}/messages/draft/attachments/{attachmentId}".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'attachmentId' + '}', attachment_id.to_s)
|
179
|
+
|
180
|
+
# query parameters
|
181
|
+
query_params = {}
|
182
|
+
|
183
|
+
# header parameters
|
184
|
+
header_params = {}
|
185
|
+
|
186
|
+
# HTTP header 'Accept' (if needed)
|
187
|
+
local_header_accept = ['application/json']
|
188
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
189
|
+
|
190
|
+
# HTTP header 'Content-Type'
|
191
|
+
local_header_content_type = ['application/json']
|
192
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
193
|
+
|
194
|
+
# form parameters
|
195
|
+
form_params = {}
|
196
|
+
|
197
|
+
# http body (model)
|
198
|
+
post_body = nil
|
199
|
+
auth_names = ['PureCloud Auth']
|
200
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
201
|
+
:header_params => header_params,
|
202
|
+
:query_params => query_params,
|
203
|
+
:form_params => form_params,
|
204
|
+
:body => post_body,
|
205
|
+
:auth_names => auth_names,
|
206
|
+
:return_type => 'String')
|
207
|
+
if @api_client.config.debugging
|
208
|
+
@api_client.config.logger.debug "API called: ConversationsApi#delete_conversations_email_messages_draft_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
209
|
+
end
|
210
|
+
return data, status_code, headers
|
211
|
+
end
|
212
|
+
|
213
|
+
# Get a conversation by id
|
214
|
+
#
|
215
|
+
# @param conversation_id conversationId
|
216
|
+
# @param [Hash] opts the optional parameters
|
217
|
+
# @return [AnalyticsConversation]
|
218
|
+
def get_analytics_conversation_details(conversation_id, opts = {})
|
219
|
+
data, _status_code, _headers = get_analytics_conversation_details_with_http_info(conversation_id, opts)
|
220
|
+
return data
|
221
|
+
end
|
222
|
+
|
223
|
+
# Get a conversation by id
|
224
|
+
#
|
225
|
+
# @param conversation_id conversationId
|
226
|
+
# @param [Hash] opts the optional parameters
|
227
|
+
# @return [Array<(AnalyticsConversation, Fixnum, Hash)>] AnalyticsConversation data, response status code and response headers
|
228
|
+
def get_analytics_conversation_details_with_http_info(conversation_id, opts = {})
|
229
|
+
if @api_client.config.debugging
|
230
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_analytics_conversation_details ..."
|
231
|
+
end
|
232
|
+
# verify the required parameter 'conversation_id' is set
|
233
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_analytics_conversation_details" if conversation_id.nil?
|
234
|
+
# resource path
|
235
|
+
local_var_path = "/api/v2/analytics/conversations/{conversationId}/details".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
236
|
+
|
237
|
+
# query parameters
|
238
|
+
query_params = {}
|
239
|
+
|
240
|
+
# header parameters
|
241
|
+
header_params = {}
|
242
|
+
|
243
|
+
# HTTP header 'Accept' (if needed)
|
244
|
+
local_header_accept = ['application/json']
|
245
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
246
|
+
|
247
|
+
# HTTP header 'Content-Type'
|
248
|
+
local_header_content_type = ['application/json']
|
249
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
250
|
+
|
251
|
+
# form parameters
|
252
|
+
form_params = {}
|
253
|
+
|
254
|
+
# http body (model)
|
255
|
+
post_body = nil
|
256
|
+
auth_names = ['PureCloud Auth']
|
257
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
258
|
+
:header_params => header_params,
|
259
|
+
:query_params => query_params,
|
260
|
+
:form_params => form_params,
|
261
|
+
:body => post_body,
|
262
|
+
:auth_names => auth_names,
|
263
|
+
:return_type => 'AnalyticsConversation')
|
264
|
+
if @api_client.config.debugging
|
265
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_analytics_conversation_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
266
|
+
end
|
267
|
+
return data, status_code, headers
|
268
|
+
end
|
269
|
+
|
270
|
+
# Get conversation
|
271
|
+
#
|
272
|
+
# @param conversation_id conversation ID
|
273
|
+
# @param [Hash] opts the optional parameters
|
274
|
+
# @return [Conversation]
|
275
|
+
def get_conversation(conversation_id, opts = {})
|
276
|
+
data, _status_code, _headers = get_conversation_with_http_info(conversation_id, opts)
|
277
|
+
return data
|
278
|
+
end
|
279
|
+
|
280
|
+
# Get conversation
|
281
|
+
#
|
282
|
+
# @param conversation_id conversation ID
|
283
|
+
# @param [Hash] opts the optional parameters
|
284
|
+
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
285
|
+
def get_conversation_with_http_info(conversation_id, opts = {})
|
286
|
+
if @api_client.config.debugging
|
287
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversation ..."
|
288
|
+
end
|
289
|
+
# verify the required parameter 'conversation_id' is set
|
290
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversation" if conversation_id.nil?
|
291
|
+
# resource path
|
292
|
+
local_var_path = "/api/v2/conversations/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
293
|
+
|
294
|
+
# query parameters
|
295
|
+
query_params = {}
|
296
|
+
|
297
|
+
# header parameters
|
298
|
+
header_params = {}
|
299
|
+
|
300
|
+
# HTTP header 'Accept' (if needed)
|
301
|
+
local_header_accept = ['application/json']
|
302
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
303
|
+
|
304
|
+
# HTTP header 'Content-Type'
|
305
|
+
local_header_content_type = ['application/json']
|
306
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
307
|
+
|
308
|
+
# form parameters
|
309
|
+
form_params = {}
|
310
|
+
|
311
|
+
# http body (model)
|
312
|
+
post_body = nil
|
313
|
+
auth_names = ['PureCloud Auth']
|
314
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
315
|
+
:header_params => header_params,
|
316
|
+
:query_params => query_params,
|
317
|
+
:form_params => form_params,
|
318
|
+
:body => post_body,
|
319
|
+
:auth_names => auth_names,
|
320
|
+
:return_type => 'Conversation')
|
321
|
+
if @api_client.config.debugging
|
322
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
323
|
+
end
|
324
|
+
return data, status_code, headers
|
325
|
+
end
|
326
|
+
|
327
|
+
# Get the wrap-up for this conversation participant.
|
328
|
+
#
|
329
|
+
# @param conversation_id conversation ID
|
330
|
+
# @param participant_id participant ID
|
331
|
+
# @param [Hash] opts the optional parameters
|
332
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
|
333
|
+
# @return [WrapupCode]
|
334
|
+
def get_conversation_participant_wrapup(conversation_id, participant_id, opts = {})
|
335
|
+
data, _status_code, _headers = get_conversation_participant_wrapup_with_http_info(conversation_id, participant_id, opts)
|
336
|
+
return data
|
337
|
+
end
|
338
|
+
|
339
|
+
# Get the wrap-up for this conversation participant.
|
340
|
+
#
|
341
|
+
# @param conversation_id conversation ID
|
342
|
+
# @param participant_id participant ID
|
343
|
+
# @param [Hash] opts the optional parameters
|
344
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
345
|
+
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
346
|
+
def get_conversation_participant_wrapup_with_http_info(conversation_id, participant_id, opts = {})
|
347
|
+
if @api_client.config.debugging
|
348
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversation_participant_wrapup ..."
|
349
|
+
end
|
350
|
+
# verify the required parameter 'conversation_id' is set
|
351
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversation_participant_wrapup" if conversation_id.nil?
|
352
|
+
# verify the required parameter 'participant_id' is set
|
353
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversation_participant_wrapup" if participant_id.nil?
|
354
|
+
# resource path
|
355
|
+
local_var_path = "/api/v2/conversations/{conversationId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
356
|
+
|
357
|
+
# query parameters
|
358
|
+
query_params = {}
|
359
|
+
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
360
|
+
|
361
|
+
# header parameters
|
362
|
+
header_params = {}
|
363
|
+
|
364
|
+
# HTTP header 'Accept' (if needed)
|
365
|
+
local_header_accept = ['application/json']
|
366
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
367
|
+
|
368
|
+
# HTTP header 'Content-Type'
|
369
|
+
local_header_content_type = ['application/json']
|
370
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
371
|
+
|
372
|
+
# form parameters
|
373
|
+
form_params = {}
|
374
|
+
|
375
|
+
# http body (model)
|
376
|
+
post_body = nil
|
377
|
+
auth_names = ['PureCloud Auth']
|
378
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
379
|
+
:header_params => header_params,
|
380
|
+
:query_params => query_params,
|
381
|
+
:form_params => form_params,
|
382
|
+
:body => post_body,
|
383
|
+
:auth_names => auth_names,
|
384
|
+
:return_type => 'WrapupCode')
|
385
|
+
if @api_client.config.debugging
|
386
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversation_participant_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
387
|
+
end
|
388
|
+
return data, status_code, headers
|
389
|
+
end
|
390
|
+
|
391
|
+
# Get list of wrapup codes for this conversation participant
|
392
|
+
#
|
393
|
+
# @param conversation_id conversation ID
|
394
|
+
# @param participant_id participant ID
|
395
|
+
# @param [Hash] opts the optional parameters
|
396
|
+
# @return [Array<WrapupCode>]
|
397
|
+
def get_conversation_participant_wrapupcodes(conversation_id, participant_id, opts = {})
|
398
|
+
data, _status_code, _headers = get_conversation_participant_wrapupcodes_with_http_info(conversation_id, participant_id, opts)
|
399
|
+
return data
|
400
|
+
end
|
401
|
+
|
402
|
+
# Get list of wrapup codes for this conversation participant
|
403
|
+
#
|
404
|
+
# @param conversation_id conversation ID
|
405
|
+
# @param participant_id participant ID
|
406
|
+
# @param [Hash] opts the optional parameters
|
407
|
+
# @return [Array<(Array<WrapupCode>, Fixnum, Hash)>] Array<WrapupCode> data, response status code and response headers
|
408
|
+
def get_conversation_participant_wrapupcodes_with_http_info(conversation_id, participant_id, opts = {})
|
409
|
+
if @api_client.config.debugging
|
410
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversation_participant_wrapupcodes ..."
|
411
|
+
end
|
412
|
+
# verify the required parameter 'conversation_id' is set
|
413
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversation_participant_wrapupcodes" if conversation_id.nil?
|
414
|
+
# verify the required parameter 'participant_id' is set
|
415
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversation_participant_wrapupcodes" if participant_id.nil?
|
416
|
+
# resource path
|
417
|
+
local_var_path = "/api/v2/conversations/{conversationId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
418
|
+
|
419
|
+
# query parameters
|
420
|
+
query_params = {}
|
421
|
+
|
422
|
+
# header parameters
|
423
|
+
header_params = {}
|
424
|
+
|
425
|
+
# HTTP header 'Accept' (if needed)
|
426
|
+
local_header_accept = ['application/json']
|
427
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
428
|
+
|
429
|
+
# HTTP header 'Content-Type'
|
430
|
+
local_header_content_type = ['application/json']
|
431
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
432
|
+
|
433
|
+
# form parameters
|
434
|
+
form_params = {}
|
435
|
+
|
436
|
+
# http body (model)
|
437
|
+
post_body = nil
|
438
|
+
auth_names = ['PureCloud Auth']
|
439
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
440
|
+
:header_params => header_params,
|
441
|
+
:query_params => query_params,
|
442
|
+
:form_params => form_params,
|
443
|
+
:body => post_body,
|
444
|
+
:auth_names => auth_names,
|
445
|
+
:return_type => 'Array<WrapupCode>')
|
446
|
+
if @api_client.config.debugging
|
447
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversation_participant_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
448
|
+
end
|
449
|
+
return data, status_code, headers
|
450
|
+
end
|
451
|
+
|
452
|
+
# Get conversations
|
453
|
+
#
|
454
|
+
# @param [Hash] opts the optional parameters
|
455
|
+
# @option opts [String] :communication_type Call or Chat communication filtering
|
456
|
+
# @return [ConversationEntityListing]
|
457
|
+
def get_conversations(opts = {})
|
458
|
+
data, _status_code, _headers = get_conversations_with_http_info(opts)
|
459
|
+
return data
|
460
|
+
end
|
461
|
+
|
462
|
+
# Get conversations
|
463
|
+
#
|
464
|
+
# @param [Hash] opts the optional parameters
|
465
|
+
# @option opts [String] :communication_type Call or Chat communication filtering
|
466
|
+
# @return [Array<(ConversationEntityListing, Fixnum, Hash)>] ConversationEntityListing data, response status code and response headers
|
467
|
+
def get_conversations_with_http_info(opts = {})
|
468
|
+
if @api_client.config.debugging
|
469
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations ..."
|
470
|
+
end
|
471
|
+
# resource path
|
472
|
+
local_var_path = "/api/v2/conversations".sub('{format}','json')
|
473
|
+
|
474
|
+
# query parameters
|
475
|
+
query_params = {}
|
476
|
+
query_params[:'communicationType'] = opts[:'communication_type'] if opts[:'communication_type']
|
477
|
+
|
478
|
+
# header parameters
|
479
|
+
header_params = {}
|
480
|
+
|
481
|
+
# HTTP header 'Accept' (if needed)
|
482
|
+
local_header_accept = ['application/json']
|
483
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
484
|
+
|
485
|
+
# HTTP header 'Content-Type'
|
486
|
+
local_header_content_type = ['application/json']
|
487
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
488
|
+
|
489
|
+
# form parameters
|
490
|
+
form_params = {}
|
491
|
+
|
492
|
+
# http body (model)
|
493
|
+
post_body = nil
|
494
|
+
auth_names = ['PureCloud Auth']
|
495
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
496
|
+
:header_params => header_params,
|
497
|
+
:query_params => query_params,
|
498
|
+
:form_params => form_params,
|
499
|
+
:body => post_body,
|
500
|
+
:auth_names => auth_names,
|
501
|
+
:return_type => 'ConversationEntityListing')
|
502
|
+
if @api_client.config.debugging
|
503
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
504
|
+
end
|
505
|
+
return data, status_code, headers
|
506
|
+
end
|
507
|
+
|
508
|
+
# Get call conversation
|
509
|
+
#
|
510
|
+
# @param call_id callId
|
511
|
+
# @param [Hash] opts the optional parameters
|
512
|
+
# @return [CallConversation]
|
513
|
+
def get_conversations_call(call_id, opts = {})
|
514
|
+
data, _status_code, _headers = get_conversations_call_with_http_info(call_id, opts)
|
515
|
+
return data
|
516
|
+
end
|
517
|
+
|
518
|
+
# Get call conversation
|
519
|
+
#
|
520
|
+
# @param call_id callId
|
521
|
+
# @param [Hash] opts the optional parameters
|
522
|
+
# @return [Array<(CallConversation, Fixnum, Hash)>] CallConversation data, response status code and response headers
|
523
|
+
def get_conversations_call_with_http_info(call_id, opts = {})
|
524
|
+
if @api_client.config.debugging
|
525
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_call ..."
|
526
|
+
end
|
527
|
+
# verify the required parameter 'call_id' is set
|
528
|
+
fail ArgumentError, "Missing the required parameter 'call_id' when calling ConversationsApi.get_conversations_call" if call_id.nil?
|
529
|
+
# resource path
|
530
|
+
local_var_path = "/api/v2/conversations/calls/{callId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
|
531
|
+
|
532
|
+
# query parameters
|
533
|
+
query_params = {}
|
534
|
+
|
535
|
+
# header parameters
|
536
|
+
header_params = {}
|
537
|
+
|
538
|
+
# HTTP header 'Accept' (if needed)
|
539
|
+
local_header_accept = ['application/json']
|
540
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
541
|
+
|
542
|
+
# HTTP header 'Content-Type'
|
543
|
+
local_header_content_type = ['application/json']
|
544
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
545
|
+
|
546
|
+
# form parameters
|
547
|
+
form_params = {}
|
548
|
+
|
549
|
+
# http body (model)
|
550
|
+
post_body = nil
|
551
|
+
auth_names = ['PureCloud Auth']
|
552
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
553
|
+
:header_params => header_params,
|
554
|
+
:query_params => query_params,
|
555
|
+
:form_params => form_params,
|
556
|
+
:body => post_body,
|
557
|
+
:auth_names => auth_names,
|
558
|
+
:return_type => 'CallConversation')
|
559
|
+
if @api_client.config.debugging
|
560
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_call\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
561
|
+
end
|
562
|
+
return data, status_code, headers
|
563
|
+
end
|
564
|
+
|
565
|
+
# Get the wrap-up for this conversation participant.
|
566
|
+
#
|
567
|
+
# @param call_id callId
|
568
|
+
# @param participant_id participantId
|
569
|
+
# @param [Hash] opts the optional parameters
|
570
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
|
571
|
+
# @return [Wrapup]
|
572
|
+
def get_conversations_call_participant_wrapup(call_id, participant_id, opts = {})
|
573
|
+
data, _status_code, _headers = get_conversations_call_participant_wrapup_with_http_info(call_id, participant_id, opts)
|
574
|
+
return data
|
575
|
+
end
|
576
|
+
|
577
|
+
# Get the wrap-up for this conversation participant.
|
578
|
+
#
|
579
|
+
# @param call_id callId
|
580
|
+
# @param participant_id participantId
|
581
|
+
# @param [Hash] opts the optional parameters
|
582
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
583
|
+
# @return [Array<(Wrapup, Fixnum, Hash)>] Wrapup data, response status code and response headers
|
584
|
+
def get_conversations_call_participant_wrapup_with_http_info(call_id, participant_id, opts = {})
|
585
|
+
if @api_client.config.debugging
|
586
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_call_participant_wrapup ..."
|
587
|
+
end
|
588
|
+
# verify the required parameter 'call_id' is set
|
589
|
+
fail ArgumentError, "Missing the required parameter 'call_id' when calling ConversationsApi.get_conversations_call_participant_wrapup" if call_id.nil?
|
590
|
+
# verify the required parameter 'participant_id' is set
|
591
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_call_participant_wrapup" if participant_id.nil?
|
592
|
+
# resource path
|
593
|
+
local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
594
|
+
|
595
|
+
# query parameters
|
596
|
+
query_params = {}
|
597
|
+
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
598
|
+
|
599
|
+
# header parameters
|
600
|
+
header_params = {}
|
601
|
+
|
602
|
+
# HTTP header 'Accept' (if needed)
|
603
|
+
local_header_accept = ['application/json']
|
604
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
605
|
+
|
606
|
+
# HTTP header 'Content-Type'
|
607
|
+
local_header_content_type = ['application/json']
|
608
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
609
|
+
|
610
|
+
# form parameters
|
611
|
+
form_params = {}
|
612
|
+
|
613
|
+
# http body (model)
|
614
|
+
post_body = nil
|
615
|
+
auth_names = ['PureCloud Auth']
|
616
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
617
|
+
:header_params => header_params,
|
618
|
+
:query_params => query_params,
|
619
|
+
:form_params => form_params,
|
620
|
+
:body => post_body,
|
621
|
+
:auth_names => auth_names,
|
622
|
+
:return_type => 'Wrapup')
|
623
|
+
if @api_client.config.debugging
|
624
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_call_participant_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
625
|
+
end
|
626
|
+
return data, status_code, headers
|
627
|
+
end
|
628
|
+
|
629
|
+
# Get list of wrapup codes for this conversation participant
|
630
|
+
#
|
631
|
+
# @param call_id callId
|
632
|
+
# @param participant_id participantId
|
633
|
+
# @param [Hash] opts the optional parameters
|
634
|
+
# @return [Array<WrapupCode>]
|
635
|
+
def get_conversations_call_participant_wrapupcodes(call_id, participant_id, opts = {})
|
636
|
+
data, _status_code, _headers = get_conversations_call_participant_wrapupcodes_with_http_info(call_id, participant_id, opts)
|
637
|
+
return data
|
638
|
+
end
|
639
|
+
|
640
|
+
# Get list of wrapup codes for this conversation participant
|
641
|
+
#
|
642
|
+
# @param call_id callId
|
643
|
+
# @param participant_id participantId
|
644
|
+
# @param [Hash] opts the optional parameters
|
645
|
+
# @return [Array<(Array<WrapupCode>, Fixnum, Hash)>] Array<WrapupCode> data, response status code and response headers
|
646
|
+
def get_conversations_call_participant_wrapupcodes_with_http_info(call_id, participant_id, opts = {})
|
647
|
+
if @api_client.config.debugging
|
648
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_call_participant_wrapupcodes ..."
|
649
|
+
end
|
650
|
+
# verify the required parameter 'call_id' is set
|
651
|
+
fail ArgumentError, "Missing the required parameter 'call_id' when calling ConversationsApi.get_conversations_call_participant_wrapupcodes" if call_id.nil?
|
652
|
+
# verify the required parameter 'participant_id' is set
|
653
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_call_participant_wrapupcodes" if participant_id.nil?
|
654
|
+
# resource path
|
655
|
+
local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
656
|
+
|
657
|
+
# query parameters
|
658
|
+
query_params = {}
|
659
|
+
|
660
|
+
# header parameters
|
661
|
+
header_params = {}
|
662
|
+
|
663
|
+
# HTTP header 'Accept' (if needed)
|
664
|
+
local_header_accept = ['application/json']
|
665
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
666
|
+
|
667
|
+
# HTTP header 'Content-Type'
|
668
|
+
local_header_content_type = ['application/json']
|
669
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
670
|
+
|
671
|
+
# form parameters
|
672
|
+
form_params = {}
|
673
|
+
|
674
|
+
# http body (model)
|
675
|
+
post_body = nil
|
676
|
+
auth_names = ['PureCloud Auth']
|
677
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
678
|
+
:header_params => header_params,
|
679
|
+
:query_params => query_params,
|
680
|
+
:form_params => form_params,
|
681
|
+
:body => post_body,
|
682
|
+
:auth_names => auth_names,
|
683
|
+
:return_type => 'Array<WrapupCode>')
|
684
|
+
if @api_client.config.debugging
|
685
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_call_participant_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
686
|
+
end
|
687
|
+
return data, status_code, headers
|
688
|
+
end
|
689
|
+
|
690
|
+
# Get callback conversation
|
691
|
+
#
|
692
|
+
# @param callback_id callbackId
|
693
|
+
# @param [Hash] opts the optional parameters
|
694
|
+
# @return [CallbackConversation]
|
695
|
+
def get_conversations_callback(callback_id, opts = {})
|
696
|
+
data, _status_code, _headers = get_conversations_callback_with_http_info(callback_id, opts)
|
697
|
+
return data
|
698
|
+
end
|
699
|
+
|
700
|
+
# Get callback conversation
|
701
|
+
#
|
702
|
+
# @param callback_id callbackId
|
703
|
+
# @param [Hash] opts the optional parameters
|
704
|
+
# @return [Array<(CallbackConversation, Fixnum, Hash)>] CallbackConversation data, response status code and response headers
|
705
|
+
def get_conversations_callback_with_http_info(callback_id, opts = {})
|
706
|
+
if @api_client.config.debugging
|
707
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_callback ..."
|
708
|
+
end
|
709
|
+
# verify the required parameter 'callback_id' is set
|
710
|
+
fail ArgumentError, "Missing the required parameter 'callback_id' when calling ConversationsApi.get_conversations_callback" if callback_id.nil?
|
711
|
+
# resource path
|
712
|
+
local_var_path = "/api/v2/conversations/callbacks/{callbackId}".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s)
|
713
|
+
|
714
|
+
# query parameters
|
715
|
+
query_params = {}
|
716
|
+
|
717
|
+
# header parameters
|
718
|
+
header_params = {}
|
719
|
+
|
720
|
+
# HTTP header 'Accept' (if needed)
|
721
|
+
local_header_accept = ['application/json']
|
722
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
723
|
+
|
724
|
+
# HTTP header 'Content-Type'
|
725
|
+
local_header_content_type = ['application/json']
|
726
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
727
|
+
|
728
|
+
# form parameters
|
729
|
+
form_params = {}
|
730
|
+
|
731
|
+
# http body (model)
|
732
|
+
post_body = nil
|
733
|
+
auth_names = ['PureCloud Auth']
|
734
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
735
|
+
:header_params => header_params,
|
736
|
+
:query_params => query_params,
|
737
|
+
:form_params => form_params,
|
738
|
+
:body => post_body,
|
739
|
+
:auth_names => auth_names,
|
740
|
+
:return_type => 'CallbackConversation')
|
741
|
+
if @api_client.config.debugging
|
742
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_callback\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
743
|
+
end
|
744
|
+
return data, status_code, headers
|
745
|
+
end
|
746
|
+
|
747
|
+
# Get the wrap-up for this conversation participant.
|
748
|
+
#
|
749
|
+
# @param callback_id callbackId
|
750
|
+
# @param participant_id participantId
|
751
|
+
# @param [Hash] opts the optional parameters
|
752
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
|
753
|
+
# @return [Wrapup]
|
754
|
+
def get_conversations_callback_participant_wrapup(callback_id, participant_id, opts = {})
|
755
|
+
data, _status_code, _headers = get_conversations_callback_participant_wrapup_with_http_info(callback_id, participant_id, opts)
|
756
|
+
return data
|
757
|
+
end
|
758
|
+
|
759
|
+
# Get the wrap-up for this conversation participant.
|
760
|
+
#
|
761
|
+
# @param callback_id callbackId
|
762
|
+
# @param participant_id participantId
|
763
|
+
# @param [Hash] opts the optional parameters
|
764
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
765
|
+
# @return [Array<(Wrapup, Fixnum, Hash)>] Wrapup data, response status code and response headers
|
766
|
+
def get_conversations_callback_participant_wrapup_with_http_info(callback_id, participant_id, opts = {})
|
767
|
+
if @api_client.config.debugging
|
768
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_callback_participant_wrapup ..."
|
769
|
+
end
|
770
|
+
# verify the required parameter 'callback_id' is set
|
771
|
+
fail ArgumentError, "Missing the required parameter 'callback_id' when calling ConversationsApi.get_conversations_callback_participant_wrapup" if callback_id.nil?
|
772
|
+
# verify the required parameter 'participant_id' is set
|
773
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_callback_participant_wrapup" if participant_id.nil?
|
774
|
+
# resource path
|
775
|
+
local_var_path = "/api/v2/conversations/callbacks/{callbackId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
776
|
+
|
777
|
+
# query parameters
|
778
|
+
query_params = {}
|
779
|
+
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
780
|
+
|
781
|
+
# header parameters
|
782
|
+
header_params = {}
|
783
|
+
|
784
|
+
# HTTP header 'Accept' (if needed)
|
785
|
+
local_header_accept = ['application/json']
|
786
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
787
|
+
|
788
|
+
# HTTP header 'Content-Type'
|
789
|
+
local_header_content_type = ['application/json']
|
790
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
791
|
+
|
792
|
+
# form parameters
|
793
|
+
form_params = {}
|
794
|
+
|
795
|
+
# http body (model)
|
796
|
+
post_body = nil
|
797
|
+
auth_names = ['PureCloud Auth']
|
798
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
799
|
+
:header_params => header_params,
|
800
|
+
:query_params => query_params,
|
801
|
+
:form_params => form_params,
|
802
|
+
:body => post_body,
|
803
|
+
:auth_names => auth_names,
|
804
|
+
:return_type => 'Wrapup')
|
805
|
+
if @api_client.config.debugging
|
806
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_callback_participant_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
807
|
+
end
|
808
|
+
return data, status_code, headers
|
809
|
+
end
|
810
|
+
|
811
|
+
# Get list of wrapup codes for this conversation participant
|
812
|
+
#
|
813
|
+
# @param callback_id callbackId
|
814
|
+
# @param participant_id participantId
|
815
|
+
# @param [Hash] opts the optional parameters
|
816
|
+
# @return [Array<WrapupCode>]
|
817
|
+
def get_conversations_callback_participant_wrapupcodes(callback_id, participant_id, opts = {})
|
818
|
+
data, _status_code, _headers = get_conversations_callback_participant_wrapupcodes_with_http_info(callback_id, participant_id, opts)
|
819
|
+
return data
|
820
|
+
end
|
821
|
+
|
822
|
+
# Get list of wrapup codes for this conversation participant
|
823
|
+
#
|
824
|
+
# @param callback_id callbackId
|
825
|
+
# @param participant_id participantId
|
826
|
+
# @param [Hash] opts the optional parameters
|
827
|
+
# @return [Array<(Array<WrapupCode>, Fixnum, Hash)>] Array<WrapupCode> data, response status code and response headers
|
828
|
+
def get_conversations_callback_participant_wrapupcodes_with_http_info(callback_id, participant_id, opts = {})
|
829
|
+
if @api_client.config.debugging
|
830
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_callback_participant_wrapupcodes ..."
|
831
|
+
end
|
832
|
+
# verify the required parameter 'callback_id' is set
|
833
|
+
fail ArgumentError, "Missing the required parameter 'callback_id' when calling ConversationsApi.get_conversations_callback_participant_wrapupcodes" if callback_id.nil?
|
834
|
+
# verify the required parameter 'participant_id' is set
|
835
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_callback_participant_wrapupcodes" if participant_id.nil?
|
836
|
+
# resource path
|
837
|
+
local_var_path = "/api/v2/conversations/callbacks/{callbackId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
838
|
+
|
839
|
+
# query parameters
|
840
|
+
query_params = {}
|
841
|
+
|
842
|
+
# header parameters
|
843
|
+
header_params = {}
|
844
|
+
|
845
|
+
# HTTP header 'Accept' (if needed)
|
846
|
+
local_header_accept = ['application/json']
|
847
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
848
|
+
|
849
|
+
# HTTP header 'Content-Type'
|
850
|
+
local_header_content_type = ['application/json']
|
851
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
852
|
+
|
853
|
+
# form parameters
|
854
|
+
form_params = {}
|
855
|
+
|
856
|
+
# http body (model)
|
857
|
+
post_body = nil
|
858
|
+
auth_names = ['PureCloud Auth']
|
859
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
860
|
+
:header_params => header_params,
|
861
|
+
:query_params => query_params,
|
862
|
+
:form_params => form_params,
|
863
|
+
:body => post_body,
|
864
|
+
:auth_names => auth_names,
|
865
|
+
:return_type => 'Array<WrapupCode>')
|
866
|
+
if @api_client.config.debugging
|
867
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_callback_participant_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
868
|
+
end
|
869
|
+
return data, status_code, headers
|
870
|
+
end
|
871
|
+
|
872
|
+
# Get callback conversations
|
873
|
+
#
|
874
|
+
# @param [Hash] opts the optional parameters
|
875
|
+
# @return [CallbackConversationEntityListing]
|
876
|
+
def get_conversations_callbacks(opts = {})
|
877
|
+
data, _status_code, _headers = get_conversations_callbacks_with_http_info(opts)
|
878
|
+
return data
|
879
|
+
end
|
880
|
+
|
881
|
+
# Get callback conversations
|
882
|
+
#
|
883
|
+
# @param [Hash] opts the optional parameters
|
884
|
+
# @return [Array<(CallbackConversationEntityListing, Fixnum, Hash)>] CallbackConversationEntityListing data, response status code and response headers
|
885
|
+
def get_conversations_callbacks_with_http_info(opts = {})
|
886
|
+
if @api_client.config.debugging
|
887
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_callbacks ..."
|
888
|
+
end
|
889
|
+
# resource path
|
890
|
+
local_var_path = "/api/v2/conversations/callbacks".sub('{format}','json')
|
891
|
+
|
892
|
+
# query parameters
|
893
|
+
query_params = {}
|
894
|
+
|
895
|
+
# header parameters
|
896
|
+
header_params = {}
|
897
|
+
|
898
|
+
# HTTP header 'Accept' (if needed)
|
899
|
+
local_header_accept = ['application/json']
|
900
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
901
|
+
|
902
|
+
# HTTP header 'Content-Type'
|
903
|
+
local_header_content_type = ['application/json']
|
904
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
905
|
+
|
906
|
+
# form parameters
|
907
|
+
form_params = {}
|
908
|
+
|
909
|
+
# http body (model)
|
910
|
+
post_body = nil
|
911
|
+
auth_names = ['PureCloud Auth']
|
912
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
913
|
+
:header_params => header_params,
|
914
|
+
:query_params => query_params,
|
915
|
+
:form_params => form_params,
|
916
|
+
:body => post_body,
|
917
|
+
:auth_names => auth_names,
|
918
|
+
:return_type => 'CallbackConversationEntityListing')
|
919
|
+
if @api_client.config.debugging
|
920
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_callbacks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
921
|
+
end
|
922
|
+
return data, status_code, headers
|
923
|
+
end
|
924
|
+
|
925
|
+
# Get recent conversations
|
926
|
+
#
|
927
|
+
# @param [Hash] opts the optional parameters
|
928
|
+
# @return [CallConversationEntityListing]
|
929
|
+
def get_conversations_calls(opts = {})
|
930
|
+
data, _status_code, _headers = get_conversations_calls_with_http_info(opts)
|
931
|
+
return data
|
932
|
+
end
|
933
|
+
|
934
|
+
# Get recent conversations
|
935
|
+
#
|
936
|
+
# @param [Hash] opts the optional parameters
|
937
|
+
# @return [Array<(CallConversationEntityListing, Fixnum, Hash)>] CallConversationEntityListing data, response status code and response headers
|
938
|
+
def get_conversations_calls_with_http_info(opts = {})
|
939
|
+
if @api_client.config.debugging
|
940
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_calls ..."
|
941
|
+
end
|
942
|
+
# resource path
|
943
|
+
local_var_path = "/api/v2/conversations/calls".sub('{format}','json')
|
944
|
+
|
945
|
+
# query parameters
|
946
|
+
query_params = {}
|
947
|
+
|
948
|
+
# header parameters
|
949
|
+
header_params = {}
|
950
|
+
|
951
|
+
# HTTP header 'Accept' (if needed)
|
952
|
+
local_header_accept = ['application/json']
|
953
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
954
|
+
|
955
|
+
# HTTP header 'Content-Type'
|
956
|
+
local_header_content_type = ['application/json']
|
957
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
958
|
+
|
959
|
+
# form parameters
|
960
|
+
form_params = {}
|
961
|
+
|
962
|
+
# http body (model)
|
963
|
+
post_body = nil
|
964
|
+
auth_names = ['PureCloud Auth']
|
965
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
966
|
+
:header_params => header_params,
|
967
|
+
:query_params => query_params,
|
968
|
+
:form_params => form_params,
|
969
|
+
:body => post_body,
|
970
|
+
:auth_names => auth_names,
|
971
|
+
:return_type => 'CallConversationEntityListing')
|
972
|
+
if @api_client.config.debugging
|
973
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_calls\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
974
|
+
end
|
975
|
+
return data, status_code, headers
|
976
|
+
end
|
977
|
+
|
978
|
+
# Get call history
|
979
|
+
#
|
980
|
+
# @param [Hash] opts the optional parameters
|
981
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
982
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
983
|
+
# @option opts [String] :interval Interval string; format is ISO-8601. Separate start and end times with forward slash '/'
|
984
|
+
# @return [CallConversationEntityListing]
|
985
|
+
def get_conversations_calls_history(opts = {})
|
986
|
+
data, _status_code, _headers = get_conversations_calls_history_with_http_info(opts)
|
987
|
+
return data
|
988
|
+
end
|
989
|
+
|
990
|
+
# Get call history
|
991
|
+
#
|
992
|
+
# @param [Hash] opts the optional parameters
|
993
|
+
# @option opts [Integer] :page_size Page size
|
994
|
+
# @option opts [Integer] :page_number Page number
|
995
|
+
# @option opts [String] :interval Interval string; format is ISO-8601. Separate start and end times with forward slash '/'
|
996
|
+
# @return [Array<(CallConversationEntityListing, Fixnum, Hash)>] CallConversationEntityListing data, response status code and response headers
|
997
|
+
def get_conversations_calls_history_with_http_info(opts = {})
|
998
|
+
if @api_client.config.debugging
|
999
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_calls_history ..."
|
1000
|
+
end
|
1001
|
+
# resource path
|
1002
|
+
local_var_path = "/api/v2/conversations/calls/history".sub('{format}','json')
|
1003
|
+
|
1004
|
+
# query parameters
|
1005
|
+
query_params = {}
|
1006
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
1007
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
1008
|
+
query_params[:'interval'] = opts[:'interval'] if opts[:'interval']
|
1009
|
+
|
1010
|
+
# header parameters
|
1011
|
+
header_params = {}
|
1012
|
+
|
1013
|
+
# HTTP header 'Accept' (if needed)
|
1014
|
+
local_header_accept = ['application/json']
|
1015
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1016
|
+
|
1017
|
+
# HTTP header 'Content-Type'
|
1018
|
+
local_header_content_type = ['application/json']
|
1019
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1020
|
+
|
1021
|
+
# form parameters
|
1022
|
+
form_params = {}
|
1023
|
+
|
1024
|
+
# http body (model)
|
1025
|
+
post_body = nil
|
1026
|
+
auth_names = ['PureCloud Auth']
|
1027
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1028
|
+
:header_params => header_params,
|
1029
|
+
:query_params => query_params,
|
1030
|
+
:form_params => form_params,
|
1031
|
+
:body => post_body,
|
1032
|
+
:auth_names => auth_names,
|
1033
|
+
:return_type => 'CallConversationEntityListing')
|
1034
|
+
if @api_client.config.debugging
|
1035
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_calls_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1036
|
+
end
|
1037
|
+
return data, status_code, headers
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
# Get the maximum number of participants that this user can have on a conference
|
1041
|
+
#
|
1042
|
+
# @param [Hash] opts the optional parameters
|
1043
|
+
# @return [MaxParticipants]
|
1044
|
+
def get_conversations_calls_maximumconferenceparties(opts = {})
|
1045
|
+
data, _status_code, _headers = get_conversations_calls_maximumconferenceparties_with_http_info(opts)
|
1046
|
+
return data
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
# Get the maximum number of participants that this user can have on a conference
|
1050
|
+
#
|
1051
|
+
# @param [Hash] opts the optional parameters
|
1052
|
+
# @return [Array<(MaxParticipants, Fixnum, Hash)>] MaxParticipants data, response status code and response headers
|
1053
|
+
def get_conversations_calls_maximumconferenceparties_with_http_info(opts = {})
|
1054
|
+
if @api_client.config.debugging
|
1055
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_calls_maximumconferenceparties ..."
|
1056
|
+
end
|
1057
|
+
# resource path
|
1058
|
+
local_var_path = "/api/v2/conversations/calls/maximumconferenceparties".sub('{format}','json')
|
1059
|
+
|
1060
|
+
# query parameters
|
1061
|
+
query_params = {}
|
1062
|
+
|
1063
|
+
# header parameters
|
1064
|
+
header_params = {}
|
1065
|
+
|
1066
|
+
# HTTP header 'Accept' (if needed)
|
1067
|
+
local_header_accept = ['application/json']
|
1068
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1069
|
+
|
1070
|
+
# HTTP header 'Content-Type'
|
1071
|
+
local_header_content_type = ['application/json']
|
1072
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1073
|
+
|
1074
|
+
# form parameters
|
1075
|
+
form_params = {}
|
1076
|
+
|
1077
|
+
# http body (model)
|
1078
|
+
post_body = nil
|
1079
|
+
auth_names = ['PureCloud Auth']
|
1080
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1081
|
+
:header_params => header_params,
|
1082
|
+
:query_params => query_params,
|
1083
|
+
:form_params => form_params,
|
1084
|
+
:body => post_body,
|
1085
|
+
:auth_names => auth_names,
|
1086
|
+
:return_type => 'MaxParticipants')
|
1087
|
+
if @api_client.config.debugging
|
1088
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_calls_maximumconferenceparties\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1089
|
+
end
|
1090
|
+
return data, status_code, headers
|
1091
|
+
end
|
1092
|
+
|
1093
|
+
# Get chat conversation
|
1094
|
+
#
|
1095
|
+
# @param chat_id chatId
|
1096
|
+
# @param [Hash] opts the optional parameters
|
1097
|
+
# @return [ChatConversation]
|
1098
|
+
def get_conversations_chat(chat_id, opts = {})
|
1099
|
+
data, _status_code, _headers = get_conversations_chat_with_http_info(chat_id, opts)
|
1100
|
+
return data
|
1101
|
+
end
|
1102
|
+
|
1103
|
+
# Get chat conversation
|
1104
|
+
#
|
1105
|
+
# @param chat_id chatId
|
1106
|
+
# @param [Hash] opts the optional parameters
|
1107
|
+
# @return [Array<(ChatConversation, Fixnum, Hash)>] ChatConversation data, response status code and response headers
|
1108
|
+
def get_conversations_chat_with_http_info(chat_id, opts = {})
|
1109
|
+
if @api_client.config.debugging
|
1110
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_chat ..."
|
1111
|
+
end
|
1112
|
+
# verify the required parameter 'chat_id' is set
|
1113
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ConversationsApi.get_conversations_chat" if chat_id.nil?
|
1114
|
+
# resource path
|
1115
|
+
local_var_path = "/api/v2/conversations/chats/{chatId}".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s)
|
1116
|
+
|
1117
|
+
# query parameters
|
1118
|
+
query_params = {}
|
1119
|
+
|
1120
|
+
# header parameters
|
1121
|
+
header_params = {}
|
1122
|
+
|
1123
|
+
# HTTP header 'Accept' (if needed)
|
1124
|
+
local_header_accept = ['application/json']
|
1125
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1126
|
+
|
1127
|
+
# HTTP header 'Content-Type'
|
1128
|
+
local_header_content_type = ['application/json']
|
1129
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1130
|
+
|
1131
|
+
# form parameters
|
1132
|
+
form_params = {}
|
1133
|
+
|
1134
|
+
# http body (model)
|
1135
|
+
post_body = nil
|
1136
|
+
auth_names = ['PureCloud Auth']
|
1137
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1138
|
+
:header_params => header_params,
|
1139
|
+
:query_params => query_params,
|
1140
|
+
:form_params => form_params,
|
1141
|
+
:body => post_body,
|
1142
|
+
:auth_names => auth_names,
|
1143
|
+
:return_type => 'ChatConversation')
|
1144
|
+
if @api_client.config.debugging
|
1145
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_chat\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1146
|
+
end
|
1147
|
+
return data, status_code, headers
|
1148
|
+
end
|
1149
|
+
|
1150
|
+
# Get the wrap-up for this conversation participant.
|
1151
|
+
#
|
1152
|
+
# @param chat_id chatId
|
1153
|
+
# @param participant_id participantId
|
1154
|
+
# @param [Hash] opts the optional parameters
|
1155
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
|
1156
|
+
# @return [Wrapup]
|
1157
|
+
def get_conversations_chat_participant_wrapup(chat_id, participant_id, opts = {})
|
1158
|
+
data, _status_code, _headers = get_conversations_chat_participant_wrapup_with_http_info(chat_id, participant_id, opts)
|
1159
|
+
return data
|
1160
|
+
end
|
1161
|
+
|
1162
|
+
# Get the wrap-up for this conversation participant.
|
1163
|
+
#
|
1164
|
+
# @param chat_id chatId
|
1165
|
+
# @param participant_id participantId
|
1166
|
+
# @param [Hash] opts the optional parameters
|
1167
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
1168
|
+
# @return [Array<(Wrapup, Fixnum, Hash)>] Wrapup data, response status code and response headers
|
1169
|
+
def get_conversations_chat_participant_wrapup_with_http_info(chat_id, participant_id, opts = {})
|
1170
|
+
if @api_client.config.debugging
|
1171
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_chat_participant_wrapup ..."
|
1172
|
+
end
|
1173
|
+
# verify the required parameter 'chat_id' is set
|
1174
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ConversationsApi.get_conversations_chat_participant_wrapup" if chat_id.nil?
|
1175
|
+
# verify the required parameter 'participant_id' is set
|
1176
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_chat_participant_wrapup" if participant_id.nil?
|
1177
|
+
# resource path
|
1178
|
+
local_var_path = "/api/v2/conversations/chats/{chatId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
1179
|
+
|
1180
|
+
# query parameters
|
1181
|
+
query_params = {}
|
1182
|
+
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
1183
|
+
|
1184
|
+
# header parameters
|
1185
|
+
header_params = {}
|
1186
|
+
|
1187
|
+
# HTTP header 'Accept' (if needed)
|
1188
|
+
local_header_accept = ['application/json']
|
1189
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1190
|
+
|
1191
|
+
# HTTP header 'Content-Type'
|
1192
|
+
local_header_content_type = ['application/json']
|
1193
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1194
|
+
|
1195
|
+
# form parameters
|
1196
|
+
form_params = {}
|
1197
|
+
|
1198
|
+
# http body (model)
|
1199
|
+
post_body = nil
|
1200
|
+
auth_names = ['PureCloud Auth']
|
1201
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1202
|
+
:header_params => header_params,
|
1203
|
+
:query_params => query_params,
|
1204
|
+
:form_params => form_params,
|
1205
|
+
:body => post_body,
|
1206
|
+
:auth_names => auth_names,
|
1207
|
+
:return_type => 'Wrapup')
|
1208
|
+
if @api_client.config.debugging
|
1209
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_chat_participant_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1210
|
+
end
|
1211
|
+
return data, status_code, headers
|
1212
|
+
end
|
1213
|
+
|
1214
|
+
# Get list of wrapup codes for this conversation participant
|
1215
|
+
#
|
1216
|
+
# @param chat_id chatId
|
1217
|
+
# @param participant_id participantId
|
1218
|
+
# @param [Hash] opts the optional parameters
|
1219
|
+
# @return [Array<WrapupCode>]
|
1220
|
+
def get_conversations_chat_participant_wrapupcodes(chat_id, participant_id, opts = {})
|
1221
|
+
data, _status_code, _headers = get_conversations_chat_participant_wrapupcodes_with_http_info(chat_id, participant_id, opts)
|
1222
|
+
return data
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
# Get list of wrapup codes for this conversation participant
|
1226
|
+
#
|
1227
|
+
# @param chat_id chatId
|
1228
|
+
# @param participant_id participantId
|
1229
|
+
# @param [Hash] opts the optional parameters
|
1230
|
+
# @return [Array<(Array<WrapupCode>, Fixnum, Hash)>] Array<WrapupCode> data, response status code and response headers
|
1231
|
+
def get_conversations_chat_participant_wrapupcodes_with_http_info(chat_id, participant_id, opts = {})
|
1232
|
+
if @api_client.config.debugging
|
1233
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_chat_participant_wrapupcodes ..."
|
1234
|
+
end
|
1235
|
+
# verify the required parameter 'chat_id' is set
|
1236
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ConversationsApi.get_conversations_chat_participant_wrapupcodes" if chat_id.nil?
|
1237
|
+
# verify the required parameter 'participant_id' is set
|
1238
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_chat_participant_wrapupcodes" if participant_id.nil?
|
1239
|
+
# resource path
|
1240
|
+
local_var_path = "/api/v2/conversations/chats/{chatId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
1241
|
+
|
1242
|
+
# query parameters
|
1243
|
+
query_params = {}
|
1244
|
+
|
1245
|
+
# header parameters
|
1246
|
+
header_params = {}
|
1247
|
+
|
1248
|
+
# HTTP header 'Accept' (if needed)
|
1249
|
+
local_header_accept = ['application/json']
|
1250
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1251
|
+
|
1252
|
+
# HTTP header 'Content-Type'
|
1253
|
+
local_header_content_type = ['application/json']
|
1254
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1255
|
+
|
1256
|
+
# form parameters
|
1257
|
+
form_params = {}
|
1258
|
+
|
1259
|
+
# http body (model)
|
1260
|
+
post_body = nil
|
1261
|
+
auth_names = ['PureCloud Auth']
|
1262
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1263
|
+
:header_params => header_params,
|
1264
|
+
:query_params => query_params,
|
1265
|
+
:form_params => form_params,
|
1266
|
+
:body => post_body,
|
1267
|
+
:auth_names => auth_names,
|
1268
|
+
:return_type => 'Array<WrapupCode>')
|
1269
|
+
if @api_client.config.debugging
|
1270
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_chat_participant_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1271
|
+
end
|
1272
|
+
return data, status_code, headers
|
1273
|
+
end
|
1274
|
+
|
1275
|
+
# Get recent chat conversations
|
1276
|
+
#
|
1277
|
+
# @param [Hash] opts the optional parameters
|
1278
|
+
# @return [ChatConversationEntityListing]
|
1279
|
+
def get_conversations_chats(opts = {})
|
1280
|
+
data, _status_code, _headers = get_conversations_chats_with_http_info(opts)
|
1281
|
+
return data
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
# Get recent chat conversations
|
1285
|
+
#
|
1286
|
+
# @param [Hash] opts the optional parameters
|
1287
|
+
# @return [Array<(ChatConversationEntityListing, Fixnum, Hash)>] ChatConversationEntityListing data, response status code and response headers
|
1288
|
+
def get_conversations_chats_with_http_info(opts = {})
|
1289
|
+
if @api_client.config.debugging
|
1290
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_chats ..."
|
1291
|
+
end
|
1292
|
+
# resource path
|
1293
|
+
local_var_path = "/api/v2/conversations/chats".sub('{format}','json')
|
1294
|
+
|
1295
|
+
# query parameters
|
1296
|
+
query_params = {}
|
1297
|
+
|
1298
|
+
# header parameters
|
1299
|
+
header_params = {}
|
1300
|
+
|
1301
|
+
# HTTP header 'Accept' (if needed)
|
1302
|
+
local_header_accept = ['application/json']
|
1303
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1304
|
+
|
1305
|
+
# HTTP header 'Content-Type'
|
1306
|
+
local_header_content_type = ['application/json']
|
1307
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1308
|
+
|
1309
|
+
# form parameters
|
1310
|
+
form_params = {}
|
1311
|
+
|
1312
|
+
# http body (model)
|
1313
|
+
post_body = nil
|
1314
|
+
auth_names = ['PureCloud Auth']
|
1315
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1316
|
+
:header_params => header_params,
|
1317
|
+
:query_params => query_params,
|
1318
|
+
:form_params => form_params,
|
1319
|
+
:body => post_body,
|
1320
|
+
:auth_names => auth_names,
|
1321
|
+
:return_type => 'ChatConversationEntityListing')
|
1322
|
+
if @api_client.config.debugging
|
1323
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_chats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1324
|
+
end
|
1325
|
+
return data, status_code, headers
|
1326
|
+
end
|
1327
|
+
|
1328
|
+
# Get cobrowse conversation
|
1329
|
+
#
|
1330
|
+
# @param cobrowse_id cobrowseId
|
1331
|
+
# @param [Hash] opts the optional parameters
|
1332
|
+
# @return [CobrowseConversation]
|
1333
|
+
def get_conversations_cobrowsesession(cobrowse_id, opts = {})
|
1334
|
+
data, _status_code, _headers = get_conversations_cobrowsesession_with_http_info(cobrowse_id, opts)
|
1335
|
+
return data
|
1336
|
+
end
|
1337
|
+
|
1338
|
+
# Get cobrowse conversation
|
1339
|
+
#
|
1340
|
+
# @param cobrowse_id cobrowseId
|
1341
|
+
# @param [Hash] opts the optional parameters
|
1342
|
+
# @return [Array<(CobrowseConversation, Fixnum, Hash)>] CobrowseConversation data, response status code and response headers
|
1343
|
+
def get_conversations_cobrowsesession_with_http_info(cobrowse_id, opts = {})
|
1344
|
+
if @api_client.config.debugging
|
1345
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_cobrowsesession ..."
|
1346
|
+
end
|
1347
|
+
# verify the required parameter 'cobrowse_id' is set
|
1348
|
+
fail ArgumentError, "Missing the required parameter 'cobrowse_id' when calling ConversationsApi.get_conversations_cobrowsesession" if cobrowse_id.nil?
|
1349
|
+
# resource path
|
1350
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions/{cobrowseId}".sub('{format}','json').sub('{' + 'cobrowseId' + '}', cobrowse_id.to_s)
|
1351
|
+
|
1352
|
+
# query parameters
|
1353
|
+
query_params = {}
|
1354
|
+
|
1355
|
+
# header parameters
|
1356
|
+
header_params = {}
|
1357
|
+
|
1358
|
+
# HTTP header 'Accept' (if needed)
|
1359
|
+
local_header_accept = ['application/json']
|
1360
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1361
|
+
|
1362
|
+
# HTTP header 'Content-Type'
|
1363
|
+
local_header_content_type = ['application/json']
|
1364
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1365
|
+
|
1366
|
+
# form parameters
|
1367
|
+
form_params = {}
|
1368
|
+
|
1369
|
+
# http body (model)
|
1370
|
+
post_body = nil
|
1371
|
+
auth_names = ['PureCloud Auth']
|
1372
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1373
|
+
:header_params => header_params,
|
1374
|
+
:query_params => query_params,
|
1375
|
+
:form_params => form_params,
|
1376
|
+
:body => post_body,
|
1377
|
+
:auth_names => auth_names,
|
1378
|
+
:return_type => 'CobrowseConversation')
|
1379
|
+
if @api_client.config.debugging
|
1380
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_cobrowsesession\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1381
|
+
end
|
1382
|
+
return data, status_code, headers
|
1383
|
+
end
|
1384
|
+
|
1385
|
+
# Get the wrap-up for this conversation participant.
|
1386
|
+
#
|
1387
|
+
# @param cobrowse_id cobrowseId
|
1388
|
+
# @param participant_id participantId
|
1389
|
+
# @param [Hash] opts the optional parameters
|
1390
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
|
1391
|
+
# @return [Wrapup]
|
1392
|
+
def get_conversations_cobrowsesession_participant_wrapup(cobrowse_id, participant_id, opts = {})
|
1393
|
+
data, _status_code, _headers = get_conversations_cobrowsesession_participant_wrapup_with_http_info(cobrowse_id, participant_id, opts)
|
1394
|
+
return data
|
1395
|
+
end
|
1396
|
+
|
1397
|
+
# Get the wrap-up for this conversation participant.
|
1398
|
+
#
|
1399
|
+
# @param cobrowse_id cobrowseId
|
1400
|
+
# @param participant_id participantId
|
1401
|
+
# @param [Hash] opts the optional parameters
|
1402
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
1403
|
+
# @return [Array<(Wrapup, Fixnum, Hash)>] Wrapup data, response status code and response headers
|
1404
|
+
def get_conversations_cobrowsesession_participant_wrapup_with_http_info(cobrowse_id, participant_id, opts = {})
|
1405
|
+
if @api_client.config.debugging
|
1406
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_cobrowsesession_participant_wrapup ..."
|
1407
|
+
end
|
1408
|
+
# verify the required parameter 'cobrowse_id' is set
|
1409
|
+
fail ArgumentError, "Missing the required parameter 'cobrowse_id' when calling ConversationsApi.get_conversations_cobrowsesession_participant_wrapup" if cobrowse_id.nil?
|
1410
|
+
# verify the required parameter 'participant_id' is set
|
1411
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_cobrowsesession_participant_wrapup" if participant_id.nil?
|
1412
|
+
# resource path
|
1413
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions/{cobrowseId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'cobrowseId' + '}', cobrowse_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
1414
|
+
|
1415
|
+
# query parameters
|
1416
|
+
query_params = {}
|
1417
|
+
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
1418
|
+
|
1419
|
+
# header parameters
|
1420
|
+
header_params = {}
|
1421
|
+
|
1422
|
+
# HTTP header 'Accept' (if needed)
|
1423
|
+
local_header_accept = ['application/json']
|
1424
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1425
|
+
|
1426
|
+
# HTTP header 'Content-Type'
|
1427
|
+
local_header_content_type = ['application/json']
|
1428
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1429
|
+
|
1430
|
+
# form parameters
|
1431
|
+
form_params = {}
|
1432
|
+
|
1433
|
+
# http body (model)
|
1434
|
+
post_body = nil
|
1435
|
+
auth_names = ['PureCloud Auth']
|
1436
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1437
|
+
:header_params => header_params,
|
1438
|
+
:query_params => query_params,
|
1439
|
+
:form_params => form_params,
|
1440
|
+
:body => post_body,
|
1441
|
+
:auth_names => auth_names,
|
1442
|
+
:return_type => 'Wrapup')
|
1443
|
+
if @api_client.config.debugging
|
1444
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_cobrowsesession_participant_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1445
|
+
end
|
1446
|
+
return data, status_code, headers
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
# Get list of wrapup codes for this conversation participant
|
1450
|
+
#
|
1451
|
+
# @param cobrowse_id cobrowseId
|
1452
|
+
# @param participant_id participantId
|
1453
|
+
# @param [Hash] opts the optional parameters
|
1454
|
+
# @return [Array<WrapupCode>]
|
1455
|
+
def get_conversations_cobrowsesession_participant_wrapupcodes(cobrowse_id, participant_id, opts = {})
|
1456
|
+
data, _status_code, _headers = get_conversations_cobrowsesession_participant_wrapupcodes_with_http_info(cobrowse_id, participant_id, opts)
|
1457
|
+
return data
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
# Get list of wrapup codes for this conversation participant
|
1461
|
+
#
|
1462
|
+
# @param cobrowse_id cobrowseId
|
1463
|
+
# @param participant_id participantId
|
1464
|
+
# @param [Hash] opts the optional parameters
|
1465
|
+
# @return [Array<(Array<WrapupCode>, Fixnum, Hash)>] Array<WrapupCode> data, response status code and response headers
|
1466
|
+
def get_conversations_cobrowsesession_participant_wrapupcodes_with_http_info(cobrowse_id, participant_id, opts = {})
|
1467
|
+
if @api_client.config.debugging
|
1468
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_cobrowsesession_participant_wrapupcodes ..."
|
1469
|
+
end
|
1470
|
+
# verify the required parameter 'cobrowse_id' is set
|
1471
|
+
fail ArgumentError, "Missing the required parameter 'cobrowse_id' when calling ConversationsApi.get_conversations_cobrowsesession_participant_wrapupcodes" if cobrowse_id.nil?
|
1472
|
+
# verify the required parameter 'participant_id' is set
|
1473
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_cobrowsesession_participant_wrapupcodes" if participant_id.nil?
|
1474
|
+
# resource path
|
1475
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions/{cobrowseId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'cobrowseId' + '}', cobrowse_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
1476
|
+
|
1477
|
+
# query parameters
|
1478
|
+
query_params = {}
|
1479
|
+
|
1480
|
+
# header parameters
|
1481
|
+
header_params = {}
|
1482
|
+
|
1483
|
+
# HTTP header 'Accept' (if needed)
|
1484
|
+
local_header_accept = ['application/json']
|
1485
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1486
|
+
|
1487
|
+
# HTTP header 'Content-Type'
|
1488
|
+
local_header_content_type = ['application/json']
|
1489
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1490
|
+
|
1491
|
+
# form parameters
|
1492
|
+
form_params = {}
|
1493
|
+
|
1494
|
+
# http body (model)
|
1495
|
+
post_body = nil
|
1496
|
+
auth_names = ['PureCloud Auth']
|
1497
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1498
|
+
:header_params => header_params,
|
1499
|
+
:query_params => query_params,
|
1500
|
+
:form_params => form_params,
|
1501
|
+
:body => post_body,
|
1502
|
+
:auth_names => auth_names,
|
1503
|
+
:return_type => 'Array<WrapupCode>')
|
1504
|
+
if @api_client.config.debugging
|
1505
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_cobrowsesession_participant_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1506
|
+
end
|
1507
|
+
return data, status_code, headers
|
1508
|
+
end
|
1509
|
+
|
1510
|
+
# Get recent cobrowse conversations
|
1511
|
+
#
|
1512
|
+
# @param [Hash] opts the optional parameters
|
1513
|
+
# @return [CobrowseConversationEntityListing]
|
1514
|
+
def get_conversations_cobrowsesessions(opts = {})
|
1515
|
+
data, _status_code, _headers = get_conversations_cobrowsesessions_with_http_info(opts)
|
1516
|
+
return data
|
1517
|
+
end
|
1518
|
+
|
1519
|
+
# Get recent cobrowse conversations
|
1520
|
+
#
|
1521
|
+
# @param [Hash] opts the optional parameters
|
1522
|
+
# @return [Array<(CobrowseConversationEntityListing, Fixnum, Hash)>] CobrowseConversationEntityListing data, response status code and response headers
|
1523
|
+
def get_conversations_cobrowsesessions_with_http_info(opts = {})
|
1524
|
+
if @api_client.config.debugging
|
1525
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_cobrowsesessions ..."
|
1526
|
+
end
|
1527
|
+
# resource path
|
1528
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions".sub('{format}','json')
|
1529
|
+
|
1530
|
+
# query parameters
|
1531
|
+
query_params = {}
|
1532
|
+
|
1533
|
+
# header parameters
|
1534
|
+
header_params = {}
|
1535
|
+
|
1536
|
+
# HTTP header 'Accept' (if needed)
|
1537
|
+
local_header_accept = ['application/json']
|
1538
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1539
|
+
|
1540
|
+
# HTTP header 'Content-Type'
|
1541
|
+
local_header_content_type = ['application/json']
|
1542
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1543
|
+
|
1544
|
+
# form parameters
|
1545
|
+
form_params = {}
|
1546
|
+
|
1547
|
+
# http body (model)
|
1548
|
+
post_body = nil
|
1549
|
+
auth_names = ['PureCloud Auth']
|
1550
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1551
|
+
:header_params => header_params,
|
1552
|
+
:query_params => query_params,
|
1553
|
+
:form_params => form_params,
|
1554
|
+
:body => post_body,
|
1555
|
+
:auth_names => auth_names,
|
1556
|
+
:return_type => 'CobrowseConversationEntityListing')
|
1557
|
+
if @api_client.config.debugging
|
1558
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_cobrowsesessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1559
|
+
end
|
1560
|
+
return data, status_code, headers
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
# Get email conversation
|
1564
|
+
#
|
1565
|
+
# @param email_id emailId
|
1566
|
+
# @param [Hash] opts the optional parameters
|
1567
|
+
# @return [EmailConversation]
|
1568
|
+
def get_conversations_email(email_id, opts = {})
|
1569
|
+
data, _status_code, _headers = get_conversations_email_with_http_info(email_id, opts)
|
1570
|
+
return data
|
1571
|
+
end
|
1572
|
+
|
1573
|
+
# Get email conversation
|
1574
|
+
#
|
1575
|
+
# @param email_id emailId
|
1576
|
+
# @param [Hash] opts the optional parameters
|
1577
|
+
# @return [Array<(EmailConversation, Fixnum, Hash)>] EmailConversation data, response status code and response headers
|
1578
|
+
def get_conversations_email_with_http_info(email_id, opts = {})
|
1579
|
+
if @api_client.config.debugging
|
1580
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_email ..."
|
1581
|
+
end
|
1582
|
+
# verify the required parameter 'email_id' is set
|
1583
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling ConversationsApi.get_conversations_email" if email_id.nil?
|
1584
|
+
# resource path
|
1585
|
+
local_var_path = "/api/v2/conversations/emails/{emailId}".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
|
1586
|
+
|
1587
|
+
# query parameters
|
1588
|
+
query_params = {}
|
1589
|
+
|
1590
|
+
# header parameters
|
1591
|
+
header_params = {}
|
1592
|
+
|
1593
|
+
# HTTP header 'Accept' (if needed)
|
1594
|
+
local_header_accept = ['application/json']
|
1595
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1596
|
+
|
1597
|
+
# HTTP header 'Content-Type'
|
1598
|
+
local_header_content_type = ['application/json']
|
1599
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1600
|
+
|
1601
|
+
# form parameters
|
1602
|
+
form_params = {}
|
1603
|
+
|
1604
|
+
# http body (model)
|
1605
|
+
post_body = nil
|
1606
|
+
auth_names = ['PureCloud Auth']
|
1607
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1608
|
+
:header_params => header_params,
|
1609
|
+
:query_params => query_params,
|
1610
|
+
:form_params => form_params,
|
1611
|
+
:body => post_body,
|
1612
|
+
:auth_names => auth_names,
|
1613
|
+
:return_type => 'EmailConversation')
|
1614
|
+
if @api_client.config.debugging
|
1615
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_email\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1616
|
+
end
|
1617
|
+
return data, status_code, headers
|
1618
|
+
end
|
1619
|
+
|
1620
|
+
# Get conversation message
|
1621
|
+
#
|
1622
|
+
# @param email_id emailId
|
1623
|
+
# @param message_id messageId
|
1624
|
+
# @param [Hash] opts the optional parameters
|
1625
|
+
# @return [EmailMessage]
|
1626
|
+
def get_conversations_email_message(email_id, message_id, opts = {})
|
1627
|
+
data, _status_code, _headers = get_conversations_email_message_with_http_info(email_id, message_id, opts)
|
1628
|
+
return data
|
1629
|
+
end
|
1630
|
+
|
1631
|
+
# Get conversation message
|
1632
|
+
#
|
1633
|
+
# @param email_id emailId
|
1634
|
+
# @param message_id messageId
|
1635
|
+
# @param [Hash] opts the optional parameters
|
1636
|
+
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
1637
|
+
def get_conversations_email_message_with_http_info(email_id, message_id, opts = {})
|
1638
|
+
if @api_client.config.debugging
|
1639
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_email_message ..."
|
1640
|
+
end
|
1641
|
+
# verify the required parameter 'email_id' is set
|
1642
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling ConversationsApi.get_conversations_email_message" if email_id.nil?
|
1643
|
+
# verify the required parameter 'message_id' is set
|
1644
|
+
fail ArgumentError, "Missing the required parameter 'message_id' when calling ConversationsApi.get_conversations_email_message" if message_id.nil?
|
1645
|
+
# resource path
|
1646
|
+
local_var_path = "/api/v2/conversations/emails/{emailId}/messages/{messageId}".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'messageId' + '}', message_id.to_s)
|
1647
|
+
|
1648
|
+
# query parameters
|
1649
|
+
query_params = {}
|
1650
|
+
|
1651
|
+
# header parameters
|
1652
|
+
header_params = {}
|
1653
|
+
|
1654
|
+
# HTTP header 'Accept' (if needed)
|
1655
|
+
local_header_accept = ['application/json']
|
1656
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1657
|
+
|
1658
|
+
# HTTP header 'Content-Type'
|
1659
|
+
local_header_content_type = ['application/json']
|
1660
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1661
|
+
|
1662
|
+
# form parameters
|
1663
|
+
form_params = {}
|
1664
|
+
|
1665
|
+
# http body (model)
|
1666
|
+
post_body = nil
|
1667
|
+
auth_names = ['PureCloud Auth']
|
1668
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1669
|
+
:header_params => header_params,
|
1670
|
+
:query_params => query_params,
|
1671
|
+
:form_params => form_params,
|
1672
|
+
:body => post_body,
|
1673
|
+
:auth_names => auth_names,
|
1674
|
+
:return_type => 'EmailMessage')
|
1675
|
+
if @api_client.config.debugging
|
1676
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_email_message\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1677
|
+
end
|
1678
|
+
return data, status_code, headers
|
1679
|
+
end
|
1680
|
+
|
1681
|
+
# Get conversation messages
|
1682
|
+
#
|
1683
|
+
# @param email_id emailId
|
1684
|
+
# @param [Hash] opts the optional parameters
|
1685
|
+
# @return [EmailMessageListing]
|
1686
|
+
def get_conversations_email_messages(email_id, opts = {})
|
1687
|
+
data, _status_code, _headers = get_conversations_email_messages_with_http_info(email_id, opts)
|
1688
|
+
return data
|
1689
|
+
end
|
1690
|
+
|
1691
|
+
# Get conversation messages
|
1692
|
+
#
|
1693
|
+
# @param email_id emailId
|
1694
|
+
# @param [Hash] opts the optional parameters
|
1695
|
+
# @return [Array<(EmailMessageListing, Fixnum, Hash)>] EmailMessageListing data, response status code and response headers
|
1696
|
+
def get_conversations_email_messages_with_http_info(email_id, opts = {})
|
1697
|
+
if @api_client.config.debugging
|
1698
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_email_messages ..."
|
1699
|
+
end
|
1700
|
+
# verify the required parameter 'email_id' is set
|
1701
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling ConversationsApi.get_conversations_email_messages" if email_id.nil?
|
1702
|
+
# resource path
|
1703
|
+
local_var_path = "/api/v2/conversations/emails/{emailId}/messages".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
|
1704
|
+
|
1705
|
+
# query parameters
|
1706
|
+
query_params = {}
|
1707
|
+
|
1708
|
+
# header parameters
|
1709
|
+
header_params = {}
|
1710
|
+
|
1711
|
+
# HTTP header 'Accept' (if needed)
|
1712
|
+
local_header_accept = ['application/json']
|
1713
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1714
|
+
|
1715
|
+
# HTTP header 'Content-Type'
|
1716
|
+
local_header_content_type = ['application/json']
|
1717
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1718
|
+
|
1719
|
+
# form parameters
|
1720
|
+
form_params = {}
|
1721
|
+
|
1722
|
+
# http body (model)
|
1723
|
+
post_body = nil
|
1724
|
+
auth_names = ['PureCloud Auth']
|
1725
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1726
|
+
:header_params => header_params,
|
1727
|
+
:query_params => query_params,
|
1728
|
+
:form_params => form_params,
|
1729
|
+
:body => post_body,
|
1730
|
+
:auth_names => auth_names,
|
1731
|
+
:return_type => 'EmailMessageListing')
|
1732
|
+
if @api_client.config.debugging
|
1733
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_email_messages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1734
|
+
end
|
1735
|
+
return data, status_code, headers
|
1736
|
+
end
|
1737
|
+
|
1738
|
+
# Get conversation draft reply
|
1739
|
+
#
|
1740
|
+
# @param email_id emailId
|
1741
|
+
# @param [Hash] opts the optional parameters
|
1742
|
+
# @return [EmailMessage]
|
1743
|
+
def get_conversations_email_messages_draft(email_id, opts = {})
|
1744
|
+
data, _status_code, _headers = get_conversations_email_messages_draft_with_http_info(email_id, opts)
|
1745
|
+
return data
|
1746
|
+
end
|
1747
|
+
|
1748
|
+
# Get conversation draft reply
|
1749
|
+
#
|
1750
|
+
# @param email_id emailId
|
1751
|
+
# @param [Hash] opts the optional parameters
|
1752
|
+
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
1753
|
+
def get_conversations_email_messages_draft_with_http_info(email_id, opts = {})
|
1754
|
+
if @api_client.config.debugging
|
1755
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_email_messages_draft ..."
|
1756
|
+
end
|
1757
|
+
# verify the required parameter 'email_id' is set
|
1758
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling ConversationsApi.get_conversations_email_messages_draft" if email_id.nil?
|
1759
|
+
# resource path
|
1760
|
+
local_var_path = "/api/v2/conversations/emails/{emailId}/messages/draft".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
|
1761
|
+
|
1762
|
+
# query parameters
|
1763
|
+
query_params = {}
|
1764
|
+
|
1765
|
+
# header parameters
|
1766
|
+
header_params = {}
|
1767
|
+
|
1768
|
+
# HTTP header 'Accept' (if needed)
|
1769
|
+
local_header_accept = ['application/json']
|
1770
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1771
|
+
|
1772
|
+
# HTTP header 'Content-Type'
|
1773
|
+
local_header_content_type = ['application/json']
|
1774
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1775
|
+
|
1776
|
+
# form parameters
|
1777
|
+
form_params = {}
|
1778
|
+
|
1779
|
+
# http body (model)
|
1780
|
+
post_body = nil
|
1781
|
+
auth_names = ['PureCloud Auth']
|
1782
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1783
|
+
:header_params => header_params,
|
1784
|
+
:query_params => query_params,
|
1785
|
+
:form_params => form_params,
|
1786
|
+
:body => post_body,
|
1787
|
+
:auth_names => auth_names,
|
1788
|
+
:return_type => 'EmailMessage')
|
1789
|
+
if @api_client.config.debugging
|
1790
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_email_messages_draft\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1791
|
+
end
|
1792
|
+
return data, status_code, headers
|
1793
|
+
end
|
1794
|
+
|
1795
|
+
# Get the wrap-up for this conversation participant.
|
1796
|
+
#
|
1797
|
+
# @param email_id emailId
|
1798
|
+
# @param participant_id participantId
|
1799
|
+
# @param [Hash] opts the optional parameters
|
1800
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
|
1801
|
+
# @return [Wrapup]
|
1802
|
+
def get_conversations_email_participant_wrapup(email_id, participant_id, opts = {})
|
1803
|
+
data, _status_code, _headers = get_conversations_email_participant_wrapup_with_http_info(email_id, participant_id, opts)
|
1804
|
+
return data
|
1805
|
+
end
|
1806
|
+
|
1807
|
+
# Get the wrap-up for this conversation participant.
|
1808
|
+
#
|
1809
|
+
# @param email_id emailId
|
1810
|
+
# @param participant_id participantId
|
1811
|
+
# @param [Hash] opts the optional parameters
|
1812
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
1813
|
+
# @return [Array<(Wrapup, Fixnum, Hash)>] Wrapup data, response status code and response headers
|
1814
|
+
def get_conversations_email_participant_wrapup_with_http_info(email_id, participant_id, opts = {})
|
1815
|
+
if @api_client.config.debugging
|
1816
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_email_participant_wrapup ..."
|
1817
|
+
end
|
1818
|
+
# verify the required parameter 'email_id' is set
|
1819
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling ConversationsApi.get_conversations_email_participant_wrapup" if email_id.nil?
|
1820
|
+
# verify the required parameter 'participant_id' is set
|
1821
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_email_participant_wrapup" if participant_id.nil?
|
1822
|
+
# resource path
|
1823
|
+
local_var_path = "/api/v2/conversations/emails/{emailId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
1824
|
+
|
1825
|
+
# query parameters
|
1826
|
+
query_params = {}
|
1827
|
+
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
1828
|
+
|
1829
|
+
# header parameters
|
1830
|
+
header_params = {}
|
1831
|
+
|
1832
|
+
# HTTP header 'Accept' (if needed)
|
1833
|
+
local_header_accept = ['application/json']
|
1834
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1835
|
+
|
1836
|
+
# HTTP header 'Content-Type'
|
1837
|
+
local_header_content_type = ['application/json']
|
1838
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1839
|
+
|
1840
|
+
# form parameters
|
1841
|
+
form_params = {}
|
1842
|
+
|
1843
|
+
# http body (model)
|
1844
|
+
post_body = nil
|
1845
|
+
auth_names = ['PureCloud Auth']
|
1846
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1847
|
+
:header_params => header_params,
|
1848
|
+
:query_params => query_params,
|
1849
|
+
:form_params => form_params,
|
1850
|
+
:body => post_body,
|
1851
|
+
:auth_names => auth_names,
|
1852
|
+
:return_type => 'Wrapup')
|
1853
|
+
if @api_client.config.debugging
|
1854
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_email_participant_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1855
|
+
end
|
1856
|
+
return data, status_code, headers
|
1857
|
+
end
|
1858
|
+
|
1859
|
+
# Get list of wrapup codes for this conversation participant
|
1860
|
+
#
|
1861
|
+
# @param email_id emailId
|
1862
|
+
# @param participant_id participantId
|
1863
|
+
# @param [Hash] opts the optional parameters
|
1864
|
+
# @return [Array<WrapupCode>]
|
1865
|
+
def get_conversations_email_participant_wrapupcodes(email_id, participant_id, opts = {})
|
1866
|
+
data, _status_code, _headers = get_conversations_email_participant_wrapupcodes_with_http_info(email_id, participant_id, opts)
|
1867
|
+
return data
|
1868
|
+
end
|
1869
|
+
|
1870
|
+
# Get list of wrapup codes for this conversation participant
|
1871
|
+
#
|
1872
|
+
# @param email_id emailId
|
1873
|
+
# @param participant_id participantId
|
1874
|
+
# @param [Hash] opts the optional parameters
|
1875
|
+
# @return [Array<(Array<WrapupCode>, Fixnum, Hash)>] Array<WrapupCode> data, response status code and response headers
|
1876
|
+
def get_conversations_email_participant_wrapupcodes_with_http_info(email_id, participant_id, opts = {})
|
1877
|
+
if @api_client.config.debugging
|
1878
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_email_participant_wrapupcodes ..."
|
1879
|
+
end
|
1880
|
+
# verify the required parameter 'email_id' is set
|
1881
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling ConversationsApi.get_conversations_email_participant_wrapupcodes" if email_id.nil?
|
1882
|
+
# verify the required parameter 'participant_id' is set
|
1883
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_email_participant_wrapupcodes" if participant_id.nil?
|
1884
|
+
# resource path
|
1885
|
+
local_var_path = "/api/v2/conversations/emails/{emailId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
1886
|
+
|
1887
|
+
# query parameters
|
1888
|
+
query_params = {}
|
1889
|
+
|
1890
|
+
# header parameters
|
1891
|
+
header_params = {}
|
1892
|
+
|
1893
|
+
# HTTP header 'Accept' (if needed)
|
1894
|
+
local_header_accept = ['application/json']
|
1895
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1896
|
+
|
1897
|
+
# HTTP header 'Content-Type'
|
1898
|
+
local_header_content_type = ['application/json']
|
1899
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1900
|
+
|
1901
|
+
# form parameters
|
1902
|
+
form_params = {}
|
1903
|
+
|
1904
|
+
# http body (model)
|
1905
|
+
post_body = nil
|
1906
|
+
auth_names = ['PureCloud Auth']
|
1907
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1908
|
+
:header_params => header_params,
|
1909
|
+
:query_params => query_params,
|
1910
|
+
:form_params => form_params,
|
1911
|
+
:body => post_body,
|
1912
|
+
:auth_names => auth_names,
|
1913
|
+
:return_type => 'Array<WrapupCode>')
|
1914
|
+
if @api_client.config.debugging
|
1915
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_email_participant_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1916
|
+
end
|
1917
|
+
return data, status_code, headers
|
1918
|
+
end
|
1919
|
+
|
1920
|
+
# Get recent email conversations
|
1921
|
+
#
|
1922
|
+
# @param [Hash] opts the optional parameters
|
1923
|
+
# @return [EmailConversationEntityListing]
|
1924
|
+
def get_conversations_emails(opts = {})
|
1925
|
+
data, _status_code, _headers = get_conversations_emails_with_http_info(opts)
|
1926
|
+
return data
|
1927
|
+
end
|
1928
|
+
|
1929
|
+
# Get recent email conversations
|
1930
|
+
#
|
1931
|
+
# @param [Hash] opts the optional parameters
|
1932
|
+
# @return [Array<(EmailConversationEntityListing, Fixnum, Hash)>] EmailConversationEntityListing data, response status code and response headers
|
1933
|
+
def get_conversations_emails_with_http_info(opts = {})
|
1934
|
+
if @api_client.config.debugging
|
1935
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_emails ..."
|
1936
|
+
end
|
1937
|
+
# resource path
|
1938
|
+
local_var_path = "/api/v2/conversations/emails".sub('{format}','json')
|
1939
|
+
|
1940
|
+
# query parameters
|
1941
|
+
query_params = {}
|
1942
|
+
|
1943
|
+
# header parameters
|
1944
|
+
header_params = {}
|
1945
|
+
|
1946
|
+
# HTTP header 'Accept' (if needed)
|
1947
|
+
local_header_accept = ['application/json']
|
1948
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1949
|
+
|
1950
|
+
# HTTP header 'Content-Type'
|
1951
|
+
local_header_content_type = ['application/json']
|
1952
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1953
|
+
|
1954
|
+
# form parameters
|
1955
|
+
form_params = {}
|
1956
|
+
|
1957
|
+
# http body (model)
|
1958
|
+
post_body = nil
|
1959
|
+
auth_names = ['PureCloud Auth']
|
1960
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1961
|
+
:header_params => header_params,
|
1962
|
+
:query_params => query_params,
|
1963
|
+
:form_params => form_params,
|
1964
|
+
:body => post_body,
|
1965
|
+
:auth_names => auth_names,
|
1966
|
+
:return_type => 'EmailConversationEntityListing')
|
1967
|
+
if @api_client.config.debugging
|
1968
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_emails\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1969
|
+
end
|
1970
|
+
return data, status_code, headers
|
1971
|
+
end
|
1972
|
+
|
1973
|
+
# Update a participant.
|
1974
|
+
# Update conversation participant.
|
1975
|
+
# @param conversation_id conversation ID
|
1976
|
+
# @param participant_id participant ID
|
1977
|
+
# @param body Update request
|
1978
|
+
# @param [Hash] opts the optional parameters
|
1979
|
+
# @return [nil]
|
1980
|
+
def patch_conversation_participant(conversation_id, participant_id, body, opts = {})
|
1981
|
+
patch_conversation_participant_with_http_info(conversation_id, participant_id, body, opts)
|
1982
|
+
return nil
|
1983
|
+
end
|
1984
|
+
|
1985
|
+
# Update a participant.
|
1986
|
+
# Update conversation participant.
|
1987
|
+
# @param conversation_id conversation ID
|
1988
|
+
# @param participant_id participant ID
|
1989
|
+
# @param body Update request
|
1990
|
+
# @param [Hash] opts the optional parameters
|
1991
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1992
|
+
def patch_conversation_participant_with_http_info(conversation_id, participant_id, body, opts = {})
|
1993
|
+
if @api_client.config.debugging
|
1994
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversation_participant ..."
|
1995
|
+
end
|
1996
|
+
# verify the required parameter 'conversation_id' is set
|
1997
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversation_participant" if conversation_id.nil?
|
1998
|
+
# verify the required parameter 'participant_id' is set
|
1999
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversation_participant" if participant_id.nil?
|
2000
|
+
# verify the required parameter 'body' is set
|
2001
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversation_participant" if body.nil?
|
2002
|
+
# resource path
|
2003
|
+
local_var_path = "/api/v2/conversations/{conversationId}/participants/{participantId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
2004
|
+
|
2005
|
+
# query parameters
|
2006
|
+
query_params = {}
|
2007
|
+
|
2008
|
+
# header parameters
|
2009
|
+
header_params = {}
|
2010
|
+
|
2011
|
+
# HTTP header 'Accept' (if needed)
|
2012
|
+
local_header_accept = ['application/json']
|
2013
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2014
|
+
|
2015
|
+
# HTTP header 'Content-Type'
|
2016
|
+
local_header_content_type = ['application/json']
|
2017
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2018
|
+
|
2019
|
+
# form parameters
|
2020
|
+
form_params = {}
|
2021
|
+
|
2022
|
+
# http body (model)
|
2023
|
+
post_body = @api_client.object_to_http_body(body)
|
2024
|
+
auth_names = ['PureCloud Auth']
|
2025
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
2026
|
+
:header_params => header_params,
|
2027
|
+
:query_params => query_params,
|
2028
|
+
:form_params => form_params,
|
2029
|
+
:body => post_body,
|
2030
|
+
:auth_names => auth_names)
|
2031
|
+
if @api_client.config.debugging
|
2032
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversation_participant\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2033
|
+
end
|
2034
|
+
return data, status_code, headers
|
2035
|
+
end
|
2036
|
+
|
2037
|
+
# Update the attributes on a conversation participant.
|
2038
|
+
#
|
2039
|
+
# @param conversation_id conversation ID
|
2040
|
+
# @param participant_id participant ID
|
2041
|
+
# @param body Participant attributes
|
2042
|
+
# @param [Hash] opts the optional parameters
|
2043
|
+
# @return [nil]
|
2044
|
+
def patch_conversation_participant_attributes(conversation_id, participant_id, body, opts = {})
|
2045
|
+
patch_conversation_participant_attributes_with_http_info(conversation_id, participant_id, body, opts)
|
2046
|
+
return nil
|
2047
|
+
end
|
2048
|
+
|
2049
|
+
# Update the attributes on a conversation participant.
|
2050
|
+
#
|
2051
|
+
# @param conversation_id conversation ID
|
2052
|
+
# @param participant_id participant ID
|
2053
|
+
# @param body Participant attributes
|
2054
|
+
# @param [Hash] opts the optional parameters
|
2055
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2056
|
+
def patch_conversation_participant_attributes_with_http_info(conversation_id, participant_id, body, opts = {})
|
2057
|
+
if @api_client.config.debugging
|
2058
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversation_participant_attributes ..."
|
2059
|
+
end
|
2060
|
+
# verify the required parameter 'conversation_id' is set
|
2061
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversation_participant_attributes" if conversation_id.nil?
|
2062
|
+
# verify the required parameter 'participant_id' is set
|
2063
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversation_participant_attributes" if participant_id.nil?
|
2064
|
+
# verify the required parameter 'body' is set
|
2065
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversation_participant_attributes" if body.nil?
|
2066
|
+
# resource path
|
2067
|
+
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)
|
2068
|
+
|
2069
|
+
# query parameters
|
2070
|
+
query_params = {}
|
2071
|
+
|
2072
|
+
# header parameters
|
2073
|
+
header_params = {}
|
2074
|
+
|
2075
|
+
# HTTP header 'Accept' (if needed)
|
2076
|
+
local_header_accept = ['application/json']
|
2077
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2078
|
+
|
2079
|
+
# HTTP header 'Content-Type'
|
2080
|
+
local_header_content_type = ['application/json']
|
2081
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2082
|
+
|
2083
|
+
# form parameters
|
2084
|
+
form_params = {}
|
2085
|
+
|
2086
|
+
# http body (model)
|
2087
|
+
post_body = @api_client.object_to_http_body(body)
|
2088
|
+
auth_names = ['PureCloud Auth']
|
2089
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
2090
|
+
:header_params => header_params,
|
2091
|
+
:query_params => query_params,
|
2092
|
+
:form_params => form_params,
|
2093
|
+
:body => post_body,
|
2094
|
+
:auth_names => auth_names)
|
2095
|
+
if @api_client.config.debugging
|
2096
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversation_participant_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2097
|
+
end
|
2098
|
+
return data, status_code, headers
|
2099
|
+
end
|
2100
|
+
|
2101
|
+
# Update a conversation by setting it's recording state, merging in other conversations to create a conference, or disconnecting all of the participants
|
2102
|
+
#
|
2103
|
+
# @param call_id callId
|
2104
|
+
# @param body Conversation
|
2105
|
+
# @param [Hash] opts the optional parameters
|
2106
|
+
# @return [Conversation]
|
2107
|
+
def patch_conversations_call(call_id, body, opts = {})
|
2108
|
+
data, _status_code, _headers = patch_conversations_call_with_http_info(call_id, body, opts)
|
2109
|
+
return data
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
# Update a conversation by setting it's recording state, merging in other conversations to create a conference, or disconnecting all of the participants
|
2113
|
+
#
|
2114
|
+
# @param call_id callId
|
2115
|
+
# @param body Conversation
|
2116
|
+
# @param [Hash] opts the optional parameters
|
2117
|
+
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
2118
|
+
def patch_conversations_call_with_http_info(call_id, body, opts = {})
|
2119
|
+
if @api_client.config.debugging
|
2120
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_call ..."
|
2121
|
+
end
|
2122
|
+
# verify the required parameter 'call_id' is set
|
2123
|
+
fail ArgumentError, "Missing the required parameter 'call_id' when calling ConversationsApi.patch_conversations_call" if call_id.nil?
|
2124
|
+
# verify the required parameter 'body' is set
|
2125
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_call" if body.nil?
|
2126
|
+
# resource path
|
2127
|
+
local_var_path = "/api/v2/conversations/calls/{callId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
|
2128
|
+
|
2129
|
+
# query parameters
|
2130
|
+
query_params = {}
|
2131
|
+
|
2132
|
+
# header parameters
|
2133
|
+
header_params = {}
|
2134
|
+
|
2135
|
+
# HTTP header 'Accept' (if needed)
|
2136
|
+
local_header_accept = ['application/json']
|
2137
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2138
|
+
|
2139
|
+
# HTTP header 'Content-Type'
|
2140
|
+
local_header_content_type = ['application/json']
|
2141
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2142
|
+
|
2143
|
+
# form parameters
|
2144
|
+
form_params = {}
|
2145
|
+
|
2146
|
+
# http body (model)
|
2147
|
+
post_body = @api_client.object_to_http_body(body)
|
2148
|
+
auth_names = ['PureCloud Auth']
|
2149
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
2150
|
+
:header_params => header_params,
|
2151
|
+
:query_params => query_params,
|
2152
|
+
:form_params => form_params,
|
2153
|
+
:body => post_body,
|
2154
|
+
:auth_names => auth_names,
|
2155
|
+
:return_type => 'Conversation')
|
2156
|
+
if @api_client.config.debugging
|
2157
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_call\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2158
|
+
end
|
2159
|
+
return data, status_code, headers
|
2160
|
+
end
|
2161
|
+
|
2162
|
+
# Update conversation participant
|
2163
|
+
#
|
2164
|
+
# @param call_id callId
|
2165
|
+
# @param participant_id participantId
|
2166
|
+
# @param body Participant request
|
2167
|
+
# @param [Hash] opts the optional parameters
|
2168
|
+
# @return [nil]
|
2169
|
+
def patch_conversations_call_participant(call_id, participant_id, body, opts = {})
|
2170
|
+
patch_conversations_call_participant_with_http_info(call_id, participant_id, body, opts)
|
2171
|
+
return nil
|
2172
|
+
end
|
2173
|
+
|
2174
|
+
# Update conversation participant
|
2175
|
+
#
|
2176
|
+
# @param call_id callId
|
2177
|
+
# @param participant_id participantId
|
2178
|
+
# @param body Participant request
|
2179
|
+
# @param [Hash] opts the optional parameters
|
2180
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2181
|
+
def patch_conversations_call_participant_with_http_info(call_id, participant_id, body, opts = {})
|
2182
|
+
if @api_client.config.debugging
|
2183
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_call_participant ..."
|
2184
|
+
end
|
2185
|
+
# verify the required parameter 'call_id' is set
|
2186
|
+
fail ArgumentError, "Missing the required parameter 'call_id' when calling ConversationsApi.patch_conversations_call_participant" if call_id.nil?
|
2187
|
+
# verify the required parameter 'participant_id' is set
|
2188
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_call_participant" if participant_id.nil?
|
2189
|
+
# verify the required parameter 'body' is set
|
2190
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_call_participant" if body.nil?
|
2191
|
+
# resource path
|
2192
|
+
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)
|
2193
|
+
|
2194
|
+
# query parameters
|
2195
|
+
query_params = {}
|
2196
|
+
|
2197
|
+
# header parameters
|
2198
|
+
header_params = {}
|
2199
|
+
|
2200
|
+
# HTTP header 'Accept' (if needed)
|
2201
|
+
local_header_accept = ['application/json']
|
2202
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2203
|
+
|
2204
|
+
# HTTP header 'Content-Type'
|
2205
|
+
local_header_content_type = ['application/json']
|
2206
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2207
|
+
|
2208
|
+
# form parameters
|
2209
|
+
form_params = {}
|
2210
|
+
|
2211
|
+
# http body (model)
|
2212
|
+
post_body = @api_client.object_to_http_body(body)
|
2213
|
+
auth_names = ['PureCloud Auth']
|
2214
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
2215
|
+
:header_params => header_params,
|
2216
|
+
:query_params => query_params,
|
2217
|
+
:form_params => form_params,
|
2218
|
+
:body => post_body,
|
2219
|
+
:auth_names => auth_names)
|
2220
|
+
if @api_client.config.debugging
|
2221
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_call_participant\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2222
|
+
end
|
2223
|
+
return data, status_code, headers
|
2224
|
+
end
|
2225
|
+
|
2226
|
+
# Update the attributes on a conversation participant.
|
2227
|
+
#
|
2228
|
+
# @param call_id callId
|
2229
|
+
# @param participant_id participantId
|
2230
|
+
# @param body Participant attributes
|
2231
|
+
# @param [Hash] opts the optional parameters
|
2232
|
+
# @return [nil]
|
2233
|
+
def patch_conversations_call_participant_attributes(call_id, participant_id, body, opts = {})
|
2234
|
+
patch_conversations_call_participant_attributes_with_http_info(call_id, participant_id, body, opts)
|
2235
|
+
return nil
|
2236
|
+
end
|
2237
|
+
|
2238
|
+
# Update the attributes on a conversation participant.
|
2239
|
+
#
|
2240
|
+
# @param call_id callId
|
2241
|
+
# @param participant_id participantId
|
2242
|
+
# @param body Participant attributes
|
2243
|
+
# @param [Hash] opts the optional parameters
|
2244
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2245
|
+
def patch_conversations_call_participant_attributes_with_http_info(call_id, participant_id, body, opts = {})
|
2246
|
+
if @api_client.config.debugging
|
2247
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_call_participant_attributes ..."
|
2248
|
+
end
|
2249
|
+
# verify the required parameter 'call_id' is set
|
2250
|
+
fail ArgumentError, "Missing the required parameter 'call_id' when calling ConversationsApi.patch_conversations_call_participant_attributes" if call_id.nil?
|
2251
|
+
# verify the required parameter 'participant_id' is set
|
2252
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_call_participant_attributes" if participant_id.nil?
|
2253
|
+
# verify the required parameter 'body' is set
|
2254
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_call_participant_attributes" if body.nil?
|
2255
|
+
# resource path
|
2256
|
+
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)
|
2257
|
+
|
2258
|
+
# query parameters
|
2259
|
+
query_params = {}
|
2260
|
+
|
2261
|
+
# header parameters
|
2262
|
+
header_params = {}
|
2263
|
+
|
2264
|
+
# HTTP header 'Accept' (if needed)
|
2265
|
+
local_header_accept = ['application/json']
|
2266
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2267
|
+
|
2268
|
+
# HTTP header 'Content-Type'
|
2269
|
+
local_header_content_type = ['application/json']
|
2270
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2271
|
+
|
2272
|
+
# form parameters
|
2273
|
+
form_params = {}
|
2274
|
+
|
2275
|
+
# http body (model)
|
2276
|
+
post_body = @api_client.object_to_http_body(body)
|
2277
|
+
auth_names = ['PureCloud Auth']
|
2278
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
2279
|
+
:header_params => header_params,
|
2280
|
+
:query_params => query_params,
|
2281
|
+
:form_params => form_params,
|
2282
|
+
:body => post_body,
|
2283
|
+
:auth_names => auth_names)
|
2284
|
+
if @api_client.config.debugging
|
2285
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_call_participant_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2286
|
+
end
|
2287
|
+
return data, status_code, headers
|
2288
|
+
end
|
2289
|
+
|
2290
|
+
# Update conversation participant's communication by disconnecting it.
|
2291
|
+
#
|
2292
|
+
# @param call_id callId
|
2293
|
+
# @param participant_id participantId
|
2294
|
+
# @param communication_id communicationId
|
2295
|
+
# @param body Participant
|
2296
|
+
# @param [Hash] opts the optional parameters
|
2297
|
+
# @return [Empty]
|
2298
|
+
def patch_conversations_call_participant_communication(call_id, participant_id, communication_id, body, opts = {})
|
2299
|
+
data, _status_code, _headers = patch_conversations_call_participant_communication_with_http_info(call_id, participant_id, communication_id, body, opts)
|
2300
|
+
return data
|
2301
|
+
end
|
2302
|
+
|
2303
|
+
# Update conversation participant's communication by disconnecting it.
|
2304
|
+
#
|
2305
|
+
# @param call_id callId
|
2306
|
+
# @param participant_id participantId
|
2307
|
+
# @param communication_id communicationId
|
2308
|
+
# @param body Participant
|
2309
|
+
# @param [Hash] opts the optional parameters
|
2310
|
+
# @return [Array<(Empty, Fixnum, Hash)>] Empty data, response status code and response headers
|
2311
|
+
def patch_conversations_call_participant_communication_with_http_info(call_id, participant_id, communication_id, body, opts = {})
|
2312
|
+
if @api_client.config.debugging
|
2313
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_call_participant_communication ..."
|
2314
|
+
end
|
2315
|
+
# verify the required parameter 'call_id' is set
|
2316
|
+
fail ArgumentError, "Missing the required parameter 'call_id' when calling ConversationsApi.patch_conversations_call_participant_communication" if call_id.nil?
|
2317
|
+
# verify the required parameter 'participant_id' is set
|
2318
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_call_participant_communication" if participant_id.nil?
|
2319
|
+
# verify the required parameter 'communication_id' is set
|
2320
|
+
fail ArgumentError, "Missing the required parameter 'communication_id' when calling ConversationsApi.patch_conversations_call_participant_communication" if communication_id.nil?
|
2321
|
+
# verify the required parameter 'body' is set
|
2322
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_call_participant_communication" if body.nil?
|
2323
|
+
# resource path
|
2324
|
+
local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/communications/{communicationId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s).sub('{' + 'communicationId' + '}', communication_id.to_s)
|
2325
|
+
|
2326
|
+
# query parameters
|
2327
|
+
query_params = {}
|
2328
|
+
|
2329
|
+
# header parameters
|
2330
|
+
header_params = {}
|
2331
|
+
|
2332
|
+
# HTTP header 'Accept' (if needed)
|
2333
|
+
local_header_accept = ['application/json']
|
2334
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2335
|
+
|
2336
|
+
# HTTP header 'Content-Type'
|
2337
|
+
local_header_content_type = ['application/json']
|
2338
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2339
|
+
|
2340
|
+
# form parameters
|
2341
|
+
form_params = {}
|
2342
|
+
|
2343
|
+
# http body (model)
|
2344
|
+
post_body = @api_client.object_to_http_body(body)
|
2345
|
+
auth_names = ['PureCloud Auth']
|
2346
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
2347
|
+
:header_params => header_params,
|
2348
|
+
:query_params => query_params,
|
2349
|
+
:form_params => form_params,
|
2350
|
+
:body => post_body,
|
2351
|
+
:auth_names => auth_names,
|
2352
|
+
:return_type => 'Empty')
|
2353
|
+
if @api_client.config.debugging
|
2354
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_call_participant_communication\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2355
|
+
end
|
2356
|
+
return data, status_code, headers
|
2357
|
+
end
|
2358
|
+
|
2359
|
+
# Change who can speak
|
2360
|
+
#
|
2361
|
+
# @param call_id callId
|
2362
|
+
# @param participant_id participantId
|
2363
|
+
# @param body new speak to
|
2364
|
+
# @param [Hash] opts the optional parameters
|
2365
|
+
# @return [ConsultTransferResponse]
|
2366
|
+
def patch_conversations_call_participant_consult(call_id, participant_id, body, opts = {})
|
2367
|
+
data, _status_code, _headers = patch_conversations_call_participant_consult_with_http_info(call_id, participant_id, body, opts)
|
2368
|
+
return data
|
2369
|
+
end
|
2370
|
+
|
2371
|
+
# Change who can speak
|
2372
|
+
#
|
2373
|
+
# @param call_id callId
|
2374
|
+
# @param participant_id participantId
|
2375
|
+
# @param body new speak to
|
2376
|
+
# @param [Hash] opts the optional parameters
|
2377
|
+
# @return [Array<(ConsultTransferResponse, Fixnum, Hash)>] ConsultTransferResponse data, response status code and response headers
|
2378
|
+
def patch_conversations_call_participant_consult_with_http_info(call_id, participant_id, body, opts = {})
|
2379
|
+
if @api_client.config.debugging
|
2380
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_call_participant_consult ..."
|
2381
|
+
end
|
2382
|
+
# verify the required parameter 'call_id' is set
|
2383
|
+
fail ArgumentError, "Missing the required parameter 'call_id' when calling ConversationsApi.patch_conversations_call_participant_consult" if call_id.nil?
|
2384
|
+
# verify the required parameter 'participant_id' is set
|
2385
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_call_participant_consult" if participant_id.nil?
|
2386
|
+
# verify the required parameter 'body' is set
|
2387
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_call_participant_consult" if body.nil?
|
2388
|
+
# resource path
|
2389
|
+
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)
|
2390
|
+
|
2391
|
+
# query parameters
|
2392
|
+
query_params = {}
|
2393
|
+
|
2394
|
+
# header parameters
|
2395
|
+
header_params = {}
|
2396
|
+
|
2397
|
+
# HTTP header 'Accept' (if needed)
|
2398
|
+
local_header_accept = ['application/json']
|
2399
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2400
|
+
|
2401
|
+
# HTTP header 'Content-Type'
|
2402
|
+
local_header_content_type = ['application/json']
|
2403
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2404
|
+
|
2405
|
+
# form parameters
|
2406
|
+
form_params = {}
|
2407
|
+
|
2408
|
+
# http body (model)
|
2409
|
+
post_body = @api_client.object_to_http_body(body)
|
2410
|
+
auth_names = ['PureCloud Auth']
|
2411
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
2412
|
+
:header_params => header_params,
|
2413
|
+
:query_params => query_params,
|
2414
|
+
:form_params => form_params,
|
2415
|
+
:body => post_body,
|
2416
|
+
:auth_names => auth_names,
|
2417
|
+
:return_type => 'ConsultTransferResponse')
|
2418
|
+
if @api_client.config.debugging
|
2419
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_call_participant_consult\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2420
|
+
end
|
2421
|
+
return data, status_code, headers
|
2422
|
+
end
|
2423
|
+
|
2424
|
+
# Update a conversation by disconnecting all of the participants
|
2425
|
+
#
|
2426
|
+
# @param callback_id callbackId
|
2427
|
+
# @param body Conversation
|
2428
|
+
# @param [Hash] opts the optional parameters
|
2429
|
+
# @return [Conversation]
|
2430
|
+
def patch_conversations_callback(callback_id, body, opts = {})
|
2431
|
+
data, _status_code, _headers = patch_conversations_callback_with_http_info(callback_id, body, opts)
|
2432
|
+
return data
|
2433
|
+
end
|
2434
|
+
|
2435
|
+
# Update a conversation by disconnecting all of the participants
|
2436
|
+
#
|
2437
|
+
# @param callback_id callbackId
|
2438
|
+
# @param body Conversation
|
2439
|
+
# @param [Hash] opts the optional parameters
|
2440
|
+
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
2441
|
+
def patch_conversations_callback_with_http_info(callback_id, body, opts = {})
|
2442
|
+
if @api_client.config.debugging
|
2443
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_callback ..."
|
2444
|
+
end
|
2445
|
+
# verify the required parameter 'callback_id' is set
|
2446
|
+
fail ArgumentError, "Missing the required parameter 'callback_id' when calling ConversationsApi.patch_conversations_callback" if callback_id.nil?
|
2447
|
+
# verify the required parameter 'body' is set
|
2448
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_callback" if body.nil?
|
2449
|
+
# resource path
|
2450
|
+
local_var_path = "/api/v2/conversations/callbacks/{callbackId}".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s)
|
2451
|
+
|
2452
|
+
# query parameters
|
2453
|
+
query_params = {}
|
2454
|
+
|
2455
|
+
# header parameters
|
2456
|
+
header_params = {}
|
2457
|
+
|
2458
|
+
# HTTP header 'Accept' (if needed)
|
2459
|
+
local_header_accept = ['application/json']
|
2460
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2461
|
+
|
2462
|
+
# HTTP header 'Content-Type'
|
2463
|
+
local_header_content_type = ['application/json']
|
2464
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2465
|
+
|
2466
|
+
# form parameters
|
2467
|
+
form_params = {}
|
2468
|
+
|
2469
|
+
# http body (model)
|
2470
|
+
post_body = @api_client.object_to_http_body(body)
|
2471
|
+
auth_names = ['PureCloud Auth']
|
2472
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
2473
|
+
:header_params => header_params,
|
2474
|
+
:query_params => query_params,
|
2475
|
+
:form_params => form_params,
|
2476
|
+
:body => post_body,
|
2477
|
+
:auth_names => auth_names,
|
2478
|
+
:return_type => 'Conversation')
|
2479
|
+
if @api_client.config.debugging
|
2480
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_callback\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2481
|
+
end
|
2482
|
+
return data, status_code, headers
|
2483
|
+
end
|
2484
|
+
|
2485
|
+
# Update conversation participant
|
2486
|
+
#
|
2487
|
+
# @param callback_id callbackId
|
2488
|
+
# @param participant_id participantId
|
2489
|
+
# @param body Participant
|
2490
|
+
# @param [Hash] opts the optional parameters
|
2491
|
+
# @return [nil]
|
2492
|
+
def patch_conversations_callback_participant(callback_id, participant_id, body, opts = {})
|
2493
|
+
patch_conversations_callback_participant_with_http_info(callback_id, participant_id, body, opts)
|
2494
|
+
return nil
|
2495
|
+
end
|
2496
|
+
|
2497
|
+
# Update conversation participant
|
2498
|
+
#
|
2499
|
+
# @param callback_id callbackId
|
2500
|
+
# @param participant_id participantId
|
2501
|
+
# @param body Participant
|
2502
|
+
# @param [Hash] opts the optional parameters
|
2503
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2504
|
+
def patch_conversations_callback_participant_with_http_info(callback_id, participant_id, body, opts = {})
|
2505
|
+
if @api_client.config.debugging
|
2506
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_callback_participant ..."
|
2507
|
+
end
|
2508
|
+
# verify the required parameter 'callback_id' is set
|
2509
|
+
fail ArgumentError, "Missing the required parameter 'callback_id' when calling ConversationsApi.patch_conversations_callback_participant" if callback_id.nil?
|
2510
|
+
# verify the required parameter 'participant_id' is set
|
2511
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_callback_participant" if participant_id.nil?
|
2512
|
+
# verify the required parameter 'body' is set
|
2513
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_callback_participant" if body.nil?
|
2514
|
+
# resource path
|
2515
|
+
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)
|
2516
|
+
|
2517
|
+
# query parameters
|
2518
|
+
query_params = {}
|
2519
|
+
|
2520
|
+
# header parameters
|
2521
|
+
header_params = {}
|
2522
|
+
|
2523
|
+
# HTTP header 'Accept' (if needed)
|
2524
|
+
local_header_accept = ['application/json']
|
2525
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2526
|
+
|
2527
|
+
# HTTP header 'Content-Type'
|
2528
|
+
local_header_content_type = ['application/json']
|
2529
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2530
|
+
|
2531
|
+
# form parameters
|
2532
|
+
form_params = {}
|
2533
|
+
|
2534
|
+
# http body (model)
|
2535
|
+
post_body = @api_client.object_to_http_body(body)
|
2536
|
+
auth_names = ['PureCloud Auth']
|
2537
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
2538
|
+
:header_params => header_params,
|
2539
|
+
:query_params => query_params,
|
2540
|
+
:form_params => form_params,
|
2541
|
+
:body => post_body,
|
2542
|
+
:auth_names => auth_names)
|
2543
|
+
if @api_client.config.debugging
|
2544
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_callback_participant\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2545
|
+
end
|
2546
|
+
return data, status_code, headers
|
2547
|
+
end
|
2548
|
+
|
2549
|
+
# Update the attributes on a conversation participant.
|
2550
|
+
#
|
2551
|
+
# @param callback_id callbackId
|
2552
|
+
# @param participant_id participantId
|
2553
|
+
# @param body Attributes
|
2554
|
+
# @param [Hash] opts the optional parameters
|
2555
|
+
# @return [nil]
|
2556
|
+
def patch_conversations_callback_participant_attributes(callback_id, participant_id, body, opts = {})
|
2557
|
+
patch_conversations_callback_participant_attributes_with_http_info(callback_id, participant_id, body, opts)
|
2558
|
+
return nil
|
2559
|
+
end
|
2560
|
+
|
2561
|
+
# Update the attributes on a conversation participant.
|
2562
|
+
#
|
2563
|
+
# @param callback_id callbackId
|
2564
|
+
# @param participant_id participantId
|
2565
|
+
# @param body Attributes
|
2566
|
+
# @param [Hash] opts the optional parameters
|
2567
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2568
|
+
def patch_conversations_callback_participant_attributes_with_http_info(callback_id, participant_id, body, opts = {})
|
2569
|
+
if @api_client.config.debugging
|
2570
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_callback_participant_attributes ..."
|
2571
|
+
end
|
2572
|
+
# verify the required parameter 'callback_id' is set
|
2573
|
+
fail ArgumentError, "Missing the required parameter 'callback_id' when calling ConversationsApi.patch_conversations_callback_participant_attributes" if callback_id.nil?
|
2574
|
+
# verify the required parameter 'participant_id' is set
|
2575
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_callback_participant_attributes" if participant_id.nil?
|
2576
|
+
# verify the required parameter 'body' is set
|
2577
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_callback_participant_attributes" if body.nil?
|
2578
|
+
# resource path
|
2579
|
+
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)
|
2580
|
+
|
2581
|
+
# query parameters
|
2582
|
+
query_params = {}
|
2583
|
+
|
2584
|
+
# header parameters
|
2585
|
+
header_params = {}
|
2586
|
+
|
2587
|
+
# HTTP header 'Accept' (if needed)
|
2588
|
+
local_header_accept = ['application/json']
|
2589
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2590
|
+
|
2591
|
+
# HTTP header 'Content-Type'
|
2592
|
+
local_header_content_type = ['application/json']
|
2593
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2594
|
+
|
2595
|
+
# form parameters
|
2596
|
+
form_params = {}
|
2597
|
+
|
2598
|
+
# http body (model)
|
2599
|
+
post_body = @api_client.object_to_http_body(body)
|
2600
|
+
auth_names = ['PureCloud Auth']
|
2601
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
2602
|
+
:header_params => header_params,
|
2603
|
+
:query_params => query_params,
|
2604
|
+
:form_params => form_params,
|
2605
|
+
:body => post_body,
|
2606
|
+
:auth_names => auth_names)
|
2607
|
+
if @api_client.config.debugging
|
2608
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_callback_participant_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2609
|
+
end
|
2610
|
+
return data, status_code, headers
|
2611
|
+
end
|
2612
|
+
|
2613
|
+
# Update conversation participant's communication by disconnecting it.
|
2614
|
+
#
|
2615
|
+
# @param callback_id callbackId
|
2616
|
+
# @param participant_id participantId
|
2617
|
+
# @param communication_id communicationId
|
2618
|
+
# @param body Participant
|
2619
|
+
# @param [Hash] opts the optional parameters
|
2620
|
+
# @return [Empty]
|
2621
|
+
def patch_conversations_callback_participant_communication(callback_id, participant_id, communication_id, body, opts = {})
|
2622
|
+
data, _status_code, _headers = patch_conversations_callback_participant_communication_with_http_info(callback_id, participant_id, communication_id, body, opts)
|
2623
|
+
return data
|
2624
|
+
end
|
2625
|
+
|
2626
|
+
# Update conversation participant's communication by disconnecting it.
|
2627
|
+
#
|
2628
|
+
# @param callback_id callbackId
|
2629
|
+
# @param participant_id participantId
|
2630
|
+
# @param communication_id communicationId
|
2631
|
+
# @param body Participant
|
2632
|
+
# @param [Hash] opts the optional parameters
|
2633
|
+
# @return [Array<(Empty, Fixnum, Hash)>] Empty data, response status code and response headers
|
2634
|
+
def patch_conversations_callback_participant_communication_with_http_info(callback_id, participant_id, communication_id, body, opts = {})
|
2635
|
+
if @api_client.config.debugging
|
2636
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_callback_participant_communication ..."
|
2637
|
+
end
|
2638
|
+
# verify the required parameter 'callback_id' is set
|
2639
|
+
fail ArgumentError, "Missing the required parameter 'callback_id' when calling ConversationsApi.patch_conversations_callback_participant_communication" if callback_id.nil?
|
2640
|
+
# verify the required parameter 'participant_id' is set
|
2641
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_callback_participant_communication" if participant_id.nil?
|
2642
|
+
# verify the required parameter 'communication_id' is set
|
2643
|
+
fail ArgumentError, "Missing the required parameter 'communication_id' when calling ConversationsApi.patch_conversations_callback_participant_communication" if communication_id.nil?
|
2644
|
+
# verify the required parameter 'body' is set
|
2645
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_callback_participant_communication" if body.nil?
|
2646
|
+
# resource path
|
2647
|
+
local_var_path = "/api/v2/conversations/callbacks/{callbackId}/participants/{participantId}/communications/{communicationId}".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s).sub('{' + 'communicationId' + '}', communication_id.to_s)
|
2648
|
+
|
2649
|
+
# query parameters
|
2650
|
+
query_params = {}
|
2651
|
+
|
2652
|
+
# header parameters
|
2653
|
+
header_params = {}
|
2654
|
+
|
2655
|
+
# HTTP header 'Accept' (if needed)
|
2656
|
+
local_header_accept = ['application/json']
|
2657
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2658
|
+
|
2659
|
+
# HTTP header 'Content-Type'
|
2660
|
+
local_header_content_type = ['application/json']
|
2661
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2662
|
+
|
2663
|
+
# form parameters
|
2664
|
+
form_params = {}
|
2665
|
+
|
2666
|
+
# http body (model)
|
2667
|
+
post_body = @api_client.object_to_http_body(body)
|
2668
|
+
auth_names = ['PureCloud Auth']
|
2669
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
2670
|
+
:header_params => header_params,
|
2671
|
+
:query_params => query_params,
|
2672
|
+
:form_params => form_params,
|
2673
|
+
:body => post_body,
|
2674
|
+
:auth_names => auth_names,
|
2675
|
+
:return_type => 'Empty')
|
2676
|
+
if @api_client.config.debugging
|
2677
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_callback_participant_communication\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2678
|
+
end
|
2679
|
+
return data, status_code, headers
|
2680
|
+
end
|
2681
|
+
|
2682
|
+
# Update a conversation by disconnecting all of the participants
|
2683
|
+
#
|
2684
|
+
# @param chat_id chatId
|
2685
|
+
# @param body Conversation
|
2686
|
+
# @param [Hash] opts the optional parameters
|
2687
|
+
# @return [Conversation]
|
2688
|
+
def patch_conversations_chat(chat_id, body, opts = {})
|
2689
|
+
data, _status_code, _headers = patch_conversations_chat_with_http_info(chat_id, body, opts)
|
2690
|
+
return data
|
2691
|
+
end
|
2692
|
+
|
2693
|
+
# Update a conversation by disconnecting all of the participants
|
2694
|
+
#
|
2695
|
+
# @param chat_id chatId
|
2696
|
+
# @param body Conversation
|
2697
|
+
# @param [Hash] opts the optional parameters
|
2698
|
+
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
2699
|
+
def patch_conversations_chat_with_http_info(chat_id, body, opts = {})
|
2700
|
+
if @api_client.config.debugging
|
2701
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_chat ..."
|
2702
|
+
end
|
2703
|
+
# verify the required parameter 'chat_id' is set
|
2704
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ConversationsApi.patch_conversations_chat" if chat_id.nil?
|
2705
|
+
# verify the required parameter 'body' is set
|
2706
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_chat" if body.nil?
|
2707
|
+
# resource path
|
2708
|
+
local_var_path = "/api/v2/conversations/chats/{chatId}".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s)
|
2709
|
+
|
2710
|
+
# query parameters
|
2711
|
+
query_params = {}
|
2712
|
+
|
2713
|
+
# header parameters
|
2714
|
+
header_params = {}
|
2715
|
+
|
2716
|
+
# HTTP header 'Accept' (if needed)
|
2717
|
+
local_header_accept = ['application/json']
|
2718
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2719
|
+
|
2720
|
+
# HTTP header 'Content-Type'
|
2721
|
+
local_header_content_type = ['application/json']
|
2722
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2723
|
+
|
2724
|
+
# form parameters
|
2725
|
+
form_params = {}
|
2726
|
+
|
2727
|
+
# http body (model)
|
2728
|
+
post_body = @api_client.object_to_http_body(body)
|
2729
|
+
auth_names = ['PureCloud Auth']
|
2730
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
2731
|
+
:header_params => header_params,
|
2732
|
+
:query_params => query_params,
|
2733
|
+
:form_params => form_params,
|
2734
|
+
:body => post_body,
|
2735
|
+
:auth_names => auth_names,
|
2736
|
+
:return_type => 'Conversation')
|
2737
|
+
if @api_client.config.debugging
|
2738
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_chat\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2739
|
+
end
|
2740
|
+
return data, status_code, headers
|
2741
|
+
end
|
2742
|
+
|
2743
|
+
# Update conversation participant
|
2744
|
+
#
|
2745
|
+
# @param chat_id chatId
|
2746
|
+
# @param participant_id participantId
|
2747
|
+
# @param body Update request
|
2748
|
+
# @param [Hash] opts the optional parameters
|
2749
|
+
# @return [nil]
|
2750
|
+
def patch_conversations_chat_participant(chat_id, participant_id, body, opts = {})
|
2751
|
+
patch_conversations_chat_participant_with_http_info(chat_id, participant_id, body, opts)
|
2752
|
+
return nil
|
2753
|
+
end
|
2754
|
+
|
2755
|
+
# Update conversation participant
|
2756
|
+
#
|
2757
|
+
# @param chat_id chatId
|
2758
|
+
# @param participant_id participantId
|
2759
|
+
# @param body Update request
|
2760
|
+
# @param [Hash] opts the optional parameters
|
2761
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2762
|
+
def patch_conversations_chat_participant_with_http_info(chat_id, participant_id, body, opts = {})
|
2763
|
+
if @api_client.config.debugging
|
2764
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_chat_participant ..."
|
2765
|
+
end
|
2766
|
+
# verify the required parameter 'chat_id' is set
|
2767
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ConversationsApi.patch_conversations_chat_participant" if chat_id.nil?
|
2768
|
+
# verify the required parameter 'participant_id' is set
|
2769
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_chat_participant" if participant_id.nil?
|
2770
|
+
# verify the required parameter 'body' is set
|
2771
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_chat_participant" if body.nil?
|
2772
|
+
# resource path
|
2773
|
+
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)
|
2774
|
+
|
2775
|
+
# query parameters
|
2776
|
+
query_params = {}
|
2777
|
+
|
2778
|
+
# header parameters
|
2779
|
+
header_params = {}
|
2780
|
+
|
2781
|
+
# HTTP header 'Accept' (if needed)
|
2782
|
+
local_header_accept = ['application/json']
|
2783
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2784
|
+
|
2785
|
+
# HTTP header 'Content-Type'
|
2786
|
+
local_header_content_type = ['application/json']
|
2787
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2788
|
+
|
2789
|
+
# form parameters
|
2790
|
+
form_params = {}
|
2791
|
+
|
2792
|
+
# http body (model)
|
2793
|
+
post_body = @api_client.object_to_http_body(body)
|
2794
|
+
auth_names = ['PureCloud Auth']
|
2795
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
2796
|
+
:header_params => header_params,
|
2797
|
+
:query_params => query_params,
|
2798
|
+
:form_params => form_params,
|
2799
|
+
:body => post_body,
|
2800
|
+
:auth_names => auth_names)
|
2801
|
+
if @api_client.config.debugging
|
2802
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_chat_participant\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2803
|
+
end
|
2804
|
+
return data, status_code, headers
|
2805
|
+
end
|
2806
|
+
|
2807
|
+
# Update the attributes on a conversation participant.
|
2808
|
+
#
|
2809
|
+
# @param chat_id chatId
|
2810
|
+
# @param participant_id participantId
|
2811
|
+
# @param body Participant attributes
|
2812
|
+
# @param [Hash] opts the optional parameters
|
2813
|
+
# @return [nil]
|
2814
|
+
def patch_conversations_chat_participant_attributes(chat_id, participant_id, body, opts = {})
|
2815
|
+
patch_conversations_chat_participant_attributes_with_http_info(chat_id, participant_id, body, opts)
|
2816
|
+
return nil
|
2817
|
+
end
|
2818
|
+
|
2819
|
+
# Update the attributes on a conversation participant.
|
2820
|
+
#
|
2821
|
+
# @param chat_id chatId
|
2822
|
+
# @param participant_id participantId
|
2823
|
+
# @param body Participant attributes
|
2824
|
+
# @param [Hash] opts the optional parameters
|
2825
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2826
|
+
def patch_conversations_chat_participant_attributes_with_http_info(chat_id, participant_id, body, opts = {})
|
2827
|
+
if @api_client.config.debugging
|
2828
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_chat_participant_attributes ..."
|
2829
|
+
end
|
2830
|
+
# verify the required parameter 'chat_id' is set
|
2831
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ConversationsApi.patch_conversations_chat_participant_attributes" if chat_id.nil?
|
2832
|
+
# verify the required parameter 'participant_id' is set
|
2833
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_chat_participant_attributes" if participant_id.nil?
|
2834
|
+
# verify the required parameter 'body' is set
|
2835
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_chat_participant_attributes" if body.nil?
|
2836
|
+
# resource path
|
2837
|
+
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)
|
2838
|
+
|
2839
|
+
# query parameters
|
2840
|
+
query_params = {}
|
2841
|
+
|
2842
|
+
# header parameters
|
2843
|
+
header_params = {}
|
2844
|
+
|
2845
|
+
# HTTP header 'Accept' (if needed)
|
2846
|
+
local_header_accept = ['application/json']
|
2847
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2848
|
+
|
2849
|
+
# HTTP header 'Content-Type'
|
2850
|
+
local_header_content_type = ['application/json']
|
2851
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2852
|
+
|
2853
|
+
# form parameters
|
2854
|
+
form_params = {}
|
2855
|
+
|
2856
|
+
# http body (model)
|
2857
|
+
post_body = @api_client.object_to_http_body(body)
|
2858
|
+
auth_names = ['PureCloud Auth']
|
2859
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
2860
|
+
:header_params => header_params,
|
2861
|
+
:query_params => query_params,
|
2862
|
+
:form_params => form_params,
|
2863
|
+
:body => post_body,
|
2864
|
+
:auth_names => auth_names)
|
2865
|
+
if @api_client.config.debugging
|
2866
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_chat_participant_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2867
|
+
end
|
2868
|
+
return data, status_code, headers
|
2869
|
+
end
|
2870
|
+
|
2871
|
+
# Update conversation participant's communication by disconnecting it.
|
2872
|
+
#
|
2873
|
+
# @param chat_id chatId
|
2874
|
+
# @param participant_id participantId
|
2875
|
+
# @param communication_id communicationId
|
2876
|
+
# @param body Participant
|
2877
|
+
# @param [Hash] opts the optional parameters
|
2878
|
+
# @return [Empty]
|
2879
|
+
def patch_conversations_chat_participant_communication(chat_id, participant_id, communication_id, body, opts = {})
|
2880
|
+
data, _status_code, _headers = patch_conversations_chat_participant_communication_with_http_info(chat_id, participant_id, communication_id, body, opts)
|
2881
|
+
return data
|
2882
|
+
end
|
2883
|
+
|
2884
|
+
# Update conversation participant's communication by disconnecting it.
|
2885
|
+
#
|
2886
|
+
# @param chat_id chatId
|
2887
|
+
# @param participant_id participantId
|
2888
|
+
# @param communication_id communicationId
|
2889
|
+
# @param body Participant
|
2890
|
+
# @param [Hash] opts the optional parameters
|
2891
|
+
# @return [Array<(Empty, Fixnum, Hash)>] Empty data, response status code and response headers
|
2892
|
+
def patch_conversations_chat_participant_communication_with_http_info(chat_id, participant_id, communication_id, body, opts = {})
|
2893
|
+
if @api_client.config.debugging
|
2894
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_chat_participant_communication ..."
|
2895
|
+
end
|
2896
|
+
# verify the required parameter 'chat_id' is set
|
2897
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ConversationsApi.patch_conversations_chat_participant_communication" if chat_id.nil?
|
2898
|
+
# verify the required parameter 'participant_id' is set
|
2899
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_chat_participant_communication" if participant_id.nil?
|
2900
|
+
# verify the required parameter 'communication_id' is set
|
2901
|
+
fail ArgumentError, "Missing the required parameter 'communication_id' when calling ConversationsApi.patch_conversations_chat_participant_communication" if communication_id.nil?
|
2902
|
+
# verify the required parameter 'body' is set
|
2903
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_chat_participant_communication" if body.nil?
|
2904
|
+
# resource path
|
2905
|
+
local_var_path = "/api/v2/conversations/chats/{chatId}/participants/{participantId}/communications/{communicationId}".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s).sub('{' + 'communicationId' + '}', communication_id.to_s)
|
2906
|
+
|
2907
|
+
# query parameters
|
2908
|
+
query_params = {}
|
2909
|
+
|
2910
|
+
# header parameters
|
2911
|
+
header_params = {}
|
2912
|
+
|
2913
|
+
# HTTP header 'Accept' (if needed)
|
2914
|
+
local_header_accept = ['application/json']
|
2915
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2916
|
+
|
2917
|
+
# HTTP header 'Content-Type'
|
2918
|
+
local_header_content_type = ['application/json']
|
2919
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2920
|
+
|
2921
|
+
# form parameters
|
2922
|
+
form_params = {}
|
2923
|
+
|
2924
|
+
# http body (model)
|
2925
|
+
post_body = @api_client.object_to_http_body(body)
|
2926
|
+
auth_names = ['PureCloud Auth']
|
2927
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
2928
|
+
:header_params => header_params,
|
2929
|
+
:query_params => query_params,
|
2930
|
+
:form_params => form_params,
|
2931
|
+
:body => post_body,
|
2932
|
+
:auth_names => auth_names,
|
2933
|
+
:return_type => 'Empty')
|
2934
|
+
if @api_client.config.debugging
|
2935
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_chat_participant_communication\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2936
|
+
end
|
2937
|
+
return data, status_code, headers
|
2938
|
+
end
|
2939
|
+
|
2940
|
+
# Update a conversation by disconnecting all of the participants
|
2941
|
+
#
|
2942
|
+
# @param cobrowse_id cobrowseId
|
2943
|
+
# @param body Conversation
|
2944
|
+
# @param [Hash] opts the optional parameters
|
2945
|
+
# @return [Conversation]
|
2946
|
+
def patch_conversations_cobrowsesession(cobrowse_id, body, opts = {})
|
2947
|
+
data, _status_code, _headers = patch_conversations_cobrowsesession_with_http_info(cobrowse_id, body, opts)
|
2948
|
+
return data
|
2949
|
+
end
|
2950
|
+
|
2951
|
+
# Update a conversation by disconnecting all of the participants
|
2952
|
+
#
|
2953
|
+
# @param cobrowse_id cobrowseId
|
2954
|
+
# @param body Conversation
|
2955
|
+
# @param [Hash] opts the optional parameters
|
2956
|
+
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
2957
|
+
def patch_conversations_cobrowsesession_with_http_info(cobrowse_id, body, opts = {})
|
2958
|
+
if @api_client.config.debugging
|
2959
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_cobrowsesession ..."
|
2960
|
+
end
|
2961
|
+
# verify the required parameter 'cobrowse_id' is set
|
2962
|
+
fail ArgumentError, "Missing the required parameter 'cobrowse_id' when calling ConversationsApi.patch_conversations_cobrowsesession" if cobrowse_id.nil?
|
2963
|
+
# verify the required parameter 'body' is set
|
2964
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_cobrowsesession" if body.nil?
|
2965
|
+
# resource path
|
2966
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions/{cobrowseId}".sub('{format}','json').sub('{' + 'cobrowseId' + '}', cobrowse_id.to_s)
|
2967
|
+
|
2968
|
+
# query parameters
|
2969
|
+
query_params = {}
|
2970
|
+
|
2971
|
+
# header parameters
|
2972
|
+
header_params = {}
|
2973
|
+
|
2974
|
+
# HTTP header 'Accept' (if needed)
|
2975
|
+
local_header_accept = ['application/json']
|
2976
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
2977
|
+
|
2978
|
+
# HTTP header 'Content-Type'
|
2979
|
+
local_header_content_type = ['application/json']
|
2980
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
2981
|
+
|
2982
|
+
# form parameters
|
2983
|
+
form_params = {}
|
2984
|
+
|
2985
|
+
# http body (model)
|
2986
|
+
post_body = @api_client.object_to_http_body(body)
|
2987
|
+
auth_names = ['PureCloud Auth']
|
2988
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
2989
|
+
:header_params => header_params,
|
2990
|
+
:query_params => query_params,
|
2991
|
+
:form_params => form_params,
|
2992
|
+
:body => post_body,
|
2993
|
+
:auth_names => auth_names,
|
2994
|
+
:return_type => 'Conversation')
|
2995
|
+
if @api_client.config.debugging
|
2996
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_cobrowsesession\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2997
|
+
end
|
2998
|
+
return data, status_code, headers
|
2999
|
+
end
|
3000
|
+
|
3001
|
+
# Update conversation participant
|
3002
|
+
#
|
3003
|
+
# @param cobrowse_id cobrowseId
|
3004
|
+
# @param participant_id participantId
|
3005
|
+
# @param [Hash] opts the optional parameters
|
3006
|
+
# @option opts [MediaParticipantRequest] :body
|
3007
|
+
# @return [nil]
|
3008
|
+
def patch_conversations_cobrowsesession_participant(cobrowse_id, participant_id, opts = {})
|
3009
|
+
patch_conversations_cobrowsesession_participant_with_http_info(cobrowse_id, participant_id, opts)
|
3010
|
+
return nil
|
3011
|
+
end
|
3012
|
+
|
3013
|
+
# Update conversation participant
|
3014
|
+
#
|
3015
|
+
# @param cobrowse_id cobrowseId
|
3016
|
+
# @param participant_id participantId
|
3017
|
+
# @param [Hash] opts the optional parameters
|
3018
|
+
# @option opts [MediaParticipantRequest] :body
|
3019
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3020
|
+
def patch_conversations_cobrowsesession_participant_with_http_info(cobrowse_id, participant_id, opts = {})
|
3021
|
+
if @api_client.config.debugging
|
3022
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_cobrowsesession_participant ..."
|
3023
|
+
end
|
3024
|
+
# verify the required parameter 'cobrowse_id' is set
|
3025
|
+
fail ArgumentError, "Missing the required parameter 'cobrowse_id' when calling ConversationsApi.patch_conversations_cobrowsesession_participant" if cobrowse_id.nil?
|
3026
|
+
# verify the required parameter 'participant_id' is set
|
3027
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_cobrowsesession_participant" if participant_id.nil?
|
3028
|
+
# resource path
|
3029
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions/{cobrowseId}/participants/{participantId}".sub('{format}','json').sub('{' + 'cobrowseId' + '}', cobrowse_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
3030
|
+
|
3031
|
+
# query parameters
|
3032
|
+
query_params = {}
|
3033
|
+
|
3034
|
+
# header parameters
|
3035
|
+
header_params = {}
|
3036
|
+
|
3037
|
+
# HTTP header 'Accept' (if needed)
|
3038
|
+
local_header_accept = ['application/json']
|
3039
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3040
|
+
|
3041
|
+
# HTTP header 'Content-Type'
|
3042
|
+
local_header_content_type = ['application/json']
|
3043
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3044
|
+
|
3045
|
+
# form parameters
|
3046
|
+
form_params = {}
|
3047
|
+
|
3048
|
+
# http body (model)
|
3049
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
3050
|
+
auth_names = ['PureCloud Auth']
|
3051
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
3052
|
+
:header_params => header_params,
|
3053
|
+
:query_params => query_params,
|
3054
|
+
:form_params => form_params,
|
3055
|
+
:body => post_body,
|
3056
|
+
:auth_names => auth_names)
|
3057
|
+
if @api_client.config.debugging
|
3058
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_cobrowsesession_participant\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3059
|
+
end
|
3060
|
+
return data, status_code, headers
|
3061
|
+
end
|
3062
|
+
|
3063
|
+
# Update the attributes on a conversation participant.
|
3064
|
+
#
|
3065
|
+
# @param cobrowse_id cobrowseId
|
3066
|
+
# @param participant_id participantId
|
3067
|
+
# @param [Hash] opts the optional parameters
|
3068
|
+
# @option opts [ParticipantAttributes] :body
|
3069
|
+
# @return [nil]
|
3070
|
+
def patch_conversations_cobrowsesession_participant_attributes(cobrowse_id, participant_id, opts = {})
|
3071
|
+
patch_conversations_cobrowsesession_participant_attributes_with_http_info(cobrowse_id, participant_id, opts)
|
3072
|
+
return nil
|
3073
|
+
end
|
3074
|
+
|
3075
|
+
# Update the attributes on a conversation participant.
|
3076
|
+
#
|
3077
|
+
# @param cobrowse_id cobrowseId
|
3078
|
+
# @param participant_id participantId
|
3079
|
+
# @param [Hash] opts the optional parameters
|
3080
|
+
# @option opts [ParticipantAttributes] :body
|
3081
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3082
|
+
def patch_conversations_cobrowsesession_participant_attributes_with_http_info(cobrowse_id, participant_id, opts = {})
|
3083
|
+
if @api_client.config.debugging
|
3084
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_cobrowsesession_participant_attributes ..."
|
3085
|
+
end
|
3086
|
+
# verify the required parameter 'cobrowse_id' is set
|
3087
|
+
fail ArgumentError, "Missing the required parameter 'cobrowse_id' when calling ConversationsApi.patch_conversations_cobrowsesession_participant_attributes" if cobrowse_id.nil?
|
3088
|
+
# verify the required parameter 'participant_id' is set
|
3089
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_cobrowsesession_participant_attributes" if participant_id.nil?
|
3090
|
+
# resource path
|
3091
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions/{cobrowseId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'cobrowseId' + '}', cobrowse_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
3092
|
+
|
3093
|
+
# query parameters
|
3094
|
+
query_params = {}
|
3095
|
+
|
3096
|
+
# header parameters
|
3097
|
+
header_params = {}
|
3098
|
+
|
3099
|
+
# HTTP header 'Accept' (if needed)
|
3100
|
+
local_header_accept = ['application/json']
|
3101
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3102
|
+
|
3103
|
+
# HTTP header 'Content-Type'
|
3104
|
+
local_header_content_type = ['application/json']
|
3105
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3106
|
+
|
3107
|
+
# form parameters
|
3108
|
+
form_params = {}
|
3109
|
+
|
3110
|
+
# http body (model)
|
3111
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
3112
|
+
auth_names = ['PureCloud Auth']
|
3113
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
3114
|
+
:header_params => header_params,
|
3115
|
+
:query_params => query_params,
|
3116
|
+
:form_params => form_params,
|
3117
|
+
:body => post_body,
|
3118
|
+
:auth_names => auth_names)
|
3119
|
+
if @api_client.config.debugging
|
3120
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_cobrowsesession_participant_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3121
|
+
end
|
3122
|
+
return data, status_code, headers
|
3123
|
+
end
|
3124
|
+
|
3125
|
+
# Update conversation participant's communication by disconnecting it.
|
3126
|
+
#
|
3127
|
+
# @param cobrowse_id cobrowseId
|
3128
|
+
# @param participant_id participantId
|
3129
|
+
# @param communication_id communicationId
|
3130
|
+
# @param body Participant
|
3131
|
+
# @param [Hash] opts the optional parameters
|
3132
|
+
# @return [Empty]
|
3133
|
+
def patch_conversations_cobrowsesession_participant_communication(cobrowse_id, participant_id, communication_id, body, opts = {})
|
3134
|
+
data, _status_code, _headers = patch_conversations_cobrowsesession_participant_communication_with_http_info(cobrowse_id, participant_id, communication_id, body, opts)
|
3135
|
+
return data
|
3136
|
+
end
|
3137
|
+
|
3138
|
+
# Update conversation participant's communication by disconnecting it.
|
3139
|
+
#
|
3140
|
+
# @param cobrowse_id cobrowseId
|
3141
|
+
# @param participant_id participantId
|
3142
|
+
# @param communication_id communicationId
|
3143
|
+
# @param body Participant
|
3144
|
+
# @param [Hash] opts the optional parameters
|
3145
|
+
# @return [Array<(Empty, Fixnum, Hash)>] Empty data, response status code and response headers
|
3146
|
+
def patch_conversations_cobrowsesession_participant_communication_with_http_info(cobrowse_id, participant_id, communication_id, body, opts = {})
|
3147
|
+
if @api_client.config.debugging
|
3148
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_cobrowsesession_participant_communication ..."
|
3149
|
+
end
|
3150
|
+
# verify the required parameter 'cobrowse_id' is set
|
3151
|
+
fail ArgumentError, "Missing the required parameter 'cobrowse_id' when calling ConversationsApi.patch_conversations_cobrowsesession_participant_communication" if cobrowse_id.nil?
|
3152
|
+
# verify the required parameter 'participant_id' is set
|
3153
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_cobrowsesession_participant_communication" if participant_id.nil?
|
3154
|
+
# verify the required parameter 'communication_id' is set
|
3155
|
+
fail ArgumentError, "Missing the required parameter 'communication_id' when calling ConversationsApi.patch_conversations_cobrowsesession_participant_communication" if communication_id.nil?
|
3156
|
+
# verify the required parameter 'body' is set
|
3157
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_cobrowsesession_participant_communication" if body.nil?
|
3158
|
+
# resource path
|
3159
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions/{cobrowseId}/participants/{participantId}/communications/{communicationId}".sub('{format}','json').sub('{' + 'cobrowseId' + '}', cobrowse_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s).sub('{' + 'communicationId' + '}', communication_id.to_s)
|
3160
|
+
|
3161
|
+
# query parameters
|
3162
|
+
query_params = {}
|
3163
|
+
|
3164
|
+
# header parameters
|
3165
|
+
header_params = {}
|
3166
|
+
|
3167
|
+
# HTTP header 'Accept' (if needed)
|
3168
|
+
local_header_accept = ['application/json']
|
3169
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3170
|
+
|
3171
|
+
# HTTP header 'Content-Type'
|
3172
|
+
local_header_content_type = ['application/json']
|
3173
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3174
|
+
|
3175
|
+
# form parameters
|
3176
|
+
form_params = {}
|
3177
|
+
|
3178
|
+
# http body (model)
|
3179
|
+
post_body = @api_client.object_to_http_body(body)
|
3180
|
+
auth_names = ['PureCloud Auth']
|
3181
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
3182
|
+
:header_params => header_params,
|
3183
|
+
:query_params => query_params,
|
3184
|
+
:form_params => form_params,
|
3185
|
+
:body => post_body,
|
3186
|
+
:auth_names => auth_names,
|
3187
|
+
:return_type => 'Empty')
|
3188
|
+
if @api_client.config.debugging
|
3189
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_cobrowsesession_participant_communication\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3190
|
+
end
|
3191
|
+
return data, status_code, headers
|
3192
|
+
end
|
3193
|
+
|
3194
|
+
# Update a conversation by disconnecting all of the participants
|
3195
|
+
#
|
3196
|
+
# @param email_id emailId
|
3197
|
+
# @param body Conversation
|
3198
|
+
# @param [Hash] opts the optional parameters
|
3199
|
+
# @return [Conversation]
|
3200
|
+
def patch_conversations_email(email_id, body, opts = {})
|
3201
|
+
data, _status_code, _headers = patch_conversations_email_with_http_info(email_id, body, opts)
|
3202
|
+
return data
|
3203
|
+
end
|
3204
|
+
|
3205
|
+
# Update a conversation by disconnecting all of the participants
|
3206
|
+
#
|
3207
|
+
# @param email_id emailId
|
3208
|
+
# @param body Conversation
|
3209
|
+
# @param [Hash] opts the optional parameters
|
3210
|
+
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
3211
|
+
def patch_conversations_email_with_http_info(email_id, body, opts = {})
|
3212
|
+
if @api_client.config.debugging
|
3213
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_email ..."
|
3214
|
+
end
|
3215
|
+
# verify the required parameter 'email_id' is set
|
3216
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling ConversationsApi.patch_conversations_email" if email_id.nil?
|
3217
|
+
# verify the required parameter 'body' is set
|
3218
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_email" if body.nil?
|
3219
|
+
# resource path
|
3220
|
+
local_var_path = "/api/v2/conversations/emails/{emailId}".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
|
3221
|
+
|
3222
|
+
# query parameters
|
3223
|
+
query_params = {}
|
3224
|
+
|
3225
|
+
# header parameters
|
3226
|
+
header_params = {}
|
3227
|
+
|
3228
|
+
# HTTP header 'Accept' (if needed)
|
3229
|
+
local_header_accept = ['application/json']
|
3230
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3231
|
+
|
3232
|
+
# HTTP header 'Content-Type'
|
3233
|
+
local_header_content_type = ['application/json']
|
3234
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3235
|
+
|
3236
|
+
# form parameters
|
3237
|
+
form_params = {}
|
3238
|
+
|
3239
|
+
# http body (model)
|
3240
|
+
post_body = @api_client.object_to_http_body(body)
|
3241
|
+
auth_names = ['PureCloud Auth']
|
3242
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
3243
|
+
:header_params => header_params,
|
3244
|
+
:query_params => query_params,
|
3245
|
+
:form_params => form_params,
|
3246
|
+
:body => post_body,
|
3247
|
+
:auth_names => auth_names,
|
3248
|
+
:return_type => 'Conversation')
|
3249
|
+
if @api_client.config.debugging
|
3250
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_email\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3251
|
+
end
|
3252
|
+
return data, status_code, headers
|
3253
|
+
end
|
3254
|
+
|
3255
|
+
# Update conversation participant
|
3256
|
+
#
|
3257
|
+
# @param email_id emailId
|
3258
|
+
# @param participant_id participantId
|
3259
|
+
# @param body Update request
|
3260
|
+
# @param [Hash] opts the optional parameters
|
3261
|
+
# @return [nil]
|
3262
|
+
def patch_conversations_email_participant(email_id, participant_id, body, opts = {})
|
3263
|
+
patch_conversations_email_participant_with_http_info(email_id, participant_id, body, opts)
|
3264
|
+
return nil
|
3265
|
+
end
|
3266
|
+
|
3267
|
+
# Update conversation participant
|
3268
|
+
#
|
3269
|
+
# @param email_id emailId
|
3270
|
+
# @param participant_id participantId
|
3271
|
+
# @param body Update request
|
3272
|
+
# @param [Hash] opts the optional parameters
|
3273
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3274
|
+
def patch_conversations_email_participant_with_http_info(email_id, participant_id, body, opts = {})
|
3275
|
+
if @api_client.config.debugging
|
3276
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_email_participant ..."
|
3277
|
+
end
|
3278
|
+
# verify the required parameter 'email_id' is set
|
3279
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling ConversationsApi.patch_conversations_email_participant" if email_id.nil?
|
3280
|
+
# verify the required parameter 'participant_id' is set
|
3281
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_email_participant" if participant_id.nil?
|
3282
|
+
# verify the required parameter 'body' is set
|
3283
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_email_participant" if body.nil?
|
3284
|
+
# resource path
|
3285
|
+
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)
|
3286
|
+
|
3287
|
+
# query parameters
|
3288
|
+
query_params = {}
|
3289
|
+
|
3290
|
+
# header parameters
|
3291
|
+
header_params = {}
|
3292
|
+
|
3293
|
+
# HTTP header 'Accept' (if needed)
|
3294
|
+
local_header_accept = ['application/json']
|
3295
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3296
|
+
|
3297
|
+
# HTTP header 'Content-Type'
|
3298
|
+
local_header_content_type = ['application/json']
|
3299
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3300
|
+
|
3301
|
+
# form parameters
|
3302
|
+
form_params = {}
|
3303
|
+
|
3304
|
+
# http body (model)
|
3305
|
+
post_body = @api_client.object_to_http_body(body)
|
3306
|
+
auth_names = ['PureCloud Auth']
|
3307
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
3308
|
+
:header_params => header_params,
|
3309
|
+
:query_params => query_params,
|
3310
|
+
:form_params => form_params,
|
3311
|
+
:body => post_body,
|
3312
|
+
:auth_names => auth_names)
|
3313
|
+
if @api_client.config.debugging
|
3314
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_email_participant\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3315
|
+
end
|
3316
|
+
return data, status_code, headers
|
3317
|
+
end
|
3318
|
+
|
3319
|
+
# Update the attributes on a conversation participant.
|
3320
|
+
#
|
3321
|
+
# @param email_id emailId
|
3322
|
+
# @param participant_id participantId
|
3323
|
+
# @param body Participant attributes
|
3324
|
+
# @param [Hash] opts the optional parameters
|
3325
|
+
# @return [nil]
|
3326
|
+
def patch_conversations_email_participant_attributes(email_id, participant_id, body, opts = {})
|
3327
|
+
patch_conversations_email_participant_attributes_with_http_info(email_id, participant_id, body, opts)
|
3328
|
+
return nil
|
3329
|
+
end
|
3330
|
+
|
3331
|
+
# Update the attributes on a conversation participant.
|
3332
|
+
#
|
3333
|
+
# @param email_id emailId
|
3334
|
+
# @param participant_id participantId
|
3335
|
+
# @param body Participant attributes
|
3336
|
+
# @param [Hash] opts the optional parameters
|
3337
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3338
|
+
def patch_conversations_email_participant_attributes_with_http_info(email_id, participant_id, body, opts = {})
|
3339
|
+
if @api_client.config.debugging
|
3340
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_email_participant_attributes ..."
|
3341
|
+
end
|
3342
|
+
# verify the required parameter 'email_id' is set
|
3343
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling ConversationsApi.patch_conversations_email_participant_attributes" if email_id.nil?
|
3344
|
+
# verify the required parameter 'participant_id' is set
|
3345
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_email_participant_attributes" if participant_id.nil?
|
3346
|
+
# verify the required parameter 'body' is set
|
3347
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_email_participant_attributes" if body.nil?
|
3348
|
+
# resource path
|
3349
|
+
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)
|
3350
|
+
|
3351
|
+
# query parameters
|
3352
|
+
query_params = {}
|
3353
|
+
|
3354
|
+
# header parameters
|
3355
|
+
header_params = {}
|
3356
|
+
|
3357
|
+
# HTTP header 'Accept' (if needed)
|
3358
|
+
local_header_accept = ['application/json']
|
3359
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3360
|
+
|
3361
|
+
# HTTP header 'Content-Type'
|
3362
|
+
local_header_content_type = ['application/json']
|
3363
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3364
|
+
|
3365
|
+
# form parameters
|
3366
|
+
form_params = {}
|
3367
|
+
|
3368
|
+
# http body (model)
|
3369
|
+
post_body = @api_client.object_to_http_body(body)
|
3370
|
+
auth_names = ['PureCloud Auth']
|
3371
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
3372
|
+
:header_params => header_params,
|
3373
|
+
:query_params => query_params,
|
3374
|
+
:form_params => form_params,
|
3375
|
+
:body => post_body,
|
3376
|
+
:auth_names => auth_names)
|
3377
|
+
if @api_client.config.debugging
|
3378
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_email_participant_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3379
|
+
end
|
3380
|
+
return data, status_code, headers
|
3381
|
+
end
|
3382
|
+
|
3383
|
+
# Update conversation participant's communication by disconnecting it.
|
3384
|
+
#
|
3385
|
+
# @param email_id emailId
|
3386
|
+
# @param participant_id participantId
|
3387
|
+
# @param communication_id communicationId
|
3388
|
+
# @param body Participant
|
3389
|
+
# @param [Hash] opts the optional parameters
|
3390
|
+
# @return [Empty]
|
3391
|
+
def patch_conversations_email_participant_communication(email_id, participant_id, communication_id, body, opts = {})
|
3392
|
+
data, _status_code, _headers = patch_conversations_email_participant_communication_with_http_info(email_id, participant_id, communication_id, body, opts)
|
3393
|
+
return data
|
3394
|
+
end
|
3395
|
+
|
3396
|
+
# Update conversation participant's communication by disconnecting it.
|
3397
|
+
#
|
3398
|
+
# @param email_id emailId
|
3399
|
+
# @param participant_id participantId
|
3400
|
+
# @param communication_id communicationId
|
3401
|
+
# @param body Participant
|
3402
|
+
# @param [Hash] opts the optional parameters
|
3403
|
+
# @return [Array<(Empty, Fixnum, Hash)>] Empty data, response status code and response headers
|
3404
|
+
def patch_conversations_email_participant_communication_with_http_info(email_id, participant_id, communication_id, body, opts = {})
|
3405
|
+
if @api_client.config.debugging
|
3406
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_email_participant_communication ..."
|
3407
|
+
end
|
3408
|
+
# verify the required parameter 'email_id' is set
|
3409
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling ConversationsApi.patch_conversations_email_participant_communication" if email_id.nil?
|
3410
|
+
# verify the required parameter 'participant_id' is set
|
3411
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_email_participant_communication" if participant_id.nil?
|
3412
|
+
# verify the required parameter 'communication_id' is set
|
3413
|
+
fail ArgumentError, "Missing the required parameter 'communication_id' when calling ConversationsApi.patch_conversations_email_participant_communication" if communication_id.nil?
|
3414
|
+
# verify the required parameter 'body' is set
|
3415
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_email_participant_communication" if body.nil?
|
3416
|
+
# resource path
|
3417
|
+
local_var_path = "/api/v2/conversations/emails/{emailId}/participants/{participantId}/communications/{communicationId}".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s).sub('{' + 'communicationId' + '}', communication_id.to_s)
|
3418
|
+
|
3419
|
+
# query parameters
|
3420
|
+
query_params = {}
|
3421
|
+
|
3422
|
+
# header parameters
|
3423
|
+
header_params = {}
|
3424
|
+
|
3425
|
+
# HTTP header 'Accept' (if needed)
|
3426
|
+
local_header_accept = ['application/json']
|
3427
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3428
|
+
|
3429
|
+
# HTTP header 'Content-Type'
|
3430
|
+
local_header_content_type = ['application/json']
|
3431
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3432
|
+
|
3433
|
+
# form parameters
|
3434
|
+
form_params = {}
|
3435
|
+
|
3436
|
+
# http body (model)
|
3437
|
+
post_body = @api_client.object_to_http_body(body)
|
3438
|
+
auth_names = ['PureCloud Auth']
|
3439
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
3440
|
+
:header_params => header_params,
|
3441
|
+
:query_params => query_params,
|
3442
|
+
:form_params => form_params,
|
3443
|
+
:body => post_body,
|
3444
|
+
:auth_names => auth_names,
|
3445
|
+
:return_type => 'Empty')
|
3446
|
+
if @api_client.config.debugging
|
3447
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversations_email_participant_communication\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3448
|
+
end
|
3449
|
+
return data, status_code, headers
|
3450
|
+
end
|
3451
|
+
|
3452
|
+
# Index conversation properties
|
3453
|
+
#
|
3454
|
+
# @param conversation_id conversationId
|
3455
|
+
# @param body request
|
3456
|
+
# @param [Hash] opts the optional parameters
|
3457
|
+
# @return [PropertyIndexRequest]
|
3458
|
+
def post_analytics_conversation_details_properties(conversation_id, body, opts = {})
|
3459
|
+
data, _status_code, _headers = post_analytics_conversation_details_properties_with_http_info(conversation_id, body, opts)
|
3460
|
+
return data
|
3461
|
+
end
|
3462
|
+
|
3463
|
+
# Index conversation properties
|
3464
|
+
#
|
3465
|
+
# @param conversation_id conversationId
|
3466
|
+
# @param body request
|
3467
|
+
# @param [Hash] opts the optional parameters
|
3468
|
+
# @return [Array<(PropertyIndexRequest, Fixnum, Hash)>] PropertyIndexRequest data, response status code and response headers
|
3469
|
+
def post_analytics_conversation_details_properties_with_http_info(conversation_id, body, opts = {})
|
3470
|
+
if @api_client.config.debugging
|
3471
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_analytics_conversation_details_properties ..."
|
3472
|
+
end
|
3473
|
+
# verify the required parameter 'conversation_id' is set
|
3474
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.post_analytics_conversation_details_properties" if conversation_id.nil?
|
3475
|
+
# verify the required parameter 'body' is set
|
3476
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_analytics_conversation_details_properties" if body.nil?
|
3477
|
+
# resource path
|
3478
|
+
local_var_path = "/api/v2/analytics/conversations/{conversationId}/details/properties".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
3479
|
+
|
3480
|
+
# query parameters
|
3481
|
+
query_params = {}
|
3482
|
+
|
3483
|
+
# header parameters
|
3484
|
+
header_params = {}
|
3485
|
+
|
3486
|
+
# HTTP header 'Accept' (if needed)
|
3487
|
+
local_header_accept = ['application/json']
|
3488
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3489
|
+
|
3490
|
+
# HTTP header 'Content-Type'
|
3491
|
+
local_header_content_type = ['application/json']
|
3492
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3493
|
+
|
3494
|
+
# form parameters
|
3495
|
+
form_params = {}
|
3496
|
+
|
3497
|
+
# http body (model)
|
3498
|
+
post_body = @api_client.object_to_http_body(body)
|
3499
|
+
auth_names = ['PureCloud Auth']
|
3500
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
3501
|
+
:header_params => header_params,
|
3502
|
+
:query_params => query_params,
|
3503
|
+
:form_params => form_params,
|
3504
|
+
:body => post_body,
|
3505
|
+
:auth_names => auth_names,
|
3506
|
+
:return_type => 'PropertyIndexRequest')
|
3507
|
+
if @api_client.config.debugging
|
3508
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_analytics_conversation_details_properties\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3509
|
+
end
|
3510
|
+
return data, status_code, headers
|
3511
|
+
end
|
3512
|
+
|
3513
|
+
# Query for conversation aggregates
|
3514
|
+
#
|
3515
|
+
# @param body query
|
3516
|
+
# @param [Hash] opts the optional parameters
|
3517
|
+
# @return [AggregateQueryResponse]
|
3518
|
+
def post_analytics_conversations_aggregates_query(body, opts = {})
|
3519
|
+
data, _status_code, _headers = post_analytics_conversations_aggregates_query_with_http_info(body, opts)
|
3520
|
+
return data
|
3521
|
+
end
|
3522
|
+
|
3523
|
+
# Query for conversation aggregates
|
3524
|
+
#
|
3525
|
+
# @param body query
|
3526
|
+
# @param [Hash] opts the optional parameters
|
3527
|
+
# @return [Array<(AggregateQueryResponse, Fixnum, Hash)>] AggregateQueryResponse data, response status code and response headers
|
3528
|
+
def post_analytics_conversations_aggregates_query_with_http_info(body, opts = {})
|
3529
|
+
if @api_client.config.debugging
|
3530
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_analytics_conversations_aggregates_query ..."
|
3531
|
+
end
|
3532
|
+
# verify the required parameter 'body' is set
|
3533
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_analytics_conversations_aggregates_query" if body.nil?
|
3534
|
+
# resource path
|
3535
|
+
local_var_path = "/api/v2/analytics/conversations/aggregates/query".sub('{format}','json')
|
3536
|
+
|
3537
|
+
# query parameters
|
3538
|
+
query_params = {}
|
3539
|
+
|
3540
|
+
# header parameters
|
3541
|
+
header_params = {}
|
3542
|
+
|
3543
|
+
# HTTP header 'Accept' (if needed)
|
3544
|
+
local_header_accept = ['application/json']
|
3545
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3546
|
+
|
3547
|
+
# HTTP header 'Content-Type'
|
3548
|
+
local_header_content_type = ['application/json']
|
3549
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3550
|
+
|
3551
|
+
# form parameters
|
3552
|
+
form_params = {}
|
3553
|
+
|
3554
|
+
# http body (model)
|
3555
|
+
post_body = @api_client.object_to_http_body(body)
|
3556
|
+
auth_names = ['PureCloud Auth']
|
3557
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
3558
|
+
:header_params => header_params,
|
3559
|
+
:query_params => query_params,
|
3560
|
+
:form_params => form_params,
|
3561
|
+
:body => post_body,
|
3562
|
+
:auth_names => auth_names,
|
3563
|
+
:return_type => 'AggregateQueryResponse')
|
3564
|
+
if @api_client.config.debugging
|
3565
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_analytics_conversations_aggregates_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3566
|
+
end
|
3567
|
+
return data, status_code, headers
|
3568
|
+
end
|
3569
|
+
|
3570
|
+
# Query for conversation details
|
3571
|
+
#
|
3572
|
+
# @param body query
|
3573
|
+
# @param [Hash] opts the optional parameters
|
3574
|
+
# @return [AnalyticsConversationQueryResponse]
|
3575
|
+
def post_analytics_conversations_details_query(body, opts = {})
|
3576
|
+
data, _status_code, _headers = post_analytics_conversations_details_query_with_http_info(body, opts)
|
3577
|
+
return data
|
3578
|
+
end
|
3579
|
+
|
3580
|
+
# Query for conversation details
|
3581
|
+
#
|
3582
|
+
# @param body query
|
3583
|
+
# @param [Hash] opts the optional parameters
|
3584
|
+
# @return [Array<(AnalyticsConversationQueryResponse, Fixnum, Hash)>] AnalyticsConversationQueryResponse data, response status code and response headers
|
3585
|
+
def post_analytics_conversations_details_query_with_http_info(body, opts = {})
|
3586
|
+
if @api_client.config.debugging
|
3587
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_analytics_conversations_details_query ..."
|
3588
|
+
end
|
3589
|
+
# verify the required parameter 'body' is set
|
3590
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_analytics_conversations_details_query" if body.nil?
|
3591
|
+
# resource path
|
3592
|
+
local_var_path = "/api/v2/analytics/conversations/details/query".sub('{format}','json')
|
3593
|
+
|
3594
|
+
# query parameters
|
3595
|
+
query_params = {}
|
3596
|
+
|
3597
|
+
# header parameters
|
3598
|
+
header_params = {}
|
3599
|
+
|
3600
|
+
# HTTP header 'Accept' (if needed)
|
3601
|
+
local_header_accept = ['application/json']
|
3602
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3603
|
+
|
3604
|
+
# HTTP header 'Content-Type'
|
3605
|
+
local_header_content_type = ['application/json']
|
3606
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3607
|
+
|
3608
|
+
# form parameters
|
3609
|
+
form_params = {}
|
3610
|
+
|
3611
|
+
# http body (model)
|
3612
|
+
post_body = @api_client.object_to_http_body(body)
|
3613
|
+
auth_names = ['PureCloud Auth']
|
3614
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
3615
|
+
:header_params => header_params,
|
3616
|
+
:query_params => query_params,
|
3617
|
+
:form_params => form_params,
|
3618
|
+
:body => post_body,
|
3619
|
+
:auth_names => auth_names,
|
3620
|
+
:return_type => 'AnalyticsConversationQueryResponse')
|
3621
|
+
if @api_client.config.debugging
|
3622
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_analytics_conversations_details_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3623
|
+
end
|
3624
|
+
return data, status_code, headers
|
3625
|
+
end
|
3626
|
+
|
3627
|
+
# Create a new callback for the specified participant on the conversation.
|
3628
|
+
#
|
3629
|
+
# @param conversation_id conversation ID
|
3630
|
+
# @param participant_id participant ID
|
3631
|
+
# @param [Hash] opts the optional parameters
|
3632
|
+
# @option opts [CreateCallbackCommand] :body
|
3633
|
+
# @return [nil]
|
3634
|
+
def post_conversation_participant_callbacks(conversation_id, participant_id, opts = {})
|
3635
|
+
post_conversation_participant_callbacks_with_http_info(conversation_id, participant_id, opts)
|
3636
|
+
return nil
|
3637
|
+
end
|
3638
|
+
|
3639
|
+
# Create a new callback for the specified participant on the conversation.
|
3640
|
+
#
|
3641
|
+
# @param conversation_id conversation ID
|
3642
|
+
# @param participant_id participant ID
|
3643
|
+
# @param [Hash] opts the optional parameters
|
3644
|
+
# @option opts [CreateCallbackCommand] :body
|
3645
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3646
|
+
def post_conversation_participant_callbacks_with_http_info(conversation_id, participant_id, opts = {})
|
3647
|
+
if @api_client.config.debugging
|
3648
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversation_participant_callbacks ..."
|
3649
|
+
end
|
3650
|
+
# verify the required parameter 'conversation_id' is set
|
3651
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.post_conversation_participant_callbacks" if conversation_id.nil?
|
3652
|
+
# verify the required parameter 'participant_id' is set
|
3653
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.post_conversation_participant_callbacks" if participant_id.nil?
|
3654
|
+
# resource path
|
3655
|
+
local_var_path = "/api/v2/conversations/{conversationId}/participants/{participantId}/callbacks".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
3656
|
+
|
3657
|
+
# query parameters
|
3658
|
+
query_params = {}
|
3659
|
+
|
3660
|
+
# header parameters
|
3661
|
+
header_params = {}
|
3662
|
+
|
3663
|
+
# HTTP header 'Accept' (if needed)
|
3664
|
+
local_header_accept = ['application/json']
|
3665
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3666
|
+
|
3667
|
+
# HTTP header 'Content-Type'
|
3668
|
+
local_header_content_type = ['application/json']
|
3669
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3670
|
+
|
3671
|
+
# form parameters
|
3672
|
+
form_params = {}
|
3673
|
+
|
3674
|
+
# http body (model)
|
3675
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
3676
|
+
auth_names = ['PureCloud Auth']
|
3677
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
3678
|
+
:header_params => header_params,
|
3679
|
+
:query_params => query_params,
|
3680
|
+
:form_params => form_params,
|
3681
|
+
:body => post_body,
|
3682
|
+
:auth_names => auth_names)
|
3683
|
+
if @api_client.config.debugging
|
3684
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversation_participant_callbacks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3685
|
+
end
|
3686
|
+
return data, status_code, headers
|
3687
|
+
end
|
3688
|
+
|
3689
|
+
# Replace this participant with the specified user and/or address
|
3690
|
+
#
|
3691
|
+
# @param conversation_id conversation ID
|
3692
|
+
# @param participant_id participant ID
|
3693
|
+
# @param body Transfer request
|
3694
|
+
# @param [Hash] opts the optional parameters
|
3695
|
+
# @return [nil]
|
3696
|
+
def post_conversation_participant_replace(conversation_id, participant_id, body, opts = {})
|
3697
|
+
post_conversation_participant_replace_with_http_info(conversation_id, participant_id, body, opts)
|
3698
|
+
return nil
|
3699
|
+
end
|
3700
|
+
|
3701
|
+
# Replace this participant with the specified user and/or address
|
3702
|
+
#
|
3703
|
+
# @param conversation_id conversation ID
|
3704
|
+
# @param participant_id participant ID
|
3705
|
+
# @param body Transfer request
|
3706
|
+
# @param [Hash] opts the optional parameters
|
3707
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3708
|
+
def post_conversation_participant_replace_with_http_info(conversation_id, participant_id, body, opts = {})
|
3709
|
+
if @api_client.config.debugging
|
3710
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversation_participant_replace ..."
|
3711
|
+
end
|
3712
|
+
# verify the required parameter 'conversation_id' is set
|
3713
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.post_conversation_participant_replace" if conversation_id.nil?
|
3714
|
+
# verify the required parameter 'participant_id' is set
|
3715
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.post_conversation_participant_replace" if participant_id.nil?
|
3716
|
+
# verify the required parameter 'body' is set
|
3717
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversation_participant_replace" if body.nil?
|
3718
|
+
# resource path
|
3719
|
+
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)
|
3720
|
+
|
3721
|
+
# query parameters
|
3722
|
+
query_params = {}
|
3723
|
+
|
3724
|
+
# header parameters
|
3725
|
+
header_params = {}
|
3726
|
+
|
3727
|
+
# HTTP header 'Accept' (if needed)
|
3728
|
+
local_header_accept = ['application/json']
|
3729
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3730
|
+
|
3731
|
+
# HTTP header 'Content-Type'
|
3732
|
+
local_header_content_type = ['application/json']
|
3733
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3734
|
+
|
3735
|
+
# form parameters
|
3736
|
+
form_params = {}
|
3737
|
+
|
3738
|
+
# http body (model)
|
3739
|
+
post_body = @api_client.object_to_http_body(body)
|
3740
|
+
auth_names = ['PureCloud Auth']
|
3741
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
3742
|
+
:header_params => header_params,
|
3743
|
+
:query_params => query_params,
|
3744
|
+
:form_params => form_params,
|
3745
|
+
:body => post_body,
|
3746
|
+
:auth_names => auth_names)
|
3747
|
+
if @api_client.config.debugging
|
3748
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversation_participant_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3749
|
+
end
|
3750
|
+
return data, status_code, headers
|
3751
|
+
end
|
3752
|
+
|
3753
|
+
# Add a new call to a conversation
|
3754
|
+
#
|
3755
|
+
# @param call_id callId
|
3756
|
+
# @param body Conversation
|
3757
|
+
# @param [Hash] opts the optional parameters
|
3758
|
+
# @return [Conversation]
|
3759
|
+
def post_conversations_call(call_id, body, opts = {})
|
3760
|
+
data, _status_code, _headers = post_conversations_call_with_http_info(call_id, body, opts)
|
3761
|
+
return data
|
3762
|
+
end
|
3763
|
+
|
3764
|
+
# Add a new call to a conversation
|
3765
|
+
#
|
3766
|
+
# @param call_id callId
|
3767
|
+
# @param body Conversation
|
3768
|
+
# @param [Hash] opts the optional parameters
|
3769
|
+
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
3770
|
+
def post_conversations_call_with_http_info(call_id, body, opts = {})
|
3771
|
+
if @api_client.config.debugging
|
3772
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_call ..."
|
3773
|
+
end
|
3774
|
+
# verify the required parameter 'call_id' is set
|
3775
|
+
fail ArgumentError, "Missing the required parameter 'call_id' when calling ConversationsApi.post_conversations_call" if call_id.nil?
|
3776
|
+
# verify the required parameter 'body' is set
|
3777
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_call" if body.nil?
|
3778
|
+
# resource path
|
3779
|
+
local_var_path = "/api/v2/conversations/calls/{callId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
|
3780
|
+
|
3781
|
+
# query parameters
|
3782
|
+
query_params = {}
|
3783
|
+
|
3784
|
+
# header parameters
|
3785
|
+
header_params = {}
|
3786
|
+
|
3787
|
+
# HTTP header 'Accept' (if needed)
|
3788
|
+
local_header_accept = ['application/json']
|
3789
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3790
|
+
|
3791
|
+
# HTTP header 'Content-Type'
|
3792
|
+
local_header_content_type = ['application/json']
|
3793
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3794
|
+
|
3795
|
+
# form parameters
|
3796
|
+
form_params = {}
|
3797
|
+
|
3798
|
+
# http body (model)
|
3799
|
+
post_body = @api_client.object_to_http_body(body)
|
3800
|
+
auth_names = ['PureCloud Auth']
|
3801
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
3802
|
+
:header_params => header_params,
|
3803
|
+
:query_params => query_params,
|
3804
|
+
:form_params => form_params,
|
3805
|
+
:body => post_body,
|
3806
|
+
:auth_names => auth_names,
|
3807
|
+
:return_type => 'Conversation')
|
3808
|
+
if @api_client.config.debugging
|
3809
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_call\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3810
|
+
end
|
3811
|
+
return data, status_code, headers
|
3812
|
+
end
|
3813
|
+
|
3814
|
+
# Initiate and update consult transfer
|
3815
|
+
#
|
3816
|
+
# @param call_id callId
|
3817
|
+
# @param participant_id participantId
|
3818
|
+
# @param body Destination address & initial speak to
|
3819
|
+
# @param [Hash] opts the optional parameters
|
3820
|
+
# @return [ConsultTransferResponse]
|
3821
|
+
def post_conversations_call_participant_consult(call_id, participant_id, body, opts = {})
|
3822
|
+
data, _status_code, _headers = post_conversations_call_participant_consult_with_http_info(call_id, participant_id, body, opts)
|
3823
|
+
return data
|
3824
|
+
end
|
3825
|
+
|
3826
|
+
# Initiate and update consult transfer
|
3827
|
+
#
|
3828
|
+
# @param call_id callId
|
3829
|
+
# @param participant_id participantId
|
3830
|
+
# @param body Destination address & initial speak to
|
3831
|
+
# @param [Hash] opts the optional parameters
|
3832
|
+
# @return [Array<(ConsultTransferResponse, Fixnum, Hash)>] ConsultTransferResponse data, response status code and response headers
|
3833
|
+
def post_conversations_call_participant_consult_with_http_info(call_id, participant_id, body, opts = {})
|
3834
|
+
if @api_client.config.debugging
|
3835
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_call_participant_consult ..."
|
3836
|
+
end
|
3837
|
+
# verify the required parameter 'call_id' is set
|
3838
|
+
fail ArgumentError, "Missing the required parameter 'call_id' when calling ConversationsApi.post_conversations_call_participant_consult" if call_id.nil?
|
3839
|
+
# verify the required parameter 'participant_id' is set
|
3840
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.post_conversations_call_participant_consult" if participant_id.nil?
|
3841
|
+
# verify the required parameter 'body' is set
|
3842
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_call_participant_consult" if body.nil?
|
3843
|
+
# resource path
|
3844
|
+
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)
|
3845
|
+
|
3846
|
+
# query parameters
|
3847
|
+
query_params = {}
|
3848
|
+
|
3849
|
+
# header parameters
|
3850
|
+
header_params = {}
|
3851
|
+
|
3852
|
+
# HTTP header 'Accept' (if needed)
|
3853
|
+
local_header_accept = ['application/json']
|
3854
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3855
|
+
|
3856
|
+
# HTTP header 'Content-Type'
|
3857
|
+
local_header_content_type = ['application/json']
|
3858
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3859
|
+
|
3860
|
+
# form parameters
|
3861
|
+
form_params = {}
|
3862
|
+
|
3863
|
+
# http body (model)
|
3864
|
+
post_body = @api_client.object_to_http_body(body)
|
3865
|
+
auth_names = ['PureCloud Auth']
|
3866
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
3867
|
+
:header_params => header_params,
|
3868
|
+
:query_params => query_params,
|
3869
|
+
:form_params => form_params,
|
3870
|
+
:body => post_body,
|
3871
|
+
:auth_names => auth_names,
|
3872
|
+
:return_type => 'ConsultTransferResponse')
|
3873
|
+
if @api_client.config.debugging
|
3874
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_call_participant_consult\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3875
|
+
end
|
3876
|
+
return data, status_code, headers
|
3877
|
+
end
|
3878
|
+
|
3879
|
+
# Listen in on the conversation from the point of view of a given participant.
|
3880
|
+
#
|
3881
|
+
# @param call_id callId
|
3882
|
+
# @param participant_id participantId
|
3883
|
+
# @param [Hash] opts the optional parameters
|
3884
|
+
# @return [nil]
|
3885
|
+
def post_conversations_call_participant_monitor(call_id, participant_id, opts = {})
|
3886
|
+
post_conversations_call_participant_monitor_with_http_info(call_id, participant_id, opts)
|
3887
|
+
return nil
|
3888
|
+
end
|
3889
|
+
|
3890
|
+
# Listen in on the conversation from the point of view of a given participant.
|
3891
|
+
#
|
3892
|
+
# @param call_id callId
|
3893
|
+
# @param participant_id participantId
|
3894
|
+
# @param [Hash] opts the optional parameters
|
3895
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3896
|
+
def post_conversations_call_participant_monitor_with_http_info(call_id, participant_id, opts = {})
|
3897
|
+
if @api_client.config.debugging
|
3898
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_call_participant_monitor ..."
|
3899
|
+
end
|
3900
|
+
# verify the required parameter 'call_id' is set
|
3901
|
+
fail ArgumentError, "Missing the required parameter 'call_id' when calling ConversationsApi.post_conversations_call_participant_monitor" if call_id.nil?
|
3902
|
+
# verify the required parameter 'participant_id' is set
|
3903
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.post_conversations_call_participant_monitor" if participant_id.nil?
|
3904
|
+
# resource path
|
3905
|
+
local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/monitor".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
3906
|
+
|
3907
|
+
# query parameters
|
3908
|
+
query_params = {}
|
3909
|
+
|
3910
|
+
# header parameters
|
3911
|
+
header_params = {}
|
3912
|
+
|
3913
|
+
# HTTP header 'Accept' (if needed)
|
3914
|
+
local_header_accept = ['application/json']
|
3915
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3916
|
+
|
3917
|
+
# HTTP header 'Content-Type'
|
3918
|
+
local_header_content_type = ['application/json']
|
3919
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3920
|
+
|
3921
|
+
# form parameters
|
3922
|
+
form_params = {}
|
3923
|
+
|
3924
|
+
# http body (model)
|
3925
|
+
post_body = nil
|
3926
|
+
auth_names = ['PureCloud Auth']
|
3927
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
3928
|
+
:header_params => header_params,
|
3929
|
+
:query_params => query_params,
|
3930
|
+
:form_params => form_params,
|
3931
|
+
:body => post_body,
|
3932
|
+
:auth_names => auth_names)
|
3933
|
+
if @api_client.config.debugging
|
3934
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_call_participant_monitor\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3935
|
+
end
|
3936
|
+
return data, status_code, headers
|
3937
|
+
end
|
3938
|
+
|
3939
|
+
# Replace this participant with the specified user and/or address
|
3940
|
+
#
|
3941
|
+
# @param call_id callId
|
3942
|
+
# @param participant_id participantId
|
3943
|
+
# @param body Transfer request
|
3944
|
+
# @param [Hash] opts the optional parameters
|
3945
|
+
# @return [nil]
|
3946
|
+
def post_conversations_call_participant_replace(call_id, participant_id, body, opts = {})
|
3947
|
+
post_conversations_call_participant_replace_with_http_info(call_id, participant_id, body, opts)
|
3948
|
+
return nil
|
3949
|
+
end
|
3950
|
+
|
3951
|
+
# Replace this participant with the specified user and/or address
|
3952
|
+
#
|
3953
|
+
# @param call_id callId
|
3954
|
+
# @param participant_id participantId
|
3955
|
+
# @param body Transfer request
|
3956
|
+
# @param [Hash] opts the optional parameters
|
3957
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3958
|
+
def post_conversations_call_participant_replace_with_http_info(call_id, participant_id, body, opts = {})
|
3959
|
+
if @api_client.config.debugging
|
3960
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_call_participant_replace ..."
|
3961
|
+
end
|
3962
|
+
# verify the required parameter 'call_id' is set
|
3963
|
+
fail ArgumentError, "Missing the required parameter 'call_id' when calling ConversationsApi.post_conversations_call_participant_replace" if call_id.nil?
|
3964
|
+
# verify the required parameter 'participant_id' is set
|
3965
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.post_conversations_call_participant_replace" if participant_id.nil?
|
3966
|
+
# verify the required parameter 'body' is set
|
3967
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_call_participant_replace" if body.nil?
|
3968
|
+
# resource path
|
3969
|
+
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)
|
3970
|
+
|
3971
|
+
# query parameters
|
3972
|
+
query_params = {}
|
3973
|
+
|
3974
|
+
# header parameters
|
3975
|
+
header_params = {}
|
3976
|
+
|
3977
|
+
# HTTP header 'Accept' (if needed)
|
3978
|
+
local_header_accept = ['application/json']
|
3979
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3980
|
+
|
3981
|
+
# HTTP header 'Content-Type'
|
3982
|
+
local_header_content_type = ['application/json']
|
3983
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3984
|
+
|
3985
|
+
# form parameters
|
3986
|
+
form_params = {}
|
3987
|
+
|
3988
|
+
# http body (model)
|
3989
|
+
post_body = @api_client.object_to_http_body(body)
|
3990
|
+
auth_names = ['PureCloud Auth']
|
3991
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
3992
|
+
:header_params => header_params,
|
3993
|
+
:query_params => query_params,
|
3994
|
+
:form_params => form_params,
|
3995
|
+
:body => post_body,
|
3996
|
+
:auth_names => auth_names)
|
3997
|
+
if @api_client.config.debugging
|
3998
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_call_participant_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3999
|
+
end
|
4000
|
+
return data, status_code, headers
|
4001
|
+
end
|
4002
|
+
|
4003
|
+
# Add participants to a conversation
|
4004
|
+
#
|
4005
|
+
# @param call_id callId
|
4006
|
+
# @param body Conversation
|
4007
|
+
# @param [Hash] opts the optional parameters
|
4008
|
+
# @return [Conversation]
|
4009
|
+
def post_conversations_call_participants(call_id, body, opts = {})
|
4010
|
+
data, _status_code, _headers = post_conversations_call_participants_with_http_info(call_id, body, opts)
|
4011
|
+
return data
|
4012
|
+
end
|
4013
|
+
|
4014
|
+
# Add participants to a conversation
|
4015
|
+
#
|
4016
|
+
# @param call_id callId
|
4017
|
+
# @param body Conversation
|
4018
|
+
# @param [Hash] opts the optional parameters
|
4019
|
+
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
4020
|
+
def post_conversations_call_participants_with_http_info(call_id, body, opts = {})
|
4021
|
+
if @api_client.config.debugging
|
4022
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_call_participants ..."
|
4023
|
+
end
|
4024
|
+
# verify the required parameter 'call_id' is set
|
4025
|
+
fail ArgumentError, "Missing the required parameter 'call_id' when calling ConversationsApi.post_conversations_call_participants" if call_id.nil?
|
4026
|
+
# verify the required parameter 'body' is set
|
4027
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_call_participants" if body.nil?
|
4028
|
+
# resource path
|
4029
|
+
local_var_path = "/api/v2/conversations/calls/{callId}/participants".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
|
4030
|
+
|
4031
|
+
# query parameters
|
4032
|
+
query_params = {}
|
4033
|
+
|
4034
|
+
# header parameters
|
4035
|
+
header_params = {}
|
4036
|
+
|
4037
|
+
# HTTP header 'Accept' (if needed)
|
4038
|
+
local_header_accept = ['application/json']
|
4039
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
4040
|
+
|
4041
|
+
# HTTP header 'Content-Type'
|
4042
|
+
local_header_content_type = ['application/json']
|
4043
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
4044
|
+
|
4045
|
+
# form parameters
|
4046
|
+
form_params = {}
|
4047
|
+
|
4048
|
+
# http body (model)
|
4049
|
+
post_body = @api_client.object_to_http_body(body)
|
4050
|
+
auth_names = ['PureCloud Auth']
|
4051
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
4052
|
+
:header_params => header_params,
|
4053
|
+
:query_params => query_params,
|
4054
|
+
:form_params => form_params,
|
4055
|
+
:body => post_body,
|
4056
|
+
:auth_names => auth_names,
|
4057
|
+
:return_type => 'Conversation')
|
4058
|
+
if @api_client.config.debugging
|
4059
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_call_participants\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4060
|
+
end
|
4061
|
+
return data, status_code, headers
|
4062
|
+
end
|
4063
|
+
|
4064
|
+
# Replace this participant with the specified user and/or address
|
4065
|
+
#
|
4066
|
+
# @param callback_id callbackId
|
4067
|
+
# @param participant_id participantId
|
4068
|
+
# @param body Transfer request
|
4069
|
+
# @param [Hash] opts the optional parameters
|
4070
|
+
# @return [nil]
|
4071
|
+
def post_conversations_callback_participant_replace(callback_id, participant_id, body, opts = {})
|
4072
|
+
post_conversations_callback_participant_replace_with_http_info(callback_id, participant_id, body, opts)
|
4073
|
+
return nil
|
4074
|
+
end
|
4075
|
+
|
4076
|
+
# Replace this participant with the specified user and/or address
|
4077
|
+
#
|
4078
|
+
# @param callback_id callbackId
|
4079
|
+
# @param participant_id participantId
|
4080
|
+
# @param body Transfer request
|
4081
|
+
# @param [Hash] opts the optional parameters
|
4082
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
4083
|
+
def post_conversations_callback_participant_replace_with_http_info(callback_id, participant_id, body, opts = {})
|
4084
|
+
if @api_client.config.debugging
|
4085
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_callback_participant_replace ..."
|
4086
|
+
end
|
4087
|
+
# verify the required parameter 'callback_id' is set
|
4088
|
+
fail ArgumentError, "Missing the required parameter 'callback_id' when calling ConversationsApi.post_conversations_callback_participant_replace" if callback_id.nil?
|
4089
|
+
# verify the required parameter 'participant_id' is set
|
4090
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.post_conversations_callback_participant_replace" if participant_id.nil?
|
4091
|
+
# verify the required parameter 'body' is set
|
4092
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_callback_participant_replace" if body.nil?
|
4093
|
+
# resource path
|
4094
|
+
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)
|
4095
|
+
|
4096
|
+
# query parameters
|
4097
|
+
query_params = {}
|
4098
|
+
|
4099
|
+
# header parameters
|
4100
|
+
header_params = {}
|
4101
|
+
|
4102
|
+
# HTTP header 'Accept' (if needed)
|
4103
|
+
local_header_accept = ['application/json']
|
4104
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
4105
|
+
|
4106
|
+
# HTTP header 'Content-Type'
|
4107
|
+
local_header_content_type = ['application/json']
|
4108
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
4109
|
+
|
4110
|
+
# form parameters
|
4111
|
+
form_params = {}
|
4112
|
+
|
4113
|
+
# http body (model)
|
4114
|
+
post_body = @api_client.object_to_http_body(body)
|
4115
|
+
auth_names = ['PureCloud Auth']
|
4116
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
4117
|
+
:header_params => header_params,
|
4118
|
+
:query_params => query_params,
|
4119
|
+
:form_params => form_params,
|
4120
|
+
:body => post_body,
|
4121
|
+
:auth_names => auth_names)
|
4122
|
+
if @api_client.config.debugging
|
4123
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_callback_participant_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4124
|
+
end
|
4125
|
+
return data, status_code, headers
|
4126
|
+
end
|
4127
|
+
|
4128
|
+
# Create a Callback
|
4129
|
+
#
|
4130
|
+
# @param body Callback
|
4131
|
+
# @param [Hash] opts the optional parameters
|
4132
|
+
# @return [CreateCallbackResponse]
|
4133
|
+
def post_conversations_callbacks(body, opts = {})
|
4134
|
+
data, _status_code, _headers = post_conversations_callbacks_with_http_info(body, opts)
|
4135
|
+
return data
|
4136
|
+
end
|
4137
|
+
|
4138
|
+
# Create a Callback
|
4139
|
+
#
|
4140
|
+
# @param body Callback
|
4141
|
+
# @param [Hash] opts the optional parameters
|
4142
|
+
# @return [Array<(CreateCallbackResponse, Fixnum, Hash)>] CreateCallbackResponse data, response status code and response headers
|
4143
|
+
def post_conversations_callbacks_with_http_info(body, opts = {})
|
4144
|
+
if @api_client.config.debugging
|
4145
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_callbacks ..."
|
4146
|
+
end
|
4147
|
+
# verify the required parameter 'body' is set
|
4148
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_callbacks" if body.nil?
|
4149
|
+
# resource path
|
4150
|
+
local_var_path = "/api/v2/conversations/callbacks".sub('{format}','json')
|
4151
|
+
|
4152
|
+
# query parameters
|
4153
|
+
query_params = {}
|
4154
|
+
|
4155
|
+
# header parameters
|
4156
|
+
header_params = {}
|
4157
|
+
|
4158
|
+
# HTTP header 'Accept' (if needed)
|
4159
|
+
local_header_accept = ['application/json']
|
4160
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
4161
|
+
|
4162
|
+
# HTTP header 'Content-Type'
|
4163
|
+
local_header_content_type = ['application/json']
|
4164
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
4165
|
+
|
4166
|
+
# form parameters
|
4167
|
+
form_params = {}
|
4168
|
+
|
4169
|
+
# http body (model)
|
4170
|
+
post_body = @api_client.object_to_http_body(body)
|
4171
|
+
auth_names = ['PureCloud Auth']
|
4172
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
4173
|
+
:header_params => header_params,
|
4174
|
+
:query_params => query_params,
|
4175
|
+
:form_params => form_params,
|
4176
|
+
:body => post_body,
|
4177
|
+
:auth_names => auth_names,
|
4178
|
+
:return_type => 'CreateCallbackResponse')
|
4179
|
+
if @api_client.config.debugging
|
4180
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_callbacks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4181
|
+
end
|
4182
|
+
return data, status_code, headers
|
4183
|
+
end
|
4184
|
+
|
4185
|
+
# Create a call conversation
|
4186
|
+
#
|
4187
|
+
# @param body Call request
|
4188
|
+
# @param [Hash] opts the optional parameters
|
4189
|
+
# @return [CreateCallResponse]
|
4190
|
+
def post_conversations_calls(body, opts = {})
|
4191
|
+
data, _status_code, _headers = post_conversations_calls_with_http_info(body, opts)
|
4192
|
+
return data
|
4193
|
+
end
|
4194
|
+
|
4195
|
+
# Create a call conversation
|
4196
|
+
#
|
4197
|
+
# @param body Call request
|
4198
|
+
# @param [Hash] opts the optional parameters
|
4199
|
+
# @return [Array<(CreateCallResponse, Fixnum, Hash)>] CreateCallResponse data, response status code and response headers
|
4200
|
+
def post_conversations_calls_with_http_info(body, opts = {})
|
4201
|
+
if @api_client.config.debugging
|
4202
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_calls ..."
|
4203
|
+
end
|
4204
|
+
# verify the required parameter 'body' is set
|
4205
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_calls" if body.nil?
|
4206
|
+
# resource path
|
4207
|
+
local_var_path = "/api/v2/conversations/calls".sub('{format}','json')
|
4208
|
+
|
4209
|
+
# query parameters
|
4210
|
+
query_params = {}
|
4211
|
+
|
4212
|
+
# header parameters
|
4213
|
+
header_params = {}
|
4214
|
+
|
4215
|
+
# HTTP header 'Accept' (if needed)
|
4216
|
+
local_header_accept = ['application/json']
|
4217
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
4218
|
+
|
4219
|
+
# HTTP header 'Content-Type'
|
4220
|
+
local_header_content_type = ['application/json']
|
4221
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
4222
|
+
|
4223
|
+
# form parameters
|
4224
|
+
form_params = {}
|
4225
|
+
|
4226
|
+
# http body (model)
|
4227
|
+
post_body = @api_client.object_to_http_body(body)
|
4228
|
+
auth_names = ['PureCloud Auth']
|
4229
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
4230
|
+
:header_params => header_params,
|
4231
|
+
:query_params => query_params,
|
4232
|
+
:form_params => form_params,
|
4233
|
+
:body => post_body,
|
4234
|
+
:auth_names => auth_names,
|
4235
|
+
:return_type => 'CreateCallResponse')
|
4236
|
+
if @api_client.config.debugging
|
4237
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_calls\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4238
|
+
end
|
4239
|
+
return data, status_code, headers
|
4240
|
+
end
|
4241
|
+
|
4242
|
+
# Replace this participant with the specified user and/or address
|
4243
|
+
#
|
4244
|
+
# @param chat_id chatId
|
4245
|
+
# @param participant_id participantId
|
4246
|
+
# @param body Transfer request
|
4247
|
+
# @param [Hash] opts the optional parameters
|
4248
|
+
# @return [nil]
|
4249
|
+
def post_conversations_chat_participant_replace(chat_id, participant_id, body, opts = {})
|
4250
|
+
post_conversations_chat_participant_replace_with_http_info(chat_id, participant_id, body, opts)
|
4251
|
+
return nil
|
4252
|
+
end
|
4253
|
+
|
4254
|
+
# Replace this participant with the specified user and/or address
|
4255
|
+
#
|
4256
|
+
# @param chat_id chatId
|
4257
|
+
# @param participant_id participantId
|
4258
|
+
# @param body Transfer request
|
4259
|
+
# @param [Hash] opts the optional parameters
|
4260
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
4261
|
+
def post_conversations_chat_participant_replace_with_http_info(chat_id, participant_id, body, opts = {})
|
4262
|
+
if @api_client.config.debugging
|
4263
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_chat_participant_replace ..."
|
4264
|
+
end
|
4265
|
+
# verify the required parameter 'chat_id' is set
|
4266
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ConversationsApi.post_conversations_chat_participant_replace" if chat_id.nil?
|
4267
|
+
# verify the required parameter 'participant_id' is set
|
4268
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.post_conversations_chat_participant_replace" if participant_id.nil?
|
4269
|
+
# verify the required parameter 'body' is set
|
4270
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_chat_participant_replace" if body.nil?
|
4271
|
+
# resource path
|
4272
|
+
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)
|
4273
|
+
|
4274
|
+
# query parameters
|
4275
|
+
query_params = {}
|
4276
|
+
|
4277
|
+
# header parameters
|
4278
|
+
header_params = {}
|
4279
|
+
|
4280
|
+
# HTTP header 'Accept' (if needed)
|
4281
|
+
local_header_accept = ['application/json']
|
4282
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
4283
|
+
|
4284
|
+
# HTTP header 'Content-Type'
|
4285
|
+
local_header_content_type = ['application/json']
|
4286
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
4287
|
+
|
4288
|
+
# form parameters
|
4289
|
+
form_params = {}
|
4290
|
+
|
4291
|
+
# http body (model)
|
4292
|
+
post_body = @api_client.object_to_http_body(body)
|
4293
|
+
auth_names = ['PureCloud Auth']
|
4294
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
4295
|
+
:header_params => header_params,
|
4296
|
+
:query_params => query_params,
|
4297
|
+
:form_params => form_params,
|
4298
|
+
:body => post_body,
|
4299
|
+
:auth_names => auth_names)
|
4300
|
+
if @api_client.config.debugging
|
4301
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_chat_participant_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4302
|
+
end
|
4303
|
+
return data, status_code, headers
|
4304
|
+
end
|
4305
|
+
|
4306
|
+
# Create a web chat conversation
|
4307
|
+
#
|
4308
|
+
# @param body Create web chat request
|
4309
|
+
# @param [Hash] opts the optional parameters
|
4310
|
+
# @return [ChatConversation]
|
4311
|
+
def post_conversations_chats(body, opts = {})
|
4312
|
+
data, _status_code, _headers = post_conversations_chats_with_http_info(body, opts)
|
4313
|
+
return data
|
4314
|
+
end
|
4315
|
+
|
4316
|
+
# Create a web chat conversation
|
4317
|
+
#
|
4318
|
+
# @param body Create web chat request
|
4319
|
+
# @param [Hash] opts the optional parameters
|
4320
|
+
# @return [Array<(ChatConversation, Fixnum, Hash)>] ChatConversation data, response status code and response headers
|
4321
|
+
def post_conversations_chats_with_http_info(body, opts = {})
|
4322
|
+
if @api_client.config.debugging
|
4323
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_chats ..."
|
4324
|
+
end
|
4325
|
+
# verify the required parameter 'body' is set
|
4326
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_chats" if body.nil?
|
4327
|
+
# resource path
|
4328
|
+
local_var_path = "/api/v2/conversations/chats".sub('{format}','json')
|
4329
|
+
|
4330
|
+
# query parameters
|
4331
|
+
query_params = {}
|
4332
|
+
|
4333
|
+
# header parameters
|
4334
|
+
header_params = {}
|
4335
|
+
|
4336
|
+
# HTTP header 'Accept' (if needed)
|
4337
|
+
local_header_accept = ['application/json']
|
4338
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
4339
|
+
|
4340
|
+
# HTTP header 'Content-Type'
|
4341
|
+
local_header_content_type = ['application/json']
|
4342
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
4343
|
+
|
4344
|
+
# form parameters
|
4345
|
+
form_params = {}
|
4346
|
+
|
4347
|
+
# http body (model)
|
4348
|
+
post_body = @api_client.object_to_http_body(body)
|
4349
|
+
auth_names = ['PureCloud Auth']
|
4350
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
4351
|
+
:header_params => header_params,
|
4352
|
+
:query_params => query_params,
|
4353
|
+
:form_params => form_params,
|
4354
|
+
:body => post_body,
|
4355
|
+
:auth_names => auth_names,
|
4356
|
+
:return_type => 'ChatConversation')
|
4357
|
+
if @api_client.config.debugging
|
4358
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_chats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4359
|
+
end
|
4360
|
+
return data, status_code, headers
|
4361
|
+
end
|
4362
|
+
|
4363
|
+
# Replace this participant with the specified user and/or address
|
4364
|
+
#
|
4365
|
+
# @param cobrowse_id cobrowseId
|
4366
|
+
# @param participant_id participantId
|
4367
|
+
# @param [Hash] opts the optional parameters
|
4368
|
+
# @option opts [TransferRequest] :body
|
4369
|
+
# @return [nil]
|
4370
|
+
def post_conversations_cobrowsesession_participant_replace(cobrowse_id, participant_id, opts = {})
|
4371
|
+
post_conversations_cobrowsesession_participant_replace_with_http_info(cobrowse_id, participant_id, opts)
|
4372
|
+
return nil
|
4373
|
+
end
|
4374
|
+
|
4375
|
+
# Replace this participant with the specified user and/or address
|
4376
|
+
#
|
4377
|
+
# @param cobrowse_id cobrowseId
|
4378
|
+
# @param participant_id participantId
|
4379
|
+
# @param [Hash] opts the optional parameters
|
4380
|
+
# @option opts [TransferRequest] :body
|
4381
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
4382
|
+
def post_conversations_cobrowsesession_participant_replace_with_http_info(cobrowse_id, participant_id, opts = {})
|
4383
|
+
if @api_client.config.debugging
|
4384
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_cobrowsesession_participant_replace ..."
|
4385
|
+
end
|
4386
|
+
# verify the required parameter 'cobrowse_id' is set
|
4387
|
+
fail ArgumentError, "Missing the required parameter 'cobrowse_id' when calling ConversationsApi.post_conversations_cobrowsesession_participant_replace" if cobrowse_id.nil?
|
4388
|
+
# verify the required parameter 'participant_id' is set
|
4389
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.post_conversations_cobrowsesession_participant_replace" if participant_id.nil?
|
4390
|
+
# resource path
|
4391
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions/{cobrowseId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'cobrowseId' + '}', cobrowse_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
4392
|
+
|
4393
|
+
# query parameters
|
4394
|
+
query_params = {}
|
4395
|
+
|
4396
|
+
# header parameters
|
4397
|
+
header_params = {}
|
4398
|
+
|
4399
|
+
# HTTP header 'Accept' (if needed)
|
4400
|
+
local_header_accept = ['application/json']
|
4401
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
4402
|
+
|
4403
|
+
# HTTP header 'Content-Type'
|
4404
|
+
local_header_content_type = ['application/json']
|
4405
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
4406
|
+
|
4407
|
+
# form parameters
|
4408
|
+
form_params = {}
|
4409
|
+
|
4410
|
+
# http body (model)
|
4411
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
4412
|
+
auth_names = ['PureCloud Auth']
|
4413
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
4414
|
+
:header_params => header_params,
|
4415
|
+
:query_params => query_params,
|
4416
|
+
:form_params => form_params,
|
4417
|
+
:body => post_body,
|
4418
|
+
:auth_names => auth_names)
|
4419
|
+
if @api_client.config.debugging
|
4420
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_cobrowsesession_participant_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4421
|
+
end
|
4422
|
+
return data, status_code, headers
|
4423
|
+
end
|
4424
|
+
|
4425
|
+
# Send an email reply
|
4426
|
+
#
|
4427
|
+
# @param email_id emailId
|
4428
|
+
# @param body Reply
|
4429
|
+
# @param [Hash] opts the optional parameters
|
4430
|
+
# @return [EmailMessage]
|
4431
|
+
def post_conversations_email_messages(email_id, body, opts = {})
|
4432
|
+
data, _status_code, _headers = post_conversations_email_messages_with_http_info(email_id, body, opts)
|
4433
|
+
return data
|
4434
|
+
end
|
4435
|
+
|
4436
|
+
# Send an email reply
|
4437
|
+
#
|
4438
|
+
# @param email_id emailId
|
4439
|
+
# @param body Reply
|
4440
|
+
# @param [Hash] opts the optional parameters
|
4441
|
+
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
4442
|
+
def post_conversations_email_messages_with_http_info(email_id, body, opts = {})
|
4443
|
+
if @api_client.config.debugging
|
4444
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_email_messages ..."
|
4445
|
+
end
|
4446
|
+
# verify the required parameter 'email_id' is set
|
4447
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling ConversationsApi.post_conversations_email_messages" if email_id.nil?
|
4448
|
+
# verify the required parameter 'body' is set
|
4449
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_email_messages" if body.nil?
|
4450
|
+
# resource path
|
4451
|
+
local_var_path = "/api/v2/conversations/emails/{emailId}/messages".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
|
4452
|
+
|
4453
|
+
# query parameters
|
4454
|
+
query_params = {}
|
4455
|
+
|
4456
|
+
# header parameters
|
4457
|
+
header_params = {}
|
4458
|
+
|
4459
|
+
# HTTP header 'Accept' (if needed)
|
4460
|
+
local_header_accept = ['application/json']
|
4461
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
4462
|
+
|
4463
|
+
# HTTP header 'Content-Type'
|
4464
|
+
local_header_content_type = ['application/json']
|
4465
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
4466
|
+
|
4467
|
+
# form parameters
|
4468
|
+
form_params = {}
|
4469
|
+
|
4470
|
+
# http body (model)
|
4471
|
+
post_body = @api_client.object_to_http_body(body)
|
4472
|
+
auth_names = ['PureCloud Auth']
|
4473
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
4474
|
+
:header_params => header_params,
|
4475
|
+
:query_params => query_params,
|
4476
|
+
:form_params => form_params,
|
4477
|
+
:body => post_body,
|
4478
|
+
:auth_names => auth_names,
|
4479
|
+
:return_type => 'EmailMessage')
|
4480
|
+
if @api_client.config.debugging
|
4481
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_email_messages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4482
|
+
end
|
4483
|
+
return data, status_code, headers
|
4484
|
+
end
|
4485
|
+
|
4486
|
+
# Replace this participant with the specified user and/or address
|
4487
|
+
#
|
4488
|
+
# @param email_id emailId
|
4489
|
+
# @param participant_id participantId
|
4490
|
+
# @param body Transfer request
|
4491
|
+
# @param [Hash] opts the optional parameters
|
4492
|
+
# @return [nil]
|
4493
|
+
def post_conversations_email_participant_replace(email_id, participant_id, body, opts = {})
|
4494
|
+
post_conversations_email_participant_replace_with_http_info(email_id, participant_id, body, opts)
|
4495
|
+
return nil
|
4496
|
+
end
|
4497
|
+
|
4498
|
+
# Replace this participant with the specified user and/or address
|
4499
|
+
#
|
4500
|
+
# @param email_id emailId
|
4501
|
+
# @param participant_id participantId
|
4502
|
+
# @param body Transfer request
|
4503
|
+
# @param [Hash] opts the optional parameters
|
4504
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
4505
|
+
def post_conversations_email_participant_replace_with_http_info(email_id, participant_id, body, opts = {})
|
4506
|
+
if @api_client.config.debugging
|
4507
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_email_participant_replace ..."
|
4508
|
+
end
|
4509
|
+
# verify the required parameter 'email_id' is set
|
4510
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling ConversationsApi.post_conversations_email_participant_replace" if email_id.nil?
|
4511
|
+
# verify the required parameter 'participant_id' is set
|
4512
|
+
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.post_conversations_email_participant_replace" if participant_id.nil?
|
4513
|
+
# verify the required parameter 'body' is set
|
4514
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_email_participant_replace" if body.nil?
|
4515
|
+
# resource path
|
4516
|
+
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)
|
4517
|
+
|
4518
|
+
# query parameters
|
4519
|
+
query_params = {}
|
4520
|
+
|
4521
|
+
# header parameters
|
4522
|
+
header_params = {}
|
4523
|
+
|
4524
|
+
# HTTP header 'Accept' (if needed)
|
4525
|
+
local_header_accept = ['application/json']
|
4526
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
4527
|
+
|
4528
|
+
# HTTP header 'Content-Type'
|
4529
|
+
local_header_content_type = ['application/json']
|
4530
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
4531
|
+
|
4532
|
+
# form parameters
|
4533
|
+
form_params = {}
|
4534
|
+
|
4535
|
+
# http body (model)
|
4536
|
+
post_body = @api_client.object_to_http_body(body)
|
4537
|
+
auth_names = ['PureCloud Auth']
|
4538
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
4539
|
+
:header_params => header_params,
|
4540
|
+
:query_params => query_params,
|
4541
|
+
:form_params => form_params,
|
4542
|
+
:body => post_body,
|
4543
|
+
:auth_names => auth_names)
|
4544
|
+
if @api_client.config.debugging
|
4545
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_email_participant_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4546
|
+
end
|
4547
|
+
return data, status_code, headers
|
4548
|
+
end
|
4549
|
+
|
4550
|
+
# Create an email conversation
|
4551
|
+
#
|
4552
|
+
# @param body Create email request
|
4553
|
+
# @param [Hash] opts the optional parameters
|
4554
|
+
# @return [EmailConversation]
|
4555
|
+
def post_conversations_emails(body, opts = {})
|
4556
|
+
data, _status_code, _headers = post_conversations_emails_with_http_info(body, opts)
|
4557
|
+
return data
|
4558
|
+
end
|
4559
|
+
|
4560
|
+
# Create an email conversation
|
4561
|
+
#
|
4562
|
+
# @param body Create email request
|
4563
|
+
# @param [Hash] opts the optional parameters
|
4564
|
+
# @return [Array<(EmailConversation, Fixnum, Hash)>] EmailConversation data, response status code and response headers
|
4565
|
+
def post_conversations_emails_with_http_info(body, opts = {})
|
4566
|
+
if @api_client.config.debugging
|
4567
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_emails ..."
|
4568
|
+
end
|
4569
|
+
# verify the required parameter 'body' is set
|
4570
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_emails" if body.nil?
|
4571
|
+
# resource path
|
4572
|
+
local_var_path = "/api/v2/conversations/emails".sub('{format}','json')
|
4573
|
+
|
4574
|
+
# query parameters
|
4575
|
+
query_params = {}
|
4576
|
+
|
4577
|
+
# header parameters
|
4578
|
+
header_params = {}
|
4579
|
+
|
4580
|
+
# HTTP header 'Accept' (if needed)
|
4581
|
+
local_header_accept = ['application/json']
|
4582
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
4583
|
+
|
4584
|
+
# HTTP header 'Content-Type'
|
4585
|
+
local_header_content_type = ['application/json']
|
4586
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
4587
|
+
|
4588
|
+
# form parameters
|
4589
|
+
form_params = {}
|
4590
|
+
|
4591
|
+
# http body (model)
|
4592
|
+
post_body = @api_client.object_to_http_body(body)
|
4593
|
+
auth_names = ['PureCloud Auth']
|
4594
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
4595
|
+
:header_params => header_params,
|
4596
|
+
:query_params => query_params,
|
4597
|
+
:form_params => form_params,
|
4598
|
+
:body => post_body,
|
4599
|
+
:auth_names => auth_names,
|
4600
|
+
:return_type => 'EmailConversation')
|
4601
|
+
if @api_client.config.debugging
|
4602
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_emails\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4603
|
+
end
|
4604
|
+
return data, status_code, headers
|
4605
|
+
end
|
4606
|
+
|
4607
|
+
# Create Fax Conversation
|
4608
|
+
#
|
4609
|
+
# @param body Fax
|
4610
|
+
# @param [Hash] opts the optional parameters
|
4611
|
+
# @return [FaxSendResponse]
|
4612
|
+
def post_conversations_faxes(body, opts = {})
|
4613
|
+
data, _status_code, _headers = post_conversations_faxes_with_http_info(body, opts)
|
4614
|
+
return data
|
4615
|
+
end
|
4616
|
+
|
4617
|
+
# Create Fax Conversation
|
4618
|
+
#
|
4619
|
+
# @param body Fax
|
4620
|
+
# @param [Hash] opts the optional parameters
|
4621
|
+
# @return [Array<(FaxSendResponse, Fixnum, Hash)>] FaxSendResponse data, response status code and response headers
|
4622
|
+
def post_conversations_faxes_with_http_info(body, opts = {})
|
4623
|
+
if @api_client.config.debugging
|
4624
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_faxes ..."
|
4625
|
+
end
|
4626
|
+
# verify the required parameter 'body' is set
|
4627
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_faxes" if body.nil?
|
4628
|
+
# resource path
|
4629
|
+
local_var_path = "/api/v2/conversations/faxes".sub('{format}','json')
|
4630
|
+
|
4631
|
+
# query parameters
|
4632
|
+
query_params = {}
|
4633
|
+
|
4634
|
+
# header parameters
|
4635
|
+
header_params = {}
|
4636
|
+
|
4637
|
+
# HTTP header 'Accept' (if needed)
|
4638
|
+
local_header_accept = ['application/json']
|
4639
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
4640
|
+
|
4641
|
+
# HTTP header 'Content-Type'
|
4642
|
+
local_header_content_type = ['application/json']
|
4643
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
4644
|
+
|
4645
|
+
# form parameters
|
4646
|
+
form_params = {}
|
4647
|
+
|
4648
|
+
# http body (model)
|
4649
|
+
post_body = @api_client.object_to_http_body(body)
|
4650
|
+
auth_names = ['PureCloud Auth']
|
4651
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
4652
|
+
:header_params => header_params,
|
4653
|
+
:query_params => query_params,
|
4654
|
+
:form_params => form_params,
|
4655
|
+
:body => post_body,
|
4656
|
+
:auth_names => auth_names,
|
4657
|
+
:return_type => 'FaxSendResponse')
|
4658
|
+
if @api_client.config.debugging
|
4659
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_faxes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4660
|
+
end
|
4661
|
+
return data, status_code, headers
|
4662
|
+
end
|
4663
|
+
|
4664
|
+
# Update conversation draft reply
|
4665
|
+
#
|
4666
|
+
# @param email_id emailId
|
4667
|
+
# @param body Draft
|
4668
|
+
# @param [Hash] opts the optional parameters
|
4669
|
+
# @return [EmailMessage]
|
4670
|
+
def put_conversations_email_messages_draft(email_id, body, opts = {})
|
4671
|
+
data, _status_code, _headers = put_conversations_email_messages_draft_with_http_info(email_id, body, opts)
|
4672
|
+
return data
|
4673
|
+
end
|
4674
|
+
|
4675
|
+
# Update conversation draft reply
|
4676
|
+
#
|
4677
|
+
# @param email_id emailId
|
4678
|
+
# @param body Draft
|
4679
|
+
# @param [Hash] opts the optional parameters
|
4680
|
+
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
4681
|
+
def put_conversations_email_messages_draft_with_http_info(email_id, body, opts = {})
|
4682
|
+
if @api_client.config.debugging
|
4683
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.put_conversations_email_messages_draft ..."
|
4684
|
+
end
|
4685
|
+
# verify the required parameter 'email_id' is set
|
4686
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling ConversationsApi.put_conversations_email_messages_draft" if email_id.nil?
|
4687
|
+
# verify the required parameter 'body' is set
|
4688
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.put_conversations_email_messages_draft" if body.nil?
|
4689
|
+
# resource path
|
4690
|
+
local_var_path = "/api/v2/conversations/emails/{emailId}/messages/draft".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
|
4691
|
+
|
4692
|
+
# query parameters
|
4693
|
+
query_params = {}
|
4694
|
+
|
4695
|
+
# header parameters
|
4696
|
+
header_params = {}
|
4697
|
+
|
4698
|
+
# HTTP header 'Accept' (if needed)
|
4699
|
+
local_header_accept = ['application/json']
|
4700
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
4701
|
+
|
4702
|
+
# HTTP header 'Content-Type'
|
4703
|
+
local_header_content_type = ['application/json']
|
4704
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
4705
|
+
|
4706
|
+
# form parameters
|
4707
|
+
form_params = {}
|
4708
|
+
|
4709
|
+
# http body (model)
|
4710
|
+
post_body = @api_client.object_to_http_body(body)
|
4711
|
+
auth_names = ['PureCloud Auth']
|
4712
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
4713
|
+
:header_params => header_params,
|
4714
|
+
:query_params => query_params,
|
4715
|
+
:form_params => form_params,
|
4716
|
+
:body => post_body,
|
4717
|
+
:auth_names => auth_names,
|
4718
|
+
:return_type => 'EmailMessage')
|
4719
|
+
if @api_client.config.debugging
|
4720
|
+
@api_client.config.logger.debug "API called: ConversationsApi#put_conversations_email_messages_draft\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4721
|
+
end
|
4722
|
+
return data, status_code, headers
|
4723
|
+
end
|
4724
|
+
end
|
4725
|
+
end
|