purecloud 0.35.1 → 0.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/Gemfile.lock +0 -2
- data/README.md +38 -51
- data/config-ruby.json +1 -1
- data/doc_out/Account.html.md +42 -0
- data/doc_out/AccountManager.html.md +16 -0
- data/doc_out/AccountOverview.html.md +20 -0
- data/doc_out/AccountStatus.html.md +21 -0
- data/doc_out/Actions.html.md +13 -0
- data/doc_out/AcwSettings.html.md +14 -0
- data/doc_out/Address.html.md +20 -0
- data/doc_out/AddressListing.html.md +22 -0
- data/doc_out/Agent.html.md +13 -0
- data/doc_out/AgentActivity.html.md +19 -0
- data/doc_out/AgentActivityEntityListing.html.md +22 -0
- data/doc_out/AgentEvaluatorActivity.html.md +19 -0
- data/doc_out/AggregateDataContainer.html.md +14 -0
- data/doc_out/AggregateMetricData.html.md +15 -0
- data/doc_out/AggregateQueryResponse.html.md +13 -0
- data/doc_out/AggregationQuery.html.md +18 -0
- data/doc_out/AggregationRange.html.md +14 -0
- data/doc_out/AggregationResult.html.md +17 -0
- data/doc_out/AggregationResultEntry.html.md +16 -0
- data/doc_out/AlertingApi.html.md +571 -0
- data/doc_out/AnalyticsApi.html.md +1233 -0
- data/doc_out/AnalyticsConversation.html.md +16 -0
- data/doc_out/AnalyticsConversationQueryResponse.html.md +14 -0
- data/doc_out/AnalyticsConversationSegment.html.md +34 -0
- data/doc_out/AnalyticsEvaluation.html.md +22 -0
- data/doc_out/AnalyticsParticipant.html.md +17 -0
- data/doc_out/AnalyticsProperty.html.md +15 -0
- data/doc_out/AnalyticsQueryAggregation.html.md +17 -0
- data/doc_out/AnalyticsQueryClause.html.md +14 -0
- data/doc_out/AnalyticsQueryFilter.html.md +15 -0
- data/doc_out/AnalyticsQueryPredicate.html.md +20 -0
- data/doc_out/AnalyticsSession.html.md +29 -0
- data/doc_out/Annotation.html.md +20 -0
- data/doc_out/App.html.md +14 -0
- data/doc_out/ArchiveRetention.html.md +14 -0
- data/doc_out/AssociatedDocument.html.md +14 -0
- data/doc_out/Attachment.html.md +17 -0
- data/doc_out/Attribute.html.md +21 -0
- data/doc_out/AttributeEntityListing.html.md +22 -0
- data/doc_out/AttributeFilterItem.html.md +15 -0
- data/doc_out/AttributeQueryRequest.html.md +15 -0
- data/doc_out/AttributesApi.html.md +362 -0
- data/doc_out/AuditChange.html.md +16 -0
- data/doc_out/AuditEntity.html.md +16 -0
- data/doc_out/AuditEntityReference.html.md +17 -0
- data/doc_out/AuditFacet.html.md +14 -0
- data/doc_out/AuditFilter.html.md +16 -0
- data/doc_out/AuditMessage.html.md +28 -0
- data/doc_out/AuditSearchResult.html.md +18 -0
- data/doc_out/AuditUser.html.md +15 -0
- data/doc_out/AuthorizationApi.html.md +1024 -0
- data/doc_out/AutomateQueue.html.md +19 -0
- data/doc_out/AutomateQueueMember.html.md +16 -0
- data/doc_out/AutomateQueueMemberEntityListing.html.md +22 -0
- data/doc_out/AvailableAdditionalService.html.md +22 -0
- data/doc_out/AvailableAdditionalServiceListing.html.md +22 -0
- data/doc_out/AvailableTopic.html.md +15 -0
- data/doc_out/AvailableTopicEntityListing.html.md +22 -0
- data/doc_out/BackendFlowAvailableActions.html.md +13 -0
- data/doc_out/BasicTransform.html.md +14 -0
- data/doc_out/BatchCommand.html.md +14 -0
- data/doc_out/BatchItem.html.md +15 -0
- data/doc_out/BatchItemBody.html.md +13 -0
- data/doc_out/BatchReply.html.md +13 -0
- data/doc_out/BatchReplyItem.html.md +15 -0
- data/doc_out/BillingAddress.html.md +20 -0
- data/doc_out/BillingPeriod.html.md +17 -0
- data/doc_out/Bullseye.html.md +13 -0
- data/doc_out/Calibration.html.md +28 -0
- data/doc_out/CalibrationAssignment.html.md +16 -0
- data/doc_out/CalibrationEntityListing.html.md +22 -0
- data/doc_out/Call.html.md +29 -0
- data/doc_out/CallCommand.html.md +13 -0
- data/doc_out/CallConversation.html.md +18 -0
- data/doc_out/CallConversationEntityListing.html.md +22 -0
- data/doc_out/CallForwarding.html.md +19 -0
- data/doc_out/CallMediaParticipant.html.md +43 -0
- data/doc_out/CallRecord.html.md +14 -0
- data/doc_out/CallableContactsDiagnostic.html.md +15 -0
- data/doc_out/CallableTime.html.md +14 -0
- data/doc_out/CallableTimeSet.html.md +19 -0
- data/doc_out/CallableTimeSetEntityListing.html.md +22 -0
- data/doc_out/Callback.html.md +27 -0
- data/doc_out/CallbackConversation.html.md +17 -0
- data/doc_out/CallbackConversationEntityListing.html.md +22 -0
- data/doc_out/CallbackMediaParticipant.html.md +38 -0
- data/doc_out/Campaign.html.md +38 -0
- data/doc_out/CampaignDiagnostics.html.md +15 -0
- data/doc_out/CampaignEntityListing.html.md +22 -0
- data/doc_out/CampaignProgress.html.md +17 -0
- data/doc_out/CampaignSchedule.html.md +21 -0
- data/doc_out/CampaignScheduleIntervals.html.md +14 -0
- data/doc_out/CampaignSequence.html.md +23 -0
- data/doc_out/CampaignSequenceEntityListing.html.md +22 -0
- data/doc_out/CampaignStats.html.md +16 -0
- data/doc_out/CampaignTimeSlot.html.md +15 -0
- data/doc_out/Carrier.html.md +20 -0
- data/doc_out/CarrierAddress.html.md +17 -0
- data/doc_out/CarrierEntityListing.html.md +22 -0
- data/doc_out/Certificate.html.md +13 -0
- data/doc_out/CertificateAuthorityEntityListing.html.md +22 -0
- data/doc_out/CertificateDetails.html.md +19 -0
- data/doc_out/Change.html.md +16 -0
- data/doc_out/Channel.html.md +14 -0
- data/doc_out/ChannelEntityListing.html.md +22 -0
- data/doc_out/ChannelTopic.html.md +14 -0
- data/doc_out/ChannelTopicEntityListing.html.md +22 -0
- data/doc_out/Charge.html.md +20 -0
- data/doc_out/Chat.html.md +13 -0
- data/doc_out/ChatConversation.html.md +17 -0
- data/doc_out/ChatConversationEntityListing.html.md +22 -0
- data/doc_out/ChatMediaParticipant.html.md +34 -0
- data/doc_out/ChatMessage.html.md +21 -0
- data/doc_out/ChatMessageUser.html.md +17 -0
- data/doc_out/ClientSpreadsheetTransform.html.md +19 -0
- data/doc_out/ClientTextTableTransform.html.md +20 -0
- data/doc_out/ColumnCollapse.html.md +14 -0
- data/doc_out/CommandStatus.html.md +20 -0
- data/doc_out/CommandStatusEntityListing.html.md +22 -0
- data/doc_out/CommonAuditRequest.html.md +19 -0
- data/doc_out/ComposerTemplate.html.md +22 -0
- data/doc_out/Condition.html.md +19 -0
- data/doc_out/ConfigurationApi.html.md +232 -0
- data/doc_out/ConnectRate.html.md +15 -0
- data/doc_out/ConsultTransfer.html.md +14 -0
- data/doc_out/ConsultTransferResponse.html.md +13 -0
- data/doc_out/ConsultTransferUpdate.html.md +13 -0
- data/doc_out/ConsumedResourcesEntityListing.html.md +22 -0
- data/doc_out/ConsumingResourcesEntityListing.html.md +22 -0
- data/doc_out/Contact.html.md +16 -0
- data/doc_out/ContactAddress.html.md +18 -0
- data/doc_out/ContactCallbackRequest.html.md +17 -0
- data/doc_out/ContactList.html.md +24 -0
- data/doc_out/ContactListEntityListing.html.md +22 -0
- data/doc_out/ContactListing.html.md +22 -0
- data/doc_out/ContactPhoneNumberColumn.html.md +15 -0
- data/doc_out/ContactSales.html.md +25 -0
- data/doc_out/ContactSalesResponse.html.md +16 -0
- data/doc_out/ContactSort.html.md +14 -0
- data/doc_out/ContentAttributeFilterItem.html.md +15 -0
- data/doc_out/ContentFacetFilterItem.html.md +16 -0
- data/doc_out/ContentFilterItem.html.md +16 -0
- data/doc_out/ContentManagementApi.html.md +2236 -0
- data/doc_out/ContentQueryRequest.html.md +19 -0
- data/doc_out/ContentSortItem.html.md +14 -0
- data/doc_out/Contract.html.md +18 -0
- data/doc_out/ContractJob.html.md +17 -0
- data/doc_out/Control.html.md +19 -0
- data/doc_out/ControlOptions.html.md +14 -0
- data/doc_out/Conversation.html.md +22 -0
- data/doc_out/ConversationChat.html.md +23 -0
- data/doc_out/ConversationEntityListing.html.md +22 -0
- data/doc_out/ConversationQuery.html.md +20 -0
- data/doc_out/ConversationsApi.html.md +3374 -0
- data/doc_out/CoverSheet.html.md +14 -0
- data/doc_out/CreateCallRequest.html.md +21 -0
- data/doc_out/CreateCallResponse.html.md +15 -0
- data/doc_out/CreateCallbackCommand.html.md +18 -0
- data/doc_out/CreateShareRequest.html.md +17 -0
- data/doc_out/CreateShareRequestMember.html.md +14 -0
- data/doc_out/CreateShareResponse.html.md +23 -0
- data/doc_out/CreateTemplateFromScriptRequestData.html.md +17 -0
- data/doc_out/CreateUser.html.md +19 -0
- data/doc_out/CsvSchema.html.md +19 -0
- data/doc_out/Currency.html.md +16 -0
- data/doc_out/CustomerAccount.html.md +21 -0
- data/doc_out/DID.html.md +28 -0
- data/doc_out/DIDEntityListing.html.md +22 -0
- data/doc_out/DIDPool.html.md +28 -0
- data/doc_out/DIDPoolEntityListing.html.md +22 -0
- data/doc_out/DataItem.html.md +15 -0
- data/doc_out/DataValueInfo.html.md +13 -0
- data/doc_out/DefaultGreetingList.html.md +22 -0
- data/doc_out/DeleteRetention.html.md +13 -0
- data/doc_out/DeletedResourceConsumerEntityListing.html.md +22 -0
- data/doc_out/DeltaDocument.html.md +19 -0
- data/doc_out/DeltaRequest.html.md +13 -0
- data/doc_out/DeltaResponse.html.md +15 -0
- data/doc_out/Dependency.html.md +18 -0
- data/doc_out/DependencyObject.html.md +20 -0
- data/doc_out/DependencyObjectEntityListing.html.md +22 -0
- data/doc_out/DependencyStatus.html.md +21 -0
- data/doc_out/DependencyType.html.md +16 -0
- data/doc_out/DependencyTypeEntityListing.html.md +22 -0
- data/doc_out/Destination.html.md +16 -0
- data/doc_out/Detail.html.md +16 -0
- data/doc_out/DiagnosticEmail.html.md +19 -0
- data/doc_out/DialerAction.html.md +16 -0
- data/doc_out/DialerAuditRequest.html.md +16 -0
- data/doc_out/DialerContact.html.md +20 -0
- data/doc_out/DialerPreview.html.md +17 -0
- data/doc_out/DialerRule.html.md +18 -0
- data/doc_out/DigitLength.html.md +14 -0
- data/doc_out/DisconnectReason.html.md +15 -0
- data/doc_out/Discount.html.md +20 -0
- data/doc_out/DncList.html.md +22 -0
- data/doc_out/DncListEntityListing.html.md +22 -0
- data/doc_out/Dns.html.md +15 -0
- data/doc_out/Document.html.md +43 -0
- data/doc_out/DocumentAttribute.html.md +14 -0
- data/doc_out/DocumentAudit.html.md +28 -0
- data/doc_out/DocumentAuditEntityListing.html.md +22 -0
- data/doc_out/DocumentEntityListing.html.md +22 -0
- data/doc_out/DocumentThumbnail.html.md +14 -0
- data/doc_out/DocumentUpdate.html.md +21 -0
- data/doc_out/DocumentUpload.html.md +16 -0
- data/doc_out/DomainBillingPeriodEntityListing.html.md +22 -0
- data/doc_out/DomainCapabilities.html.md +15 -0
- data/doc_out/DomainCertificateAuthority.html.md +28 -0
- data/doc_out/DomainEdgeSoftwareUpdateDto.html.md +21 -0
- data/doc_out/DomainEdgeSoftwareVersionDto.html.md +20 -0
- data/doc_out/DomainEntity.html.md +15 -0
- data/doc_out/DomainEntityListing.html.md +22 -0
- data/doc_out/DomainEntityListingEvaluationForm.html.md +22 -0
- data/doc_out/DomainEntityListingQueryResult.html.md +22 -0
- data/doc_out/DomainInvoiceEntityListing.html.md +22 -0
- data/doc_out/DomainLogicalInterface.html.md +49 -0
- data/doc_out/DomainNetworkAddress.html.md +16 -0
- data/doc_out/DomainNetworkCommandResponse.html.md +16 -0
- data/doc_out/DomainNetworkRoute.html.md +17 -0
- data/doc_out/DomainOrgRoleDifference.html.md +17 -0
- data/doc_out/DomainOrganizationProduct.html.md +13 -0
- data/doc_out/DomainOrganizationRole.html.md +22 -0
- data/doc_out/DomainPermission.html.md +17 -0
- data/doc_out/DomainPermissionCollection.html.md +17 -0
- data/doc_out/DomainPermissionPolicy.html.md +20 -0
- data/doc_out/DomainPhysicalCapabilities.html.md +14 -0
- data/doc_out/DomainPhysicalInterface.html.md +20 -0
- data/doc_out/DomainResourceConditionNode.html.md +17 -0
- data/doc_out/DomainResourceConditionValue.html.md +16 -0
- data/doc_out/DomainRole.html.md +14 -0
- data/doc_out/DomainSchemaReference.html.md +15 -0
- data/doc_out/DomainThirdPartyAccountEntityListing.html.md +22 -0
- data/doc_out/DomainThirdPartySubscriptionEntityListing.html.md +22 -0
- data/doc_out/DomainVoiceRateExtendedResponseItemEntityListing.html.md +22 -0
- data/doc_out/DomainVoiceRateInternationalResponseItemEntityListing.html.md +22 -0
- data/doc_out/DomainVoiceRateResponseItemEntityListing.html.md +22 -0
- data/doc_out/DownloadResponse.html.md +14 -0
- data/doc_out/DurationCondition.html.md +15 -0
- data/doc_out/Edge.html.md +47 -0
- data/doc_out/EdgeAutoUpdateConfig.html.md +16 -0
- data/doc_out/EdgeEntityListing.html.md +22 -0
- data/doc_out/EdgeGroup.html.md +28 -0
- data/doc_out/EdgeGroupEntityListing.html.md +22 -0
- data/doc_out/EdgeInterface.html.md +20 -0
- data/doc_out/EdgeLine.html.md +23 -0
- data/doc_out/EdgeLineEntityListing.html.md +22 -0
- data/doc_out/EdgeLogsJob.html.md +16 -0
- data/doc_out/EdgeLogsJobFile.html.md +21 -0
- data/doc_out/EdgeLogsJobRequest.html.md +15 -0
- data/doc_out/EdgeLogsJobResponse.html.md +15 -0
- data/doc_out/EdgeLogsJobUploadRequest.html.md +13 -0
- data/doc_out/EdgeVersionInformation.html.md +13 -0
- data/doc_out/EdgeVersionReport.html.md +14 -0
- data/doc_out/Email.html.md +25 -0
- data/doc_out/EmailAddress.html.md +14 -0
- data/doc_out/EmailAttachment.html.md +17 -0
- data/doc_out/EmailConversation.html.md +17 -0
- data/doc_out/EmailConversationEntityListing.html.md +22 -0
- data/doc_out/EmailMediaParticipant.html.md +35 -0
- data/doc_out/EmailMessage.html.md +24 -0
- data/doc_out/EmailMessageListing.html.md +22 -0
- data/doc_out/EmailSetup.html.md +13 -0
- data/doc_out/EmbeddedSignatureView.html.md +13 -0
- data/doc_out/EncryptionKey.html.md +18 -0
- data/doc_out/EncryptionKeyEntityListing.html.md +22 -0
- data/doc_out/Endpoint.html.md +30 -0
- data/doc_out/EndpointEntityListing.html.md +22 -0
- data/doc_out/Entity.html.md +16 -0
- data/doc_out/Entry.html.md +14 -0
- data/doc_out/ErrorBody.html.md +22 -0
- data/doc_out/ErrorDetails.html.md +20 -0
- data/doc_out/EstimatedWaitTimePredictions.html.md +13 -0
- data/doc_out/Evaluation.html.md +31 -0
- data/doc_out/EvaluationAssignment.html.md +14 -0
- data/doc_out/EvaluationEntityListing.html.md +22 -0
- data/doc_out/EvaluationForm.html.md +21 -0
- data/doc_out/EvaluationFormAndScoringSet.html.md +14 -0
- data/doc_out/EvaluationFormEntityListing.html.md +22 -0
- data/doc_out/EvaluationScoringSet.html.md +18 -0
- data/doc_out/EvaluatorActivity.html.md +22 -0
- data/doc_out/EvaluatorActivityEntityListing.html.md +22 -0
- data/doc_out/ExpansionCriterium.html.md +14 -0
- data/doc_out/ExpressionResponse.html.md +23 -0
- data/doc_out/Extension.html.md +28 -0
- data/doc_out/ExtensionEntityListing.html.md +22 -0
- data/doc_out/ExtensionPool.html.md +26 -0
- data/doc_out/ExtensionPoolEntityListing.html.md +22 -0
- data/doc_out/ExternalContact.html.md +30 -0
- data/doc_out/ExternalContactsApi.html.md +1594 -0
- data/doc_out/ExternalOrganization.html.md +28 -0
- data/doc_out/ExternalOrganizationListing.html.md +22 -0
- data/doc_out/FacetEntry.html.md +20 -0
- data/doc_out/FacetInfo.html.md +14 -0
- data/doc_out/FacetKeyAttribute.html.md +15 -0
- data/doc_out/FacetRequest.html.md +19 -0
- data/doc_out/FacetResult.html.md +17 -0
- data/doc_out/FacetResultItem.html.md +19 -0
- data/doc_out/FacetStatistics.html.md +19 -0
- data/doc_out/FacetTerm.html.md +18 -0
- data/doc_out/FailedObject.html.md +16 -0
- data/doc_out/FavoriteTemplateRequestData.html.md +13 -0
- data/doc_out/FaxApi.html.md +354 -0
- data/doc_out/FaxDocument.html.md +30 -0
- data/doc_out/FaxDocumentEntityListing.html.md +22 -0
- data/doc_out/FaxSendRequest.html.md +20 -0
- data/doc_out/FaxSendResponse.html.md +17 -0
- data/doc_out/FaxSummary.html.md +15 -0
- data/doc_out/FilterItem.html.md +17 -0
- data/doc_out/Flow.html.md +24 -0
- data/doc_out/FlowBody.html.md +14 -0
- data/doc_out/FlowBodyFormat.html.md +14 -0
- data/doc_out/FlowConfigId.html.md +16 -0
- data/doc_out/FlowConfigMetaData.html.md +23 -0
- data/doc_out/FlowConfigMetaDataEntityListing.html.md +22 -0
- data/doc_out/FlowDetails.html.md +24 -0
- data/doc_out/FlowDetailsSearchResult.html.md +14 -0
- data/doc_out/FlowEntityListing.html.md +22 -0
- data/doc_out/FlowExecId.html.md +15 -0
- data/doc_out/FlowHistoryItem.html.md +20 -0
- data/doc_out/FlowHistoryResultItem.html.md +15 -0
- data/doc_out/FlowHistoryResultItemEntityListing.html.md +22 -0
- data/doc_out/FlowInputData.html.md +13 -0
- data/doc_out/FlowLaunchRequest.html.md +16 -0
- data/doc_out/FlowPublish.html.md +17 -0
- data/doc_out/FlowReportResultItem.html.md +24 -0
- data/doc_out/FlowSearchRequest.html.md +19 -0
- data/doc_out/FlowState.html.md +15 -0
- data/doc_out/FlowTerminateRequest.html.md +13 -0
- data/doc_out/FlowUploadResponse.html.md +14 -0
- data/doc_out/FlowVersion.html.md +23 -0
- data/doc_out/FlowVersionConfigMetaData.html.md +20 -0
- data/doc_out/FlowVersionConfigMetaDataEntityListing.html.md +22 -0
- data/doc_out/FlowVersionEntityListing.html.md +22 -0
- data/doc_out/Form.html.md +13 -0
- data/doc_out/Gateway.html.md +15 -0
- data/doc_out/Geolocation.html.md +22 -0
- data/doc_out/GeolocationApi.html.md +245 -0
- data/doc_out/GeolocationSettings.html.md +16 -0
- data/doc_out/Gistener.html.md +25 -0
- data/doc_out/Greeting.html.md +24 -0
- data/doc_out/GreetingAudioFile.html.md +15 -0
- data/doc_out/GreetingMediaInfo.html.md +15 -0
- data/doc_out/GreetingOwner.html.md +15 -0
- data/doc_out/GreetingsApi.html.md +712 -0
- data/doc_out/Group.html.md +22 -0
- data/doc_out/GroupEntityListing.html.md +22 -0
- data/doc_out/GroupTag.html.md +19 -0
- data/doc_out/GroupsApi.html.md +314 -0
- data/doc_out/GroupsSearchResponse.html.md +21 -0
- data/doc_out/HIPAAConfig.html.md +16 -0
- data/doc_out/HardwareRate.html.md +18 -0
- data/doc_out/HardwareRateListing.html.md +22 -0
- data/doc_out/HealthCheckInfo.html.md +21 -0
- data/doc_out/IVR.html.md +31 -0
- data/doc_out/IVREntityListing.html.md +22 -0
- data/doc_out/ImportStatus.html.md +17 -0
- data/doc_out/InboundDomain.html.md +17 -0
- data/doc_out/InboundDomainEntityListing.html.md +22 -0
- data/doc_out/InboundRoute.html.md +22 -0
- data/doc_out/InboundRouteEntityListing.html.md +22 -0
- data/doc_out/IndexedTransform.html.md +16 -0
- data/doc_out/IntegrationType.html.md +18 -0
- data/doc_out/IntegrationTypeEntityListing.html.md +22 -0
- data/doc_out/InteractionStatsAlert.html.md +29 -0
- data/doc_out/InteractionStatsAlertContainer.html.md +22 -0
- data/doc_out/InteractionStatsRule.html.md +26 -0
- data/doc_out/InteractionStatsRuleContainer.html.md +22 -0
- data/doc_out/Invoice.html.md +21 -0
- data/doc_out/JsonNode.html.md +33 -0
- data/doc_out/JsonNodeSearchResponse.html.md +21 -0
- data/doc_out/KeyRotationSchedule.html.md +16 -0
- data/doc_out/Language.html.md +18 -0
- data/doc_out/LanguageEntityListing.html.md +22 -0
- data/doc_out/LanguagesApi.html.md +306 -0
- data/doc_out/Library.html.md +18 -0
- data/doc_out/LibraryEntityListing.html.md +22 -0
- data/doc_out/License.html.md +14 -0
- data/doc_out/LicensesByPermission.html.md +15 -0
- data/doc_out/Line.html.md +32 -0
- data/doc_out/LineBase.html.md +17 -0
- data/doc_out/LineBaseEntityListing.html.md +22 -0
- data/doc_out/LineEntityListing.html.md +22 -0
- data/doc_out/LineStatus.html.md +17 -0
- data/doc_out/LinkedEntityListingFlowDetails.html.md +22 -0
- data/doc_out/LinkedEntityListingWorkItemSearchDetails.html.md +22 -0
- data/doc_out/Location.html.md +24 -0
- data/doc_out/LocationAddressFields.html.md +19 -0
- data/doc_out/LocationEmergencyNumber.html.md +15 -0
- data/doc_out/LocationEntityListing.html.md +22 -0
- data/doc_out/LocationsApi.html.md +133 -0
- data/doc_out/LockInfo.html.md +16 -0
- data/doc_out/LogicalInterfaceEntityListing.html.md +22 -0
- data/doc_out/ManagementUnit.html.md +18 -0
- data/doc_out/ManagementUnitTimezone.html.md +13 -0
- data/doc_out/MaxParticipants.html.md +13 -0
- data/doc_out/MediaParticipantRequest.html.md +19 -0
- data/doc_out/MediaPolicies.html.md +15 -0
- data/doc_out/MediaPolicy.html.md +14 -0
- data/doc_out/MediaResult.html.md +14 -0
- data/doc_out/MediaSetting.html.md +14 -0
- data/doc_out/MediaSummary.html.md +14 -0
- data/doc_out/MediaSummaryDetail.html.md +14 -0
- data/doc_out/MemberEntity.html.md +13 -0
- data/doc_out/Metabase.html.md +16 -0
- data/doc_out/MeteredEvaluationAssignment.html.md +18 -0
- data/doc_out/NocSupport.html.md +14 -0
- data/doc_out/Note.html.md +18 -0
- data/doc_out/NoteListing.html.md +22 -0
- data/doc_out/NotificationsApi.html.md +408 -0
- data/doc_out/Number.html.md +14 -0
- data/doc_out/NumberOrderRequest.html.md +17 -0
- data/doc_out/NumberPlan.html.md +31 -0
- data/doc_out/NumericRange.html.md +16 -0
- data/doc_out/OAuthApi.html.md +1192 -0
- data/doc_out/OAuthClient.html.md +21 -0
- data/doc_out/OAuthClientEntityListing.html.md +22 -0
- data/doc_out/OAuthProvider.html.md +15 -0
- data/doc_out/OAuthProviderEntityListing.html.md +22 -0
- data/doc_out/ObservationDataContainer.html.md +14 -0
- data/doc_out/ObservationQuery.html.md +14 -0
- data/doc_out/ObservationQueryResponse.html.md +13 -0
- data/doc_out/Okta.html.md +18 -0
- data/doc_out/OneLogin.html.md +18 -0
- data/doc_out/Order.html.md +17 -0
- data/doc_out/OrgLicenseAssignment.html.md +16 -0
- data/doc_out/OrgMediaUtilization.html.md +14 -0
- data/doc_out/Organization.html.md +23 -0
- data/doc_out/OrganizationApi.html.md +172 -0
- data/doc_out/OrganizationCreate.html.md +18 -0
- data/doc_out/OrganizationPresence.html.md +22 -0
- data/doc_out/OrganizationPresenceEntityListing.html.md +22 -0
- data/doc_out/OrganizationProductEntityListing.html.md +17 -0
- data/doc_out/OrganizationRoleEntityListing.html.md +22 -0
- data/doc_out/OrphanRecording.html.md +23 -0
- data/doc_out/OrphanRecordingListing.html.md +22 -0
- data/doc_out/OutOfOffice.html.md +19 -0
- data/doc_out/OutboundApi.html.md +3780 -0
- data/doc_out/OutboundRoute.html.md +30 -0
- data/doc_out/OutboundRouteEntityListing.html.md +22 -0
- data/doc_out/PINConfiguration.html.md +14 -0
- data/doc_out/Page.html.md +20 -0
- data/doc_out/PagingSpec.html.md +14 -0
- data/doc_out/Parameter.html.md +16 -0
- data/doc_out/ParsedCertificate.html.md +13 -0
- data/doc_out/Participant.html.md +44 -0
- data/doc_out/ParticipantAttributes.html.md +13 -0
- data/doc_out/PaymentMethod.html.md +18 -0
- data/doc_out/PaymentMethodListing.html.md +22 -0
- data/doc_out/PaymentTokenProvider.html.md +16 -0
- data/doc_out/PermissionCollectionEntityListing.html.md +22 -0
- data/doc_out/Permissions.html.md +15 -0
- data/doc_out/Phone.html.md +34 -0
- data/doc_out/PhoneBase.html.md +19 -0
- data/doc_out/PhoneBaseEntityListing.html.md +22 -0
- data/doc_out/PhoneCapabilities.html.md +18 -0
- data/doc_out/PhoneColumn.html.md +14 -0
- data/doc_out/PhoneEntityListing.html.md +22 -0
- data/doc_out/PhoneMetaBaseEntityListing.html.md +22 -0
- data/doc_out/PhoneNumber.html.md +18 -0
- data/doc_out/PhoneNumberColumn.html.md +14 -0
- data/doc_out/PhoneNumberStatus.html.md +13 -0
- data/doc_out/PhoneStatus.html.md +21 -0
- data/doc_out/PhonesReboot.html.md +14 -0
- data/doc_out/PhysicalInterfaceEntityListing.html.md +22 -0
- data/doc_out/Policy.html.md +24 -0
- data/doc_out/PolicyActions.html.md +18 -0
- data/doc_out/PolicyConditions.html.md +20 -0
- data/doc_out/PolicyEntityListing.html.md +22 -0
- data/doc_out/PolicyErrorMessage.html.md +19 -0
- data/doc_out/PolicyErrors.html.md +13 -0
- data/doc_out/PredictionResults.html.md +14 -0
- data/doc_out/PresenceApi.html.md +427 -0
- data/doc_out/PresenceQueryResponse.html.md +14 -0
- data/doc_out/Product.html.md +17 -0
- data/doc_out/Prompt.html.md +17 -0
- data/doc_out/PromptAsset.html.md +24 -0
- data/doc_out/PromptAssetEntityListing.html.md +22 -0
- data/doc_out/PromptEntityListing.html.md +22 -0
- data/doc_out/PropertyIndexRequest.html.md +15 -0
- data/doc_out/ProvisionInfo.html.md +15 -0
- data/doc_out/Publication.html.md +20 -0
- data/doc_out/PublishScriptRequestData.html.md +14 -0
- data/doc_out/PublishedResult.html.md +18 -0
- data/doc_out/PureCloud.html.md +15 -0
- data/doc_out/QualityApi.html.md +1569 -0
- data/doc_out/QualityAudit.html.md +23 -0
- data/doc_out/QualityAuditPage.html.md +22 -0
- data/doc_out/QueryFacetInfo.html.md +14 -0
- data/doc_out/QueryRequest.html.md +19 -0
- data/doc_out/QueryResult.html.md +16 -0
- data/doc_out/QueryResults.html.md +14 -0
- data/doc_out/QuestionGroup.html.md +21 -0
- data/doc_out/QuestionGroupScore.html.md +23 -0
- data/doc_out/QuestionScore.html.md +18 -0
- data/doc_out/Queue.html.md +32 -0
- data/doc_out/QueueEntityListing.html.md +22 -0
- data/doc_out/QueueMember.html.md +20 -0
- data/doc_out/QueueUtilizationDiagnostic.html.md +20 -0
- data/doc_out/QueuesEntityListing.html.md +22 -0
- data/doc_out/Quote.html.md +32 -0
- data/doc_out/QuoteCharge.html.md +25 -0
- data/doc_out/QuoteListing.html.md +22 -0
- data/doc_out/Rate.html.md +17 -0
- data/doc_out/Reaction.html.md +15 -0
- data/doc_out/Recording.html.md +34 -0
- data/doc_out/RecordingApi.html.md +1243 -0
- data/doc_out/RecordingEmailMessage.html.md +22 -0
- data/doc_out/RecordingSettings.html.md +13 -0
- data/doc_out/Relationship.html.md +18 -0
- data/doc_out/RelationshipListing.html.md +22 -0
- data/doc_out/ReplaceRequest.html.md +15 -0
- data/doc_out/ReplaceResponse.html.md +18 -0
- data/doc_out/ReportMetaData.html.md +21 -0
- data/doc_out/ReportMetaDataEntityListing.html.md +22 -0
- data/doc_out/ReportRequest.html.md +18 -0
- data/doc_out/ReportRunEntry.html.md +23 -0
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +22 -0
- data/doc_out/ReportSchedule.html.md +29 -0
- data/doc_out/ReportScheduleEntityListing.html.md +22 -0
- data/doc_out/Reservation.html.md +16 -0
- data/doc_out/ResourceConditionNode.html.md +17 -0
- data/doc_out/ResourceConditionValue.html.md +14 -0
- data/doc_out/ResourcePermissionPolicy.html.md +22 -0
- data/doc_out/Response.html.md +20 -0
- data/doc_out/ResponseEntityList.html.md +22 -0
- data/doc_out/ResponseEntityListing.html.md +22 -0
- data/doc_out/ResponseFilter.html.md +15 -0
- data/doc_out/ResponseManagementApi.html.md +657 -0
- data/doc_out/ResponseQueryRequest.html.md +15 -0
- data/doc_out/ResponseQueryResults.html.md +13 -0
- data/doc_out/ResponseSet.html.md +19 -0
- data/doc_out/ResponseSetEntityListing.html.md +22 -0
- data/doc_out/ResponseText.html.md +14 -0
- data/doc_out/RestErrorDetail.html.md +14 -0
- data/doc_out/RetentionDuration.html.md +14 -0
- data/doc_out/Ring.html.md +14 -0
- data/doc_out/RoutingApi.html.md +2388 -0
- data/doc_out/RoutingSkill.html.md +19 -0
- data/doc_out/RoutingStatus.html.md +15 -0
- data/doc_out/RuleSet.html.md +21 -0
- data/doc_out/RuleSetEntityListing.html.md +22 -0
- data/doc_out/RunNowResponse.html.md +15 -0
- data/doc_out/Salesforce.html.md +18 -0
- data/doc_out/Schedule.html.md +28 -0
- data/doc_out/ScheduleEntityListing.html.md +22 -0
- data/doc_out/ScheduleGroup.html.md +27 -0
- data/doc_out/ScheduleGroupEntityListing.html.md +22 -0
- data/doc_out/SchemaCategory.html.md +15 -0
- data/doc_out/SchemaCategoryEntityListing.html.md +22 -0
- data/doc_out/SchemaReferenceEntityListing.html.md +22 -0
- data/doc_out/Script.html.md +25 -0
- data/doc_out/ScriptEntityListing.html.md +22 -0
- data/doc_out/SearchAggregation.html.md +15 -0
- data/doc_out/SearchApi.html.md +366 -0
- data/doc_out/SearchCriteria.html.md +20 -0
- data/doc_out/SearchRequest.html.md +21 -0
- data/doc_out/SecurityProfile.html.md +16 -0
- data/doc_out/SecurityProfileEntityListing.html.md +22 -0
- data/doc_out/Segment.html.md +17 -0
- data/doc_out/SequenceSchedule.html.md +21 -0
- data/doc_out/ServerDate.html.md +13 -0
- data/doc_out/Service.html.md +22 -0
- data/doc_out/ServiceContext.html.md +13 -0
- data/doc_out/ServiceEntityListing.html.md +22 -0
- data/doc_out/ServiceLevel.html.md +14 -0
- data/doc_out/ServiceType.html.md +19 -0
- data/doc_out/Share.html.md +22 -0
- data/doc_out/ShareEntityListing.html.md +22 -0
- data/doc_out/SharedEntity.html.md +13 -0
- data/doc_out/SharedResponse.html.md +17 -0
- data/doc_out/SheetSchema.html.md +18 -0
- data/doc_out/SheetTransform.html.md +15 -0
- data/doc_out/SignatureDocumentInfo.html.md +15 -0
- data/doc_out/Site.html.md +33 -0
- data/doc_out/SiteEntityListing.html.md +22 -0
- data/doc_out/SkillEntityListing.html.md +22 -0
- data/doc_out/SkillsToRemove.html.md +15 -0
- data/doc_out/Snapshot.html.md +15 -0
- data/doc_out/SocialAccount.html.md +24 -0
- data/doc_out/SocialConversation.html.md +17 -0
- data/doc_out/SocialConversationEntityListing.html.md +22 -0
- data/doc_out/SocialExpression.html.md +25 -0
- data/doc_out/SocialMediaParticipant.html.md +37 -0
- data/doc_out/SocializeEntityFilter.html.md +15 -0
- data/doc_out/SocializeFilterRequest.html.md +17 -0
- data/doc_out/SortBy.html.md +14 -0
- data/doc_out/SortField.html.md +14 -0
- data/doc_out/SortItem.html.md +14 -0
- data/doc_out/SpreadsheetTransform.html.md +21 -0
- data/doc_out/SpreadsheetTransformEntityListing.html.md +22 -0
- data/doc_out/Station.html.md +21 -0
- data/doc_out/StationEntityListing.html.md +22 -0
- data/doc_out/StationsApi.html.md +190 -0
- data/doc_out/StatisticalResponse.html.md +14 -0
- data/doc_out/StatisticalSummary.html.md +21 -0
- data/doc_out/SubDataItem.html.md +17 -0
- data/doc_out/SubscriberResponse.html.md +14 -0
- data/doc_out/Support.html.md +15 -0
- data/doc_out/SystemPrompt.html.md +17 -0
- data/doc_out/SystemPromptAsset.html.md +25 -0
- data/doc_out/SystemPromptAssetEntityListing.html.md +22 -0
- data/doc_out/SystemPromptEntityListing.html.md +22 -0
- data/doc_out/TableTransform.html.md +18 -0
- data/doc_out/TagModel.html.md +14 -0
- data/doc_out/TagQueryRequest.html.md +15 -0
- data/doc_out/TagValue.html.md +17 -0
- data/doc_out/TagValueEntityListing.html.md +22 -0
- data/doc_out/TelephonyProvidersEdgeApi.html.md +6283 -0
- data/doc_out/TemplateEntityListing.html.md +22 -0
- data/doc_out/TermAttribute.html.md +15 -0
- data/doc_out/TextTableTransform.html.md +21 -0
- data/doc_out/TextTableTransformEntityListing.html.md +22 -0
- data/doc_out/ThirdPartyAccount.html.md +19 -0
- data/doc_out/ThirdPartySubscription.html.md +18 -0
- data/doc_out/Ticker.html.md +14 -0
- data/doc_out/Tier.html.md +14 -0
- data/doc_out/TimeAllowed.html.md +15 -0
- data/doc_out/TimeInterval.html.md +14 -0
- data/doc_out/TimeSlot.html.md +15 -0
- data/doc_out/TimeZone.html.md +16 -0
- data/doc_out/TimeZoneEntityListing.html.md +22 -0
- data/doc_out/TokensApi.html.md +63 -0
- data/doc_out/Trace.html.md +19 -0
- data/doc_out/TraceList.html.md +14 -0
- data/doc_out/TransferRequest.html.md +17 -0
- data/doc_out/TransformEndpoint.html.md +24 -0
- data/doc_out/TransformLens.html.md +14 -0
- data/doc_out/TrunkBase.html.md +28 -0
- data/doc_out/TrunkBaseAssignment.html.md +14 -0
- data/doc_out/TrunkMetabaseEntityListing.html.md +22 -0
- data/doc_out/TwitterExpression.html.md +36 -0
- data/doc_out/TwitterExpressionBuffer.html.md +13 -0
- data/doc_out/UnpivotColumns.html.md +13 -0
- data/doc_out/UnreadMetric.html.md +13 -0
- data/doc_out/UnreadStatus.html.md +13 -0
- data/doc_out/UploadProgress.html.md +19 -0
- data/doc_out/UriReference.html.md +15 -0
- data/doc_out/UrlResponse.html.md +13 -0
- data/doc_out/User.html.md +32 -0
- data/doc_out/UserActionCategory.html.md +15 -0
- data/doc_out/UserActionCategoryEntityListing.html.md +22 -0
- data/doc_out/UserActionMetadata.html.md +22 -0
- data/doc_out/UserActionMetadataEntityListing.html.md +20 -0
- data/doc_out/UserActionMetadataRequest.html.md +18 -0
- data/doc_out/UserAuthorization.html.md +15 -0
- data/doc_out/UserConversationSummary.html.md +19 -0
- data/doc_out/UserEntityListing.html.md +22 -0
- data/doc_out/UserImage.html.md +14 -0
- data/doc_out/UserLicenseAssignment.html.md +17 -0
- data/doc_out/UserMe.html.md +33 -0
- data/doc_out/UserParam.html.md +14 -0
- data/doc_out/UserPresence.html.md +19 -0
- data/doc_out/UserQueue.html.md +33 -0
- data/doc_out/UserQueueEntityListing.html.md +22 -0
- data/doc_out/UserRecording.html.md +25 -0
- data/doc_out/UserRecordingEntityListing.html.md +22 -0
- data/doc_out/UserRecordingsApi.html.md +366 -0
- data/doc_out/UserRoutingSkill.html.md +18 -0
- data/doc_out/UserSkillEntityListing.html.md +22 -0
- data/doc_out/UserStation.html.md +16 -0
- data/doc_out/UserStations.html.md +16 -0
- data/doc_out/UsersApi.html.md +2104 -0
- data/doc_out/UsersEntityListing.html.md +22 -0
- data/doc_out/UsersSearchResponse.html.md +21 -0
- data/doc_out/UtilitiesApi.html.md +181 -0
- data/doc_out/Utilization.html.md +13 -0
- data/doc_out/ValidateAddressRequest.html.md +13 -0
- data/doc_out/ValidateAddressResponse.html.md +14 -0
- data/doc_out/Value.html.md +19 -0
- data/doc_out/VendorConnectionRequest.html.md +15 -0
- data/doc_out/Video.html.md +22 -0
- data/doc_out/VideoConversation.html.md +17 -0
- data/doc_out/VideoConversationEntityListing.html.md +22 -0
- data/doc_out/VideoMediaParticipant.html.md +38 -0
- data/doc_out/View.html.md +13 -0
- data/doc_out/VoiceRate.html.md +22 -0
- data/doc_out/VoiceRateExtended.html.md +31 -0
- data/doc_out/VoiceRateInternational.html.md +24 -0
- data/doc_out/VoiceRateInternationalEntityListing.html.md +22 -0
- data/doc_out/VoiceRateUpdate.html.md +25 -0
- data/doc_out/VoiceRatesCsv.html.md +16 -0
- data/doc_out/VoiceXmlOperation.html.md +24 -0
- data/doc_out/VoiceXmlOperationEntityListing.html.md +22 -0
- data/doc_out/VoicemailApi.html.md +627 -0
- data/doc_out/VoicemailMailboxInfo.html.md +18 -0
- data/doc_out/VoicemailMediaInfo.html.md +15 -0
- data/doc_out/VoicemailMessage.html.md +23 -0
- data/doc_out/VoicemailMessageEntityListing.html.md +22 -0
- data/doc_out/VoicemailOrganizationPolicy.html.md +27 -0
- data/doc_out/VoicemailUserPolicy.html.md +23 -0
- data/doc_out/Vpn.html.md +15 -0
- data/doc_out/WorkItem.html.md +15 -0
- data/doc_out/WorkItemActions.html.md +13 -0
- data/doc_out/WorkItemCache.html.md +17 -0
- data/doc_out/WorkItemCommand.html.md +14 -0
- data/doc_out/WorkItemCommandGroup.html.md +15 -0
- data/doc_out/WorkItemDefinition.html.md +16 -0
- data/doc_out/WorkItemDetails.html.md +32 -0
- data/doc_out/WorkItemSearchDetails.html.md +13 -0
- data/doc_out/WorkItemSearchDetailsSearchResult.html.md +14 -0
- data/doc_out/WorkItemSubmitRequest.html.md +14 -0
- data/doc_out/WorkItemTransferRequest.html.md +14 -0
- data/doc_out/Workspace.html.md +23 -0
- data/doc_out/WorkspaceCreate.html.md +14 -0
- data/doc_out/WorkspaceEntityListing.html.md +22 -0
- data/doc_out/WorkspaceMember.html.md +21 -0
- data/doc_out/WorkspaceMemberEntityListing.html.md +22 -0
- data/doc_out/WorkspaceSummary.html.md +13 -0
- data/doc_out/WrapUpCodeMapping.html.md +20 -0
- data/doc_out/Wrapup.html.md +19 -0
- data/doc_out/WrapupCode.html.md +19 -0
- data/doc_out/WrapupCodeEntityListing.html.md +22 -0
- data/doc_out/XlsxSchema.html.md +15 -0
- data/doc_out/index.html.md +56 -0
- data/external/swagger-codegen-cli.jar +0 -0
- data/git_push.sh +52 -0
- data/lib/purecloud.rb +679 -664
- data/lib/purecloud/api/alerting_api.rb +157 -155
- data/lib/purecloud/api/analytics_api.rb +384 -393
- data/lib/purecloud/api/attributes_api.rb +115 -109
- data/lib/purecloud/api/authorization_api.rb +322 -327
- data/lib/purecloud/api/configuration_api.rb +46 -38
- data/lib/purecloud/api/content_management_api.rb +739 -763
- data/lib/purecloud/api/conversations_api.rb +1082 -1126
- data/lib/purecloud/api/external_contacts_api.rb +522 -536
- data/lib/purecloud/api/fax_api.rb +110 -104
- data/lib/purecloud/api/geolocation_api.rb +61 -53
- data/lib/purecloud/api/greetings_api.rb +216 -216
- data/lib/purecloud/api/groups_api.rb +121 -114
- data/lib/purecloud/api/languages_api.rb +99 -92
- data/lib/purecloud/api/locations_api.rb +59 -49
- data/lib/purecloud/api/notifications_api.rb +97 -92
- data/lib/purecloud/api/o_auth_api.rb +330 -340
- data/lib/purecloud/api/organization_api.rb +53 -44
- data/lib/purecloud/api/outbound_api.rb +1259 -1310
- data/lib/purecloud/api/presence_api.rb +152 -147
- data/lib/purecloud/api/quality_api.rb +624 -636
- data/lib/purecloud/api/recording_api.rb +396 -404
- data/lib/purecloud/api/response_management_api.rb +200 -199
- data/lib/purecloud/api/routing_api.rb +721 -749
- data/lib/purecloud/api/search_api.rb +74 -68
- data/lib/purecloud/api/stations_api.rb +59 -50
- data/lib/purecloud/api/telephony_providers_edge_api.rb +1921 -2014
- data/lib/purecloud/api/tokens_api.rb +18 -7
- data/lib/purecloud/api/user_recordings_api.rb +129 -123
- data/lib/purecloud/api/users_api.rb +618 -641
- data/lib/purecloud/api/utilities_api.rb +62 -53
- data/lib/purecloud/api/voicemail_api.rb +186 -185
- data/lib/purecloud/api_client.rb +48 -14
- data/lib/purecloud/api_error.rb +16 -0
- data/lib/purecloud/models/account.rb +20 -1
- data/lib/purecloud/models/account_manager.rb +20 -1
- data/lib/purecloud/models/account_overview.rb +20 -1
- data/lib/purecloud/models/account_status.rb +20 -1
- data/lib/purecloud/models/actions.rb +20 -1
- data/lib/purecloud/models/acw_settings.rb +20 -1
- data/lib/purecloud/models/address.rb +20 -1
- data/lib/purecloud/models/address_listing.rb +20 -1
- data/lib/purecloud/models/agent.rb +20 -1
- data/lib/purecloud/models/agent_activity.rb +20 -1
- data/lib/purecloud/models/agent_activity_entity_listing.rb +20 -1
- data/lib/purecloud/models/agent_evaluator_activity.rb +20 -1
- data/lib/purecloud/models/aggregate_data_container.rb +20 -1
- data/lib/purecloud/models/aggregate_metric_data.rb +20 -1
- data/lib/purecloud/models/aggregate_query_response.rb +20 -1
- data/lib/purecloud/models/aggregation_query.rb +20 -1
- data/lib/purecloud/models/aggregation_range.rb +20 -1
- data/lib/purecloud/models/aggregation_result.rb +20 -1
- data/lib/purecloud/models/aggregation_result_entry.rb +20 -1
- data/lib/purecloud/models/analytics_conversation.rb +20 -1
- data/lib/purecloud/models/analytics_conversation_query_response.rb +20 -1
- data/lib/purecloud/models/analytics_conversation_segment.rb +20 -1
- data/lib/purecloud/models/analytics_evaluation.rb +20 -1
- data/lib/purecloud/models/analytics_participant.rb +20 -1
- data/lib/purecloud/models/analytics_property.rb +20 -1
- data/lib/purecloud/models/analytics_query_aggregation.rb +20 -1
- data/lib/purecloud/models/analytics_query_clause.rb +20 -1
- data/lib/purecloud/models/analytics_query_filter.rb +20 -1
- data/lib/purecloud/models/analytics_query_predicate.rb +20 -1
- data/lib/purecloud/models/analytics_session.rb +20 -1
- data/lib/purecloud/models/annotation.rb +20 -1
- data/lib/purecloud/models/app.rb +20 -1
- data/lib/purecloud/models/archive_retention.rb +20 -1
- data/lib/purecloud/models/associated_document.rb +20 -1
- data/lib/purecloud/models/attachment.rb +20 -1
- data/lib/purecloud/models/attribute.rb +20 -1
- data/lib/purecloud/models/attribute_entity_listing.rb +20 -1
- data/lib/purecloud/models/attribute_filter_item.rb +20 -1
- data/lib/purecloud/models/attribute_query_request.rb +20 -1
- data/lib/purecloud/models/audit_change.rb +20 -1
- data/lib/purecloud/models/audit_entity.rb +20 -1
- data/lib/purecloud/models/audit_entity_reference.rb +20 -1
- data/lib/purecloud/models/audit_facet.rb +20 -1
- data/lib/purecloud/models/audit_filter.rb +20 -1
- data/lib/purecloud/models/audit_message.rb +20 -1
- data/lib/purecloud/models/audit_search_result.rb +20 -1
- data/lib/purecloud/models/audit_user.rb +20 -1
- data/lib/purecloud/models/automate_queue.rb +21 -2
- data/lib/purecloud/models/automate_queue_member.rb +20 -1
- data/lib/purecloud/models/automate_queue_member_entity_listing.rb +20 -1
- data/lib/purecloud/models/available_additional_service.rb +20 -1
- data/lib/purecloud/models/available_additional_service_listing.rb +20 -1
- data/lib/purecloud/models/available_topic.rb +21 -2
- data/lib/purecloud/models/available_topic_entity_listing.rb +20 -1
- data/lib/purecloud/models/backend_flow_available_actions.rb +20 -1
- data/lib/purecloud/models/basic_transform.rb +20 -1
- data/lib/purecloud/models/batch_command.rb +20 -1
- data/lib/purecloud/models/batch_item.rb +20 -1
- data/lib/purecloud/models/batch_item_body.rb +20 -1
- data/lib/purecloud/models/batch_reply.rb +20 -1
- data/lib/purecloud/models/batch_reply_item.rb +20 -1
- data/lib/purecloud/models/billing_address.rb +20 -1
- data/lib/purecloud/models/billing_period.rb +20 -1
- data/lib/purecloud/models/bullseye.rb +20 -1
- data/lib/purecloud/models/calibration.rb +20 -1
- data/lib/purecloud/models/calibration_assignment.rb +20 -1
- data/lib/purecloud/models/calibration_entity_listing.rb +20 -1
- data/lib/purecloud/models/call.rb +20 -1
- data/lib/purecloud/models/call_command.rb +20 -1
- data/lib/purecloud/models/call_conversation.rb +20 -1
- data/lib/purecloud/models/call_conversation_entity_listing.rb +20 -1
- data/lib/purecloud/models/call_forwarding.rb +20 -1
- data/lib/purecloud/models/call_media_participant.rb +20 -1
- data/lib/purecloud/models/call_record.rb +20 -1
- data/lib/purecloud/models/callable_contacts_diagnostic.rb +20 -1
- data/lib/purecloud/models/callable_time.rb +20 -1
- data/lib/purecloud/models/callable_time_set.rb +20 -1
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +20 -1
- data/lib/purecloud/models/callback.rb +20 -1
- data/lib/purecloud/models/callback_conversation.rb +20 -1
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +20 -1
- data/lib/purecloud/models/callback_media_participant.rb +20 -1
- data/lib/purecloud/models/campaign.rb +20 -1
- data/lib/purecloud/models/campaign_diagnostics.rb +20 -1
- data/lib/purecloud/models/campaign_entity_listing.rb +20 -1
- data/lib/purecloud/models/campaign_progress.rb +20 -1
- data/lib/purecloud/models/campaign_schedule.rb +21 -2
- data/lib/purecloud/models/campaign_schedule_intervals.rb +20 -1
- data/lib/purecloud/models/campaign_sequence.rb +20 -1
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +20 -1
- data/lib/purecloud/models/campaign_stats.rb +20 -1
- data/lib/purecloud/models/campaign_time_slot.rb +20 -1
- data/lib/purecloud/models/carrier.rb +20 -1
- data/lib/purecloud/models/carrier_address.rb +20 -1
- data/lib/purecloud/models/carrier_entity_listing.rb +20 -1
- data/lib/purecloud/models/certificate.rb +20 -1
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +20 -1
- data/lib/purecloud/models/certificate_details.rb +20 -1
- data/lib/purecloud/models/change.rb +20 -1
- data/lib/purecloud/models/channel.rb +20 -1
- data/lib/purecloud/models/channel_entity_listing.rb +20 -1
- data/lib/purecloud/models/channel_topic.rb +20 -1
- data/lib/purecloud/models/channel_topic_entity_listing.rb +20 -1
- data/lib/purecloud/models/charge.rb +20 -1
- data/lib/purecloud/models/chat.rb +20 -1
- data/lib/purecloud/models/chat_conversation.rb +20 -1
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +20 -1
- data/lib/purecloud/models/chat_media_participant.rb +20 -1
- data/lib/purecloud/models/chat_message.rb +20 -1
- data/lib/purecloud/models/chat_message_user.rb +20 -1
- data/lib/purecloud/models/client_spreadsheet_transform.rb +20 -1
- data/lib/purecloud/models/client_text_table_transform.rb +20 -1
- data/lib/purecloud/models/column_collapse.rb +20 -1
- data/lib/purecloud/models/command_status.rb +20 -1
- data/lib/purecloud/models/command_status_entity_listing.rb +20 -1
- data/lib/purecloud/models/common_audit_request.rb +20 -1
- data/lib/purecloud/models/composer_template.rb +21 -2
- data/lib/purecloud/models/condition.rb +20 -1
- data/lib/purecloud/models/connect_rate.rb +20 -1
- data/lib/purecloud/models/consult_transfer.rb +20 -1
- data/lib/purecloud/models/consult_transfer_response.rb +20 -1
- data/lib/purecloud/models/consult_transfer_update.rb +20 -1
- data/lib/purecloud/models/consumed_resources_entity_listing.rb +20 -1
- data/lib/purecloud/models/consuming_resources_entity_listing.rb +20 -1
- data/lib/purecloud/models/contact.rb +20 -1
- data/lib/purecloud/models/contact_address.rb +20 -1
- data/lib/purecloud/models/contact_callback_request.rb +20 -1
- data/lib/purecloud/models/contact_list.rb +20 -1
- data/lib/purecloud/models/contact_list_entity_listing.rb +20 -1
- data/lib/purecloud/models/contact_listing.rb +20 -1
- data/lib/purecloud/models/contact_phone_number_column.rb +20 -1
- data/lib/purecloud/models/contact_sales.rb +20 -1
- data/lib/purecloud/models/contact_sales_response.rb +20 -1
- data/lib/purecloud/models/contact_sort.rb +20 -1
- data/lib/purecloud/models/content_attribute_filter_item.rb +20 -1
- data/lib/purecloud/models/content_facet_filter_item.rb +20 -1
- data/lib/purecloud/models/content_filter_item.rb +20 -1
- data/lib/purecloud/models/content_query_request.rb +20 -1
- data/lib/purecloud/models/content_sort_item.rb +20 -1
- data/lib/purecloud/models/contract.rb +20 -1
- data/lib/purecloud/models/contract_job.rb +20 -1
- data/lib/purecloud/models/control.rb +20 -1
- data/lib/purecloud/models/control_options.rb +20 -1
- data/lib/purecloud/models/conversation.rb +20 -1
- data/lib/purecloud/models/conversation_chat.rb +20 -1
- data/lib/purecloud/models/conversation_entity_listing.rb +20 -1
- data/lib/purecloud/models/conversation_query.rb +20 -1
- data/lib/purecloud/models/cover_sheet.rb +20 -1
- data/lib/purecloud/models/create_call_request.rb +20 -1
- data/lib/purecloud/models/create_call_response.rb +20 -1
- data/lib/purecloud/models/create_callback_command.rb +20 -1
- data/lib/purecloud/models/create_share_request.rb +20 -1
- data/lib/purecloud/models/create_share_request_member.rb +20 -1
- data/lib/purecloud/models/create_share_response.rb +20 -1
- data/lib/purecloud/models/create_template_from_script_request_data.rb +20 -1
- data/lib/purecloud/models/create_user.rb +20 -1
- data/lib/purecloud/models/csv_schema.rb +20 -1
- data/lib/purecloud/models/currency.rb +20 -1
- data/lib/purecloud/models/customer_account.rb +20 -1
- data/lib/purecloud/models/data_item.rb +20 -1
- data/lib/purecloud/models/data_value_info.rb +20 -1
- data/lib/purecloud/models/default_greeting_list.rb +20 -1
- data/lib/purecloud/models/delete_retention.rb +20 -1
- data/lib/purecloud/models/deleted_resource_consumer_entity_listing.rb +20 -1
- data/lib/purecloud/models/delta_document.rb +20 -1
- data/lib/purecloud/models/delta_request.rb +20 -1
- data/lib/purecloud/models/delta_response.rb +20 -1
- data/lib/purecloud/models/dependency.rb +20 -1
- data/lib/purecloud/models/dependency_object.rb +20 -1
- data/lib/purecloud/models/dependency_object_entity_listing.rb +20 -1
- data/lib/purecloud/models/dependency_status.rb +20 -1
- data/lib/purecloud/models/dependency_type.rb +20 -1
- data/lib/purecloud/models/dependency_type_entity_listing.rb +20 -1
- data/lib/purecloud/models/destination.rb +20 -1
- data/lib/purecloud/models/detail.rb +20 -1
- data/lib/purecloud/models/diagnostic_email.rb +20 -1
- data/lib/purecloud/models/dialer_action.rb +20 -1
- data/lib/purecloud/models/dialer_audit_request.rb +20 -1
- data/lib/purecloud/models/dialer_contact.rb +21 -2
- data/lib/purecloud/models/dialer_preview.rb +20 -1
- data/lib/purecloud/models/dialer_rule.rb +20 -1
- data/lib/purecloud/models/did.rb +20 -1
- data/lib/purecloud/models/did_entity_listing.rb +20 -1
- data/lib/purecloud/models/did_pool.rb +20 -1
- data/lib/purecloud/models/did_pool_entity_listing.rb +20 -1
- data/lib/purecloud/models/digit_length.rb +20 -1
- data/lib/purecloud/models/disconnect_reason.rb +20 -1
- data/lib/purecloud/models/discount.rb +20 -1
- data/lib/purecloud/models/dnc_list.rb +20 -1
- data/lib/purecloud/models/dnc_list_entity_listing.rb +20 -1
- data/lib/purecloud/models/dns.rb +20 -1
- data/lib/purecloud/models/document.rb +20 -1
- data/lib/purecloud/models/document_attribute.rb +20 -1
- data/lib/purecloud/models/document_audit.rb +20 -1
- data/lib/purecloud/models/document_audit_entity_listing.rb +20 -1
- data/lib/purecloud/models/document_entity_listing.rb +20 -1
- data/lib/purecloud/models/document_thumbnail.rb +20 -1
- data/lib/purecloud/models/document_update.rb +20 -1
- data/lib/purecloud/models/document_upload.rb +20 -1
- data/lib/purecloud/models/domain_billing_period_entity_listing.rb +20 -1
- data/lib/purecloud/models/domain_capabilities.rb +20 -1
- data/lib/purecloud/models/domain_certificate_authority.rb +20 -1
- data/lib/purecloud/models/domain_edge_software_update_dto.rb +20 -1
- data/lib/purecloud/models/domain_edge_software_version_dto.rb +20 -1
- data/lib/purecloud/models/domain_entity.rb +20 -1
- data/lib/purecloud/models/domain_entity_listing.rb +20 -1
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +20 -1
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +20 -1
- data/lib/purecloud/models/domain_invoice_entity_listing.rb +20 -1
- data/lib/purecloud/models/domain_logical_interface.rb +20 -1
- data/lib/purecloud/models/domain_network_address.rb +20 -1
- data/lib/purecloud/models/domain_network_command_response.rb +20 -1
- data/lib/purecloud/models/domain_network_route.rb +20 -1
- data/lib/purecloud/models/domain_org_role_difference.rb +20 -1
- data/lib/purecloud/models/domain_organization_product.rb +20 -1
- data/lib/purecloud/models/domain_organization_role.rb +20 -1
- data/lib/purecloud/models/domain_permission.rb +20 -1
- data/lib/purecloud/models/domain_permission_collection.rb +20 -1
- data/lib/purecloud/models/domain_permission_policy.rb +20 -1
- data/lib/purecloud/models/domain_physical_capabilities.rb +20 -1
- data/lib/purecloud/models/domain_physical_interface.rb +20 -1
- data/lib/purecloud/models/domain_resource_condition_node.rb +20 -1
- data/lib/purecloud/models/domain_resource_condition_value.rb +20 -1
- data/lib/purecloud/models/domain_role.rb +20 -1
- data/lib/purecloud/models/domain_schema_reference.rb +20 -1
- data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +20 -1
- data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +20 -1
- data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +20 -1
- data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +20 -1
- data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +20 -1
- data/lib/purecloud/models/download_response.rb +20 -1
- data/lib/purecloud/models/duration_condition.rb +20 -1
- data/lib/purecloud/models/edge.rb +20 -1
- data/lib/purecloud/models/edge_auto_update_config.rb +20 -1
- data/lib/purecloud/models/edge_entity_listing.rb +20 -1
- data/lib/purecloud/models/edge_group.rb +20 -1
- data/lib/purecloud/models/edge_group_entity_listing.rb +20 -1
- data/lib/purecloud/models/edge_interface.rb +20 -1
- data/lib/purecloud/models/edge_line.rb +21 -2
- data/lib/purecloud/models/edge_line_entity_listing.rb +20 -1
- data/lib/purecloud/models/edge_logs_job.rb +20 -1
- data/lib/purecloud/models/edge_logs_job_file.rb +20 -1
- data/lib/purecloud/models/edge_logs_job_request.rb +26 -7
- data/lib/purecloud/models/edge_logs_job_response.rb +20 -1
- data/lib/purecloud/models/edge_logs_job_upload_request.rb +20 -1
- data/lib/purecloud/models/edge_version_information.rb +20 -1
- data/lib/purecloud/models/edge_version_report.rb +20 -1
- data/lib/purecloud/models/email.rb +20 -1
- data/lib/purecloud/models/email_address.rb +20 -1
- data/lib/purecloud/models/email_attachment.rb +20 -1
- data/lib/purecloud/models/email_conversation.rb +20 -1
- data/lib/purecloud/models/email_conversation_entity_listing.rb +20 -1
- data/lib/purecloud/models/email_media_participant.rb +20 -1
- data/lib/purecloud/models/email_message.rb +20 -1
- data/lib/purecloud/models/email_message_listing.rb +20 -1
- data/lib/purecloud/models/email_setup.rb +20 -1
- data/lib/purecloud/models/embedded_signature_view.rb +20 -1
- data/lib/purecloud/models/encryption_key.rb +20 -1
- data/lib/purecloud/models/encryption_key_entity_listing.rb +20 -1
- data/lib/purecloud/models/endpoint.rb +21 -2
- data/lib/purecloud/models/endpoint_entity_listing.rb +20 -1
- data/lib/purecloud/models/entity.rb +20 -1
- data/lib/purecloud/models/entry.rb +20 -1
- data/lib/purecloud/models/error_body.rb +20 -1
- data/lib/purecloud/models/error_details.rb +20 -1
- data/lib/purecloud/models/estimated_wait_time_predictions.rb +20 -1
- data/lib/purecloud/models/evaluation.rb +20 -1
- data/lib/purecloud/models/evaluation_assignment.rb +20 -1
- data/lib/purecloud/models/evaluation_entity_listing.rb +20 -1
- data/lib/purecloud/models/evaluation_form.rb +20 -1
- data/lib/purecloud/models/evaluation_form_and_scoring_set.rb +20 -1
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +20 -1
- data/lib/purecloud/models/evaluation_scoring_set.rb +20 -1
- data/lib/purecloud/models/evaluator_activity.rb +20 -1
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +20 -1
- data/lib/purecloud/models/expansion_criterium.rb +20 -1
- data/lib/purecloud/models/expression_response.rb +20 -1
- data/lib/purecloud/models/extension.rb +20 -1
- data/lib/purecloud/models/extension_entity_listing.rb +20 -1
- data/lib/purecloud/models/extension_pool.rb +20 -1
- data/lib/purecloud/models/extension_pool_entity_listing.rb +20 -1
- data/lib/purecloud/models/external_contact.rb +20 -1
- data/lib/purecloud/models/external_organization.rb +20 -1
- data/lib/purecloud/models/external_organization_listing.rb +20 -1
- data/lib/purecloud/models/facet_entry.rb +20 -1
- data/lib/purecloud/models/facet_info.rb +20 -1
- data/lib/purecloud/models/facet_key_attribute.rb +20 -1
- data/lib/purecloud/models/facet_request.rb +20 -1
- data/lib/purecloud/models/facet_result.rb +20 -1
- data/lib/purecloud/models/facet_result_item.rb +20 -1
- data/lib/purecloud/models/facet_statistics.rb +20 -1
- data/lib/purecloud/models/facet_term.rb +20 -1
- data/lib/purecloud/models/failed_object.rb +20 -1
- data/lib/purecloud/models/favorite_template_request_data.rb +20 -1
- data/lib/purecloud/models/fax_document.rb +20 -1
- data/lib/purecloud/models/fax_document_entity_listing.rb +20 -1
- data/lib/purecloud/models/fax_send_request.rb +20 -1
- data/lib/purecloud/models/fax_send_response.rb +20 -1
- data/lib/purecloud/models/fax_summary.rb +20 -1
- data/lib/purecloud/models/filter_item.rb +20 -1
- data/lib/purecloud/models/flow.rb +20 -1
- data/lib/purecloud/models/flow_body.rb +21 -2
- data/lib/purecloud/models/flow_body_format.rb +20 -1
- data/lib/purecloud/models/flow_config_id.rb +20 -1
- data/lib/purecloud/models/flow_config_meta_data.rb +20 -1
- data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +20 -1
- data/lib/purecloud/models/flow_details.rb +20 -1
- data/lib/purecloud/models/flow_details_search_result.rb +20 -1
- data/lib/purecloud/models/flow_entity_listing.rb +20 -1
- data/lib/purecloud/models/flow_exec_id.rb +20 -1
- data/lib/purecloud/models/flow_history_item.rb +20 -1
- data/lib/purecloud/models/flow_history_result_item.rb +20 -1
- data/lib/purecloud/models/flow_history_result_item_entity_listing.rb +20 -1
- data/lib/purecloud/models/flow_input_data.rb +20 -1
- data/lib/purecloud/models/flow_launch_request.rb +20 -1
- data/lib/purecloud/models/flow_publish.rb +20 -1
- data/lib/purecloud/models/flow_report_result_item.rb +20 -1
- data/lib/purecloud/models/flow_search_request.rb +20 -1
- data/lib/purecloud/models/flow_state.rb +20 -1
- data/lib/purecloud/models/flow_terminate_request.rb +20 -1
- data/lib/purecloud/models/flow_upload_response.rb +20 -1
- data/lib/purecloud/models/flow_version.rb +20 -1
- data/lib/purecloud/models/flow_version_config_meta_data.rb +20 -1
- data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +20 -1
- data/lib/purecloud/models/flow_version_entity_listing.rb +20 -1
- data/lib/purecloud/models/form.rb +20 -1
- data/lib/purecloud/models/gateway.rb +20 -1
- data/lib/purecloud/models/geolocation.rb +20 -1
- data/lib/purecloud/models/geolocation_settings.rb +20 -1
- data/lib/purecloud/models/gistener.rb +20 -1
- data/lib/purecloud/models/greeting.rb +20 -1
- data/lib/purecloud/models/greeting_audio_file.rb +20 -1
- data/lib/purecloud/models/greeting_media_info.rb +20 -1
- data/lib/purecloud/models/greeting_owner.rb +20 -1
- data/lib/purecloud/models/group.rb +20 -1
- data/lib/purecloud/models/group_entity_listing.rb +20 -1
- data/lib/purecloud/models/group_tag.rb +20 -1
- data/lib/purecloud/models/groups_search_response.rb +20 -1
- data/lib/purecloud/models/hardware_rate.rb +20 -1
- data/lib/purecloud/models/hardware_rate_listing.rb +20 -1
- data/lib/purecloud/models/health_check_info.rb +20 -1
- data/lib/purecloud/models/hipaa_config.rb +20 -1
- data/lib/purecloud/models/import_status.rb +20 -1
- data/lib/purecloud/models/inbound_domain.rb +20 -1
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +20 -1
- data/lib/purecloud/models/inbound_route.rb +20 -1
- data/lib/purecloud/models/inbound_route_entity_listing.rb +20 -1
- data/lib/purecloud/models/indexed_transform.rb +20 -1
- data/lib/purecloud/models/integration_type.rb +20 -1
- data/lib/purecloud/models/integration_type_entity_listing.rb +20 -1
- data/lib/purecloud/models/interaction_stats_alert.rb +20 -1
- data/lib/purecloud/models/interaction_stats_alert_container.rb +20 -1
- data/lib/purecloud/models/interaction_stats_rule.rb +20 -1
- data/lib/purecloud/models/interaction_stats_rule_container.rb +20 -1
- data/lib/purecloud/models/invoice.rb +20 -1
- data/lib/purecloud/models/ivr.rb +20 -1
- data/lib/purecloud/models/ivr_entity_listing.rb +20 -1
- data/lib/purecloud/models/json_node.rb +20 -1
- data/lib/purecloud/models/json_node_search_response.rb +20 -1
- data/lib/purecloud/models/key_rotation_schedule.rb +20 -1
- data/lib/purecloud/models/language.rb +20 -1
- data/lib/purecloud/models/language_entity_listing.rb +20 -1
- data/lib/purecloud/models/library.rb +20 -1
- data/lib/purecloud/models/library_entity_listing.rb +20 -1
- data/lib/purecloud/models/license.rb +20 -1
- data/lib/purecloud/models/licenses_by_permission.rb +20 -1
- data/lib/purecloud/models/line.rb +21 -2
- data/lib/purecloud/models/line_base.rb +21 -2
- data/lib/purecloud/models/line_base_entity_listing.rb +20 -1
- data/lib/purecloud/models/line_entity_listing.rb +20 -1
- data/lib/purecloud/models/line_status.rb +20 -1
- data/lib/purecloud/models/linked_entity_listing_flow_details.rb +20 -1
- data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +20 -1
- data/lib/purecloud/models/location.rb +26 -7
- data/lib/purecloud/models/location_address_fields.rb +20 -1
- data/lib/purecloud/models/location_emergency_number.rb +20 -1
- data/lib/purecloud/models/location_entity_listing.rb +20 -1
- data/lib/purecloud/models/lock_info.rb +20 -1
- data/lib/purecloud/models/logical_interface_entity_listing.rb +20 -1
- data/lib/purecloud/models/management_unit.rb +20 -1
- data/lib/purecloud/models/management_unit_timezone.rb +20 -1
- data/lib/purecloud/models/max_participants.rb +20 -1
- data/lib/purecloud/models/media_participant_request.rb +20 -1
- data/lib/purecloud/models/media_policies.rb +20 -1
- data/lib/purecloud/models/media_policy.rb +20 -1
- data/lib/purecloud/models/media_result.rb +20 -1
- data/lib/purecloud/models/media_setting.rb +20 -1
- data/lib/purecloud/models/media_summary.rb +20 -1
- data/lib/purecloud/models/media_summary_detail.rb +20 -1
- data/lib/purecloud/models/member_entity.rb +20 -1
- data/lib/purecloud/models/metabase.rb +20 -1
- data/lib/purecloud/models/metered_evaluation_assignment.rb +20 -1
- data/lib/purecloud/models/noc_support.rb +20 -1
- data/lib/purecloud/models/note.rb +20 -1
- data/lib/purecloud/models/note_listing.rb +20 -1
- data/lib/purecloud/models/number.rb +20 -1
- data/lib/purecloud/models/number_order_request.rb +20 -1
- data/lib/purecloud/models/number_plan.rb +20 -1
- data/lib/purecloud/models/numeric_range.rb +20 -1
- data/lib/purecloud/models/o_auth_client.rb +20 -1
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +20 -1
- data/lib/purecloud/models/o_auth_provider.rb +20 -1
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +20 -1
- data/lib/purecloud/models/observation_data_container.rb +20 -1
- data/lib/purecloud/models/observation_query.rb +20 -1
- data/lib/purecloud/models/observation_query_response.rb +20 -1
- data/lib/purecloud/models/okta.rb +20 -1
- data/lib/purecloud/models/one_login.rb +20 -1
- data/lib/purecloud/models/order.rb +20 -1
- data/lib/purecloud/models/org_license_assignment.rb +20 -1
- data/lib/purecloud/models/org_media_utilization.rb +20 -1
- data/lib/purecloud/models/organization.rb +20 -1
- data/lib/purecloud/models/organization_create.rb +20 -1
- data/lib/purecloud/models/organization_presence.rb +20 -1
- data/lib/purecloud/models/organization_presence_entity_listing.rb +20 -1
- data/lib/purecloud/models/organization_product_entity_listing.rb +20 -1
- data/lib/purecloud/models/organization_role_entity_listing.rb +20 -1
- data/lib/purecloud/models/orphan_recording.rb +20 -1
- data/lib/purecloud/models/orphan_recording_listing.rb +20 -1
- data/lib/purecloud/models/out_of_office.rb +20 -1
- data/lib/purecloud/models/outbound_route.rb +20 -1
- data/lib/purecloud/models/outbound_route_entity_listing.rb +20 -1
- data/lib/purecloud/models/page.rb +22 -3
- data/lib/purecloud/models/paging_spec.rb +20 -1
- data/lib/purecloud/models/parameter.rb +20 -1
- data/lib/purecloud/models/parsed_certificate.rb +20 -1
- data/lib/purecloud/models/participant.rb +20 -1
- data/lib/purecloud/models/participant_attributes.rb +20 -1
- data/lib/purecloud/models/payment_method.rb +20 -1
- data/lib/purecloud/models/payment_method_listing.rb +20 -1
- data/lib/purecloud/models/payment_token_provider.rb +20 -1
- data/lib/purecloud/models/permission_collection_entity_listing.rb +20 -1
- data/lib/purecloud/models/permissions.rb +20 -1
- data/lib/purecloud/models/phone.rb +21 -2
- data/lib/purecloud/models/phone_base.rb +21 -2
- data/lib/purecloud/models/phone_base_entity_listing.rb +20 -1
- data/lib/purecloud/models/phone_capabilities.rb +20 -1
- data/lib/purecloud/models/phone_column.rb +20 -1
- data/lib/purecloud/models/phone_entity_listing.rb +20 -1
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +20 -1
- data/lib/purecloud/models/phone_number.rb +20 -1
- data/lib/purecloud/models/phone_number_column.rb +20 -1
- data/lib/purecloud/models/phone_number_status.rb +20 -1
- data/lib/purecloud/models/phone_status.rb +20 -1
- data/lib/purecloud/models/phones_reboot.rb +20 -1
- data/lib/purecloud/models/physical_interface_entity_listing.rb +20 -1
- data/lib/purecloud/models/pin_configuration.rb +20 -1
- data/lib/purecloud/models/policy.rb +20 -1
- data/lib/purecloud/models/policy_actions.rb +20 -1
- data/lib/purecloud/models/policy_conditions.rb +20 -1
- data/lib/purecloud/models/policy_entity_listing.rb +20 -1
- data/lib/purecloud/models/policy_error_message.rb +20 -1
- data/lib/purecloud/models/policy_errors.rb +20 -1
- data/lib/purecloud/models/prediction_results.rb +20 -1
- data/lib/purecloud/models/presence_query_response.rb +20 -1
- data/lib/purecloud/models/product.rb +20 -1
- data/lib/purecloud/models/prompt.rb +20 -1
- data/lib/purecloud/models/prompt_asset.rb +20 -1
- data/lib/purecloud/models/prompt_asset_entity_listing.rb +20 -1
- data/lib/purecloud/models/prompt_entity_listing.rb +20 -1
- data/lib/purecloud/models/property_index_request.rb +20 -1
- data/lib/purecloud/models/provision_info.rb +20 -1
- data/lib/purecloud/models/publication.rb +20 -1
- data/lib/purecloud/models/publish_script_request_data.rb +20 -1
- data/lib/purecloud/models/published_result.rb +20 -1
- data/lib/purecloud/models/pure_cloud.rb +20 -1
- data/lib/purecloud/models/quality_audit.rb +20 -1
- data/lib/purecloud/models/quality_audit_page.rb +20 -1
- data/lib/purecloud/models/query_facet_info.rb +20 -1
- data/lib/purecloud/models/query_request.rb +20 -1
- data/lib/purecloud/models/query_result.rb +20 -1
- data/lib/purecloud/models/query_results.rb +20 -1
- data/lib/purecloud/models/question_group.rb +20 -1
- data/lib/purecloud/models/question_group_score.rb +20 -1
- data/lib/purecloud/models/question_score.rb +20 -1
- data/lib/purecloud/models/queue.rb +20 -1
- data/lib/purecloud/models/queue_entity_listing.rb +20 -1
- data/lib/purecloud/models/queue_member.rb +20 -1
- data/lib/purecloud/models/queue_utilization_diagnostic.rb +20 -1
- data/lib/purecloud/models/queues_entity_listing.rb +20 -1
- data/lib/purecloud/models/quote.rb +20 -1
- data/lib/purecloud/models/quote_charge.rb +20 -1
- data/lib/purecloud/models/quote_listing.rb +20 -1
- data/lib/purecloud/models/rate.rb +20 -1
- data/lib/purecloud/models/reaction.rb +20 -1
- data/lib/purecloud/models/recording.rb +26 -7
- data/lib/purecloud/models/recording_email_message.rb +20 -1
- data/lib/purecloud/models/recording_settings.rb +20 -1
- data/lib/purecloud/models/relationship.rb +20 -1
- data/lib/purecloud/models/relationship_listing.rb +20 -1
- data/lib/purecloud/models/replace_request.rb +20 -1
- data/lib/purecloud/models/replace_response.rb +20 -1
- data/lib/purecloud/models/report_meta_data.rb +20 -1
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +20 -1
- data/lib/purecloud/models/report_request.rb +20 -1
- data/lib/purecloud/models/report_run_entry.rb +20 -1
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +20 -1
- data/lib/purecloud/models/report_schedule.rb +21 -2
- data/lib/purecloud/models/report_schedule_entity_listing.rb +20 -1
- data/lib/purecloud/models/reservation.rb +20 -1
- data/lib/purecloud/models/resource_condition_node.rb +20 -1
- data/lib/purecloud/models/resource_condition_value.rb +20 -1
- data/lib/purecloud/models/resource_permission_policy.rb +20 -1
- data/lib/purecloud/models/response.rb +20 -1
- data/lib/purecloud/models/response_entity_list.rb +20 -1
- data/lib/purecloud/models/response_entity_listing.rb +20 -1
- data/lib/purecloud/models/response_filter.rb +20 -1
- data/lib/purecloud/models/response_query_request.rb +20 -1
- data/lib/purecloud/models/response_query_results.rb +20 -1
- data/lib/purecloud/models/response_set.rb +20 -1
- data/lib/purecloud/models/response_set_entity_listing.rb +20 -1
- data/lib/purecloud/models/response_text.rb +20 -1
- data/lib/purecloud/models/rest_error_detail.rb +20 -1
- data/lib/purecloud/models/retention_duration.rb +20 -1
- data/lib/purecloud/models/ring.rb +20 -1
- data/lib/purecloud/models/routing_skill.rb +20 -1
- data/lib/purecloud/models/routing_status.rb +20 -1
- data/lib/purecloud/models/rule_set.rb +20 -1
- data/lib/purecloud/models/rule_set_entity_listing.rb +20 -1
- data/lib/purecloud/models/run_now_response.rb +20 -1
- data/lib/purecloud/models/salesforce.rb +20 -1
- data/lib/purecloud/models/schedule.rb +20 -1
- data/lib/purecloud/models/schedule_entity_listing.rb +20 -1
- data/lib/purecloud/models/schedule_group.rb +20 -1
- data/lib/purecloud/models/schedule_group_entity_listing.rb +20 -1
- data/lib/purecloud/models/schema_category.rb +20 -1
- data/lib/purecloud/models/schema_category_entity_listing.rb +20 -1
- data/lib/purecloud/models/schema_reference_entity_listing.rb +20 -1
- data/lib/purecloud/models/script.rb +20 -1
- data/lib/purecloud/models/script_entity_listing.rb +20 -1
- data/lib/purecloud/models/search_aggregation.rb +20 -1
- data/lib/purecloud/models/search_criteria.rb +20 -1
- data/lib/purecloud/models/search_request.rb +20 -1
- data/lib/purecloud/models/security_profile.rb +20 -1
- data/lib/purecloud/models/security_profile_entity_listing.rb +20 -1
- data/lib/purecloud/models/segment.rb +20 -1
- data/lib/purecloud/models/sequence_schedule.rb +21 -2
- data/lib/purecloud/models/server_date.rb +20 -1
- data/lib/purecloud/models/service.rb +20 -1
- data/lib/purecloud/models/service_context.rb +20 -1
- data/lib/purecloud/models/service_entity_listing.rb +20 -1
- data/lib/purecloud/models/service_level.rb +20 -1
- data/lib/purecloud/models/service_type.rb +20 -1
- data/lib/purecloud/models/share.rb +20 -1
- data/lib/purecloud/models/share_entity_listing.rb +20 -1
- data/lib/purecloud/models/shared_entity.rb +20 -1
- data/lib/purecloud/models/shared_response.rb +20 -1
- data/lib/purecloud/models/sheet_schema.rb +20 -1
- data/lib/purecloud/models/sheet_transform.rb +20 -1
- data/lib/purecloud/models/signature_document_info.rb +20 -1
- data/lib/purecloud/models/site.rb +20 -1
- data/lib/purecloud/models/site_entity_listing.rb +20 -1
- data/lib/purecloud/models/skill_entity_listing.rb +20 -1
- data/lib/purecloud/models/skills_to_remove.rb +20 -1
- data/lib/purecloud/models/snapshot.rb +20 -1
- data/lib/purecloud/models/social_account.rb +20 -1
- data/lib/purecloud/models/social_conversation.rb +20 -1
- data/lib/purecloud/models/social_conversation_entity_listing.rb +20 -1
- data/lib/purecloud/models/social_expression.rb +20 -1
- data/lib/purecloud/models/social_media_participant.rb +20 -1
- data/lib/purecloud/models/socialize_entity_filter.rb +20 -1
- data/lib/purecloud/models/socialize_filter_request.rb +20 -1
- data/lib/purecloud/models/sort_by.rb +20 -1
- data/lib/purecloud/models/sort_field.rb +20 -1
- data/lib/purecloud/models/sort_item.rb +20 -1
- data/lib/purecloud/models/spreadsheet_transform.rb +20 -1
- data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +20 -1
- data/lib/purecloud/models/station.rb +20 -1
- data/lib/purecloud/models/station_entity_listing.rb +20 -1
- data/lib/purecloud/models/statistical_response.rb +20 -1
- data/lib/purecloud/models/statistical_summary.rb +20 -1
- data/lib/purecloud/models/sub_data_item.rb +20 -1
- data/lib/purecloud/models/subscriber_response.rb +20 -1
- data/lib/purecloud/models/support.rb +20 -1
- data/lib/purecloud/models/system_prompt.rb +20 -1
- data/lib/purecloud/models/system_prompt_asset.rb +20 -1
- data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +20 -1
- data/lib/purecloud/models/system_prompt_entity_listing.rb +20 -1
- data/lib/purecloud/models/table_transform.rb +20 -1
- data/lib/purecloud/models/tag_model.rb +20 -1
- data/lib/purecloud/models/tag_query_request.rb +20 -1
- data/lib/purecloud/models/tag_value.rb +20 -1
- data/lib/purecloud/models/tag_value_entity_listing.rb +20 -1
- data/lib/purecloud/models/template_entity_listing.rb +20 -1
- data/lib/purecloud/models/term_attribute.rb +20 -1
- data/lib/purecloud/models/text_table_transform.rb +20 -1
- data/lib/purecloud/models/text_table_transform_entity_listing.rb +20 -1
- data/lib/purecloud/models/third_party_account.rb +20 -1
- data/lib/purecloud/models/third_party_subscription.rb +20 -1
- data/lib/purecloud/models/ticker.rb +20 -1
- data/lib/purecloud/models/tier.rb +20 -1
- data/lib/purecloud/models/time_allowed.rb +20 -1
- data/lib/purecloud/models/time_interval.rb +20 -1
- data/lib/purecloud/models/time_slot.rb +20 -1
- data/lib/purecloud/models/time_zone.rb +20 -1
- data/lib/purecloud/models/time_zone_entity_listing.rb +20 -1
- data/lib/purecloud/models/trace.rb +20 -1
- data/lib/purecloud/models/trace_list.rb +20 -1
- data/lib/purecloud/models/transfer_request.rb +20 -1
- data/lib/purecloud/models/transform_endpoint.rb +20 -1
- data/lib/purecloud/models/transform_lens.rb +20 -1
- data/lib/purecloud/models/trunk_base.rb +21 -2
- data/lib/purecloud/models/trunk_base_assignment.rb +20 -1
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +20 -1
- data/lib/purecloud/models/twitter_expression.rb +20 -1
- data/lib/purecloud/models/twitter_expression_buffer.rb +20 -1
- data/lib/purecloud/models/unpivot_columns.rb +20 -1
- data/lib/purecloud/models/unread_metric.rb +20 -1
- data/lib/purecloud/models/unread_status.rb +20 -1
- data/lib/purecloud/models/upload_progress.rb +20 -1
- data/lib/purecloud/models/uri_reference.rb +20 -1
- data/lib/purecloud/models/url_response.rb +20 -1
- data/lib/purecloud/models/user.rb +20 -1
- data/lib/purecloud/models/user_action_category.rb +20 -1
- data/lib/purecloud/models/user_action_category_entity_listing.rb +20 -1
- data/lib/purecloud/models/user_action_metadata.rb +20 -1
- data/lib/purecloud/models/user_action_metadata_entity_listing.rb +20 -1
- data/lib/purecloud/models/user_action_metadata_request.rb +20 -1
- data/lib/purecloud/models/user_authorization.rb +20 -1
- data/lib/purecloud/models/user_conversation_summary.rb +20 -1
- data/lib/purecloud/models/user_entity_listing.rb +20 -1
- data/lib/purecloud/models/user_image.rb +20 -1
- data/lib/purecloud/models/user_license_assignment.rb +20 -1
- data/lib/purecloud/models/user_me.rb +21 -2
- data/lib/purecloud/models/user_param.rb +20 -1
- data/lib/purecloud/models/user_presence.rb +20 -1
- data/lib/purecloud/models/user_queue.rb +20 -1
- data/lib/purecloud/models/user_queue_entity_listing.rb +20 -1
- data/lib/purecloud/models/user_recording.rb +20 -1
- data/lib/purecloud/models/user_recording_entity_listing.rb +20 -1
- data/lib/purecloud/models/user_routing_skill.rb +20 -1
- data/lib/purecloud/models/user_skill_entity_listing.rb +20 -1
- data/lib/purecloud/models/user_station.rb +20 -1
- data/lib/purecloud/models/user_stations.rb +20 -1
- data/lib/purecloud/models/users_entity_listing.rb +20 -1
- data/lib/purecloud/models/users_search_response.rb +20 -1
- data/lib/purecloud/models/utilization.rb +20 -1
- data/lib/purecloud/models/validate_address_request.rb +20 -1
- data/lib/purecloud/models/validate_address_response.rb +20 -1
- data/lib/purecloud/models/value.rb +20 -1
- data/lib/purecloud/models/vendor_connection_request.rb +20 -1
- data/lib/purecloud/models/video.rb +20 -1
- data/lib/purecloud/models/video_conversation.rb +20 -1
- data/lib/purecloud/models/video_conversation_entity_listing.rb +20 -1
- data/lib/purecloud/models/video_media_participant.rb +20 -1
- data/lib/purecloud/models/view.rb +20 -1
- data/lib/purecloud/models/voice_rate.rb +20 -1
- data/lib/purecloud/models/voice_rate_extended.rb +20 -1
- data/lib/purecloud/models/voice_rate_international.rb +20 -1
- data/lib/purecloud/models/voice_rate_international_entity_listing.rb +20 -1
- data/lib/purecloud/models/voice_rate_update.rb +20 -1
- data/lib/purecloud/models/voice_rates_csv.rb +20 -1
- data/lib/purecloud/models/voice_xml_operation.rb +20 -1
- data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +20 -1
- data/lib/purecloud/models/voicemail_mailbox_info.rb +20 -1
- data/lib/purecloud/models/voicemail_media_info.rb +20 -1
- data/lib/purecloud/models/voicemail_message.rb +20 -1
- data/lib/purecloud/models/voicemail_message_entity_listing.rb +20 -1
- data/lib/purecloud/models/voicemail_organization_policy.rb +20 -1
- data/lib/purecloud/models/voicemail_user_policy.rb +20 -1
- data/lib/purecloud/models/vpn.rb +20 -1
- data/lib/purecloud/models/work_item.rb +20 -1
- data/lib/purecloud/models/work_item_actions.rb +20 -1
- data/lib/purecloud/models/work_item_cache.rb +20 -1
- data/lib/purecloud/models/work_item_command.rb +20 -1
- data/lib/purecloud/models/work_item_command_group.rb +20 -1
- data/lib/purecloud/models/work_item_definition.rb +20 -1
- data/lib/purecloud/models/work_item_details.rb +20 -1
- data/lib/purecloud/models/work_item_search_details.rb +20 -1
- data/lib/purecloud/models/work_item_search_details_search_result.rb +20 -1
- data/lib/purecloud/models/work_item_submit_request.rb +20 -1
- data/lib/purecloud/models/work_item_transfer_request.rb +20 -1
- data/lib/purecloud/models/workspace.rb +20 -1
- data/lib/purecloud/models/workspace_create.rb +20 -1
- data/lib/purecloud/models/workspace_entity_listing.rb +20 -1
- data/lib/purecloud/models/workspace_member.rb +20 -1
- data/lib/purecloud/models/workspace_member_entity_listing.rb +20 -1
- data/lib/purecloud/models/workspace_summary.rb +20 -1
- data/lib/purecloud/models/wrap_up_code_mapping.rb +20 -1
- data/lib/purecloud/models/wrapup.rb +20 -1
- data/lib/purecloud/models/wrapup_code.rb +20 -1
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +20 -1
- data/lib/purecloud/models/xlsx_schema.rb +20 -1
- data/lib/purecloud/version.rb +17 -1
- data/purecloud.gemspec +3 -4
- data/rakefile +13 -23
- data/spec/test.rb +109 -8
- data/swagger_template/README.mustache +72 -0
- data/swagger_template/api_client.mustache +36 -14
- data/swagger_template/api_doc.mustache +80 -0
- data/swagger_template/base_object.mustache +4 -1
- data/swagger_template/gemspec.mustache +3 -4
- data/swagger_template/gitignore.mustache +44 -0
- data/swagger_template/model_doc.mustache +15 -0
- data/version.json +1 -1
- metadata +732 -34
- data/doc/template/default/layout/html/layout.erb +0 -4
- data/doc/template/default/method_details/html/source.erb +0 -0
- data/doc/template/default/module/html/attribute_summary.erb +0 -8
- data/doc/template/default/module/html/box_info.erb +0 -0
- data/doc/template/default/module/html/children.erb +0 -0
- data/lib/purecloud/models/line_properties.rb +0 -136
- data/newVersion.md +0 -1
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
PureCloud API
|
|
3
|
+
|
|
4
|
+
PureCloud API
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v1
|
|
7
|
+
Contact: chuck.pulfer@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: http://www.inin.com
|
|
14
|
+
|
|
15
|
+
=end
|
|
16
|
+
|
|
1
17
|
require "uri"
|
|
2
18
|
|
|
3
19
|
module PureCloud
|
|
@@ -8,28 +24,36 @@ module PureCloud
|
|
|
8
24
|
@api_client = api_client
|
|
9
25
|
end
|
|
10
26
|
|
|
11
|
-
#
|
|
27
|
+
# Cancel the transfer
|
|
12
28
|
#
|
|
29
|
+
# @param call_id
|
|
30
|
+
# @param participant_id
|
|
13
31
|
# @param [Hash] opts the optional parameters
|
|
14
|
-
# @
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
data, status_code, headers = post_conversations_aggregates_query_with_http_info(opts)
|
|
32
|
+
# @return [String]
|
|
33
|
+
def delete_calls_call_id_participants_participant_id_consult(call_id, participant_id, opts = {})
|
|
34
|
+
data, status_code, headers = delete_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts)
|
|
18
35
|
return data
|
|
19
36
|
end
|
|
20
37
|
|
|
21
|
-
#
|
|
38
|
+
# Cancel the transfer
|
|
22
39
|
#
|
|
40
|
+
# @param call_id
|
|
41
|
+
# @param participant_id
|
|
23
42
|
# @param [Hash] opts the optional parameters
|
|
24
|
-
# @
|
|
25
|
-
|
|
26
|
-
def post_conversations_aggregates_query_with_http_info(opts = {})
|
|
43
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
44
|
+
def delete_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts = {})
|
|
27
45
|
if @api_client.config.debugging
|
|
28
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
46
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#delete_calls_call_id_participants_participant_id_consult ..."
|
|
29
47
|
end
|
|
30
48
|
|
|
49
|
+
# verify the required parameter 'call_id' is set
|
|
50
|
+
fail "Missing the required parameter 'call_id' when calling delete_calls_call_id_participants_participant_id_consult" if call_id.nil?
|
|
51
|
+
|
|
52
|
+
# verify the required parameter 'participant_id' is set
|
|
53
|
+
fail "Missing the required parameter 'participant_id' when calling delete_calls_call_id_participants_participant_id_consult" if participant_id.nil?
|
|
54
|
+
|
|
31
55
|
# resource path
|
|
32
|
-
|
|
56
|
+
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)
|
|
33
57
|
|
|
34
58
|
# query parameters
|
|
35
59
|
query_params = {}
|
|
@@ -49,45 +73,52 @@ module PureCloud
|
|
|
49
73
|
form_params = {}
|
|
50
74
|
|
|
51
75
|
# http body (model)
|
|
52
|
-
post_body =
|
|
76
|
+
post_body = nil
|
|
53
77
|
|
|
54
|
-
|
|
55
78
|
auth_names = ['PureCloud Auth']
|
|
56
|
-
data, status_code, headers = @api_client.call_api(:
|
|
79
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
57
80
|
:header_params => header_params,
|
|
58
81
|
:query_params => query_params,
|
|
59
82
|
:form_params => form_params,
|
|
60
83
|
:body => post_body,
|
|
61
84
|
:auth_names => auth_names,
|
|
62
|
-
:return_type => '
|
|
85
|
+
:return_type => 'String')
|
|
63
86
|
if @api_client.config.debugging
|
|
64
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
87
|
+
@api_client.config.logger.debug "API called: ConversationsApi#delete_calls_call_id_participants_participant_id_consult\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
65
88
|
end
|
|
66
89
|
return data, status_code, headers
|
|
67
90
|
end
|
|
68
91
|
|
|
69
|
-
#
|
|
92
|
+
# Delete attachment from draft
|
|
70
93
|
#
|
|
94
|
+
# @param email_id
|
|
95
|
+
# @param attachment_id
|
|
71
96
|
# @param [Hash] opts the optional parameters
|
|
72
|
-
# @
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
data, status_code, headers = post_conversations_details_query_with_http_info(opts)
|
|
97
|
+
# @return [String]
|
|
98
|
+
def delete_emails_email_id_messages_draft_attachments_attachment_id(email_id, attachment_id, opts = {})
|
|
99
|
+
data, status_code, headers = delete_emails_email_id_messages_draft_attachments_attachment_id_with_http_info(email_id, attachment_id, opts)
|
|
76
100
|
return data
|
|
77
101
|
end
|
|
78
102
|
|
|
79
|
-
#
|
|
103
|
+
# Delete attachment from draft
|
|
80
104
|
#
|
|
105
|
+
# @param email_id
|
|
106
|
+
# @param attachment_id
|
|
81
107
|
# @param [Hash] opts the optional parameters
|
|
82
|
-
# @
|
|
83
|
-
|
|
84
|
-
def post_conversations_details_query_with_http_info(opts = {})
|
|
108
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
109
|
+
def delete_emails_email_id_messages_draft_attachments_attachment_id_with_http_info(email_id, attachment_id, opts = {})
|
|
85
110
|
if @api_client.config.debugging
|
|
86
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
111
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#delete_emails_email_id_messages_draft_attachments_attachment_id ..."
|
|
87
112
|
end
|
|
88
113
|
|
|
114
|
+
# verify the required parameter 'email_id' is set
|
|
115
|
+
fail "Missing the required parameter 'email_id' when calling delete_emails_email_id_messages_draft_attachments_attachment_id" if email_id.nil?
|
|
116
|
+
|
|
117
|
+
# verify the required parameter 'attachment_id' is set
|
|
118
|
+
fail "Missing the required parameter 'attachment_id' when calling delete_emails_email_id_messages_draft_attachments_attachment_id" if attachment_id.nil?
|
|
119
|
+
|
|
89
120
|
# resource path
|
|
90
|
-
|
|
121
|
+
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)
|
|
91
122
|
|
|
92
123
|
# query parameters
|
|
93
124
|
query_params = {}
|
|
@@ -107,48 +138,42 @@ module PureCloud
|
|
|
107
138
|
form_params = {}
|
|
108
139
|
|
|
109
140
|
# http body (model)
|
|
110
|
-
post_body =
|
|
141
|
+
post_body = nil
|
|
111
142
|
|
|
112
|
-
|
|
113
143
|
auth_names = ['PureCloud Auth']
|
|
114
|
-
data, status_code, headers = @api_client.call_api(:
|
|
144
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
115
145
|
:header_params => header_params,
|
|
116
146
|
:query_params => query_params,
|
|
117
147
|
:form_params => form_params,
|
|
118
148
|
:body => post_body,
|
|
119
149
|
:auth_names => auth_names,
|
|
120
|
-
:return_type => '
|
|
150
|
+
:return_type => 'String')
|
|
121
151
|
if @api_client.config.debugging
|
|
122
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
152
|
+
@api_client.config.logger.debug "API called: ConversationsApi#delete_emails_email_id_messages_draft_attachments_attachment_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
123
153
|
end
|
|
124
154
|
return data, status_code, headers
|
|
125
155
|
end
|
|
126
156
|
|
|
127
|
-
# Get
|
|
157
|
+
# Get callback conversations
|
|
128
158
|
#
|
|
129
|
-
# @param conversation_id conversationId
|
|
130
159
|
# @param [Hash] opts the optional parameters
|
|
131
|
-
# @return [
|
|
132
|
-
def
|
|
133
|
-
data, status_code, headers =
|
|
160
|
+
# @return [CallbackConversationEntityListing]
|
|
161
|
+
def get_callbacks(opts = {})
|
|
162
|
+
data, status_code, headers = get_callbacks_with_http_info(opts)
|
|
134
163
|
return data
|
|
135
164
|
end
|
|
136
165
|
|
|
137
|
-
# Get
|
|
166
|
+
# Get callback conversations
|
|
138
167
|
#
|
|
139
|
-
# @param conversation_id conversationId
|
|
140
168
|
# @param [Hash] opts the optional parameters
|
|
141
|
-
# @return [Array<(
|
|
142
|
-
def
|
|
169
|
+
# @return [Array<(CallbackConversationEntityListing, Fixnum, Hash)>] CallbackConversationEntityListing data, response status code and response headers
|
|
170
|
+
def get_callbacks_with_http_info(opts = {})
|
|
143
171
|
if @api_client.config.debugging
|
|
144
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
172
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_callbacks ..."
|
|
145
173
|
end
|
|
146
174
|
|
|
147
|
-
# verify the required parameter 'conversation_id' is set
|
|
148
|
-
fail "Missing the required parameter 'conversation_id' when calling get_conversations_conversation_id_details" if conversation_id.nil?
|
|
149
|
-
|
|
150
175
|
# resource path
|
|
151
|
-
|
|
176
|
+
local_var_path = "/api/v2/conversations/callbacks".sub('{format}','json')
|
|
152
177
|
|
|
153
178
|
# query parameters
|
|
154
179
|
query_params = {}
|
|
@@ -170,48 +195,45 @@ module PureCloud
|
|
|
170
195
|
# http body (model)
|
|
171
196
|
post_body = nil
|
|
172
197
|
|
|
173
|
-
|
|
174
198
|
auth_names = ['PureCloud Auth']
|
|
175
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
199
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
176
200
|
:header_params => header_params,
|
|
177
201
|
:query_params => query_params,
|
|
178
202
|
:form_params => form_params,
|
|
179
203
|
:body => post_body,
|
|
180
204
|
:auth_names => auth_names,
|
|
181
|
-
:return_type => '
|
|
205
|
+
:return_type => 'CallbackConversationEntityListing')
|
|
182
206
|
if @api_client.config.debugging
|
|
183
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
207
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_callbacks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
184
208
|
end
|
|
185
209
|
return data, status_code, headers
|
|
186
210
|
end
|
|
187
211
|
|
|
188
|
-
#
|
|
212
|
+
# Get callback conversation
|
|
189
213
|
#
|
|
190
|
-
# @param
|
|
214
|
+
# @param callback_id
|
|
191
215
|
# @param [Hash] opts the optional parameters
|
|
192
|
-
# @
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
data, status_code, headers = post_conversations_conversation_id_details_properties_with_http_info(conversation_id, opts)
|
|
216
|
+
# @return [CallbackConversation]
|
|
217
|
+
def get_callbacks_callback_id(callback_id, opts = {})
|
|
218
|
+
data, status_code, headers = get_callbacks_callback_id_with_http_info(callback_id, opts)
|
|
196
219
|
return data
|
|
197
220
|
end
|
|
198
221
|
|
|
199
|
-
#
|
|
222
|
+
# Get callback conversation
|
|
200
223
|
#
|
|
201
|
-
# @param
|
|
224
|
+
# @param callback_id
|
|
202
225
|
# @param [Hash] opts the optional parameters
|
|
203
|
-
# @
|
|
204
|
-
|
|
205
|
-
def post_conversations_conversation_id_details_properties_with_http_info(conversation_id, opts = {})
|
|
226
|
+
# @return [Array<(CallbackConversation, Fixnum, Hash)>] CallbackConversation data, response status code and response headers
|
|
227
|
+
def get_callbacks_callback_id_with_http_info(callback_id, opts = {})
|
|
206
228
|
if @api_client.config.debugging
|
|
207
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
229
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_callbacks_callback_id ..."
|
|
208
230
|
end
|
|
209
231
|
|
|
210
|
-
# verify the required parameter '
|
|
211
|
-
fail "Missing the required parameter '
|
|
232
|
+
# verify the required parameter 'callback_id' is set
|
|
233
|
+
fail "Missing the required parameter 'callback_id' when calling get_callbacks_callback_id" if callback_id.nil?
|
|
212
234
|
|
|
213
235
|
# resource path
|
|
214
|
-
|
|
236
|
+
local_var_path = "/api/v2/conversations/callbacks/{callbackId}".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s)
|
|
215
237
|
|
|
216
238
|
# query parameters
|
|
217
239
|
query_params = {}
|
|
@@ -231,49 +253,58 @@ module PureCloud
|
|
|
231
253
|
form_params = {}
|
|
232
254
|
|
|
233
255
|
# http body (model)
|
|
234
|
-
post_body =
|
|
256
|
+
post_body = nil
|
|
235
257
|
|
|
236
|
-
|
|
237
258
|
auth_names = ['PureCloud Auth']
|
|
238
|
-
data, status_code, headers = @api_client.call_api(:
|
|
259
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
239
260
|
:header_params => header_params,
|
|
240
261
|
:query_params => query_params,
|
|
241
262
|
:form_params => form_params,
|
|
242
263
|
:body => post_body,
|
|
243
264
|
:auth_names => auth_names,
|
|
244
|
-
:return_type => '
|
|
265
|
+
:return_type => 'CallbackConversation')
|
|
245
266
|
if @api_client.config.debugging
|
|
246
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
267
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_callbacks_callback_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
247
268
|
end
|
|
248
269
|
return data, status_code, headers
|
|
249
270
|
end
|
|
250
271
|
|
|
251
|
-
# Get
|
|
272
|
+
# Get the wrap-up for this conversation participant.
|
|
252
273
|
#
|
|
274
|
+
# @param callback_id
|
|
275
|
+
# @param participant_id
|
|
253
276
|
# @param [Hash] opts the optional parameters
|
|
254
|
-
# @option opts [
|
|
255
|
-
# @return [
|
|
256
|
-
def
|
|
257
|
-
data, status_code, headers =
|
|
277
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
278
|
+
# @return [WrapupCode]
|
|
279
|
+
def get_callbacks_callback_id_participants_participant_id_wrapup(callback_id, participant_id, opts = {})
|
|
280
|
+
data, status_code, headers = get_callbacks_callback_id_participants_participant_id_wrapup_with_http_info(callback_id, participant_id, opts)
|
|
258
281
|
return data
|
|
259
282
|
end
|
|
260
283
|
|
|
261
|
-
# Get
|
|
284
|
+
# Get the wrap-up for this conversation participant.
|
|
262
285
|
#
|
|
286
|
+
# @param callback_id
|
|
287
|
+
# @param participant_id
|
|
263
288
|
# @param [Hash] opts the optional parameters
|
|
264
|
-
# @option opts [
|
|
265
|
-
# @return [Array<(
|
|
266
|
-
def
|
|
289
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
|
290
|
+
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
291
|
+
def get_callbacks_callback_id_participants_participant_id_wrapup_with_http_info(callback_id, participant_id, opts = {})
|
|
267
292
|
if @api_client.config.debugging
|
|
268
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
293
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_callbacks_callback_id_participants_participant_id_wrapup ..."
|
|
269
294
|
end
|
|
270
295
|
|
|
296
|
+
# verify the required parameter 'callback_id' is set
|
|
297
|
+
fail "Missing the required parameter 'callback_id' when calling get_callbacks_callback_id_participants_participant_id_wrapup" if callback_id.nil?
|
|
298
|
+
|
|
299
|
+
# verify the required parameter 'participant_id' is set
|
|
300
|
+
fail "Missing the required parameter 'participant_id' when calling get_callbacks_callback_id_participants_participant_id_wrapup" if participant_id.nil?
|
|
301
|
+
|
|
271
302
|
# resource path
|
|
272
|
-
|
|
303
|
+
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)
|
|
273
304
|
|
|
274
305
|
# query parameters
|
|
275
306
|
query_params = {}
|
|
276
|
-
query_params[:'
|
|
307
|
+
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
|
277
308
|
|
|
278
309
|
# header parameters
|
|
279
310
|
header_params = {}
|
|
@@ -292,41 +323,50 @@ module PureCloud
|
|
|
292
323
|
# http body (model)
|
|
293
324
|
post_body = nil
|
|
294
325
|
|
|
295
|
-
|
|
296
326
|
auth_names = ['PureCloud Auth']
|
|
297
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
327
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
298
328
|
:header_params => header_params,
|
|
299
329
|
:query_params => query_params,
|
|
300
330
|
:form_params => form_params,
|
|
301
331
|
:body => post_body,
|
|
302
332
|
:auth_names => auth_names,
|
|
303
|
-
:return_type => '
|
|
333
|
+
:return_type => 'WrapupCode')
|
|
304
334
|
if @api_client.config.debugging
|
|
305
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
335
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_callbacks_callback_id_participants_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
306
336
|
end
|
|
307
337
|
return data, status_code, headers
|
|
308
338
|
end
|
|
309
339
|
|
|
310
|
-
# Get
|
|
340
|
+
# Get list of wrapup codes for this conversation participant
|
|
311
341
|
#
|
|
342
|
+
# @param callback_id
|
|
343
|
+
# @param participant_id
|
|
312
344
|
# @param [Hash] opts the optional parameters
|
|
313
|
-
# @return [
|
|
314
|
-
def
|
|
315
|
-
data, status_code, headers =
|
|
345
|
+
# @return [WrapupCode]
|
|
346
|
+
def get_callbacks_callback_id_participants_participant_id_wrapupcodes(callback_id, participant_id, opts = {})
|
|
347
|
+
data, status_code, headers = get_callbacks_callback_id_participants_participant_id_wrapupcodes_with_http_info(callback_id, participant_id, opts)
|
|
316
348
|
return data
|
|
317
349
|
end
|
|
318
350
|
|
|
319
|
-
# Get
|
|
351
|
+
# Get list of wrapup codes for this conversation participant
|
|
320
352
|
#
|
|
353
|
+
# @param callback_id
|
|
354
|
+
# @param participant_id
|
|
321
355
|
# @param [Hash] opts the optional parameters
|
|
322
|
-
# @return [Array<(
|
|
323
|
-
def
|
|
356
|
+
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
357
|
+
def get_callbacks_callback_id_participants_participant_id_wrapupcodes_with_http_info(callback_id, participant_id, opts = {})
|
|
324
358
|
if @api_client.config.debugging
|
|
325
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
359
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_callbacks_callback_id_participants_participant_id_wrapupcodes ..."
|
|
326
360
|
end
|
|
327
361
|
|
|
362
|
+
# verify the required parameter 'callback_id' is set
|
|
363
|
+
fail "Missing the required parameter 'callback_id' when calling get_callbacks_callback_id_participants_participant_id_wrapupcodes" if callback_id.nil?
|
|
364
|
+
|
|
365
|
+
# verify the required parameter 'participant_id' is set
|
|
366
|
+
fail "Missing the required parameter 'participant_id' when calling get_callbacks_callback_id_participants_participant_id_wrapupcodes" if participant_id.nil?
|
|
367
|
+
|
|
328
368
|
# resource path
|
|
329
|
-
|
|
369
|
+
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)
|
|
330
370
|
|
|
331
371
|
# query parameters
|
|
332
372
|
query_params = {}
|
|
@@ -348,46 +388,40 @@ module PureCloud
|
|
|
348
388
|
# http body (model)
|
|
349
389
|
post_body = nil
|
|
350
390
|
|
|
351
|
-
|
|
352
391
|
auth_names = ['PureCloud Auth']
|
|
353
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
392
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
354
393
|
:header_params => header_params,
|
|
355
394
|
:query_params => query_params,
|
|
356
395
|
:form_params => form_params,
|
|
357
396
|
:body => post_body,
|
|
358
397
|
:auth_names => auth_names,
|
|
359
|
-
:return_type => '
|
|
398
|
+
:return_type => 'WrapupCode')
|
|
360
399
|
if @api_client.config.debugging
|
|
361
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
400
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_callbacks_callback_id_participants_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
362
401
|
end
|
|
363
402
|
return data, status_code, headers
|
|
364
403
|
end
|
|
365
404
|
|
|
366
|
-
# Get
|
|
405
|
+
# Get recent conversations
|
|
367
406
|
#
|
|
368
|
-
# @param callback_id
|
|
369
407
|
# @param [Hash] opts the optional parameters
|
|
370
|
-
# @return [
|
|
371
|
-
def
|
|
372
|
-
data, status_code, headers =
|
|
408
|
+
# @return [CallConversationEntityListing]
|
|
409
|
+
def get_calls(opts = {})
|
|
410
|
+
data, status_code, headers = get_calls_with_http_info(opts)
|
|
373
411
|
return data
|
|
374
412
|
end
|
|
375
413
|
|
|
376
|
-
# Get
|
|
414
|
+
# Get recent conversations
|
|
377
415
|
#
|
|
378
|
-
# @param callback_id
|
|
379
416
|
# @param [Hash] opts the optional parameters
|
|
380
|
-
# @return [Array<(
|
|
381
|
-
def
|
|
417
|
+
# @return [Array<(CallConversationEntityListing, Fixnum, Hash)>] CallConversationEntityListing data, response status code and response headers
|
|
418
|
+
def get_calls_with_http_info(opts = {})
|
|
382
419
|
if @api_client.config.debugging
|
|
383
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
420
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_calls ..."
|
|
384
421
|
end
|
|
385
422
|
|
|
386
|
-
# verify the required parameter 'callback_id' is set
|
|
387
|
-
fail "Missing the required parameter 'callback_id' when calling get_callbacks_callback_id" if callback_id.nil?
|
|
388
|
-
|
|
389
423
|
# resource path
|
|
390
|
-
|
|
424
|
+
local_var_path = "/api/v2/conversations/calls".sub('{format}','json')
|
|
391
425
|
|
|
392
426
|
# query parameters
|
|
393
427
|
query_params = {}
|
|
@@ -409,53 +443,45 @@ module PureCloud
|
|
|
409
443
|
# http body (model)
|
|
410
444
|
post_body = nil
|
|
411
445
|
|
|
412
|
-
|
|
413
446
|
auth_names = ['PureCloud Auth']
|
|
414
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
447
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
415
448
|
:header_params => header_params,
|
|
416
449
|
:query_params => query_params,
|
|
417
450
|
:form_params => form_params,
|
|
418
451
|
:body => post_body,
|
|
419
452
|
:auth_names => auth_names,
|
|
420
|
-
:return_type => '
|
|
453
|
+
:return_type => 'CallConversationEntityListing')
|
|
421
454
|
if @api_client.config.debugging
|
|
422
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
455
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_calls\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
423
456
|
end
|
|
424
457
|
return data, status_code, headers
|
|
425
458
|
end
|
|
426
459
|
|
|
427
|
-
#
|
|
460
|
+
# Get call conversation
|
|
428
461
|
#
|
|
429
|
-
# @param
|
|
430
|
-
# @param participant_id
|
|
462
|
+
# @param call_id
|
|
431
463
|
# @param [Hash] opts the optional parameters
|
|
432
|
-
# @
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
return nil
|
|
464
|
+
# @return [CallConversation]
|
|
465
|
+
def get_calls_call_id(call_id, opts = {})
|
|
466
|
+
data, status_code, headers = get_calls_call_id_with_http_info(call_id, opts)
|
|
467
|
+
return data
|
|
437
468
|
end
|
|
438
469
|
|
|
439
|
-
#
|
|
470
|
+
# Get call conversation
|
|
440
471
|
#
|
|
441
|
-
# @param
|
|
442
|
-
# @param participant_id
|
|
472
|
+
# @param call_id
|
|
443
473
|
# @param [Hash] opts the optional parameters
|
|
444
|
-
# @
|
|
445
|
-
|
|
446
|
-
def patch_callbacks_callback_id_participants_participant_id_with_http_info(callback_id, participant_id, opts = {})
|
|
474
|
+
# @return [Array<(CallConversation, Fixnum, Hash)>] CallConversation data, response status code and response headers
|
|
475
|
+
def get_calls_call_id_with_http_info(call_id, opts = {})
|
|
447
476
|
if @api_client.config.debugging
|
|
448
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
477
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_calls_call_id ..."
|
|
449
478
|
end
|
|
450
479
|
|
|
451
|
-
# verify the required parameter '
|
|
452
|
-
fail "Missing the required parameter '
|
|
453
|
-
|
|
454
|
-
# verify the required parameter 'participant_id' is set
|
|
455
|
-
fail "Missing the required parameter 'participant_id' when calling patch_callbacks_callback_id_participants_participant_id" if participant_id.nil?
|
|
480
|
+
# verify the required parameter 'call_id' is set
|
|
481
|
+
fail "Missing the required parameter 'call_id' when calling get_calls_call_id" if call_id.nil?
|
|
456
482
|
|
|
457
483
|
# resource path
|
|
458
|
-
|
|
484
|
+
local_var_path = "/api/v2/conversations/calls/{callId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
|
|
459
485
|
|
|
460
486
|
# query parameters
|
|
461
487
|
query_params = {}
|
|
@@ -475,57 +501,58 @@ module PureCloud
|
|
|
475
501
|
form_params = {}
|
|
476
502
|
|
|
477
503
|
# http body (model)
|
|
478
|
-
post_body =
|
|
504
|
+
post_body = nil
|
|
479
505
|
|
|
480
|
-
|
|
481
506
|
auth_names = ['PureCloud Auth']
|
|
482
|
-
data, status_code, headers = @api_client.call_api(:
|
|
507
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
483
508
|
:header_params => header_params,
|
|
484
509
|
:query_params => query_params,
|
|
485
510
|
:form_params => form_params,
|
|
486
511
|
:body => post_body,
|
|
487
|
-
:auth_names => auth_names
|
|
512
|
+
:auth_names => auth_names,
|
|
513
|
+
:return_type => 'CallConversation')
|
|
488
514
|
if @api_client.config.debugging
|
|
489
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
515
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_calls_call_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
490
516
|
end
|
|
491
517
|
return data, status_code, headers
|
|
492
518
|
end
|
|
493
519
|
|
|
494
|
-
#
|
|
520
|
+
# Get the wrap-up for this conversation participant.
|
|
495
521
|
#
|
|
496
|
-
# @param
|
|
522
|
+
# @param call_id
|
|
497
523
|
# @param participant_id
|
|
498
524
|
# @param [Hash] opts the optional parameters
|
|
499
|
-
# @option opts [
|
|
500
|
-
# @return [
|
|
501
|
-
def
|
|
502
|
-
|
|
503
|
-
return
|
|
525
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
526
|
+
# @return [WrapupCode]
|
|
527
|
+
def get_calls_call_id_participants_participant_id_wrapup(call_id, participant_id, opts = {})
|
|
528
|
+
data, status_code, headers = get_calls_call_id_participants_participant_id_wrapup_with_http_info(call_id, participant_id, opts)
|
|
529
|
+
return data
|
|
504
530
|
end
|
|
505
531
|
|
|
506
|
-
#
|
|
532
|
+
# Get the wrap-up for this conversation participant.
|
|
507
533
|
#
|
|
508
|
-
# @param
|
|
534
|
+
# @param call_id
|
|
509
535
|
# @param participant_id
|
|
510
536
|
# @param [Hash] opts the optional parameters
|
|
511
|
-
# @option opts [
|
|
512
|
-
# @return [Array<(
|
|
513
|
-
def
|
|
537
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
|
538
|
+
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
539
|
+
def get_calls_call_id_participants_participant_id_wrapup_with_http_info(call_id, participant_id, opts = {})
|
|
514
540
|
if @api_client.config.debugging
|
|
515
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
541
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_calls_call_id_participants_participant_id_wrapup ..."
|
|
516
542
|
end
|
|
517
543
|
|
|
518
|
-
# verify the required parameter '
|
|
519
|
-
fail "Missing the required parameter '
|
|
544
|
+
# verify the required parameter 'call_id' is set
|
|
545
|
+
fail "Missing the required parameter 'call_id' when calling get_calls_call_id_participants_participant_id_wrapup" if call_id.nil?
|
|
520
546
|
|
|
521
547
|
# verify the required parameter 'participant_id' is set
|
|
522
|
-
fail "Missing the required parameter 'participant_id' when calling
|
|
548
|
+
fail "Missing the required parameter 'participant_id' when calling get_calls_call_id_participants_participant_id_wrapup" if participant_id.nil?
|
|
523
549
|
|
|
524
550
|
# resource path
|
|
525
|
-
|
|
551
|
+
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)
|
|
526
552
|
|
|
527
553
|
# query parameters
|
|
528
554
|
query_params = {}
|
|
555
|
+
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
|
529
556
|
|
|
530
557
|
# header parameters
|
|
531
558
|
header_params = {}
|
|
@@ -542,54 +569,52 @@ module PureCloud
|
|
|
542
569
|
form_params = {}
|
|
543
570
|
|
|
544
571
|
# http body (model)
|
|
545
|
-
post_body =
|
|
572
|
+
post_body = nil
|
|
546
573
|
|
|
547
|
-
|
|
548
574
|
auth_names = ['PureCloud Auth']
|
|
549
|
-
data, status_code, headers = @api_client.call_api(:
|
|
575
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
550
576
|
:header_params => header_params,
|
|
551
577
|
:query_params => query_params,
|
|
552
578
|
:form_params => form_params,
|
|
553
579
|
:body => post_body,
|
|
554
|
-
:auth_names => auth_names
|
|
580
|
+
:auth_names => auth_names,
|
|
581
|
+
:return_type => 'WrapupCode')
|
|
555
582
|
if @api_client.config.debugging
|
|
556
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
583
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_calls_call_id_participants_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
557
584
|
end
|
|
558
585
|
return data, status_code, headers
|
|
559
586
|
end
|
|
560
587
|
|
|
561
|
-
#
|
|
588
|
+
# Get list of wrapup codes for this conversation participant
|
|
562
589
|
#
|
|
563
|
-
# @param
|
|
590
|
+
# @param call_id
|
|
564
591
|
# @param participant_id
|
|
565
592
|
# @param [Hash] opts the optional parameters
|
|
566
|
-
# @
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
return nil
|
|
593
|
+
# @return [WrapupCode]
|
|
594
|
+
def get_calls_call_id_participants_participant_id_wrapupcodes(call_id, participant_id, opts = {})
|
|
595
|
+
data, status_code, headers = get_calls_call_id_participants_participant_id_wrapupcodes_with_http_info(call_id, participant_id, opts)
|
|
596
|
+
return data
|
|
571
597
|
end
|
|
572
598
|
|
|
573
|
-
#
|
|
599
|
+
# Get list of wrapup codes for this conversation participant
|
|
574
600
|
#
|
|
575
|
-
# @param
|
|
601
|
+
# @param call_id
|
|
576
602
|
# @param participant_id
|
|
577
603
|
# @param [Hash] opts the optional parameters
|
|
578
|
-
# @
|
|
579
|
-
|
|
580
|
-
def post_callbacks_callback_id_participants_participant_id_replace_with_http_info(callback_id, participant_id, opts = {})
|
|
604
|
+
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
605
|
+
def get_calls_call_id_participants_participant_id_wrapupcodes_with_http_info(call_id, participant_id, opts = {})
|
|
581
606
|
if @api_client.config.debugging
|
|
582
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
607
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_calls_call_id_participants_participant_id_wrapupcodes ..."
|
|
583
608
|
end
|
|
584
609
|
|
|
585
|
-
# verify the required parameter '
|
|
586
|
-
fail "Missing the required parameter '
|
|
610
|
+
# verify the required parameter 'call_id' is set
|
|
611
|
+
fail "Missing the required parameter 'call_id' when calling get_calls_call_id_participants_participant_id_wrapupcodes" if call_id.nil?
|
|
587
612
|
|
|
588
613
|
# verify the required parameter 'participant_id' is set
|
|
589
|
-
fail "Missing the required parameter 'participant_id' when calling
|
|
614
|
+
fail "Missing the required parameter 'participant_id' when calling get_calls_call_id_participants_participant_id_wrapupcodes" if participant_id.nil?
|
|
590
615
|
|
|
591
616
|
# resource path
|
|
592
|
-
|
|
617
|
+
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)
|
|
593
618
|
|
|
594
619
|
# query parameters
|
|
595
620
|
query_params = {}
|
|
@@ -609,58 +634,45 @@ module PureCloud
|
|
|
609
634
|
form_params = {}
|
|
610
635
|
|
|
611
636
|
# http body (model)
|
|
612
|
-
post_body =
|
|
637
|
+
post_body = nil
|
|
613
638
|
|
|
614
|
-
|
|
615
639
|
auth_names = ['PureCloud Auth']
|
|
616
|
-
data, status_code, headers = @api_client.call_api(:
|
|
640
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
617
641
|
:header_params => header_params,
|
|
618
642
|
:query_params => query_params,
|
|
619
643
|
:form_params => form_params,
|
|
620
644
|
:body => post_body,
|
|
621
|
-
:auth_names => auth_names
|
|
645
|
+
:auth_names => auth_names,
|
|
646
|
+
:return_type => 'WrapupCode')
|
|
622
647
|
if @api_client.config.debugging
|
|
623
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
648
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_calls_call_id_participants_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
624
649
|
end
|
|
625
650
|
return data, status_code, headers
|
|
626
651
|
end
|
|
627
652
|
|
|
628
|
-
# Get the
|
|
653
|
+
# Get the maximum number of participants that this user can have on a conference
|
|
629
654
|
#
|
|
630
|
-
# @param callback_id
|
|
631
|
-
# @param participant_id
|
|
632
655
|
# @param [Hash] opts the optional parameters
|
|
633
|
-
# @
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
data, status_code, headers = get_callbacks_callback_id_participants_participant_id_wrapup_with_http_info(callback_id, participant_id, opts)
|
|
656
|
+
# @return [MaxParticipants]
|
|
657
|
+
def get_calls_maximumconferenceparties(opts = {})
|
|
658
|
+
data, status_code, headers = get_calls_maximumconferenceparties_with_http_info(opts)
|
|
637
659
|
return data
|
|
638
660
|
end
|
|
639
661
|
|
|
640
|
-
# Get the
|
|
662
|
+
# Get the maximum number of participants that this user can have on a conference
|
|
641
663
|
#
|
|
642
|
-
# @param callback_id
|
|
643
|
-
# @param participant_id
|
|
644
664
|
# @param [Hash] opts the optional parameters
|
|
645
|
-
# @
|
|
646
|
-
|
|
647
|
-
def get_callbacks_callback_id_participants_participant_id_wrapup_with_http_info(callback_id, participant_id, opts = {})
|
|
665
|
+
# @return [Array<(MaxParticipants, Fixnum, Hash)>] MaxParticipants data, response status code and response headers
|
|
666
|
+
def get_calls_maximumconferenceparties_with_http_info(opts = {})
|
|
648
667
|
if @api_client.config.debugging
|
|
649
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
668
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_calls_maximumconferenceparties ..."
|
|
650
669
|
end
|
|
651
670
|
|
|
652
|
-
# verify the required parameter 'callback_id' is set
|
|
653
|
-
fail "Missing the required parameter 'callback_id' when calling get_callbacks_callback_id_participants_participant_id_wrapup" if callback_id.nil?
|
|
654
|
-
|
|
655
|
-
# verify the required parameter 'participant_id' is set
|
|
656
|
-
fail "Missing the required parameter 'participant_id' when calling get_callbacks_callback_id_participants_participant_id_wrapup" if participant_id.nil?
|
|
657
|
-
|
|
658
671
|
# resource path
|
|
659
|
-
|
|
672
|
+
local_var_path = "/api/v2/conversations/calls/maximumconferenceparties".sub('{format}','json')
|
|
660
673
|
|
|
661
674
|
# query parameters
|
|
662
675
|
query_params = {}
|
|
663
|
-
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
|
664
676
|
|
|
665
677
|
# header parameters
|
|
666
678
|
header_params = {}
|
|
@@ -679,51 +691,40 @@ module PureCloud
|
|
|
679
691
|
# http body (model)
|
|
680
692
|
post_body = nil
|
|
681
693
|
|
|
682
|
-
|
|
683
694
|
auth_names = ['PureCloud Auth']
|
|
684
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
695
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
685
696
|
:header_params => header_params,
|
|
686
697
|
:query_params => query_params,
|
|
687
698
|
:form_params => form_params,
|
|
688
699
|
:body => post_body,
|
|
689
700
|
:auth_names => auth_names,
|
|
690
|
-
:return_type => '
|
|
701
|
+
:return_type => 'MaxParticipants')
|
|
691
702
|
if @api_client.config.debugging
|
|
692
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
703
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_calls_maximumconferenceparties\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
693
704
|
end
|
|
694
705
|
return data, status_code, headers
|
|
695
706
|
end
|
|
696
707
|
|
|
697
|
-
# Get
|
|
708
|
+
# Get recent chat conversations
|
|
698
709
|
#
|
|
699
|
-
# @param callback_id
|
|
700
|
-
# @param participant_id
|
|
701
710
|
# @param [Hash] opts the optional parameters
|
|
702
|
-
# @return [
|
|
703
|
-
def
|
|
704
|
-
data, status_code, headers =
|
|
711
|
+
# @return [ChatConversationEntityListing]
|
|
712
|
+
def get_chats(opts = {})
|
|
713
|
+
data, status_code, headers = get_chats_with_http_info(opts)
|
|
705
714
|
return data
|
|
706
715
|
end
|
|
707
716
|
|
|
708
|
-
# Get
|
|
717
|
+
# Get recent chat conversations
|
|
709
718
|
#
|
|
710
|
-
# @param callback_id
|
|
711
|
-
# @param participant_id
|
|
712
719
|
# @param [Hash] opts the optional parameters
|
|
713
|
-
# @return [Array<(
|
|
714
|
-
def
|
|
720
|
+
# @return [Array<(ChatConversationEntityListing, Fixnum, Hash)>] ChatConversationEntityListing data, response status code and response headers
|
|
721
|
+
def get_chats_with_http_info(opts = {})
|
|
715
722
|
if @api_client.config.debugging
|
|
716
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
723
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_chats ..."
|
|
717
724
|
end
|
|
718
725
|
|
|
719
|
-
# verify the required parameter 'callback_id' is set
|
|
720
|
-
fail "Missing the required parameter 'callback_id' when calling get_callbacks_callback_id_participants_participant_id_wrapupcodes" if callback_id.nil?
|
|
721
|
-
|
|
722
|
-
# verify the required parameter 'participant_id' is set
|
|
723
|
-
fail "Missing the required parameter 'participant_id' when calling get_callbacks_callback_id_participants_participant_id_wrapupcodes" if participant_id.nil?
|
|
724
|
-
|
|
725
726
|
# resource path
|
|
726
|
-
|
|
727
|
+
local_var_path = "/api/v2/conversations/chats".sub('{format}','json')
|
|
727
728
|
|
|
728
729
|
# query parameters
|
|
729
730
|
query_params = {}
|
|
@@ -745,41 +746,45 @@ module PureCloud
|
|
|
745
746
|
# http body (model)
|
|
746
747
|
post_body = nil
|
|
747
748
|
|
|
748
|
-
|
|
749
749
|
auth_names = ['PureCloud Auth']
|
|
750
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
750
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
751
751
|
:header_params => header_params,
|
|
752
752
|
:query_params => query_params,
|
|
753
753
|
:form_params => form_params,
|
|
754
754
|
:body => post_body,
|
|
755
755
|
:auth_names => auth_names,
|
|
756
|
-
:return_type => '
|
|
756
|
+
:return_type => 'ChatConversationEntityListing')
|
|
757
757
|
if @api_client.config.debugging
|
|
758
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
758
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_chats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
759
759
|
end
|
|
760
760
|
return data, status_code, headers
|
|
761
761
|
end
|
|
762
762
|
|
|
763
|
-
# Get
|
|
763
|
+
# Get chat conversation
|
|
764
764
|
#
|
|
765
|
+
# @param chat_id
|
|
765
766
|
# @param [Hash] opts the optional parameters
|
|
766
|
-
# @return [
|
|
767
|
-
def
|
|
768
|
-
data, status_code, headers =
|
|
767
|
+
# @return [ChatConversation]
|
|
768
|
+
def get_chats_chat_id(chat_id, opts = {})
|
|
769
|
+
data, status_code, headers = get_chats_chat_id_with_http_info(chat_id, opts)
|
|
769
770
|
return data
|
|
770
771
|
end
|
|
771
772
|
|
|
772
|
-
# Get
|
|
773
|
+
# Get chat conversation
|
|
773
774
|
#
|
|
775
|
+
# @param chat_id
|
|
774
776
|
# @param [Hash] opts the optional parameters
|
|
775
|
-
# @return [Array<(
|
|
776
|
-
def
|
|
777
|
+
# @return [Array<(ChatConversation, Fixnum, Hash)>] ChatConversation data, response status code and response headers
|
|
778
|
+
def get_chats_chat_id_with_http_info(chat_id, opts = {})
|
|
777
779
|
if @api_client.config.debugging
|
|
778
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
780
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_chats_chat_id ..."
|
|
779
781
|
end
|
|
780
782
|
|
|
783
|
+
# verify the required parameter 'chat_id' is set
|
|
784
|
+
fail "Missing the required parameter 'chat_id' when calling get_chats_chat_id" if chat_id.nil?
|
|
785
|
+
|
|
781
786
|
# resource path
|
|
782
|
-
|
|
787
|
+
local_var_path = "/api/v2/conversations/chats/{chatId}".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s)
|
|
783
788
|
|
|
784
789
|
# query parameters
|
|
785
790
|
query_params = {}
|
|
@@ -801,46 +806,56 @@ module PureCloud
|
|
|
801
806
|
# http body (model)
|
|
802
807
|
post_body = nil
|
|
803
808
|
|
|
804
|
-
|
|
805
809
|
auth_names = ['PureCloud Auth']
|
|
806
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
810
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
807
811
|
:header_params => header_params,
|
|
808
812
|
:query_params => query_params,
|
|
809
813
|
:form_params => form_params,
|
|
810
814
|
:body => post_body,
|
|
811
815
|
:auth_names => auth_names,
|
|
812
|
-
:return_type => '
|
|
816
|
+
:return_type => 'ChatConversation')
|
|
813
817
|
if @api_client.config.debugging
|
|
814
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
818
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_chats_chat_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
815
819
|
end
|
|
816
820
|
return data, status_code, headers
|
|
817
821
|
end
|
|
818
822
|
|
|
819
|
-
#
|
|
823
|
+
# Get the wrap-up for this conversation participant.
|
|
820
824
|
#
|
|
825
|
+
# @param chat_id
|
|
826
|
+
# @param participant_id
|
|
821
827
|
# @param [Hash] opts the optional parameters
|
|
822
|
-
# @option opts [
|
|
823
|
-
# @return [
|
|
824
|
-
def
|
|
825
|
-
data, status_code, headers =
|
|
828
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
829
|
+
# @return [WrapupCode]
|
|
830
|
+
def get_chats_chat_id_participants_participant_id_wrapup(chat_id, participant_id, opts = {})
|
|
831
|
+
data, status_code, headers = get_chats_chat_id_participants_participant_id_wrapup_with_http_info(chat_id, participant_id, opts)
|
|
826
832
|
return data
|
|
827
833
|
end
|
|
828
834
|
|
|
829
|
-
#
|
|
835
|
+
# Get the wrap-up for this conversation participant.
|
|
830
836
|
#
|
|
837
|
+
# @param chat_id
|
|
838
|
+
# @param participant_id
|
|
831
839
|
# @param [Hash] opts the optional parameters
|
|
832
|
-
# @option opts [
|
|
833
|
-
# @return [Array<(
|
|
834
|
-
def
|
|
840
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
|
841
|
+
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
842
|
+
def get_chats_chat_id_participants_participant_id_wrapup_with_http_info(chat_id, participant_id, opts = {})
|
|
835
843
|
if @api_client.config.debugging
|
|
836
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
844
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_chats_chat_id_participants_participant_id_wrapup ..."
|
|
837
845
|
end
|
|
838
846
|
|
|
847
|
+
# verify the required parameter 'chat_id' is set
|
|
848
|
+
fail "Missing the required parameter 'chat_id' when calling get_chats_chat_id_participants_participant_id_wrapup" if chat_id.nil?
|
|
849
|
+
|
|
850
|
+
# verify the required parameter 'participant_id' is set
|
|
851
|
+
fail "Missing the required parameter 'participant_id' when calling get_chats_chat_id_participants_participant_id_wrapup" if participant_id.nil?
|
|
852
|
+
|
|
839
853
|
# resource path
|
|
840
|
-
|
|
854
|
+
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)
|
|
841
855
|
|
|
842
856
|
# query parameters
|
|
843
857
|
query_params = {}
|
|
858
|
+
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
|
844
859
|
|
|
845
860
|
# header parameters
|
|
846
861
|
header_params = {}
|
|
@@ -857,43 +872,52 @@ module PureCloud
|
|
|
857
872
|
form_params = {}
|
|
858
873
|
|
|
859
874
|
# http body (model)
|
|
860
|
-
post_body =
|
|
875
|
+
post_body = nil
|
|
861
876
|
|
|
862
|
-
|
|
863
877
|
auth_names = ['PureCloud Auth']
|
|
864
|
-
data, status_code, headers = @api_client.call_api(:
|
|
878
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
865
879
|
:header_params => header_params,
|
|
866
880
|
:query_params => query_params,
|
|
867
881
|
:form_params => form_params,
|
|
868
882
|
:body => post_body,
|
|
869
883
|
:auth_names => auth_names,
|
|
870
|
-
:return_type => '
|
|
884
|
+
:return_type => 'WrapupCode')
|
|
871
885
|
if @api_client.config.debugging
|
|
872
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
886
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_chats_chat_id_participants_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
873
887
|
end
|
|
874
888
|
return data, status_code, headers
|
|
875
889
|
end
|
|
876
890
|
|
|
877
|
-
# Get
|
|
891
|
+
# Get list of wrapup codes for this conversation participant
|
|
878
892
|
#
|
|
893
|
+
# @param chat_id
|
|
894
|
+
# @param participant_id
|
|
879
895
|
# @param [Hash] opts the optional parameters
|
|
880
|
-
# @return [
|
|
881
|
-
def
|
|
882
|
-
data, status_code, headers =
|
|
896
|
+
# @return [WrapupCode]
|
|
897
|
+
def get_chats_chat_id_participants_participant_id_wrapupcodes(chat_id, participant_id, opts = {})
|
|
898
|
+
data, status_code, headers = get_chats_chat_id_participants_participant_id_wrapupcodes_with_http_info(chat_id, participant_id, opts)
|
|
883
899
|
return data
|
|
884
900
|
end
|
|
885
901
|
|
|
886
|
-
# Get
|
|
902
|
+
# Get list of wrapup codes for this conversation participant
|
|
887
903
|
#
|
|
904
|
+
# @param chat_id
|
|
905
|
+
# @param participant_id
|
|
888
906
|
# @param [Hash] opts the optional parameters
|
|
889
|
-
# @return [Array<(
|
|
890
|
-
def
|
|
907
|
+
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
908
|
+
def get_chats_chat_id_participants_participant_id_wrapupcodes_with_http_info(chat_id, participant_id, opts = {})
|
|
891
909
|
if @api_client.config.debugging
|
|
892
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
910
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_chats_chat_id_participants_participant_id_wrapupcodes ..."
|
|
893
911
|
end
|
|
894
912
|
|
|
913
|
+
# verify the required parameter 'chat_id' is set
|
|
914
|
+
fail "Missing the required parameter 'chat_id' when calling get_chats_chat_id_participants_participant_id_wrapupcodes" if chat_id.nil?
|
|
915
|
+
|
|
916
|
+
# verify the required parameter 'participant_id' is set
|
|
917
|
+
fail "Missing the required parameter 'participant_id' when calling get_chats_chat_id_participants_participant_id_wrapupcodes" if participant_id.nil?
|
|
918
|
+
|
|
895
919
|
# resource path
|
|
896
|
-
|
|
920
|
+
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)
|
|
897
921
|
|
|
898
922
|
# query parameters
|
|
899
923
|
query_params = {}
|
|
@@ -915,46 +939,45 @@ module PureCloud
|
|
|
915
939
|
# http body (model)
|
|
916
940
|
post_body = nil
|
|
917
941
|
|
|
918
|
-
|
|
919
942
|
auth_names = ['PureCloud Auth']
|
|
920
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
943
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
921
944
|
:header_params => header_params,
|
|
922
945
|
:query_params => query_params,
|
|
923
946
|
:form_params => form_params,
|
|
924
947
|
:body => post_body,
|
|
925
948
|
:auth_names => auth_names,
|
|
926
|
-
:return_type => '
|
|
949
|
+
:return_type => 'WrapupCode')
|
|
927
950
|
if @api_client.config.debugging
|
|
928
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
951
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_chats_chat_id_participants_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
929
952
|
end
|
|
930
953
|
return data, status_code, headers
|
|
931
954
|
end
|
|
932
955
|
|
|
933
|
-
# Get
|
|
956
|
+
# Get conversation
|
|
934
957
|
#
|
|
935
|
-
# @param
|
|
958
|
+
# @param conversation_id conversation ID
|
|
936
959
|
# @param [Hash] opts the optional parameters
|
|
937
|
-
# @return [
|
|
938
|
-
def
|
|
939
|
-
data, status_code, headers =
|
|
960
|
+
# @return [Conversation]
|
|
961
|
+
def get_conversation_id(conversation_id, opts = {})
|
|
962
|
+
data, status_code, headers = get_conversation_id_with_http_info(conversation_id, opts)
|
|
940
963
|
return data
|
|
941
964
|
end
|
|
942
965
|
|
|
943
|
-
# Get
|
|
966
|
+
# Get conversation
|
|
944
967
|
#
|
|
945
|
-
# @param
|
|
968
|
+
# @param conversation_id conversation ID
|
|
946
969
|
# @param [Hash] opts the optional parameters
|
|
947
|
-
# @return [Array<(
|
|
948
|
-
def
|
|
970
|
+
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
|
971
|
+
def get_conversation_id_with_http_info(conversation_id, opts = {})
|
|
949
972
|
if @api_client.config.debugging
|
|
950
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
973
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation_id ..."
|
|
951
974
|
end
|
|
952
975
|
|
|
953
|
-
# verify the required parameter '
|
|
954
|
-
fail "Missing the required parameter '
|
|
976
|
+
# verify the required parameter 'conversation_id' is set
|
|
977
|
+
fail "Missing the required parameter 'conversation_id' when calling get_conversation_id" if conversation_id.nil?
|
|
955
978
|
|
|
956
979
|
# resource path
|
|
957
|
-
|
|
980
|
+
local_var_path = "/api/v2/conversations/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
958
981
|
|
|
959
982
|
# query parameters
|
|
960
983
|
query_params = {}
|
|
@@ -976,51 +999,56 @@ module PureCloud
|
|
|
976
999
|
# http body (model)
|
|
977
1000
|
post_body = nil
|
|
978
1001
|
|
|
979
|
-
|
|
980
1002
|
auth_names = ['PureCloud Auth']
|
|
981
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
1003
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
982
1004
|
:header_params => header_params,
|
|
983
1005
|
:query_params => query_params,
|
|
984
1006
|
:form_params => form_params,
|
|
985
1007
|
:body => post_body,
|
|
986
1008
|
:auth_names => auth_names,
|
|
987
|
-
:return_type => '
|
|
1009
|
+
:return_type => 'Conversation')
|
|
988
1010
|
if @api_client.config.debugging
|
|
989
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
1011
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
990
1012
|
end
|
|
991
1013
|
return data, status_code, headers
|
|
992
1014
|
end
|
|
993
1015
|
|
|
994
|
-
#
|
|
1016
|
+
# Get the wrap-up for this conversation participant.
|
|
995
1017
|
#
|
|
996
|
-
# @param
|
|
1018
|
+
# @param conversation_id conversation ID
|
|
1019
|
+
# @param participant_id participant ID
|
|
997
1020
|
# @param [Hash] opts the optional parameters
|
|
998
|
-
# @option opts [
|
|
999
|
-
# @return [
|
|
1000
|
-
def
|
|
1001
|
-
data, status_code, headers =
|
|
1021
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
1022
|
+
# @return [WrapupCode]
|
|
1023
|
+
def get_conversation_id_participants_participant_id_wrapup(conversation_id, participant_id, opts = {})
|
|
1024
|
+
data, status_code, headers = get_conversation_id_participants_participant_id_wrapup_with_http_info(conversation_id, participant_id, opts)
|
|
1002
1025
|
return data
|
|
1003
1026
|
end
|
|
1004
1027
|
|
|
1005
|
-
#
|
|
1028
|
+
# Get the wrap-up for this conversation participant.
|
|
1006
1029
|
#
|
|
1007
|
-
# @param
|
|
1030
|
+
# @param conversation_id conversation ID
|
|
1031
|
+
# @param participant_id participant ID
|
|
1008
1032
|
# @param [Hash] opts the optional parameters
|
|
1009
|
-
# @option opts [
|
|
1010
|
-
# @return [Array<(
|
|
1011
|
-
def
|
|
1033
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
|
1034
|
+
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
1035
|
+
def get_conversation_id_participants_participant_id_wrapup_with_http_info(conversation_id, participant_id, opts = {})
|
|
1012
1036
|
if @api_client.config.debugging
|
|
1013
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
1037
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation_id_participants_participant_id_wrapup ..."
|
|
1014
1038
|
end
|
|
1015
1039
|
|
|
1016
|
-
# verify the required parameter '
|
|
1017
|
-
fail "Missing the required parameter '
|
|
1040
|
+
# verify the required parameter 'conversation_id' is set
|
|
1041
|
+
fail "Missing the required parameter 'conversation_id' when calling get_conversation_id_participants_participant_id_wrapup" if conversation_id.nil?
|
|
1042
|
+
|
|
1043
|
+
# verify the required parameter 'participant_id' is set
|
|
1044
|
+
fail "Missing the required parameter 'participant_id' when calling get_conversation_id_participants_participant_id_wrapup" if participant_id.nil?
|
|
1018
1045
|
|
|
1019
1046
|
# resource path
|
|
1020
|
-
|
|
1047
|
+
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)
|
|
1021
1048
|
|
|
1022
1049
|
# query parameters
|
|
1023
1050
|
query_params = {}
|
|
1051
|
+
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
|
1024
1052
|
|
|
1025
1053
|
# header parameters
|
|
1026
1054
|
header_params = {}
|
|
@@ -1037,50 +1065,52 @@ module PureCloud
|
|
|
1037
1065
|
form_params = {}
|
|
1038
1066
|
|
|
1039
1067
|
# http body (model)
|
|
1040
|
-
post_body =
|
|
1068
|
+
post_body = nil
|
|
1041
1069
|
|
|
1042
|
-
|
|
1043
1070
|
auth_names = ['PureCloud Auth']
|
|
1044
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1071
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1045
1072
|
:header_params => header_params,
|
|
1046
1073
|
:query_params => query_params,
|
|
1047
1074
|
:form_params => form_params,
|
|
1048
1075
|
:body => post_body,
|
|
1049
1076
|
:auth_names => auth_names,
|
|
1050
|
-
:return_type => '
|
|
1077
|
+
:return_type => 'WrapupCode')
|
|
1051
1078
|
if @api_client.config.debugging
|
|
1052
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
1079
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversation_id_participants_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1053
1080
|
end
|
|
1054
1081
|
return data, status_code, headers
|
|
1055
1082
|
end
|
|
1056
1083
|
|
|
1057
|
-
#
|
|
1084
|
+
# Get list of wrapup codes for this conversation participant
|
|
1058
1085
|
#
|
|
1059
|
-
# @param
|
|
1086
|
+
# @param conversation_id conversation ID
|
|
1087
|
+
# @param participant_id participant ID
|
|
1060
1088
|
# @param [Hash] opts the optional parameters
|
|
1061
|
-
# @
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
data, status_code, headers = patch_calls_call_id_with_http_info(call_id, opts)
|
|
1089
|
+
# @return [WrapupCode]
|
|
1090
|
+
def get_conversation_id_participants_participant_id_wrapupcodes(conversation_id, participant_id, opts = {})
|
|
1091
|
+
data, status_code, headers = get_conversation_id_participants_participant_id_wrapupcodes_with_http_info(conversation_id, participant_id, opts)
|
|
1065
1092
|
return data
|
|
1066
1093
|
end
|
|
1067
1094
|
|
|
1068
|
-
#
|
|
1095
|
+
# Get list of wrapup codes for this conversation participant
|
|
1069
1096
|
#
|
|
1070
|
-
# @param
|
|
1097
|
+
# @param conversation_id conversation ID
|
|
1098
|
+
# @param participant_id participant ID
|
|
1071
1099
|
# @param [Hash] opts the optional parameters
|
|
1072
|
-
# @
|
|
1073
|
-
|
|
1074
|
-
def patch_calls_call_id_with_http_info(call_id, opts = {})
|
|
1100
|
+
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
1101
|
+
def get_conversation_id_participants_participant_id_wrapupcodes_with_http_info(conversation_id, participant_id, opts = {})
|
|
1075
1102
|
if @api_client.config.debugging
|
|
1076
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
1103
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation_id_participants_participant_id_wrapupcodes ..."
|
|
1077
1104
|
end
|
|
1078
1105
|
|
|
1079
|
-
# verify the required parameter '
|
|
1080
|
-
fail "Missing the required parameter '
|
|
1106
|
+
# verify the required parameter 'conversation_id' is set
|
|
1107
|
+
fail "Missing the required parameter 'conversation_id' when calling get_conversation_id_participants_participant_id_wrapupcodes" if conversation_id.nil?
|
|
1108
|
+
|
|
1109
|
+
# verify the required parameter 'participant_id' is set
|
|
1110
|
+
fail "Missing the required parameter 'participant_id' when calling get_conversation_id_participants_participant_id_wrapupcodes" if participant_id.nil?
|
|
1081
1111
|
|
|
1082
1112
|
# resource path
|
|
1083
|
-
|
|
1113
|
+
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)
|
|
1084
1114
|
|
|
1085
1115
|
# query parameters
|
|
1086
1116
|
query_params = {}
|
|
@@ -1100,53 +1130,48 @@ module PureCloud
|
|
|
1100
1130
|
form_params = {}
|
|
1101
1131
|
|
|
1102
1132
|
# http body (model)
|
|
1103
|
-
post_body =
|
|
1133
|
+
post_body = nil
|
|
1104
1134
|
|
|
1105
|
-
|
|
1106
1135
|
auth_names = ['PureCloud Auth']
|
|
1107
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1136
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1108
1137
|
:header_params => header_params,
|
|
1109
1138
|
:query_params => query_params,
|
|
1110
1139
|
:form_params => form_params,
|
|
1111
1140
|
:body => post_body,
|
|
1112
1141
|
:auth_names => auth_names,
|
|
1113
|
-
:return_type => '
|
|
1142
|
+
:return_type => 'WrapupCode')
|
|
1114
1143
|
if @api_client.config.debugging
|
|
1115
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
1144
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversation_id_participants_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1116
1145
|
end
|
|
1117
1146
|
return data, status_code, headers
|
|
1118
1147
|
end
|
|
1119
1148
|
|
|
1120
|
-
#
|
|
1149
|
+
# Get conversations
|
|
1121
1150
|
#
|
|
1122
|
-
# @param call_id
|
|
1123
1151
|
# @param [Hash] opts the optional parameters
|
|
1124
|
-
# @option opts [
|
|
1125
|
-
# @return [
|
|
1126
|
-
def
|
|
1127
|
-
data, status_code, headers =
|
|
1152
|
+
# @option opts [String] :communication_type Call or Chat communication filtering
|
|
1153
|
+
# @return [ConversationEntityListing]
|
|
1154
|
+
def get_conversations(opts = {})
|
|
1155
|
+
data, status_code, headers = get_conversations_with_http_info(opts)
|
|
1128
1156
|
return data
|
|
1129
1157
|
end
|
|
1130
1158
|
|
|
1131
|
-
#
|
|
1159
|
+
# Get conversations
|
|
1132
1160
|
#
|
|
1133
|
-
# @param call_id
|
|
1134
1161
|
# @param [Hash] opts the optional parameters
|
|
1135
|
-
# @option opts [
|
|
1136
|
-
# @return [Array<(
|
|
1137
|
-
def
|
|
1162
|
+
# @option opts [String] :communication_type Call or Chat communication filtering
|
|
1163
|
+
# @return [Array<(ConversationEntityListing, Fixnum, Hash)>] ConversationEntityListing data, response status code and response headers
|
|
1164
|
+
def get_conversations_with_http_info(opts = {})
|
|
1138
1165
|
if @api_client.config.debugging
|
|
1139
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
1166
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_conversations ..."
|
|
1140
1167
|
end
|
|
1141
1168
|
|
|
1142
|
-
# verify the required parameter 'call_id' is set
|
|
1143
|
-
fail "Missing the required parameter 'call_id' when calling post_calls_call_id_participants" if call_id.nil?
|
|
1144
|
-
|
|
1145
1169
|
# resource path
|
|
1146
|
-
|
|
1170
|
+
local_var_path = "/api/v2/conversations".sub('{format}','json')
|
|
1147
1171
|
|
|
1148
1172
|
# query parameters
|
|
1149
1173
|
query_params = {}
|
|
1174
|
+
query_params[:'communicationType'] = opts[:'communication_type'] if opts[:'communication_type']
|
|
1150
1175
|
|
|
1151
1176
|
# header parameters
|
|
1152
1177
|
header_params = {}
|
|
@@ -1163,55 +1188,47 @@ module PureCloud
|
|
|
1163
1188
|
form_params = {}
|
|
1164
1189
|
|
|
1165
1190
|
# http body (model)
|
|
1166
|
-
post_body =
|
|
1191
|
+
post_body = nil
|
|
1167
1192
|
|
|
1168
|
-
|
|
1169
1193
|
auth_names = ['PureCloud Auth']
|
|
1170
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1194
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1171
1195
|
:header_params => header_params,
|
|
1172
1196
|
:query_params => query_params,
|
|
1173
1197
|
:form_params => form_params,
|
|
1174
1198
|
:body => post_body,
|
|
1175
1199
|
:auth_names => auth_names,
|
|
1176
|
-
:return_type => '
|
|
1200
|
+
:return_type => 'ConversationEntityListing')
|
|
1177
1201
|
if @api_client.config.debugging
|
|
1178
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
1202
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1179
1203
|
end
|
|
1180
1204
|
return data, status_code, headers
|
|
1181
1205
|
end
|
|
1182
1206
|
|
|
1183
|
-
#
|
|
1207
|
+
# Get a conversation by id
|
|
1184
1208
|
#
|
|
1185
|
-
# @param
|
|
1186
|
-
# @param participant_id
|
|
1209
|
+
# @param conversation_id conversationId
|
|
1187
1210
|
# @param [Hash] opts the optional parameters
|
|
1188
|
-
# @
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
return nil
|
|
1211
|
+
# @return [AnalyticsConversation]
|
|
1212
|
+
def get_conversations_conversation_id_details(conversation_id, opts = {})
|
|
1213
|
+
data, status_code, headers = get_conversations_conversation_id_details_with_http_info(conversation_id, opts)
|
|
1214
|
+
return data
|
|
1193
1215
|
end
|
|
1194
1216
|
|
|
1195
|
-
#
|
|
1217
|
+
# Get a conversation by id
|
|
1196
1218
|
#
|
|
1197
|
-
# @param
|
|
1198
|
-
# @param participant_id
|
|
1219
|
+
# @param conversation_id conversationId
|
|
1199
1220
|
# @param [Hash] opts the optional parameters
|
|
1200
|
-
# @
|
|
1201
|
-
|
|
1202
|
-
def patch_calls_call_id_participants_participant_id_with_http_info(call_id, participant_id, opts = {})
|
|
1221
|
+
# @return [Array<(AnalyticsConversation, Fixnum, Hash)>] AnalyticsConversation data, response status code and response headers
|
|
1222
|
+
def get_conversations_conversation_id_details_with_http_info(conversation_id, opts = {})
|
|
1203
1223
|
if @api_client.config.debugging
|
|
1204
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
1224
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_conversations_conversation_id_details ..."
|
|
1205
1225
|
end
|
|
1206
1226
|
|
|
1207
|
-
# verify the required parameter '
|
|
1208
|
-
fail "Missing the required parameter '
|
|
1209
|
-
|
|
1210
|
-
# verify the required parameter 'participant_id' is set
|
|
1211
|
-
fail "Missing the required parameter 'participant_id' when calling patch_calls_call_id_participants_participant_id" if participant_id.nil?
|
|
1227
|
+
# verify the required parameter 'conversation_id' is set
|
|
1228
|
+
fail "Missing the required parameter 'conversation_id' when calling get_conversations_conversation_id_details" if conversation_id.nil?
|
|
1212
1229
|
|
|
1213
1230
|
# resource path
|
|
1214
|
-
|
|
1231
|
+
local_var_path = "/api/v2/analytics/conversations/{conversationId}/details".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
1215
1232
|
|
|
1216
1233
|
# query parameters
|
|
1217
1234
|
query_params = {}
|
|
@@ -1231,54 +1248,42 @@ module PureCloud
|
|
|
1231
1248
|
form_params = {}
|
|
1232
1249
|
|
|
1233
1250
|
# http body (model)
|
|
1234
|
-
post_body =
|
|
1251
|
+
post_body = nil
|
|
1235
1252
|
|
|
1236
|
-
|
|
1237
1253
|
auth_names = ['PureCloud Auth']
|
|
1238
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1254
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1239
1255
|
:header_params => header_params,
|
|
1240
1256
|
:query_params => query_params,
|
|
1241
1257
|
:form_params => form_params,
|
|
1242
1258
|
:body => post_body,
|
|
1243
|
-
:auth_names => auth_names
|
|
1259
|
+
:auth_names => auth_names,
|
|
1260
|
+
:return_type => 'AnalyticsConversation')
|
|
1244
1261
|
if @api_client.config.debugging
|
|
1245
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
1262
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_conversation_id_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1246
1263
|
end
|
|
1247
1264
|
return data, status_code, headers
|
|
1248
1265
|
end
|
|
1249
1266
|
|
|
1250
|
-
#
|
|
1267
|
+
# Get recent email conversations
|
|
1251
1268
|
#
|
|
1252
|
-
# @param call_id
|
|
1253
|
-
# @param participant_id
|
|
1254
1269
|
# @param [Hash] opts the optional parameters
|
|
1255
|
-
# @
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
return nil
|
|
1270
|
+
# @return [EmailConversationEntityListing]
|
|
1271
|
+
def get_emails(opts = {})
|
|
1272
|
+
data, status_code, headers = get_emails_with_http_info(opts)
|
|
1273
|
+
return data
|
|
1260
1274
|
end
|
|
1261
1275
|
|
|
1262
|
-
#
|
|
1276
|
+
# Get recent email conversations
|
|
1263
1277
|
#
|
|
1264
|
-
# @param call_id
|
|
1265
|
-
# @param participant_id
|
|
1266
1278
|
# @param [Hash] opts the optional parameters
|
|
1267
|
-
# @
|
|
1268
|
-
|
|
1269
|
-
def patch_calls_call_id_participants_participant_id_attributes_with_http_info(call_id, participant_id, opts = {})
|
|
1279
|
+
# @return [Array<(EmailConversationEntityListing, Fixnum, Hash)>] EmailConversationEntityListing data, response status code and response headers
|
|
1280
|
+
def get_emails_with_http_info(opts = {})
|
|
1270
1281
|
if @api_client.config.debugging
|
|
1271
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
1282
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_emails ..."
|
|
1272
1283
|
end
|
|
1273
1284
|
|
|
1274
|
-
# verify the required parameter 'call_id' is set
|
|
1275
|
-
fail "Missing the required parameter 'call_id' when calling patch_calls_call_id_participants_participant_id_attributes" if call_id.nil?
|
|
1276
|
-
|
|
1277
|
-
# verify the required parameter 'participant_id' is set
|
|
1278
|
-
fail "Missing the required parameter 'participant_id' when calling patch_calls_call_id_participants_participant_id_attributes" if participant_id.nil?
|
|
1279
|
-
|
|
1280
1285
|
# resource path
|
|
1281
|
-
|
|
1286
|
+
local_var_path = "/api/v2/conversations/emails".sub('{format}','json')
|
|
1282
1287
|
|
|
1283
1288
|
# query parameters
|
|
1284
1289
|
query_params = {}
|
|
@@ -1298,54 +1303,47 @@ module PureCloud
|
|
|
1298
1303
|
form_params = {}
|
|
1299
1304
|
|
|
1300
1305
|
# http body (model)
|
|
1301
|
-
post_body =
|
|
1306
|
+
post_body = nil
|
|
1302
1307
|
|
|
1303
|
-
|
|
1304
1308
|
auth_names = ['PureCloud Auth']
|
|
1305
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1309
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1306
1310
|
:header_params => header_params,
|
|
1307
1311
|
:query_params => query_params,
|
|
1308
1312
|
:form_params => form_params,
|
|
1309
1313
|
:body => post_body,
|
|
1310
|
-
:auth_names => auth_names
|
|
1314
|
+
:auth_names => auth_names,
|
|
1315
|
+
:return_type => 'EmailConversationEntityListing')
|
|
1311
1316
|
if @api_client.config.debugging
|
|
1312
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
1317
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_emails\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1313
1318
|
end
|
|
1314
1319
|
return data, status_code, headers
|
|
1315
1320
|
end
|
|
1316
1321
|
|
|
1317
|
-
#
|
|
1322
|
+
# Get email conversation
|
|
1318
1323
|
#
|
|
1319
|
-
# @param
|
|
1320
|
-
# @param participant_id
|
|
1324
|
+
# @param email_id
|
|
1321
1325
|
# @param [Hash] opts the optional parameters
|
|
1322
|
-
# @
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
data, status_code, headers = post_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts)
|
|
1326
|
+
# @return [EmailConversation]
|
|
1327
|
+
def get_emails_email_id(email_id, opts = {})
|
|
1328
|
+
data, status_code, headers = get_emails_email_id_with_http_info(email_id, opts)
|
|
1326
1329
|
return data
|
|
1327
1330
|
end
|
|
1328
1331
|
|
|
1329
|
-
#
|
|
1332
|
+
# Get email conversation
|
|
1330
1333
|
#
|
|
1331
|
-
# @param
|
|
1332
|
-
# @param participant_id
|
|
1334
|
+
# @param email_id
|
|
1333
1335
|
# @param [Hash] opts the optional parameters
|
|
1334
|
-
# @
|
|
1335
|
-
|
|
1336
|
-
def post_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts = {})
|
|
1336
|
+
# @return [Array<(EmailConversation, Fixnum, Hash)>] EmailConversation data, response status code and response headers
|
|
1337
|
+
def get_emails_email_id_with_http_info(email_id, opts = {})
|
|
1337
1338
|
if @api_client.config.debugging
|
|
1338
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
1339
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id ..."
|
|
1339
1340
|
end
|
|
1340
1341
|
|
|
1341
|
-
# verify the required parameter '
|
|
1342
|
-
fail "Missing the required parameter '
|
|
1343
|
-
|
|
1344
|
-
# verify the required parameter 'participant_id' is set
|
|
1345
|
-
fail "Missing the required parameter 'participant_id' when calling post_calls_call_id_participants_participant_id_consult" if participant_id.nil?
|
|
1342
|
+
# verify the required parameter 'email_id' is set
|
|
1343
|
+
fail "Missing the required parameter 'email_id' when calling get_emails_email_id" if email_id.nil?
|
|
1346
1344
|
|
|
1347
1345
|
# resource path
|
|
1348
|
-
|
|
1346
|
+
local_var_path = "/api/v2/conversations/emails/{emailId}".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
|
|
1349
1347
|
|
|
1350
1348
|
# query parameters
|
|
1351
1349
|
query_params = {}
|
|
@@ -1365,53 +1363,47 @@ module PureCloud
|
|
|
1365
1363
|
form_params = {}
|
|
1366
1364
|
|
|
1367
1365
|
# http body (model)
|
|
1368
|
-
post_body =
|
|
1366
|
+
post_body = nil
|
|
1369
1367
|
|
|
1370
|
-
|
|
1371
1368
|
auth_names = ['PureCloud Auth']
|
|
1372
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1369
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1373
1370
|
:header_params => header_params,
|
|
1374
1371
|
:query_params => query_params,
|
|
1375
1372
|
:form_params => form_params,
|
|
1376
1373
|
:body => post_body,
|
|
1377
1374
|
:auth_names => auth_names,
|
|
1378
|
-
:return_type => '
|
|
1375
|
+
:return_type => 'EmailConversation')
|
|
1379
1376
|
if @api_client.config.debugging
|
|
1380
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
1377
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1381
1378
|
end
|
|
1382
1379
|
return data, status_code, headers
|
|
1383
1380
|
end
|
|
1384
1381
|
|
|
1385
|
-
#
|
|
1382
|
+
# Get conversation messages
|
|
1386
1383
|
#
|
|
1387
|
-
# @param
|
|
1388
|
-
# @param participant_id
|
|
1384
|
+
# @param email_id
|
|
1389
1385
|
# @param [Hash] opts the optional parameters
|
|
1390
|
-
# @return [
|
|
1391
|
-
def
|
|
1392
|
-
data, status_code, headers =
|
|
1386
|
+
# @return [EmailMessageListing]
|
|
1387
|
+
def get_emails_email_id_messages(email_id, opts = {})
|
|
1388
|
+
data, status_code, headers = get_emails_email_id_messages_with_http_info(email_id, opts)
|
|
1393
1389
|
return data
|
|
1394
1390
|
end
|
|
1395
1391
|
|
|
1396
|
-
#
|
|
1392
|
+
# Get conversation messages
|
|
1397
1393
|
#
|
|
1398
|
-
# @param
|
|
1399
|
-
# @param participant_id
|
|
1394
|
+
# @param email_id
|
|
1400
1395
|
# @param [Hash] opts the optional parameters
|
|
1401
|
-
# @return [Array<(
|
|
1402
|
-
def
|
|
1396
|
+
# @return [Array<(EmailMessageListing, Fixnum, Hash)>] EmailMessageListing data, response status code and response headers
|
|
1397
|
+
def get_emails_email_id_messages_with_http_info(email_id, opts = {})
|
|
1403
1398
|
if @api_client.config.debugging
|
|
1404
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
1399
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id_messages ..."
|
|
1405
1400
|
end
|
|
1406
1401
|
|
|
1407
|
-
# verify the required parameter '
|
|
1408
|
-
fail "Missing the required parameter '
|
|
1409
|
-
|
|
1410
|
-
# verify the required parameter 'participant_id' is set
|
|
1411
|
-
fail "Missing the required parameter 'participant_id' when calling delete_calls_call_id_participants_participant_id_consult" if participant_id.nil?
|
|
1402
|
+
# verify the required parameter 'email_id' is set
|
|
1403
|
+
fail "Missing the required parameter 'email_id' when calling get_emails_email_id_messages" if email_id.nil?
|
|
1412
1404
|
|
|
1413
1405
|
# resource path
|
|
1414
|
-
|
|
1406
|
+
local_var_path = "/api/v2/conversations/emails/{emailId}/messages".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
|
|
1415
1407
|
|
|
1416
1408
|
# query parameters
|
|
1417
1409
|
query_params = {}
|
|
@@ -1433,53 +1425,45 @@ module PureCloud
|
|
|
1433
1425
|
# http body (model)
|
|
1434
1426
|
post_body = nil
|
|
1435
1427
|
|
|
1436
|
-
|
|
1437
1428
|
auth_names = ['PureCloud Auth']
|
|
1438
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1429
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1439
1430
|
:header_params => header_params,
|
|
1440
1431
|
:query_params => query_params,
|
|
1441
1432
|
:form_params => form_params,
|
|
1442
1433
|
:body => post_body,
|
|
1443
1434
|
:auth_names => auth_names,
|
|
1444
|
-
:return_type => '
|
|
1435
|
+
:return_type => 'EmailMessageListing')
|
|
1445
1436
|
if @api_client.config.debugging
|
|
1446
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
1437
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id_messages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1447
1438
|
end
|
|
1448
1439
|
return data, status_code, headers
|
|
1449
1440
|
end
|
|
1450
1441
|
|
|
1451
|
-
#
|
|
1442
|
+
# Get conversation draft reply
|
|
1452
1443
|
#
|
|
1453
|
-
# @param
|
|
1454
|
-
# @param participant_id
|
|
1444
|
+
# @param email_id
|
|
1455
1445
|
# @param [Hash] opts the optional parameters
|
|
1456
|
-
# @
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
data, status_code, headers = patch_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts)
|
|
1446
|
+
# @return [EmailMessage]
|
|
1447
|
+
def get_emails_email_id_messages_draft(email_id, opts = {})
|
|
1448
|
+
data, status_code, headers = get_emails_email_id_messages_draft_with_http_info(email_id, opts)
|
|
1460
1449
|
return data
|
|
1461
1450
|
end
|
|
1462
1451
|
|
|
1463
|
-
#
|
|
1452
|
+
# Get conversation draft reply
|
|
1464
1453
|
#
|
|
1465
|
-
# @param
|
|
1466
|
-
# @param participant_id
|
|
1454
|
+
# @param email_id
|
|
1467
1455
|
# @param [Hash] opts the optional parameters
|
|
1468
|
-
# @
|
|
1469
|
-
|
|
1470
|
-
def patch_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts = {})
|
|
1456
|
+
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
|
1457
|
+
def get_emails_email_id_messages_draft_with_http_info(email_id, opts = {})
|
|
1471
1458
|
if @api_client.config.debugging
|
|
1472
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
1459
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id_messages_draft ..."
|
|
1473
1460
|
end
|
|
1474
1461
|
|
|
1475
|
-
# verify the required parameter '
|
|
1476
|
-
fail "Missing the required parameter '
|
|
1477
|
-
|
|
1478
|
-
# verify the required parameter 'participant_id' is set
|
|
1479
|
-
fail "Missing the required parameter 'participant_id' when calling patch_calls_call_id_participants_participant_id_consult" if participant_id.nil?
|
|
1462
|
+
# verify the required parameter 'email_id' is set
|
|
1463
|
+
fail "Missing the required parameter 'email_id' when calling get_emails_email_id_messages_draft" if email_id.nil?
|
|
1480
1464
|
|
|
1481
1465
|
# resource path
|
|
1482
|
-
|
|
1466
|
+
local_var_path = "/api/v2/conversations/emails/{emailId}/messages/draft".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
|
|
1483
1467
|
|
|
1484
1468
|
# query parameters
|
|
1485
1469
|
query_params = {}
|
|
@@ -1499,53 +1483,52 @@ module PureCloud
|
|
|
1499
1483
|
form_params = {}
|
|
1500
1484
|
|
|
1501
1485
|
# http body (model)
|
|
1502
|
-
post_body =
|
|
1486
|
+
post_body = nil
|
|
1503
1487
|
|
|
1504
|
-
|
|
1505
1488
|
auth_names = ['PureCloud Auth']
|
|
1506
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1489
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1507
1490
|
:header_params => header_params,
|
|
1508
1491
|
:query_params => query_params,
|
|
1509
1492
|
:form_params => form_params,
|
|
1510
1493
|
:body => post_body,
|
|
1511
1494
|
:auth_names => auth_names,
|
|
1512
|
-
:return_type => '
|
|
1495
|
+
:return_type => 'EmailMessage')
|
|
1513
1496
|
if @api_client.config.debugging
|
|
1514
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
1497
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id_messages_draft\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1515
1498
|
end
|
|
1516
1499
|
return data, status_code, headers
|
|
1517
1500
|
end
|
|
1518
1501
|
|
|
1519
|
-
#
|
|
1502
|
+
# Get conversation message
|
|
1520
1503
|
#
|
|
1521
|
-
# @param
|
|
1522
|
-
# @param
|
|
1504
|
+
# @param email_id
|
|
1505
|
+
# @param message_id
|
|
1523
1506
|
# @param [Hash] opts the optional parameters
|
|
1524
|
-
# @return [
|
|
1525
|
-
def
|
|
1526
|
-
|
|
1527
|
-
return
|
|
1507
|
+
# @return [EmailMessage]
|
|
1508
|
+
def get_emails_email_id_messages_message_id(email_id, message_id, opts = {})
|
|
1509
|
+
data, status_code, headers = get_emails_email_id_messages_message_id_with_http_info(email_id, message_id, opts)
|
|
1510
|
+
return data
|
|
1528
1511
|
end
|
|
1529
1512
|
|
|
1530
|
-
#
|
|
1513
|
+
# Get conversation message
|
|
1531
1514
|
#
|
|
1532
|
-
# @param
|
|
1533
|
-
# @param
|
|
1515
|
+
# @param email_id
|
|
1516
|
+
# @param message_id
|
|
1534
1517
|
# @param [Hash] opts the optional parameters
|
|
1535
|
-
# @return [Array<(
|
|
1536
|
-
def
|
|
1518
|
+
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
|
1519
|
+
def get_emails_email_id_messages_message_id_with_http_info(email_id, message_id, opts = {})
|
|
1537
1520
|
if @api_client.config.debugging
|
|
1538
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
1521
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id_messages_message_id ..."
|
|
1539
1522
|
end
|
|
1540
1523
|
|
|
1541
|
-
# verify the required parameter '
|
|
1542
|
-
fail "Missing the required parameter '
|
|
1524
|
+
# verify the required parameter 'email_id' is set
|
|
1525
|
+
fail "Missing the required parameter 'email_id' when calling get_emails_email_id_messages_message_id" if email_id.nil?
|
|
1543
1526
|
|
|
1544
|
-
# verify the required parameter '
|
|
1545
|
-
fail "Missing the required parameter '
|
|
1527
|
+
# verify the required parameter 'message_id' is set
|
|
1528
|
+
fail "Missing the required parameter 'message_id' when calling get_emails_email_id_messages_message_id" if message_id.nil?
|
|
1546
1529
|
|
|
1547
1530
|
# resource path
|
|
1548
|
-
|
|
1531
|
+
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)
|
|
1549
1532
|
|
|
1550
1533
|
# query parameters
|
|
1551
1534
|
query_params = {}
|
|
@@ -1567,55 +1550,56 @@ module PureCloud
|
|
|
1567
1550
|
# http body (model)
|
|
1568
1551
|
post_body = nil
|
|
1569
1552
|
|
|
1570
|
-
|
|
1571
1553
|
auth_names = ['PureCloud Auth']
|
|
1572
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1554
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1573
1555
|
:header_params => header_params,
|
|
1574
1556
|
:query_params => query_params,
|
|
1575
1557
|
:form_params => form_params,
|
|
1576
1558
|
:body => post_body,
|
|
1577
|
-
:auth_names => auth_names
|
|
1559
|
+
:auth_names => auth_names,
|
|
1560
|
+
:return_type => 'EmailMessage')
|
|
1578
1561
|
if @api_client.config.debugging
|
|
1579
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
1562
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id_messages_message_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1580
1563
|
end
|
|
1581
1564
|
return data, status_code, headers
|
|
1582
1565
|
end
|
|
1583
1566
|
|
|
1584
|
-
#
|
|
1567
|
+
# Get the wrap-up for this conversation participant.
|
|
1585
1568
|
#
|
|
1586
|
-
# @param
|
|
1569
|
+
# @param email_id
|
|
1587
1570
|
# @param participant_id
|
|
1588
1571
|
# @param [Hash] opts the optional parameters
|
|
1589
|
-
# @option opts [
|
|
1590
|
-
# @return [
|
|
1591
|
-
def
|
|
1592
|
-
|
|
1593
|
-
return
|
|
1572
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
1573
|
+
# @return [WrapupCode]
|
|
1574
|
+
def get_emails_email_id_participants_participant_id_wrapup(email_id, participant_id, opts = {})
|
|
1575
|
+
data, status_code, headers = get_emails_email_id_participants_participant_id_wrapup_with_http_info(email_id, participant_id, opts)
|
|
1576
|
+
return data
|
|
1594
1577
|
end
|
|
1595
1578
|
|
|
1596
|
-
#
|
|
1579
|
+
# Get the wrap-up for this conversation participant.
|
|
1597
1580
|
#
|
|
1598
|
-
# @param
|
|
1581
|
+
# @param email_id
|
|
1599
1582
|
# @param participant_id
|
|
1600
1583
|
# @param [Hash] opts the optional parameters
|
|
1601
|
-
# @option opts [
|
|
1602
|
-
# @return [Array<(
|
|
1603
|
-
def
|
|
1584
|
+
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
|
1585
|
+
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
1586
|
+
def get_emails_email_id_participants_participant_id_wrapup_with_http_info(email_id, participant_id, opts = {})
|
|
1604
1587
|
if @api_client.config.debugging
|
|
1605
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
1588
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id_participants_participant_id_wrapup ..."
|
|
1606
1589
|
end
|
|
1607
1590
|
|
|
1608
|
-
# verify the required parameter '
|
|
1609
|
-
fail "Missing the required parameter '
|
|
1591
|
+
# verify the required parameter 'email_id' is set
|
|
1592
|
+
fail "Missing the required parameter 'email_id' when calling get_emails_email_id_participants_participant_id_wrapup" if email_id.nil?
|
|
1610
1593
|
|
|
1611
1594
|
# verify the required parameter 'participant_id' is set
|
|
1612
|
-
fail "Missing the required parameter 'participant_id' when calling
|
|
1595
|
+
fail "Missing the required parameter 'participant_id' when calling get_emails_email_id_participants_participant_id_wrapup" if participant_id.nil?
|
|
1613
1596
|
|
|
1614
1597
|
# resource path
|
|
1615
|
-
|
|
1598
|
+
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)
|
|
1616
1599
|
|
|
1617
1600
|
# query parameters
|
|
1618
1601
|
query_params = {}
|
|
1602
|
+
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
|
1619
1603
|
|
|
1620
1604
|
# header parameters
|
|
1621
1605
|
header_params = {}
|
|
@@ -1632,58 +1616,55 @@ module PureCloud
|
|
|
1632
1616
|
form_params = {}
|
|
1633
1617
|
|
|
1634
1618
|
# http body (model)
|
|
1635
|
-
post_body =
|
|
1619
|
+
post_body = nil
|
|
1636
1620
|
|
|
1637
|
-
|
|
1638
1621
|
auth_names = ['PureCloud Auth']
|
|
1639
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1622
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1640
1623
|
:header_params => header_params,
|
|
1641
1624
|
:query_params => query_params,
|
|
1642
1625
|
:form_params => form_params,
|
|
1643
1626
|
:body => post_body,
|
|
1644
|
-
:auth_names => auth_names
|
|
1627
|
+
:auth_names => auth_names,
|
|
1628
|
+
:return_type => 'WrapupCode')
|
|
1645
1629
|
if @api_client.config.debugging
|
|
1646
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
1630
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id_participants_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1647
1631
|
end
|
|
1648
1632
|
return data, status_code, headers
|
|
1649
1633
|
end
|
|
1650
1634
|
|
|
1651
|
-
# Get
|
|
1635
|
+
# Get list of wrapup codes for this conversation participant
|
|
1652
1636
|
#
|
|
1653
|
-
# @param
|
|
1637
|
+
# @param email_id
|
|
1654
1638
|
# @param participant_id
|
|
1655
1639
|
# @param [Hash] opts the optional parameters
|
|
1656
|
-
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
|
1657
1640
|
# @return [WrapupCode]
|
|
1658
|
-
def
|
|
1659
|
-
data, status_code, headers =
|
|
1641
|
+
def get_emails_email_id_participants_participant_id_wrapupcodes(email_id, participant_id, opts = {})
|
|
1642
|
+
data, status_code, headers = get_emails_email_id_participants_participant_id_wrapupcodes_with_http_info(email_id, participant_id, opts)
|
|
1660
1643
|
return data
|
|
1661
1644
|
end
|
|
1662
1645
|
|
|
1663
|
-
# Get
|
|
1646
|
+
# Get list of wrapup codes for this conversation participant
|
|
1664
1647
|
#
|
|
1665
|
-
# @param
|
|
1648
|
+
# @param email_id
|
|
1666
1649
|
# @param participant_id
|
|
1667
1650
|
# @param [Hash] opts the optional parameters
|
|
1668
|
-
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
|
1669
1651
|
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
1670
|
-
def
|
|
1652
|
+
def get_emails_email_id_participants_participant_id_wrapupcodes_with_http_info(email_id, participant_id, opts = {})
|
|
1671
1653
|
if @api_client.config.debugging
|
|
1672
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
1654
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id_participants_participant_id_wrapupcodes ..."
|
|
1673
1655
|
end
|
|
1674
1656
|
|
|
1675
|
-
# verify the required parameter '
|
|
1676
|
-
fail "Missing the required parameter '
|
|
1657
|
+
# verify the required parameter 'email_id' is set
|
|
1658
|
+
fail "Missing the required parameter 'email_id' when calling get_emails_email_id_participants_participant_id_wrapupcodes" if email_id.nil?
|
|
1677
1659
|
|
|
1678
1660
|
# verify the required parameter 'participant_id' is set
|
|
1679
|
-
fail "Missing the required parameter 'participant_id' when calling
|
|
1661
|
+
fail "Missing the required parameter 'participant_id' when calling get_emails_email_id_participants_participant_id_wrapupcodes" if participant_id.nil?
|
|
1680
1662
|
|
|
1681
1663
|
# resource path
|
|
1682
|
-
|
|
1664
|
+
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)
|
|
1683
1665
|
|
|
1684
1666
|
# query parameters
|
|
1685
1667
|
query_params = {}
|
|
1686
|
-
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
|
1687
1668
|
|
|
1688
1669
|
# header parameters
|
|
1689
1670
|
header_params = {}
|
|
@@ -1702,9 +1683,8 @@ module PureCloud
|
|
|
1702
1683
|
# http body (model)
|
|
1703
1684
|
post_body = nil
|
|
1704
1685
|
|
|
1705
|
-
|
|
1706
1686
|
auth_names = ['PureCloud Auth']
|
|
1707
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
1687
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1708
1688
|
:header_params => header_params,
|
|
1709
1689
|
:query_params => query_params,
|
|
1710
1690
|
:form_params => form_params,
|
|
@@ -1712,41 +1692,43 @@ module PureCloud
|
|
|
1712
1692
|
:auth_names => auth_names,
|
|
1713
1693
|
:return_type => 'WrapupCode')
|
|
1714
1694
|
if @api_client.config.debugging
|
|
1715
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
1695
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id_participants_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1716
1696
|
end
|
|
1717
1697
|
return data, status_code, headers
|
|
1718
1698
|
end
|
|
1719
1699
|
|
|
1720
|
-
#
|
|
1700
|
+
# Update conversation participant
|
|
1721
1701
|
#
|
|
1722
|
-
# @param
|
|
1702
|
+
# @param callback_id
|
|
1723
1703
|
# @param participant_id
|
|
1724
1704
|
# @param [Hash] opts the optional parameters
|
|
1725
|
-
# @
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1705
|
+
# @option opts [MediaParticipantRequest] :body
|
|
1706
|
+
# @return [nil]
|
|
1707
|
+
def patch_callbacks_callback_id_participants_participant_id(callback_id, participant_id, opts = {})
|
|
1708
|
+
patch_callbacks_callback_id_participants_participant_id_with_http_info(callback_id, participant_id, opts)
|
|
1709
|
+
return nil
|
|
1729
1710
|
end
|
|
1730
1711
|
|
|
1731
|
-
#
|
|
1712
|
+
# Update conversation participant
|
|
1732
1713
|
#
|
|
1733
|
-
# @param
|
|
1714
|
+
# @param callback_id
|
|
1734
1715
|
# @param participant_id
|
|
1735
1716
|
# @param [Hash] opts the optional parameters
|
|
1736
|
-
# @
|
|
1737
|
-
|
|
1717
|
+
# @option opts [MediaParticipantRequest] :body
|
|
1718
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
1719
|
+
def patch_callbacks_callback_id_participants_participant_id_with_http_info(callback_id, participant_id, opts = {})
|
|
1738
1720
|
if @api_client.config.debugging
|
|
1739
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
1721
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_callbacks_callback_id_participants_participant_id ..."
|
|
1740
1722
|
end
|
|
1741
1723
|
|
|
1742
|
-
# verify the required parameter '
|
|
1743
|
-
fail "Missing the required parameter '
|
|
1724
|
+
# verify the required parameter 'callback_id' is set
|
|
1725
|
+
fail "Missing the required parameter 'callback_id' when calling patch_callbacks_callback_id_participants_participant_id" if callback_id.nil?
|
|
1744
1726
|
|
|
1745
1727
|
# verify the required parameter 'participant_id' is set
|
|
1746
|
-
fail "Missing the required parameter 'participant_id' when calling
|
|
1728
|
+
fail "Missing the required parameter 'participant_id' when calling patch_callbacks_callback_id_participants_participant_id" if participant_id.nil?
|
|
1747
1729
|
|
|
1748
1730
|
# resource path
|
|
1749
|
-
|
|
1731
|
+
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)
|
|
1750
1732
|
|
|
1751
1733
|
# query parameters
|
|
1752
1734
|
query_params = {}
|
|
@@ -1766,43 +1748,53 @@ module PureCloud
|
|
|
1766
1748
|
form_params = {}
|
|
1767
1749
|
|
|
1768
1750
|
# http body (model)
|
|
1769
|
-
post_body =
|
|
1751
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1770
1752
|
|
|
1771
|
-
|
|
1772
1753
|
auth_names = ['PureCloud Auth']
|
|
1773
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1754
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1774
1755
|
:header_params => header_params,
|
|
1775
1756
|
:query_params => query_params,
|
|
1776
1757
|
:form_params => form_params,
|
|
1777
1758
|
:body => post_body,
|
|
1778
|
-
:auth_names => auth_names
|
|
1779
|
-
:return_type => 'WrapupCode')
|
|
1759
|
+
:auth_names => auth_names)
|
|
1780
1760
|
if @api_client.config.debugging
|
|
1781
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
1761
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_callbacks_callback_id_participants_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1782
1762
|
end
|
|
1783
1763
|
return data, status_code, headers
|
|
1784
1764
|
end
|
|
1785
1765
|
|
|
1786
|
-
#
|
|
1766
|
+
# Update the attributes on a conversation participant.
|
|
1787
1767
|
#
|
|
1768
|
+
# @param callback_id
|
|
1769
|
+
# @param participant_id
|
|
1788
1770
|
# @param [Hash] opts the optional parameters
|
|
1789
|
-
# @
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1771
|
+
# @option opts [ParticipantAttributes] :body
|
|
1772
|
+
# @return [nil]
|
|
1773
|
+
def patch_callbacks_callback_id_participants_participant_id_attributes(callback_id, participant_id, opts = {})
|
|
1774
|
+
patch_callbacks_callback_id_participants_participant_id_attributes_with_http_info(callback_id, participant_id, opts)
|
|
1775
|
+
return nil
|
|
1793
1776
|
end
|
|
1794
1777
|
|
|
1795
|
-
#
|
|
1778
|
+
# Update the attributes on a conversation participant.
|
|
1796
1779
|
#
|
|
1780
|
+
# @param callback_id
|
|
1781
|
+
# @param participant_id
|
|
1797
1782
|
# @param [Hash] opts the optional parameters
|
|
1798
|
-
# @
|
|
1799
|
-
|
|
1783
|
+
# @option opts [ParticipantAttributes] :body
|
|
1784
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
1785
|
+
def patch_callbacks_callback_id_participants_participant_id_attributes_with_http_info(callback_id, participant_id, opts = {})
|
|
1800
1786
|
if @api_client.config.debugging
|
|
1801
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
1787
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_callbacks_callback_id_participants_participant_id_attributes ..."
|
|
1802
1788
|
end
|
|
1803
1789
|
|
|
1790
|
+
# verify the required parameter 'callback_id' is set
|
|
1791
|
+
fail "Missing the required parameter 'callback_id' when calling patch_callbacks_callback_id_participants_participant_id_attributes" if callback_id.nil?
|
|
1792
|
+
|
|
1793
|
+
# verify the required parameter 'participant_id' is set
|
|
1794
|
+
fail "Missing the required parameter 'participant_id' when calling patch_callbacks_callback_id_participants_participant_id_attributes" if participant_id.nil?
|
|
1795
|
+
|
|
1804
1796
|
# resource path
|
|
1805
|
-
|
|
1797
|
+
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)
|
|
1806
1798
|
|
|
1807
1799
|
# query parameters
|
|
1808
1800
|
query_params = {}
|
|
@@ -1822,48 +1814,48 @@ module PureCloud
|
|
|
1822
1814
|
form_params = {}
|
|
1823
1815
|
|
|
1824
1816
|
# http body (model)
|
|
1825
|
-
post_body =
|
|
1817
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1826
1818
|
|
|
1827
|
-
|
|
1828
1819
|
auth_names = ['PureCloud Auth']
|
|
1829
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1820
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1830
1821
|
:header_params => header_params,
|
|
1831
1822
|
:query_params => query_params,
|
|
1832
1823
|
:form_params => form_params,
|
|
1833
1824
|
:body => post_body,
|
|
1834
|
-
:auth_names => auth_names
|
|
1835
|
-
:return_type => 'ChatConversationEntityListing')
|
|
1825
|
+
:auth_names => auth_names)
|
|
1836
1826
|
if @api_client.config.debugging
|
|
1837
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
1827
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_callbacks_callback_id_participants_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1838
1828
|
end
|
|
1839
1829
|
return data, status_code, headers
|
|
1840
1830
|
end
|
|
1841
1831
|
|
|
1842
|
-
#
|
|
1832
|
+
# Update conversation
|
|
1843
1833
|
#
|
|
1844
|
-
# @param
|
|
1834
|
+
# @param call_id
|
|
1845
1835
|
# @param [Hash] opts the optional parameters
|
|
1846
|
-
# @
|
|
1847
|
-
|
|
1848
|
-
|
|
1836
|
+
# @option opts [Conversation] :body Conversation
|
|
1837
|
+
# @return [Conversation]
|
|
1838
|
+
def patch_calls_call_id(call_id, opts = {})
|
|
1839
|
+
data, status_code, headers = patch_calls_call_id_with_http_info(call_id, opts)
|
|
1849
1840
|
return data
|
|
1850
1841
|
end
|
|
1851
1842
|
|
|
1852
|
-
#
|
|
1843
|
+
# Update conversation
|
|
1853
1844
|
#
|
|
1854
|
-
# @param
|
|
1845
|
+
# @param call_id
|
|
1855
1846
|
# @param [Hash] opts the optional parameters
|
|
1856
|
-
# @
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1847
|
+
# @option opts [Conversation] :body Conversation
|
|
1848
|
+
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
|
1849
|
+
def patch_calls_call_id_with_http_info(call_id, opts = {})
|
|
1850
|
+
if @api_client.config.debugging
|
|
1851
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_calls_call_id ..."
|
|
1860
1852
|
end
|
|
1861
1853
|
|
|
1862
|
-
# verify the required parameter '
|
|
1863
|
-
fail "Missing the required parameter '
|
|
1854
|
+
# verify the required parameter 'call_id' is set
|
|
1855
|
+
fail "Missing the required parameter 'call_id' when calling patch_calls_call_id" if call_id.nil?
|
|
1864
1856
|
|
|
1865
1857
|
# resource path
|
|
1866
|
-
|
|
1858
|
+
local_var_path = "/api/v2/conversations/calls/{callId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
|
|
1867
1859
|
|
|
1868
1860
|
# query parameters
|
|
1869
1861
|
query_params = {}
|
|
@@ -1883,55 +1875,54 @@ module PureCloud
|
|
|
1883
1875
|
form_params = {}
|
|
1884
1876
|
|
|
1885
1877
|
# http body (model)
|
|
1886
|
-
post_body =
|
|
1878
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1887
1879
|
|
|
1888
|
-
|
|
1889
1880
|
auth_names = ['PureCloud Auth']
|
|
1890
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1881
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1891
1882
|
:header_params => header_params,
|
|
1892
1883
|
:query_params => query_params,
|
|
1893
1884
|
:form_params => form_params,
|
|
1894
1885
|
:body => post_body,
|
|
1895
1886
|
:auth_names => auth_names,
|
|
1896
|
-
:return_type => '
|
|
1887
|
+
:return_type => 'Conversation')
|
|
1897
1888
|
if @api_client.config.debugging
|
|
1898
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
1889
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_calls_call_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1899
1890
|
end
|
|
1900
1891
|
return data, status_code, headers
|
|
1901
1892
|
end
|
|
1902
1893
|
|
|
1903
1894
|
# Update conversation participant
|
|
1904
1895
|
#
|
|
1905
|
-
# @param
|
|
1896
|
+
# @param call_id
|
|
1906
1897
|
# @param participant_id
|
|
1907
1898
|
# @param [Hash] opts the optional parameters
|
|
1908
1899
|
# @option opts [MediaParticipantRequest] :body
|
|
1909
1900
|
# @return [nil]
|
|
1910
|
-
def
|
|
1911
|
-
|
|
1901
|
+
def patch_calls_call_id_participants_participant_id(call_id, participant_id, opts = {})
|
|
1902
|
+
patch_calls_call_id_participants_participant_id_with_http_info(call_id, participant_id, opts)
|
|
1912
1903
|
return nil
|
|
1913
1904
|
end
|
|
1914
1905
|
|
|
1915
1906
|
# Update conversation participant
|
|
1916
1907
|
#
|
|
1917
|
-
# @param
|
|
1908
|
+
# @param call_id
|
|
1918
1909
|
# @param participant_id
|
|
1919
1910
|
# @param [Hash] opts the optional parameters
|
|
1920
1911
|
# @option opts [MediaParticipantRequest] :body
|
|
1921
1912
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
1922
|
-
def
|
|
1913
|
+
def patch_calls_call_id_participants_participant_id_with_http_info(call_id, participant_id, opts = {})
|
|
1923
1914
|
if @api_client.config.debugging
|
|
1924
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
1915
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_calls_call_id_participants_participant_id ..."
|
|
1925
1916
|
end
|
|
1926
1917
|
|
|
1927
|
-
# verify the required parameter '
|
|
1928
|
-
fail "Missing the required parameter '
|
|
1918
|
+
# verify the required parameter 'call_id' is set
|
|
1919
|
+
fail "Missing the required parameter 'call_id' when calling patch_calls_call_id_participants_participant_id" if call_id.nil?
|
|
1929
1920
|
|
|
1930
1921
|
# verify the required parameter 'participant_id' is set
|
|
1931
|
-
fail "Missing the required parameter 'participant_id' when calling
|
|
1922
|
+
fail "Missing the required parameter 'participant_id' when calling patch_calls_call_id_participants_participant_id" if participant_id.nil?
|
|
1932
1923
|
|
|
1933
1924
|
# resource path
|
|
1934
|
-
|
|
1925
|
+
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)
|
|
1935
1926
|
|
|
1936
1927
|
# query parameters
|
|
1937
1928
|
query_params = {}
|
|
@@ -1953,52 +1944,51 @@ module PureCloud
|
|
|
1953
1944
|
# http body (model)
|
|
1954
1945
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1955
1946
|
|
|
1956
|
-
|
|
1957
1947
|
auth_names = ['PureCloud Auth']
|
|
1958
|
-
data, status_code, headers = @api_client.call_api(:PATCH,
|
|
1948
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1959
1949
|
:header_params => header_params,
|
|
1960
1950
|
:query_params => query_params,
|
|
1961
1951
|
:form_params => form_params,
|
|
1962
1952
|
:body => post_body,
|
|
1963
1953
|
:auth_names => auth_names)
|
|
1964
1954
|
if @api_client.config.debugging
|
|
1965
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
1955
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_calls_call_id_participants_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1966
1956
|
end
|
|
1967
1957
|
return data, status_code, headers
|
|
1968
1958
|
end
|
|
1969
1959
|
|
|
1970
1960
|
# Update the attributes on a conversation participant.
|
|
1971
1961
|
#
|
|
1972
|
-
# @param
|
|
1962
|
+
# @param call_id
|
|
1973
1963
|
# @param participant_id
|
|
1974
1964
|
# @param [Hash] opts the optional parameters
|
|
1975
1965
|
# @option opts [ParticipantAttributes] :body
|
|
1976
1966
|
# @return [nil]
|
|
1977
|
-
def
|
|
1978
|
-
|
|
1967
|
+
def patch_calls_call_id_participants_participant_id_attributes(call_id, participant_id, opts = {})
|
|
1968
|
+
patch_calls_call_id_participants_participant_id_attributes_with_http_info(call_id, participant_id, opts)
|
|
1979
1969
|
return nil
|
|
1980
1970
|
end
|
|
1981
1971
|
|
|
1982
1972
|
# Update the attributes on a conversation participant.
|
|
1983
1973
|
#
|
|
1984
|
-
# @param
|
|
1974
|
+
# @param call_id
|
|
1985
1975
|
# @param participant_id
|
|
1986
1976
|
# @param [Hash] opts the optional parameters
|
|
1987
1977
|
# @option opts [ParticipantAttributes] :body
|
|
1988
1978
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
1989
|
-
def
|
|
1979
|
+
def patch_calls_call_id_participants_participant_id_attributes_with_http_info(call_id, participant_id, opts = {})
|
|
1990
1980
|
if @api_client.config.debugging
|
|
1991
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
1981
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_calls_call_id_participants_participant_id_attributes ..."
|
|
1992
1982
|
end
|
|
1993
1983
|
|
|
1994
|
-
# verify the required parameter '
|
|
1995
|
-
fail "Missing the required parameter '
|
|
1984
|
+
# verify the required parameter 'call_id' is set
|
|
1985
|
+
fail "Missing the required parameter 'call_id' when calling patch_calls_call_id_participants_participant_id_attributes" if call_id.nil?
|
|
1996
1986
|
|
|
1997
1987
|
# verify the required parameter 'participant_id' is set
|
|
1998
|
-
fail "Missing the required parameter 'participant_id' when calling
|
|
1988
|
+
fail "Missing the required parameter 'participant_id' when calling patch_calls_call_id_participants_participant_id_attributes" if participant_id.nil?
|
|
1999
1989
|
|
|
2000
1990
|
# resource path
|
|
2001
|
-
|
|
1991
|
+
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)
|
|
2002
1992
|
|
|
2003
1993
|
# query parameters
|
|
2004
1994
|
query_params = {}
|
|
@@ -2020,52 +2010,51 @@ module PureCloud
|
|
|
2020
2010
|
# http body (model)
|
|
2021
2011
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2022
2012
|
|
|
2023
|
-
|
|
2024
2013
|
auth_names = ['PureCloud Auth']
|
|
2025
|
-
data, status_code, headers = @api_client.call_api(:PATCH,
|
|
2014
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
2026
2015
|
:header_params => header_params,
|
|
2027
2016
|
:query_params => query_params,
|
|
2028
2017
|
:form_params => form_params,
|
|
2029
2018
|
:body => post_body,
|
|
2030
2019
|
:auth_names => auth_names)
|
|
2031
2020
|
if @api_client.config.debugging
|
|
2032
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
2021
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_calls_call_id_participants_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2033
2022
|
end
|
|
2034
2023
|
return data, status_code, headers
|
|
2035
2024
|
end
|
|
2036
2025
|
|
|
2037
|
-
#
|
|
2026
|
+
# Change who can speak
|
|
2038
2027
|
#
|
|
2039
|
-
# @param
|
|
2028
|
+
# @param call_id
|
|
2040
2029
|
# @param participant_id
|
|
2041
2030
|
# @param [Hash] opts the optional parameters
|
|
2042
|
-
# @option opts [
|
|
2043
|
-
# @return [
|
|
2044
|
-
def
|
|
2045
|
-
|
|
2046
|
-
return
|
|
2031
|
+
# @option opts [ConsultTransferUpdate] :body new speak to
|
|
2032
|
+
# @return [ConsultTransferResponse]
|
|
2033
|
+
def patch_calls_call_id_participants_participant_id_consult(call_id, participant_id, opts = {})
|
|
2034
|
+
data, status_code, headers = patch_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts)
|
|
2035
|
+
return data
|
|
2047
2036
|
end
|
|
2048
2037
|
|
|
2049
|
-
#
|
|
2038
|
+
# Change who can speak
|
|
2050
2039
|
#
|
|
2051
|
-
# @param
|
|
2040
|
+
# @param call_id
|
|
2052
2041
|
# @param participant_id
|
|
2053
2042
|
# @param [Hash] opts the optional parameters
|
|
2054
|
-
# @option opts [
|
|
2055
|
-
# @return [Array<(
|
|
2056
|
-
def
|
|
2043
|
+
# @option opts [ConsultTransferUpdate] :body new speak to
|
|
2044
|
+
# @return [Array<(ConsultTransferResponse, Fixnum, Hash)>] ConsultTransferResponse data, response status code and response headers
|
|
2045
|
+
def patch_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts = {})
|
|
2057
2046
|
if @api_client.config.debugging
|
|
2058
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
2047
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_calls_call_id_participants_participant_id_consult ..."
|
|
2059
2048
|
end
|
|
2060
2049
|
|
|
2061
|
-
# verify the required parameter '
|
|
2062
|
-
fail "Missing the required parameter '
|
|
2050
|
+
# verify the required parameter 'call_id' is set
|
|
2051
|
+
fail "Missing the required parameter 'call_id' when calling patch_calls_call_id_participants_participant_id_consult" if call_id.nil?
|
|
2063
2052
|
|
|
2064
2053
|
# verify the required parameter 'participant_id' is set
|
|
2065
|
-
fail "Missing the required parameter 'participant_id' when calling
|
|
2054
|
+
fail "Missing the required parameter 'participant_id' when calling patch_calls_call_id_participants_participant_id_consult" if participant_id.nil?
|
|
2066
2055
|
|
|
2067
2056
|
# resource path
|
|
2068
|
-
|
|
2057
|
+
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)
|
|
2069
2058
|
|
|
2070
2059
|
# query parameters
|
|
2071
2060
|
query_params = {}
|
|
@@ -2087,56 +2076,55 @@ module PureCloud
|
|
|
2087
2076
|
# http body (model)
|
|
2088
2077
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2089
2078
|
|
|
2090
|
-
|
|
2091
2079
|
auth_names = ['PureCloud Auth']
|
|
2092
|
-
data, status_code, headers = @api_client.call_api(:
|
|
2080
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
2093
2081
|
:header_params => header_params,
|
|
2094
2082
|
:query_params => query_params,
|
|
2095
2083
|
:form_params => form_params,
|
|
2096
2084
|
:body => post_body,
|
|
2097
|
-
:auth_names => auth_names
|
|
2085
|
+
:auth_names => auth_names,
|
|
2086
|
+
:return_type => 'ConsultTransferResponse')
|
|
2098
2087
|
if @api_client.config.debugging
|
|
2099
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
2088
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_calls_call_id_participants_participant_id_consult\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2100
2089
|
end
|
|
2101
2090
|
return data, status_code, headers
|
|
2102
2091
|
end
|
|
2103
2092
|
|
|
2104
|
-
#
|
|
2093
|
+
# Update conversation participant
|
|
2105
2094
|
#
|
|
2106
2095
|
# @param chat_id
|
|
2107
2096
|
# @param participant_id
|
|
2108
2097
|
# @param [Hash] opts the optional parameters
|
|
2109
|
-
# @option opts [
|
|
2110
|
-
# @return [
|
|
2111
|
-
def
|
|
2112
|
-
|
|
2113
|
-
return
|
|
2098
|
+
# @option opts [MediaParticipantRequest] :body
|
|
2099
|
+
# @return [nil]
|
|
2100
|
+
def patch_chats_chat_id_participants_participant_id(chat_id, participant_id, opts = {})
|
|
2101
|
+
patch_chats_chat_id_participants_participant_id_with_http_info(chat_id, participant_id, opts)
|
|
2102
|
+
return nil
|
|
2114
2103
|
end
|
|
2115
2104
|
|
|
2116
|
-
#
|
|
2105
|
+
# Update conversation participant
|
|
2117
2106
|
#
|
|
2118
2107
|
# @param chat_id
|
|
2119
2108
|
# @param participant_id
|
|
2120
2109
|
# @param [Hash] opts the optional parameters
|
|
2121
|
-
# @option opts [
|
|
2122
|
-
# @return [Array<(
|
|
2123
|
-
def
|
|
2110
|
+
# @option opts [MediaParticipantRequest] :body
|
|
2111
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2112
|
+
def patch_chats_chat_id_participants_participant_id_with_http_info(chat_id, participant_id, opts = {})
|
|
2124
2113
|
if @api_client.config.debugging
|
|
2125
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
2114
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_chats_chat_id_participants_participant_id ..."
|
|
2126
2115
|
end
|
|
2127
2116
|
|
|
2128
2117
|
# verify the required parameter 'chat_id' is set
|
|
2129
|
-
fail "Missing the required parameter 'chat_id' when calling
|
|
2118
|
+
fail "Missing the required parameter 'chat_id' when calling patch_chats_chat_id_participants_participant_id" if chat_id.nil?
|
|
2130
2119
|
|
|
2131
2120
|
# verify the required parameter 'participant_id' is set
|
|
2132
|
-
fail "Missing the required parameter 'participant_id' when calling
|
|
2121
|
+
fail "Missing the required parameter 'participant_id' when calling patch_chats_chat_id_participants_participant_id" if participant_id.nil?
|
|
2133
2122
|
|
|
2134
2123
|
# resource path
|
|
2135
|
-
|
|
2124
|
+
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)
|
|
2136
2125
|
|
|
2137
2126
|
# query parameters
|
|
2138
2127
|
query_params = {}
|
|
2139
|
-
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
|
2140
2128
|
|
|
2141
2129
|
# header parameters
|
|
2142
2130
|
header_params = {}
|
|
@@ -2153,53 +2141,53 @@ module PureCloud
|
|
|
2153
2141
|
form_params = {}
|
|
2154
2142
|
|
|
2155
2143
|
# http body (model)
|
|
2156
|
-
post_body =
|
|
2144
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2157
2145
|
|
|
2158
|
-
|
|
2159
2146
|
auth_names = ['PureCloud Auth']
|
|
2160
|
-
data, status_code, headers = @api_client.call_api(:
|
|
2147
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
2161
2148
|
:header_params => header_params,
|
|
2162
2149
|
:query_params => query_params,
|
|
2163
2150
|
:form_params => form_params,
|
|
2164
2151
|
:body => post_body,
|
|
2165
|
-
:auth_names => auth_names
|
|
2166
|
-
:return_type => 'WrapupCode')
|
|
2152
|
+
:auth_names => auth_names)
|
|
2167
2153
|
if @api_client.config.debugging
|
|
2168
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
2154
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_chats_chat_id_participants_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2169
2155
|
end
|
|
2170
2156
|
return data, status_code, headers
|
|
2171
2157
|
end
|
|
2172
2158
|
|
|
2173
|
-
#
|
|
2159
|
+
# Update the attributes on a conversation participant.
|
|
2174
2160
|
#
|
|
2175
2161
|
# @param chat_id
|
|
2176
2162
|
# @param participant_id
|
|
2177
2163
|
# @param [Hash] opts the optional parameters
|
|
2178
|
-
# @
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2164
|
+
# @option opts [ParticipantAttributes] :body
|
|
2165
|
+
# @return [nil]
|
|
2166
|
+
def patch_chats_chat_id_participants_participant_id_attributes(chat_id, participant_id, opts = {})
|
|
2167
|
+
patch_chats_chat_id_participants_participant_id_attributes_with_http_info(chat_id, participant_id, opts)
|
|
2168
|
+
return nil
|
|
2182
2169
|
end
|
|
2183
2170
|
|
|
2184
|
-
#
|
|
2171
|
+
# Update the attributes on a conversation participant.
|
|
2185
2172
|
#
|
|
2186
2173
|
# @param chat_id
|
|
2187
2174
|
# @param participant_id
|
|
2188
2175
|
# @param [Hash] opts the optional parameters
|
|
2189
|
-
# @
|
|
2190
|
-
|
|
2176
|
+
# @option opts [ParticipantAttributes] :body
|
|
2177
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2178
|
+
def patch_chats_chat_id_participants_participant_id_attributes_with_http_info(chat_id, participant_id, opts = {})
|
|
2191
2179
|
if @api_client.config.debugging
|
|
2192
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
2180
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_chats_chat_id_participants_participant_id_attributes ..."
|
|
2193
2181
|
end
|
|
2194
2182
|
|
|
2195
2183
|
# verify the required parameter 'chat_id' is set
|
|
2196
|
-
fail "Missing the required parameter 'chat_id' when calling
|
|
2184
|
+
fail "Missing the required parameter 'chat_id' when calling patch_chats_chat_id_participants_participant_id_attributes" if chat_id.nil?
|
|
2197
2185
|
|
|
2198
2186
|
# verify the required parameter 'participant_id' is set
|
|
2199
|
-
fail "Missing the required parameter 'participant_id' when calling
|
|
2187
|
+
fail "Missing the required parameter 'participant_id' when calling patch_chats_chat_id_participants_participant_id_attributes" if participant_id.nil?
|
|
2200
2188
|
|
|
2201
2189
|
# resource path
|
|
2202
|
-
|
|
2190
|
+
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)
|
|
2203
2191
|
|
|
2204
2192
|
# query parameters
|
|
2205
2193
|
query_params = {}
|
|
@@ -2219,43 +2207,53 @@ module PureCloud
|
|
|
2219
2207
|
form_params = {}
|
|
2220
2208
|
|
|
2221
2209
|
# http body (model)
|
|
2222
|
-
post_body =
|
|
2210
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2223
2211
|
|
|
2224
|
-
|
|
2225
2212
|
auth_names = ['PureCloud Auth']
|
|
2226
|
-
data, status_code, headers = @api_client.call_api(:
|
|
2213
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
2227
2214
|
:header_params => header_params,
|
|
2228
2215
|
:query_params => query_params,
|
|
2229
2216
|
:form_params => form_params,
|
|
2230
2217
|
:body => post_body,
|
|
2231
|
-
:auth_names => auth_names
|
|
2232
|
-
:return_type => 'WrapupCode')
|
|
2218
|
+
:auth_names => auth_names)
|
|
2233
2219
|
if @api_client.config.debugging
|
|
2234
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
2220
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_chats_chat_id_participants_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2235
2221
|
end
|
|
2236
2222
|
return data, status_code, headers
|
|
2237
2223
|
end
|
|
2238
2224
|
|
|
2239
|
-
#
|
|
2240
|
-
#
|
|
2225
|
+
# Update a participant.
|
|
2226
|
+
# Update conversation participant.
|
|
2227
|
+
# @param conversation_id conversation ID
|
|
2228
|
+
# @param participant_id participant ID
|
|
2241
2229
|
# @param [Hash] opts the optional parameters
|
|
2242
|
-
# @
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2230
|
+
# @option opts [MediaParticipantRequest] :body
|
|
2231
|
+
# @return [nil]
|
|
2232
|
+
def patch_conversation_id_participants_participant_id(conversation_id, participant_id, opts = {})
|
|
2233
|
+
patch_conversation_id_participants_participant_id_with_http_info(conversation_id, participant_id, opts)
|
|
2234
|
+
return nil
|
|
2246
2235
|
end
|
|
2247
2236
|
|
|
2248
|
-
#
|
|
2249
|
-
#
|
|
2237
|
+
# Update a participant.
|
|
2238
|
+
# Update conversation participant.
|
|
2239
|
+
# @param conversation_id conversation ID
|
|
2240
|
+
# @param participant_id participant ID
|
|
2250
2241
|
# @param [Hash] opts the optional parameters
|
|
2251
|
-
# @
|
|
2252
|
-
|
|
2242
|
+
# @option opts [MediaParticipantRequest] :body
|
|
2243
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2244
|
+
def patch_conversation_id_participants_participant_id_with_http_info(conversation_id, participant_id, opts = {})
|
|
2253
2245
|
if @api_client.config.debugging
|
|
2254
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
2246
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_conversation_id_participants_participant_id ..."
|
|
2255
2247
|
end
|
|
2256
2248
|
|
|
2249
|
+
# verify the required parameter 'conversation_id' is set
|
|
2250
|
+
fail "Missing the required parameter 'conversation_id' when calling patch_conversation_id_participants_participant_id" if conversation_id.nil?
|
|
2251
|
+
|
|
2252
|
+
# verify the required parameter 'participant_id' is set
|
|
2253
|
+
fail "Missing the required parameter 'participant_id' when calling patch_conversation_id_participants_participant_id" if participant_id.nil?
|
|
2254
|
+
|
|
2257
2255
|
# resource path
|
|
2258
|
-
|
|
2256
|
+
local_var_path = "/api/v2/conversations/{conversationId}/participants/{participantId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
2259
2257
|
|
|
2260
2258
|
# query parameters
|
|
2261
2259
|
query_params = {}
|
|
@@ -2275,48 +2273,53 @@ module PureCloud
|
|
|
2275
2273
|
form_params = {}
|
|
2276
2274
|
|
|
2277
2275
|
# http body (model)
|
|
2278
|
-
post_body =
|
|
2276
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2279
2277
|
|
|
2280
|
-
|
|
2281
2278
|
auth_names = ['PureCloud Auth']
|
|
2282
|
-
data, status_code, headers = @api_client.call_api(:
|
|
2279
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
2283
2280
|
:header_params => header_params,
|
|
2284
2281
|
:query_params => query_params,
|
|
2285
2282
|
:form_params => form_params,
|
|
2286
2283
|
:body => post_body,
|
|
2287
|
-
:auth_names => auth_names
|
|
2288
|
-
:return_type => 'EmailConversationEntityListing')
|
|
2284
|
+
:auth_names => auth_names)
|
|
2289
2285
|
if @api_client.config.debugging
|
|
2290
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
2286
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversation_id_participants_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2291
2287
|
end
|
|
2292
2288
|
return data, status_code, headers
|
|
2293
2289
|
end
|
|
2294
2290
|
|
|
2295
|
-
#
|
|
2291
|
+
# Update the attributes on a conversation participant.
|
|
2296
2292
|
#
|
|
2297
|
-
# @param
|
|
2293
|
+
# @param conversation_id conversation ID
|
|
2294
|
+
# @param participant_id participant ID
|
|
2298
2295
|
# @param [Hash] opts the optional parameters
|
|
2299
|
-
# @
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2296
|
+
# @option opts [ParticipantAttributes] :body
|
|
2297
|
+
# @return [nil]
|
|
2298
|
+
def patch_conversation_id_participants_participant_id_attributes(conversation_id, participant_id, opts = {})
|
|
2299
|
+
patch_conversation_id_participants_participant_id_attributes_with_http_info(conversation_id, participant_id, opts)
|
|
2300
|
+
return nil
|
|
2303
2301
|
end
|
|
2304
2302
|
|
|
2305
|
-
#
|
|
2303
|
+
# Update the attributes on a conversation participant.
|
|
2306
2304
|
#
|
|
2307
|
-
# @param
|
|
2305
|
+
# @param conversation_id conversation ID
|
|
2306
|
+
# @param participant_id participant ID
|
|
2308
2307
|
# @param [Hash] opts the optional parameters
|
|
2309
|
-
# @
|
|
2310
|
-
|
|
2308
|
+
# @option opts [ParticipantAttributes] :body
|
|
2309
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2310
|
+
def patch_conversation_id_participants_participant_id_attributes_with_http_info(conversation_id, participant_id, opts = {})
|
|
2311
2311
|
if @api_client.config.debugging
|
|
2312
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
2312
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_conversation_id_participants_participant_id_attributes ..."
|
|
2313
2313
|
end
|
|
2314
2314
|
|
|
2315
|
-
# verify the required parameter '
|
|
2316
|
-
fail "Missing the required parameter '
|
|
2315
|
+
# verify the required parameter 'conversation_id' is set
|
|
2316
|
+
fail "Missing the required parameter 'conversation_id' when calling patch_conversation_id_participants_participant_id_attributes" if conversation_id.nil?
|
|
2317
|
+
|
|
2318
|
+
# verify the required parameter 'participant_id' is set
|
|
2319
|
+
fail "Missing the required parameter 'participant_id' when calling patch_conversation_id_participants_participant_id_attributes" if participant_id.nil?
|
|
2317
2320
|
|
|
2318
2321
|
# resource path
|
|
2319
|
-
|
|
2322
|
+
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)
|
|
2320
2323
|
|
|
2321
2324
|
# query parameters
|
|
2322
2325
|
query_params = {}
|
|
@@ -2336,48 +2339,53 @@ module PureCloud
|
|
|
2336
2339
|
form_params = {}
|
|
2337
2340
|
|
|
2338
2341
|
# http body (model)
|
|
2339
|
-
post_body =
|
|
2342
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2340
2343
|
|
|
2341
|
-
|
|
2342
2344
|
auth_names = ['PureCloud Auth']
|
|
2343
|
-
data, status_code, headers = @api_client.call_api(:
|
|
2345
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
2344
2346
|
:header_params => header_params,
|
|
2345
2347
|
:query_params => query_params,
|
|
2346
2348
|
:form_params => form_params,
|
|
2347
2349
|
:body => post_body,
|
|
2348
|
-
:auth_names => auth_names
|
|
2349
|
-
:return_type => 'EmailConversation')
|
|
2350
|
+
:auth_names => auth_names)
|
|
2350
2351
|
if @api_client.config.debugging
|
|
2351
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
2352
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_conversation_id_participants_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2352
2353
|
end
|
|
2353
2354
|
return data, status_code, headers
|
|
2354
2355
|
end
|
|
2355
2356
|
|
|
2356
|
-
#
|
|
2357
|
+
# Update conversation participant
|
|
2357
2358
|
#
|
|
2358
2359
|
# @param email_id
|
|
2360
|
+
# @param participant_id
|
|
2359
2361
|
# @param [Hash] opts the optional parameters
|
|
2360
|
-
# @
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2362
|
+
# @option opts [MediaParticipantRequest] :body
|
|
2363
|
+
# @return [nil]
|
|
2364
|
+
def patch_emails_email_id_participants_participant_id(email_id, participant_id, opts = {})
|
|
2365
|
+
patch_emails_email_id_participants_participant_id_with_http_info(email_id, participant_id, opts)
|
|
2366
|
+
return nil
|
|
2364
2367
|
end
|
|
2365
2368
|
|
|
2366
|
-
#
|
|
2369
|
+
# Update conversation participant
|
|
2367
2370
|
#
|
|
2368
2371
|
# @param email_id
|
|
2372
|
+
# @param participant_id
|
|
2369
2373
|
# @param [Hash] opts the optional parameters
|
|
2370
|
-
# @
|
|
2371
|
-
|
|
2374
|
+
# @option opts [MediaParticipantRequest] :body
|
|
2375
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2376
|
+
def patch_emails_email_id_participants_participant_id_with_http_info(email_id, participant_id, opts = {})
|
|
2372
2377
|
if @api_client.config.debugging
|
|
2373
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
2378
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_emails_email_id_participants_participant_id ..."
|
|
2374
2379
|
end
|
|
2375
2380
|
|
|
2376
2381
|
# verify the required parameter 'email_id' is set
|
|
2377
|
-
fail "Missing the required parameter 'email_id' when calling
|
|
2382
|
+
fail "Missing the required parameter 'email_id' when calling patch_emails_email_id_participants_participant_id" if email_id.nil?
|
|
2383
|
+
|
|
2384
|
+
# verify the required parameter 'participant_id' is set
|
|
2385
|
+
fail "Missing the required parameter 'participant_id' when calling patch_emails_email_id_participants_participant_id" if participant_id.nil?
|
|
2378
2386
|
|
|
2379
2387
|
# resource path
|
|
2380
|
-
|
|
2388
|
+
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)
|
|
2381
2389
|
|
|
2382
2390
|
# query parameters
|
|
2383
2391
|
query_params = {}
|
|
@@ -2397,50 +2405,53 @@ module PureCloud
|
|
|
2397
2405
|
form_params = {}
|
|
2398
2406
|
|
|
2399
2407
|
# http body (model)
|
|
2400
|
-
post_body =
|
|
2408
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2401
2409
|
|
|
2402
|
-
|
|
2403
2410
|
auth_names = ['PureCloud Auth']
|
|
2404
|
-
data, status_code, headers = @api_client.call_api(:
|
|
2411
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
2405
2412
|
:header_params => header_params,
|
|
2406
2413
|
:query_params => query_params,
|
|
2407
2414
|
:form_params => form_params,
|
|
2408
2415
|
:body => post_body,
|
|
2409
|
-
:auth_names => auth_names
|
|
2410
|
-
:return_type => 'EmailMessageListing')
|
|
2416
|
+
:auth_names => auth_names)
|
|
2411
2417
|
if @api_client.config.debugging
|
|
2412
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
2418
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_emails_email_id_participants_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2413
2419
|
end
|
|
2414
2420
|
return data, status_code, headers
|
|
2415
2421
|
end
|
|
2416
2422
|
|
|
2417
|
-
#
|
|
2423
|
+
# Update the attributes on a conversation participant.
|
|
2418
2424
|
#
|
|
2419
2425
|
# @param email_id
|
|
2426
|
+
# @param participant_id
|
|
2420
2427
|
# @param [Hash] opts the optional parameters
|
|
2421
|
-
# @option opts [
|
|
2422
|
-
# @return [
|
|
2423
|
-
def
|
|
2424
|
-
|
|
2425
|
-
return
|
|
2428
|
+
# @option opts [ParticipantAttributes] :body
|
|
2429
|
+
# @return [nil]
|
|
2430
|
+
def patch_emails_email_id_participants_participant_id_attributes(email_id, participant_id, opts = {})
|
|
2431
|
+
patch_emails_email_id_participants_participant_id_attributes_with_http_info(email_id, participant_id, opts)
|
|
2432
|
+
return nil
|
|
2426
2433
|
end
|
|
2427
2434
|
|
|
2428
|
-
#
|
|
2435
|
+
# Update the attributes on a conversation participant.
|
|
2429
2436
|
#
|
|
2430
2437
|
# @param email_id
|
|
2438
|
+
# @param participant_id
|
|
2431
2439
|
# @param [Hash] opts the optional parameters
|
|
2432
|
-
# @option opts [
|
|
2433
|
-
# @return [Array<(
|
|
2434
|
-
def
|
|
2440
|
+
# @option opts [ParticipantAttributes] :body
|
|
2441
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2442
|
+
def patch_emails_email_id_participants_participant_id_attributes_with_http_info(email_id, participant_id, opts = {})
|
|
2435
2443
|
if @api_client.config.debugging
|
|
2436
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
2444
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_emails_email_id_participants_participant_id_attributes ..."
|
|
2437
2445
|
end
|
|
2438
2446
|
|
|
2439
2447
|
# verify the required parameter 'email_id' is set
|
|
2440
|
-
fail "Missing the required parameter 'email_id' when calling
|
|
2448
|
+
fail "Missing the required parameter 'email_id' when calling patch_emails_email_id_participants_participant_id_attributes" if email_id.nil?
|
|
2449
|
+
|
|
2450
|
+
# verify the required parameter 'participant_id' is set
|
|
2451
|
+
fail "Missing the required parameter 'participant_id' when calling patch_emails_email_id_participants_participant_id_attributes" if participant_id.nil?
|
|
2441
2452
|
|
|
2442
2453
|
# resource path
|
|
2443
|
-
|
|
2454
|
+
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)
|
|
2444
2455
|
|
|
2445
2456
|
# query parameters
|
|
2446
2457
|
query_params = {}
|
|
@@ -2462,46 +2473,51 @@ module PureCloud
|
|
|
2462
2473
|
# http body (model)
|
|
2463
2474
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2464
2475
|
|
|
2465
|
-
|
|
2466
2476
|
auth_names = ['PureCloud Auth']
|
|
2467
|
-
data, status_code, headers = @api_client.call_api(:
|
|
2477
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
2468
2478
|
:header_params => header_params,
|
|
2469
2479
|
:query_params => query_params,
|
|
2470
2480
|
:form_params => form_params,
|
|
2471
2481
|
:body => post_body,
|
|
2472
|
-
:auth_names => auth_names
|
|
2473
|
-
:return_type => 'EmailMessage')
|
|
2482
|
+
:auth_names => auth_names)
|
|
2474
2483
|
if @api_client.config.debugging
|
|
2475
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
2484
|
+
@api_client.config.logger.debug "API called: ConversationsApi#patch_emails_email_id_participants_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2476
2485
|
end
|
|
2477
2486
|
return data, status_code, headers
|
|
2478
2487
|
end
|
|
2479
2488
|
|
|
2480
|
-
#
|
|
2489
|
+
# Replace this participant with the specified user and/or address
|
|
2481
2490
|
#
|
|
2482
|
-
# @param
|
|
2491
|
+
# @param callback_id
|
|
2492
|
+
# @param participant_id
|
|
2483
2493
|
# @param [Hash] opts the optional parameters
|
|
2484
|
-
# @
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2494
|
+
# @option opts [TransferRequest] :body
|
|
2495
|
+
# @return [nil]
|
|
2496
|
+
def post_callbacks_callback_id_participants_participant_id_replace(callback_id, participant_id, opts = {})
|
|
2497
|
+
post_callbacks_callback_id_participants_participant_id_replace_with_http_info(callback_id, participant_id, opts)
|
|
2498
|
+
return nil
|
|
2488
2499
|
end
|
|
2489
2500
|
|
|
2490
|
-
#
|
|
2501
|
+
# Replace this participant with the specified user and/or address
|
|
2491
2502
|
#
|
|
2492
|
-
# @param
|
|
2503
|
+
# @param callback_id
|
|
2504
|
+
# @param participant_id
|
|
2493
2505
|
# @param [Hash] opts the optional parameters
|
|
2494
|
-
# @
|
|
2495
|
-
|
|
2506
|
+
# @option opts [TransferRequest] :body
|
|
2507
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2508
|
+
def post_callbacks_callback_id_participants_participant_id_replace_with_http_info(callback_id, participant_id, opts = {})
|
|
2496
2509
|
if @api_client.config.debugging
|
|
2497
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
2510
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#post_callbacks_callback_id_participants_participant_id_replace ..."
|
|
2498
2511
|
end
|
|
2499
2512
|
|
|
2500
|
-
# verify the required parameter '
|
|
2501
|
-
fail "Missing the required parameter '
|
|
2513
|
+
# verify the required parameter 'callback_id' is set
|
|
2514
|
+
fail "Missing the required parameter 'callback_id' when calling post_callbacks_callback_id_participants_participant_id_replace" if callback_id.nil?
|
|
2515
|
+
|
|
2516
|
+
# verify the required parameter 'participant_id' is set
|
|
2517
|
+
fail "Missing the required parameter 'participant_id' when calling post_callbacks_callback_id_participants_participant_id_replace" if participant_id.nil?
|
|
2502
2518
|
|
|
2503
2519
|
# resource path
|
|
2504
|
-
|
|
2520
|
+
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)
|
|
2505
2521
|
|
|
2506
2522
|
# query parameters
|
|
2507
2523
|
query_params = {}
|
|
@@ -2521,50 +2537,43 @@ module PureCloud
|
|
|
2521
2537
|
form_params = {}
|
|
2522
2538
|
|
|
2523
2539
|
# http body (model)
|
|
2524
|
-
post_body =
|
|
2540
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2525
2541
|
|
|
2526
|
-
|
|
2527
2542
|
auth_names = ['PureCloud Auth']
|
|
2528
|
-
data, status_code, headers = @api_client.call_api(:
|
|
2543
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
2529
2544
|
:header_params => header_params,
|
|
2530
2545
|
:query_params => query_params,
|
|
2531
2546
|
:form_params => form_params,
|
|
2532
2547
|
:body => post_body,
|
|
2533
|
-
:auth_names => auth_names
|
|
2534
|
-
:return_type => 'EmailMessage')
|
|
2548
|
+
:auth_names => auth_names)
|
|
2535
2549
|
if @api_client.config.debugging
|
|
2536
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
2550
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_callbacks_callback_id_participants_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2537
2551
|
end
|
|
2538
2552
|
return data, status_code, headers
|
|
2539
2553
|
end
|
|
2540
2554
|
|
|
2541
|
-
#
|
|
2555
|
+
# Create a call conversation
|
|
2542
2556
|
#
|
|
2543
|
-
# @param email_id
|
|
2544
2557
|
# @param [Hash] opts the optional parameters
|
|
2545
|
-
# @option opts [
|
|
2546
|
-
# @return [
|
|
2547
|
-
def
|
|
2548
|
-
data, status_code, headers =
|
|
2558
|
+
# @option opts [CreateCallRequest] :body
|
|
2559
|
+
# @return [CreateCallResponse]
|
|
2560
|
+
def post_calls(opts = {})
|
|
2561
|
+
data, status_code, headers = post_calls_with_http_info(opts)
|
|
2549
2562
|
return data
|
|
2550
2563
|
end
|
|
2551
2564
|
|
|
2552
|
-
#
|
|
2565
|
+
# Create a call conversation
|
|
2553
2566
|
#
|
|
2554
|
-
# @param email_id
|
|
2555
2567
|
# @param [Hash] opts the optional parameters
|
|
2556
|
-
# @option opts [
|
|
2557
|
-
# @return [Array<(
|
|
2558
|
-
def
|
|
2568
|
+
# @option opts [CreateCallRequest] :body
|
|
2569
|
+
# @return [Array<(CreateCallResponse, Fixnum, Hash)>] CreateCallResponse data, response status code and response headers
|
|
2570
|
+
def post_calls_with_http_info(opts = {})
|
|
2559
2571
|
if @api_client.config.debugging
|
|
2560
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
2572
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#post_calls ..."
|
|
2561
2573
|
end
|
|
2562
2574
|
|
|
2563
|
-
# verify the required parameter 'email_id' is set
|
|
2564
|
-
fail "Missing the required parameter 'email_id' when calling put_emails_email_id_messages_draft" if email_id.nil?
|
|
2565
|
-
|
|
2566
2575
|
# resource path
|
|
2567
|
-
|
|
2576
|
+
local_var_path = "/api/v2/conversations/calls".sub('{format}','json')
|
|
2568
2577
|
|
|
2569
2578
|
# query parameters
|
|
2570
2579
|
query_params = {}
|
|
@@ -2586,51 +2595,47 @@ module PureCloud
|
|
|
2586
2595
|
# http body (model)
|
|
2587
2596
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2588
2597
|
|
|
2589
|
-
|
|
2590
2598
|
auth_names = ['PureCloud Auth']
|
|
2591
|
-
data, status_code, headers = @api_client.call_api(:
|
|
2599
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
2592
2600
|
:header_params => header_params,
|
|
2593
2601
|
:query_params => query_params,
|
|
2594
2602
|
:form_params => form_params,
|
|
2595
2603
|
:body => post_body,
|
|
2596
2604
|
:auth_names => auth_names,
|
|
2597
|
-
:return_type => '
|
|
2605
|
+
:return_type => 'CreateCallResponse')
|
|
2598
2606
|
if @api_client.config.debugging
|
|
2599
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
2607
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_calls\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2600
2608
|
end
|
|
2601
2609
|
return data, status_code, headers
|
|
2602
2610
|
end
|
|
2603
2611
|
|
|
2604
|
-
#
|
|
2612
|
+
# Add a new call to a conversation
|
|
2605
2613
|
#
|
|
2606
|
-
# @param
|
|
2607
|
-
# @param attachment_id
|
|
2614
|
+
# @param call_id
|
|
2608
2615
|
# @param [Hash] opts the optional parameters
|
|
2609
|
-
# @
|
|
2610
|
-
|
|
2611
|
-
|
|
2616
|
+
# @option opts [CallCommand] :body Conversation
|
|
2617
|
+
# @return [Conversation]
|
|
2618
|
+
def post_calls_call_id(call_id, opts = {})
|
|
2619
|
+
data, status_code, headers = post_calls_call_id_with_http_info(call_id, opts)
|
|
2612
2620
|
return data
|
|
2613
2621
|
end
|
|
2614
2622
|
|
|
2615
|
-
#
|
|
2623
|
+
# Add a new call to a conversation
|
|
2616
2624
|
#
|
|
2617
|
-
# @param
|
|
2618
|
-
# @param attachment_id
|
|
2625
|
+
# @param call_id
|
|
2619
2626
|
# @param [Hash] opts the optional parameters
|
|
2620
|
-
# @
|
|
2621
|
-
|
|
2627
|
+
# @option opts [CallCommand] :body Conversation
|
|
2628
|
+
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
|
2629
|
+
def post_calls_call_id_with_http_info(call_id, opts = {})
|
|
2622
2630
|
if @api_client.config.debugging
|
|
2623
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
2624
|
-
end
|
|
2625
|
-
|
|
2626
|
-
# verify the required parameter 'email_id' is set
|
|
2627
|
-
fail "Missing the required parameter 'email_id' when calling delete_emails_email_id_messages_draft_attachments_attachment_id" if email_id.nil?
|
|
2631
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id ..."
|
|
2632
|
+
end
|
|
2628
2633
|
|
|
2629
|
-
# verify the required parameter '
|
|
2630
|
-
fail "Missing the required parameter '
|
|
2634
|
+
# verify the required parameter 'call_id' is set
|
|
2635
|
+
fail "Missing the required parameter 'call_id' when calling post_calls_call_id" if call_id.nil?
|
|
2631
2636
|
|
|
2632
2637
|
# resource path
|
|
2633
|
-
|
|
2638
|
+
local_var_path = "/api/v2/conversations/calls/{callId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
|
|
2634
2639
|
|
|
2635
2640
|
# query parameters
|
|
2636
2641
|
query_params = {}
|
|
@@ -2650,53 +2655,49 @@ module PureCloud
|
|
|
2650
2655
|
form_params = {}
|
|
2651
2656
|
|
|
2652
2657
|
# http body (model)
|
|
2653
|
-
post_body =
|
|
2658
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2654
2659
|
|
|
2655
|
-
|
|
2656
2660
|
auth_names = ['PureCloud Auth']
|
|
2657
|
-
data, status_code, headers = @api_client.call_api(:
|
|
2661
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
2658
2662
|
:header_params => header_params,
|
|
2659
2663
|
:query_params => query_params,
|
|
2660
2664
|
:form_params => form_params,
|
|
2661
2665
|
:body => post_body,
|
|
2662
2666
|
:auth_names => auth_names,
|
|
2663
|
-
:return_type => '
|
|
2667
|
+
:return_type => 'Conversation')
|
|
2664
2668
|
if @api_client.config.debugging
|
|
2665
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
2669
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_calls_call_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2666
2670
|
end
|
|
2667
2671
|
return data, status_code, headers
|
|
2668
2672
|
end
|
|
2669
2673
|
|
|
2670
|
-
#
|
|
2674
|
+
# Add participants to a conversation
|
|
2671
2675
|
#
|
|
2672
|
-
# @param
|
|
2673
|
-
# @param message_id
|
|
2676
|
+
# @param call_id
|
|
2674
2677
|
# @param [Hash] opts the optional parameters
|
|
2675
|
-
# @
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
+
# @option opts [Conversation] :body Conversation
|
|
2679
|
+
# @return [Conversation]
|
|
2680
|
+
def post_calls_call_id_participants(call_id, opts = {})
|
|
2681
|
+
data, status_code, headers = post_calls_call_id_participants_with_http_info(call_id, opts)
|
|
2678
2682
|
return data
|
|
2679
2683
|
end
|
|
2680
2684
|
|
|
2681
|
-
#
|
|
2685
|
+
# Add participants to a conversation
|
|
2682
2686
|
#
|
|
2683
|
-
# @param
|
|
2684
|
-
# @param message_id
|
|
2687
|
+
# @param call_id
|
|
2685
2688
|
# @param [Hash] opts the optional parameters
|
|
2686
|
-
# @
|
|
2687
|
-
|
|
2689
|
+
# @option opts [Conversation] :body Conversation
|
|
2690
|
+
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
|
2691
|
+
def post_calls_call_id_participants_with_http_info(call_id, opts = {})
|
|
2688
2692
|
if @api_client.config.debugging
|
|
2689
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
2693
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id_participants ..."
|
|
2690
2694
|
end
|
|
2691
2695
|
|
|
2692
|
-
# verify the required parameter '
|
|
2693
|
-
fail "Missing the required parameter '
|
|
2694
|
-
|
|
2695
|
-
# verify the required parameter 'message_id' is set
|
|
2696
|
-
fail "Missing the required parameter 'message_id' when calling get_emails_email_id_messages_message_id" if message_id.nil?
|
|
2696
|
+
# verify the required parameter 'call_id' is set
|
|
2697
|
+
fail "Missing the required parameter 'call_id' when calling post_calls_call_id_participants" if call_id.nil?
|
|
2697
2698
|
|
|
2698
2699
|
# resource path
|
|
2699
|
-
|
|
2700
|
+
local_var_path = "/api/v2/conversations/calls/{callId}/participants".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
|
|
2700
2701
|
|
|
2701
2702
|
# query parameters
|
|
2702
2703
|
query_params = {}
|
|
@@ -2716,55 +2717,54 @@ module PureCloud
|
|
|
2716
2717
|
form_params = {}
|
|
2717
2718
|
|
|
2718
2719
|
# http body (model)
|
|
2719
|
-
post_body =
|
|
2720
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2720
2721
|
|
|
2721
|
-
|
|
2722
2722
|
auth_names = ['PureCloud Auth']
|
|
2723
|
-
data, status_code, headers = @api_client.call_api(:
|
|
2723
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
2724
2724
|
:header_params => header_params,
|
|
2725
2725
|
:query_params => query_params,
|
|
2726
2726
|
:form_params => form_params,
|
|
2727
2727
|
:body => post_body,
|
|
2728
2728
|
:auth_names => auth_names,
|
|
2729
|
-
:return_type => '
|
|
2729
|
+
:return_type => 'Conversation')
|
|
2730
2730
|
if @api_client.config.debugging
|
|
2731
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
2731
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_calls_call_id_participants\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2732
2732
|
end
|
|
2733
2733
|
return data, status_code, headers
|
|
2734
2734
|
end
|
|
2735
2735
|
|
|
2736
|
-
#
|
|
2736
|
+
# Initiate and update consult transfer
|
|
2737
2737
|
#
|
|
2738
|
-
# @param
|
|
2738
|
+
# @param call_id
|
|
2739
2739
|
# @param participant_id
|
|
2740
2740
|
# @param [Hash] opts the optional parameters
|
|
2741
|
-
# @option opts [
|
|
2742
|
-
# @return [
|
|
2743
|
-
def
|
|
2744
|
-
|
|
2745
|
-
return
|
|
2741
|
+
# @option opts [ConsultTransfer] :body Destination address & initial speak to
|
|
2742
|
+
# @return [ConsultTransferResponse]
|
|
2743
|
+
def post_calls_call_id_participants_participant_id_consult(call_id, participant_id, opts = {})
|
|
2744
|
+
data, status_code, headers = post_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts)
|
|
2745
|
+
return data
|
|
2746
2746
|
end
|
|
2747
2747
|
|
|
2748
|
-
#
|
|
2748
|
+
# Initiate and update consult transfer
|
|
2749
2749
|
#
|
|
2750
|
-
# @param
|
|
2750
|
+
# @param call_id
|
|
2751
2751
|
# @param participant_id
|
|
2752
2752
|
# @param [Hash] opts the optional parameters
|
|
2753
|
-
# @option opts [
|
|
2754
|
-
# @return [Array<(
|
|
2755
|
-
def
|
|
2753
|
+
# @option opts [ConsultTransfer] :body Destination address & initial speak to
|
|
2754
|
+
# @return [Array<(ConsultTransferResponse, Fixnum, Hash)>] ConsultTransferResponse data, response status code and response headers
|
|
2755
|
+
def post_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts = {})
|
|
2756
2756
|
if @api_client.config.debugging
|
|
2757
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
2757
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id_participants_participant_id_consult ..."
|
|
2758
2758
|
end
|
|
2759
2759
|
|
|
2760
|
-
# verify the required parameter '
|
|
2761
|
-
fail "Missing the required parameter '
|
|
2760
|
+
# verify the required parameter 'call_id' is set
|
|
2761
|
+
fail "Missing the required parameter 'call_id' when calling post_calls_call_id_participants_participant_id_consult" if call_id.nil?
|
|
2762
2762
|
|
|
2763
2763
|
# verify the required parameter 'participant_id' is set
|
|
2764
|
-
fail "Missing the required parameter 'participant_id' when calling
|
|
2764
|
+
fail "Missing the required parameter 'participant_id' when calling post_calls_call_id_participants_participant_id_consult" if participant_id.nil?
|
|
2765
2765
|
|
|
2766
2766
|
# resource path
|
|
2767
|
-
|
|
2767
|
+
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)
|
|
2768
2768
|
|
|
2769
2769
|
# query parameters
|
|
2770
2770
|
query_params = {}
|
|
@@ -2786,52 +2786,50 @@ module PureCloud
|
|
|
2786
2786
|
# http body (model)
|
|
2787
2787
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2788
2788
|
|
|
2789
|
-
|
|
2790
2789
|
auth_names = ['PureCloud Auth']
|
|
2791
|
-
data, status_code, headers = @api_client.call_api(:
|
|
2790
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
2792
2791
|
:header_params => header_params,
|
|
2793
2792
|
:query_params => query_params,
|
|
2794
2793
|
:form_params => form_params,
|
|
2795
2794
|
:body => post_body,
|
|
2796
|
-
:auth_names => auth_names
|
|
2795
|
+
:auth_names => auth_names,
|
|
2796
|
+
:return_type => 'ConsultTransferResponse')
|
|
2797
2797
|
if @api_client.config.debugging
|
|
2798
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
2798
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_calls_call_id_participants_participant_id_consult\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2799
2799
|
end
|
|
2800
2800
|
return data, status_code, headers
|
|
2801
2801
|
end
|
|
2802
2802
|
|
|
2803
|
-
#
|
|
2803
|
+
# Listen in on the conversation from the point of view of a given participant.
|
|
2804
2804
|
#
|
|
2805
|
-
# @param
|
|
2805
|
+
# @param call_id
|
|
2806
2806
|
# @param participant_id
|
|
2807
2807
|
# @param [Hash] opts the optional parameters
|
|
2808
|
-
# @option opts [ParticipantAttributes] :body
|
|
2809
2808
|
# @return [nil]
|
|
2810
|
-
def
|
|
2811
|
-
|
|
2809
|
+
def post_calls_call_id_participants_participant_id_monitor(call_id, participant_id, opts = {})
|
|
2810
|
+
post_calls_call_id_participants_participant_id_monitor_with_http_info(call_id, participant_id, opts)
|
|
2812
2811
|
return nil
|
|
2813
2812
|
end
|
|
2814
2813
|
|
|
2815
|
-
#
|
|
2814
|
+
# Listen in on the conversation from the point of view of a given participant.
|
|
2816
2815
|
#
|
|
2817
|
-
# @param
|
|
2816
|
+
# @param call_id
|
|
2818
2817
|
# @param participant_id
|
|
2819
2818
|
# @param [Hash] opts the optional parameters
|
|
2820
|
-
# @option opts [ParticipantAttributes] :body
|
|
2821
2819
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2822
|
-
def
|
|
2820
|
+
def post_calls_call_id_participants_participant_id_monitor_with_http_info(call_id, participant_id, opts = {})
|
|
2823
2821
|
if @api_client.config.debugging
|
|
2824
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
2822
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id_participants_participant_id_monitor ..."
|
|
2825
2823
|
end
|
|
2826
2824
|
|
|
2827
|
-
# verify the required parameter '
|
|
2828
|
-
fail "Missing the required parameter '
|
|
2825
|
+
# verify the required parameter 'call_id' is set
|
|
2826
|
+
fail "Missing the required parameter 'call_id' when calling post_calls_call_id_participants_participant_id_monitor" if call_id.nil?
|
|
2829
2827
|
|
|
2830
2828
|
# verify the required parameter 'participant_id' is set
|
|
2831
|
-
fail "Missing the required parameter 'participant_id' when calling
|
|
2829
|
+
fail "Missing the required parameter 'participant_id' when calling post_calls_call_id_participants_participant_id_monitor" if participant_id.nil?
|
|
2832
2830
|
|
|
2833
2831
|
# resource path
|
|
2834
|
-
|
|
2832
|
+
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)
|
|
2835
2833
|
|
|
2836
2834
|
# query parameters
|
|
2837
2835
|
query_params = {}
|
|
@@ -2851,54 +2849,53 @@ module PureCloud
|
|
|
2851
2849
|
form_params = {}
|
|
2852
2850
|
|
|
2853
2851
|
# http body (model)
|
|
2854
|
-
post_body =
|
|
2852
|
+
post_body = nil
|
|
2855
2853
|
|
|
2856
|
-
|
|
2857
2854
|
auth_names = ['PureCloud Auth']
|
|
2858
|
-
data, status_code, headers = @api_client.call_api(:
|
|
2855
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
2859
2856
|
:header_params => header_params,
|
|
2860
2857
|
:query_params => query_params,
|
|
2861
2858
|
:form_params => form_params,
|
|
2862
2859
|
:body => post_body,
|
|
2863
2860
|
:auth_names => auth_names)
|
|
2864
2861
|
if @api_client.config.debugging
|
|
2865
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
2862
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_calls_call_id_participants_participant_id_monitor\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2866
2863
|
end
|
|
2867
2864
|
return data, status_code, headers
|
|
2868
2865
|
end
|
|
2869
2866
|
|
|
2870
2867
|
# Replace this participant with the specified user and/or address
|
|
2871
2868
|
#
|
|
2872
|
-
# @param
|
|
2869
|
+
# @param call_id
|
|
2873
2870
|
# @param participant_id
|
|
2874
2871
|
# @param [Hash] opts the optional parameters
|
|
2875
2872
|
# @option opts [TransferRequest] :body
|
|
2876
2873
|
# @return [nil]
|
|
2877
|
-
def
|
|
2878
|
-
|
|
2874
|
+
def post_calls_call_id_participants_participant_id_replace(call_id, participant_id, opts = {})
|
|
2875
|
+
post_calls_call_id_participants_participant_id_replace_with_http_info(call_id, participant_id, opts)
|
|
2879
2876
|
return nil
|
|
2880
2877
|
end
|
|
2881
2878
|
|
|
2882
2879
|
# Replace this participant with the specified user and/or address
|
|
2883
2880
|
#
|
|
2884
|
-
# @param
|
|
2881
|
+
# @param call_id
|
|
2885
2882
|
# @param participant_id
|
|
2886
2883
|
# @param [Hash] opts the optional parameters
|
|
2887
2884
|
# @option opts [TransferRequest] :body
|
|
2888
2885
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2889
|
-
def
|
|
2886
|
+
def post_calls_call_id_participants_participant_id_replace_with_http_info(call_id, participant_id, opts = {})
|
|
2890
2887
|
if @api_client.config.debugging
|
|
2891
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
2888
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id_participants_participant_id_replace ..."
|
|
2892
2889
|
end
|
|
2893
2890
|
|
|
2894
|
-
# verify the required parameter '
|
|
2895
|
-
fail "Missing the required parameter '
|
|
2891
|
+
# verify the required parameter 'call_id' is set
|
|
2892
|
+
fail "Missing the required parameter 'call_id' when calling post_calls_call_id_participants_participant_id_replace" if call_id.nil?
|
|
2896
2893
|
|
|
2897
2894
|
# verify the required parameter 'participant_id' is set
|
|
2898
|
-
fail "Missing the required parameter 'participant_id' when calling
|
|
2895
|
+
fail "Missing the required parameter 'participant_id' when calling post_calls_call_id_participants_participant_id_replace" if participant_id.nil?
|
|
2899
2896
|
|
|
2900
2897
|
# resource path
|
|
2901
|
-
|
|
2898
|
+
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)
|
|
2902
2899
|
|
|
2903
2900
|
# query parameters
|
|
2904
2901
|
query_params = {}
|
|
@@ -2920,56 +2917,54 @@ module PureCloud
|
|
|
2920
2917
|
# http body (model)
|
|
2921
2918
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2922
2919
|
|
|
2923
|
-
|
|
2924
2920
|
auth_names = ['PureCloud Auth']
|
|
2925
|
-
data, status_code, headers = @api_client.call_api(:POST,
|
|
2921
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
2926
2922
|
:header_params => header_params,
|
|
2927
2923
|
:query_params => query_params,
|
|
2928
2924
|
:form_params => form_params,
|
|
2929
2925
|
:body => post_body,
|
|
2930
2926
|
:auth_names => auth_names)
|
|
2931
2927
|
if @api_client.config.debugging
|
|
2932
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
2928
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_calls_call_id_participants_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2933
2929
|
end
|
|
2934
2930
|
return data, status_code, headers
|
|
2935
2931
|
end
|
|
2936
2932
|
|
|
2937
|
-
#
|
|
2933
|
+
# Replace this participant with the specified user and/or address
|
|
2938
2934
|
#
|
|
2939
|
-
# @param
|
|
2935
|
+
# @param chat_id
|
|
2940
2936
|
# @param participant_id
|
|
2941
2937
|
# @param [Hash] opts the optional parameters
|
|
2942
|
-
# @option opts [
|
|
2943
|
-
# @return [
|
|
2944
|
-
def
|
|
2945
|
-
|
|
2946
|
-
return
|
|
2938
|
+
# @option opts [TransferRequest] :body
|
|
2939
|
+
# @return [nil]
|
|
2940
|
+
def post_chats_chat_id_participants_participant_id_replace(chat_id, participant_id, opts = {})
|
|
2941
|
+
post_chats_chat_id_participants_participant_id_replace_with_http_info(chat_id, participant_id, opts)
|
|
2942
|
+
return nil
|
|
2947
2943
|
end
|
|
2948
2944
|
|
|
2949
|
-
#
|
|
2945
|
+
# Replace this participant with the specified user and/or address
|
|
2950
2946
|
#
|
|
2951
|
-
# @param
|
|
2947
|
+
# @param chat_id
|
|
2952
2948
|
# @param participant_id
|
|
2953
2949
|
# @param [Hash] opts the optional parameters
|
|
2954
|
-
# @option opts [
|
|
2955
|
-
# @return [Array<(
|
|
2956
|
-
def
|
|
2950
|
+
# @option opts [TransferRequest] :body
|
|
2951
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2952
|
+
def post_chats_chat_id_participants_participant_id_replace_with_http_info(chat_id, participant_id, opts = {})
|
|
2957
2953
|
if @api_client.config.debugging
|
|
2958
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
2954
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#post_chats_chat_id_participants_participant_id_replace ..."
|
|
2959
2955
|
end
|
|
2960
2956
|
|
|
2961
|
-
# verify the required parameter '
|
|
2962
|
-
fail "Missing the required parameter '
|
|
2957
|
+
# verify the required parameter 'chat_id' is set
|
|
2958
|
+
fail "Missing the required parameter 'chat_id' when calling post_chats_chat_id_participants_participant_id_replace" if chat_id.nil?
|
|
2963
2959
|
|
|
2964
2960
|
# verify the required parameter 'participant_id' is set
|
|
2965
|
-
fail "Missing the required parameter 'participant_id' when calling
|
|
2961
|
+
fail "Missing the required parameter 'participant_id' when calling post_chats_chat_id_participants_participant_id_replace" if participant_id.nil?
|
|
2966
2962
|
|
|
2967
2963
|
# resource path
|
|
2968
|
-
|
|
2964
|
+
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)
|
|
2969
2965
|
|
|
2970
2966
|
# query parameters
|
|
2971
2967
|
query_params = {}
|
|
2972
|
-
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
|
2973
2968
|
|
|
2974
2969
|
# header parameters
|
|
2975
2970
|
header_params = {}
|
|
@@ -2986,53 +2981,53 @@ module PureCloud
|
|
|
2986
2981
|
form_params = {}
|
|
2987
2982
|
|
|
2988
2983
|
# http body (model)
|
|
2989
|
-
post_body =
|
|
2984
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2990
2985
|
|
|
2991
|
-
|
|
2992
2986
|
auth_names = ['PureCloud Auth']
|
|
2993
|
-
data, status_code, headers = @api_client.call_api(:
|
|
2987
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
2994
2988
|
:header_params => header_params,
|
|
2995
2989
|
:query_params => query_params,
|
|
2996
2990
|
:form_params => form_params,
|
|
2997
2991
|
:body => post_body,
|
|
2998
|
-
:auth_names => auth_names
|
|
2999
|
-
:return_type => 'WrapupCode')
|
|
2992
|
+
:auth_names => auth_names)
|
|
3000
2993
|
if @api_client.config.debugging
|
|
3001
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
2994
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_chats_chat_id_participants_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3002
2995
|
end
|
|
3003
2996
|
return data, status_code, headers
|
|
3004
2997
|
end
|
|
3005
2998
|
|
|
3006
|
-
#
|
|
2999
|
+
# Create a new callback for the specified participant on the conversation.
|
|
3007
3000
|
#
|
|
3008
|
-
# @param
|
|
3009
|
-
# @param participant_id
|
|
3001
|
+
# @param conversation_id conversation ID
|
|
3002
|
+
# @param participant_id participant ID
|
|
3010
3003
|
# @param [Hash] opts the optional parameters
|
|
3011
|
-
# @
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3004
|
+
# @option opts [CreateCallbackCommand] :body
|
|
3005
|
+
# @return [nil]
|
|
3006
|
+
def post_conversation_id_participants_participant_id_callbacks(conversation_id, participant_id, opts = {})
|
|
3007
|
+
post_conversation_id_participants_participant_id_callbacks_with_http_info(conversation_id, participant_id, opts)
|
|
3008
|
+
return nil
|
|
3015
3009
|
end
|
|
3016
3010
|
|
|
3017
|
-
#
|
|
3011
|
+
# Create a new callback for the specified participant on the conversation.
|
|
3018
3012
|
#
|
|
3019
|
-
# @param
|
|
3020
|
-
# @param participant_id
|
|
3013
|
+
# @param conversation_id conversation ID
|
|
3014
|
+
# @param participant_id participant ID
|
|
3021
3015
|
# @param [Hash] opts the optional parameters
|
|
3022
|
-
# @
|
|
3023
|
-
|
|
3016
|
+
# @option opts [CreateCallbackCommand] :body
|
|
3017
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3018
|
+
def post_conversation_id_participants_participant_id_callbacks_with_http_info(conversation_id, participant_id, opts = {})
|
|
3024
3019
|
if @api_client.config.debugging
|
|
3025
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
3020
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#post_conversation_id_participants_participant_id_callbacks ..."
|
|
3026
3021
|
end
|
|
3027
3022
|
|
|
3028
|
-
# verify the required parameter '
|
|
3029
|
-
fail "Missing the required parameter '
|
|
3023
|
+
# verify the required parameter 'conversation_id' is set
|
|
3024
|
+
fail "Missing the required parameter 'conversation_id' when calling post_conversation_id_participants_participant_id_callbacks" if conversation_id.nil?
|
|
3030
3025
|
|
|
3031
3026
|
# verify the required parameter 'participant_id' is set
|
|
3032
|
-
fail "Missing the required parameter 'participant_id' when calling
|
|
3027
|
+
fail "Missing the required parameter 'participant_id' when calling post_conversation_id_participants_participant_id_callbacks" if participant_id.nil?
|
|
3033
3028
|
|
|
3034
3029
|
# resource path
|
|
3035
|
-
|
|
3030
|
+
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)
|
|
3036
3031
|
|
|
3037
3032
|
# query parameters
|
|
3038
3033
|
query_params = {}
|
|
@@ -3052,45 +3047,53 @@ module PureCloud
|
|
|
3052
3047
|
form_params = {}
|
|
3053
3048
|
|
|
3054
3049
|
# http body (model)
|
|
3055
|
-
post_body =
|
|
3050
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
3056
3051
|
|
|
3057
|
-
|
|
3058
3052
|
auth_names = ['PureCloud Auth']
|
|
3059
|
-
data, status_code, headers = @api_client.call_api(:
|
|
3053
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
3060
3054
|
:header_params => header_params,
|
|
3061
3055
|
:query_params => query_params,
|
|
3062
3056
|
:form_params => form_params,
|
|
3063
3057
|
:body => post_body,
|
|
3064
|
-
:auth_names => auth_names
|
|
3065
|
-
:return_type => 'WrapupCode')
|
|
3058
|
+
:auth_names => auth_names)
|
|
3066
3059
|
if @api_client.config.debugging
|
|
3067
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
3060
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversation_id_participants_participant_id_callbacks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3068
3061
|
end
|
|
3069
3062
|
return data, status_code, headers
|
|
3070
3063
|
end
|
|
3071
3064
|
|
|
3072
|
-
#
|
|
3065
|
+
# Replace this participant with the specified user and/or address
|
|
3073
3066
|
#
|
|
3067
|
+
# @param conversation_id conversation ID
|
|
3068
|
+
# @param participant_id participant ID
|
|
3074
3069
|
# @param [Hash] opts the optional parameters
|
|
3075
|
-
# @option opts [
|
|
3076
|
-
# @return [
|
|
3077
|
-
def
|
|
3078
|
-
|
|
3079
|
-
return
|
|
3070
|
+
# @option opts [TransferRequest] :body
|
|
3071
|
+
# @return [nil]
|
|
3072
|
+
def post_conversation_id_participants_participant_id_replace(conversation_id, participant_id, opts = {})
|
|
3073
|
+
post_conversation_id_participants_participant_id_replace_with_http_info(conversation_id, participant_id, opts)
|
|
3074
|
+
return nil
|
|
3080
3075
|
end
|
|
3081
3076
|
|
|
3082
|
-
#
|
|
3077
|
+
# Replace this participant with the specified user and/or address
|
|
3083
3078
|
#
|
|
3079
|
+
# @param conversation_id conversation ID
|
|
3080
|
+
# @param participant_id participant ID
|
|
3084
3081
|
# @param [Hash] opts the optional parameters
|
|
3085
|
-
# @option opts [
|
|
3086
|
-
# @return [Array<(
|
|
3087
|
-
def
|
|
3082
|
+
# @option opts [TransferRequest] :body
|
|
3083
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3084
|
+
def post_conversation_id_participants_participant_id_replace_with_http_info(conversation_id, participant_id, opts = {})
|
|
3088
3085
|
if @api_client.config.debugging
|
|
3089
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
3086
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#post_conversation_id_participants_participant_id_replace ..."
|
|
3090
3087
|
end
|
|
3091
3088
|
|
|
3089
|
+
# verify the required parameter 'conversation_id' is set
|
|
3090
|
+
fail "Missing the required parameter 'conversation_id' when calling post_conversation_id_participants_participant_id_replace" if conversation_id.nil?
|
|
3091
|
+
|
|
3092
|
+
# verify the required parameter 'participant_id' is set
|
|
3093
|
+
fail "Missing the required parameter 'participant_id' when calling post_conversation_id_participants_participant_id_replace" if participant_id.nil?
|
|
3094
|
+
|
|
3092
3095
|
# resource path
|
|
3093
|
-
|
|
3096
|
+
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)
|
|
3094
3097
|
|
|
3095
3098
|
# query parameters
|
|
3096
3099
|
query_params = {}
|
|
@@ -3112,46 +3115,41 @@ module PureCloud
|
|
|
3112
3115
|
# http body (model)
|
|
3113
3116
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
3114
3117
|
|
|
3115
|
-
|
|
3116
3118
|
auth_names = ['PureCloud Auth']
|
|
3117
|
-
data, status_code, headers = @api_client.call_api(:POST,
|
|
3119
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
3118
3120
|
:header_params => header_params,
|
|
3119
3121
|
:query_params => query_params,
|
|
3120
3122
|
:form_params => form_params,
|
|
3121
3123
|
:body => post_body,
|
|
3122
|
-
:auth_names => auth_names
|
|
3123
|
-
:return_type => 'FaxSendResponse')
|
|
3124
|
+
:auth_names => auth_names)
|
|
3124
3125
|
if @api_client.config.debugging
|
|
3125
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
3126
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversation_id_participants_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3126
3127
|
end
|
|
3127
3128
|
return data, status_code, headers
|
|
3128
3129
|
end
|
|
3129
3130
|
|
|
3130
|
-
#
|
|
3131
|
+
# Query for conversation aggregates
|
|
3131
3132
|
#
|
|
3132
|
-
# @param conversation_id conversation ID
|
|
3133
3133
|
# @param [Hash] opts the optional parameters
|
|
3134
|
-
# @
|
|
3135
|
-
|
|
3136
|
-
|
|
3134
|
+
# @option opts [AggregationQuery] :body query
|
|
3135
|
+
# @return [AggregateQueryResponse]
|
|
3136
|
+
def post_conversations_aggregates_query(opts = {})
|
|
3137
|
+
data, status_code, headers = post_conversations_aggregates_query_with_http_info(opts)
|
|
3137
3138
|
return data
|
|
3138
3139
|
end
|
|
3139
3140
|
|
|
3140
|
-
#
|
|
3141
|
+
# Query for conversation aggregates
|
|
3141
3142
|
#
|
|
3142
|
-
# @param conversation_id conversation ID
|
|
3143
3143
|
# @param [Hash] opts the optional parameters
|
|
3144
|
-
# @
|
|
3145
|
-
|
|
3144
|
+
# @option opts [AggregationQuery] :body query
|
|
3145
|
+
# @return [Array<(AggregateQueryResponse, Fixnum, Hash)>] AggregateQueryResponse data, response status code and response headers
|
|
3146
|
+
def post_conversations_aggregates_query_with_http_info(opts = {})
|
|
3146
3147
|
if @api_client.config.debugging
|
|
3147
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
3148
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#post_conversations_aggregates_query ..."
|
|
3148
3149
|
end
|
|
3149
3150
|
|
|
3150
|
-
# verify the required parameter 'conversation_id' is set
|
|
3151
|
-
fail "Missing the required parameter 'conversation_id' when calling get_conversation_id" if conversation_id.nil?
|
|
3152
|
-
|
|
3153
3151
|
# resource path
|
|
3154
|
-
|
|
3152
|
+
local_var_path = "/api/v2/analytics/conversations/aggregates/query".sub('{format}','json')
|
|
3155
3153
|
|
|
3156
3154
|
# query parameters
|
|
3157
3155
|
query_params = {}
|
|
@@ -3171,55 +3169,49 @@ module PureCloud
|
|
|
3171
3169
|
form_params = {}
|
|
3172
3170
|
|
|
3173
3171
|
# http body (model)
|
|
3174
|
-
post_body =
|
|
3172
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
3175
3173
|
|
|
3176
|
-
|
|
3177
3174
|
auth_names = ['PureCloud Auth']
|
|
3178
|
-
data, status_code, headers = @api_client.call_api(:
|
|
3175
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
3179
3176
|
:header_params => header_params,
|
|
3180
3177
|
:query_params => query_params,
|
|
3181
3178
|
:form_params => form_params,
|
|
3182
3179
|
:body => post_body,
|
|
3183
3180
|
:auth_names => auth_names,
|
|
3184
|
-
:return_type => '
|
|
3181
|
+
:return_type => 'AggregateQueryResponse')
|
|
3185
3182
|
if @api_client.config.debugging
|
|
3186
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
3183
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_aggregates_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3187
3184
|
end
|
|
3188
3185
|
return data, status_code, headers
|
|
3189
3186
|
end
|
|
3190
3187
|
|
|
3191
|
-
#
|
|
3192
|
-
#
|
|
3193
|
-
# @param conversation_id
|
|
3194
|
-
# @param participant_id participant ID
|
|
3188
|
+
# Index conversation properties
|
|
3189
|
+
#
|
|
3190
|
+
# @param conversation_id conversationId
|
|
3195
3191
|
# @param [Hash] opts the optional parameters
|
|
3196
|
-
# @option opts [
|
|
3197
|
-
# @return [
|
|
3198
|
-
def
|
|
3199
|
-
|
|
3200
|
-
return
|
|
3192
|
+
# @option opts [PropertyIndexRequest] :body request
|
|
3193
|
+
# @return [PropertyIndexRequest]
|
|
3194
|
+
def post_conversations_conversation_id_details_properties(conversation_id, opts = {})
|
|
3195
|
+
data, status_code, headers = post_conversations_conversation_id_details_properties_with_http_info(conversation_id, opts)
|
|
3196
|
+
return data
|
|
3201
3197
|
end
|
|
3202
3198
|
|
|
3203
|
-
#
|
|
3204
|
-
#
|
|
3205
|
-
# @param conversation_id
|
|
3206
|
-
# @param participant_id participant ID
|
|
3199
|
+
# Index conversation properties
|
|
3200
|
+
#
|
|
3201
|
+
# @param conversation_id conversationId
|
|
3207
3202
|
# @param [Hash] opts the optional parameters
|
|
3208
|
-
# @option opts [
|
|
3209
|
-
# @return [Array<(
|
|
3210
|
-
def
|
|
3203
|
+
# @option opts [PropertyIndexRequest] :body request
|
|
3204
|
+
# @return [Array<(PropertyIndexRequest, Fixnum, Hash)>] PropertyIndexRequest data, response status code and response headers
|
|
3205
|
+
def post_conversations_conversation_id_details_properties_with_http_info(conversation_id, opts = {})
|
|
3211
3206
|
if @api_client.config.debugging
|
|
3212
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
3207
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#post_conversations_conversation_id_details_properties ..."
|
|
3213
3208
|
end
|
|
3214
3209
|
|
|
3215
3210
|
# verify the required parameter 'conversation_id' is set
|
|
3216
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
|
3217
|
-
|
|
3218
|
-
# verify the required parameter 'participant_id' is set
|
|
3219
|
-
fail "Missing the required parameter 'participant_id' when calling patch_conversation_id_participants_participant_id" if participant_id.nil?
|
|
3211
|
+
fail "Missing the required parameter 'conversation_id' when calling post_conversations_conversation_id_details_properties" if conversation_id.nil?
|
|
3220
3212
|
|
|
3221
3213
|
# resource path
|
|
3222
|
-
|
|
3214
|
+
local_var_path = "/api/v2/analytics/conversations/{conversationId}/details/properties".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
3223
3215
|
|
|
3224
3216
|
# query parameters
|
|
3225
3217
|
query_params = {}
|
|
@@ -3241,52 +3233,42 @@ module PureCloud
|
|
|
3241
3233
|
# http body (model)
|
|
3242
3234
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
3243
3235
|
|
|
3244
|
-
|
|
3245
3236
|
auth_names = ['PureCloud Auth']
|
|
3246
|
-
data, status_code, headers = @api_client.call_api(:
|
|
3237
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
3247
3238
|
:header_params => header_params,
|
|
3248
3239
|
:query_params => query_params,
|
|
3249
3240
|
:form_params => form_params,
|
|
3250
3241
|
:body => post_body,
|
|
3251
|
-
:auth_names => auth_names
|
|
3242
|
+
:auth_names => auth_names,
|
|
3243
|
+
:return_type => 'PropertyIndexRequest')
|
|
3252
3244
|
if @api_client.config.debugging
|
|
3253
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
3245
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_conversation_id_details_properties\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3254
3246
|
end
|
|
3255
3247
|
return data, status_code, headers
|
|
3256
3248
|
end
|
|
3257
3249
|
|
|
3258
|
-
#
|
|
3250
|
+
# Query for conversation details
|
|
3259
3251
|
#
|
|
3260
|
-
# @param conversation_id conversation ID
|
|
3261
|
-
# @param participant_id participant ID
|
|
3262
3252
|
# @param [Hash] opts the optional parameters
|
|
3263
|
-
# @option opts [
|
|
3264
|
-
# @return [
|
|
3265
|
-
def
|
|
3266
|
-
|
|
3267
|
-
return
|
|
3253
|
+
# @option opts [ConversationQuery] :body query
|
|
3254
|
+
# @return [AnalyticsConversationQueryResponse]
|
|
3255
|
+
def post_conversations_details_query(opts = {})
|
|
3256
|
+
data, status_code, headers = post_conversations_details_query_with_http_info(opts)
|
|
3257
|
+
return data
|
|
3268
3258
|
end
|
|
3269
3259
|
|
|
3270
|
-
#
|
|
3260
|
+
# Query for conversation details
|
|
3271
3261
|
#
|
|
3272
|
-
# @param conversation_id conversation ID
|
|
3273
|
-
# @param participant_id participant ID
|
|
3274
3262
|
# @param [Hash] opts the optional parameters
|
|
3275
|
-
# @option opts [
|
|
3276
|
-
# @return [Array<(
|
|
3277
|
-
def
|
|
3263
|
+
# @option opts [ConversationQuery] :body query
|
|
3264
|
+
# @return [Array<(AnalyticsConversationQueryResponse, Fixnum, Hash)>] AnalyticsConversationQueryResponse data, response status code and response headers
|
|
3265
|
+
def post_conversations_details_query_with_http_info(opts = {})
|
|
3278
3266
|
if @api_client.config.debugging
|
|
3279
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
3267
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#post_conversations_details_query ..."
|
|
3280
3268
|
end
|
|
3281
3269
|
|
|
3282
|
-
# verify the required parameter 'conversation_id' is set
|
|
3283
|
-
fail "Missing the required parameter 'conversation_id' when calling patch_conversation_id_participants_participant_id_attributes" if conversation_id.nil?
|
|
3284
|
-
|
|
3285
|
-
# verify the required parameter 'participant_id' is set
|
|
3286
|
-
fail "Missing the required parameter 'participant_id' when calling patch_conversation_id_participants_participant_id_attributes" if participant_id.nil?
|
|
3287
|
-
|
|
3288
3270
|
# resource path
|
|
3289
|
-
|
|
3271
|
+
local_var_path = "/api/v2/analytics/conversations/details/query".sub('{format}','json')
|
|
3290
3272
|
|
|
3291
3273
|
# query parameters
|
|
3292
3274
|
query_params = {}
|
|
@@ -3308,52 +3290,47 @@ module PureCloud
|
|
|
3308
3290
|
# http body (model)
|
|
3309
3291
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
3310
3292
|
|
|
3311
|
-
|
|
3312
3293
|
auth_names = ['PureCloud Auth']
|
|
3313
|
-
data, status_code, headers = @api_client.call_api(:
|
|
3294
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
3314
3295
|
:header_params => header_params,
|
|
3315
3296
|
:query_params => query_params,
|
|
3316
3297
|
:form_params => form_params,
|
|
3317
3298
|
:body => post_body,
|
|
3318
|
-
:auth_names => auth_names
|
|
3299
|
+
:auth_names => auth_names,
|
|
3300
|
+
:return_type => 'AnalyticsConversationQueryResponse')
|
|
3319
3301
|
if @api_client.config.debugging
|
|
3320
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
3302
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_details_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3321
3303
|
end
|
|
3322
3304
|
return data, status_code, headers
|
|
3323
3305
|
end
|
|
3324
3306
|
|
|
3325
|
-
#
|
|
3307
|
+
# Send an email reply
|
|
3326
3308
|
#
|
|
3327
|
-
# @param
|
|
3328
|
-
# @param participant_id participant ID
|
|
3309
|
+
# @param email_id
|
|
3329
3310
|
# @param [Hash] opts the optional parameters
|
|
3330
|
-
# @option opts [
|
|
3331
|
-
# @return [
|
|
3332
|
-
def
|
|
3333
|
-
|
|
3334
|
-
return
|
|
3311
|
+
# @option opts [EmailMessage] :body Reply
|
|
3312
|
+
# @return [EmailMessage]
|
|
3313
|
+
def post_emails_email_id_messages(email_id, opts = {})
|
|
3314
|
+
data, status_code, headers = post_emails_email_id_messages_with_http_info(email_id, opts)
|
|
3315
|
+
return data
|
|
3335
3316
|
end
|
|
3336
3317
|
|
|
3337
|
-
#
|
|
3318
|
+
# Send an email reply
|
|
3338
3319
|
#
|
|
3339
|
-
# @param
|
|
3340
|
-
# @param participant_id participant ID
|
|
3320
|
+
# @param email_id
|
|
3341
3321
|
# @param [Hash] opts the optional parameters
|
|
3342
|
-
# @option opts [
|
|
3343
|
-
# @return [Array<(
|
|
3344
|
-
def
|
|
3322
|
+
# @option opts [EmailMessage] :body Reply
|
|
3323
|
+
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
|
3324
|
+
def post_emails_email_id_messages_with_http_info(email_id, opts = {})
|
|
3345
3325
|
if @api_client.config.debugging
|
|
3346
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
3326
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#post_emails_email_id_messages ..."
|
|
3347
3327
|
end
|
|
3348
3328
|
|
|
3349
|
-
# verify the required parameter '
|
|
3350
|
-
fail "Missing the required parameter '
|
|
3351
|
-
|
|
3352
|
-
# verify the required parameter 'participant_id' is set
|
|
3353
|
-
fail "Missing the required parameter 'participant_id' when calling post_conversation_id_participants_participant_id_callbacks" if participant_id.nil?
|
|
3329
|
+
# verify the required parameter 'email_id' is set
|
|
3330
|
+
fail "Missing the required parameter 'email_id' when calling post_emails_email_id_messages" if email_id.nil?
|
|
3354
3331
|
|
|
3355
3332
|
# resource path
|
|
3356
|
-
|
|
3333
|
+
local_var_path = "/api/v2/conversations/emails/{emailId}/messages".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
|
|
3357
3334
|
|
|
3358
3335
|
# query parameters
|
|
3359
3336
|
query_params = {}
|
|
@@ -3375,52 +3352,52 @@ module PureCloud
|
|
|
3375
3352
|
# http body (model)
|
|
3376
3353
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
3377
3354
|
|
|
3378
|
-
|
|
3379
3355
|
auth_names = ['PureCloud Auth']
|
|
3380
|
-
data, status_code, headers = @api_client.call_api(:POST,
|
|
3356
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
3381
3357
|
:header_params => header_params,
|
|
3382
3358
|
:query_params => query_params,
|
|
3383
3359
|
:form_params => form_params,
|
|
3384
3360
|
:body => post_body,
|
|
3385
|
-
:auth_names => auth_names
|
|
3361
|
+
:auth_names => auth_names,
|
|
3362
|
+
:return_type => 'EmailMessage')
|
|
3386
3363
|
if @api_client.config.debugging
|
|
3387
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
3364
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_emails_email_id_messages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3388
3365
|
end
|
|
3389
3366
|
return data, status_code, headers
|
|
3390
3367
|
end
|
|
3391
3368
|
|
|
3392
3369
|
# Replace this participant with the specified user and/or address
|
|
3393
3370
|
#
|
|
3394
|
-
# @param
|
|
3395
|
-
# @param participant_id
|
|
3371
|
+
# @param email_id
|
|
3372
|
+
# @param participant_id
|
|
3396
3373
|
# @param [Hash] opts the optional parameters
|
|
3397
3374
|
# @option opts [TransferRequest] :body
|
|
3398
3375
|
# @return [nil]
|
|
3399
|
-
def
|
|
3400
|
-
|
|
3376
|
+
def post_emails_email_id_participants_participant_id_replace(email_id, participant_id, opts = {})
|
|
3377
|
+
post_emails_email_id_participants_participant_id_replace_with_http_info(email_id, participant_id, opts)
|
|
3401
3378
|
return nil
|
|
3402
3379
|
end
|
|
3403
3380
|
|
|
3404
3381
|
# Replace this participant with the specified user and/or address
|
|
3405
3382
|
#
|
|
3406
|
-
# @param
|
|
3407
|
-
# @param participant_id
|
|
3383
|
+
# @param email_id
|
|
3384
|
+
# @param participant_id
|
|
3408
3385
|
# @param [Hash] opts the optional parameters
|
|
3409
3386
|
# @option opts [TransferRequest] :body
|
|
3410
3387
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3411
|
-
def
|
|
3388
|
+
def post_emails_email_id_participants_participant_id_replace_with_http_info(email_id, participant_id, opts = {})
|
|
3412
3389
|
if @api_client.config.debugging
|
|
3413
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
3390
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#post_emails_email_id_participants_participant_id_replace ..."
|
|
3414
3391
|
end
|
|
3415
3392
|
|
|
3416
|
-
# verify the required parameter '
|
|
3417
|
-
fail "Missing the required parameter '
|
|
3393
|
+
# verify the required parameter 'email_id' is set
|
|
3394
|
+
fail "Missing the required parameter 'email_id' when calling post_emails_email_id_participants_participant_id_replace" if email_id.nil?
|
|
3418
3395
|
|
|
3419
3396
|
# verify the required parameter 'participant_id' is set
|
|
3420
|
-
fail "Missing the required parameter 'participant_id' when calling
|
|
3397
|
+
fail "Missing the required parameter 'participant_id' when calling post_emails_email_id_participants_participant_id_replace" if participant_id.nil?
|
|
3421
3398
|
|
|
3422
3399
|
# resource path
|
|
3423
|
-
|
|
3400
|
+
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)
|
|
3424
3401
|
|
|
3425
3402
|
# query parameters
|
|
3426
3403
|
query_params = {}
|
|
@@ -3442,56 +3419,44 @@ module PureCloud
|
|
|
3442
3419
|
# http body (model)
|
|
3443
3420
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
3444
3421
|
|
|
3445
|
-
|
|
3446
3422
|
auth_names = ['PureCloud Auth']
|
|
3447
|
-
data, status_code, headers = @api_client.call_api(:POST,
|
|
3423
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
3448
3424
|
:header_params => header_params,
|
|
3449
3425
|
:query_params => query_params,
|
|
3450
3426
|
:form_params => form_params,
|
|
3451
3427
|
:body => post_body,
|
|
3452
3428
|
:auth_names => auth_names)
|
|
3453
3429
|
if @api_client.config.debugging
|
|
3454
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
3430
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_emails_email_id_participants_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3455
3431
|
end
|
|
3456
3432
|
return data, status_code, headers
|
|
3457
3433
|
end
|
|
3458
3434
|
|
|
3459
|
-
#
|
|
3435
|
+
# Create Fax Conversation
|
|
3460
3436
|
#
|
|
3461
|
-
# @param conversation_id conversation ID
|
|
3462
|
-
# @param participant_id participant ID
|
|
3463
3437
|
# @param [Hash] opts the optional parameters
|
|
3464
|
-
# @option opts [
|
|
3465
|
-
# @return [
|
|
3466
|
-
def
|
|
3467
|
-
data, status_code, headers =
|
|
3438
|
+
# @option opts [FaxSendRequest] :body Fax
|
|
3439
|
+
# @return [FaxSendResponse]
|
|
3440
|
+
def post_faxes(opts = {})
|
|
3441
|
+
data, status_code, headers = post_faxes_with_http_info(opts)
|
|
3468
3442
|
return data
|
|
3469
3443
|
end
|
|
3470
3444
|
|
|
3471
|
-
#
|
|
3445
|
+
# Create Fax Conversation
|
|
3472
3446
|
#
|
|
3473
|
-
# @param conversation_id conversation ID
|
|
3474
|
-
# @param participant_id participant ID
|
|
3475
3447
|
# @param [Hash] opts the optional parameters
|
|
3476
|
-
# @option opts [
|
|
3477
|
-
# @return [Array<(
|
|
3478
|
-
def
|
|
3448
|
+
# @option opts [FaxSendRequest] :body Fax
|
|
3449
|
+
# @return [Array<(FaxSendResponse, Fixnum, Hash)>] FaxSendResponse data, response status code and response headers
|
|
3450
|
+
def post_faxes_with_http_info(opts = {})
|
|
3479
3451
|
if @api_client.config.debugging
|
|
3480
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
3452
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#post_faxes ..."
|
|
3481
3453
|
end
|
|
3482
3454
|
|
|
3483
|
-
# verify the required parameter 'conversation_id' is set
|
|
3484
|
-
fail "Missing the required parameter 'conversation_id' when calling get_conversation_id_participants_participant_id_wrapup" if conversation_id.nil?
|
|
3485
|
-
|
|
3486
|
-
# verify the required parameter 'participant_id' is set
|
|
3487
|
-
fail "Missing the required parameter 'participant_id' when calling get_conversation_id_participants_participant_id_wrapup" if participant_id.nil?
|
|
3488
|
-
|
|
3489
3455
|
# resource path
|
|
3490
|
-
|
|
3456
|
+
local_var_path = "/api/v2/conversations/faxes".sub('{format}','json')
|
|
3491
3457
|
|
|
3492
3458
|
# query parameters
|
|
3493
3459
|
query_params = {}
|
|
3494
|
-
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
|
3495
3460
|
|
|
3496
3461
|
# header parameters
|
|
3497
3462
|
header_params = {}
|
|
@@ -3508,53 +3473,49 @@ module PureCloud
|
|
|
3508
3473
|
form_params = {}
|
|
3509
3474
|
|
|
3510
3475
|
# http body (model)
|
|
3511
|
-
post_body =
|
|
3476
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
3512
3477
|
|
|
3513
|
-
|
|
3514
3478
|
auth_names = ['PureCloud Auth']
|
|
3515
|
-
data, status_code, headers = @api_client.call_api(:
|
|
3479
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
3516
3480
|
:header_params => header_params,
|
|
3517
3481
|
:query_params => query_params,
|
|
3518
3482
|
:form_params => form_params,
|
|
3519
3483
|
:body => post_body,
|
|
3520
3484
|
:auth_names => auth_names,
|
|
3521
|
-
:return_type => '
|
|
3485
|
+
:return_type => 'FaxSendResponse')
|
|
3522
3486
|
if @api_client.config.debugging
|
|
3523
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
3487
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_faxes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3524
3488
|
end
|
|
3525
3489
|
return data, status_code, headers
|
|
3526
3490
|
end
|
|
3527
3491
|
|
|
3528
|
-
#
|
|
3492
|
+
# Update conversation draft reply
|
|
3529
3493
|
#
|
|
3530
|
-
# @param
|
|
3531
|
-
# @param participant_id participant ID
|
|
3494
|
+
# @param email_id
|
|
3532
3495
|
# @param [Hash] opts the optional parameters
|
|
3533
|
-
# @
|
|
3534
|
-
|
|
3535
|
-
|
|
3496
|
+
# @option opts [EmailMessage] :body Draft
|
|
3497
|
+
# @return [EmailMessage]
|
|
3498
|
+
def put_emails_email_id_messages_draft(email_id, opts = {})
|
|
3499
|
+
data, status_code, headers = put_emails_email_id_messages_draft_with_http_info(email_id, opts)
|
|
3536
3500
|
return data
|
|
3537
3501
|
end
|
|
3538
3502
|
|
|
3539
|
-
#
|
|
3503
|
+
# Update conversation draft reply
|
|
3540
3504
|
#
|
|
3541
|
-
# @param
|
|
3542
|
-
# @param participant_id participant ID
|
|
3505
|
+
# @param email_id
|
|
3543
3506
|
# @param [Hash] opts the optional parameters
|
|
3544
|
-
# @
|
|
3545
|
-
|
|
3507
|
+
# @option opts [EmailMessage] :body Draft
|
|
3508
|
+
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
|
3509
|
+
def put_emails_email_id_messages_draft_with_http_info(email_id, opts = {})
|
|
3546
3510
|
if @api_client.config.debugging
|
|
3547
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#
|
|
3511
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#put_emails_email_id_messages_draft ..."
|
|
3548
3512
|
end
|
|
3549
3513
|
|
|
3550
|
-
# verify the required parameter '
|
|
3551
|
-
fail "Missing the required parameter '
|
|
3552
|
-
|
|
3553
|
-
# verify the required parameter 'participant_id' is set
|
|
3554
|
-
fail "Missing the required parameter 'participant_id' when calling get_conversation_id_participants_participant_id_wrapupcodes" if participant_id.nil?
|
|
3514
|
+
# verify the required parameter 'email_id' is set
|
|
3515
|
+
fail "Missing the required parameter 'email_id' when calling put_emails_email_id_messages_draft" if email_id.nil?
|
|
3555
3516
|
|
|
3556
3517
|
# resource path
|
|
3557
|
-
|
|
3518
|
+
local_var_path = "/api/v2/conversations/emails/{emailId}/messages/draft".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
|
|
3558
3519
|
|
|
3559
3520
|
# query parameters
|
|
3560
3521
|
query_params = {}
|
|
@@ -3574,25 +3535,20 @@ module PureCloud
|
|
|
3574
3535
|
form_params = {}
|
|
3575
3536
|
|
|
3576
3537
|
# http body (model)
|
|
3577
|
-
post_body =
|
|
3538
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
3578
3539
|
|
|
3579
|
-
|
|
3580
3540
|
auth_names = ['PureCloud Auth']
|
|
3581
|
-
data, status_code, headers = @api_client.call_api(:
|
|
3541
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
3582
3542
|
:header_params => header_params,
|
|
3583
3543
|
:query_params => query_params,
|
|
3584
3544
|
:form_params => form_params,
|
|
3585
3545
|
:body => post_body,
|
|
3586
3546
|
:auth_names => auth_names,
|
|
3587
|
-
:return_type => '
|
|
3547
|
+
:return_type => 'EmailMessage')
|
|
3588
3548
|
if @api_client.config.debugging
|
|
3589
|
-
@api_client.config.logger.debug "API called: ConversationsApi#
|
|
3549
|
+
@api_client.config.logger.debug "API called: ConversationsApi#put_emails_email_id_messages_draft\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3590
3550
|
end
|
|
3591
3551
|
return data, status_code, headers
|
|
3592
3552
|
end
|
|
3593
3553
|
end
|
|
3594
3554
|
end
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|