purecloud 0.35.1 → 0.36.1
Sign up to get free protection for your applications and to get access to all the features.
- 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
|
@@ -11,8 +27,8 @@ module PureCloud
|
|
11
27
|
# Get encryption key list
|
12
28
|
#
|
13
29
|
# @param [Hash] opts the optional parameters
|
14
|
-
# @option opts [Integer] :page_size Page size
|
15
|
-
# @option opts [Integer] :page_number Page number
|
30
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
31
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
16
32
|
# @return [EncryptionKeyEntityListing]
|
17
33
|
def get_recordingkeys(opts = {})
|
18
34
|
data, status_code, headers = get_recordingkeys_with_http_info(opts)
|
@@ -31,7 +47,7 @@ module PureCloud
|
|
31
47
|
end
|
32
48
|
|
33
49
|
# resource path
|
34
|
-
|
50
|
+
local_var_path = "/api/v2/recording/recordingkeys".sub('{format}','json')
|
35
51
|
|
36
52
|
# query parameters
|
37
53
|
query_params = {}
|
@@ -55,9 +71,8 @@ module PureCloud
|
|
55
71
|
# http body (model)
|
56
72
|
post_body = nil
|
57
73
|
|
58
|
-
|
59
74
|
auth_names = ['PureCloud Auth']
|
60
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
75
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
61
76
|
:header_params => header_params,
|
62
77
|
:query_params => query_params,
|
63
78
|
:form_params => form_params,
|
@@ -70,26 +85,26 @@ module PureCloud
|
|
70
85
|
return data, status_code, headers
|
71
86
|
end
|
72
87
|
|
73
|
-
#
|
88
|
+
# Get key rotation schedule
|
74
89
|
#
|
75
90
|
# @param [Hash] opts the optional parameters
|
76
|
-
# @return [
|
77
|
-
def
|
78
|
-
data, status_code, headers =
|
91
|
+
# @return [KeyRotationSchedule]
|
92
|
+
def get_recordingkeys_rotationschedule(opts = {})
|
93
|
+
data, status_code, headers = get_recordingkeys_rotationschedule_with_http_info(opts)
|
79
94
|
return data
|
80
95
|
end
|
81
96
|
|
82
|
-
#
|
97
|
+
# Get key rotation schedule
|
83
98
|
#
|
84
99
|
# @param [Hash] opts the optional parameters
|
85
|
-
# @return [Array<(
|
86
|
-
def
|
100
|
+
# @return [Array<(KeyRotationSchedule, Fixnum, Hash)>] KeyRotationSchedule data, response status code and response headers
|
101
|
+
def get_recordingkeys_rotationschedule_with_http_info(opts = {})
|
87
102
|
if @api_client.config.debugging
|
88
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
103
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_recordingkeys_rotationschedule ..."
|
89
104
|
end
|
90
105
|
|
91
106
|
# resource path
|
92
|
-
|
107
|
+
local_var_path = "/api/v2/recording/recordingkeys/rotationschedule".sub('{format}','json')
|
93
108
|
|
94
109
|
# query parameters
|
95
110
|
query_params = {}
|
@@ -111,41 +126,40 @@ module PureCloud
|
|
111
126
|
# http body (model)
|
112
127
|
post_body = nil
|
113
128
|
|
114
|
-
|
115
129
|
auth_names = ['PureCloud Auth']
|
116
|
-
data, status_code, headers = @api_client.call_api(:
|
130
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
117
131
|
:header_params => header_params,
|
118
132
|
:query_params => query_params,
|
119
133
|
:form_params => form_params,
|
120
134
|
:body => post_body,
|
121
135
|
:auth_names => auth_names,
|
122
|
-
:return_type => '
|
136
|
+
:return_type => 'KeyRotationSchedule')
|
123
137
|
if @api_client.config.debugging
|
124
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
138
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_recordingkeys_rotationschedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
125
139
|
end
|
126
140
|
return data, status_code, headers
|
127
141
|
end
|
128
142
|
|
129
|
-
#
|
143
|
+
# Create encryption key
|
130
144
|
#
|
131
145
|
# @param [Hash] opts the optional parameters
|
132
|
-
# @return [
|
133
|
-
def
|
134
|
-
data, status_code, headers =
|
146
|
+
# @return [EncryptionKey]
|
147
|
+
def post_recordingkeys(opts = {})
|
148
|
+
data, status_code, headers = post_recordingkeys_with_http_info(opts)
|
135
149
|
return data
|
136
150
|
end
|
137
151
|
|
138
|
-
#
|
152
|
+
# Create encryption key
|
139
153
|
#
|
140
154
|
# @param [Hash] opts the optional parameters
|
141
|
-
# @return [Array<(
|
142
|
-
def
|
155
|
+
# @return [Array<(EncryptionKey, Fixnum, Hash)>] EncryptionKey data, response status code and response headers
|
156
|
+
def post_recordingkeys_with_http_info(opts = {})
|
143
157
|
if @api_client.config.debugging
|
144
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
158
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_recordingkeys ..."
|
145
159
|
end
|
146
160
|
|
147
161
|
# resource path
|
148
|
-
|
162
|
+
local_var_path = "/api/v2/recording/recordingkeys".sub('{format}','json')
|
149
163
|
|
150
164
|
# query parameters
|
151
165
|
query_params = {}
|
@@ -167,17 +181,16 @@ module PureCloud
|
|
167
181
|
# http body (model)
|
168
182
|
post_body = nil
|
169
183
|
|
170
|
-
|
171
184
|
auth_names = ['PureCloud Auth']
|
172
|
-
data, status_code, headers = @api_client.call_api(:
|
185
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
173
186
|
:header_params => header_params,
|
174
187
|
:query_params => query_params,
|
175
188
|
:form_params => form_params,
|
176
189
|
:body => post_body,
|
177
190
|
:auth_names => auth_names,
|
178
|
-
:return_type => '
|
191
|
+
:return_type => 'EncryptionKey')
|
179
192
|
if @api_client.config.debugging
|
180
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
193
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_recordingkeys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
181
194
|
end
|
182
195
|
return data, status_code, headers
|
183
196
|
end
|
@@ -203,7 +216,7 @@ module PureCloud
|
|
203
216
|
end
|
204
217
|
|
205
218
|
# resource path
|
206
|
-
|
219
|
+
local_var_path = "/api/v2/recording/recordingkeys/rotationschedule".sub('{format}','json')
|
207
220
|
|
208
221
|
# query parameters
|
209
222
|
query_params = {}
|
@@ -225,9 +238,8 @@ module PureCloud
|
|
225
238
|
# http body (model)
|
226
239
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
227
240
|
|
228
|
-
|
229
241
|
auth_names = ['PureCloud Auth']
|
230
|
-
data, status_code, headers = @api_client.call_api(:PUT,
|
242
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
231
243
|
:header_params => header_params,
|
232
244
|
:query_params => query_params,
|
233
245
|
:form_params => form_params,
|
@@ -241,7 +253,3 @@ module PureCloud
|
|
241
253
|
end
|
242
254
|
end
|
243
255
|
end
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
@@ -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,34 +24,37 @@ module PureCloud
|
|
8
24
|
@api_client = api_client
|
9
25
|
end
|
10
26
|
|
11
|
-
#
|
27
|
+
# Delete a document.
|
12
28
|
#
|
13
|
-
# @param
|
29
|
+
# @param document_id Document ID
|
14
30
|
# @param [Hash] opts the optional parameters
|
15
|
-
# @
|
16
|
-
|
17
|
-
|
18
|
-
|
31
|
+
# @option opts [BOOLEAN] :override Override any lock on the document
|
32
|
+
# @return [nil]
|
33
|
+
def delete_documents_document_id(document_id, opts = {})
|
34
|
+
delete_documents_document_id_with_http_info(document_id, opts)
|
35
|
+
return nil
|
19
36
|
end
|
20
37
|
|
21
|
-
#
|
38
|
+
# Delete a document.
|
22
39
|
#
|
23
|
-
# @param
|
40
|
+
# @param document_id Document ID
|
24
41
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @
|
26
|
-
|
42
|
+
# @option opts [BOOLEAN] :override Override any lock on the document
|
43
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
44
|
+
def delete_documents_document_id_with_http_info(document_id, opts = {})
|
27
45
|
if @api_client.config.debugging
|
28
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
46
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#delete_documents_document_id ..."
|
29
47
|
end
|
30
48
|
|
31
|
-
# verify the required parameter '
|
32
|
-
fail "Missing the required parameter '
|
49
|
+
# verify the required parameter 'document_id' is set
|
50
|
+
fail "Missing the required parameter 'document_id' when calling delete_documents_document_id" if document_id.nil?
|
33
51
|
|
34
52
|
# resource path
|
35
|
-
|
53
|
+
local_var_path = "/api/v2/contentmanagement/documents/{documentId}".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
|
36
54
|
|
37
55
|
# query parameters
|
38
56
|
query_params = {}
|
57
|
+
query_params[:'override'] = opts[:'override'] if opts[:'override']
|
39
58
|
|
40
59
|
# header parameters
|
41
60
|
header_params = {}
|
@@ -52,74 +71,108 @@ module PureCloud
|
|
52
71
|
form_params = {}
|
53
72
|
|
54
73
|
# http body (model)
|
55
|
-
post_body =
|
74
|
+
post_body = nil
|
56
75
|
|
76
|
+
auth_names = ['PureCloud Auth']
|
77
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
78
|
+
:header_params => header_params,
|
79
|
+
:query_params => query_params,
|
80
|
+
:form_params => form_params,
|
81
|
+
:body => post_body,
|
82
|
+
:auth_names => auth_names)
|
83
|
+
if @api_client.config.debugging
|
84
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#delete_documents_document_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
85
|
+
end
|
86
|
+
return data, status_code, headers
|
87
|
+
end
|
88
|
+
|
89
|
+
# Deletes an existing share.
|
90
|
+
# This revokes sharing rights specified in the share record
|
91
|
+
# @param share_id Share ID
|
92
|
+
# @param [Hash] opts the optional parameters
|
93
|
+
# @return [nil]
|
94
|
+
def delete_shares_share_id(share_id, opts = {})
|
95
|
+
delete_shares_share_id_with_http_info(share_id, opts)
|
96
|
+
return nil
|
97
|
+
end
|
98
|
+
|
99
|
+
# Deletes an existing share.
|
100
|
+
# This revokes sharing rights specified in the share record
|
101
|
+
# @param share_id Share ID
|
102
|
+
# @param [Hash] opts the optional parameters
|
103
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
104
|
+
def delete_shares_share_id_with_http_info(share_id, opts = {})
|
105
|
+
if @api_client.config.debugging
|
106
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#delete_shares_share_id ..."
|
107
|
+
end
|
108
|
+
|
109
|
+
# verify the required parameter 'share_id' is set
|
110
|
+
fail "Missing the required parameter 'share_id' when calling delete_shares_share_id" if share_id.nil?
|
111
|
+
|
112
|
+
# resource path
|
113
|
+
local_var_path = "/api/v2/contentmanagement/shares/{shareId}".sub('{format}','json').sub('{' + 'shareId' + '}', share_id.to_s)
|
114
|
+
|
115
|
+
# query parameters
|
116
|
+
query_params = {}
|
117
|
+
|
118
|
+
# header parameters
|
119
|
+
header_params = {}
|
120
|
+
|
121
|
+
# HTTP header 'Accept' (if needed)
|
122
|
+
_header_accept = ['application/json']
|
123
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
57
124
|
|
125
|
+
# HTTP header 'Content-Type'
|
126
|
+
_header_content_type = ['application/json']
|
127
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
128
|
+
|
129
|
+
# form parameters
|
130
|
+
form_params = {}
|
131
|
+
|
132
|
+
# http body (model)
|
133
|
+
post_body = nil
|
134
|
+
|
58
135
|
auth_names = ['PureCloud Auth']
|
59
|
-
data, status_code, headers = @api_client.call_api(:
|
136
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
60
137
|
:header_params => header_params,
|
61
138
|
:query_params => query_params,
|
62
139
|
:form_params => form_params,
|
63
140
|
:body => post_body,
|
64
|
-
:auth_names => auth_names
|
65
|
-
:return_type => 'QueryResults')
|
141
|
+
:auth_names => auth_names)
|
66
142
|
if @api_client.config.debugging
|
67
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
143
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#delete_shares_share_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
68
144
|
end
|
69
145
|
return data, status_code, headers
|
70
146
|
end
|
71
147
|
|
72
|
-
#
|
148
|
+
# Cancel the command for this status
|
73
149
|
#
|
74
|
-
# @param
|
150
|
+
# @param status_id Status ID
|
75
151
|
# @param [Hash] opts the optional parameters
|
76
|
-
# @
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
# @option opts [String] :sort_by name or dateCreated
|
81
|
-
# @option opts [String] :sort_order ascending or descending
|
82
|
-
# @return [DocumentEntityListing]
|
83
|
-
def get_documents(workspace_id, opts = {})
|
84
|
-
data, status_code, headers = get_documents_with_http_info(workspace_id, opts)
|
85
|
-
return data
|
152
|
+
# @return [nil]
|
153
|
+
def delete_status_status_id(status_id, opts = {})
|
154
|
+
delete_status_status_id_with_http_info(status_id, opts)
|
155
|
+
return nil
|
86
156
|
end
|
87
157
|
|
88
|
-
#
|
158
|
+
# Cancel the command for this status
|
89
159
|
#
|
90
|
-
# @param
|
160
|
+
# @param status_id Status ID
|
91
161
|
# @param [Hash] opts the optional parameters
|
92
|
-
# @
|
93
|
-
|
94
|
-
# @option opts [Integer] :page_size Page size
|
95
|
-
# @option opts [Integer] :page_number Page number
|
96
|
-
# @option opts [String] :sort_by name or dateCreated
|
97
|
-
# @option opts [String] :sort_order ascending or descending
|
98
|
-
# @return [Array<(DocumentEntityListing, Fixnum, Hash)>] DocumentEntityListing data, response status code and response headers
|
99
|
-
def get_documents_with_http_info(workspace_id, opts = {})
|
162
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
163
|
+
def delete_status_status_id_with_http_info(status_id, opts = {})
|
100
164
|
if @api_client.config.debugging
|
101
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
165
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#delete_status_status_id ..."
|
102
166
|
end
|
103
167
|
|
104
|
-
# verify the required parameter '
|
105
|
-
fail "Missing the required parameter '
|
106
|
-
|
107
|
-
if opts[:'expand'] && !['acl', 'workspace'].include?(opts[:'expand'])
|
108
|
-
fail 'invalid value for "expand", must be one of acl, workspace'
|
109
|
-
end
|
168
|
+
# verify the required parameter 'status_id' is set
|
169
|
+
fail "Missing the required parameter 'status_id' when calling delete_status_status_id" if status_id.nil?
|
110
170
|
|
111
171
|
# resource path
|
112
|
-
|
172
|
+
local_var_path = "/api/v2/contentmanagement/status/{statusId}".sub('{format}','json').sub('{' + 'statusId' + '}', status_id.to_s)
|
113
173
|
|
114
174
|
# query parameters
|
115
175
|
query_params = {}
|
116
|
-
query_params[:'workspaceId'] = workspace_id
|
117
|
-
query_params[:'name'] = opts[:'name'] if opts[:'name']
|
118
|
-
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
119
|
-
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
120
|
-
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
121
|
-
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
|
122
|
-
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
123
176
|
|
124
177
|
# header parameters
|
125
178
|
header_params = {}
|
@@ -138,55 +191,50 @@ module PureCloud
|
|
138
191
|
# http body (model)
|
139
192
|
post_body = nil
|
140
193
|
|
141
|
-
|
142
194
|
auth_names = ['PureCloud Auth']
|
143
|
-
data, status_code, headers = @api_client.call_api(:
|
195
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
144
196
|
:header_params => header_params,
|
145
197
|
:query_params => query_params,
|
146
198
|
:form_params => form_params,
|
147
199
|
:body => post_body,
|
148
|
-
:auth_names => auth_names
|
149
|
-
:return_type => 'DocumentEntityListing')
|
200
|
+
:auth_names => auth_names)
|
150
201
|
if @api_client.config.debugging
|
151
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
202
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#delete_status_status_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
152
203
|
end
|
153
204
|
return data, status_code, headers
|
154
205
|
end
|
155
206
|
|
156
|
-
#
|
207
|
+
# Delete a workspace
|
157
208
|
#
|
209
|
+
# @param workspace_id Workspace ID
|
158
210
|
# @param [Hash] opts the optional parameters
|
159
|
-
# @option opts [
|
160
|
-
# @
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
def post_documents(opts = {})
|
165
|
-
data, status_code, headers = post_documents_with_http_info(opts)
|
166
|
-
return data
|
211
|
+
# @option opts [String] :move_children_to_workspace_id New location for objects in deleted workspace.
|
212
|
+
# @return [nil]
|
213
|
+
def delete_workspaces_workspace_id(workspace_id, opts = {})
|
214
|
+
delete_workspaces_workspace_id_with_http_info(workspace_id, opts)
|
215
|
+
return nil
|
167
216
|
end
|
168
217
|
|
169
|
-
#
|
218
|
+
# Delete a workspace
|
170
219
|
#
|
220
|
+
# @param workspace_id Workspace ID
|
171
221
|
# @param [Hash] opts the optional parameters
|
172
|
-
# @option opts [
|
173
|
-
# @
|
174
|
-
|
175
|
-
# @option opts [BOOLEAN] :override Override any lock on the source document
|
176
|
-
# @return [Array<(Document, Fixnum, Hash)>] Document data, response status code and response headers
|
177
|
-
def post_documents_with_http_info(opts = {})
|
222
|
+
# @option opts [String] :move_children_to_workspace_id New location for objects in deleted workspace.
|
223
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
224
|
+
def delete_workspaces_workspace_id_with_http_info(workspace_id, opts = {})
|
178
225
|
if @api_client.config.debugging
|
179
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
226
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#delete_workspaces_workspace_id ..."
|
180
227
|
end
|
181
228
|
|
229
|
+
# verify the required parameter 'workspace_id' is set
|
230
|
+
fail "Missing the required parameter 'workspace_id' when calling delete_workspaces_workspace_id" if workspace_id.nil?
|
231
|
+
|
182
232
|
# resource path
|
183
|
-
|
233
|
+
local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
|
184
234
|
|
185
235
|
# query parameters
|
186
236
|
query_params = {}
|
187
|
-
query_params[:'
|
188
|
-
query_params[:'moveSource'] = opts[:'move_source'] if opts[:'move_source']
|
189
|
-
query_params[:'override'] = opts[:'override'] if opts[:'override']
|
237
|
+
query_params[:'moveChildrenToWorkspaceId'] = opts[:'move_children_to_workspace_id'] if opts[:'move_children_to_workspace_id']
|
190
238
|
|
191
239
|
# header parameters
|
192
240
|
header_params = {}
|
@@ -203,58 +251,54 @@ module PureCloud
|
|
203
251
|
form_params = {}
|
204
252
|
|
205
253
|
# http body (model)
|
206
|
-
post_body =
|
254
|
+
post_body = nil
|
207
255
|
|
208
|
-
|
209
256
|
auth_names = ['PureCloud Auth']
|
210
|
-
data, status_code, headers = @api_client.call_api(:
|
257
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
211
258
|
:header_params => header_params,
|
212
259
|
:query_params => query_params,
|
213
260
|
:form_params => form_params,
|
214
261
|
:body => post_body,
|
215
|
-
:auth_names => auth_names
|
216
|
-
:return_type => 'Document')
|
262
|
+
:auth_names => auth_names)
|
217
263
|
if @api_client.config.debugging
|
218
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
264
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#delete_workspaces_workspace_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
219
265
|
end
|
220
266
|
return data, status_code, headers
|
221
267
|
end
|
222
268
|
|
223
|
-
#
|
269
|
+
# Delete a member from a workspace
|
224
270
|
#
|
225
|
-
# @param
|
271
|
+
# @param workspace_id Workspace ID
|
272
|
+
# @param member_id Member ID
|
226
273
|
# @param [Hash] opts the optional parameters
|
227
|
-
# @
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
return data
|
274
|
+
# @return [nil]
|
275
|
+
def delete_workspaces_workspace_id_members_member_id(workspace_id, member_id, opts = {})
|
276
|
+
delete_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts)
|
277
|
+
return nil
|
232
278
|
end
|
233
279
|
|
234
|
-
#
|
280
|
+
# Delete a member from a workspace
|
235
281
|
#
|
236
|
-
# @param
|
282
|
+
# @param workspace_id Workspace ID
|
283
|
+
# @param member_id Member ID
|
237
284
|
# @param [Hash] opts the optional parameters
|
238
|
-
# @
|
239
|
-
|
240
|
-
def get_documents_document_id_with_http_info(document_id, opts = {})
|
285
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
286
|
+
def delete_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts = {})
|
241
287
|
if @api_client.config.debugging
|
242
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
288
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#delete_workspaces_workspace_id_members_member_id ..."
|
243
289
|
end
|
244
290
|
|
245
|
-
# verify the required parameter '
|
246
|
-
fail "Missing the required parameter '
|
291
|
+
# verify the required parameter 'workspace_id' is set
|
292
|
+
fail "Missing the required parameter 'workspace_id' when calling delete_workspaces_workspace_id_members_member_id" if workspace_id.nil?
|
247
293
|
|
248
|
-
|
249
|
-
|
250
|
-
end
|
294
|
+
# verify the required parameter 'member_id' is set
|
295
|
+
fail "Missing the required parameter 'member_id' when calling delete_workspaces_workspace_id_members_member_id" if member_id.nil?
|
251
296
|
|
252
297
|
# resource path
|
253
|
-
|
298
|
+
local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/members/{memberId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
|
254
299
|
|
255
300
|
# query parameters
|
256
301
|
query_params = {}
|
257
|
-
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
258
302
|
|
259
303
|
# header parameters
|
260
304
|
header_params = {}
|
@@ -273,61 +317,134 @@ module PureCloud
|
|
273
317
|
# http body (model)
|
274
318
|
post_body = nil
|
275
319
|
|
320
|
+
auth_names = ['PureCloud Auth']
|
321
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
322
|
+
:header_params => header_params,
|
323
|
+
:query_params => query_params,
|
324
|
+
:form_params => form_params,
|
325
|
+
:body => post_body,
|
326
|
+
:auth_names => auth_names)
|
327
|
+
if @api_client.config.debugging
|
328
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#delete_workspaces_workspace_id_members_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
329
|
+
end
|
330
|
+
return data, status_code, headers
|
331
|
+
end
|
332
|
+
|
333
|
+
# Delete workspace tag
|
334
|
+
# Delete a tag from a workspace. Will remove this tag from all documents.
|
335
|
+
# @param workspace_id Workspace ID
|
336
|
+
# @param tag_id Tag ID
|
337
|
+
# @param [Hash] opts the optional parameters
|
338
|
+
# @return [nil]
|
339
|
+
def delete_workspaces_workspace_id_tagvalues_tag_id(workspace_id, tag_id, opts = {})
|
340
|
+
delete_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts)
|
341
|
+
return nil
|
342
|
+
end
|
343
|
+
|
344
|
+
# Delete workspace tag
|
345
|
+
# Delete a tag from a workspace. Will remove this tag from all documents.
|
346
|
+
# @param workspace_id Workspace ID
|
347
|
+
# @param tag_id Tag ID
|
348
|
+
# @param [Hash] opts the optional parameters
|
349
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
350
|
+
def delete_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts = {})
|
351
|
+
if @api_client.config.debugging
|
352
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#delete_workspaces_workspace_id_tagvalues_tag_id ..."
|
353
|
+
end
|
354
|
+
|
355
|
+
# verify the required parameter 'workspace_id' is set
|
356
|
+
fail "Missing the required parameter 'workspace_id' when calling delete_workspaces_workspace_id_tagvalues_tag_id" if workspace_id.nil?
|
357
|
+
|
358
|
+
# verify the required parameter 'tag_id' is set
|
359
|
+
fail "Missing the required parameter 'tag_id' when calling delete_workspaces_workspace_id_tagvalues_tag_id" if tag_id.nil?
|
360
|
+
|
361
|
+
# resource path
|
362
|
+
local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'tagId' + '}', tag_id.to_s)
|
363
|
+
|
364
|
+
# query parameters
|
365
|
+
query_params = {}
|
366
|
+
|
367
|
+
# header parameters
|
368
|
+
header_params = {}
|
276
369
|
|
370
|
+
# HTTP header 'Accept' (if needed)
|
371
|
+
_header_accept = ['application/json']
|
372
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
373
|
+
|
374
|
+
# HTTP header 'Content-Type'
|
375
|
+
_header_content_type = ['application/json']
|
376
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
377
|
+
|
378
|
+
# form parameters
|
379
|
+
form_params = {}
|
380
|
+
|
381
|
+
# http body (model)
|
382
|
+
post_body = nil
|
383
|
+
|
277
384
|
auth_names = ['PureCloud Auth']
|
278
|
-
data, status_code, headers = @api_client.call_api(:
|
385
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
279
386
|
:header_params => header_params,
|
280
387
|
:query_params => query_params,
|
281
388
|
:form_params => form_params,
|
282
389
|
:body => post_body,
|
283
|
-
:auth_names => auth_names
|
284
|
-
:return_type => 'Document')
|
390
|
+
:auth_names => auth_names)
|
285
391
|
if @api_client.config.debugging
|
286
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
392
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#delete_workspaces_workspace_id_tagvalues_tag_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
287
393
|
end
|
288
394
|
return data, status_code, headers
|
289
395
|
end
|
290
396
|
|
291
|
-
#
|
397
|
+
# Get a list of documents.
|
292
398
|
#
|
293
|
-
# @param
|
399
|
+
# @param workspace_id Workspace ID
|
294
400
|
# @param [Hash] opts the optional parameters
|
295
|
-
# @option opts [
|
401
|
+
# @option opts [String] :name Name
|
296
402
|
# @option opts [String] :expand Expand some document fields
|
297
|
-
# @option opts [
|
298
|
-
# @
|
299
|
-
|
300
|
-
|
403
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
404
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
405
|
+
# @option opts [String] :sort_by name or dateCreated
|
406
|
+
# @option opts [String] :sort_order ascending or descending (default to ascending)
|
407
|
+
# @return [DocumentEntityListing]
|
408
|
+
def get_documents(workspace_id, opts = {})
|
409
|
+
data, status_code, headers = get_documents_with_http_info(workspace_id, opts)
|
301
410
|
return data
|
302
411
|
end
|
303
412
|
|
304
|
-
#
|
413
|
+
# Get a list of documents.
|
305
414
|
#
|
306
|
-
# @param
|
415
|
+
# @param workspace_id Workspace ID
|
307
416
|
# @param [Hash] opts the optional parameters
|
308
|
-
# @option opts [
|
417
|
+
# @option opts [String] :name Name
|
309
418
|
# @option opts [String] :expand Expand some document fields
|
310
|
-
# @option opts [
|
311
|
-
# @
|
312
|
-
|
419
|
+
# @option opts [Integer] :page_size Page size
|
420
|
+
# @option opts [Integer] :page_number Page number
|
421
|
+
# @option opts [String] :sort_by name or dateCreated
|
422
|
+
# @option opts [String] :sort_order ascending or descending
|
423
|
+
# @return [Array<(DocumentEntityListing, Fixnum, Hash)>] DocumentEntityListing data, response status code and response headers
|
424
|
+
def get_documents_with_http_info(workspace_id, opts = {})
|
313
425
|
if @api_client.config.debugging
|
314
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
426
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#get_documents ..."
|
315
427
|
end
|
316
428
|
|
317
|
-
# verify the required parameter '
|
318
|
-
fail "Missing the required parameter '
|
429
|
+
# verify the required parameter 'workspace_id' is set
|
430
|
+
fail "Missing the required parameter 'workspace_id' when calling get_documents" if workspace_id.nil?
|
319
431
|
|
320
|
-
if opts[:'expand'] && !['acl'].include?(opts[:'expand'])
|
321
|
-
fail 'invalid value for "expand", must be one of acl'
|
432
|
+
if opts[:'expand'] && !['acl', 'workspace'].include?(opts[:'expand'])
|
433
|
+
fail 'invalid value for "expand", must be one of acl, workspace'
|
322
434
|
end
|
323
435
|
|
324
436
|
# resource path
|
325
|
-
|
437
|
+
local_var_path = "/api/v2/contentmanagement/documents".sub('{format}','json')
|
326
438
|
|
327
439
|
# query parameters
|
328
440
|
query_params = {}
|
441
|
+
query_params[:'workspaceId'] = workspace_id
|
442
|
+
query_params[:'name'] = opts[:'name'] if opts[:'name']
|
329
443
|
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
330
|
-
query_params[:'
|
444
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
445
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
446
|
+
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
|
447
|
+
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
331
448
|
|
332
449
|
# header parameters
|
333
450
|
header_params = {}
|
@@ -344,54 +461,57 @@ module PureCloud
|
|
344
461
|
form_params = {}
|
345
462
|
|
346
463
|
# http body (model)
|
347
|
-
post_body =
|
464
|
+
post_body = nil
|
348
465
|
|
349
|
-
|
350
466
|
auth_names = ['PureCloud Auth']
|
351
|
-
data, status_code, headers = @api_client.call_api(:
|
467
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
352
468
|
:header_params => header_params,
|
353
469
|
:query_params => query_params,
|
354
470
|
:form_params => form_params,
|
355
471
|
:body => post_body,
|
356
472
|
:auth_names => auth_names,
|
357
|
-
:return_type => '
|
473
|
+
:return_type => 'DocumentEntityListing')
|
358
474
|
if @api_client.config.debugging
|
359
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
475
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#get_documents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
360
476
|
end
|
361
477
|
return data, status_code, headers
|
362
478
|
end
|
363
479
|
|
364
|
-
#
|
480
|
+
# Get a document.
|
365
481
|
#
|
366
482
|
# @param document_id Document ID
|
367
483
|
# @param [Hash] opts the optional parameters
|
368
|
-
# @option opts [
|
369
|
-
# @return [
|
370
|
-
def
|
371
|
-
|
372
|
-
return
|
484
|
+
# @option opts [String] :expand Expand some document fields
|
485
|
+
# @return [Document]
|
486
|
+
def get_documents_document_id(document_id, opts = {})
|
487
|
+
data, status_code, headers = get_documents_document_id_with_http_info(document_id, opts)
|
488
|
+
return data
|
373
489
|
end
|
374
490
|
|
375
|
-
#
|
491
|
+
# Get a document.
|
376
492
|
#
|
377
493
|
# @param document_id Document ID
|
378
494
|
# @param [Hash] opts the optional parameters
|
379
|
-
# @option opts [
|
380
|
-
# @return [Array<(
|
381
|
-
def
|
495
|
+
# @option opts [String] :expand Expand some document fields
|
496
|
+
# @return [Array<(Document, Fixnum, Hash)>] Document data, response status code and response headers
|
497
|
+
def get_documents_document_id_with_http_info(document_id, opts = {})
|
382
498
|
if @api_client.config.debugging
|
383
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
499
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#get_documents_document_id ..."
|
384
500
|
end
|
385
501
|
|
386
502
|
# verify the required parameter 'document_id' is set
|
387
|
-
fail "Missing the required parameter 'document_id' when calling
|
503
|
+
fail "Missing the required parameter 'document_id' when calling get_documents_document_id" if document_id.nil?
|
504
|
+
|
505
|
+
if opts[:'expand'] && !['lockInfo', 'acl', 'workspace'].include?(opts[:'expand'])
|
506
|
+
fail 'invalid value for "expand", must be one of lockInfo, acl, workspace'
|
507
|
+
end
|
388
508
|
|
389
509
|
# resource path
|
390
|
-
|
510
|
+
local_var_path = "/api/v2/contentmanagement/documents/{documentId}".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
|
391
511
|
|
392
512
|
# query parameters
|
393
513
|
query_params = {}
|
394
|
-
query_params[:'
|
514
|
+
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
395
515
|
|
396
516
|
# header parameters
|
397
517
|
header_params = {}
|
@@ -410,16 +530,16 @@ module PureCloud
|
|
410
530
|
# http body (model)
|
411
531
|
post_body = nil
|
412
532
|
|
413
|
-
|
414
533
|
auth_names = ['PureCloud Auth']
|
415
|
-
data, status_code, headers = @api_client.call_api(:
|
534
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
416
535
|
:header_params => header_params,
|
417
536
|
:query_params => query_params,
|
418
537
|
:form_params => form_params,
|
419
538
|
:body => post_body,
|
420
|
-
:auth_names => auth_names
|
539
|
+
:auth_names => auth_names,
|
540
|
+
:return_type => 'Document')
|
421
541
|
if @api_client.config.debugging
|
422
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
542
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#get_documents_document_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
423
543
|
end
|
424
544
|
return data, status_code, headers
|
425
545
|
end
|
@@ -428,12 +548,12 @@ module PureCloud
|
|
428
548
|
#
|
429
549
|
# @param document_id Document ID
|
430
550
|
# @param [Hash] opts the optional parameters
|
431
|
-
# @option opts [Integer] :page_size Page size
|
432
|
-
# @option opts [Integer] :page_number Page number
|
551
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
552
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
433
553
|
# @option opts [String] :transaction_filter Transaction filter
|
434
|
-
# @option opts [String] :level level
|
554
|
+
# @option opts [String] :level level (default to USER)
|
435
555
|
# @option opts [String] :sort_by Sort by
|
436
|
-
# @option opts [String] :sort_order Sort order
|
556
|
+
# @option opts [String] :sort_order Sort order (default to ascending)
|
437
557
|
# @return [DocumentAuditEntityListing]
|
438
558
|
def get_documents_document_id_audits(document_id, opts = {})
|
439
559
|
data, status_code, headers = get_documents_document_id_audits_with_http_info(document_id, opts)
|
@@ -460,7 +580,7 @@ module PureCloud
|
|
460
580
|
fail "Missing the required parameter 'document_id' when calling get_documents_document_id_audits" if document_id.nil?
|
461
581
|
|
462
582
|
# resource path
|
463
|
-
|
583
|
+
local_var_path = "/api/v2/contentmanagement/documents/{documentId}/audits".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
|
464
584
|
|
465
585
|
# query parameters
|
466
586
|
query_params = {}
|
@@ -488,9 +608,8 @@ module PureCloud
|
|
488
608
|
# http body (model)
|
489
609
|
post_body = nil
|
490
610
|
|
491
|
-
|
492
611
|
auth_names = ['PureCloud Auth']
|
493
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
612
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
494
613
|
:header_params => header_params,
|
495
614
|
:query_params => query_params,
|
496
615
|
:form_params => form_params,
|
@@ -535,7 +654,7 @@ module PureCloud
|
|
535
654
|
end
|
536
655
|
|
537
656
|
# resource path
|
538
|
-
|
657
|
+
local_var_path = "/api/v2/contentmanagement/documents/{documentId}/content".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
|
539
658
|
|
540
659
|
# query parameters
|
541
660
|
query_params = {}
|
@@ -559,9 +678,8 @@ module PureCloud
|
|
559
678
|
# http body (model)
|
560
679
|
post_body = nil
|
561
680
|
|
562
|
-
|
563
681
|
auth_names = ['PureCloud Auth']
|
564
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
682
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
565
683
|
:header_params => header_params,
|
566
684
|
:query_params => query_params,
|
567
685
|
:form_params => form_params,
|
@@ -573,80 +691,14 @@ module PureCloud
|
|
573
691
|
return data, status_code, headers
|
574
692
|
end
|
575
693
|
|
576
|
-
# Replace the contents of a document.
|
577
|
-
#
|
578
|
-
# @param document_id Document ID
|
579
|
-
# @param [Hash] opts the optional parameters
|
580
|
-
# @option opts [ReplaceRequest] :body Replace Request
|
581
|
-
# @option opts [BOOLEAN] :override Override any lock on the document
|
582
|
-
# @return [ReplaceResponse]
|
583
|
-
def post_documents_document_id_content(document_id, opts = {})
|
584
|
-
data, status_code, headers = post_documents_document_id_content_with_http_info(document_id, opts)
|
585
|
-
return data
|
586
|
-
end
|
587
|
-
|
588
|
-
# Replace the contents of a document.
|
589
|
-
#
|
590
|
-
# @param document_id Document ID
|
591
|
-
# @param [Hash] opts the optional parameters
|
592
|
-
# @option opts [ReplaceRequest] :body Replace Request
|
593
|
-
# @option opts [BOOLEAN] :override Override any lock on the document
|
594
|
-
# @return [Array<(ReplaceResponse, Fixnum, Hash)>] ReplaceResponse data, response status code and response headers
|
595
|
-
def post_documents_document_id_content_with_http_info(document_id, opts = {})
|
596
|
-
if @api_client.config.debugging
|
597
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#post_documents_document_id_content ..."
|
598
|
-
end
|
599
|
-
|
600
|
-
# verify the required parameter 'document_id' is set
|
601
|
-
fail "Missing the required parameter 'document_id' when calling post_documents_document_id_content" if document_id.nil?
|
602
|
-
|
603
|
-
# resource path
|
604
|
-
path = "/api/v2/contentmanagement/documents/{documentId}/content".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
|
605
|
-
|
606
|
-
# query parameters
|
607
|
-
query_params = {}
|
608
|
-
query_params[:'override'] = opts[:'override'] if opts[:'override']
|
609
|
-
|
610
|
-
# header parameters
|
611
|
-
header_params = {}
|
612
|
-
|
613
|
-
# HTTP header 'Accept' (if needed)
|
614
|
-
_header_accept = ['application/json']
|
615
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
616
|
-
|
617
|
-
# HTTP header 'Content-Type'
|
618
|
-
_header_content_type = ['application/json']
|
619
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
620
|
-
|
621
|
-
# form parameters
|
622
|
-
form_params = {}
|
623
|
-
|
624
|
-
# http body (model)
|
625
|
-
post_body = @api_client.object_to_http_body(opts[:'body'])
|
626
|
-
|
627
|
-
|
628
|
-
auth_names = ['PureCloud Auth']
|
629
|
-
data, status_code, headers = @api_client.call_api(:POST, path,
|
630
|
-
:header_params => header_params,
|
631
|
-
:query_params => query_params,
|
632
|
-
:form_params => form_params,
|
633
|
-
:body => post_body,
|
634
|
-
:auth_names => auth_names,
|
635
|
-
:return_type => 'ReplaceResponse')
|
636
|
-
if @api_client.config.debugging
|
637
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#post_documents_document_id_content\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
638
|
-
end
|
639
|
-
return data, status_code, headers
|
640
|
-
end
|
641
|
-
|
642
694
|
# Query content
|
643
695
|
#
|
644
696
|
# @param query_phrase Phrase tokens are ANDed together over all searchable fields
|
645
697
|
# @param [Hash] opts the optional parameters
|
646
|
-
# @option opts [Integer] :page_size Page size
|
647
|
-
# @option opts [Integer] :page_number Page number
|
648
|
-
# @option opts [String] :sort_by name or dateCreated
|
649
|
-
# @option opts [String] :sort_order ascending or descending
|
698
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
699
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
700
|
+
# @option opts [String] :sort_by name or dateCreated (default to name)
|
701
|
+
# @option opts [String] :sort_order ascending or descending (default to ascending)
|
650
702
|
# @option opts [String] :expand Expand some document fields
|
651
703
|
# @return [QueryResults]
|
652
704
|
def get_query(query_phrase, opts = {})
|
@@ -677,7 +729,7 @@ module PureCloud
|
|
677
729
|
end
|
678
730
|
|
679
731
|
# resource path
|
680
|
-
|
732
|
+
local_var_path = "/api/v2/contentmanagement/query".sub('{format}','json')
|
681
733
|
|
682
734
|
# query parameters
|
683
735
|
query_params = {}
|
@@ -705,9 +757,8 @@ module PureCloud
|
|
705
757
|
# http body (model)
|
706
758
|
post_body = nil
|
707
759
|
|
708
|
-
|
709
760
|
auth_names = ['PureCloud Auth']
|
710
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
761
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
711
762
|
:header_params => header_params,
|
712
763
|
:query_params => query_params,
|
713
764
|
:form_params => form_params,
|
@@ -720,74 +771,6 @@ module PureCloud
|
|
720
771
|
return data, status_code, headers
|
721
772
|
end
|
722
773
|
|
723
|
-
# Query content
|
724
|
-
#
|
725
|
-
# @param body Allows for a filtered query returning facet information
|
726
|
-
# @param [Hash] opts the optional parameters
|
727
|
-
# @option opts [String] :expand Expand some document fields
|
728
|
-
# @return [QueryResults]
|
729
|
-
def post_query(body, opts = {})
|
730
|
-
data, status_code, headers = post_query_with_http_info(body, opts)
|
731
|
-
return data
|
732
|
-
end
|
733
|
-
|
734
|
-
# Query content
|
735
|
-
#
|
736
|
-
# @param body Allows for a filtered query returning facet information
|
737
|
-
# @param [Hash] opts the optional parameters
|
738
|
-
# @option opts [String] :expand Expand some document fields
|
739
|
-
# @return [Array<(QueryResults, Fixnum, Hash)>] QueryResults data, response status code and response headers
|
740
|
-
def post_query_with_http_info(body, opts = {})
|
741
|
-
if @api_client.config.debugging
|
742
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#post_query ..."
|
743
|
-
end
|
744
|
-
|
745
|
-
# verify the required parameter 'body' is set
|
746
|
-
fail "Missing the required parameter 'body' when calling post_query" if body.nil?
|
747
|
-
|
748
|
-
if opts[:'expand'] && !['acl', 'workspace'].include?(opts[:'expand'])
|
749
|
-
fail 'invalid value for "expand", must be one of acl, workspace'
|
750
|
-
end
|
751
|
-
|
752
|
-
# resource path
|
753
|
-
path = "/api/v2/contentmanagement/query".sub('{format}','json')
|
754
|
-
|
755
|
-
# query parameters
|
756
|
-
query_params = {}
|
757
|
-
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
758
|
-
|
759
|
-
# header parameters
|
760
|
-
header_params = {}
|
761
|
-
|
762
|
-
# HTTP header 'Accept' (if needed)
|
763
|
-
_header_accept = ['application/json']
|
764
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
765
|
-
|
766
|
-
# HTTP header 'Content-Type'
|
767
|
-
_header_content_type = ['application/json']
|
768
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
769
|
-
|
770
|
-
# form parameters
|
771
|
-
form_params = {}
|
772
|
-
|
773
|
-
# http body (model)
|
774
|
-
post_body = @api_client.object_to_http_body(body)
|
775
|
-
|
776
|
-
|
777
|
-
auth_names = ['PureCloud Auth']
|
778
|
-
data, status_code, headers = @api_client.call_api(:POST, path,
|
779
|
-
:header_params => header_params,
|
780
|
-
:query_params => query_params,
|
781
|
-
:form_params => form_params,
|
782
|
-
:body => post_body,
|
783
|
-
:auth_names => auth_names,
|
784
|
-
:return_type => 'QueryResults')
|
785
|
-
if @api_client.config.debugging
|
786
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#post_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
787
|
-
end
|
788
|
-
return data, status_code, headers
|
789
|
-
end
|
790
|
-
|
791
774
|
# Get a List of Security Profiles
|
792
775
|
#
|
793
776
|
# @param [Hash] opts the optional parameters
|
@@ -807,7 +790,7 @@ module PureCloud
|
|
807
790
|
end
|
808
791
|
|
809
792
|
# resource path
|
810
|
-
|
793
|
+
local_var_path = "/api/v2/contentmanagement/securityprofiles".sub('{format}','json')
|
811
794
|
|
812
795
|
# query parameters
|
813
796
|
query_params = {}
|
@@ -829,9 +812,8 @@ module PureCloud
|
|
829
812
|
# http body (model)
|
830
813
|
post_body = nil
|
831
814
|
|
832
|
-
|
833
815
|
auth_names = ['PureCloud Auth']
|
834
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
816
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
835
817
|
:header_params => header_params,
|
836
818
|
:query_params => query_params,
|
837
819
|
:form_params => form_params,
|
@@ -868,7 +850,7 @@ module PureCloud
|
|
868
850
|
fail "Missing the required parameter 'security_profile_id' when calling get_securityprofiles_securityprofile_id" if security_profile_id.nil?
|
869
851
|
|
870
852
|
# resource path
|
871
|
-
|
853
|
+
local_var_path = "/api/v2/contentmanagement/securityprofiles/{securityProfileId}".sub('{format}','json').sub('{' + 'securityProfileId' + '}', security_profile_id.to_s)
|
872
854
|
|
873
855
|
# query parameters
|
874
856
|
query_params = {}
|
@@ -890,9 +872,8 @@ module PureCloud
|
|
890
872
|
# http body (model)
|
891
873
|
post_body = nil
|
892
874
|
|
893
|
-
|
894
875
|
auth_names = ['PureCloud Auth']
|
895
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
876
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
896
877
|
:header_params => header_params,
|
897
878
|
:query_params => query_params,
|
898
879
|
:form_params => form_params,
|
@@ -909,8 +890,8 @@ module PureCloud
|
|
909
890
|
# This method requires the download sharing URI obtained in the get document response (downloadSharingUri). Documents may be shared between users in the same workspace. Documents may also be shared between any user by creating a content management share.
|
910
891
|
# @param shared_id Shared ID
|
911
892
|
# @param [Hash] opts the optional parameters
|
912
|
-
# @option opts [BOOLEAN] :redirect Turn on or off redirect
|
913
|
-
# @option opts [String] :disposition Request how the share content will be downloaded: attached as a file or inline. Default is attachment.
|
893
|
+
# @option opts [BOOLEAN] :redirect Turn on or off redirect (default to true)
|
894
|
+
# @option opts [String] :disposition Request how the share content will be downloaded: attached as a file or inline. Default is attachment. (default to attachment)
|
914
895
|
# @option opts [String] :content_type The requested format for the specified document. If supported, the document will be returned in that format. Example contentType=audio/wav
|
915
896
|
# @option opts [String] :expand Expand some document fields
|
916
897
|
# @return [nil]
|
@@ -945,7 +926,7 @@ module PureCloud
|
|
945
926
|
end
|
946
927
|
|
947
928
|
# resource path
|
948
|
-
|
929
|
+
local_var_path = "/api/v2/contentmanagement/shared/{sharedId}".sub('{format}','json').sub('{' + 'sharedId' + '}', shared_id.to_s)
|
949
930
|
|
950
931
|
# query parameters
|
951
932
|
query_params = {}
|
@@ -971,9 +952,8 @@ module PureCloud
|
|
971
952
|
# http body (model)
|
972
953
|
post_body = nil
|
973
954
|
|
974
|
-
|
975
955
|
auth_names = ['PureCloud Auth']
|
976
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
956
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
977
957
|
:header_params => header_params,
|
978
958
|
:query_params => query_params,
|
979
959
|
:form_params => form_params,
|
@@ -990,8 +970,8 @@ module PureCloud
|
|
990
970
|
# @param [Hash] opts the optional parameters
|
991
971
|
# @option opts [String] :entity_id Filters the shares returned to only the entity specified by the value of this parameter.
|
992
972
|
# @option opts [String] :expand Expand share fields
|
993
|
-
# @option opts [Integer] :page_size Page size
|
994
|
-
# @option opts [Integer] :page_number Page number
|
973
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
974
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
995
975
|
# @return [ShareEntityListing]
|
996
976
|
def get_shares(opts = {})
|
997
977
|
data, status_code, headers = get_shares_with_http_info(opts)
|
@@ -1016,7 +996,7 @@ module PureCloud
|
|
1016
996
|
end
|
1017
997
|
|
1018
998
|
# resource path
|
1019
|
-
|
999
|
+
local_var_path = "/api/v2/contentmanagement/shares".sub('{format}','json')
|
1020
1000
|
|
1021
1001
|
# query parameters
|
1022
1002
|
query_params = {}
|
@@ -1042,9 +1022,8 @@ module PureCloud
|
|
1042
1022
|
# http body (model)
|
1043
1023
|
post_body = nil
|
1044
1024
|
|
1045
|
-
|
1046
1025
|
auth_names = ['PureCloud Auth']
|
1047
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
1026
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1048
1027
|
:header_params => header_params,
|
1049
1028
|
:query_params => query_params,
|
1050
1029
|
:form_params => form_params,
|
@@ -1057,31 +1036,41 @@ module PureCloud
|
|
1057
1036
|
return data, status_code, headers
|
1058
1037
|
end
|
1059
1038
|
|
1060
|
-
#
|
1039
|
+
# Retrieve details about an existing share.
|
1061
1040
|
#
|
1041
|
+
# @param share_id Share ID
|
1062
1042
|
# @param [Hash] opts the optional parameters
|
1063
|
-
# @option opts [
|
1064
|
-
# @return [
|
1065
|
-
def
|
1066
|
-
data, status_code, headers =
|
1043
|
+
# @option opts [String] :expand Expand share fields
|
1044
|
+
# @return [Share]
|
1045
|
+
def get_shares_share_id(share_id, opts = {})
|
1046
|
+
data, status_code, headers = get_shares_share_id_with_http_info(share_id, opts)
|
1067
1047
|
return data
|
1068
1048
|
end
|
1069
1049
|
|
1070
|
-
#
|
1050
|
+
# Retrieve details about an existing share.
|
1071
1051
|
#
|
1072
|
-
# @param
|
1073
|
-
# @
|
1074
|
-
# @
|
1075
|
-
|
1052
|
+
# @param share_id Share ID
|
1053
|
+
# @param [Hash] opts the optional parameters
|
1054
|
+
# @option opts [String] :expand Expand share fields
|
1055
|
+
# @return [Array<(Share, Fixnum, Hash)>] Share data, response status code and response headers
|
1056
|
+
def get_shares_share_id_with_http_info(share_id, opts = {})
|
1076
1057
|
if @api_client.config.debugging
|
1077
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
1058
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#get_shares_share_id ..."
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
# verify the required parameter 'share_id' is set
|
1062
|
+
fail "Missing the required parameter 'share_id' when calling get_shares_share_id" if share_id.nil?
|
1063
|
+
|
1064
|
+
if opts[:'expand'] && !['member'].include?(opts[:'expand'])
|
1065
|
+
fail 'invalid value for "expand", must be one of member'
|
1078
1066
|
end
|
1079
1067
|
|
1080
1068
|
# resource path
|
1081
|
-
|
1069
|
+
local_var_path = "/api/v2/contentmanagement/shares/{shareId}".sub('{format}','json').sub('{' + 'shareId' + '}', share_id.to_s)
|
1082
1070
|
|
1083
1071
|
# query parameters
|
1084
1072
|
query_params = {}
|
1073
|
+
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
1085
1074
|
|
1086
1075
|
# header parameters
|
1087
1076
|
header_params = {}
|
@@ -1098,58 +1087,51 @@ module PureCloud
|
|
1098
1087
|
form_params = {}
|
1099
1088
|
|
1100
1089
|
# http body (model)
|
1101
|
-
post_body =
|
1090
|
+
post_body = nil
|
1102
1091
|
|
1103
|
-
|
1104
1092
|
auth_names = ['PureCloud Auth']
|
1105
|
-
data, status_code, headers = @api_client.call_api(:
|
1093
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1106
1094
|
:header_params => header_params,
|
1107
1095
|
:query_params => query_params,
|
1108
1096
|
:form_params => form_params,
|
1109
1097
|
:body => post_body,
|
1110
1098
|
:auth_names => auth_names,
|
1111
|
-
:return_type => '
|
1099
|
+
:return_type => 'Share')
|
1112
1100
|
if @api_client.config.debugging
|
1113
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
1101
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#get_shares_share_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1114
1102
|
end
|
1115
1103
|
return data, status_code, headers
|
1116
1104
|
end
|
1117
1105
|
|
1118
|
-
#
|
1106
|
+
# Get a list of statuses for pending operations
|
1119
1107
|
#
|
1120
|
-
# @param share_id Share ID
|
1121
1108
|
# @param [Hash] opts the optional parameters
|
1122
|
-
# @option opts [
|
1123
|
-
# @
|
1124
|
-
|
1125
|
-
|
1109
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
1110
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
1111
|
+
# @return [CommandStatusEntityListing]
|
1112
|
+
def get_status(opts = {})
|
1113
|
+
data, status_code, headers = get_status_with_http_info(opts)
|
1126
1114
|
return data
|
1127
1115
|
end
|
1128
1116
|
|
1129
|
-
#
|
1117
|
+
# Get a list of statuses for pending operations
|
1130
1118
|
#
|
1131
|
-
# @param share_id Share ID
|
1132
1119
|
# @param [Hash] opts the optional parameters
|
1133
|
-
# @option opts [
|
1134
|
-
# @
|
1135
|
-
|
1120
|
+
# @option opts [Integer] :page_size Page size
|
1121
|
+
# @option opts [Integer] :page_number Page number
|
1122
|
+
# @return [Array<(CommandStatusEntityListing, Fixnum, Hash)>] CommandStatusEntityListing data, response status code and response headers
|
1123
|
+
def get_status_with_http_info(opts = {})
|
1136
1124
|
if @api_client.config.debugging
|
1137
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
1138
|
-
end
|
1139
|
-
|
1140
|
-
# verify the required parameter 'share_id' is set
|
1141
|
-
fail "Missing the required parameter 'share_id' when calling get_shares_share_id" if share_id.nil?
|
1142
|
-
|
1143
|
-
if opts[:'expand'] && !['member'].include?(opts[:'expand'])
|
1144
|
-
fail 'invalid value for "expand", must be one of member'
|
1125
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#get_status ..."
|
1145
1126
|
end
|
1146
1127
|
|
1147
1128
|
# resource path
|
1148
|
-
|
1129
|
+
local_var_path = "/api/v2/contentmanagement/status".sub('{format}','json')
|
1149
1130
|
|
1150
1131
|
# query parameters
|
1151
1132
|
query_params = {}
|
1152
|
-
query_params[:'
|
1133
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
1134
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
1153
1135
|
|
1154
1136
|
# header parameters
|
1155
1137
|
header_params = {}
|
@@ -1168,46 +1150,45 @@ module PureCloud
|
|
1168
1150
|
# http body (model)
|
1169
1151
|
post_body = nil
|
1170
1152
|
|
1171
|
-
|
1172
1153
|
auth_names = ['PureCloud Auth']
|
1173
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
1154
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1174
1155
|
:header_params => header_params,
|
1175
1156
|
:query_params => query_params,
|
1176
1157
|
:form_params => form_params,
|
1177
1158
|
:body => post_body,
|
1178
1159
|
:auth_names => auth_names,
|
1179
|
-
:return_type => '
|
1160
|
+
:return_type => 'CommandStatusEntityListing')
|
1180
1161
|
if @api_client.config.debugging
|
1181
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
1162
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#get_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1182
1163
|
end
|
1183
1164
|
return data, status_code, headers
|
1184
1165
|
end
|
1185
1166
|
|
1186
|
-
#
|
1187
|
-
#
|
1188
|
-
# @param
|
1167
|
+
# Get a status.
|
1168
|
+
#
|
1169
|
+
# @param status_id Status ID
|
1189
1170
|
# @param [Hash] opts the optional parameters
|
1190
|
-
# @return [
|
1191
|
-
def
|
1192
|
-
|
1193
|
-
return
|
1171
|
+
# @return [CommandStatus]
|
1172
|
+
def get_status_status_id(status_id, opts = {})
|
1173
|
+
data, status_code, headers = get_status_status_id_with_http_info(status_id, opts)
|
1174
|
+
return data
|
1194
1175
|
end
|
1195
1176
|
|
1196
|
-
#
|
1197
|
-
#
|
1198
|
-
# @param
|
1177
|
+
# Get a status.
|
1178
|
+
#
|
1179
|
+
# @param status_id Status ID
|
1199
1180
|
# @param [Hash] opts the optional parameters
|
1200
|
-
# @return [Array<(
|
1201
|
-
def
|
1181
|
+
# @return [Array<(CommandStatus, Fixnum, Hash)>] CommandStatus data, response status code and response headers
|
1182
|
+
def get_status_status_id_with_http_info(status_id, opts = {})
|
1202
1183
|
if @api_client.config.debugging
|
1203
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
1184
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#get_status_status_id ..."
|
1204
1185
|
end
|
1205
1186
|
|
1206
|
-
# verify the required parameter '
|
1207
|
-
fail "Missing the required parameter '
|
1187
|
+
# verify the required parameter 'status_id' is set
|
1188
|
+
fail "Missing the required parameter 'status_id' when calling get_status_status_id" if status_id.nil?
|
1208
1189
|
|
1209
1190
|
# resource path
|
1210
|
-
|
1191
|
+
local_var_path = "/api/v2/contentmanagement/status/{statusId}".sub('{format}','json').sub('{' + 'statusId' + '}', status_id.to_s)
|
1211
1192
|
|
1212
1193
|
# query parameters
|
1213
1194
|
query_params = {}
|
@@ -1229,49 +1210,63 @@ module PureCloud
|
|
1229
1210
|
# http body (model)
|
1230
1211
|
post_body = nil
|
1231
1212
|
|
1232
|
-
|
1233
1213
|
auth_names = ['PureCloud Auth']
|
1234
|
-
data, status_code, headers = @api_client.call_api(:
|
1214
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1235
1215
|
:header_params => header_params,
|
1236
1216
|
:query_params => query_params,
|
1237
1217
|
:form_params => form_params,
|
1238
1218
|
:body => post_body,
|
1239
|
-
:auth_names => auth_names
|
1219
|
+
:auth_names => auth_names,
|
1220
|
+
:return_type => 'CommandStatus')
|
1240
1221
|
if @api_client.config.debugging
|
1241
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
1222
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#get_status_status_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1242
1223
|
end
|
1243
1224
|
return data, status_code, headers
|
1244
1225
|
end
|
1245
1226
|
|
1246
|
-
# Get a list of
|
1247
|
-
#
|
1227
|
+
# Get a list of workspaces.
|
1228
|
+
# Specifying 'content' access will return all workspaces the user has document access to, while 'admin' access will return all group workspaces the user has administrative rights to.
|
1248
1229
|
# @param [Hash] opts the optional parameters
|
1249
|
-
# @option opts [Integer] :page_size Page size
|
1250
|
-
# @option opts [Integer] :page_number Page number
|
1251
|
-
# @
|
1252
|
-
|
1253
|
-
|
1230
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
1231
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
1232
|
+
# @option opts [String] :access Requested access level (default to document:viewmetadata)
|
1233
|
+
# @option opts [String] :expand Expand some workspace fields
|
1234
|
+
# @return [WorkspaceEntityListing]
|
1235
|
+
def get_workspaces(opts = {})
|
1236
|
+
data, status_code, headers = get_workspaces_with_http_info(opts)
|
1254
1237
|
return data
|
1255
1238
|
end
|
1256
1239
|
|
1257
|
-
# Get a list of
|
1258
|
-
#
|
1240
|
+
# Get a list of workspaces.
|
1241
|
+
# Specifying 'content' access will return all workspaces the user has document access to, while 'admin' access will return all group workspaces the user has administrative rights to.
|
1259
1242
|
# @param [Hash] opts the optional parameters
|
1260
1243
|
# @option opts [Integer] :page_size Page size
|
1261
1244
|
# @option opts [Integer] :page_number Page number
|
1262
|
-
# @
|
1263
|
-
|
1245
|
+
# @option opts [String] :access Requested access level
|
1246
|
+
# @option opts [String] :expand Expand some workspace fields
|
1247
|
+
# @return [Array<(WorkspaceEntityListing, Fixnum, Hash)>] WorkspaceEntityListing data, response status code and response headers
|
1248
|
+
def get_workspaces_with_http_info(opts = {})
|
1264
1249
|
if @api_client.config.debugging
|
1265
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
1250
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces ..."
|
1251
|
+
end
|
1252
|
+
|
1253
|
+
if opts[:'access'] && !['content', 'admin', 'document:create', 'document:viewContent', 'document:viewMetadata', 'document:download', 'document:delete', 'document:update', 'document:share', 'document:shareView', 'document:email', 'document:print', 'document:auditView', 'document:replace', 'document:tag', 'tag:create', 'tag:view', 'tag:update', 'tag:apply', 'tag:remove', 'tag:delete'].include?(opts[:'access'])
|
1254
|
+
fail 'invalid value for "access", must be one of content, admin, document:create, document:viewContent, document:viewMetadata, document:download, document:delete, document:update, document:share, document:shareView, document:email, document:print, document:auditView, document:replace, document:tag, tag:create, tag:view, tag:update, tag:apply, tag:remove, tag:delete'
|
1255
|
+
end
|
1256
|
+
|
1257
|
+
if opts[:'expand'] && !['summary', 'acl'].include?(opts[:'expand'])
|
1258
|
+
fail 'invalid value for "expand", must be one of summary, acl'
|
1266
1259
|
end
|
1267
1260
|
|
1268
1261
|
# resource path
|
1269
|
-
|
1262
|
+
local_var_path = "/api/v2/contentmanagement/workspaces".sub('{format}','json')
|
1270
1263
|
|
1271
1264
|
# query parameters
|
1272
1265
|
query_params = {}
|
1273
1266
|
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
1274
1267
|
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
1268
|
+
query_params[:'access'] = opts[:'access'] if opts[:'access']
|
1269
|
+
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
1275
1270
|
|
1276
1271
|
# header parameters
|
1277
1272
|
header_params = {}
|
@@ -1290,49 +1285,55 @@ module PureCloud
|
|
1290
1285
|
# http body (model)
|
1291
1286
|
post_body = nil
|
1292
1287
|
|
1293
|
-
|
1294
1288
|
auth_names = ['PureCloud Auth']
|
1295
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
1289
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1296
1290
|
:header_params => header_params,
|
1297
1291
|
:query_params => query_params,
|
1298
1292
|
:form_params => form_params,
|
1299
1293
|
:body => post_body,
|
1300
1294
|
:auth_names => auth_names,
|
1301
|
-
:return_type => '
|
1295
|
+
:return_type => 'WorkspaceEntityListing')
|
1302
1296
|
if @api_client.config.debugging
|
1303
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
1297
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1304
1298
|
end
|
1305
1299
|
return data, status_code, headers
|
1306
1300
|
end
|
1307
1301
|
|
1308
|
-
# Get a
|
1302
|
+
# Get a workspace.
|
1309
1303
|
#
|
1310
|
-
# @param
|
1304
|
+
# @param workspace_id Workspace ID
|
1311
1305
|
# @param [Hash] opts the optional parameters
|
1312
|
-
# @
|
1313
|
-
|
1314
|
-
|
1306
|
+
# @option opts [String] :expand Expand some workspace fields
|
1307
|
+
# @return [Workspace]
|
1308
|
+
def get_workspaces_workspace_id(workspace_id, opts = {})
|
1309
|
+
data, status_code, headers = get_workspaces_workspace_id_with_http_info(workspace_id, opts)
|
1315
1310
|
return data
|
1316
1311
|
end
|
1317
1312
|
|
1318
|
-
# Get a
|
1313
|
+
# Get a workspace.
|
1319
1314
|
#
|
1320
|
-
# @param
|
1315
|
+
# @param workspace_id Workspace ID
|
1321
1316
|
# @param [Hash] opts the optional parameters
|
1322
|
-
# @
|
1323
|
-
|
1317
|
+
# @option opts [String] :expand Expand some workspace fields
|
1318
|
+
# @return [Array<(Workspace, Fixnum, Hash)>] Workspace data, response status code and response headers
|
1319
|
+
def get_workspaces_workspace_id_with_http_info(workspace_id, opts = {})
|
1324
1320
|
if @api_client.config.debugging
|
1325
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
1321
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces_workspace_id ..."
|
1326
1322
|
end
|
1327
1323
|
|
1328
|
-
# verify the required parameter '
|
1329
|
-
fail "Missing the required parameter '
|
1324
|
+
# verify the required parameter 'workspace_id' is set
|
1325
|
+
fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id" if workspace_id.nil?
|
1326
|
+
|
1327
|
+
if opts[:'expand'] && !['summary', 'acl'].include?(opts[:'expand'])
|
1328
|
+
fail 'invalid value for "expand", must be one of summary, acl'
|
1329
|
+
end
|
1330
1330
|
|
1331
1331
|
# resource path
|
1332
|
-
|
1332
|
+
local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
|
1333
1333
|
|
1334
1334
|
# query parameters
|
1335
1335
|
query_params = {}
|
1336
|
+
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
1336
1337
|
|
1337
1338
|
# header parameters
|
1338
1339
|
header_params = {}
|
@@ -1351,49 +1352,61 @@ module PureCloud
|
|
1351
1352
|
# http body (model)
|
1352
1353
|
post_body = nil
|
1353
1354
|
|
1354
|
-
|
1355
1355
|
auth_names = ['PureCloud Auth']
|
1356
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
1356
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1357
1357
|
:header_params => header_params,
|
1358
1358
|
:query_params => query_params,
|
1359
1359
|
:form_params => form_params,
|
1360
1360
|
:body => post_body,
|
1361
1361
|
:auth_names => auth_names,
|
1362
|
-
:return_type => '
|
1362
|
+
:return_type => 'Workspace')
|
1363
1363
|
if @api_client.config.debugging
|
1364
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
1364
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces_workspace_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1365
1365
|
end
|
1366
1366
|
return data, status_code, headers
|
1367
1367
|
end
|
1368
1368
|
|
1369
|
-
#
|
1369
|
+
# Get a list workspace members
|
1370
1370
|
#
|
1371
|
-
# @param
|
1371
|
+
# @param workspace_id Workspace ID
|
1372
1372
|
# @param [Hash] opts the optional parameters
|
1373
|
-
# @
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1373
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
1374
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
1375
|
+
# @option opts [String] :expand Expand workspace member fields
|
1376
|
+
# @return [WorkspaceMemberEntityListing]
|
1377
|
+
def get_workspaces_workspace_id_members(workspace_id, opts = {})
|
1378
|
+
data, status_code, headers = get_workspaces_workspace_id_members_with_http_info(workspace_id, opts)
|
1379
|
+
return data
|
1377
1380
|
end
|
1378
1381
|
|
1379
|
-
#
|
1382
|
+
# Get a list workspace members
|
1380
1383
|
#
|
1381
|
-
# @param
|
1384
|
+
# @param workspace_id Workspace ID
|
1382
1385
|
# @param [Hash] opts the optional parameters
|
1383
|
-
# @
|
1384
|
-
|
1386
|
+
# @option opts [Integer] :page_size Page size
|
1387
|
+
# @option opts [Integer] :page_number Page number
|
1388
|
+
# @option opts [String] :expand Expand workspace member fields
|
1389
|
+
# @return [Array<(WorkspaceMemberEntityListing, Fixnum, Hash)>] WorkspaceMemberEntityListing data, response status code and response headers
|
1390
|
+
def get_workspaces_workspace_id_members_with_http_info(workspace_id, opts = {})
|
1385
1391
|
if @api_client.config.debugging
|
1386
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
1392
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces_workspace_id_members ..."
|
1387
1393
|
end
|
1388
1394
|
|
1389
|
-
# verify the required parameter '
|
1390
|
-
fail "Missing the required parameter '
|
1395
|
+
# verify the required parameter 'workspace_id' is set
|
1396
|
+
fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id_members" if workspace_id.nil?
|
1397
|
+
|
1398
|
+
if opts[:'expand'] && !['member'].include?(opts[:'expand'])
|
1399
|
+
fail 'invalid value for "expand", must be one of member'
|
1400
|
+
end
|
1391
1401
|
|
1392
1402
|
# resource path
|
1393
|
-
|
1403
|
+
local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/members".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
|
1394
1404
|
|
1395
1405
|
# query parameters
|
1396
1406
|
query_params = {}
|
1407
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
1408
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
1409
|
+
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
1397
1410
|
|
1398
1411
|
# header parameters
|
1399
1412
|
header_params = {}
|
@@ -1412,62 +1425,59 @@ module PureCloud
|
|
1412
1425
|
# http body (model)
|
1413
1426
|
post_body = nil
|
1414
1427
|
|
1415
|
-
|
1416
1428
|
auth_names = ['PureCloud Auth']
|
1417
|
-
data, status_code, headers = @api_client.call_api(:
|
1429
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1418
1430
|
:header_params => header_params,
|
1419
1431
|
:query_params => query_params,
|
1420
1432
|
:form_params => form_params,
|
1421
1433
|
:body => post_body,
|
1422
|
-
:auth_names => auth_names
|
1434
|
+
:auth_names => auth_names,
|
1435
|
+
:return_type => 'WorkspaceMemberEntityListing')
|
1423
1436
|
if @api_client.config.debugging
|
1424
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
1437
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces_workspace_id_members\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1425
1438
|
end
|
1426
1439
|
return data, status_code, headers
|
1427
1440
|
end
|
1428
1441
|
|
1429
|
-
# Get a
|
1430
|
-
#
|
1442
|
+
# Get a workspace member
|
1443
|
+
#
|
1444
|
+
# @param workspace_id Workspace ID
|
1445
|
+
# @param member_id Member ID
|
1431
1446
|
# @param [Hash] opts the optional parameters
|
1432
|
-
# @option opts [
|
1433
|
-
# @
|
1434
|
-
|
1435
|
-
|
1436
|
-
# @return [WorkspaceEntityListing]
|
1437
|
-
def get_workspaces(opts = {})
|
1438
|
-
data, status_code, headers = get_workspaces_with_http_info(opts)
|
1447
|
+
# @option opts [String] :expand Expand workspace member fields
|
1448
|
+
# @return [WorkspaceMember]
|
1449
|
+
def get_workspaces_workspace_id_members_member_id(workspace_id, member_id, opts = {})
|
1450
|
+
data, status_code, headers = get_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts)
|
1439
1451
|
return data
|
1440
1452
|
end
|
1441
1453
|
|
1442
|
-
# Get a
|
1443
|
-
#
|
1454
|
+
# Get a workspace member
|
1455
|
+
#
|
1456
|
+
# @param workspace_id Workspace ID
|
1457
|
+
# @param member_id Member ID
|
1444
1458
|
# @param [Hash] opts the optional parameters
|
1445
|
-
# @option opts [
|
1446
|
-
# @
|
1447
|
-
|
1448
|
-
# @option opts [String] :expand Expand some workspace fields
|
1449
|
-
# @return [Array<(WorkspaceEntityListing, Fixnum, Hash)>] WorkspaceEntityListing data, response status code and response headers
|
1450
|
-
def get_workspaces_with_http_info(opts = {})
|
1459
|
+
# @option opts [String] :expand Expand workspace member fields
|
1460
|
+
# @return [Array<(WorkspaceMember, Fixnum, Hash)>] WorkspaceMember data, response status code and response headers
|
1461
|
+
def get_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts = {})
|
1451
1462
|
if @api_client.config.debugging
|
1452
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
1463
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces_workspace_id_members_member_id ..."
|
1453
1464
|
end
|
1454
1465
|
|
1455
|
-
|
1456
|
-
|
1457
|
-
end
|
1466
|
+
# verify the required parameter 'workspace_id' is set
|
1467
|
+
fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id_members_member_id" if workspace_id.nil?
|
1458
1468
|
|
1459
|
-
|
1460
|
-
|
1469
|
+
# verify the required parameter 'member_id' is set
|
1470
|
+
fail "Missing the required parameter 'member_id' when calling get_workspaces_workspace_id_members_member_id" if member_id.nil?
|
1471
|
+
|
1472
|
+
if opts[:'expand'] && !['member'].include?(opts[:'expand'])
|
1473
|
+
fail 'invalid value for "expand", must be one of member'
|
1461
1474
|
end
|
1462
1475
|
|
1463
1476
|
# resource path
|
1464
|
-
|
1477
|
+
local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/members/{memberId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
|
1465
1478
|
|
1466
1479
|
# query parameters
|
1467
1480
|
query_params = {}
|
1468
|
-
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
1469
|
-
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
1470
|
-
query_params[:'access'] = opts[:'access'] if opts[:'access']
|
1471
1481
|
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
1472
1482
|
|
1473
1483
|
# header parameters
|
@@ -1487,46 +1497,64 @@ module PureCloud
|
|
1487
1497
|
# http body (model)
|
1488
1498
|
post_body = nil
|
1489
1499
|
|
1490
|
-
|
1491
1500
|
auth_names = ['PureCloud Auth']
|
1492
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
1501
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1493
1502
|
:header_params => header_params,
|
1494
1503
|
:query_params => query_params,
|
1495
1504
|
:form_params => form_params,
|
1496
1505
|
:body => post_body,
|
1497
1506
|
:auth_names => auth_names,
|
1498
|
-
:return_type => '
|
1507
|
+
:return_type => 'WorkspaceMember')
|
1499
1508
|
if @api_client.config.debugging
|
1500
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
1509
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces_workspace_id_members_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1501
1510
|
end
|
1502
1511
|
return data, status_code, headers
|
1503
1512
|
end
|
1504
1513
|
|
1505
|
-
#
|
1514
|
+
# Get a list of workspace tags
|
1506
1515
|
#
|
1516
|
+
# @param workspace_id Workspace ID
|
1507
1517
|
# @param [Hash] opts the optional parameters
|
1508
|
-
# @option opts [
|
1509
|
-
# @
|
1510
|
-
|
1511
|
-
|
1518
|
+
# @option opts [String] :value filter the list of tags returned
|
1519
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
1520
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
1521
|
+
# @option opts [String] :expand Expand some document fields
|
1522
|
+
# @return [TagValueEntityListing]
|
1523
|
+
def get_workspaces_workspace_id_tagvalues(workspace_id, opts = {})
|
1524
|
+
data, status_code, headers = get_workspaces_workspace_id_tagvalues_with_http_info(workspace_id, opts)
|
1512
1525
|
return data
|
1513
1526
|
end
|
1514
1527
|
|
1515
|
-
#
|
1528
|
+
# Get a list of workspace tags
|
1516
1529
|
#
|
1530
|
+
# @param workspace_id Workspace ID
|
1517
1531
|
# @param [Hash] opts the optional parameters
|
1518
|
-
# @option opts [
|
1519
|
-
# @
|
1520
|
-
|
1532
|
+
# @option opts [String] :value filter the list of tags returned
|
1533
|
+
# @option opts [Integer] :page_size Page size
|
1534
|
+
# @option opts [Integer] :page_number Page number
|
1535
|
+
# @option opts [String] :expand Expand some document fields
|
1536
|
+
# @return [Array<(TagValueEntityListing, Fixnum, Hash)>] TagValueEntityListing data, response status code and response headers
|
1537
|
+
def get_workspaces_workspace_id_tagvalues_with_http_info(workspace_id, opts = {})
|
1521
1538
|
if @api_client.config.debugging
|
1522
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
1539
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces_workspace_id_tagvalues ..."
|
1540
|
+
end
|
1541
|
+
|
1542
|
+
# verify the required parameter 'workspace_id' is set
|
1543
|
+
fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id_tagvalues" if workspace_id.nil?
|
1544
|
+
|
1545
|
+
if opts[:'expand'] && !['acl'].include?(opts[:'expand'])
|
1546
|
+
fail 'invalid value for "expand", must be one of acl'
|
1523
1547
|
end
|
1524
1548
|
|
1525
1549
|
# resource path
|
1526
|
-
|
1550
|
+
local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
|
1527
1551
|
|
1528
1552
|
# query parameters
|
1529
1553
|
query_params = {}
|
1554
|
+
query_params[:'value'] = opts[:'value'] if opts[:'value']
|
1555
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
1556
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
1557
|
+
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
1530
1558
|
|
1531
1559
|
# header parameters
|
1532
1560
|
header_params = {}
|
@@ -1543,54 +1571,58 @@ module PureCloud
|
|
1543
1571
|
form_params = {}
|
1544
1572
|
|
1545
1573
|
# http body (model)
|
1546
|
-
post_body =
|
1574
|
+
post_body = nil
|
1547
1575
|
|
1548
|
-
|
1549
1576
|
auth_names = ['PureCloud Auth']
|
1550
|
-
data, status_code, headers = @api_client.call_api(:
|
1577
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1551
1578
|
:header_params => header_params,
|
1552
1579
|
:query_params => query_params,
|
1553
1580
|
:form_params => form_params,
|
1554
1581
|
:body => post_body,
|
1555
1582
|
:auth_names => auth_names,
|
1556
|
-
:return_type => '
|
1583
|
+
:return_type => 'TagValueEntityListing')
|
1557
1584
|
if @api_client.config.debugging
|
1558
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
1585
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces_workspace_id_tagvalues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1559
1586
|
end
|
1560
1587
|
return data, status_code, headers
|
1561
1588
|
end
|
1562
1589
|
|
1563
|
-
# Get a workspace
|
1590
|
+
# Get a workspace tag
|
1564
1591
|
#
|
1565
1592
|
# @param workspace_id Workspace ID
|
1593
|
+
# @param tag_id Tag ID
|
1566
1594
|
# @param [Hash] opts the optional parameters
|
1567
|
-
# @option opts [String] :expand Expand some
|
1568
|
-
# @return [
|
1569
|
-
def
|
1570
|
-
data, status_code, headers =
|
1595
|
+
# @option opts [String] :expand Expand some document fields
|
1596
|
+
# @return [TagValue]
|
1597
|
+
def get_workspaces_workspace_id_tagvalues_tag_id(workspace_id, tag_id, opts = {})
|
1598
|
+
data, status_code, headers = get_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts)
|
1571
1599
|
return data
|
1572
1600
|
end
|
1573
1601
|
|
1574
|
-
# Get a workspace
|
1602
|
+
# Get a workspace tag
|
1575
1603
|
#
|
1576
1604
|
# @param workspace_id Workspace ID
|
1605
|
+
# @param tag_id Tag ID
|
1577
1606
|
# @param [Hash] opts the optional parameters
|
1578
|
-
# @option opts [String] :expand Expand some
|
1579
|
-
# @return [Array<(
|
1580
|
-
def
|
1607
|
+
# @option opts [String] :expand Expand some document fields
|
1608
|
+
# @return [Array<(TagValue, Fixnum, Hash)>] TagValue data, response status code and response headers
|
1609
|
+
def get_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts = {})
|
1581
1610
|
if @api_client.config.debugging
|
1582
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
1611
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces_workspace_id_tagvalues_tag_id ..."
|
1583
1612
|
end
|
1584
1613
|
|
1585
1614
|
# verify the required parameter 'workspace_id' is set
|
1586
|
-
fail "Missing the required parameter 'workspace_id' when calling
|
1615
|
+
fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id_tagvalues_tag_id" if workspace_id.nil?
|
1587
1616
|
|
1588
|
-
|
1589
|
-
|
1617
|
+
# verify the required parameter 'tag_id' is set
|
1618
|
+
fail "Missing the required parameter 'tag_id' when calling get_workspaces_workspace_id_tagvalues_tag_id" if tag_id.nil?
|
1619
|
+
|
1620
|
+
if opts[:'expand'] && !['acl'].include?(opts[:'expand'])
|
1621
|
+
fail 'invalid value for "expand", must be one of acl'
|
1590
1622
|
end
|
1591
1623
|
|
1592
1624
|
# resource path
|
1593
|
-
|
1625
|
+
local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'tagId' + '}', tag_id.to_s)
|
1594
1626
|
|
1595
1627
|
# query parameters
|
1596
1628
|
query_params = {}
|
@@ -1613,48 +1645,45 @@ module PureCloud
|
|
1613
1645
|
# http body (model)
|
1614
1646
|
post_body = nil
|
1615
1647
|
|
1616
|
-
|
1617
1648
|
auth_names = ['PureCloud Auth']
|
1618
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
1649
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1619
1650
|
:header_params => header_params,
|
1620
1651
|
:query_params => query_params,
|
1621
1652
|
:form_params => form_params,
|
1622
1653
|
:body => post_body,
|
1623
1654
|
:auth_names => auth_names,
|
1624
|
-
:return_type => '
|
1655
|
+
:return_type => 'TagValue')
|
1625
1656
|
if @api_client.config.debugging
|
1626
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
1657
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces_workspace_id_tagvalues_tag_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1627
1658
|
end
|
1628
1659
|
return data, status_code, headers
|
1629
1660
|
end
|
1630
1661
|
|
1631
|
-
#
|
1662
|
+
# Query audits
|
1632
1663
|
#
|
1633
|
-
# @param
|
1664
|
+
# @param body Allows for a filtered query returning facet information
|
1634
1665
|
# @param [Hash] opts the optional parameters
|
1635
|
-
# @
|
1636
|
-
|
1637
|
-
|
1638
|
-
data, status_code, headers = put_workspaces_workspace_id_with_http_info(workspace_id, opts)
|
1666
|
+
# @return [QueryResults]
|
1667
|
+
def post_auditquery(body, opts = {})
|
1668
|
+
data, status_code, headers = post_auditquery_with_http_info(body, opts)
|
1639
1669
|
return data
|
1640
1670
|
end
|
1641
1671
|
|
1642
|
-
#
|
1672
|
+
# Query audits
|
1643
1673
|
#
|
1644
|
-
# @param
|
1674
|
+
# @param body Allows for a filtered query returning facet information
|
1645
1675
|
# @param [Hash] opts the optional parameters
|
1646
|
-
# @
|
1647
|
-
|
1648
|
-
def put_workspaces_workspace_id_with_http_info(workspace_id, opts = {})
|
1676
|
+
# @return [Array<(QueryResults, Fixnum, Hash)>] QueryResults data, response status code and response headers
|
1677
|
+
def post_auditquery_with_http_info(body, opts = {})
|
1649
1678
|
if @api_client.config.debugging
|
1650
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
1679
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#post_auditquery ..."
|
1651
1680
|
end
|
1652
1681
|
|
1653
|
-
# verify the required parameter '
|
1654
|
-
fail "Missing the required parameter '
|
1682
|
+
# verify the required parameter 'body' is set
|
1683
|
+
fail "Missing the required parameter 'body' when calling post_auditquery" if body.nil?
|
1655
1684
|
|
1656
1685
|
# resource path
|
1657
|
-
|
1686
|
+
local_var_path = "/api/v2/contentmanagement/auditquery".sub('{format}','json')
|
1658
1687
|
|
1659
1688
|
# query parameters
|
1660
1689
|
query_params = {}
|
@@ -1674,54 +1703,56 @@ module PureCloud
|
|
1674
1703
|
form_params = {}
|
1675
1704
|
|
1676
1705
|
# http body (model)
|
1677
|
-
post_body = @api_client.object_to_http_body(
|
1706
|
+
post_body = @api_client.object_to_http_body(body)
|
1678
1707
|
|
1679
|
-
|
1680
1708
|
auth_names = ['PureCloud Auth']
|
1681
|
-
data, status_code, headers = @api_client.call_api(:
|
1709
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1682
1710
|
:header_params => header_params,
|
1683
1711
|
:query_params => query_params,
|
1684
1712
|
:form_params => form_params,
|
1685
1713
|
:body => post_body,
|
1686
1714
|
:auth_names => auth_names,
|
1687
|
-
:return_type => '
|
1715
|
+
:return_type => 'QueryResults')
|
1688
1716
|
if @api_client.config.debugging
|
1689
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
1717
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#post_auditquery\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1690
1718
|
end
|
1691
1719
|
return data, status_code, headers
|
1692
1720
|
end
|
1693
1721
|
|
1694
|
-
#
|
1722
|
+
# Add a document.
|
1695
1723
|
#
|
1696
|
-
# @param workspace_id Workspace ID
|
1697
1724
|
# @param [Hash] opts the optional parameters
|
1698
|
-
# @option opts [
|
1699
|
-
# @
|
1700
|
-
|
1701
|
-
|
1702
|
-
|
1725
|
+
# @option opts [DocumentUpload] :body Document
|
1726
|
+
# @option opts [String] :copy_source Copy a document within a workspace or to a new workspace. Provide a document ID as the copy source.
|
1727
|
+
# @option opts [String] :move_source Move a document to a new workspace. Provide a document ID as the move source.
|
1728
|
+
# @option opts [BOOLEAN] :override Override any lock on the source document
|
1729
|
+
# @return [Document]
|
1730
|
+
def post_documents(opts = {})
|
1731
|
+
data, status_code, headers = post_documents_with_http_info(opts)
|
1732
|
+
return data
|
1703
1733
|
end
|
1704
1734
|
|
1705
|
-
#
|
1735
|
+
# Add a document.
|
1706
1736
|
#
|
1707
|
-
# @param workspace_id Workspace ID
|
1708
1737
|
# @param [Hash] opts the optional parameters
|
1709
|
-
# @option opts [
|
1710
|
-
# @
|
1711
|
-
|
1738
|
+
# @option opts [DocumentUpload] :body Document
|
1739
|
+
# @option opts [String] :copy_source Copy a document within a workspace or to a new workspace. Provide a document ID as the copy source.
|
1740
|
+
# @option opts [String] :move_source Move a document to a new workspace. Provide a document ID as the move source.
|
1741
|
+
# @option opts [BOOLEAN] :override Override any lock on the source document
|
1742
|
+
# @return [Array<(Document, Fixnum, Hash)>] Document data, response status code and response headers
|
1743
|
+
def post_documents_with_http_info(opts = {})
|
1712
1744
|
if @api_client.config.debugging
|
1713
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
1745
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#post_documents ..."
|
1714
1746
|
end
|
1715
1747
|
|
1716
|
-
# verify the required parameter 'workspace_id' is set
|
1717
|
-
fail "Missing the required parameter 'workspace_id' when calling delete_workspaces_workspace_id" if workspace_id.nil?
|
1718
|
-
|
1719
1748
|
# resource path
|
1720
|
-
|
1749
|
+
local_var_path = "/api/v2/contentmanagement/documents".sub('{format}','json')
|
1721
1750
|
|
1722
1751
|
# query parameters
|
1723
1752
|
query_params = {}
|
1724
|
-
query_params[:'
|
1753
|
+
query_params[:'copySource'] = opts[:'copy_source'] if opts[:'copy_source']
|
1754
|
+
query_params[:'moveSource'] = opts[:'move_source'] if opts[:'move_source']
|
1755
|
+
query_params[:'override'] = opts[:'override'] if opts[:'override']
|
1725
1756
|
|
1726
1757
|
# header parameters
|
1727
1758
|
header_params = {}
|
@@ -1738,63 +1769,62 @@ module PureCloud
|
|
1738
1769
|
form_params = {}
|
1739
1770
|
|
1740
1771
|
# http body (model)
|
1741
|
-
post_body =
|
1772
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
1742
1773
|
|
1743
|
-
|
1744
1774
|
auth_names = ['PureCloud Auth']
|
1745
|
-
data, status_code, headers = @api_client.call_api(:
|
1775
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1746
1776
|
:header_params => header_params,
|
1747
1777
|
:query_params => query_params,
|
1748
1778
|
:form_params => form_params,
|
1749
1779
|
:body => post_body,
|
1750
|
-
:auth_names => auth_names
|
1780
|
+
:auth_names => auth_names,
|
1781
|
+
:return_type => 'Document')
|
1751
1782
|
if @api_client.config.debugging
|
1752
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
1783
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#post_documents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1753
1784
|
end
|
1754
1785
|
return data, status_code, headers
|
1755
1786
|
end
|
1756
1787
|
|
1757
|
-
#
|
1788
|
+
# Update a document.
|
1758
1789
|
#
|
1759
|
-
# @param
|
1790
|
+
# @param document_id Document ID
|
1760
1791
|
# @param [Hash] opts the optional parameters
|
1761
|
-
# @option opts [
|
1762
|
-
# @option opts [
|
1763
|
-
# @option opts [
|
1764
|
-
# @return [
|
1765
|
-
def
|
1766
|
-
data, status_code, headers =
|
1792
|
+
# @option opts [DocumentUpdate] :body Document
|
1793
|
+
# @option opts [String] :expand Expand some document fields
|
1794
|
+
# @option opts [BOOLEAN] :override Override any lock on the document
|
1795
|
+
# @return [Document]
|
1796
|
+
def post_documents_document_id(document_id, opts = {})
|
1797
|
+
data, status_code, headers = post_documents_document_id_with_http_info(document_id, opts)
|
1767
1798
|
return data
|
1768
1799
|
end
|
1769
1800
|
|
1770
|
-
#
|
1801
|
+
# Update a document.
|
1771
1802
|
#
|
1772
|
-
# @param
|
1803
|
+
# @param document_id Document ID
|
1773
1804
|
# @param [Hash] opts the optional parameters
|
1774
|
-
# @option opts [
|
1775
|
-
# @option opts [
|
1776
|
-
# @option opts [
|
1777
|
-
# @return [Array<(
|
1778
|
-
def
|
1805
|
+
# @option opts [DocumentUpdate] :body Document
|
1806
|
+
# @option opts [String] :expand Expand some document fields
|
1807
|
+
# @option opts [BOOLEAN] :override Override any lock on the document
|
1808
|
+
# @return [Array<(Document, Fixnum, Hash)>] Document data, response status code and response headers
|
1809
|
+
def post_documents_document_id_with_http_info(document_id, opts = {})
|
1779
1810
|
if @api_client.config.debugging
|
1780
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
1811
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#post_documents_document_id ..."
|
1781
1812
|
end
|
1782
1813
|
|
1783
|
-
# verify the required parameter '
|
1784
|
-
fail "Missing the required parameter '
|
1814
|
+
# verify the required parameter 'document_id' is set
|
1815
|
+
fail "Missing the required parameter 'document_id' when calling post_documents_document_id" if document_id.nil?
|
1785
1816
|
|
1786
|
-
if opts[:'expand'] && !['
|
1787
|
-
fail 'invalid value for "expand", must be one of
|
1817
|
+
if opts[:'expand'] && !['acl'].include?(opts[:'expand'])
|
1818
|
+
fail 'invalid value for "expand", must be one of acl'
|
1788
1819
|
end
|
1789
1820
|
|
1790
1821
|
# resource path
|
1791
|
-
|
1822
|
+
local_var_path = "/api/v2/contentmanagement/documents/{documentId}".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
|
1792
1823
|
|
1793
1824
|
# query parameters
|
1794
1825
|
query_params = {}
|
1795
|
-
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
1796
|
-
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
1797
1826
|
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
1827
|
+
query_params[:'override'] = opts[:'override'] if opts[:'override']
|
1798
1828
|
|
1799
1829
|
# header parameters
|
1800
1830
|
header_params = {}
|
@@ -1811,63 +1841,55 @@ module PureCloud
|
|
1811
1841
|
form_params = {}
|
1812
1842
|
|
1813
1843
|
# http body (model)
|
1814
|
-
post_body =
|
1844
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
1815
1845
|
|
1816
|
-
|
1817
1846
|
auth_names = ['PureCloud Auth']
|
1818
|
-
data, status_code, headers = @api_client.call_api(:
|
1847
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1819
1848
|
:header_params => header_params,
|
1820
1849
|
:query_params => query_params,
|
1821
1850
|
:form_params => form_params,
|
1822
1851
|
:body => post_body,
|
1823
1852
|
:auth_names => auth_names,
|
1824
|
-
:return_type => '
|
1853
|
+
:return_type => 'Document')
|
1825
1854
|
if @api_client.config.debugging
|
1826
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
1855
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#post_documents_document_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1827
1856
|
end
|
1828
1857
|
return data, status_code, headers
|
1829
1858
|
end
|
1830
1859
|
|
1831
|
-
#
|
1860
|
+
# Replace the contents of a document.
|
1832
1861
|
#
|
1833
|
-
# @param
|
1834
|
-
# @param member_id Member ID
|
1862
|
+
# @param document_id Document ID
|
1835
1863
|
# @param [Hash] opts the optional parameters
|
1836
|
-
# @option opts [
|
1837
|
-
# @
|
1838
|
-
|
1839
|
-
|
1864
|
+
# @option opts [ReplaceRequest] :body Replace Request
|
1865
|
+
# @option opts [BOOLEAN] :override Override any lock on the document
|
1866
|
+
# @return [ReplaceResponse]
|
1867
|
+
def post_documents_document_id_content(document_id, opts = {})
|
1868
|
+
data, status_code, headers = post_documents_document_id_content_with_http_info(document_id, opts)
|
1840
1869
|
return data
|
1841
1870
|
end
|
1842
1871
|
|
1843
|
-
#
|
1872
|
+
# Replace the contents of a document.
|
1844
1873
|
#
|
1845
|
-
# @param
|
1846
|
-
# @param member_id Member ID
|
1874
|
+
# @param document_id Document ID
|
1847
1875
|
# @param [Hash] opts the optional parameters
|
1848
|
-
# @option opts [
|
1849
|
-
# @
|
1850
|
-
|
1876
|
+
# @option opts [ReplaceRequest] :body Replace Request
|
1877
|
+
# @option opts [BOOLEAN] :override Override any lock on the document
|
1878
|
+
# @return [Array<(ReplaceResponse, Fixnum, Hash)>] ReplaceResponse data, response status code and response headers
|
1879
|
+
def post_documents_document_id_content_with_http_info(document_id, opts = {})
|
1851
1880
|
if @api_client.config.debugging
|
1852
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
1853
|
-
end
|
1854
|
-
|
1855
|
-
# verify the required parameter 'workspace_id' is set
|
1856
|
-
fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id_members_member_id" if workspace_id.nil?
|
1857
|
-
|
1858
|
-
# verify the required parameter 'member_id' is set
|
1859
|
-
fail "Missing the required parameter 'member_id' when calling get_workspaces_workspace_id_members_member_id" if member_id.nil?
|
1860
|
-
|
1861
|
-
if opts[:'expand'] && !['member'].include?(opts[:'expand'])
|
1862
|
-
fail 'invalid value for "expand", must be one of member'
|
1881
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#post_documents_document_id_content ..."
|
1863
1882
|
end
|
1864
1883
|
|
1884
|
+
# verify the required parameter 'document_id' is set
|
1885
|
+
fail "Missing the required parameter 'document_id' when calling post_documents_document_id_content" if document_id.nil?
|
1886
|
+
|
1865
1887
|
# resource path
|
1866
|
-
|
1888
|
+
local_var_path = "/api/v2/contentmanagement/documents/{documentId}/content".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
|
1867
1889
|
|
1868
1890
|
# query parameters
|
1869
1891
|
query_params = {}
|
1870
|
-
query_params[:'
|
1892
|
+
query_params[:'override'] = opts[:'override'] if opts[:'override']
|
1871
1893
|
|
1872
1894
|
# header parameters
|
1873
1895
|
header_params = {}
|
@@ -1884,58 +1906,57 @@ module PureCloud
|
|
1884
1906
|
form_params = {}
|
1885
1907
|
|
1886
1908
|
# http body (model)
|
1887
|
-
post_body =
|
1909
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
1888
1910
|
|
1889
|
-
|
1890
1911
|
auth_names = ['PureCloud Auth']
|
1891
|
-
data, status_code, headers = @api_client.call_api(:
|
1912
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1892
1913
|
:header_params => header_params,
|
1893
1914
|
:query_params => query_params,
|
1894
1915
|
:form_params => form_params,
|
1895
1916
|
:body => post_body,
|
1896
1917
|
:auth_names => auth_names,
|
1897
|
-
:return_type => '
|
1918
|
+
:return_type => 'ReplaceResponse')
|
1898
1919
|
if @api_client.config.debugging
|
1899
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
1920
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#post_documents_document_id_content\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1900
1921
|
end
|
1901
1922
|
return data, status_code, headers
|
1902
1923
|
end
|
1903
1924
|
|
1904
|
-
#
|
1925
|
+
# Query content
|
1905
1926
|
#
|
1906
|
-
# @param
|
1907
|
-
# @param member_id Member ID
|
1927
|
+
# @param body Allows for a filtered query returning facet information
|
1908
1928
|
# @param [Hash] opts the optional parameters
|
1909
|
-
# @option opts [
|
1910
|
-
# @return [
|
1911
|
-
def
|
1912
|
-
data, status_code, headers =
|
1929
|
+
# @option opts [String] :expand Expand some document fields
|
1930
|
+
# @return [QueryResults]
|
1931
|
+
def post_query(body, opts = {})
|
1932
|
+
data, status_code, headers = post_query_with_http_info(body, opts)
|
1913
1933
|
return data
|
1914
1934
|
end
|
1915
1935
|
|
1916
|
-
#
|
1936
|
+
# Query content
|
1917
1937
|
#
|
1918
|
-
# @param
|
1919
|
-
# @param member_id Member ID
|
1938
|
+
# @param body Allows for a filtered query returning facet information
|
1920
1939
|
# @param [Hash] opts the optional parameters
|
1921
|
-
# @option opts [
|
1922
|
-
# @return [Array<(
|
1923
|
-
def
|
1940
|
+
# @option opts [String] :expand Expand some document fields
|
1941
|
+
# @return [Array<(QueryResults, Fixnum, Hash)>] QueryResults data, response status code and response headers
|
1942
|
+
def post_query_with_http_info(body, opts = {})
|
1924
1943
|
if @api_client.config.debugging
|
1925
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
1944
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#post_query ..."
|
1926
1945
|
end
|
1927
1946
|
|
1928
|
-
# verify the required parameter '
|
1929
|
-
fail "Missing the required parameter '
|
1947
|
+
# verify the required parameter 'body' is set
|
1948
|
+
fail "Missing the required parameter 'body' when calling post_query" if body.nil?
|
1930
1949
|
|
1931
|
-
|
1932
|
-
|
1950
|
+
if opts[:'expand'] && !['acl', 'workspace'].include?(opts[:'expand'])
|
1951
|
+
fail 'invalid value for "expand", must be one of acl, workspace'
|
1952
|
+
end
|
1933
1953
|
|
1934
1954
|
# resource path
|
1935
|
-
|
1955
|
+
local_var_path = "/api/v2/contentmanagement/query".sub('{format}','json')
|
1936
1956
|
|
1937
1957
|
# query parameters
|
1938
1958
|
query_params = {}
|
1959
|
+
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
1939
1960
|
|
1940
1961
|
# header parameters
|
1941
1962
|
header_params = {}
|
@@ -1952,53 +1973,44 @@ module PureCloud
|
|
1952
1973
|
form_params = {}
|
1953
1974
|
|
1954
1975
|
# http body (model)
|
1955
|
-
post_body = @api_client.object_to_http_body(
|
1976
|
+
post_body = @api_client.object_to_http_body(body)
|
1956
1977
|
|
1957
|
-
|
1958
1978
|
auth_names = ['PureCloud Auth']
|
1959
|
-
data, status_code, headers = @api_client.call_api(:
|
1979
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1960
1980
|
:header_params => header_params,
|
1961
1981
|
:query_params => query_params,
|
1962
1982
|
:form_params => form_params,
|
1963
1983
|
:body => post_body,
|
1964
1984
|
:auth_names => auth_names,
|
1965
|
-
:return_type => '
|
1985
|
+
:return_type => 'QueryResults')
|
1966
1986
|
if @api_client.config.debugging
|
1967
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
1987
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#post_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1968
1988
|
end
|
1969
1989
|
return data, status_code, headers
|
1970
1990
|
end
|
1971
1991
|
|
1972
|
-
#
|
1992
|
+
# Creates a new share or updates an existing share if the entity has already been shared
|
1973
1993
|
#
|
1974
|
-
# @param workspace_id Workspace ID
|
1975
|
-
# @param member_id Member ID
|
1976
1994
|
# @param [Hash] opts the optional parameters
|
1977
|
-
# @
|
1978
|
-
|
1979
|
-
|
1980
|
-
|
1995
|
+
# @option opts [CreateShareRequest] :body CreateShareRequest - entity id and type and a single member or list of members are required
|
1996
|
+
# @return [CreateShareResponse]
|
1997
|
+
def post_shares(opts = {})
|
1998
|
+
data, status_code, headers = post_shares_with_http_info(opts)
|
1999
|
+
return data
|
1981
2000
|
end
|
1982
2001
|
|
1983
|
-
#
|
2002
|
+
# Creates a new share or updates an existing share if the entity has already been shared
|
1984
2003
|
#
|
1985
|
-
# @param workspace_id Workspace ID
|
1986
|
-
# @param member_id Member ID
|
1987
2004
|
# @param [Hash] opts the optional parameters
|
1988
|
-
# @
|
1989
|
-
|
2005
|
+
# @option opts [CreateShareRequest] :body CreateShareRequest - entity id and type and a single member or list of members are required
|
2006
|
+
# @return [Array<(CreateShareResponse, Fixnum, Hash)>] CreateShareResponse data, response status code and response headers
|
2007
|
+
def post_shares_with_http_info(opts = {})
|
1990
2008
|
if @api_client.config.debugging
|
1991
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
2009
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#post_shares ..."
|
1992
2010
|
end
|
1993
2011
|
|
1994
|
-
# verify the required parameter 'workspace_id' is set
|
1995
|
-
fail "Missing the required parameter 'workspace_id' when calling delete_workspaces_workspace_id_members_member_id" if workspace_id.nil?
|
1996
|
-
|
1997
|
-
# verify the required parameter 'member_id' is set
|
1998
|
-
fail "Missing the required parameter 'member_id' when calling delete_workspaces_workspace_id_members_member_id" if member_id.nil?
|
1999
|
-
|
2000
2012
|
# resource path
|
2001
|
-
|
2013
|
+
local_var_path = "/api/v2/contentmanagement/shares".sub('{format}','json')
|
2002
2014
|
|
2003
2015
|
# query parameters
|
2004
2016
|
query_params = {}
|
@@ -2018,66 +2030,47 @@ module PureCloud
|
|
2018
2030
|
form_params = {}
|
2019
2031
|
|
2020
2032
|
# http body (model)
|
2021
|
-
post_body =
|
2033
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
2022
2034
|
|
2023
|
-
|
2024
2035
|
auth_names = ['PureCloud Auth']
|
2025
|
-
data, status_code, headers = @api_client.call_api(:
|
2036
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
2026
2037
|
:header_params => header_params,
|
2027
2038
|
:query_params => query_params,
|
2028
2039
|
:form_params => form_params,
|
2029
2040
|
:body => post_body,
|
2030
|
-
:auth_names => auth_names
|
2041
|
+
:auth_names => auth_names,
|
2042
|
+
:return_type => 'CreateShareResponse')
|
2031
2043
|
if @api_client.config.debugging
|
2032
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
2044
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#post_shares\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2033
2045
|
end
|
2034
2046
|
return data, status_code, headers
|
2035
2047
|
end
|
2036
2048
|
|
2037
|
-
#
|
2049
|
+
# Create a group workspace
|
2038
2050
|
#
|
2039
|
-
# @param workspace_id Workspace ID
|
2040
2051
|
# @param [Hash] opts the optional parameters
|
2041
|
-
# @option opts [
|
2042
|
-
# @
|
2043
|
-
|
2044
|
-
|
2045
|
-
# @return [TagValueEntityListing]
|
2046
|
-
def get_workspaces_workspace_id_tagvalues(workspace_id, opts = {})
|
2047
|
-
data, status_code, headers = get_workspaces_workspace_id_tagvalues_with_http_info(workspace_id, opts)
|
2052
|
+
# @option opts [WorkspaceCreate] :body Workspace
|
2053
|
+
# @return [Workspace]
|
2054
|
+
def post_workspaces(opts = {})
|
2055
|
+
data, status_code, headers = post_workspaces_with_http_info(opts)
|
2048
2056
|
return data
|
2049
2057
|
end
|
2050
2058
|
|
2051
|
-
#
|
2059
|
+
# Create a group workspace
|
2052
2060
|
#
|
2053
|
-
# @param workspace_id Workspace ID
|
2054
2061
|
# @param [Hash] opts the optional parameters
|
2055
|
-
# @option opts [
|
2056
|
-
# @
|
2057
|
-
|
2058
|
-
# @option opts [String] :expand Expand some document fields
|
2059
|
-
# @return [Array<(TagValueEntityListing, Fixnum, Hash)>] TagValueEntityListing data, response status code and response headers
|
2060
|
-
def get_workspaces_workspace_id_tagvalues_with_http_info(workspace_id, opts = {})
|
2062
|
+
# @option opts [WorkspaceCreate] :body Workspace
|
2063
|
+
# @return [Array<(Workspace, Fixnum, Hash)>] Workspace data, response status code and response headers
|
2064
|
+
def post_workspaces_with_http_info(opts = {})
|
2061
2065
|
if @api_client.config.debugging
|
2062
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
2063
|
-
end
|
2064
|
-
|
2065
|
-
# verify the required parameter 'workspace_id' is set
|
2066
|
-
fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id_tagvalues" if workspace_id.nil?
|
2067
|
-
|
2068
|
-
if opts[:'expand'] && !['acl'].include?(opts[:'expand'])
|
2069
|
-
fail 'invalid value for "expand", must be one of acl'
|
2066
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#post_workspaces ..."
|
2070
2067
|
end
|
2071
2068
|
|
2072
2069
|
# resource path
|
2073
|
-
|
2070
|
+
local_var_path = "/api/v2/contentmanagement/workspaces".sub('{format}','json')
|
2074
2071
|
|
2075
2072
|
# query parameters
|
2076
2073
|
query_params = {}
|
2077
|
-
query_params[:'value'] = opts[:'value'] if opts[:'value']
|
2078
|
-
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
2079
|
-
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
2080
|
-
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
2081
2074
|
|
2082
2075
|
# header parameters
|
2083
2076
|
header_params = {}
|
@@ -2094,19 +2087,18 @@ module PureCloud
|
|
2094
2087
|
form_params = {}
|
2095
2088
|
|
2096
2089
|
# http body (model)
|
2097
|
-
post_body =
|
2090
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
2098
2091
|
|
2099
|
-
|
2100
2092
|
auth_names = ['PureCloud Auth']
|
2101
|
-
data, status_code, headers = @api_client.call_api(:
|
2093
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
2102
2094
|
:header_params => header_params,
|
2103
2095
|
:query_params => query_params,
|
2104
2096
|
:form_params => form_params,
|
2105
2097
|
:body => post_body,
|
2106
2098
|
:auth_names => auth_names,
|
2107
|
-
:return_type => '
|
2099
|
+
:return_type => 'Workspace')
|
2108
2100
|
if @api_client.config.debugging
|
2109
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
2101
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#post_workspaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2110
2102
|
end
|
2111
2103
|
return data, status_code, headers
|
2112
2104
|
end
|
@@ -2137,7 +2129,7 @@ module PureCloud
|
|
2137
2129
|
fail "Missing the required parameter 'workspace_id' when calling post_workspaces_workspace_id_tagvalues" if workspace_id.nil?
|
2138
2130
|
|
2139
2131
|
# resource path
|
2140
|
-
|
2132
|
+
local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
|
2141
2133
|
|
2142
2134
|
# query parameters
|
2143
2135
|
query_params = {}
|
@@ -2159,9 +2151,8 @@ module PureCloud
|
|
2159
2151
|
# http body (model)
|
2160
2152
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
2161
2153
|
|
2162
|
-
|
2163
2154
|
auth_names = ['PureCloud Auth']
|
2164
|
-
data, status_code, headers = @api_client.call_api(:POST,
|
2155
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
2165
2156
|
:header_params => header_params,
|
2166
2157
|
:query_params => query_params,
|
2167
2158
|
:form_params => form_params,
|
@@ -2206,7 +2197,7 @@ module PureCloud
|
|
2206
2197
|
end
|
2207
2198
|
|
2208
2199
|
# resource path
|
2209
|
-
|
2200
|
+
local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/query".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
|
2210
2201
|
|
2211
2202
|
# query parameters
|
2212
2203
|
query_params = {}
|
@@ -2229,9 +2220,8 @@ module PureCloud
|
|
2229
2220
|
# http body (model)
|
2230
2221
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
2231
2222
|
|
2232
|
-
|
2233
2223
|
auth_names = ['PureCloud Auth']
|
2234
|
-
data, status_code, headers = @api_client.call_api(:POST,
|
2224
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
2235
2225
|
:header_params => header_params,
|
2236
2226
|
:query_params => query_params,
|
2237
2227
|
:form_params => form_params,
|
@@ -2244,46 +2234,36 @@ module PureCloud
|
|
2244
2234
|
return data, status_code, headers
|
2245
2235
|
end
|
2246
2236
|
|
2247
|
-
#
|
2237
|
+
# Update a workspace
|
2248
2238
|
#
|
2249
2239
|
# @param workspace_id Workspace ID
|
2250
|
-
# @param tag_id Tag ID
|
2251
2240
|
# @param [Hash] opts the optional parameters
|
2252
|
-
# @option opts [
|
2253
|
-
# @return [
|
2254
|
-
def
|
2255
|
-
data, status_code, headers =
|
2241
|
+
# @option opts [Workspace] :body Workspace
|
2242
|
+
# @return [Workspace]
|
2243
|
+
def put_workspaces_workspace_id(workspace_id, opts = {})
|
2244
|
+
data, status_code, headers = put_workspaces_workspace_id_with_http_info(workspace_id, opts)
|
2256
2245
|
return data
|
2257
2246
|
end
|
2258
2247
|
|
2259
|
-
#
|
2248
|
+
# Update a workspace
|
2260
2249
|
#
|
2261
2250
|
# @param workspace_id Workspace ID
|
2262
|
-
# @param tag_id Tag ID
|
2263
2251
|
# @param [Hash] opts the optional parameters
|
2264
|
-
# @option opts [
|
2265
|
-
# @return [Array<(
|
2266
|
-
def
|
2252
|
+
# @option opts [Workspace] :body Workspace
|
2253
|
+
# @return [Array<(Workspace, Fixnum, Hash)>] Workspace data, response status code and response headers
|
2254
|
+
def put_workspaces_workspace_id_with_http_info(workspace_id, opts = {})
|
2267
2255
|
if @api_client.config.debugging
|
2268
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
2256
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#put_workspaces_workspace_id ..."
|
2269
2257
|
end
|
2270
2258
|
|
2271
2259
|
# verify the required parameter 'workspace_id' is set
|
2272
|
-
fail "Missing the required parameter 'workspace_id' when calling
|
2273
|
-
|
2274
|
-
# verify the required parameter 'tag_id' is set
|
2275
|
-
fail "Missing the required parameter 'tag_id' when calling get_workspaces_workspace_id_tagvalues_tag_id" if tag_id.nil?
|
2276
|
-
|
2277
|
-
if opts[:'expand'] && !['acl'].include?(opts[:'expand'])
|
2278
|
-
fail 'invalid value for "expand", must be one of acl'
|
2279
|
-
end
|
2260
|
+
fail "Missing the required parameter 'workspace_id' when calling put_workspaces_workspace_id" if workspace_id.nil?
|
2280
2261
|
|
2281
2262
|
# resource path
|
2282
|
-
|
2263
|
+
local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
|
2283
2264
|
|
2284
2265
|
# query parameters
|
2285
2266
|
query_params = {}
|
2286
|
-
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
2287
2267
|
|
2288
2268
|
# header parameters
|
2289
2269
|
header_params = {}
|
@@ -2300,55 +2280,54 @@ module PureCloud
|
|
2300
2280
|
form_params = {}
|
2301
2281
|
|
2302
2282
|
# http body (model)
|
2303
|
-
post_body =
|
2283
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
2304
2284
|
|
2305
|
-
|
2306
2285
|
auth_names = ['PureCloud Auth']
|
2307
|
-
data, status_code, headers = @api_client.call_api(:
|
2286
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
2308
2287
|
:header_params => header_params,
|
2309
2288
|
:query_params => query_params,
|
2310
2289
|
:form_params => form_params,
|
2311
2290
|
:body => post_body,
|
2312
2291
|
:auth_names => auth_names,
|
2313
|
-
:return_type => '
|
2292
|
+
:return_type => 'Workspace')
|
2314
2293
|
if @api_client.config.debugging
|
2315
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
2294
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#put_workspaces_workspace_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2316
2295
|
end
|
2317
2296
|
return data, status_code, headers
|
2318
2297
|
end
|
2319
2298
|
|
2320
|
-
#
|
2299
|
+
# Add a member to a workspace
|
2321
2300
|
#
|
2322
2301
|
# @param workspace_id Workspace ID
|
2323
|
-
# @param
|
2302
|
+
# @param member_id Member ID
|
2324
2303
|
# @param [Hash] opts the optional parameters
|
2325
|
-
# @option opts [
|
2326
|
-
# @return [
|
2327
|
-
def
|
2328
|
-
data, status_code, headers =
|
2304
|
+
# @option opts [WorkspaceMember] :body Workspace
|
2305
|
+
# @return [WorkspaceMember]
|
2306
|
+
def put_workspaces_workspace_id_members_member_id(workspace_id, member_id, opts = {})
|
2307
|
+
data, status_code, headers = put_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts)
|
2329
2308
|
return data
|
2330
2309
|
end
|
2331
2310
|
|
2332
|
-
#
|
2311
|
+
# Add a member to a workspace
|
2333
2312
|
#
|
2334
2313
|
# @param workspace_id Workspace ID
|
2335
|
-
# @param
|
2314
|
+
# @param member_id Member ID
|
2336
2315
|
# @param [Hash] opts the optional parameters
|
2337
|
-
# @option opts [
|
2338
|
-
# @return [Array<(
|
2339
|
-
def
|
2316
|
+
# @option opts [WorkspaceMember] :body Workspace
|
2317
|
+
# @return [Array<(WorkspaceMember, Fixnum, Hash)>] WorkspaceMember data, response status code and response headers
|
2318
|
+
def put_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts = {})
|
2340
2319
|
if @api_client.config.debugging
|
2341
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
2320
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#put_workspaces_workspace_id_members_member_id ..."
|
2342
2321
|
end
|
2343
2322
|
|
2344
2323
|
# verify the required parameter 'workspace_id' is set
|
2345
|
-
fail "Missing the required parameter 'workspace_id' when calling
|
2324
|
+
fail "Missing the required parameter 'workspace_id' when calling put_workspaces_workspace_id_members_member_id" if workspace_id.nil?
|
2346
2325
|
|
2347
|
-
# verify the required parameter '
|
2348
|
-
fail "Missing the required parameter '
|
2326
|
+
# verify the required parameter 'member_id' is set
|
2327
|
+
fail "Missing the required parameter 'member_id' when calling put_workspaces_workspace_id_members_member_id" if member_id.nil?
|
2349
2328
|
|
2350
2329
|
# resource path
|
2351
|
-
|
2330
|
+
local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/members/{memberId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
|
2352
2331
|
|
2353
2332
|
# query parameters
|
2354
2333
|
query_params = {}
|
@@ -2370,51 +2349,52 @@ module PureCloud
|
|
2370
2349
|
# http body (model)
|
2371
2350
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
2372
2351
|
|
2373
|
-
|
2374
2352
|
auth_names = ['PureCloud Auth']
|
2375
|
-
data, status_code, headers = @api_client.call_api(:PUT,
|
2353
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
2376
2354
|
:header_params => header_params,
|
2377
2355
|
:query_params => query_params,
|
2378
2356
|
:form_params => form_params,
|
2379
2357
|
:body => post_body,
|
2380
2358
|
:auth_names => auth_names,
|
2381
|
-
:return_type => '
|
2359
|
+
:return_type => 'WorkspaceMember')
|
2382
2360
|
if @api_client.config.debugging
|
2383
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
2361
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#put_workspaces_workspace_id_members_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2384
2362
|
end
|
2385
2363
|
return data, status_code, headers
|
2386
2364
|
end
|
2387
2365
|
|
2388
|
-
#
|
2389
|
-
#
|
2366
|
+
# Update a workspace tag. Will update all documents with the new tag value.
|
2367
|
+
#
|
2390
2368
|
# @param workspace_id Workspace ID
|
2391
2369
|
# @param tag_id Tag ID
|
2392
2370
|
# @param [Hash] opts the optional parameters
|
2393
|
-
# @
|
2394
|
-
|
2395
|
-
|
2396
|
-
|
2371
|
+
# @option opts [TagValue] :body Workspace
|
2372
|
+
# @return [TagValue]
|
2373
|
+
def put_workspaces_workspace_id_tagvalues_tag_id(workspace_id, tag_id, opts = {})
|
2374
|
+
data, status_code, headers = put_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts)
|
2375
|
+
return data
|
2397
2376
|
end
|
2398
2377
|
|
2399
|
-
#
|
2400
|
-
#
|
2378
|
+
# Update a workspace tag. Will update all documents with the new tag value.
|
2379
|
+
#
|
2401
2380
|
# @param workspace_id Workspace ID
|
2402
2381
|
# @param tag_id Tag ID
|
2403
2382
|
# @param [Hash] opts the optional parameters
|
2404
|
-
# @
|
2405
|
-
|
2383
|
+
# @option opts [TagValue] :body Workspace
|
2384
|
+
# @return [Array<(TagValue, Fixnum, Hash)>] TagValue data, response status code and response headers
|
2385
|
+
def put_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts = {})
|
2406
2386
|
if @api_client.config.debugging
|
2407
|
-
@api_client.config.logger.debug "Calling API: ContentManagementApi#
|
2387
|
+
@api_client.config.logger.debug "Calling API: ContentManagementApi#put_workspaces_workspace_id_tagvalues_tag_id ..."
|
2408
2388
|
end
|
2409
2389
|
|
2410
2390
|
# verify the required parameter 'workspace_id' is set
|
2411
|
-
fail "Missing the required parameter 'workspace_id' when calling
|
2391
|
+
fail "Missing the required parameter 'workspace_id' when calling put_workspaces_workspace_id_tagvalues_tag_id" if workspace_id.nil?
|
2412
2392
|
|
2413
2393
|
# verify the required parameter 'tag_id' is set
|
2414
|
-
fail "Missing the required parameter 'tag_id' when calling
|
2394
|
+
fail "Missing the required parameter 'tag_id' when calling put_workspaces_workspace_id_tagvalues_tag_id" if tag_id.nil?
|
2415
2395
|
|
2416
2396
|
# resource path
|
2417
|
-
|
2397
|
+
local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'tagId' + '}', tag_id.to_s)
|
2418
2398
|
|
2419
2399
|
# query parameters
|
2420
2400
|
query_params = {}
|
@@ -2434,24 +2414,20 @@ module PureCloud
|
|
2434
2414
|
form_params = {}
|
2435
2415
|
|
2436
2416
|
# http body (model)
|
2437
|
-
post_body =
|
2417
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
2438
2418
|
|
2439
|
-
|
2440
2419
|
auth_names = ['PureCloud Auth']
|
2441
|
-
data, status_code, headers = @api_client.call_api(:
|
2420
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
2442
2421
|
:header_params => header_params,
|
2443
2422
|
:query_params => query_params,
|
2444
2423
|
:form_params => form_params,
|
2445
2424
|
:body => post_body,
|
2446
|
-
:auth_names => auth_names
|
2425
|
+
:auth_names => auth_names,
|
2426
|
+
:return_type => 'TagValue')
|
2447
2427
|
if @api_client.config.debugging
|
2448
|
-
@api_client.config.logger.debug "API called: ContentManagementApi#
|
2428
|
+
@api_client.config.logger.debug "API called: ContentManagementApi#put_workspaces_workspace_id_tagvalues_tag_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2449
2429
|
end
|
2450
2430
|
return data, status_code, headers
|
2451
2431
|
end
|
2452
2432
|
end
|
2453
2433
|
end
|
2454
|
-
|
2455
|
-
|
2456
|
-
|
2457
|
-
|