purecloud 0.35.1 → 0.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/Gemfile.lock +0 -2
- data/README.md +38 -51
- data/config-ruby.json +1 -1
- data/doc_out/Account.html.md +42 -0
- data/doc_out/AccountManager.html.md +16 -0
- data/doc_out/AccountOverview.html.md +20 -0
- data/doc_out/AccountStatus.html.md +21 -0
- data/doc_out/Actions.html.md +13 -0
- data/doc_out/AcwSettings.html.md +14 -0
- data/doc_out/Address.html.md +20 -0
- data/doc_out/AddressListing.html.md +22 -0
- data/doc_out/Agent.html.md +13 -0
- data/doc_out/AgentActivity.html.md +19 -0
- data/doc_out/AgentActivityEntityListing.html.md +22 -0
- data/doc_out/AgentEvaluatorActivity.html.md +19 -0
- data/doc_out/AggregateDataContainer.html.md +14 -0
- data/doc_out/AggregateMetricData.html.md +15 -0
- data/doc_out/AggregateQueryResponse.html.md +13 -0
- data/doc_out/AggregationQuery.html.md +18 -0
- data/doc_out/AggregationRange.html.md +14 -0
- data/doc_out/AggregationResult.html.md +17 -0
- data/doc_out/AggregationResultEntry.html.md +16 -0
- data/doc_out/AlertingApi.html.md +571 -0
- data/doc_out/AnalyticsApi.html.md +1233 -0
- data/doc_out/AnalyticsConversation.html.md +16 -0
- data/doc_out/AnalyticsConversationQueryResponse.html.md +14 -0
- data/doc_out/AnalyticsConversationSegment.html.md +34 -0
- data/doc_out/AnalyticsEvaluation.html.md +22 -0
- data/doc_out/AnalyticsParticipant.html.md +17 -0
- data/doc_out/AnalyticsProperty.html.md +15 -0
- data/doc_out/AnalyticsQueryAggregation.html.md +17 -0
- data/doc_out/AnalyticsQueryClause.html.md +14 -0
- data/doc_out/AnalyticsQueryFilter.html.md +15 -0
- data/doc_out/AnalyticsQueryPredicate.html.md +20 -0
- data/doc_out/AnalyticsSession.html.md +29 -0
- data/doc_out/Annotation.html.md +20 -0
- data/doc_out/App.html.md +14 -0
- data/doc_out/ArchiveRetention.html.md +14 -0
- data/doc_out/AssociatedDocument.html.md +14 -0
- data/doc_out/Attachment.html.md +17 -0
- data/doc_out/Attribute.html.md +21 -0
- data/doc_out/AttributeEntityListing.html.md +22 -0
- data/doc_out/AttributeFilterItem.html.md +15 -0
- data/doc_out/AttributeQueryRequest.html.md +15 -0
- data/doc_out/AttributesApi.html.md +362 -0
- data/doc_out/AuditChange.html.md +16 -0
- data/doc_out/AuditEntity.html.md +16 -0
- data/doc_out/AuditEntityReference.html.md +17 -0
- data/doc_out/AuditFacet.html.md +14 -0
- data/doc_out/AuditFilter.html.md +16 -0
- data/doc_out/AuditMessage.html.md +28 -0
- data/doc_out/AuditSearchResult.html.md +18 -0
- data/doc_out/AuditUser.html.md +15 -0
- data/doc_out/AuthorizationApi.html.md +1024 -0
- data/doc_out/AutomateQueue.html.md +19 -0
- data/doc_out/AutomateQueueMember.html.md +16 -0
- data/doc_out/AutomateQueueMemberEntityListing.html.md +22 -0
- data/doc_out/AvailableAdditionalService.html.md +22 -0
- data/doc_out/AvailableAdditionalServiceListing.html.md +22 -0
- data/doc_out/AvailableTopic.html.md +15 -0
- data/doc_out/AvailableTopicEntityListing.html.md +22 -0
- data/doc_out/BackendFlowAvailableActions.html.md +13 -0
- data/doc_out/BasicTransform.html.md +14 -0
- data/doc_out/BatchCommand.html.md +14 -0
- data/doc_out/BatchItem.html.md +15 -0
- data/doc_out/BatchItemBody.html.md +13 -0
- data/doc_out/BatchReply.html.md +13 -0
- data/doc_out/BatchReplyItem.html.md +15 -0
- data/doc_out/BillingAddress.html.md +20 -0
- data/doc_out/BillingPeriod.html.md +17 -0
- data/doc_out/Bullseye.html.md +13 -0
- data/doc_out/Calibration.html.md +28 -0
- data/doc_out/CalibrationAssignment.html.md +16 -0
- data/doc_out/CalibrationEntityListing.html.md +22 -0
- data/doc_out/Call.html.md +29 -0
- data/doc_out/CallCommand.html.md +13 -0
- data/doc_out/CallConversation.html.md +18 -0
- data/doc_out/CallConversationEntityListing.html.md +22 -0
- data/doc_out/CallForwarding.html.md +19 -0
- data/doc_out/CallMediaParticipant.html.md +43 -0
- data/doc_out/CallRecord.html.md +14 -0
- data/doc_out/CallableContactsDiagnostic.html.md +15 -0
- data/doc_out/CallableTime.html.md +14 -0
- data/doc_out/CallableTimeSet.html.md +19 -0
- data/doc_out/CallableTimeSetEntityListing.html.md +22 -0
- data/doc_out/Callback.html.md +27 -0
- data/doc_out/CallbackConversation.html.md +17 -0
- data/doc_out/CallbackConversationEntityListing.html.md +22 -0
- data/doc_out/CallbackMediaParticipant.html.md +38 -0
- data/doc_out/Campaign.html.md +38 -0
- data/doc_out/CampaignDiagnostics.html.md +15 -0
- data/doc_out/CampaignEntityListing.html.md +22 -0
- data/doc_out/CampaignProgress.html.md +17 -0
- data/doc_out/CampaignSchedule.html.md +21 -0
- data/doc_out/CampaignScheduleIntervals.html.md +14 -0
- data/doc_out/CampaignSequence.html.md +23 -0
- data/doc_out/CampaignSequenceEntityListing.html.md +22 -0
- data/doc_out/CampaignStats.html.md +16 -0
- data/doc_out/CampaignTimeSlot.html.md +15 -0
- data/doc_out/Carrier.html.md +20 -0
- data/doc_out/CarrierAddress.html.md +17 -0
- data/doc_out/CarrierEntityListing.html.md +22 -0
- data/doc_out/Certificate.html.md +13 -0
- data/doc_out/CertificateAuthorityEntityListing.html.md +22 -0
- data/doc_out/CertificateDetails.html.md +19 -0
- data/doc_out/Change.html.md +16 -0
- data/doc_out/Channel.html.md +14 -0
- data/doc_out/ChannelEntityListing.html.md +22 -0
- data/doc_out/ChannelTopic.html.md +14 -0
- data/doc_out/ChannelTopicEntityListing.html.md +22 -0
- data/doc_out/Charge.html.md +20 -0
- data/doc_out/Chat.html.md +13 -0
- data/doc_out/ChatConversation.html.md +17 -0
- data/doc_out/ChatConversationEntityListing.html.md +22 -0
- data/doc_out/ChatMediaParticipant.html.md +34 -0
- data/doc_out/ChatMessage.html.md +21 -0
- data/doc_out/ChatMessageUser.html.md +17 -0
- data/doc_out/ClientSpreadsheetTransform.html.md +19 -0
- data/doc_out/ClientTextTableTransform.html.md +20 -0
- data/doc_out/ColumnCollapse.html.md +14 -0
- data/doc_out/CommandStatus.html.md +20 -0
- data/doc_out/CommandStatusEntityListing.html.md +22 -0
- data/doc_out/CommonAuditRequest.html.md +19 -0
- data/doc_out/ComposerTemplate.html.md +22 -0
- data/doc_out/Condition.html.md +19 -0
- data/doc_out/ConfigurationApi.html.md +232 -0
- data/doc_out/ConnectRate.html.md +15 -0
- data/doc_out/ConsultTransfer.html.md +14 -0
- data/doc_out/ConsultTransferResponse.html.md +13 -0
- data/doc_out/ConsultTransferUpdate.html.md +13 -0
- data/doc_out/ConsumedResourcesEntityListing.html.md +22 -0
- data/doc_out/ConsumingResourcesEntityListing.html.md +22 -0
- data/doc_out/Contact.html.md +16 -0
- data/doc_out/ContactAddress.html.md +18 -0
- data/doc_out/ContactCallbackRequest.html.md +17 -0
- data/doc_out/ContactList.html.md +24 -0
- data/doc_out/ContactListEntityListing.html.md +22 -0
- data/doc_out/ContactListing.html.md +22 -0
- data/doc_out/ContactPhoneNumberColumn.html.md +15 -0
- data/doc_out/ContactSales.html.md +25 -0
- data/doc_out/ContactSalesResponse.html.md +16 -0
- data/doc_out/ContactSort.html.md +14 -0
- data/doc_out/ContentAttributeFilterItem.html.md +15 -0
- data/doc_out/ContentFacetFilterItem.html.md +16 -0
- data/doc_out/ContentFilterItem.html.md +16 -0
- data/doc_out/ContentManagementApi.html.md +2236 -0
- data/doc_out/ContentQueryRequest.html.md +19 -0
- data/doc_out/ContentSortItem.html.md +14 -0
- data/doc_out/Contract.html.md +18 -0
- data/doc_out/ContractJob.html.md +17 -0
- data/doc_out/Control.html.md +19 -0
- data/doc_out/ControlOptions.html.md +14 -0
- data/doc_out/Conversation.html.md +22 -0
- data/doc_out/ConversationChat.html.md +23 -0
- data/doc_out/ConversationEntityListing.html.md +22 -0
- data/doc_out/ConversationQuery.html.md +20 -0
- data/doc_out/ConversationsApi.html.md +3374 -0
- data/doc_out/CoverSheet.html.md +14 -0
- data/doc_out/CreateCallRequest.html.md +21 -0
- data/doc_out/CreateCallResponse.html.md +15 -0
- data/doc_out/CreateCallbackCommand.html.md +18 -0
- data/doc_out/CreateShareRequest.html.md +17 -0
- data/doc_out/CreateShareRequestMember.html.md +14 -0
- data/doc_out/CreateShareResponse.html.md +23 -0
- data/doc_out/CreateTemplateFromScriptRequestData.html.md +17 -0
- data/doc_out/CreateUser.html.md +19 -0
- data/doc_out/CsvSchema.html.md +19 -0
- data/doc_out/Currency.html.md +16 -0
- data/doc_out/CustomerAccount.html.md +21 -0
- data/doc_out/DID.html.md +28 -0
- data/doc_out/DIDEntityListing.html.md +22 -0
- data/doc_out/DIDPool.html.md +28 -0
- data/doc_out/DIDPoolEntityListing.html.md +22 -0
- data/doc_out/DataItem.html.md +15 -0
- data/doc_out/DataValueInfo.html.md +13 -0
- data/doc_out/DefaultGreetingList.html.md +22 -0
- data/doc_out/DeleteRetention.html.md +13 -0
- data/doc_out/DeletedResourceConsumerEntityListing.html.md +22 -0
- data/doc_out/DeltaDocument.html.md +19 -0
- data/doc_out/DeltaRequest.html.md +13 -0
- data/doc_out/DeltaResponse.html.md +15 -0
- data/doc_out/Dependency.html.md +18 -0
- data/doc_out/DependencyObject.html.md +20 -0
- data/doc_out/DependencyObjectEntityListing.html.md +22 -0
- data/doc_out/DependencyStatus.html.md +21 -0
- data/doc_out/DependencyType.html.md +16 -0
- data/doc_out/DependencyTypeEntityListing.html.md +22 -0
- data/doc_out/Destination.html.md +16 -0
- data/doc_out/Detail.html.md +16 -0
- data/doc_out/DiagnosticEmail.html.md +19 -0
- data/doc_out/DialerAction.html.md +16 -0
- data/doc_out/DialerAuditRequest.html.md +16 -0
- data/doc_out/DialerContact.html.md +20 -0
- data/doc_out/DialerPreview.html.md +17 -0
- data/doc_out/DialerRule.html.md +18 -0
- data/doc_out/DigitLength.html.md +14 -0
- data/doc_out/DisconnectReason.html.md +15 -0
- data/doc_out/Discount.html.md +20 -0
- data/doc_out/DncList.html.md +22 -0
- data/doc_out/DncListEntityListing.html.md +22 -0
- data/doc_out/Dns.html.md +15 -0
- data/doc_out/Document.html.md +43 -0
- data/doc_out/DocumentAttribute.html.md +14 -0
- data/doc_out/DocumentAudit.html.md +28 -0
- data/doc_out/DocumentAuditEntityListing.html.md +22 -0
- data/doc_out/DocumentEntityListing.html.md +22 -0
- data/doc_out/DocumentThumbnail.html.md +14 -0
- data/doc_out/DocumentUpdate.html.md +21 -0
- data/doc_out/DocumentUpload.html.md +16 -0
- data/doc_out/DomainBillingPeriodEntityListing.html.md +22 -0
- data/doc_out/DomainCapabilities.html.md +15 -0
- data/doc_out/DomainCertificateAuthority.html.md +28 -0
- data/doc_out/DomainEdgeSoftwareUpdateDto.html.md +21 -0
- data/doc_out/DomainEdgeSoftwareVersionDto.html.md +20 -0
- data/doc_out/DomainEntity.html.md +15 -0
- data/doc_out/DomainEntityListing.html.md +22 -0
- data/doc_out/DomainEntityListingEvaluationForm.html.md +22 -0
- data/doc_out/DomainEntityListingQueryResult.html.md +22 -0
- data/doc_out/DomainInvoiceEntityListing.html.md +22 -0
- data/doc_out/DomainLogicalInterface.html.md +49 -0
- data/doc_out/DomainNetworkAddress.html.md +16 -0
- data/doc_out/DomainNetworkCommandResponse.html.md +16 -0
- data/doc_out/DomainNetworkRoute.html.md +17 -0
- data/doc_out/DomainOrgRoleDifference.html.md +17 -0
- data/doc_out/DomainOrganizationProduct.html.md +13 -0
- data/doc_out/DomainOrganizationRole.html.md +22 -0
- data/doc_out/DomainPermission.html.md +17 -0
- data/doc_out/DomainPermissionCollection.html.md +17 -0
- data/doc_out/DomainPermissionPolicy.html.md +20 -0
- data/doc_out/DomainPhysicalCapabilities.html.md +14 -0
- data/doc_out/DomainPhysicalInterface.html.md +20 -0
- data/doc_out/DomainResourceConditionNode.html.md +17 -0
- data/doc_out/DomainResourceConditionValue.html.md +16 -0
- data/doc_out/DomainRole.html.md +14 -0
- data/doc_out/DomainSchemaReference.html.md +15 -0
- data/doc_out/DomainThirdPartyAccountEntityListing.html.md +22 -0
- data/doc_out/DomainThirdPartySubscriptionEntityListing.html.md +22 -0
- data/doc_out/DomainVoiceRateExtendedResponseItemEntityListing.html.md +22 -0
- data/doc_out/DomainVoiceRateInternationalResponseItemEntityListing.html.md +22 -0
- data/doc_out/DomainVoiceRateResponseItemEntityListing.html.md +22 -0
- data/doc_out/DownloadResponse.html.md +14 -0
- data/doc_out/DurationCondition.html.md +15 -0
- data/doc_out/Edge.html.md +47 -0
- data/doc_out/EdgeAutoUpdateConfig.html.md +16 -0
- data/doc_out/EdgeEntityListing.html.md +22 -0
- data/doc_out/EdgeGroup.html.md +28 -0
- data/doc_out/EdgeGroupEntityListing.html.md +22 -0
- data/doc_out/EdgeInterface.html.md +20 -0
- data/doc_out/EdgeLine.html.md +23 -0
- data/doc_out/EdgeLineEntityListing.html.md +22 -0
- data/doc_out/EdgeLogsJob.html.md +16 -0
- data/doc_out/EdgeLogsJobFile.html.md +21 -0
- data/doc_out/EdgeLogsJobRequest.html.md +15 -0
- data/doc_out/EdgeLogsJobResponse.html.md +15 -0
- data/doc_out/EdgeLogsJobUploadRequest.html.md +13 -0
- data/doc_out/EdgeVersionInformation.html.md +13 -0
- data/doc_out/EdgeVersionReport.html.md +14 -0
- data/doc_out/Email.html.md +25 -0
- data/doc_out/EmailAddress.html.md +14 -0
- data/doc_out/EmailAttachment.html.md +17 -0
- data/doc_out/EmailConversation.html.md +17 -0
- data/doc_out/EmailConversationEntityListing.html.md +22 -0
- data/doc_out/EmailMediaParticipant.html.md +35 -0
- data/doc_out/EmailMessage.html.md +24 -0
- data/doc_out/EmailMessageListing.html.md +22 -0
- data/doc_out/EmailSetup.html.md +13 -0
- data/doc_out/EmbeddedSignatureView.html.md +13 -0
- data/doc_out/EncryptionKey.html.md +18 -0
- data/doc_out/EncryptionKeyEntityListing.html.md +22 -0
- data/doc_out/Endpoint.html.md +30 -0
- data/doc_out/EndpointEntityListing.html.md +22 -0
- data/doc_out/Entity.html.md +16 -0
- data/doc_out/Entry.html.md +14 -0
- data/doc_out/ErrorBody.html.md +22 -0
- data/doc_out/ErrorDetails.html.md +20 -0
- data/doc_out/EstimatedWaitTimePredictions.html.md +13 -0
- data/doc_out/Evaluation.html.md +31 -0
- data/doc_out/EvaluationAssignment.html.md +14 -0
- data/doc_out/EvaluationEntityListing.html.md +22 -0
- data/doc_out/EvaluationForm.html.md +21 -0
- data/doc_out/EvaluationFormAndScoringSet.html.md +14 -0
- data/doc_out/EvaluationFormEntityListing.html.md +22 -0
- data/doc_out/EvaluationScoringSet.html.md +18 -0
- data/doc_out/EvaluatorActivity.html.md +22 -0
- data/doc_out/EvaluatorActivityEntityListing.html.md +22 -0
- data/doc_out/ExpansionCriterium.html.md +14 -0
- data/doc_out/ExpressionResponse.html.md +23 -0
- data/doc_out/Extension.html.md +28 -0
- data/doc_out/ExtensionEntityListing.html.md +22 -0
- data/doc_out/ExtensionPool.html.md +26 -0
- data/doc_out/ExtensionPoolEntityListing.html.md +22 -0
- data/doc_out/ExternalContact.html.md +30 -0
- data/doc_out/ExternalContactsApi.html.md +1594 -0
- data/doc_out/ExternalOrganization.html.md +28 -0
- data/doc_out/ExternalOrganizationListing.html.md +22 -0
- data/doc_out/FacetEntry.html.md +20 -0
- data/doc_out/FacetInfo.html.md +14 -0
- data/doc_out/FacetKeyAttribute.html.md +15 -0
- data/doc_out/FacetRequest.html.md +19 -0
- data/doc_out/FacetResult.html.md +17 -0
- data/doc_out/FacetResultItem.html.md +19 -0
- data/doc_out/FacetStatistics.html.md +19 -0
- data/doc_out/FacetTerm.html.md +18 -0
- data/doc_out/FailedObject.html.md +16 -0
- data/doc_out/FavoriteTemplateRequestData.html.md +13 -0
- data/doc_out/FaxApi.html.md +354 -0
- data/doc_out/FaxDocument.html.md +30 -0
- data/doc_out/FaxDocumentEntityListing.html.md +22 -0
- data/doc_out/FaxSendRequest.html.md +20 -0
- data/doc_out/FaxSendResponse.html.md +17 -0
- data/doc_out/FaxSummary.html.md +15 -0
- data/doc_out/FilterItem.html.md +17 -0
- data/doc_out/Flow.html.md +24 -0
- data/doc_out/FlowBody.html.md +14 -0
- data/doc_out/FlowBodyFormat.html.md +14 -0
- data/doc_out/FlowConfigId.html.md +16 -0
- data/doc_out/FlowConfigMetaData.html.md +23 -0
- data/doc_out/FlowConfigMetaDataEntityListing.html.md +22 -0
- data/doc_out/FlowDetails.html.md +24 -0
- data/doc_out/FlowDetailsSearchResult.html.md +14 -0
- data/doc_out/FlowEntityListing.html.md +22 -0
- data/doc_out/FlowExecId.html.md +15 -0
- data/doc_out/FlowHistoryItem.html.md +20 -0
- data/doc_out/FlowHistoryResultItem.html.md +15 -0
- data/doc_out/FlowHistoryResultItemEntityListing.html.md +22 -0
- data/doc_out/FlowInputData.html.md +13 -0
- data/doc_out/FlowLaunchRequest.html.md +16 -0
- data/doc_out/FlowPublish.html.md +17 -0
- data/doc_out/FlowReportResultItem.html.md +24 -0
- data/doc_out/FlowSearchRequest.html.md +19 -0
- data/doc_out/FlowState.html.md +15 -0
- data/doc_out/FlowTerminateRequest.html.md +13 -0
- data/doc_out/FlowUploadResponse.html.md +14 -0
- data/doc_out/FlowVersion.html.md +23 -0
- data/doc_out/FlowVersionConfigMetaData.html.md +20 -0
- data/doc_out/FlowVersionConfigMetaDataEntityListing.html.md +22 -0
- data/doc_out/FlowVersionEntityListing.html.md +22 -0
- data/doc_out/Form.html.md +13 -0
- data/doc_out/Gateway.html.md +15 -0
- data/doc_out/Geolocation.html.md +22 -0
- data/doc_out/GeolocationApi.html.md +245 -0
- data/doc_out/GeolocationSettings.html.md +16 -0
- data/doc_out/Gistener.html.md +25 -0
- data/doc_out/Greeting.html.md +24 -0
- data/doc_out/GreetingAudioFile.html.md +15 -0
- data/doc_out/GreetingMediaInfo.html.md +15 -0
- data/doc_out/GreetingOwner.html.md +15 -0
- data/doc_out/GreetingsApi.html.md +712 -0
- data/doc_out/Group.html.md +22 -0
- data/doc_out/GroupEntityListing.html.md +22 -0
- data/doc_out/GroupTag.html.md +19 -0
- data/doc_out/GroupsApi.html.md +314 -0
- data/doc_out/GroupsSearchResponse.html.md +21 -0
- data/doc_out/HIPAAConfig.html.md +16 -0
- data/doc_out/HardwareRate.html.md +18 -0
- data/doc_out/HardwareRateListing.html.md +22 -0
- data/doc_out/HealthCheckInfo.html.md +21 -0
- data/doc_out/IVR.html.md +31 -0
- data/doc_out/IVREntityListing.html.md +22 -0
- data/doc_out/ImportStatus.html.md +17 -0
- data/doc_out/InboundDomain.html.md +17 -0
- data/doc_out/InboundDomainEntityListing.html.md +22 -0
- data/doc_out/InboundRoute.html.md +22 -0
- data/doc_out/InboundRouteEntityListing.html.md +22 -0
- data/doc_out/IndexedTransform.html.md +16 -0
- data/doc_out/IntegrationType.html.md +18 -0
- data/doc_out/IntegrationTypeEntityListing.html.md +22 -0
- data/doc_out/InteractionStatsAlert.html.md +29 -0
- data/doc_out/InteractionStatsAlertContainer.html.md +22 -0
- data/doc_out/InteractionStatsRule.html.md +26 -0
- data/doc_out/InteractionStatsRuleContainer.html.md +22 -0
- data/doc_out/Invoice.html.md +21 -0
- data/doc_out/JsonNode.html.md +33 -0
- data/doc_out/JsonNodeSearchResponse.html.md +21 -0
- data/doc_out/KeyRotationSchedule.html.md +16 -0
- data/doc_out/Language.html.md +18 -0
- data/doc_out/LanguageEntityListing.html.md +22 -0
- data/doc_out/LanguagesApi.html.md +306 -0
- data/doc_out/Library.html.md +18 -0
- data/doc_out/LibraryEntityListing.html.md +22 -0
- data/doc_out/License.html.md +14 -0
- data/doc_out/LicensesByPermission.html.md +15 -0
- data/doc_out/Line.html.md +32 -0
- data/doc_out/LineBase.html.md +17 -0
- data/doc_out/LineBaseEntityListing.html.md +22 -0
- data/doc_out/LineEntityListing.html.md +22 -0
- data/doc_out/LineStatus.html.md +17 -0
- data/doc_out/LinkedEntityListingFlowDetails.html.md +22 -0
- data/doc_out/LinkedEntityListingWorkItemSearchDetails.html.md +22 -0
- data/doc_out/Location.html.md +24 -0
- data/doc_out/LocationAddressFields.html.md +19 -0
- data/doc_out/LocationEmergencyNumber.html.md +15 -0
- data/doc_out/LocationEntityListing.html.md +22 -0
- data/doc_out/LocationsApi.html.md +133 -0
- data/doc_out/LockInfo.html.md +16 -0
- data/doc_out/LogicalInterfaceEntityListing.html.md +22 -0
- data/doc_out/ManagementUnit.html.md +18 -0
- data/doc_out/ManagementUnitTimezone.html.md +13 -0
- data/doc_out/MaxParticipants.html.md +13 -0
- data/doc_out/MediaParticipantRequest.html.md +19 -0
- data/doc_out/MediaPolicies.html.md +15 -0
- data/doc_out/MediaPolicy.html.md +14 -0
- data/doc_out/MediaResult.html.md +14 -0
- data/doc_out/MediaSetting.html.md +14 -0
- data/doc_out/MediaSummary.html.md +14 -0
- data/doc_out/MediaSummaryDetail.html.md +14 -0
- data/doc_out/MemberEntity.html.md +13 -0
- data/doc_out/Metabase.html.md +16 -0
- data/doc_out/MeteredEvaluationAssignment.html.md +18 -0
- data/doc_out/NocSupport.html.md +14 -0
- data/doc_out/Note.html.md +18 -0
- data/doc_out/NoteListing.html.md +22 -0
- data/doc_out/NotificationsApi.html.md +408 -0
- data/doc_out/Number.html.md +14 -0
- data/doc_out/NumberOrderRequest.html.md +17 -0
- data/doc_out/NumberPlan.html.md +31 -0
- data/doc_out/NumericRange.html.md +16 -0
- data/doc_out/OAuthApi.html.md +1192 -0
- data/doc_out/OAuthClient.html.md +21 -0
- data/doc_out/OAuthClientEntityListing.html.md +22 -0
- data/doc_out/OAuthProvider.html.md +15 -0
- data/doc_out/OAuthProviderEntityListing.html.md +22 -0
- data/doc_out/ObservationDataContainer.html.md +14 -0
- data/doc_out/ObservationQuery.html.md +14 -0
- data/doc_out/ObservationQueryResponse.html.md +13 -0
- data/doc_out/Okta.html.md +18 -0
- data/doc_out/OneLogin.html.md +18 -0
- data/doc_out/Order.html.md +17 -0
- data/doc_out/OrgLicenseAssignment.html.md +16 -0
- data/doc_out/OrgMediaUtilization.html.md +14 -0
- data/doc_out/Organization.html.md +23 -0
- data/doc_out/OrganizationApi.html.md +172 -0
- data/doc_out/OrganizationCreate.html.md +18 -0
- data/doc_out/OrganizationPresence.html.md +22 -0
- data/doc_out/OrganizationPresenceEntityListing.html.md +22 -0
- data/doc_out/OrganizationProductEntityListing.html.md +17 -0
- data/doc_out/OrganizationRoleEntityListing.html.md +22 -0
- data/doc_out/OrphanRecording.html.md +23 -0
- data/doc_out/OrphanRecordingListing.html.md +22 -0
- data/doc_out/OutOfOffice.html.md +19 -0
- data/doc_out/OutboundApi.html.md +3780 -0
- data/doc_out/OutboundRoute.html.md +30 -0
- data/doc_out/OutboundRouteEntityListing.html.md +22 -0
- data/doc_out/PINConfiguration.html.md +14 -0
- data/doc_out/Page.html.md +20 -0
- data/doc_out/PagingSpec.html.md +14 -0
- data/doc_out/Parameter.html.md +16 -0
- data/doc_out/ParsedCertificate.html.md +13 -0
- data/doc_out/Participant.html.md +44 -0
- data/doc_out/ParticipantAttributes.html.md +13 -0
- data/doc_out/PaymentMethod.html.md +18 -0
- data/doc_out/PaymentMethodListing.html.md +22 -0
- data/doc_out/PaymentTokenProvider.html.md +16 -0
- data/doc_out/PermissionCollectionEntityListing.html.md +22 -0
- data/doc_out/Permissions.html.md +15 -0
- data/doc_out/Phone.html.md +34 -0
- data/doc_out/PhoneBase.html.md +19 -0
- data/doc_out/PhoneBaseEntityListing.html.md +22 -0
- data/doc_out/PhoneCapabilities.html.md +18 -0
- data/doc_out/PhoneColumn.html.md +14 -0
- data/doc_out/PhoneEntityListing.html.md +22 -0
- data/doc_out/PhoneMetaBaseEntityListing.html.md +22 -0
- data/doc_out/PhoneNumber.html.md +18 -0
- data/doc_out/PhoneNumberColumn.html.md +14 -0
- data/doc_out/PhoneNumberStatus.html.md +13 -0
- data/doc_out/PhoneStatus.html.md +21 -0
- data/doc_out/PhonesReboot.html.md +14 -0
- data/doc_out/PhysicalInterfaceEntityListing.html.md +22 -0
- data/doc_out/Policy.html.md +24 -0
- data/doc_out/PolicyActions.html.md +18 -0
- data/doc_out/PolicyConditions.html.md +20 -0
- data/doc_out/PolicyEntityListing.html.md +22 -0
- data/doc_out/PolicyErrorMessage.html.md +19 -0
- data/doc_out/PolicyErrors.html.md +13 -0
- data/doc_out/PredictionResults.html.md +14 -0
- data/doc_out/PresenceApi.html.md +427 -0
- data/doc_out/PresenceQueryResponse.html.md +14 -0
- data/doc_out/Product.html.md +17 -0
- data/doc_out/Prompt.html.md +17 -0
- data/doc_out/PromptAsset.html.md +24 -0
- data/doc_out/PromptAssetEntityListing.html.md +22 -0
- data/doc_out/PromptEntityListing.html.md +22 -0
- data/doc_out/PropertyIndexRequest.html.md +15 -0
- data/doc_out/ProvisionInfo.html.md +15 -0
- data/doc_out/Publication.html.md +20 -0
- data/doc_out/PublishScriptRequestData.html.md +14 -0
- data/doc_out/PublishedResult.html.md +18 -0
- data/doc_out/PureCloud.html.md +15 -0
- data/doc_out/QualityApi.html.md +1569 -0
- data/doc_out/QualityAudit.html.md +23 -0
- data/doc_out/QualityAuditPage.html.md +22 -0
- data/doc_out/QueryFacetInfo.html.md +14 -0
- data/doc_out/QueryRequest.html.md +19 -0
- data/doc_out/QueryResult.html.md +16 -0
- data/doc_out/QueryResults.html.md +14 -0
- data/doc_out/QuestionGroup.html.md +21 -0
- data/doc_out/QuestionGroupScore.html.md +23 -0
- data/doc_out/QuestionScore.html.md +18 -0
- data/doc_out/Queue.html.md +32 -0
- data/doc_out/QueueEntityListing.html.md +22 -0
- data/doc_out/QueueMember.html.md +20 -0
- data/doc_out/QueueUtilizationDiagnostic.html.md +20 -0
- data/doc_out/QueuesEntityListing.html.md +22 -0
- data/doc_out/Quote.html.md +32 -0
- data/doc_out/QuoteCharge.html.md +25 -0
- data/doc_out/QuoteListing.html.md +22 -0
- data/doc_out/Rate.html.md +17 -0
- data/doc_out/Reaction.html.md +15 -0
- data/doc_out/Recording.html.md +34 -0
- data/doc_out/RecordingApi.html.md +1243 -0
- data/doc_out/RecordingEmailMessage.html.md +22 -0
- data/doc_out/RecordingSettings.html.md +13 -0
- data/doc_out/Relationship.html.md +18 -0
- data/doc_out/RelationshipListing.html.md +22 -0
- data/doc_out/ReplaceRequest.html.md +15 -0
- data/doc_out/ReplaceResponse.html.md +18 -0
- data/doc_out/ReportMetaData.html.md +21 -0
- data/doc_out/ReportMetaDataEntityListing.html.md +22 -0
- data/doc_out/ReportRequest.html.md +18 -0
- data/doc_out/ReportRunEntry.html.md +23 -0
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +22 -0
- data/doc_out/ReportSchedule.html.md +29 -0
- data/doc_out/ReportScheduleEntityListing.html.md +22 -0
- data/doc_out/Reservation.html.md +16 -0
- data/doc_out/ResourceConditionNode.html.md +17 -0
- data/doc_out/ResourceConditionValue.html.md +14 -0
- data/doc_out/ResourcePermissionPolicy.html.md +22 -0
- data/doc_out/Response.html.md +20 -0
- data/doc_out/ResponseEntityList.html.md +22 -0
- data/doc_out/ResponseEntityListing.html.md +22 -0
- data/doc_out/ResponseFilter.html.md +15 -0
- data/doc_out/ResponseManagementApi.html.md +657 -0
- data/doc_out/ResponseQueryRequest.html.md +15 -0
- data/doc_out/ResponseQueryResults.html.md +13 -0
- data/doc_out/ResponseSet.html.md +19 -0
- data/doc_out/ResponseSetEntityListing.html.md +22 -0
- data/doc_out/ResponseText.html.md +14 -0
- data/doc_out/RestErrorDetail.html.md +14 -0
- data/doc_out/RetentionDuration.html.md +14 -0
- data/doc_out/Ring.html.md +14 -0
- data/doc_out/RoutingApi.html.md +2388 -0
- data/doc_out/RoutingSkill.html.md +19 -0
- data/doc_out/RoutingStatus.html.md +15 -0
- data/doc_out/RuleSet.html.md +21 -0
- data/doc_out/RuleSetEntityListing.html.md +22 -0
- data/doc_out/RunNowResponse.html.md +15 -0
- data/doc_out/Salesforce.html.md +18 -0
- data/doc_out/Schedule.html.md +28 -0
- data/doc_out/ScheduleEntityListing.html.md +22 -0
- data/doc_out/ScheduleGroup.html.md +27 -0
- data/doc_out/ScheduleGroupEntityListing.html.md +22 -0
- data/doc_out/SchemaCategory.html.md +15 -0
- data/doc_out/SchemaCategoryEntityListing.html.md +22 -0
- data/doc_out/SchemaReferenceEntityListing.html.md +22 -0
- data/doc_out/Script.html.md +25 -0
- data/doc_out/ScriptEntityListing.html.md +22 -0
- data/doc_out/SearchAggregation.html.md +15 -0
- data/doc_out/SearchApi.html.md +366 -0
- data/doc_out/SearchCriteria.html.md +20 -0
- data/doc_out/SearchRequest.html.md +21 -0
- data/doc_out/SecurityProfile.html.md +16 -0
- data/doc_out/SecurityProfileEntityListing.html.md +22 -0
- data/doc_out/Segment.html.md +17 -0
- data/doc_out/SequenceSchedule.html.md +21 -0
- data/doc_out/ServerDate.html.md +13 -0
- data/doc_out/Service.html.md +22 -0
- data/doc_out/ServiceContext.html.md +13 -0
- data/doc_out/ServiceEntityListing.html.md +22 -0
- data/doc_out/ServiceLevel.html.md +14 -0
- data/doc_out/ServiceType.html.md +19 -0
- data/doc_out/Share.html.md +22 -0
- data/doc_out/ShareEntityListing.html.md +22 -0
- data/doc_out/SharedEntity.html.md +13 -0
- data/doc_out/SharedResponse.html.md +17 -0
- data/doc_out/SheetSchema.html.md +18 -0
- data/doc_out/SheetTransform.html.md +15 -0
- data/doc_out/SignatureDocumentInfo.html.md +15 -0
- data/doc_out/Site.html.md +33 -0
- data/doc_out/SiteEntityListing.html.md +22 -0
- data/doc_out/SkillEntityListing.html.md +22 -0
- data/doc_out/SkillsToRemove.html.md +15 -0
- data/doc_out/Snapshot.html.md +15 -0
- data/doc_out/SocialAccount.html.md +24 -0
- data/doc_out/SocialConversation.html.md +17 -0
- data/doc_out/SocialConversationEntityListing.html.md +22 -0
- data/doc_out/SocialExpression.html.md +25 -0
- data/doc_out/SocialMediaParticipant.html.md +37 -0
- data/doc_out/SocializeEntityFilter.html.md +15 -0
- data/doc_out/SocializeFilterRequest.html.md +17 -0
- data/doc_out/SortBy.html.md +14 -0
- data/doc_out/SortField.html.md +14 -0
- data/doc_out/SortItem.html.md +14 -0
- data/doc_out/SpreadsheetTransform.html.md +21 -0
- data/doc_out/SpreadsheetTransformEntityListing.html.md +22 -0
- data/doc_out/Station.html.md +21 -0
- data/doc_out/StationEntityListing.html.md +22 -0
- data/doc_out/StationsApi.html.md +190 -0
- data/doc_out/StatisticalResponse.html.md +14 -0
- data/doc_out/StatisticalSummary.html.md +21 -0
- data/doc_out/SubDataItem.html.md +17 -0
- data/doc_out/SubscriberResponse.html.md +14 -0
- data/doc_out/Support.html.md +15 -0
- data/doc_out/SystemPrompt.html.md +17 -0
- data/doc_out/SystemPromptAsset.html.md +25 -0
- data/doc_out/SystemPromptAssetEntityListing.html.md +22 -0
- data/doc_out/SystemPromptEntityListing.html.md +22 -0
- data/doc_out/TableTransform.html.md +18 -0
- data/doc_out/TagModel.html.md +14 -0
- data/doc_out/TagQueryRequest.html.md +15 -0
- data/doc_out/TagValue.html.md +17 -0
- data/doc_out/TagValueEntityListing.html.md +22 -0
- data/doc_out/TelephonyProvidersEdgeApi.html.md +6283 -0
- data/doc_out/TemplateEntityListing.html.md +22 -0
- data/doc_out/TermAttribute.html.md +15 -0
- data/doc_out/TextTableTransform.html.md +21 -0
- data/doc_out/TextTableTransformEntityListing.html.md +22 -0
- data/doc_out/ThirdPartyAccount.html.md +19 -0
- data/doc_out/ThirdPartySubscription.html.md +18 -0
- data/doc_out/Ticker.html.md +14 -0
- data/doc_out/Tier.html.md +14 -0
- data/doc_out/TimeAllowed.html.md +15 -0
- data/doc_out/TimeInterval.html.md +14 -0
- data/doc_out/TimeSlot.html.md +15 -0
- data/doc_out/TimeZone.html.md +16 -0
- data/doc_out/TimeZoneEntityListing.html.md +22 -0
- data/doc_out/TokensApi.html.md +63 -0
- data/doc_out/Trace.html.md +19 -0
- data/doc_out/TraceList.html.md +14 -0
- data/doc_out/TransferRequest.html.md +17 -0
- data/doc_out/TransformEndpoint.html.md +24 -0
- data/doc_out/TransformLens.html.md +14 -0
- data/doc_out/TrunkBase.html.md +28 -0
- data/doc_out/TrunkBaseAssignment.html.md +14 -0
- data/doc_out/TrunkMetabaseEntityListing.html.md +22 -0
- data/doc_out/TwitterExpression.html.md +36 -0
- data/doc_out/TwitterExpressionBuffer.html.md +13 -0
- data/doc_out/UnpivotColumns.html.md +13 -0
- data/doc_out/UnreadMetric.html.md +13 -0
- data/doc_out/UnreadStatus.html.md +13 -0
- data/doc_out/UploadProgress.html.md +19 -0
- data/doc_out/UriReference.html.md +15 -0
- data/doc_out/UrlResponse.html.md +13 -0
- data/doc_out/User.html.md +32 -0
- data/doc_out/UserActionCategory.html.md +15 -0
- data/doc_out/UserActionCategoryEntityListing.html.md +22 -0
- data/doc_out/UserActionMetadata.html.md +22 -0
- data/doc_out/UserActionMetadataEntityListing.html.md +20 -0
- data/doc_out/UserActionMetadataRequest.html.md +18 -0
- data/doc_out/UserAuthorization.html.md +15 -0
- data/doc_out/UserConversationSummary.html.md +19 -0
- data/doc_out/UserEntityListing.html.md +22 -0
- data/doc_out/UserImage.html.md +14 -0
- data/doc_out/UserLicenseAssignment.html.md +17 -0
- data/doc_out/UserMe.html.md +33 -0
- data/doc_out/UserParam.html.md +14 -0
- data/doc_out/UserPresence.html.md +19 -0
- data/doc_out/UserQueue.html.md +33 -0
- data/doc_out/UserQueueEntityListing.html.md +22 -0
- data/doc_out/UserRecording.html.md +25 -0
- data/doc_out/UserRecordingEntityListing.html.md +22 -0
- data/doc_out/UserRecordingsApi.html.md +366 -0
- data/doc_out/UserRoutingSkill.html.md +18 -0
- data/doc_out/UserSkillEntityListing.html.md +22 -0
- data/doc_out/UserStation.html.md +16 -0
- data/doc_out/UserStations.html.md +16 -0
- data/doc_out/UsersApi.html.md +2104 -0
- data/doc_out/UsersEntityListing.html.md +22 -0
- data/doc_out/UsersSearchResponse.html.md +21 -0
- data/doc_out/UtilitiesApi.html.md +181 -0
- data/doc_out/Utilization.html.md +13 -0
- data/doc_out/ValidateAddressRequest.html.md +13 -0
- data/doc_out/ValidateAddressResponse.html.md +14 -0
- data/doc_out/Value.html.md +19 -0
- data/doc_out/VendorConnectionRequest.html.md +15 -0
- data/doc_out/Video.html.md +22 -0
- data/doc_out/VideoConversation.html.md +17 -0
- data/doc_out/VideoConversationEntityListing.html.md +22 -0
- data/doc_out/VideoMediaParticipant.html.md +38 -0
- data/doc_out/View.html.md +13 -0
- data/doc_out/VoiceRate.html.md +22 -0
- data/doc_out/VoiceRateExtended.html.md +31 -0
- data/doc_out/VoiceRateInternational.html.md +24 -0
- data/doc_out/VoiceRateInternationalEntityListing.html.md +22 -0
- data/doc_out/VoiceRateUpdate.html.md +25 -0
- data/doc_out/VoiceRatesCsv.html.md +16 -0
- data/doc_out/VoiceXmlOperation.html.md +24 -0
- data/doc_out/VoiceXmlOperationEntityListing.html.md +22 -0
- data/doc_out/VoicemailApi.html.md +627 -0
- data/doc_out/VoicemailMailboxInfo.html.md +18 -0
- data/doc_out/VoicemailMediaInfo.html.md +15 -0
- data/doc_out/VoicemailMessage.html.md +23 -0
- data/doc_out/VoicemailMessageEntityListing.html.md +22 -0
- data/doc_out/VoicemailOrganizationPolicy.html.md +27 -0
- data/doc_out/VoicemailUserPolicy.html.md +23 -0
- data/doc_out/Vpn.html.md +15 -0
- data/doc_out/WorkItem.html.md +15 -0
- data/doc_out/WorkItemActions.html.md +13 -0
- data/doc_out/WorkItemCache.html.md +17 -0
- data/doc_out/WorkItemCommand.html.md +14 -0
- data/doc_out/WorkItemCommandGroup.html.md +15 -0
- data/doc_out/WorkItemDefinition.html.md +16 -0
- data/doc_out/WorkItemDetails.html.md +32 -0
- data/doc_out/WorkItemSearchDetails.html.md +13 -0
- data/doc_out/WorkItemSearchDetailsSearchResult.html.md +14 -0
- data/doc_out/WorkItemSubmitRequest.html.md +14 -0
- data/doc_out/WorkItemTransferRequest.html.md +14 -0
- data/doc_out/Workspace.html.md +23 -0
- data/doc_out/WorkspaceCreate.html.md +14 -0
- data/doc_out/WorkspaceEntityListing.html.md +22 -0
- data/doc_out/WorkspaceMember.html.md +21 -0
- data/doc_out/WorkspaceMemberEntityListing.html.md +22 -0
- data/doc_out/WorkspaceSummary.html.md +13 -0
- data/doc_out/WrapUpCodeMapping.html.md +20 -0
- data/doc_out/Wrapup.html.md +19 -0
- data/doc_out/WrapupCode.html.md +19 -0
- data/doc_out/WrapupCodeEntityListing.html.md +22 -0
- data/doc_out/XlsxSchema.html.md +15 -0
- data/doc_out/index.html.md +56 -0
- data/external/swagger-codegen-cli.jar +0 -0
- data/git_push.sh +52 -0
- data/lib/purecloud.rb +679 -664
- data/lib/purecloud/api/alerting_api.rb +157 -155
- data/lib/purecloud/api/analytics_api.rb +384 -393
- data/lib/purecloud/api/attributes_api.rb +115 -109
- data/lib/purecloud/api/authorization_api.rb +322 -327
- data/lib/purecloud/api/configuration_api.rb +46 -38
- data/lib/purecloud/api/content_management_api.rb +739 -763
- data/lib/purecloud/api/conversations_api.rb +1082 -1126
- data/lib/purecloud/api/external_contacts_api.rb +522 -536
- data/lib/purecloud/api/fax_api.rb +110 -104
- data/lib/purecloud/api/geolocation_api.rb +61 -53
- data/lib/purecloud/api/greetings_api.rb +216 -216
- data/lib/purecloud/api/groups_api.rb +121 -114
- data/lib/purecloud/api/languages_api.rb +99 -92
- data/lib/purecloud/api/locations_api.rb +59 -49
- data/lib/purecloud/api/notifications_api.rb +97 -92
- data/lib/purecloud/api/o_auth_api.rb +330 -340
- data/lib/purecloud/api/organization_api.rb +53 -44
- data/lib/purecloud/api/outbound_api.rb +1259 -1310
- data/lib/purecloud/api/presence_api.rb +152 -147
- data/lib/purecloud/api/quality_api.rb +624 -636
- data/lib/purecloud/api/recording_api.rb +396 -404
- data/lib/purecloud/api/response_management_api.rb +200 -199
- data/lib/purecloud/api/routing_api.rb +721 -749
- data/lib/purecloud/api/search_api.rb +74 -68
- data/lib/purecloud/api/stations_api.rb +59 -50
- data/lib/purecloud/api/telephony_providers_edge_api.rb +1921 -2014
- data/lib/purecloud/api/tokens_api.rb +18 -7
- data/lib/purecloud/api/user_recordings_api.rb +129 -123
- data/lib/purecloud/api/users_api.rb +618 -641
- data/lib/purecloud/api/utilities_api.rb +62 -53
- data/lib/purecloud/api/voicemail_api.rb +186 -185
- data/lib/purecloud/api_client.rb +48 -14
- data/lib/purecloud/api_error.rb +16 -0
- data/lib/purecloud/models/account.rb +20 -1
- data/lib/purecloud/models/account_manager.rb +20 -1
- data/lib/purecloud/models/account_overview.rb +20 -1
- data/lib/purecloud/models/account_status.rb +20 -1
- data/lib/purecloud/models/actions.rb +20 -1
- data/lib/purecloud/models/acw_settings.rb +20 -1
- data/lib/purecloud/models/address.rb +20 -1
- data/lib/purecloud/models/address_listing.rb +20 -1
- data/lib/purecloud/models/agent.rb +20 -1
- data/lib/purecloud/models/agent_activity.rb +20 -1
- data/lib/purecloud/models/agent_activity_entity_listing.rb +20 -1
- data/lib/purecloud/models/agent_evaluator_activity.rb +20 -1
- data/lib/purecloud/models/aggregate_data_container.rb +20 -1
- data/lib/purecloud/models/aggregate_metric_data.rb +20 -1
- data/lib/purecloud/models/aggregate_query_response.rb +20 -1
- data/lib/purecloud/models/aggregation_query.rb +20 -1
- data/lib/purecloud/models/aggregation_range.rb +20 -1
- data/lib/purecloud/models/aggregation_result.rb +20 -1
- data/lib/purecloud/models/aggregation_result_entry.rb +20 -1
- data/lib/purecloud/models/analytics_conversation.rb +20 -1
- data/lib/purecloud/models/analytics_conversation_query_response.rb +20 -1
- data/lib/purecloud/models/analytics_conversation_segment.rb +20 -1
- data/lib/purecloud/models/analytics_evaluation.rb +20 -1
- data/lib/purecloud/models/analytics_participant.rb +20 -1
- data/lib/purecloud/models/analytics_property.rb +20 -1
- data/lib/purecloud/models/analytics_query_aggregation.rb +20 -1
- data/lib/purecloud/models/analytics_query_clause.rb +20 -1
- data/lib/purecloud/models/analytics_query_filter.rb +20 -1
- data/lib/purecloud/models/analytics_query_predicate.rb +20 -1
- data/lib/purecloud/models/analytics_session.rb +20 -1
- data/lib/purecloud/models/annotation.rb +20 -1
- data/lib/purecloud/models/app.rb +20 -1
- data/lib/purecloud/models/archive_retention.rb +20 -1
- data/lib/purecloud/models/associated_document.rb +20 -1
- data/lib/purecloud/models/attachment.rb +20 -1
- data/lib/purecloud/models/attribute.rb +20 -1
- data/lib/purecloud/models/attribute_entity_listing.rb +20 -1
- data/lib/purecloud/models/attribute_filter_item.rb +20 -1
- data/lib/purecloud/models/attribute_query_request.rb +20 -1
- data/lib/purecloud/models/audit_change.rb +20 -1
- data/lib/purecloud/models/audit_entity.rb +20 -1
- data/lib/purecloud/models/audit_entity_reference.rb +20 -1
- data/lib/purecloud/models/audit_facet.rb +20 -1
- data/lib/purecloud/models/audit_filter.rb +20 -1
- data/lib/purecloud/models/audit_message.rb +20 -1
- data/lib/purecloud/models/audit_search_result.rb +20 -1
- data/lib/purecloud/models/audit_user.rb +20 -1
- data/lib/purecloud/models/automate_queue.rb +21 -2
- data/lib/purecloud/models/automate_queue_member.rb +20 -1
- data/lib/purecloud/models/automate_queue_member_entity_listing.rb +20 -1
- data/lib/purecloud/models/available_additional_service.rb +20 -1
- data/lib/purecloud/models/available_additional_service_listing.rb +20 -1
- data/lib/purecloud/models/available_topic.rb +21 -2
- data/lib/purecloud/models/available_topic_entity_listing.rb +20 -1
- data/lib/purecloud/models/backend_flow_available_actions.rb +20 -1
- data/lib/purecloud/models/basic_transform.rb +20 -1
- data/lib/purecloud/models/batch_command.rb +20 -1
- data/lib/purecloud/models/batch_item.rb +20 -1
- data/lib/purecloud/models/batch_item_body.rb +20 -1
- data/lib/purecloud/models/batch_reply.rb +20 -1
- data/lib/purecloud/models/batch_reply_item.rb +20 -1
- data/lib/purecloud/models/billing_address.rb +20 -1
- data/lib/purecloud/models/billing_period.rb +20 -1
- data/lib/purecloud/models/bullseye.rb +20 -1
- data/lib/purecloud/models/calibration.rb +20 -1
- data/lib/purecloud/models/calibration_assignment.rb +20 -1
- data/lib/purecloud/models/calibration_entity_listing.rb +20 -1
- data/lib/purecloud/models/call.rb +20 -1
- data/lib/purecloud/models/call_command.rb +20 -1
- data/lib/purecloud/models/call_conversation.rb +20 -1
- data/lib/purecloud/models/call_conversation_entity_listing.rb +20 -1
- data/lib/purecloud/models/call_forwarding.rb +20 -1
- data/lib/purecloud/models/call_media_participant.rb +20 -1
- data/lib/purecloud/models/call_record.rb +20 -1
- data/lib/purecloud/models/callable_contacts_diagnostic.rb +20 -1
- data/lib/purecloud/models/callable_time.rb +20 -1
- data/lib/purecloud/models/callable_time_set.rb +20 -1
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +20 -1
- data/lib/purecloud/models/callback.rb +20 -1
- data/lib/purecloud/models/callback_conversation.rb +20 -1
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +20 -1
- data/lib/purecloud/models/callback_media_participant.rb +20 -1
- data/lib/purecloud/models/campaign.rb +20 -1
- data/lib/purecloud/models/campaign_diagnostics.rb +20 -1
- data/lib/purecloud/models/campaign_entity_listing.rb +20 -1
- data/lib/purecloud/models/campaign_progress.rb +20 -1
- data/lib/purecloud/models/campaign_schedule.rb +21 -2
- data/lib/purecloud/models/campaign_schedule_intervals.rb +20 -1
- data/lib/purecloud/models/campaign_sequence.rb +20 -1
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +20 -1
- data/lib/purecloud/models/campaign_stats.rb +20 -1
- data/lib/purecloud/models/campaign_time_slot.rb +20 -1
- data/lib/purecloud/models/carrier.rb +20 -1
- data/lib/purecloud/models/carrier_address.rb +20 -1
- data/lib/purecloud/models/carrier_entity_listing.rb +20 -1
- data/lib/purecloud/models/certificate.rb +20 -1
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +20 -1
- data/lib/purecloud/models/certificate_details.rb +20 -1
- data/lib/purecloud/models/change.rb +20 -1
- data/lib/purecloud/models/channel.rb +20 -1
- data/lib/purecloud/models/channel_entity_listing.rb +20 -1
- data/lib/purecloud/models/channel_topic.rb +20 -1
- data/lib/purecloud/models/channel_topic_entity_listing.rb +20 -1
- data/lib/purecloud/models/charge.rb +20 -1
- data/lib/purecloud/models/chat.rb +20 -1
- data/lib/purecloud/models/chat_conversation.rb +20 -1
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +20 -1
- data/lib/purecloud/models/chat_media_participant.rb +20 -1
- data/lib/purecloud/models/chat_message.rb +20 -1
- data/lib/purecloud/models/chat_message_user.rb +20 -1
- data/lib/purecloud/models/client_spreadsheet_transform.rb +20 -1
- data/lib/purecloud/models/client_text_table_transform.rb +20 -1
- data/lib/purecloud/models/column_collapse.rb +20 -1
- data/lib/purecloud/models/command_status.rb +20 -1
- data/lib/purecloud/models/command_status_entity_listing.rb +20 -1
- data/lib/purecloud/models/common_audit_request.rb +20 -1
- data/lib/purecloud/models/composer_template.rb +21 -2
- data/lib/purecloud/models/condition.rb +20 -1
- data/lib/purecloud/models/connect_rate.rb +20 -1
- data/lib/purecloud/models/consult_transfer.rb +20 -1
- data/lib/purecloud/models/consult_transfer_response.rb +20 -1
- data/lib/purecloud/models/consult_transfer_update.rb +20 -1
- data/lib/purecloud/models/consumed_resources_entity_listing.rb +20 -1
- data/lib/purecloud/models/consuming_resources_entity_listing.rb +20 -1
- data/lib/purecloud/models/contact.rb +20 -1
- data/lib/purecloud/models/contact_address.rb +20 -1
- data/lib/purecloud/models/contact_callback_request.rb +20 -1
- data/lib/purecloud/models/contact_list.rb +20 -1
- data/lib/purecloud/models/contact_list_entity_listing.rb +20 -1
- data/lib/purecloud/models/contact_listing.rb +20 -1
- data/lib/purecloud/models/contact_phone_number_column.rb +20 -1
- data/lib/purecloud/models/contact_sales.rb +20 -1
- data/lib/purecloud/models/contact_sales_response.rb +20 -1
- data/lib/purecloud/models/contact_sort.rb +20 -1
- data/lib/purecloud/models/content_attribute_filter_item.rb +20 -1
- data/lib/purecloud/models/content_facet_filter_item.rb +20 -1
- data/lib/purecloud/models/content_filter_item.rb +20 -1
- data/lib/purecloud/models/content_query_request.rb +20 -1
- data/lib/purecloud/models/content_sort_item.rb +20 -1
- data/lib/purecloud/models/contract.rb +20 -1
- data/lib/purecloud/models/contract_job.rb +20 -1
- data/lib/purecloud/models/control.rb +20 -1
- data/lib/purecloud/models/control_options.rb +20 -1
- data/lib/purecloud/models/conversation.rb +20 -1
- data/lib/purecloud/models/conversation_chat.rb +20 -1
- data/lib/purecloud/models/conversation_entity_listing.rb +20 -1
- data/lib/purecloud/models/conversation_query.rb +20 -1
- data/lib/purecloud/models/cover_sheet.rb +20 -1
- data/lib/purecloud/models/create_call_request.rb +20 -1
- data/lib/purecloud/models/create_call_response.rb +20 -1
- data/lib/purecloud/models/create_callback_command.rb +20 -1
- data/lib/purecloud/models/create_share_request.rb +20 -1
- data/lib/purecloud/models/create_share_request_member.rb +20 -1
- data/lib/purecloud/models/create_share_response.rb +20 -1
- data/lib/purecloud/models/create_template_from_script_request_data.rb +20 -1
- data/lib/purecloud/models/create_user.rb +20 -1
- data/lib/purecloud/models/csv_schema.rb +20 -1
- data/lib/purecloud/models/currency.rb +20 -1
- data/lib/purecloud/models/customer_account.rb +20 -1
- data/lib/purecloud/models/data_item.rb +20 -1
- data/lib/purecloud/models/data_value_info.rb +20 -1
- data/lib/purecloud/models/default_greeting_list.rb +20 -1
- data/lib/purecloud/models/delete_retention.rb +20 -1
- data/lib/purecloud/models/deleted_resource_consumer_entity_listing.rb +20 -1
- data/lib/purecloud/models/delta_document.rb +20 -1
- data/lib/purecloud/models/delta_request.rb +20 -1
- data/lib/purecloud/models/delta_response.rb +20 -1
- data/lib/purecloud/models/dependency.rb +20 -1
- data/lib/purecloud/models/dependency_object.rb +20 -1
- data/lib/purecloud/models/dependency_object_entity_listing.rb +20 -1
- data/lib/purecloud/models/dependency_status.rb +20 -1
- data/lib/purecloud/models/dependency_type.rb +20 -1
- data/lib/purecloud/models/dependency_type_entity_listing.rb +20 -1
- data/lib/purecloud/models/destination.rb +20 -1
- data/lib/purecloud/models/detail.rb +20 -1
- data/lib/purecloud/models/diagnostic_email.rb +20 -1
- data/lib/purecloud/models/dialer_action.rb +20 -1
- data/lib/purecloud/models/dialer_audit_request.rb +20 -1
- data/lib/purecloud/models/dialer_contact.rb +21 -2
- data/lib/purecloud/models/dialer_preview.rb +20 -1
- data/lib/purecloud/models/dialer_rule.rb +20 -1
- data/lib/purecloud/models/did.rb +20 -1
- data/lib/purecloud/models/did_entity_listing.rb +20 -1
- data/lib/purecloud/models/did_pool.rb +20 -1
- data/lib/purecloud/models/did_pool_entity_listing.rb +20 -1
- data/lib/purecloud/models/digit_length.rb +20 -1
- data/lib/purecloud/models/disconnect_reason.rb +20 -1
- data/lib/purecloud/models/discount.rb +20 -1
- data/lib/purecloud/models/dnc_list.rb +20 -1
- data/lib/purecloud/models/dnc_list_entity_listing.rb +20 -1
- data/lib/purecloud/models/dns.rb +20 -1
- data/lib/purecloud/models/document.rb +20 -1
- data/lib/purecloud/models/document_attribute.rb +20 -1
- data/lib/purecloud/models/document_audit.rb +20 -1
- data/lib/purecloud/models/document_audit_entity_listing.rb +20 -1
- data/lib/purecloud/models/document_entity_listing.rb +20 -1
- data/lib/purecloud/models/document_thumbnail.rb +20 -1
- data/lib/purecloud/models/document_update.rb +20 -1
- data/lib/purecloud/models/document_upload.rb +20 -1
- data/lib/purecloud/models/domain_billing_period_entity_listing.rb +20 -1
- data/lib/purecloud/models/domain_capabilities.rb +20 -1
- data/lib/purecloud/models/domain_certificate_authority.rb +20 -1
- data/lib/purecloud/models/domain_edge_software_update_dto.rb +20 -1
- data/lib/purecloud/models/domain_edge_software_version_dto.rb +20 -1
- data/lib/purecloud/models/domain_entity.rb +20 -1
- data/lib/purecloud/models/domain_entity_listing.rb +20 -1
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +20 -1
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +20 -1
- data/lib/purecloud/models/domain_invoice_entity_listing.rb +20 -1
- data/lib/purecloud/models/domain_logical_interface.rb +20 -1
- data/lib/purecloud/models/domain_network_address.rb +20 -1
- data/lib/purecloud/models/domain_network_command_response.rb +20 -1
- data/lib/purecloud/models/domain_network_route.rb +20 -1
- data/lib/purecloud/models/domain_org_role_difference.rb +20 -1
- data/lib/purecloud/models/domain_organization_product.rb +20 -1
- data/lib/purecloud/models/domain_organization_role.rb +20 -1
- data/lib/purecloud/models/domain_permission.rb +20 -1
- data/lib/purecloud/models/domain_permission_collection.rb +20 -1
- data/lib/purecloud/models/domain_permission_policy.rb +20 -1
- data/lib/purecloud/models/domain_physical_capabilities.rb +20 -1
- data/lib/purecloud/models/domain_physical_interface.rb +20 -1
- data/lib/purecloud/models/domain_resource_condition_node.rb +20 -1
- data/lib/purecloud/models/domain_resource_condition_value.rb +20 -1
- data/lib/purecloud/models/domain_role.rb +20 -1
- data/lib/purecloud/models/domain_schema_reference.rb +20 -1
- data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +20 -1
- data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +20 -1
- data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +20 -1
- data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +20 -1
- data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +20 -1
- data/lib/purecloud/models/download_response.rb +20 -1
- data/lib/purecloud/models/duration_condition.rb +20 -1
- data/lib/purecloud/models/edge.rb +20 -1
- data/lib/purecloud/models/edge_auto_update_config.rb +20 -1
- data/lib/purecloud/models/edge_entity_listing.rb +20 -1
- data/lib/purecloud/models/edge_group.rb +20 -1
- data/lib/purecloud/models/edge_group_entity_listing.rb +20 -1
- data/lib/purecloud/models/edge_interface.rb +20 -1
- data/lib/purecloud/models/edge_line.rb +21 -2
- data/lib/purecloud/models/edge_line_entity_listing.rb +20 -1
- data/lib/purecloud/models/edge_logs_job.rb +20 -1
- data/lib/purecloud/models/edge_logs_job_file.rb +20 -1
- data/lib/purecloud/models/edge_logs_job_request.rb +26 -7
- data/lib/purecloud/models/edge_logs_job_response.rb +20 -1
- data/lib/purecloud/models/edge_logs_job_upload_request.rb +20 -1
- data/lib/purecloud/models/edge_version_information.rb +20 -1
- data/lib/purecloud/models/edge_version_report.rb +20 -1
- data/lib/purecloud/models/email.rb +20 -1
- data/lib/purecloud/models/email_address.rb +20 -1
- data/lib/purecloud/models/email_attachment.rb +20 -1
- data/lib/purecloud/models/email_conversation.rb +20 -1
- data/lib/purecloud/models/email_conversation_entity_listing.rb +20 -1
- data/lib/purecloud/models/email_media_participant.rb +20 -1
- data/lib/purecloud/models/email_message.rb +20 -1
- data/lib/purecloud/models/email_message_listing.rb +20 -1
- data/lib/purecloud/models/email_setup.rb +20 -1
- data/lib/purecloud/models/embedded_signature_view.rb +20 -1
- data/lib/purecloud/models/encryption_key.rb +20 -1
- data/lib/purecloud/models/encryption_key_entity_listing.rb +20 -1
- data/lib/purecloud/models/endpoint.rb +21 -2
- data/lib/purecloud/models/endpoint_entity_listing.rb +20 -1
- data/lib/purecloud/models/entity.rb +20 -1
- data/lib/purecloud/models/entry.rb +20 -1
- data/lib/purecloud/models/error_body.rb +20 -1
- data/lib/purecloud/models/error_details.rb +20 -1
- data/lib/purecloud/models/estimated_wait_time_predictions.rb +20 -1
- data/lib/purecloud/models/evaluation.rb +20 -1
- data/lib/purecloud/models/evaluation_assignment.rb +20 -1
- data/lib/purecloud/models/evaluation_entity_listing.rb +20 -1
- data/lib/purecloud/models/evaluation_form.rb +20 -1
- data/lib/purecloud/models/evaluation_form_and_scoring_set.rb +20 -1
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +20 -1
- data/lib/purecloud/models/evaluation_scoring_set.rb +20 -1
- data/lib/purecloud/models/evaluator_activity.rb +20 -1
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +20 -1
- data/lib/purecloud/models/expansion_criterium.rb +20 -1
- data/lib/purecloud/models/expression_response.rb +20 -1
- data/lib/purecloud/models/extension.rb +20 -1
- data/lib/purecloud/models/extension_entity_listing.rb +20 -1
- data/lib/purecloud/models/extension_pool.rb +20 -1
- data/lib/purecloud/models/extension_pool_entity_listing.rb +20 -1
- data/lib/purecloud/models/external_contact.rb +20 -1
- data/lib/purecloud/models/external_organization.rb +20 -1
- data/lib/purecloud/models/external_organization_listing.rb +20 -1
- data/lib/purecloud/models/facet_entry.rb +20 -1
- data/lib/purecloud/models/facet_info.rb +20 -1
- data/lib/purecloud/models/facet_key_attribute.rb +20 -1
- data/lib/purecloud/models/facet_request.rb +20 -1
- data/lib/purecloud/models/facet_result.rb +20 -1
- data/lib/purecloud/models/facet_result_item.rb +20 -1
- data/lib/purecloud/models/facet_statistics.rb +20 -1
- data/lib/purecloud/models/facet_term.rb +20 -1
- data/lib/purecloud/models/failed_object.rb +20 -1
- data/lib/purecloud/models/favorite_template_request_data.rb +20 -1
- data/lib/purecloud/models/fax_document.rb +20 -1
- data/lib/purecloud/models/fax_document_entity_listing.rb +20 -1
- data/lib/purecloud/models/fax_send_request.rb +20 -1
- data/lib/purecloud/models/fax_send_response.rb +20 -1
- data/lib/purecloud/models/fax_summary.rb +20 -1
- data/lib/purecloud/models/filter_item.rb +20 -1
- data/lib/purecloud/models/flow.rb +20 -1
- data/lib/purecloud/models/flow_body.rb +21 -2
- data/lib/purecloud/models/flow_body_format.rb +20 -1
- data/lib/purecloud/models/flow_config_id.rb +20 -1
- data/lib/purecloud/models/flow_config_meta_data.rb +20 -1
- data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +20 -1
- data/lib/purecloud/models/flow_details.rb +20 -1
- data/lib/purecloud/models/flow_details_search_result.rb +20 -1
- data/lib/purecloud/models/flow_entity_listing.rb +20 -1
- data/lib/purecloud/models/flow_exec_id.rb +20 -1
- data/lib/purecloud/models/flow_history_item.rb +20 -1
- data/lib/purecloud/models/flow_history_result_item.rb +20 -1
- data/lib/purecloud/models/flow_history_result_item_entity_listing.rb +20 -1
- data/lib/purecloud/models/flow_input_data.rb +20 -1
- data/lib/purecloud/models/flow_launch_request.rb +20 -1
- data/lib/purecloud/models/flow_publish.rb +20 -1
- data/lib/purecloud/models/flow_report_result_item.rb +20 -1
- data/lib/purecloud/models/flow_search_request.rb +20 -1
- data/lib/purecloud/models/flow_state.rb +20 -1
- data/lib/purecloud/models/flow_terminate_request.rb +20 -1
- data/lib/purecloud/models/flow_upload_response.rb +20 -1
- data/lib/purecloud/models/flow_version.rb +20 -1
- data/lib/purecloud/models/flow_version_config_meta_data.rb +20 -1
- data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +20 -1
- data/lib/purecloud/models/flow_version_entity_listing.rb +20 -1
- data/lib/purecloud/models/form.rb +20 -1
- data/lib/purecloud/models/gateway.rb +20 -1
- data/lib/purecloud/models/geolocation.rb +20 -1
- data/lib/purecloud/models/geolocation_settings.rb +20 -1
- data/lib/purecloud/models/gistener.rb +20 -1
- data/lib/purecloud/models/greeting.rb +20 -1
- data/lib/purecloud/models/greeting_audio_file.rb +20 -1
- data/lib/purecloud/models/greeting_media_info.rb +20 -1
- data/lib/purecloud/models/greeting_owner.rb +20 -1
- data/lib/purecloud/models/group.rb +20 -1
- data/lib/purecloud/models/group_entity_listing.rb +20 -1
- data/lib/purecloud/models/group_tag.rb +20 -1
- data/lib/purecloud/models/groups_search_response.rb +20 -1
- data/lib/purecloud/models/hardware_rate.rb +20 -1
- data/lib/purecloud/models/hardware_rate_listing.rb +20 -1
- data/lib/purecloud/models/health_check_info.rb +20 -1
- data/lib/purecloud/models/hipaa_config.rb +20 -1
- data/lib/purecloud/models/import_status.rb +20 -1
- data/lib/purecloud/models/inbound_domain.rb +20 -1
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +20 -1
- data/lib/purecloud/models/inbound_route.rb +20 -1
- data/lib/purecloud/models/inbound_route_entity_listing.rb +20 -1
- data/lib/purecloud/models/indexed_transform.rb +20 -1
- data/lib/purecloud/models/integration_type.rb +20 -1
- data/lib/purecloud/models/integration_type_entity_listing.rb +20 -1
- data/lib/purecloud/models/interaction_stats_alert.rb +20 -1
- data/lib/purecloud/models/interaction_stats_alert_container.rb +20 -1
- data/lib/purecloud/models/interaction_stats_rule.rb +20 -1
- data/lib/purecloud/models/interaction_stats_rule_container.rb +20 -1
- data/lib/purecloud/models/invoice.rb +20 -1
- data/lib/purecloud/models/ivr.rb +20 -1
- data/lib/purecloud/models/ivr_entity_listing.rb +20 -1
- data/lib/purecloud/models/json_node.rb +20 -1
- data/lib/purecloud/models/json_node_search_response.rb +20 -1
- data/lib/purecloud/models/key_rotation_schedule.rb +20 -1
- data/lib/purecloud/models/language.rb +20 -1
- data/lib/purecloud/models/language_entity_listing.rb +20 -1
- data/lib/purecloud/models/library.rb +20 -1
- data/lib/purecloud/models/library_entity_listing.rb +20 -1
- data/lib/purecloud/models/license.rb +20 -1
- data/lib/purecloud/models/licenses_by_permission.rb +20 -1
- data/lib/purecloud/models/line.rb +21 -2
- data/lib/purecloud/models/line_base.rb +21 -2
- data/lib/purecloud/models/line_base_entity_listing.rb +20 -1
- data/lib/purecloud/models/line_entity_listing.rb +20 -1
- data/lib/purecloud/models/line_status.rb +20 -1
- data/lib/purecloud/models/linked_entity_listing_flow_details.rb +20 -1
- data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +20 -1
- data/lib/purecloud/models/location.rb +26 -7
- data/lib/purecloud/models/location_address_fields.rb +20 -1
- data/lib/purecloud/models/location_emergency_number.rb +20 -1
- data/lib/purecloud/models/location_entity_listing.rb +20 -1
- data/lib/purecloud/models/lock_info.rb +20 -1
- data/lib/purecloud/models/logical_interface_entity_listing.rb +20 -1
- data/lib/purecloud/models/management_unit.rb +20 -1
- data/lib/purecloud/models/management_unit_timezone.rb +20 -1
- data/lib/purecloud/models/max_participants.rb +20 -1
- data/lib/purecloud/models/media_participant_request.rb +20 -1
- data/lib/purecloud/models/media_policies.rb +20 -1
- data/lib/purecloud/models/media_policy.rb +20 -1
- data/lib/purecloud/models/media_result.rb +20 -1
- data/lib/purecloud/models/media_setting.rb +20 -1
- data/lib/purecloud/models/media_summary.rb +20 -1
- data/lib/purecloud/models/media_summary_detail.rb +20 -1
- data/lib/purecloud/models/member_entity.rb +20 -1
- data/lib/purecloud/models/metabase.rb +20 -1
- data/lib/purecloud/models/metered_evaluation_assignment.rb +20 -1
- data/lib/purecloud/models/noc_support.rb +20 -1
- data/lib/purecloud/models/note.rb +20 -1
- data/lib/purecloud/models/note_listing.rb +20 -1
- data/lib/purecloud/models/number.rb +20 -1
- data/lib/purecloud/models/number_order_request.rb +20 -1
- data/lib/purecloud/models/number_plan.rb +20 -1
- data/lib/purecloud/models/numeric_range.rb +20 -1
- data/lib/purecloud/models/o_auth_client.rb +20 -1
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +20 -1
- data/lib/purecloud/models/o_auth_provider.rb +20 -1
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +20 -1
- data/lib/purecloud/models/observation_data_container.rb +20 -1
- data/lib/purecloud/models/observation_query.rb +20 -1
- data/lib/purecloud/models/observation_query_response.rb +20 -1
- data/lib/purecloud/models/okta.rb +20 -1
- data/lib/purecloud/models/one_login.rb +20 -1
- data/lib/purecloud/models/order.rb +20 -1
- data/lib/purecloud/models/org_license_assignment.rb +20 -1
- data/lib/purecloud/models/org_media_utilization.rb +20 -1
- data/lib/purecloud/models/organization.rb +20 -1
- data/lib/purecloud/models/organization_create.rb +20 -1
- data/lib/purecloud/models/organization_presence.rb +20 -1
- data/lib/purecloud/models/organization_presence_entity_listing.rb +20 -1
- data/lib/purecloud/models/organization_product_entity_listing.rb +20 -1
- data/lib/purecloud/models/organization_role_entity_listing.rb +20 -1
- data/lib/purecloud/models/orphan_recording.rb +20 -1
- data/lib/purecloud/models/orphan_recording_listing.rb +20 -1
- data/lib/purecloud/models/out_of_office.rb +20 -1
- data/lib/purecloud/models/outbound_route.rb +20 -1
- data/lib/purecloud/models/outbound_route_entity_listing.rb +20 -1
- data/lib/purecloud/models/page.rb +22 -3
- data/lib/purecloud/models/paging_spec.rb +20 -1
- data/lib/purecloud/models/parameter.rb +20 -1
- data/lib/purecloud/models/parsed_certificate.rb +20 -1
- data/lib/purecloud/models/participant.rb +20 -1
- data/lib/purecloud/models/participant_attributes.rb +20 -1
- data/lib/purecloud/models/payment_method.rb +20 -1
- data/lib/purecloud/models/payment_method_listing.rb +20 -1
- data/lib/purecloud/models/payment_token_provider.rb +20 -1
- data/lib/purecloud/models/permission_collection_entity_listing.rb +20 -1
- data/lib/purecloud/models/permissions.rb +20 -1
- data/lib/purecloud/models/phone.rb +21 -2
- data/lib/purecloud/models/phone_base.rb +21 -2
- data/lib/purecloud/models/phone_base_entity_listing.rb +20 -1
- data/lib/purecloud/models/phone_capabilities.rb +20 -1
- data/lib/purecloud/models/phone_column.rb +20 -1
- data/lib/purecloud/models/phone_entity_listing.rb +20 -1
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +20 -1
- data/lib/purecloud/models/phone_number.rb +20 -1
- data/lib/purecloud/models/phone_number_column.rb +20 -1
- data/lib/purecloud/models/phone_number_status.rb +20 -1
- data/lib/purecloud/models/phone_status.rb +20 -1
- data/lib/purecloud/models/phones_reboot.rb +20 -1
- data/lib/purecloud/models/physical_interface_entity_listing.rb +20 -1
- data/lib/purecloud/models/pin_configuration.rb +20 -1
- data/lib/purecloud/models/policy.rb +20 -1
- data/lib/purecloud/models/policy_actions.rb +20 -1
- data/lib/purecloud/models/policy_conditions.rb +20 -1
- data/lib/purecloud/models/policy_entity_listing.rb +20 -1
- data/lib/purecloud/models/policy_error_message.rb +20 -1
- data/lib/purecloud/models/policy_errors.rb +20 -1
- data/lib/purecloud/models/prediction_results.rb +20 -1
- data/lib/purecloud/models/presence_query_response.rb +20 -1
- data/lib/purecloud/models/product.rb +20 -1
- data/lib/purecloud/models/prompt.rb +20 -1
- data/lib/purecloud/models/prompt_asset.rb +20 -1
- data/lib/purecloud/models/prompt_asset_entity_listing.rb +20 -1
- data/lib/purecloud/models/prompt_entity_listing.rb +20 -1
- data/lib/purecloud/models/property_index_request.rb +20 -1
- data/lib/purecloud/models/provision_info.rb +20 -1
- data/lib/purecloud/models/publication.rb +20 -1
- data/lib/purecloud/models/publish_script_request_data.rb +20 -1
- data/lib/purecloud/models/published_result.rb +20 -1
- data/lib/purecloud/models/pure_cloud.rb +20 -1
- data/lib/purecloud/models/quality_audit.rb +20 -1
- data/lib/purecloud/models/quality_audit_page.rb +20 -1
- data/lib/purecloud/models/query_facet_info.rb +20 -1
- data/lib/purecloud/models/query_request.rb +20 -1
- data/lib/purecloud/models/query_result.rb +20 -1
- data/lib/purecloud/models/query_results.rb +20 -1
- data/lib/purecloud/models/question_group.rb +20 -1
- data/lib/purecloud/models/question_group_score.rb +20 -1
- data/lib/purecloud/models/question_score.rb +20 -1
- data/lib/purecloud/models/queue.rb +20 -1
- data/lib/purecloud/models/queue_entity_listing.rb +20 -1
- data/lib/purecloud/models/queue_member.rb +20 -1
- data/lib/purecloud/models/queue_utilization_diagnostic.rb +20 -1
- data/lib/purecloud/models/queues_entity_listing.rb +20 -1
- data/lib/purecloud/models/quote.rb +20 -1
- data/lib/purecloud/models/quote_charge.rb +20 -1
- data/lib/purecloud/models/quote_listing.rb +20 -1
- data/lib/purecloud/models/rate.rb +20 -1
- data/lib/purecloud/models/reaction.rb +20 -1
- data/lib/purecloud/models/recording.rb +26 -7
- data/lib/purecloud/models/recording_email_message.rb +20 -1
- data/lib/purecloud/models/recording_settings.rb +20 -1
- data/lib/purecloud/models/relationship.rb +20 -1
- data/lib/purecloud/models/relationship_listing.rb +20 -1
- data/lib/purecloud/models/replace_request.rb +20 -1
- data/lib/purecloud/models/replace_response.rb +20 -1
- data/lib/purecloud/models/report_meta_data.rb +20 -1
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +20 -1
- data/lib/purecloud/models/report_request.rb +20 -1
- data/lib/purecloud/models/report_run_entry.rb +20 -1
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +20 -1
- data/lib/purecloud/models/report_schedule.rb +21 -2
- data/lib/purecloud/models/report_schedule_entity_listing.rb +20 -1
- data/lib/purecloud/models/reservation.rb +20 -1
- data/lib/purecloud/models/resource_condition_node.rb +20 -1
- data/lib/purecloud/models/resource_condition_value.rb +20 -1
- data/lib/purecloud/models/resource_permission_policy.rb +20 -1
- data/lib/purecloud/models/response.rb +20 -1
- data/lib/purecloud/models/response_entity_list.rb +20 -1
- data/lib/purecloud/models/response_entity_listing.rb +20 -1
- data/lib/purecloud/models/response_filter.rb +20 -1
- data/lib/purecloud/models/response_query_request.rb +20 -1
- data/lib/purecloud/models/response_query_results.rb +20 -1
- data/lib/purecloud/models/response_set.rb +20 -1
- data/lib/purecloud/models/response_set_entity_listing.rb +20 -1
- data/lib/purecloud/models/response_text.rb +20 -1
- data/lib/purecloud/models/rest_error_detail.rb +20 -1
- data/lib/purecloud/models/retention_duration.rb +20 -1
- data/lib/purecloud/models/ring.rb +20 -1
- data/lib/purecloud/models/routing_skill.rb +20 -1
- data/lib/purecloud/models/routing_status.rb +20 -1
- data/lib/purecloud/models/rule_set.rb +20 -1
- data/lib/purecloud/models/rule_set_entity_listing.rb +20 -1
- data/lib/purecloud/models/run_now_response.rb +20 -1
- data/lib/purecloud/models/salesforce.rb +20 -1
- data/lib/purecloud/models/schedule.rb +20 -1
- data/lib/purecloud/models/schedule_entity_listing.rb +20 -1
- data/lib/purecloud/models/schedule_group.rb +20 -1
- data/lib/purecloud/models/schedule_group_entity_listing.rb +20 -1
- data/lib/purecloud/models/schema_category.rb +20 -1
- data/lib/purecloud/models/schema_category_entity_listing.rb +20 -1
- data/lib/purecloud/models/schema_reference_entity_listing.rb +20 -1
- data/lib/purecloud/models/script.rb +20 -1
- data/lib/purecloud/models/script_entity_listing.rb +20 -1
- data/lib/purecloud/models/search_aggregation.rb +20 -1
- data/lib/purecloud/models/search_criteria.rb +20 -1
- data/lib/purecloud/models/search_request.rb +20 -1
- data/lib/purecloud/models/security_profile.rb +20 -1
- data/lib/purecloud/models/security_profile_entity_listing.rb +20 -1
- data/lib/purecloud/models/segment.rb +20 -1
- data/lib/purecloud/models/sequence_schedule.rb +21 -2
- data/lib/purecloud/models/server_date.rb +20 -1
- data/lib/purecloud/models/service.rb +20 -1
- data/lib/purecloud/models/service_context.rb +20 -1
- data/lib/purecloud/models/service_entity_listing.rb +20 -1
- data/lib/purecloud/models/service_level.rb +20 -1
- data/lib/purecloud/models/service_type.rb +20 -1
- data/lib/purecloud/models/share.rb +20 -1
- data/lib/purecloud/models/share_entity_listing.rb +20 -1
- data/lib/purecloud/models/shared_entity.rb +20 -1
- data/lib/purecloud/models/shared_response.rb +20 -1
- data/lib/purecloud/models/sheet_schema.rb +20 -1
- data/lib/purecloud/models/sheet_transform.rb +20 -1
- data/lib/purecloud/models/signature_document_info.rb +20 -1
- data/lib/purecloud/models/site.rb +20 -1
- data/lib/purecloud/models/site_entity_listing.rb +20 -1
- data/lib/purecloud/models/skill_entity_listing.rb +20 -1
- data/lib/purecloud/models/skills_to_remove.rb +20 -1
- data/lib/purecloud/models/snapshot.rb +20 -1
- data/lib/purecloud/models/social_account.rb +20 -1
- data/lib/purecloud/models/social_conversation.rb +20 -1
- data/lib/purecloud/models/social_conversation_entity_listing.rb +20 -1
- data/lib/purecloud/models/social_expression.rb +20 -1
- data/lib/purecloud/models/social_media_participant.rb +20 -1
- data/lib/purecloud/models/socialize_entity_filter.rb +20 -1
- data/lib/purecloud/models/socialize_filter_request.rb +20 -1
- data/lib/purecloud/models/sort_by.rb +20 -1
- data/lib/purecloud/models/sort_field.rb +20 -1
- data/lib/purecloud/models/sort_item.rb +20 -1
- data/lib/purecloud/models/spreadsheet_transform.rb +20 -1
- data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +20 -1
- data/lib/purecloud/models/station.rb +20 -1
- data/lib/purecloud/models/station_entity_listing.rb +20 -1
- data/lib/purecloud/models/statistical_response.rb +20 -1
- data/lib/purecloud/models/statistical_summary.rb +20 -1
- data/lib/purecloud/models/sub_data_item.rb +20 -1
- data/lib/purecloud/models/subscriber_response.rb +20 -1
- data/lib/purecloud/models/support.rb +20 -1
- data/lib/purecloud/models/system_prompt.rb +20 -1
- data/lib/purecloud/models/system_prompt_asset.rb +20 -1
- data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +20 -1
- data/lib/purecloud/models/system_prompt_entity_listing.rb +20 -1
- data/lib/purecloud/models/table_transform.rb +20 -1
- data/lib/purecloud/models/tag_model.rb +20 -1
- data/lib/purecloud/models/tag_query_request.rb +20 -1
- data/lib/purecloud/models/tag_value.rb +20 -1
- data/lib/purecloud/models/tag_value_entity_listing.rb +20 -1
- data/lib/purecloud/models/template_entity_listing.rb +20 -1
- data/lib/purecloud/models/term_attribute.rb +20 -1
- data/lib/purecloud/models/text_table_transform.rb +20 -1
- data/lib/purecloud/models/text_table_transform_entity_listing.rb +20 -1
- data/lib/purecloud/models/third_party_account.rb +20 -1
- data/lib/purecloud/models/third_party_subscription.rb +20 -1
- data/lib/purecloud/models/ticker.rb +20 -1
- data/lib/purecloud/models/tier.rb +20 -1
- data/lib/purecloud/models/time_allowed.rb +20 -1
- data/lib/purecloud/models/time_interval.rb +20 -1
- data/lib/purecloud/models/time_slot.rb +20 -1
- data/lib/purecloud/models/time_zone.rb +20 -1
- data/lib/purecloud/models/time_zone_entity_listing.rb +20 -1
- data/lib/purecloud/models/trace.rb +20 -1
- data/lib/purecloud/models/trace_list.rb +20 -1
- data/lib/purecloud/models/transfer_request.rb +20 -1
- data/lib/purecloud/models/transform_endpoint.rb +20 -1
- data/lib/purecloud/models/transform_lens.rb +20 -1
- data/lib/purecloud/models/trunk_base.rb +21 -2
- data/lib/purecloud/models/trunk_base_assignment.rb +20 -1
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +20 -1
- data/lib/purecloud/models/twitter_expression.rb +20 -1
- data/lib/purecloud/models/twitter_expression_buffer.rb +20 -1
- data/lib/purecloud/models/unpivot_columns.rb +20 -1
- data/lib/purecloud/models/unread_metric.rb +20 -1
- data/lib/purecloud/models/unread_status.rb +20 -1
- data/lib/purecloud/models/upload_progress.rb +20 -1
- data/lib/purecloud/models/uri_reference.rb +20 -1
- data/lib/purecloud/models/url_response.rb +20 -1
- data/lib/purecloud/models/user.rb +20 -1
- data/lib/purecloud/models/user_action_category.rb +20 -1
- data/lib/purecloud/models/user_action_category_entity_listing.rb +20 -1
- data/lib/purecloud/models/user_action_metadata.rb +20 -1
- data/lib/purecloud/models/user_action_metadata_entity_listing.rb +20 -1
- data/lib/purecloud/models/user_action_metadata_request.rb +20 -1
- data/lib/purecloud/models/user_authorization.rb +20 -1
- data/lib/purecloud/models/user_conversation_summary.rb +20 -1
- data/lib/purecloud/models/user_entity_listing.rb +20 -1
- data/lib/purecloud/models/user_image.rb +20 -1
- data/lib/purecloud/models/user_license_assignment.rb +20 -1
- data/lib/purecloud/models/user_me.rb +21 -2
- data/lib/purecloud/models/user_param.rb +20 -1
- data/lib/purecloud/models/user_presence.rb +20 -1
- data/lib/purecloud/models/user_queue.rb +20 -1
- data/lib/purecloud/models/user_queue_entity_listing.rb +20 -1
- data/lib/purecloud/models/user_recording.rb +20 -1
- data/lib/purecloud/models/user_recording_entity_listing.rb +20 -1
- data/lib/purecloud/models/user_routing_skill.rb +20 -1
- data/lib/purecloud/models/user_skill_entity_listing.rb +20 -1
- data/lib/purecloud/models/user_station.rb +20 -1
- data/lib/purecloud/models/user_stations.rb +20 -1
- data/lib/purecloud/models/users_entity_listing.rb +20 -1
- data/lib/purecloud/models/users_search_response.rb +20 -1
- data/lib/purecloud/models/utilization.rb +20 -1
- data/lib/purecloud/models/validate_address_request.rb +20 -1
- data/lib/purecloud/models/validate_address_response.rb +20 -1
- data/lib/purecloud/models/value.rb +20 -1
- data/lib/purecloud/models/vendor_connection_request.rb +20 -1
- data/lib/purecloud/models/video.rb +20 -1
- data/lib/purecloud/models/video_conversation.rb +20 -1
- data/lib/purecloud/models/video_conversation_entity_listing.rb +20 -1
- data/lib/purecloud/models/video_media_participant.rb +20 -1
- data/lib/purecloud/models/view.rb +20 -1
- data/lib/purecloud/models/voice_rate.rb +20 -1
- data/lib/purecloud/models/voice_rate_extended.rb +20 -1
- data/lib/purecloud/models/voice_rate_international.rb +20 -1
- data/lib/purecloud/models/voice_rate_international_entity_listing.rb +20 -1
- data/lib/purecloud/models/voice_rate_update.rb +20 -1
- data/lib/purecloud/models/voice_rates_csv.rb +20 -1
- data/lib/purecloud/models/voice_xml_operation.rb +20 -1
- data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +20 -1
- data/lib/purecloud/models/voicemail_mailbox_info.rb +20 -1
- data/lib/purecloud/models/voicemail_media_info.rb +20 -1
- data/lib/purecloud/models/voicemail_message.rb +20 -1
- data/lib/purecloud/models/voicemail_message_entity_listing.rb +20 -1
- data/lib/purecloud/models/voicemail_organization_policy.rb +20 -1
- data/lib/purecloud/models/voicemail_user_policy.rb +20 -1
- data/lib/purecloud/models/vpn.rb +20 -1
- data/lib/purecloud/models/work_item.rb +20 -1
- data/lib/purecloud/models/work_item_actions.rb +20 -1
- data/lib/purecloud/models/work_item_cache.rb +20 -1
- data/lib/purecloud/models/work_item_command.rb +20 -1
- data/lib/purecloud/models/work_item_command_group.rb +20 -1
- data/lib/purecloud/models/work_item_definition.rb +20 -1
- data/lib/purecloud/models/work_item_details.rb +20 -1
- data/lib/purecloud/models/work_item_search_details.rb +20 -1
- data/lib/purecloud/models/work_item_search_details_search_result.rb +20 -1
- data/lib/purecloud/models/work_item_submit_request.rb +20 -1
- data/lib/purecloud/models/work_item_transfer_request.rb +20 -1
- data/lib/purecloud/models/workspace.rb +20 -1
- data/lib/purecloud/models/workspace_create.rb +20 -1
- data/lib/purecloud/models/workspace_entity_listing.rb +20 -1
- data/lib/purecloud/models/workspace_member.rb +20 -1
- data/lib/purecloud/models/workspace_member_entity_listing.rb +20 -1
- data/lib/purecloud/models/workspace_summary.rb +20 -1
- data/lib/purecloud/models/wrap_up_code_mapping.rb +20 -1
- data/lib/purecloud/models/wrapup.rb +20 -1
- data/lib/purecloud/models/wrapup_code.rb +20 -1
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +20 -1
- data/lib/purecloud/models/xlsx_schema.rb +20 -1
- data/lib/purecloud/version.rb +17 -1
- data/purecloud.gemspec +3 -4
- data/rakefile +13 -23
- data/spec/test.rb +109 -8
- data/swagger_template/README.mustache +72 -0
- data/swagger_template/api_client.mustache +36 -14
- data/swagger_template/api_doc.mustache +80 -0
- data/swagger_template/base_object.mustache +4 -1
- data/swagger_template/gemspec.mustache +3 -4
- data/swagger_template/gitignore.mustache +44 -0
- data/swagger_template/model_doc.mustache +15 -0
- data/version.json +1 -1
- metadata +732 -34
- data/doc/template/default/layout/html/layout.erb +0 -4
- data/doc/template/default/method_details/html/source.erb +0 -0
- data/doc/template/default/module/html/attribute_summary.erb +0 -8
- data/doc/template/default/module/html/box_info.erb +0 -0
- data/doc/template/default/module/html/children.erb +0 -0
- data/lib/purecloud/models/line_properties.rb +0 -136
- data/newVersion.md +0 -1
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
PureCloud API
|
|
3
|
+
|
|
4
|
+
PureCloud API
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v1
|
|
7
|
+
Contact: chuck.pulfer@inin.com
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
License: ININ
|
|
11
|
+
http://www.inin.com
|
|
12
|
+
|
|
13
|
+
Terms of Service: http://www.inin.com
|
|
14
|
+
|
|
15
|
+
=end
|
|
16
|
+
|
|
1
17
|
require "uri"
|
|
2
18
|
|
|
3
19
|
module PureCloud
|
|
@@ -8,28 +24,31 @@ module PureCloud
|
|
|
8
24
|
@api_client = api_client
|
|
9
25
|
end
|
|
10
26
|
|
|
11
|
-
#
|
|
27
|
+
# Delete user
|
|
12
28
|
#
|
|
29
|
+
# @param user_id User ID
|
|
13
30
|
# @param [Hash] opts the optional parameters
|
|
14
|
-
# @
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
data, status_code, headers = post_users_aggregates_query_with_http_info(opts)
|
|
31
|
+
# @return [String]
|
|
32
|
+
def delete_user_id(user_id, opts = {})
|
|
33
|
+
data, status_code, headers = delete_user_id_with_http_info(user_id, opts)
|
|
18
34
|
return data
|
|
19
35
|
end
|
|
20
36
|
|
|
21
|
-
#
|
|
37
|
+
# Delete user
|
|
22
38
|
#
|
|
39
|
+
# @param user_id User ID
|
|
23
40
|
# @param [Hash] opts the optional parameters
|
|
24
|
-
# @
|
|
25
|
-
|
|
26
|
-
def post_users_aggregates_query_with_http_info(opts = {})
|
|
41
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
42
|
+
def delete_user_id_with_http_info(user_id, opts = {})
|
|
27
43
|
if @api_client.config.debugging
|
|
28
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
44
|
+
@api_client.config.logger.debug "Calling API: UsersApi#delete_user_id ..."
|
|
29
45
|
end
|
|
30
46
|
|
|
47
|
+
# verify the required parameter 'user_id' is set
|
|
48
|
+
fail "Missing the required parameter 'user_id' when calling delete_user_id" if user_id.nil?
|
|
49
|
+
|
|
31
50
|
# resource path
|
|
32
|
-
|
|
51
|
+
local_var_path = "/api/v2/users/{userId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
33
52
|
|
|
34
53
|
# query parameters
|
|
35
54
|
query_params = {}
|
|
@@ -49,45 +68,47 @@ module PureCloud
|
|
|
49
68
|
form_params = {}
|
|
50
69
|
|
|
51
70
|
# http body (model)
|
|
52
|
-
post_body =
|
|
71
|
+
post_body = nil
|
|
53
72
|
|
|
54
|
-
|
|
55
73
|
auth_names = ['PureCloud Auth']
|
|
56
|
-
data, status_code, headers = @api_client.call_api(:
|
|
74
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
57
75
|
:header_params => header_params,
|
|
58
76
|
:query_params => query_params,
|
|
59
77
|
:form_params => form_params,
|
|
60
78
|
:body => post_body,
|
|
61
79
|
:auth_names => auth_names,
|
|
62
|
-
:return_type => '
|
|
80
|
+
:return_type => 'String')
|
|
63
81
|
if @api_client.config.debugging
|
|
64
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
82
|
+
@api_client.config.logger.debug "API called: UsersApi#delete_user_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
65
83
|
end
|
|
66
84
|
return data, status_code, headers
|
|
67
85
|
end
|
|
68
86
|
|
|
69
|
-
#
|
|
87
|
+
# Removes all the roles from the user.
|
|
70
88
|
#
|
|
89
|
+
# @param user_id User ID
|
|
71
90
|
# @param [Hash] opts the optional parameters
|
|
72
|
-
# @
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
return data
|
|
91
|
+
# @return [nil]
|
|
92
|
+
def delete_user_id_roles(user_id, opts = {})
|
|
93
|
+
delete_user_id_roles_with_http_info(user_id, opts)
|
|
94
|
+
return nil
|
|
77
95
|
end
|
|
78
96
|
|
|
79
|
-
#
|
|
97
|
+
# Removes all the roles from the user.
|
|
80
98
|
#
|
|
99
|
+
# @param user_id User ID
|
|
81
100
|
# @param [Hash] opts the optional parameters
|
|
82
|
-
# @
|
|
83
|
-
|
|
84
|
-
def post_users_observations_query_with_http_info(opts = {})
|
|
101
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
102
|
+
def delete_user_id_roles_with_http_info(user_id, opts = {})
|
|
85
103
|
if @api_client.config.debugging
|
|
86
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
104
|
+
@api_client.config.logger.debug "Calling API: UsersApi#delete_user_id_roles ..."
|
|
87
105
|
end
|
|
88
106
|
|
|
107
|
+
# verify the required parameter 'user_id' is set
|
|
108
|
+
fail "Missing the required parameter 'user_id' when calling delete_user_id_roles" if user_id.nil?
|
|
109
|
+
|
|
89
110
|
# resource path
|
|
90
|
-
|
|
111
|
+
local_var_path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
91
112
|
|
|
92
113
|
# query parameters
|
|
93
114
|
query_params = {}
|
|
@@ -107,65 +128,54 @@ module PureCloud
|
|
|
107
128
|
form_params = {}
|
|
108
129
|
|
|
109
130
|
# http body (model)
|
|
110
|
-
post_body =
|
|
131
|
+
post_body = nil
|
|
111
132
|
|
|
112
|
-
|
|
113
133
|
auth_names = ['PureCloud Auth']
|
|
114
|
-
data, status_code, headers = @api_client.call_api(:
|
|
134
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
115
135
|
:header_params => header_params,
|
|
116
136
|
:query_params => query_params,
|
|
117
137
|
:form_params => form_params,
|
|
118
138
|
:body => post_body,
|
|
119
|
-
:auth_names => auth_names
|
|
120
|
-
:return_type => 'ObservationQueryResponse')
|
|
139
|
+
:auth_names => auth_names)
|
|
121
140
|
if @api_client.config.debugging
|
|
122
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
141
|
+
@api_client.config.logger.debug "API called: UsersApi#delete_user_id_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
123
142
|
end
|
|
124
143
|
return data, status_code, headers
|
|
125
144
|
end
|
|
126
145
|
|
|
127
|
-
#
|
|
146
|
+
# Remove routing skill from user
|
|
128
147
|
#
|
|
148
|
+
# @param user_id User ID
|
|
149
|
+
# @param skill_id
|
|
129
150
|
# @param [Hash] opts the optional parameters
|
|
130
|
-
# @
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
# @option opts [String] :sort_order Ascending or descending sort order
|
|
134
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
135
|
-
# @return [UsersEntityListing]
|
|
136
|
-
def get_users(opts = {})
|
|
137
|
-
data, status_code, headers = get_users_with_http_info(opts)
|
|
151
|
+
# @return [String]
|
|
152
|
+
def delete_user_id_routingskills_skill_id(user_id, skill_id, opts = {})
|
|
153
|
+
data, status_code, headers = delete_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, opts)
|
|
138
154
|
return data
|
|
139
155
|
end
|
|
140
156
|
|
|
141
|
-
#
|
|
157
|
+
# Remove routing skill from user
|
|
142
158
|
#
|
|
159
|
+
# @param user_id User ID
|
|
160
|
+
# @param skill_id
|
|
143
161
|
# @param [Hash] opts the optional parameters
|
|
144
|
-
# @
|
|
145
|
-
|
|
146
|
-
# @option opts [Array<String>] :id The list of user ids to get. Paging is ignored if ids are specified
|
|
147
|
-
# @option opts [String] :sort_order Ascending or descending sort order
|
|
148
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
149
|
-
# @return [Array<(UsersEntityListing, Fixnum, Hash)>] UsersEntityListing data, response status code and response headers
|
|
150
|
-
def get_users_with_http_info(opts = {})
|
|
162
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
163
|
+
def delete_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, opts = {})
|
|
151
164
|
if @api_client.config.debugging
|
|
152
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
165
|
+
@api_client.config.logger.debug "Calling API: UsersApi#delete_user_id_routingskills_skill_id ..."
|
|
153
166
|
end
|
|
154
167
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
168
|
+
# verify the required parameter 'user_id' is set
|
|
169
|
+
fail "Missing the required parameter 'user_id' when calling delete_user_id_routingskills_skill_id" if user_id.nil?
|
|
170
|
+
|
|
171
|
+
# verify the required parameter 'skill_id' is set
|
|
172
|
+
fail "Missing the required parameter 'skill_id' when calling delete_user_id_routingskills_skill_id" if skill_id.nil?
|
|
158
173
|
|
|
159
174
|
# resource path
|
|
160
|
-
|
|
175
|
+
local_var_path = "/api/v2/users/{userId}/routingskills/{skillId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'skillId' + '}', skill_id.to_s)
|
|
161
176
|
|
|
162
177
|
# query parameters
|
|
163
178
|
query_params = {}
|
|
164
|
-
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
165
|
-
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
166
|
-
query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id']
|
|
167
|
-
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
168
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
169
179
|
|
|
170
180
|
# header parameters
|
|
171
181
|
header_params = {}
|
|
@@ -184,43 +194,45 @@ module PureCloud
|
|
|
184
194
|
# http body (model)
|
|
185
195
|
post_body = nil
|
|
186
196
|
|
|
187
|
-
|
|
188
197
|
auth_names = ['PureCloud Auth']
|
|
189
|
-
data, status_code, headers = @api_client.call_api(:
|
|
198
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
190
199
|
:header_params => header_params,
|
|
191
200
|
:query_params => query_params,
|
|
192
201
|
:form_params => form_params,
|
|
193
202
|
:body => post_body,
|
|
194
203
|
:auth_names => auth_names,
|
|
195
|
-
:return_type => '
|
|
204
|
+
:return_type => 'String')
|
|
196
205
|
if @api_client.config.debugging
|
|
197
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
206
|
+
@api_client.config.logger.debug "API called: UsersApi#delete_user_id_routingskills_skill_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
198
207
|
end
|
|
199
208
|
return data, status_code, headers
|
|
200
209
|
end
|
|
201
210
|
|
|
202
|
-
#
|
|
211
|
+
# Clear associated station
|
|
203
212
|
#
|
|
213
|
+
# @param user_id User ID
|
|
204
214
|
# @param [Hash] opts the optional parameters
|
|
205
|
-
# @
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
return data
|
|
215
|
+
# @return [nil]
|
|
216
|
+
def delete_user_id_station_associatedstation(user_id, opts = {})
|
|
217
|
+
delete_user_id_station_associatedstation_with_http_info(user_id, opts)
|
|
218
|
+
return nil
|
|
210
219
|
end
|
|
211
220
|
|
|
212
|
-
#
|
|
221
|
+
# Clear associated station
|
|
213
222
|
#
|
|
223
|
+
# @param user_id User ID
|
|
214
224
|
# @param [Hash] opts the optional parameters
|
|
215
|
-
# @
|
|
216
|
-
|
|
217
|
-
def post_users_with_http_info(opts = {})
|
|
225
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
226
|
+
def delete_user_id_station_associatedstation_with_http_info(user_id, opts = {})
|
|
218
227
|
if @api_client.config.debugging
|
|
219
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
228
|
+
@api_client.config.logger.debug "Calling API: UsersApi#delete_user_id_station_associatedstation ..."
|
|
220
229
|
end
|
|
221
230
|
|
|
231
|
+
# verify the required parameter 'user_id' is set
|
|
232
|
+
fail "Missing the required parameter 'user_id' when calling delete_user_id_station_associatedstation" if user_id.nil?
|
|
233
|
+
|
|
222
234
|
# resource path
|
|
223
|
-
|
|
235
|
+
local_var_path = "/api/v2/users/{userId}/station/associatedstation".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
224
236
|
|
|
225
237
|
# query parameters
|
|
226
238
|
query_params = {}
|
|
@@ -240,49 +252,49 @@ module PureCloud
|
|
|
240
252
|
form_params = {}
|
|
241
253
|
|
|
242
254
|
# http body (model)
|
|
243
|
-
post_body =
|
|
255
|
+
post_body = nil
|
|
244
256
|
|
|
245
|
-
|
|
246
257
|
auth_names = ['PureCloud Auth']
|
|
247
|
-
data, status_code, headers = @api_client.call_api(:
|
|
258
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
248
259
|
:header_params => header_params,
|
|
249
260
|
:query_params => query_params,
|
|
250
261
|
:form_params => form_params,
|
|
251
262
|
:body => post_body,
|
|
252
|
-
:auth_names => auth_names
|
|
253
|
-
:return_type => 'User')
|
|
263
|
+
:auth_names => auth_names)
|
|
254
264
|
if @api_client.config.debugging
|
|
255
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
265
|
+
@api_client.config.logger.debug "API called: UsersApi#delete_user_id_station_associatedstation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
256
266
|
end
|
|
257
267
|
return data, status_code, headers
|
|
258
268
|
end
|
|
259
269
|
|
|
260
|
-
#
|
|
270
|
+
# Clear default station
|
|
261
271
|
#
|
|
272
|
+
# @param user_id User ID
|
|
262
273
|
# @param [Hash] opts the optional parameters
|
|
263
|
-
# @
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
return data
|
|
274
|
+
# @return [nil]
|
|
275
|
+
def delete_user_id_station_defaultstation(user_id, opts = {})
|
|
276
|
+
delete_user_id_station_defaultstation_with_http_info(user_id, opts)
|
|
277
|
+
return nil
|
|
268
278
|
end
|
|
269
279
|
|
|
270
|
-
#
|
|
280
|
+
# Clear default station
|
|
271
281
|
#
|
|
282
|
+
# @param user_id User ID
|
|
272
283
|
# @param [Hash] opts the optional parameters
|
|
273
|
-
# @
|
|
274
|
-
|
|
275
|
-
def get_me_with_http_info(opts = {})
|
|
284
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
285
|
+
def delete_user_id_station_defaultstation_with_http_info(user_id, opts = {})
|
|
276
286
|
if @api_client.config.debugging
|
|
277
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
287
|
+
@api_client.config.logger.debug "Calling API: UsersApi#delete_user_id_station_defaultstation ..."
|
|
278
288
|
end
|
|
279
289
|
|
|
290
|
+
# verify the required parameter 'user_id' is set
|
|
291
|
+
fail "Missing the required parameter 'user_id' when calling delete_user_id_station_defaultstation" if user_id.nil?
|
|
292
|
+
|
|
280
293
|
# resource path
|
|
281
|
-
|
|
294
|
+
local_var_path = "/api/v2/users/{userId}/station/defaultstation".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
282
295
|
|
|
283
296
|
# query parameters
|
|
284
297
|
query_params = {}
|
|
285
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
286
298
|
|
|
287
299
|
# header parameters
|
|
288
300
|
header_params = {}
|
|
@@ -301,49 +313,44 @@ module PureCloud
|
|
|
301
313
|
# http body (model)
|
|
302
314
|
post_body = nil
|
|
303
315
|
|
|
304
|
-
|
|
305
316
|
auth_names = ['PureCloud Auth']
|
|
306
|
-
data, status_code, headers = @api_client.call_api(:
|
|
317
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
307
318
|
:header_params => header_params,
|
|
308
319
|
:query_params => query_params,
|
|
309
320
|
:form_params => form_params,
|
|
310
321
|
:body => post_body,
|
|
311
|
-
:auth_names => auth_names
|
|
312
|
-
:return_type => 'UserMe')
|
|
322
|
+
:auth_names => auth_names)
|
|
313
323
|
if @api_client.config.debugging
|
|
314
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
324
|
+
@api_client.config.logger.debug "API called: UsersApi#delete_user_id_station_defaultstation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
315
325
|
end
|
|
316
326
|
return data, status_code, headers
|
|
317
327
|
end
|
|
318
328
|
|
|
319
|
-
#
|
|
329
|
+
# Get user.
|
|
320
330
|
#
|
|
321
331
|
# @param [Hash] opts the optional parameters
|
|
322
|
-
# @option opts [String] :
|
|
323
|
-
# @
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
data, status_code, headers = get_search_with_http_info(opts)
|
|
332
|
+
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
333
|
+
# @return [UserMe]
|
|
334
|
+
def get_me(opts = {})
|
|
335
|
+
data, status_code, headers = get_me_with_http_info(opts)
|
|
327
336
|
return data
|
|
328
337
|
end
|
|
329
338
|
|
|
330
|
-
#
|
|
339
|
+
# Get user.
|
|
331
340
|
#
|
|
332
341
|
# @param [Hash] opts the optional parameters
|
|
333
|
-
# @option opts [String] :
|
|
334
|
-
# @
|
|
335
|
-
|
|
336
|
-
def get_search_with_http_info(opts = {})
|
|
342
|
+
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
343
|
+
# @return [Array<(UserMe, Fixnum, Hash)>] UserMe data, response status code and response headers
|
|
344
|
+
def get_me_with_http_info(opts = {})
|
|
337
345
|
if @api_client.config.debugging
|
|
338
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
346
|
+
@api_client.config.logger.debug "Calling API: UsersApi#get_me ..."
|
|
339
347
|
end
|
|
340
348
|
|
|
341
349
|
# resource path
|
|
342
|
-
|
|
350
|
+
local_var_path = "/api/v2/users/me".sub('{format}','json')
|
|
343
351
|
|
|
344
352
|
# query parameters
|
|
345
353
|
query_params = {}
|
|
346
|
-
query_params[:'q64'] = opts[:'q64'] if opts[:'q64']
|
|
347
354
|
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
348
355
|
|
|
349
356
|
# header parameters
|
|
@@ -363,46 +370,49 @@ module PureCloud
|
|
|
363
370
|
# http body (model)
|
|
364
371
|
post_body = nil
|
|
365
372
|
|
|
366
|
-
|
|
367
373
|
auth_names = ['PureCloud Auth']
|
|
368
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
374
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
369
375
|
:header_params => header_params,
|
|
370
376
|
:query_params => query_params,
|
|
371
377
|
:form_params => form_params,
|
|
372
378
|
:body => post_body,
|
|
373
379
|
:auth_names => auth_names,
|
|
374
|
-
:return_type => '
|
|
380
|
+
:return_type => 'UserMe')
|
|
375
381
|
if @api_client.config.debugging
|
|
376
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
382
|
+
@api_client.config.logger.debug "API called: UsersApi#get_me\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
377
383
|
end
|
|
378
384
|
return data, status_code, headers
|
|
379
385
|
end
|
|
380
386
|
|
|
381
|
-
# Search
|
|
387
|
+
# Search using q64
|
|
382
388
|
#
|
|
383
389
|
# @param [Hash] opts the optional parameters
|
|
384
|
-
# @option opts [
|
|
390
|
+
# @option opts [String] :q64
|
|
391
|
+
# @option opts [Array<String>] :expand
|
|
385
392
|
# @return [UsersSearchResponse]
|
|
386
|
-
def
|
|
387
|
-
data, status_code, headers =
|
|
393
|
+
def get_search(opts = {})
|
|
394
|
+
data, status_code, headers = get_search_with_http_info(opts)
|
|
388
395
|
return data
|
|
389
396
|
end
|
|
390
397
|
|
|
391
|
-
# Search
|
|
398
|
+
# Search using q64
|
|
392
399
|
#
|
|
393
400
|
# @param [Hash] opts the optional parameters
|
|
394
|
-
# @option opts [
|
|
401
|
+
# @option opts [String] :q64
|
|
402
|
+
# @option opts [Array<String>] :expand
|
|
395
403
|
# @return [Array<(UsersSearchResponse, Fixnum, Hash)>] UsersSearchResponse data, response status code and response headers
|
|
396
|
-
def
|
|
404
|
+
def get_search_with_http_info(opts = {})
|
|
397
405
|
if @api_client.config.debugging
|
|
398
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
406
|
+
@api_client.config.logger.debug "Calling API: UsersApi#get_search ..."
|
|
399
407
|
end
|
|
400
408
|
|
|
401
409
|
# resource path
|
|
402
|
-
|
|
410
|
+
local_var_path = "/api/v2/users/search".sub('{format}','json')
|
|
403
411
|
|
|
404
412
|
# query parameters
|
|
405
413
|
query_params = {}
|
|
414
|
+
query_params[:'q64'] = opts[:'q64'] if opts[:'q64']
|
|
415
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
406
416
|
|
|
407
417
|
# header parameters
|
|
408
418
|
header_params = {}
|
|
@@ -419,11 +429,10 @@ module PureCloud
|
|
|
419
429
|
form_params = {}
|
|
420
430
|
|
|
421
431
|
# http body (model)
|
|
422
|
-
post_body =
|
|
432
|
+
post_body = nil
|
|
423
433
|
|
|
424
|
-
|
|
425
434
|
auth_names = ['PureCloud Auth']
|
|
426
|
-
data, status_code, headers = @api_client.call_api(:
|
|
435
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
427
436
|
:header_params => header_params,
|
|
428
437
|
:query_params => query_params,
|
|
429
438
|
:form_params => form_params,
|
|
@@ -431,7 +440,7 @@ module PureCloud
|
|
|
431
440
|
:auth_names => auth_names,
|
|
432
441
|
:return_type => 'UsersSearchResponse')
|
|
433
442
|
if @api_client.config.debugging
|
|
434
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
443
|
+
@api_client.config.logger.debug "API called: UsersApi#get_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
435
444
|
end
|
|
436
445
|
return data, status_code, headers
|
|
437
446
|
end
|
|
@@ -462,7 +471,7 @@ module PureCloud
|
|
|
462
471
|
fail "Missing the required parameter 'user_id' when calling get_user_id" if user_id.nil?
|
|
463
472
|
|
|
464
473
|
# resource path
|
|
465
|
-
|
|
474
|
+
local_var_path = "/api/v2/users/{userId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
466
475
|
|
|
467
476
|
# query parameters
|
|
468
477
|
query_params = {}
|
|
@@ -485,9 +494,8 @@ module PureCloud
|
|
|
485
494
|
# http body (model)
|
|
486
495
|
post_body = nil
|
|
487
496
|
|
|
488
|
-
|
|
489
497
|
auth_names = ['PureCloud Auth']
|
|
490
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
498
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
491
499
|
:header_params => header_params,
|
|
492
500
|
:query_params => query_params,
|
|
493
501
|
:form_params => form_params,
|
|
@@ -500,31 +508,31 @@ module PureCloud
|
|
|
500
508
|
return data, status_code, headers
|
|
501
509
|
end
|
|
502
510
|
|
|
503
|
-
#
|
|
511
|
+
# Get a user's CallForwarding
|
|
504
512
|
#
|
|
505
513
|
# @param user_id User ID
|
|
506
514
|
# @param [Hash] opts the optional parameters
|
|
507
|
-
# @return [
|
|
508
|
-
def
|
|
509
|
-
data, status_code, headers =
|
|
515
|
+
# @return [CallForwarding]
|
|
516
|
+
def get_user_id_callforwarding(user_id, opts = {})
|
|
517
|
+
data, status_code, headers = get_user_id_callforwarding_with_http_info(user_id, opts)
|
|
510
518
|
return data
|
|
511
519
|
end
|
|
512
520
|
|
|
513
|
-
#
|
|
521
|
+
# Get a user's CallForwarding
|
|
514
522
|
#
|
|
515
523
|
# @param user_id User ID
|
|
516
524
|
# @param [Hash] opts the optional parameters
|
|
517
|
-
# @return [Array<(
|
|
518
|
-
def
|
|
525
|
+
# @return [Array<(CallForwarding, Fixnum, Hash)>] CallForwarding data, response status code and response headers
|
|
526
|
+
def get_user_id_callforwarding_with_http_info(user_id, opts = {})
|
|
519
527
|
if @api_client.config.debugging
|
|
520
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
528
|
+
@api_client.config.logger.debug "Calling API: UsersApi#get_user_id_callforwarding ..."
|
|
521
529
|
end
|
|
522
530
|
|
|
523
531
|
# verify the required parameter 'user_id' is set
|
|
524
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
532
|
+
fail "Missing the required parameter 'user_id' when calling get_user_id_callforwarding" if user_id.nil?
|
|
525
533
|
|
|
526
534
|
# resource path
|
|
527
|
-
|
|
535
|
+
local_var_path = "/api/v2/users/{userId}/callforwarding".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
528
536
|
|
|
529
537
|
# query parameters
|
|
530
538
|
query_params = {}
|
|
@@ -546,48 +554,50 @@ module PureCloud
|
|
|
546
554
|
# http body (model)
|
|
547
555
|
post_body = nil
|
|
548
556
|
|
|
549
|
-
|
|
550
557
|
auth_names = ['PureCloud Auth']
|
|
551
|
-
data, status_code, headers = @api_client.call_api(:
|
|
558
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
552
559
|
:header_params => header_params,
|
|
553
560
|
:query_params => query_params,
|
|
554
561
|
:form_params => form_params,
|
|
555
562
|
:body => post_body,
|
|
556
563
|
:auth_names => auth_names,
|
|
557
|
-
:return_type => '
|
|
564
|
+
:return_type => 'CallForwarding')
|
|
558
565
|
if @api_client.config.debugging
|
|
559
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
566
|
+
@api_client.config.logger.debug "API called: UsersApi#get_user_id_callforwarding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
560
567
|
end
|
|
561
568
|
return data, status_code, headers
|
|
562
569
|
end
|
|
563
570
|
|
|
564
|
-
#
|
|
571
|
+
# Get a user's Geolocation
|
|
565
572
|
#
|
|
566
|
-
# @param user_id
|
|
573
|
+
# @param user_id user Id
|
|
574
|
+
# @param client_id client Id
|
|
567
575
|
# @param [Hash] opts the optional parameters
|
|
568
|
-
# @
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
data, status_code, headers = patch_user_id_with_http_info(user_id, opts)
|
|
576
|
+
# @return [Geolocation]
|
|
577
|
+
def get_user_id_geolocations_client_id(user_id, client_id, opts = {})
|
|
578
|
+
data, status_code, headers = get_user_id_geolocations_client_id_with_http_info(user_id, client_id, opts)
|
|
572
579
|
return data
|
|
573
580
|
end
|
|
574
581
|
|
|
575
|
-
#
|
|
582
|
+
# Get a user's Geolocation
|
|
576
583
|
#
|
|
577
|
-
# @param user_id
|
|
584
|
+
# @param user_id user Id
|
|
585
|
+
# @param client_id client Id
|
|
578
586
|
# @param [Hash] opts the optional parameters
|
|
579
|
-
# @
|
|
580
|
-
|
|
581
|
-
def patch_user_id_with_http_info(user_id, opts = {})
|
|
587
|
+
# @return [Array<(Geolocation, Fixnum, Hash)>] Geolocation data, response status code and response headers
|
|
588
|
+
def get_user_id_geolocations_client_id_with_http_info(user_id, client_id, opts = {})
|
|
582
589
|
if @api_client.config.debugging
|
|
583
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
590
|
+
@api_client.config.logger.debug "Calling API: UsersApi#get_user_id_geolocations_client_id ..."
|
|
584
591
|
end
|
|
585
592
|
|
|
586
593
|
# verify the required parameter 'user_id' is set
|
|
587
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
594
|
+
fail "Missing the required parameter 'user_id' when calling get_user_id_geolocations_client_id" if user_id.nil?
|
|
595
|
+
|
|
596
|
+
# verify the required parameter 'client_id' is set
|
|
597
|
+
fail "Missing the required parameter 'client_id' when calling get_user_id_geolocations_client_id" if client_id.nil?
|
|
588
598
|
|
|
589
599
|
# resource path
|
|
590
|
-
|
|
600
|
+
local_var_path = "/api/v2/users/{userId}/geolocations/{clientId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'clientId' + '}', client_id.to_s)
|
|
591
601
|
|
|
592
602
|
# query parameters
|
|
593
603
|
query_params = {}
|
|
@@ -607,48 +617,47 @@ module PureCloud
|
|
|
607
617
|
form_params = {}
|
|
608
618
|
|
|
609
619
|
# http body (model)
|
|
610
|
-
post_body =
|
|
620
|
+
post_body = nil
|
|
611
621
|
|
|
612
|
-
|
|
613
622
|
auth_names = ['PureCloud Auth']
|
|
614
|
-
data, status_code, headers = @api_client.call_api(:
|
|
623
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
615
624
|
:header_params => header_params,
|
|
616
625
|
:query_params => query_params,
|
|
617
626
|
:form_params => form_params,
|
|
618
627
|
:body => post_body,
|
|
619
628
|
:auth_names => auth_names,
|
|
620
|
-
:return_type => '
|
|
629
|
+
:return_type => 'Geolocation')
|
|
621
630
|
if @api_client.config.debugging
|
|
622
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
631
|
+
@api_client.config.logger.debug "API called: UsersApi#get_user_id_geolocations_client_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
623
632
|
end
|
|
624
633
|
return data, status_code, headers
|
|
625
634
|
end
|
|
626
635
|
|
|
627
|
-
# Get a
|
|
636
|
+
# Get a OutOfOffice
|
|
628
637
|
#
|
|
629
638
|
# @param user_id User ID
|
|
630
639
|
# @param [Hash] opts the optional parameters
|
|
631
|
-
# @return [
|
|
632
|
-
def
|
|
633
|
-
data, status_code, headers =
|
|
640
|
+
# @return [OutOfOffice]
|
|
641
|
+
def get_user_id_outofoffice(user_id, opts = {})
|
|
642
|
+
data, status_code, headers = get_user_id_outofoffice_with_http_info(user_id, opts)
|
|
634
643
|
return data
|
|
635
644
|
end
|
|
636
645
|
|
|
637
|
-
# Get a
|
|
646
|
+
# Get a OutOfOffice
|
|
638
647
|
#
|
|
639
648
|
# @param user_id User ID
|
|
640
649
|
# @param [Hash] opts the optional parameters
|
|
641
|
-
# @return [Array<(
|
|
642
|
-
def
|
|
650
|
+
# @return [Array<(OutOfOffice, Fixnum, Hash)>] OutOfOffice data, response status code and response headers
|
|
651
|
+
def get_user_id_outofoffice_with_http_info(user_id, opts = {})
|
|
643
652
|
if @api_client.config.debugging
|
|
644
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
653
|
+
@api_client.config.logger.debug "Calling API: UsersApi#get_user_id_outofoffice ..."
|
|
645
654
|
end
|
|
646
655
|
|
|
647
656
|
# verify the required parameter 'user_id' is set
|
|
648
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
657
|
+
fail "Missing the required parameter 'user_id' when calling get_user_id_outofoffice" if user_id.nil?
|
|
649
658
|
|
|
650
659
|
# resource path
|
|
651
|
-
|
|
660
|
+
local_var_path = "/api/v2/users/{userId}/outofoffice".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
652
661
|
|
|
653
662
|
# query parameters
|
|
654
663
|
query_params = {}
|
|
@@ -670,48 +679,50 @@ module PureCloud
|
|
|
670
679
|
# http body (model)
|
|
671
680
|
post_body = nil
|
|
672
681
|
|
|
673
|
-
|
|
674
682
|
auth_names = ['PureCloud Auth']
|
|
675
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
683
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
676
684
|
:header_params => header_params,
|
|
677
685
|
:query_params => query_params,
|
|
678
686
|
:form_params => form_params,
|
|
679
687
|
:body => post_body,
|
|
680
688
|
:auth_names => auth_names,
|
|
681
|
-
:return_type => '
|
|
689
|
+
:return_type => 'OutOfOffice')
|
|
682
690
|
if @api_client.config.debugging
|
|
683
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
691
|
+
@api_client.config.logger.debug "API called: UsersApi#get_user_id_outofoffice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
684
692
|
end
|
|
685
693
|
return data, status_code, headers
|
|
686
694
|
end
|
|
687
695
|
|
|
688
|
-
#
|
|
696
|
+
# Get a user's Presence
|
|
689
697
|
#
|
|
690
|
-
# @param user_id
|
|
698
|
+
# @param user_id user Id
|
|
699
|
+
# @param source source
|
|
691
700
|
# @param [Hash] opts the optional parameters
|
|
692
|
-
# @
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
data, status_code, headers = put_user_id_callforwarding_with_http_info(user_id, opts)
|
|
701
|
+
# @return [UserPresence]
|
|
702
|
+
def get_user_id_presences_source(user_id, source, opts = {})
|
|
703
|
+
data, status_code, headers = get_user_id_presences_source_with_http_info(user_id, source, opts)
|
|
696
704
|
return data
|
|
697
705
|
end
|
|
698
706
|
|
|
699
|
-
#
|
|
707
|
+
# Get a user's Presence
|
|
700
708
|
#
|
|
701
|
-
# @param user_id
|
|
709
|
+
# @param user_id user Id
|
|
710
|
+
# @param source source
|
|
702
711
|
# @param [Hash] opts the optional parameters
|
|
703
|
-
# @
|
|
704
|
-
|
|
705
|
-
def put_user_id_callforwarding_with_http_info(user_id, opts = {})
|
|
712
|
+
# @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
|
|
713
|
+
def get_user_id_presences_source_with_http_info(user_id, source, opts = {})
|
|
706
714
|
if @api_client.config.debugging
|
|
707
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
715
|
+
@api_client.config.logger.debug "Calling API: UsersApi#get_user_id_presences_source ..."
|
|
708
716
|
end
|
|
709
717
|
|
|
710
718
|
# verify the required parameter 'user_id' is set
|
|
711
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
719
|
+
fail "Missing the required parameter 'user_id' when calling get_user_id_presences_source" if user_id.nil?
|
|
720
|
+
|
|
721
|
+
# verify the required parameter 'source' is set
|
|
722
|
+
fail "Missing the required parameter 'source' when calling get_user_id_presences_source" if source.nil?
|
|
712
723
|
|
|
713
724
|
# resource path
|
|
714
|
-
|
|
725
|
+
local_var_path = "/api/v2/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
|
|
715
726
|
|
|
716
727
|
# query parameters
|
|
717
728
|
query_params = {}
|
|
@@ -731,53 +742,56 @@ module PureCloud
|
|
|
731
742
|
form_params = {}
|
|
732
743
|
|
|
733
744
|
# http body (model)
|
|
734
|
-
post_body =
|
|
745
|
+
post_body = nil
|
|
735
746
|
|
|
736
|
-
|
|
737
747
|
auth_names = ['PureCloud Auth']
|
|
738
|
-
data, status_code, headers = @api_client.call_api(:
|
|
748
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
739
749
|
:header_params => header_params,
|
|
740
750
|
:query_params => query_params,
|
|
741
751
|
:form_params => form_params,
|
|
742
752
|
:body => post_body,
|
|
743
753
|
:auth_names => auth_names,
|
|
744
|
-
:return_type => '
|
|
754
|
+
:return_type => 'UserPresence')
|
|
745
755
|
if @api_client.config.debugging
|
|
746
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
756
|
+
@api_client.config.logger.debug "API called: UsersApi#get_user_id_presences_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
747
757
|
end
|
|
748
758
|
return data, status_code, headers
|
|
749
759
|
end
|
|
750
760
|
|
|
751
|
-
#
|
|
761
|
+
# Get queues for user
|
|
752
762
|
#
|
|
753
763
|
# @param user_id User ID
|
|
754
764
|
# @param [Hash] opts the optional parameters
|
|
755
|
-
# @option opts [
|
|
756
|
-
# @
|
|
757
|
-
|
|
758
|
-
|
|
765
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
|
766
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
|
767
|
+
# @return [UserQueueEntityListing]
|
|
768
|
+
def get_user_id_queues(user_id, opts = {})
|
|
769
|
+
data, status_code, headers = get_user_id_queues_with_http_info(user_id, opts)
|
|
759
770
|
return data
|
|
760
771
|
end
|
|
761
772
|
|
|
762
|
-
#
|
|
773
|
+
# Get queues for user
|
|
763
774
|
#
|
|
764
775
|
# @param user_id User ID
|
|
765
776
|
# @param [Hash] opts the optional parameters
|
|
766
|
-
# @option opts [
|
|
767
|
-
# @
|
|
768
|
-
|
|
777
|
+
# @option opts [Integer] :page_size Page size
|
|
778
|
+
# @option opts [Integer] :page_number Page number
|
|
779
|
+
# @return [Array<(UserQueueEntityListing, Fixnum, Hash)>] UserQueueEntityListing data, response status code and response headers
|
|
780
|
+
def get_user_id_queues_with_http_info(user_id, opts = {})
|
|
769
781
|
if @api_client.config.debugging
|
|
770
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
782
|
+
@api_client.config.logger.debug "Calling API: UsersApi#get_user_id_queues ..."
|
|
771
783
|
end
|
|
772
784
|
|
|
773
785
|
# verify the required parameter 'user_id' is set
|
|
774
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
786
|
+
fail "Missing the required parameter 'user_id' when calling get_user_id_queues" if user_id.nil?
|
|
775
787
|
|
|
776
788
|
# resource path
|
|
777
|
-
|
|
789
|
+
local_var_path = "/api/v2/users/{userId}/queues".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
778
790
|
|
|
779
791
|
# query parameters
|
|
780
792
|
query_params = {}
|
|
793
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
794
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
781
795
|
|
|
782
796
|
# header parameters
|
|
783
797
|
header_params = {}
|
|
@@ -794,53 +808,47 @@ module PureCloud
|
|
|
794
808
|
form_params = {}
|
|
795
809
|
|
|
796
810
|
# http body (model)
|
|
797
|
-
post_body =
|
|
811
|
+
post_body = nil
|
|
798
812
|
|
|
799
|
-
|
|
800
813
|
auth_names = ['PureCloud Auth']
|
|
801
|
-
data, status_code, headers = @api_client.call_api(:
|
|
814
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
802
815
|
:header_params => header_params,
|
|
803
816
|
:query_params => query_params,
|
|
804
817
|
:form_params => form_params,
|
|
805
818
|
:body => post_body,
|
|
806
819
|
:auth_names => auth_names,
|
|
807
|
-
:return_type => '
|
|
820
|
+
:return_type => 'UserQueueEntityListing')
|
|
808
821
|
if @api_client.config.debugging
|
|
809
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
822
|
+
@api_client.config.logger.debug "API called: UsersApi#get_user_id_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
810
823
|
end
|
|
811
824
|
return data, status_code, headers
|
|
812
825
|
end
|
|
813
826
|
|
|
814
|
-
#
|
|
827
|
+
# Returns a listing of roles and permissions for a user.
|
|
815
828
|
#
|
|
816
|
-
# @param user_id
|
|
817
|
-
# @param client_id client Id
|
|
829
|
+
# @param user_id User ID
|
|
818
830
|
# @param [Hash] opts the optional parameters
|
|
819
|
-
# @return [
|
|
820
|
-
def
|
|
821
|
-
data, status_code, headers =
|
|
831
|
+
# @return [UserAuthorization]
|
|
832
|
+
def get_user_id_roles(user_id, opts = {})
|
|
833
|
+
data, status_code, headers = get_user_id_roles_with_http_info(user_id, opts)
|
|
822
834
|
return data
|
|
823
835
|
end
|
|
824
836
|
|
|
825
|
-
#
|
|
837
|
+
# Returns a listing of roles and permissions for a user.
|
|
826
838
|
#
|
|
827
|
-
# @param user_id
|
|
828
|
-
# @param client_id client Id
|
|
839
|
+
# @param user_id User ID
|
|
829
840
|
# @param [Hash] opts the optional parameters
|
|
830
|
-
# @return [Array<(
|
|
831
|
-
def
|
|
841
|
+
# @return [Array<(UserAuthorization, Fixnum, Hash)>] UserAuthorization data, response status code and response headers
|
|
842
|
+
def get_user_id_roles_with_http_info(user_id, opts = {})
|
|
832
843
|
if @api_client.config.debugging
|
|
833
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
844
|
+
@api_client.config.logger.debug "Calling API: UsersApi#get_user_id_roles ..."
|
|
834
845
|
end
|
|
835
846
|
|
|
836
847
|
# verify the required parameter 'user_id' is set
|
|
837
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
838
|
-
|
|
839
|
-
# verify the required parameter 'client_id' is set
|
|
840
|
-
fail "Missing the required parameter 'client_id' when calling get_user_id_geolocations_client_id" if client_id.nil?
|
|
848
|
+
fail "Missing the required parameter 'user_id' when calling get_user_id_roles" if user_id.nil?
|
|
841
849
|
|
|
842
850
|
# resource path
|
|
843
|
-
|
|
851
|
+
local_var_path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
844
852
|
|
|
845
853
|
# query parameters
|
|
846
854
|
query_params = {}
|
|
@@ -862,56 +870,61 @@ module PureCloud
|
|
|
862
870
|
# http body (model)
|
|
863
871
|
post_body = nil
|
|
864
872
|
|
|
865
|
-
|
|
866
873
|
auth_names = ['PureCloud Auth']
|
|
867
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
874
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
868
875
|
:header_params => header_params,
|
|
869
876
|
:query_params => query_params,
|
|
870
877
|
:form_params => form_params,
|
|
871
878
|
:body => post_body,
|
|
872
879
|
:auth_names => auth_names,
|
|
873
|
-
:return_type => '
|
|
880
|
+
:return_type => 'UserAuthorization')
|
|
874
881
|
if @api_client.config.debugging
|
|
875
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
882
|
+
@api_client.config.logger.debug "API called: UsersApi#get_user_id_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
876
883
|
end
|
|
877
884
|
return data, status_code, headers
|
|
878
885
|
end
|
|
879
886
|
|
|
880
|
-
#
|
|
881
|
-
#
|
|
882
|
-
# @param user_id
|
|
883
|
-
# @param client_id client Id
|
|
887
|
+
# List routing skills for user
|
|
888
|
+
#
|
|
889
|
+
# @param user_id User ID
|
|
884
890
|
# @param [Hash] opts the optional parameters
|
|
885
|
-
# @option opts [
|
|
886
|
-
# @
|
|
887
|
-
|
|
888
|
-
|
|
891
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
|
892
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
|
893
|
+
# @option opts [String] :sort_order Ascending or descending sort order (default to ASC)
|
|
894
|
+
# @return [UserSkillEntityListing]
|
|
895
|
+
def get_user_id_routingskills(user_id, opts = {})
|
|
896
|
+
data, status_code, headers = get_user_id_routingskills_with_http_info(user_id, opts)
|
|
889
897
|
return data
|
|
890
898
|
end
|
|
891
899
|
|
|
892
|
-
#
|
|
893
|
-
#
|
|
894
|
-
# @param user_id
|
|
895
|
-
# @param client_id client Id
|
|
900
|
+
# List routing skills for user
|
|
901
|
+
#
|
|
902
|
+
# @param user_id User ID
|
|
896
903
|
# @param [Hash] opts the optional parameters
|
|
897
|
-
# @option opts [
|
|
898
|
-
# @
|
|
899
|
-
|
|
904
|
+
# @option opts [Integer] :page_size Page size
|
|
905
|
+
# @option opts [Integer] :page_number Page number
|
|
906
|
+
# @option opts [String] :sort_order Ascending or descending sort order
|
|
907
|
+
# @return [Array<(UserSkillEntityListing, Fixnum, Hash)>] UserSkillEntityListing data, response status code and response headers
|
|
908
|
+
def get_user_id_routingskills_with_http_info(user_id, opts = {})
|
|
900
909
|
if @api_client.config.debugging
|
|
901
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
910
|
+
@api_client.config.logger.debug "Calling API: UsersApi#get_user_id_routingskills ..."
|
|
902
911
|
end
|
|
903
912
|
|
|
904
913
|
# verify the required parameter 'user_id' is set
|
|
905
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
914
|
+
fail "Missing the required parameter 'user_id' when calling get_user_id_routingskills" if user_id.nil?
|
|
906
915
|
|
|
907
|
-
|
|
908
|
-
|
|
916
|
+
if opts[:'sort_order'] && !['[ascending', 'descending]'].include?(opts[:'sort_order'])
|
|
917
|
+
fail 'invalid value for "sort_order", must be one of [ascending, descending]'
|
|
918
|
+
end
|
|
909
919
|
|
|
910
920
|
# resource path
|
|
911
|
-
|
|
921
|
+
local_var_path = "/api/v2/users/{userId}/routingskills".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
912
922
|
|
|
913
923
|
# query parameters
|
|
914
924
|
query_params = {}
|
|
925
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
926
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
927
|
+
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
915
928
|
|
|
916
929
|
# header parameters
|
|
917
930
|
header_params = {}
|
|
@@ -928,48 +941,47 @@ module PureCloud
|
|
|
928
941
|
form_params = {}
|
|
929
942
|
|
|
930
943
|
# http body (model)
|
|
931
|
-
post_body =
|
|
944
|
+
post_body = nil
|
|
932
945
|
|
|
933
|
-
|
|
934
946
|
auth_names = ['PureCloud Auth']
|
|
935
|
-
data, status_code, headers = @api_client.call_api(:
|
|
947
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
936
948
|
:header_params => header_params,
|
|
937
949
|
:query_params => query_params,
|
|
938
950
|
:form_params => form_params,
|
|
939
951
|
:body => post_body,
|
|
940
952
|
:auth_names => auth_names,
|
|
941
|
-
:return_type => '
|
|
953
|
+
:return_type => 'UserSkillEntityListing')
|
|
942
954
|
if @api_client.config.debugging
|
|
943
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
955
|
+
@api_client.config.logger.debug "API called: UsersApi#get_user_id_routingskills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
944
956
|
end
|
|
945
957
|
return data, status_code, headers
|
|
946
958
|
end
|
|
947
959
|
|
|
948
|
-
#
|
|
960
|
+
# Fetch the routing status of a user
|
|
949
961
|
#
|
|
950
962
|
# @param user_id User ID
|
|
951
963
|
# @param [Hash] opts the optional parameters
|
|
952
|
-
# @return [
|
|
953
|
-
def
|
|
954
|
-
data, status_code, headers =
|
|
964
|
+
# @return [RoutingStatus]
|
|
965
|
+
def get_user_id_routingstatus(user_id, opts = {})
|
|
966
|
+
data, status_code, headers = get_user_id_routingstatus_with_http_info(user_id, opts)
|
|
955
967
|
return data
|
|
956
968
|
end
|
|
957
969
|
|
|
958
|
-
#
|
|
970
|
+
# Fetch the routing status of a user
|
|
959
971
|
#
|
|
960
972
|
# @param user_id User ID
|
|
961
973
|
# @param [Hash] opts the optional parameters
|
|
962
|
-
# @return [Array<(
|
|
963
|
-
def
|
|
974
|
+
# @return [Array<(RoutingStatus, Fixnum, Hash)>] RoutingStatus data, response status code and response headers
|
|
975
|
+
def get_user_id_routingstatus_with_http_info(user_id, opts = {})
|
|
964
976
|
if @api_client.config.debugging
|
|
965
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
977
|
+
@api_client.config.logger.debug "Calling API: UsersApi#get_user_id_routingstatus ..."
|
|
966
978
|
end
|
|
967
979
|
|
|
968
980
|
# verify the required parameter 'user_id' is set
|
|
969
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
981
|
+
fail "Missing the required parameter 'user_id' when calling get_user_id_routingstatus" if user_id.nil?
|
|
970
982
|
|
|
971
983
|
# resource path
|
|
972
|
-
|
|
984
|
+
local_var_path = "/api/v2/users/{userId}/routingstatus".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
973
985
|
|
|
974
986
|
# query parameters
|
|
975
987
|
query_params = {}
|
|
@@ -991,51 +1003,45 @@ module PureCloud
|
|
|
991
1003
|
# http body (model)
|
|
992
1004
|
post_body = nil
|
|
993
1005
|
|
|
994
|
-
|
|
995
1006
|
auth_names = ['PureCloud Auth']
|
|
996
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
1007
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
997
1008
|
:header_params => header_params,
|
|
998
1009
|
:query_params => query_params,
|
|
999
1010
|
:form_params => form_params,
|
|
1000
1011
|
:body => post_body,
|
|
1001
1012
|
:auth_names => auth_names,
|
|
1002
|
-
:return_type => '
|
|
1013
|
+
:return_type => 'RoutingStatus')
|
|
1003
1014
|
if @api_client.config.debugging
|
|
1004
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1015
|
+
@api_client.config.logger.debug "API called: UsersApi#get_user_id_routingstatus\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1005
1016
|
end
|
|
1006
1017
|
return data, status_code, headers
|
|
1007
1018
|
end
|
|
1008
1019
|
|
|
1009
|
-
#
|
|
1020
|
+
# Get station information for user
|
|
1010
1021
|
#
|
|
1011
1022
|
# @param user_id User ID
|
|
1012
|
-
# @param body The updated UserPresence
|
|
1013
1023
|
# @param [Hash] opts the optional parameters
|
|
1014
|
-
# @return [
|
|
1015
|
-
def
|
|
1016
|
-
data, status_code, headers =
|
|
1024
|
+
# @return [UserStations]
|
|
1025
|
+
def get_user_id_station(user_id, opts = {})
|
|
1026
|
+
data, status_code, headers = get_user_id_station_with_http_info(user_id, opts)
|
|
1017
1027
|
return data
|
|
1018
1028
|
end
|
|
1019
1029
|
|
|
1020
|
-
#
|
|
1030
|
+
# Get station information for user
|
|
1021
1031
|
#
|
|
1022
1032
|
# @param user_id User ID
|
|
1023
|
-
# @param body The updated UserPresence
|
|
1024
1033
|
# @param [Hash] opts the optional parameters
|
|
1025
|
-
# @return [Array<(
|
|
1026
|
-
def
|
|
1034
|
+
# @return [Array<(UserStations, Fixnum, Hash)>] UserStations data, response status code and response headers
|
|
1035
|
+
def get_user_id_station_with_http_info(user_id, opts = {})
|
|
1027
1036
|
if @api_client.config.debugging
|
|
1028
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
1037
|
+
@api_client.config.logger.debug "Calling API: UsersApi#get_user_id_station ..."
|
|
1029
1038
|
end
|
|
1030
1039
|
|
|
1031
1040
|
# verify the required parameter 'user_id' is set
|
|
1032
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
1033
|
-
|
|
1034
|
-
# verify the required parameter 'body' is set
|
|
1035
|
-
fail "Missing the required parameter 'body' when calling put_user_id_outofoffice" if body.nil?
|
|
1041
|
+
fail "Missing the required parameter 'user_id' when calling get_user_id_station" if user_id.nil?
|
|
1036
1042
|
|
|
1037
1043
|
# resource path
|
|
1038
|
-
|
|
1044
|
+
local_var_path = "/api/v2/users/{userId}/station".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
1039
1045
|
|
|
1040
1046
|
# query parameters
|
|
1041
1047
|
query_params = {}
|
|
@@ -1055,56 +1061,64 @@ module PureCloud
|
|
|
1055
1061
|
form_params = {}
|
|
1056
1062
|
|
|
1057
1063
|
# http body (model)
|
|
1058
|
-
post_body =
|
|
1064
|
+
post_body = nil
|
|
1059
1065
|
|
|
1060
|
-
|
|
1061
1066
|
auth_names = ['PureCloud Auth']
|
|
1062
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1067
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1063
1068
|
:header_params => header_params,
|
|
1064
1069
|
:query_params => query_params,
|
|
1065
1070
|
:form_params => form_params,
|
|
1066
1071
|
:body => post_body,
|
|
1067
1072
|
:auth_names => auth_names,
|
|
1068
|
-
:return_type => '
|
|
1073
|
+
:return_type => 'UserStations')
|
|
1069
1074
|
if @api_client.config.debugging
|
|
1070
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1075
|
+
@api_client.config.logger.debug "API called: UsersApi#get_user_id_station\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1071
1076
|
end
|
|
1072
1077
|
return data, status_code, headers
|
|
1073
1078
|
end
|
|
1074
1079
|
|
|
1075
|
-
# Get
|
|
1080
|
+
# Get the list of available users.
|
|
1076
1081
|
#
|
|
1077
|
-
# @param user_id user Id
|
|
1078
|
-
# @param source source
|
|
1079
1082
|
# @param [Hash] opts the optional parameters
|
|
1080
|
-
# @
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
|
1084
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
|
1085
|
+
# @option opts [Array<String>] :id The list of user ids to get. Paging is ignored if ids are specified
|
|
1086
|
+
# @option opts [String] :sort_order Ascending or descending sort order (default to ASC)
|
|
1087
|
+
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1088
|
+
# @return [UsersEntityListing]
|
|
1089
|
+
def get_users(opts = {})
|
|
1090
|
+
data, status_code, headers = get_users_with_http_info(opts)
|
|
1083
1091
|
return data
|
|
1084
1092
|
end
|
|
1085
1093
|
|
|
1086
|
-
# Get
|
|
1094
|
+
# Get the list of available users.
|
|
1087
1095
|
#
|
|
1088
|
-
# @param user_id user Id
|
|
1089
|
-
# @param source source
|
|
1090
1096
|
# @param [Hash] opts the optional parameters
|
|
1091
|
-
# @
|
|
1092
|
-
|
|
1097
|
+
# @option opts [Integer] :page_size Page size
|
|
1098
|
+
# @option opts [Integer] :page_number Page number
|
|
1099
|
+
# @option opts [Array<String>] :id The list of user ids to get. Paging is ignored if ids are specified
|
|
1100
|
+
# @option opts [String] :sort_order Ascending or descending sort order
|
|
1101
|
+
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1102
|
+
# @return [Array<(UsersEntityListing, Fixnum, Hash)>] UsersEntityListing data, response status code and response headers
|
|
1103
|
+
def get_users_with_http_info(opts = {})
|
|
1093
1104
|
if @api_client.config.debugging
|
|
1094
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
1105
|
+
@api_client.config.logger.debug "Calling API: UsersApi#get_users ..."
|
|
1095
1106
|
end
|
|
1096
1107
|
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
# verify the required parameter 'source' is set
|
|
1101
|
-
fail "Missing the required parameter 'source' when calling get_user_id_presences_source" if source.nil?
|
|
1108
|
+
if opts[:'sort_order'] && !['[ascending', 'descending]'].include?(opts[:'sort_order'])
|
|
1109
|
+
fail 'invalid value for "sort_order", must be one of [ascending, descending]'
|
|
1110
|
+
end
|
|
1102
1111
|
|
|
1103
1112
|
# resource path
|
|
1104
|
-
|
|
1113
|
+
local_var_path = "/api/v2/users".sub('{format}','json')
|
|
1105
1114
|
|
|
1106
1115
|
# query parameters
|
|
1107
1116
|
query_params = {}
|
|
1117
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
1118
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
1119
|
+
query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id']
|
|
1120
|
+
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
1121
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
1108
1122
|
|
|
1109
1123
|
# header parameters
|
|
1110
1124
|
header_params = {}
|
|
@@ -1123,53 +1137,47 @@ module PureCloud
|
|
|
1123
1137
|
# http body (model)
|
|
1124
1138
|
post_body = nil
|
|
1125
1139
|
|
|
1126
|
-
|
|
1127
1140
|
auth_names = ['PureCloud Auth']
|
|
1128
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
1141
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1129
1142
|
:header_params => header_params,
|
|
1130
1143
|
:query_params => query_params,
|
|
1131
1144
|
:form_params => form_params,
|
|
1132
1145
|
:body => post_body,
|
|
1133
1146
|
:auth_names => auth_names,
|
|
1134
|
-
:return_type => '
|
|
1147
|
+
:return_type => 'UsersEntityListing')
|
|
1135
1148
|
if @api_client.config.debugging
|
|
1136
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1149
|
+
@api_client.config.logger.debug "API called: UsersApi#get_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1137
1150
|
end
|
|
1138
1151
|
return data, status_code, headers
|
|
1139
1152
|
end
|
|
1140
1153
|
|
|
1141
|
-
#
|
|
1142
|
-
#
|
|
1143
|
-
# @param user_id
|
|
1144
|
-
# @param source source
|
|
1154
|
+
# Update user
|
|
1155
|
+
#
|
|
1156
|
+
# @param user_id User ID
|
|
1145
1157
|
# @param [Hash] opts the optional parameters
|
|
1146
|
-
# @option opts [
|
|
1147
|
-
# @return [
|
|
1148
|
-
def
|
|
1149
|
-
data, status_code, headers =
|
|
1158
|
+
# @option opts [User] :body
|
|
1159
|
+
# @return [User]
|
|
1160
|
+
def patch_user_id(user_id, opts = {})
|
|
1161
|
+
data, status_code, headers = patch_user_id_with_http_info(user_id, opts)
|
|
1150
1162
|
return data
|
|
1151
1163
|
end
|
|
1152
1164
|
|
|
1153
|
-
#
|
|
1154
|
-
#
|
|
1155
|
-
# @param user_id
|
|
1156
|
-
# @param source source
|
|
1165
|
+
# Update user
|
|
1166
|
+
#
|
|
1167
|
+
# @param user_id User ID
|
|
1157
1168
|
# @param [Hash] opts the optional parameters
|
|
1158
|
-
# @option opts [
|
|
1159
|
-
# @return [Array<(
|
|
1160
|
-
def
|
|
1169
|
+
# @option opts [User] :body
|
|
1170
|
+
# @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
|
|
1171
|
+
def patch_user_id_with_http_info(user_id, opts = {})
|
|
1161
1172
|
if @api_client.config.debugging
|
|
1162
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
1173
|
+
@api_client.config.logger.debug "Calling API: UsersApi#patch_user_id ..."
|
|
1163
1174
|
end
|
|
1164
1175
|
|
|
1165
1176
|
# verify the required parameter 'user_id' is set
|
|
1166
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
1167
|
-
|
|
1168
|
-
# verify the required parameter 'source' is set
|
|
1169
|
-
fail "Missing the required parameter 'source' when calling patch_user_id_presences_source" if source.nil?
|
|
1177
|
+
fail "Missing the required parameter 'user_id' when calling patch_user_id" if user_id.nil?
|
|
1170
1178
|
|
|
1171
1179
|
# resource path
|
|
1172
|
-
|
|
1180
|
+
local_var_path = "/api/v2/users/{userId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
1173
1181
|
|
|
1174
1182
|
# query parameters
|
|
1175
1183
|
query_params = {}
|
|
@@ -1191,55 +1199,50 @@ module PureCloud
|
|
|
1191
1199
|
# http body (model)
|
|
1192
1200
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1193
1201
|
|
|
1194
|
-
|
|
1195
1202
|
auth_names = ['PureCloud Auth']
|
|
1196
|
-
data, status_code, headers = @api_client.call_api(:PATCH,
|
|
1203
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1197
1204
|
:header_params => header_params,
|
|
1198
1205
|
:query_params => query_params,
|
|
1199
1206
|
:form_params => form_params,
|
|
1200
1207
|
:body => post_body,
|
|
1201
1208
|
:auth_names => auth_names,
|
|
1202
|
-
:return_type => '
|
|
1209
|
+
:return_type => 'User')
|
|
1203
1210
|
if @api_client.config.debugging
|
|
1204
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1211
|
+
@api_client.config.logger.debug "API called: UsersApi#patch_user_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1205
1212
|
end
|
|
1206
1213
|
return data, status_code, headers
|
|
1207
1214
|
end
|
|
1208
1215
|
|
|
1209
|
-
#
|
|
1216
|
+
# Patch a user's CallForwarding
|
|
1210
1217
|
#
|
|
1211
1218
|
# @param user_id User ID
|
|
1212
1219
|
# @param [Hash] opts the optional parameters
|
|
1213
|
-
# @option opts [
|
|
1214
|
-
# @
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
data, status_code, headers = get_user_id_queues_with_http_info(user_id, opts)
|
|
1220
|
+
# @option opts [CallForwarding] :body
|
|
1221
|
+
# @return [CallForwarding]
|
|
1222
|
+
def patch_user_id_callforwarding(user_id, opts = {})
|
|
1223
|
+
data, status_code, headers = patch_user_id_callforwarding_with_http_info(user_id, opts)
|
|
1218
1224
|
return data
|
|
1219
1225
|
end
|
|
1220
1226
|
|
|
1221
|
-
#
|
|
1227
|
+
# Patch a user's CallForwarding
|
|
1222
1228
|
#
|
|
1223
1229
|
# @param user_id User ID
|
|
1224
1230
|
# @param [Hash] opts the optional parameters
|
|
1225
|
-
# @option opts [
|
|
1226
|
-
# @
|
|
1227
|
-
|
|
1228
|
-
def get_user_id_queues_with_http_info(user_id, opts = {})
|
|
1231
|
+
# @option opts [CallForwarding] :body
|
|
1232
|
+
# @return [Array<(CallForwarding, Fixnum, Hash)>] CallForwarding data, response status code and response headers
|
|
1233
|
+
def patch_user_id_callforwarding_with_http_info(user_id, opts = {})
|
|
1229
1234
|
if @api_client.config.debugging
|
|
1230
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
1235
|
+
@api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_callforwarding ..."
|
|
1231
1236
|
end
|
|
1232
1237
|
|
|
1233
1238
|
# verify the required parameter 'user_id' is set
|
|
1234
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
1239
|
+
fail "Missing the required parameter 'user_id' when calling patch_user_id_callforwarding" if user_id.nil?
|
|
1235
1240
|
|
|
1236
1241
|
# resource path
|
|
1237
|
-
|
|
1242
|
+
local_var_path = "/api/v2/users/{userId}/callforwarding".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
1238
1243
|
|
|
1239
1244
|
# query parameters
|
|
1240
1245
|
query_params = {}
|
|
1241
|
-
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
1242
|
-
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
1243
1246
|
|
|
1244
1247
|
# header parameters
|
|
1245
1248
|
header_params = {}
|
|
@@ -1256,50 +1259,54 @@ module PureCloud
|
|
|
1256
1259
|
form_params = {}
|
|
1257
1260
|
|
|
1258
1261
|
# http body (model)
|
|
1259
|
-
post_body =
|
|
1262
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1260
1263
|
|
|
1261
|
-
|
|
1262
1264
|
auth_names = ['PureCloud Auth']
|
|
1263
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1265
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1264
1266
|
:header_params => header_params,
|
|
1265
1267
|
:query_params => query_params,
|
|
1266
1268
|
:form_params => form_params,
|
|
1267
1269
|
:body => post_body,
|
|
1268
1270
|
:auth_names => auth_names,
|
|
1269
|
-
:return_type => '
|
|
1271
|
+
:return_type => 'CallForwarding')
|
|
1270
1272
|
if @api_client.config.debugging
|
|
1271
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1273
|
+
@api_client.config.logger.debug "API called: UsersApi#patch_user_id_callforwarding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1272
1274
|
end
|
|
1273
1275
|
return data, status_code, headers
|
|
1274
1276
|
end
|
|
1275
1277
|
|
|
1276
|
-
#
|
|
1277
|
-
#
|
|
1278
|
-
# @param user_id
|
|
1278
|
+
# Patch a user's Geolocation
|
|
1279
|
+
# The geolocation object can be patched one of three ways. Option 1: Set the 'primary' property to true. This will set the client as the user's primary geolocation source. Option 2: Provide the 'latitude' and 'longitude' values. This will enqueue an asynchronous update of the 'city', 'region', and 'country', generating a notification. A subsequent GET operation will include the new values for 'city', 'region' and 'country'. Option 3: Provide the 'city', 'region', 'country' values. Option 1 can be combined with Option 2 or Option 3. For example, update the client as primary and provide latitude and longitude values.
|
|
1280
|
+
# @param user_id user Id
|
|
1281
|
+
# @param client_id client Id
|
|
1279
1282
|
# @param [Hash] opts the optional parameters
|
|
1280
|
-
# @option opts [
|
|
1281
|
-
# @return [
|
|
1282
|
-
def
|
|
1283
|
-
data, status_code, headers =
|
|
1283
|
+
# @option opts [Geolocation] :body
|
|
1284
|
+
# @return [Geolocation]
|
|
1285
|
+
def patch_user_id_geolocations_client_id(user_id, client_id, opts = {})
|
|
1286
|
+
data, status_code, headers = patch_user_id_geolocations_client_id_with_http_info(user_id, client_id, opts)
|
|
1284
1287
|
return data
|
|
1285
1288
|
end
|
|
1286
1289
|
|
|
1287
|
-
#
|
|
1288
|
-
#
|
|
1289
|
-
# @param user_id
|
|
1290
|
+
# Patch a user's Geolocation
|
|
1291
|
+
# The geolocation object can be patched one of three ways. Option 1: Set the 'primary' property to true. This will set the client as the user's primary geolocation source. Option 2: Provide the 'latitude' and 'longitude' values. This will enqueue an asynchronous update of the 'city', 'region', and 'country', generating a notification. A subsequent GET operation will include the new values for 'city', 'region' and 'country'. Option 3: Provide the 'city', 'region', 'country' values. Option 1 can be combined with Option 2 or Option 3. For example, update the client as primary and provide latitude and longitude values.
|
|
1292
|
+
# @param user_id user Id
|
|
1293
|
+
# @param client_id client Id
|
|
1290
1294
|
# @param [Hash] opts the optional parameters
|
|
1291
|
-
# @option opts [
|
|
1292
|
-
# @return [Array<(
|
|
1293
|
-
def
|
|
1295
|
+
# @option opts [Geolocation] :body
|
|
1296
|
+
# @return [Array<(Geolocation, Fixnum, Hash)>] Geolocation data, response status code and response headers
|
|
1297
|
+
def patch_user_id_geolocations_client_id_with_http_info(user_id, client_id, opts = {})
|
|
1294
1298
|
if @api_client.config.debugging
|
|
1295
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
1299
|
+
@api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_geolocations_client_id ..."
|
|
1296
1300
|
end
|
|
1297
1301
|
|
|
1298
1302
|
# verify the required parameter 'user_id' is set
|
|
1299
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
1303
|
+
fail "Missing the required parameter 'user_id' when calling patch_user_id_geolocations_client_id" if user_id.nil?
|
|
1304
|
+
|
|
1305
|
+
# verify the required parameter 'client_id' is set
|
|
1306
|
+
fail "Missing the required parameter 'client_id' when calling patch_user_id_geolocations_client_id" if client_id.nil?
|
|
1300
1307
|
|
|
1301
1308
|
# resource path
|
|
1302
|
-
|
|
1309
|
+
local_var_path = "/api/v2/users/{userId}/geolocations/{clientId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'clientId' + '}', client_id.to_s)
|
|
1303
1310
|
|
|
1304
1311
|
# query parameters
|
|
1305
1312
|
query_params = {}
|
|
@@ -1321,53 +1328,52 @@ module PureCloud
|
|
|
1321
1328
|
# http body (model)
|
|
1322
1329
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1323
1330
|
|
|
1324
|
-
|
|
1325
1331
|
auth_names = ['PureCloud Auth']
|
|
1326
|
-
data, status_code, headers = @api_client.call_api(:PATCH,
|
|
1332
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1327
1333
|
:header_params => header_params,
|
|
1328
1334
|
:query_params => query_params,
|
|
1329
1335
|
:form_params => form_params,
|
|
1330
1336
|
:body => post_body,
|
|
1331
1337
|
:auth_names => auth_names,
|
|
1332
|
-
:return_type => '
|
|
1338
|
+
:return_type => 'Geolocation')
|
|
1333
1339
|
if @api_client.config.debugging
|
|
1334
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1340
|
+
@api_client.config.logger.debug "API called: UsersApi#patch_user_id_geolocations_client_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1335
1341
|
end
|
|
1336
1342
|
return data, status_code, headers
|
|
1337
1343
|
end
|
|
1338
1344
|
|
|
1339
|
-
#
|
|
1340
|
-
#
|
|
1341
|
-
# @param
|
|
1342
|
-
# @param
|
|
1345
|
+
# Patch a user's Presence
|
|
1346
|
+
# The presence object can be patched one of three ways. Option 1: Set the 'primary' property to true. This will set the 'source' defined in the path as the user's primary presence source. Option 2: Provide the presenceDefinition value. Option 3: Provide the message value. Option 1 can be combined with Option2 and/or Option 3.
|
|
1347
|
+
# @param user_id user Id
|
|
1348
|
+
# @param source source
|
|
1343
1349
|
# @param [Hash] opts the optional parameters
|
|
1344
|
-
# @option opts [
|
|
1345
|
-
# @return [
|
|
1346
|
-
def
|
|
1347
|
-
data, status_code, headers =
|
|
1350
|
+
# @option opts [UserPresence] :body
|
|
1351
|
+
# @return [UserPresence]
|
|
1352
|
+
def patch_user_id_presences_source(user_id, source, opts = {})
|
|
1353
|
+
data, status_code, headers = patch_user_id_presences_source_with_http_info(user_id, source, opts)
|
|
1348
1354
|
return data
|
|
1349
1355
|
end
|
|
1350
1356
|
|
|
1351
|
-
#
|
|
1352
|
-
#
|
|
1353
|
-
# @param
|
|
1354
|
-
# @param
|
|
1357
|
+
# Patch a user's Presence
|
|
1358
|
+
# The presence object can be patched one of three ways. Option 1: Set the 'primary' property to true. This will set the 'source' defined in the path as the user's primary presence source. Option 2: Provide the presenceDefinition value. Option 3: Provide the message value. Option 1 can be combined with Option2 and/or Option 3.
|
|
1359
|
+
# @param user_id user Id
|
|
1360
|
+
# @param source source
|
|
1355
1361
|
# @param [Hash] opts the optional parameters
|
|
1356
|
-
# @option opts [
|
|
1357
|
-
# @return [Array<(
|
|
1358
|
-
def
|
|
1362
|
+
# @option opts [UserPresence] :body
|
|
1363
|
+
# @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
|
|
1364
|
+
def patch_user_id_presences_source_with_http_info(user_id, source, opts = {})
|
|
1359
1365
|
if @api_client.config.debugging
|
|
1360
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
1366
|
+
@api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_presences_source ..."
|
|
1361
1367
|
end
|
|
1362
1368
|
|
|
1363
|
-
# verify the required parameter 'queue_id' is set
|
|
1364
|
-
fail "Missing the required parameter 'queue_id' when calling patch_user_id_queues_queue_id" if queue_id.nil?
|
|
1365
|
-
|
|
1366
1369
|
# verify the required parameter 'user_id' is set
|
|
1367
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
1370
|
+
fail "Missing the required parameter 'user_id' when calling patch_user_id_presences_source" if user_id.nil?
|
|
1371
|
+
|
|
1372
|
+
# verify the required parameter 'source' is set
|
|
1373
|
+
fail "Missing the required parameter 'source' when calling patch_user_id_presences_source" if source.nil?
|
|
1368
1374
|
|
|
1369
1375
|
# resource path
|
|
1370
|
-
|
|
1376
|
+
local_var_path = "/api/v2/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
|
|
1371
1377
|
|
|
1372
1378
|
# query parameters
|
|
1373
1379
|
query_params = {}
|
|
@@ -1389,46 +1395,47 @@ module PureCloud
|
|
|
1389
1395
|
# http body (model)
|
|
1390
1396
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1391
1397
|
|
|
1392
|
-
|
|
1393
1398
|
auth_names = ['PureCloud Auth']
|
|
1394
|
-
data, status_code, headers = @api_client.call_api(:PATCH,
|
|
1399
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1395
1400
|
:header_params => header_params,
|
|
1396
1401
|
:query_params => query_params,
|
|
1397
1402
|
:form_params => form_params,
|
|
1398
1403
|
:body => post_body,
|
|
1399
1404
|
:auth_names => auth_names,
|
|
1400
|
-
:return_type => '
|
|
1405
|
+
:return_type => 'UserPresence')
|
|
1401
1406
|
if @api_client.config.debugging
|
|
1402
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1407
|
+
@api_client.config.logger.debug "API called: UsersApi#patch_user_id_presences_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1403
1408
|
end
|
|
1404
1409
|
return data, status_code, headers
|
|
1405
1410
|
end
|
|
1406
1411
|
|
|
1407
|
-
#
|
|
1412
|
+
# Join or unjoin a set of queues for a user
|
|
1408
1413
|
#
|
|
1409
1414
|
# @param user_id User ID
|
|
1410
1415
|
# @param [Hash] opts the optional parameters
|
|
1411
|
-
# @
|
|
1412
|
-
|
|
1413
|
-
|
|
1416
|
+
# @option opts [Array<UserQueue>] :body User Queues
|
|
1417
|
+
# @return [UserQueue]
|
|
1418
|
+
def patch_user_id_queues(user_id, opts = {})
|
|
1419
|
+
data, status_code, headers = patch_user_id_queues_with_http_info(user_id, opts)
|
|
1414
1420
|
return data
|
|
1415
1421
|
end
|
|
1416
1422
|
|
|
1417
|
-
#
|
|
1423
|
+
# Join or unjoin a set of queues for a user
|
|
1418
1424
|
#
|
|
1419
1425
|
# @param user_id User ID
|
|
1420
1426
|
# @param [Hash] opts the optional parameters
|
|
1421
|
-
# @
|
|
1422
|
-
|
|
1427
|
+
# @option opts [Array<UserQueue>] :body User Queues
|
|
1428
|
+
# @return [Array<(UserQueue, Fixnum, Hash)>] UserQueue data, response status code and response headers
|
|
1429
|
+
def patch_user_id_queues_with_http_info(user_id, opts = {})
|
|
1423
1430
|
if @api_client.config.debugging
|
|
1424
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
1431
|
+
@api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_queues ..."
|
|
1425
1432
|
end
|
|
1426
1433
|
|
|
1427
1434
|
# verify the required parameter 'user_id' is set
|
|
1428
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
1435
|
+
fail "Missing the required parameter 'user_id' when calling patch_user_id_queues" if user_id.nil?
|
|
1429
1436
|
|
|
1430
1437
|
# resource path
|
|
1431
|
-
|
|
1438
|
+
local_var_path = "/api/v2/users/{userId}/queues".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
1432
1439
|
|
|
1433
1440
|
# query parameters
|
|
1434
1441
|
query_params = {}
|
|
@@ -1448,50 +1455,54 @@ module PureCloud
|
|
|
1448
1455
|
form_params = {}
|
|
1449
1456
|
|
|
1450
1457
|
# http body (model)
|
|
1451
|
-
post_body =
|
|
1458
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1452
1459
|
|
|
1453
|
-
|
|
1454
1460
|
auth_names = ['PureCloud Auth']
|
|
1455
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1461
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1456
1462
|
:header_params => header_params,
|
|
1457
1463
|
:query_params => query_params,
|
|
1458
1464
|
:form_params => form_params,
|
|
1459
1465
|
:body => post_body,
|
|
1460
1466
|
:auth_names => auth_names,
|
|
1461
|
-
:return_type => '
|
|
1467
|
+
:return_type => 'UserQueue')
|
|
1462
1468
|
if @api_client.config.debugging
|
|
1463
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1469
|
+
@api_client.config.logger.debug "API called: UsersApi#patch_user_id_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1464
1470
|
end
|
|
1465
1471
|
return data, status_code, headers
|
|
1466
1472
|
end
|
|
1467
1473
|
|
|
1468
|
-
#
|
|
1474
|
+
# Join or unjoin a queue for a user
|
|
1469
1475
|
#
|
|
1476
|
+
# @param queue_id Queue ID
|
|
1470
1477
|
# @param user_id User ID
|
|
1471
1478
|
# @param [Hash] opts the optional parameters
|
|
1472
|
-
# @option opts [
|
|
1473
|
-
# @return [
|
|
1474
|
-
def
|
|
1475
|
-
data, status_code, headers =
|
|
1479
|
+
# @option opts [UserQueue] :body Queue Member
|
|
1480
|
+
# @return [UserQueue]
|
|
1481
|
+
def patch_user_id_queues_queue_id(queue_id, user_id, opts = {})
|
|
1482
|
+
data, status_code, headers = patch_user_id_queues_queue_id_with_http_info(queue_id, user_id, opts)
|
|
1476
1483
|
return data
|
|
1477
1484
|
end
|
|
1478
1485
|
|
|
1479
|
-
#
|
|
1486
|
+
# Join or unjoin a queue for a user
|
|
1480
1487
|
#
|
|
1488
|
+
# @param queue_id Queue ID
|
|
1481
1489
|
# @param user_id User ID
|
|
1482
1490
|
# @param [Hash] opts the optional parameters
|
|
1483
|
-
# @option opts [
|
|
1484
|
-
# @return [Array<(
|
|
1485
|
-
def
|
|
1491
|
+
# @option opts [UserQueue] :body Queue Member
|
|
1492
|
+
# @return [Array<(UserQueue, Fixnum, Hash)>] UserQueue data, response status code and response headers
|
|
1493
|
+
def patch_user_id_queues_queue_id_with_http_info(queue_id, user_id, opts = {})
|
|
1486
1494
|
if @api_client.config.debugging
|
|
1487
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
1495
|
+
@api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_queues_queue_id ..."
|
|
1488
1496
|
end
|
|
1489
1497
|
|
|
1498
|
+
# verify the required parameter 'queue_id' is set
|
|
1499
|
+
fail "Missing the required parameter 'queue_id' when calling patch_user_id_queues_queue_id" if queue_id.nil?
|
|
1500
|
+
|
|
1490
1501
|
# verify the required parameter 'user_id' is set
|
|
1491
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
1502
|
+
fail "Missing the required parameter 'user_id' when calling patch_user_id_queues_queue_id" if user_id.nil?
|
|
1492
1503
|
|
|
1493
1504
|
# resource path
|
|
1494
|
-
|
|
1505
|
+
local_var_path = "/api/v2/users/{userId}/queues/{queueId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
|
|
1495
1506
|
|
|
1496
1507
|
# query parameters
|
|
1497
1508
|
query_params = {}
|
|
@@ -1513,46 +1524,42 @@ module PureCloud
|
|
|
1513
1524
|
# http body (model)
|
|
1514
1525
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1515
1526
|
|
|
1516
|
-
|
|
1517
1527
|
auth_names = ['PureCloud Auth']
|
|
1518
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1528
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1519
1529
|
:header_params => header_params,
|
|
1520
1530
|
:query_params => query_params,
|
|
1521
1531
|
:form_params => form_params,
|
|
1522
1532
|
:body => post_body,
|
|
1523
1533
|
:auth_names => auth_names,
|
|
1524
|
-
:return_type => '
|
|
1534
|
+
:return_type => 'UserQueue')
|
|
1525
1535
|
if @api_client.config.debugging
|
|
1526
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1536
|
+
@api_client.config.logger.debug "API called: UsersApi#patch_user_id_queues_queue_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1527
1537
|
end
|
|
1528
1538
|
return data, status_code, headers
|
|
1529
1539
|
end
|
|
1530
1540
|
|
|
1531
|
-
#
|
|
1541
|
+
# Search
|
|
1532
1542
|
#
|
|
1533
|
-
# @param user_id User ID
|
|
1534
1543
|
# @param [Hash] opts the optional parameters
|
|
1535
|
-
# @
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1544
|
+
# @option opts [SearchRequest] :body Search request options
|
|
1545
|
+
# @return [UsersSearchResponse]
|
|
1546
|
+
def post_search(opts = {})
|
|
1547
|
+
data, status_code, headers = post_search_with_http_info(opts)
|
|
1548
|
+
return data
|
|
1539
1549
|
end
|
|
1540
1550
|
|
|
1541
|
-
#
|
|
1551
|
+
# Search
|
|
1542
1552
|
#
|
|
1543
|
-
# @param user_id User ID
|
|
1544
1553
|
# @param [Hash] opts the optional parameters
|
|
1545
|
-
# @
|
|
1546
|
-
|
|
1554
|
+
# @option opts [SearchRequest] :body Search request options
|
|
1555
|
+
# @return [Array<(UsersSearchResponse, Fixnum, Hash)>] UsersSearchResponse data, response status code and response headers
|
|
1556
|
+
def post_search_with_http_info(opts = {})
|
|
1547
1557
|
if @api_client.config.debugging
|
|
1548
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
1558
|
+
@api_client.config.logger.debug "Calling API: UsersApi#post_search ..."
|
|
1549
1559
|
end
|
|
1550
1560
|
|
|
1551
|
-
# verify the required parameter 'user_id' is set
|
|
1552
|
-
fail "Missing the required parameter 'user_id' when calling delete_user_id_roles" if user_id.nil?
|
|
1553
|
-
|
|
1554
1561
|
# resource path
|
|
1555
|
-
|
|
1562
|
+
local_var_path = "/api/v2/users/search".sub('{format}','json')
|
|
1556
1563
|
|
|
1557
1564
|
# query parameters
|
|
1558
1565
|
query_params = {}
|
|
@@ -1572,63 +1579,52 @@ module PureCloud
|
|
|
1572
1579
|
form_params = {}
|
|
1573
1580
|
|
|
1574
1581
|
# http body (model)
|
|
1575
|
-
post_body =
|
|
1582
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1576
1583
|
|
|
1577
|
-
|
|
1578
1584
|
auth_names = ['PureCloud Auth']
|
|
1579
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1585
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1580
1586
|
:header_params => header_params,
|
|
1581
1587
|
:query_params => query_params,
|
|
1582
1588
|
:form_params => form_params,
|
|
1583
1589
|
:body => post_body,
|
|
1584
|
-
:auth_names => auth_names
|
|
1590
|
+
:auth_names => auth_names,
|
|
1591
|
+
:return_type => 'UsersSearchResponse')
|
|
1585
1592
|
if @api_client.config.debugging
|
|
1586
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1593
|
+
@api_client.config.logger.debug "API called: UsersApi#post_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1587
1594
|
end
|
|
1588
1595
|
return data, status_code, headers
|
|
1589
1596
|
end
|
|
1590
1597
|
|
|
1591
|
-
#
|
|
1598
|
+
# Add routing skill to user
|
|
1592
1599
|
#
|
|
1593
1600
|
# @param user_id User ID
|
|
1594
1601
|
# @param [Hash] opts the optional parameters
|
|
1595
|
-
# @option opts [
|
|
1596
|
-
# @
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
def get_user_id_routingskills(user_id, opts = {})
|
|
1600
|
-
data, status_code, headers = get_user_id_routingskills_with_http_info(user_id, opts)
|
|
1602
|
+
# @option opts [UserRoutingSkill] :body Skill
|
|
1603
|
+
# @return [UserRoutingSkill]
|
|
1604
|
+
def post_user_id_routingskills(user_id, opts = {})
|
|
1605
|
+
data, status_code, headers = post_user_id_routingskills_with_http_info(user_id, opts)
|
|
1601
1606
|
return data
|
|
1602
1607
|
end
|
|
1603
1608
|
|
|
1604
|
-
#
|
|
1609
|
+
# Add routing skill to user
|
|
1605
1610
|
#
|
|
1606
1611
|
# @param user_id User ID
|
|
1607
1612
|
# @param [Hash] opts the optional parameters
|
|
1608
|
-
# @option opts [
|
|
1609
|
-
# @
|
|
1610
|
-
|
|
1611
|
-
# @return [Array<(UserSkillEntityListing, Fixnum, Hash)>] UserSkillEntityListing data, response status code and response headers
|
|
1612
|
-
def get_user_id_routingskills_with_http_info(user_id, opts = {})
|
|
1613
|
+
# @option opts [UserRoutingSkill] :body Skill
|
|
1614
|
+
# @return [Array<(UserRoutingSkill, Fixnum, Hash)>] UserRoutingSkill data, response status code and response headers
|
|
1615
|
+
def post_user_id_routingskills_with_http_info(user_id, opts = {})
|
|
1613
1616
|
if @api_client.config.debugging
|
|
1614
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
1615
|
-
end
|
|
1616
|
-
|
|
1617
|
-
# verify the required parameter 'user_id' is set
|
|
1618
|
-
fail "Missing the required parameter 'user_id' when calling get_user_id_routingskills" if user_id.nil?
|
|
1619
|
-
|
|
1620
|
-
if opts[:'sort_order'] && !['[ascending', 'descending]'].include?(opts[:'sort_order'])
|
|
1621
|
-
fail 'invalid value for "sort_order", must be one of [ascending, descending]'
|
|
1617
|
+
@api_client.config.logger.debug "Calling API: UsersApi#post_user_id_routingskills ..."
|
|
1622
1618
|
end
|
|
1623
1619
|
|
|
1620
|
+
# verify the required parameter 'user_id' is set
|
|
1621
|
+
fail "Missing the required parameter 'user_id' when calling post_user_id_routingskills" if user_id.nil?
|
|
1622
|
+
|
|
1624
1623
|
# resource path
|
|
1625
|
-
|
|
1624
|
+
local_var_path = "/api/v2/users/{userId}/routingskills".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
1626
1625
|
|
|
1627
1626
|
# query parameters
|
|
1628
1627
|
query_params = {}
|
|
1629
|
-
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
1630
|
-
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
1631
|
-
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
1632
1628
|
|
|
1633
1629
|
# header parameters
|
|
1634
1630
|
header_params = {}
|
|
@@ -1645,50 +1641,44 @@ module PureCloud
|
|
|
1645
1641
|
form_params = {}
|
|
1646
1642
|
|
|
1647
1643
|
# http body (model)
|
|
1648
|
-
post_body =
|
|
1644
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1649
1645
|
|
|
1650
|
-
|
|
1651
1646
|
auth_names = ['PureCloud Auth']
|
|
1652
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1647
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1653
1648
|
:header_params => header_params,
|
|
1654
1649
|
:query_params => query_params,
|
|
1655
1650
|
:form_params => form_params,
|
|
1656
1651
|
:body => post_body,
|
|
1657
1652
|
:auth_names => auth_names,
|
|
1658
|
-
:return_type => '
|
|
1653
|
+
:return_type => 'UserRoutingSkill')
|
|
1659
1654
|
if @api_client.config.debugging
|
|
1660
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1655
|
+
@api_client.config.logger.debug "API called: UsersApi#post_user_id_routingskills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1661
1656
|
end
|
|
1662
1657
|
return data, status_code, headers
|
|
1663
1658
|
end
|
|
1664
1659
|
|
|
1665
|
-
#
|
|
1660
|
+
# Create user
|
|
1666
1661
|
#
|
|
1667
|
-
# @param user_id User ID
|
|
1668
1662
|
# @param [Hash] opts the optional parameters
|
|
1669
|
-
# @option opts [
|
|
1670
|
-
# @return [
|
|
1671
|
-
def
|
|
1672
|
-
data, status_code, headers =
|
|
1663
|
+
# @option opts [CreateUser] :body User
|
|
1664
|
+
# @return [User]
|
|
1665
|
+
def post_users(opts = {})
|
|
1666
|
+
data, status_code, headers = post_users_with_http_info(opts)
|
|
1673
1667
|
return data
|
|
1674
1668
|
end
|
|
1675
1669
|
|
|
1676
|
-
#
|
|
1670
|
+
# Create user
|
|
1677
1671
|
#
|
|
1678
|
-
# @param user_id User ID
|
|
1679
1672
|
# @param [Hash] opts the optional parameters
|
|
1680
|
-
# @option opts [
|
|
1681
|
-
# @return [Array<(
|
|
1682
|
-
def
|
|
1673
|
+
# @option opts [CreateUser] :body User
|
|
1674
|
+
# @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
|
|
1675
|
+
def post_users_with_http_info(opts = {})
|
|
1683
1676
|
if @api_client.config.debugging
|
|
1684
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
1677
|
+
@api_client.config.logger.debug "Calling API: UsersApi#post_users ..."
|
|
1685
1678
|
end
|
|
1686
1679
|
|
|
1687
|
-
# verify the required parameter 'user_id' is set
|
|
1688
|
-
fail "Missing the required parameter 'user_id' when calling post_user_id_routingskills" if user_id.nil?
|
|
1689
|
-
|
|
1690
1680
|
# resource path
|
|
1691
|
-
|
|
1681
|
+
local_var_path = "/api/v2/users".sub('{format}','json')
|
|
1692
1682
|
|
|
1693
1683
|
# query parameters
|
|
1694
1684
|
query_params = {}
|
|
@@ -1710,51 +1700,42 @@ module PureCloud
|
|
|
1710
1700
|
# http body (model)
|
|
1711
1701
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1712
1702
|
|
|
1713
|
-
|
|
1714
1703
|
auth_names = ['PureCloud Auth']
|
|
1715
|
-
data, status_code, headers = @api_client.call_api(:POST,
|
|
1704
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1716
1705
|
:header_params => header_params,
|
|
1717
1706
|
:query_params => query_params,
|
|
1718
1707
|
:form_params => form_params,
|
|
1719
1708
|
:body => post_body,
|
|
1720
1709
|
:auth_names => auth_names,
|
|
1721
|
-
:return_type => '
|
|
1710
|
+
:return_type => 'User')
|
|
1722
1711
|
if @api_client.config.debugging
|
|
1723
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1712
|
+
@api_client.config.logger.debug "API called: UsersApi#post_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1724
1713
|
end
|
|
1725
1714
|
return data, status_code, headers
|
|
1726
1715
|
end
|
|
1727
1716
|
|
|
1728
|
-
#
|
|
1717
|
+
# Query for user aggregates
|
|
1729
1718
|
#
|
|
1730
|
-
# @param user_id User ID
|
|
1731
|
-
# @param skill_id
|
|
1732
1719
|
# @param [Hash] opts the optional parameters
|
|
1733
|
-
# @
|
|
1734
|
-
|
|
1735
|
-
|
|
1720
|
+
# @option opts [AggregationQuery] :body query
|
|
1721
|
+
# @return [PresenceQueryResponse]
|
|
1722
|
+
def post_users_aggregates_query(opts = {})
|
|
1723
|
+
data, status_code, headers = post_users_aggregates_query_with_http_info(opts)
|
|
1736
1724
|
return data
|
|
1737
1725
|
end
|
|
1738
1726
|
|
|
1739
|
-
#
|
|
1727
|
+
# Query for user aggregates
|
|
1740
1728
|
#
|
|
1741
|
-
# @param user_id User ID
|
|
1742
|
-
# @param skill_id
|
|
1743
1729
|
# @param [Hash] opts the optional parameters
|
|
1744
|
-
# @
|
|
1745
|
-
|
|
1730
|
+
# @option opts [AggregationQuery] :body query
|
|
1731
|
+
# @return [Array<(PresenceQueryResponse, Fixnum, Hash)>] PresenceQueryResponse data, response status code and response headers
|
|
1732
|
+
def post_users_aggregates_query_with_http_info(opts = {})
|
|
1746
1733
|
if @api_client.config.debugging
|
|
1747
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
1734
|
+
@api_client.config.logger.debug "Calling API: UsersApi#post_users_aggregates_query ..."
|
|
1748
1735
|
end
|
|
1749
1736
|
|
|
1750
|
-
# verify the required parameter 'user_id' is set
|
|
1751
|
-
fail "Missing the required parameter 'user_id' when calling delete_user_id_routingskills_skill_id" if user_id.nil?
|
|
1752
|
-
|
|
1753
|
-
# verify the required parameter 'skill_id' is set
|
|
1754
|
-
fail "Missing the required parameter 'skill_id' when calling delete_user_id_routingskills_skill_id" if skill_id.nil?
|
|
1755
|
-
|
|
1756
1737
|
# resource path
|
|
1757
|
-
|
|
1738
|
+
local_var_path = "/api/v2/analytics/users/aggregates/query".sub('{format}','json')
|
|
1758
1739
|
|
|
1759
1740
|
# query parameters
|
|
1760
1741
|
query_params = {}
|
|
@@ -1774,48 +1755,44 @@ module PureCloud
|
|
|
1774
1755
|
form_params = {}
|
|
1775
1756
|
|
|
1776
1757
|
# http body (model)
|
|
1777
|
-
post_body =
|
|
1758
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1778
1759
|
|
|
1779
|
-
|
|
1780
1760
|
auth_names = ['PureCloud Auth']
|
|
1781
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1761
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1782
1762
|
:header_params => header_params,
|
|
1783
1763
|
:query_params => query_params,
|
|
1784
1764
|
:form_params => form_params,
|
|
1785
1765
|
:body => post_body,
|
|
1786
1766
|
:auth_names => auth_names,
|
|
1787
|
-
:return_type => '
|
|
1767
|
+
:return_type => 'PresenceQueryResponse')
|
|
1788
1768
|
if @api_client.config.debugging
|
|
1789
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1769
|
+
@api_client.config.logger.debug "API called: UsersApi#post_users_aggregates_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1790
1770
|
end
|
|
1791
1771
|
return data, status_code, headers
|
|
1792
1772
|
end
|
|
1793
1773
|
|
|
1794
|
-
#
|
|
1774
|
+
# Query for user observations
|
|
1795
1775
|
#
|
|
1796
|
-
# @param user_id User ID
|
|
1797
1776
|
# @param [Hash] opts the optional parameters
|
|
1798
|
-
# @
|
|
1799
|
-
|
|
1800
|
-
|
|
1777
|
+
# @option opts [ObservationQuery] :body query
|
|
1778
|
+
# @return [ObservationQueryResponse]
|
|
1779
|
+
def post_users_observations_query(opts = {})
|
|
1780
|
+
data, status_code, headers = post_users_observations_query_with_http_info(opts)
|
|
1801
1781
|
return data
|
|
1802
1782
|
end
|
|
1803
1783
|
|
|
1804
|
-
#
|
|
1784
|
+
# Query for user observations
|
|
1805
1785
|
#
|
|
1806
|
-
# @param user_id User ID
|
|
1807
1786
|
# @param [Hash] opts the optional parameters
|
|
1808
|
-
# @
|
|
1809
|
-
|
|
1787
|
+
# @option opts [ObservationQuery] :body query
|
|
1788
|
+
# @return [Array<(ObservationQueryResponse, Fixnum, Hash)>] ObservationQueryResponse data, response status code and response headers
|
|
1789
|
+
def post_users_observations_query_with_http_info(opts = {})
|
|
1810
1790
|
if @api_client.config.debugging
|
|
1811
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
1791
|
+
@api_client.config.logger.debug "Calling API: UsersApi#post_users_observations_query ..."
|
|
1812
1792
|
end
|
|
1813
1793
|
|
|
1814
|
-
# verify the required parameter 'user_id' is set
|
|
1815
|
-
fail "Missing the required parameter 'user_id' when calling get_user_id_routingstatus" if user_id.nil?
|
|
1816
|
-
|
|
1817
1794
|
# resource path
|
|
1818
|
-
|
|
1795
|
+
local_var_path = "/api/v2/analytics/users/observations/query".sub('{format}','json')
|
|
1819
1796
|
|
|
1820
1797
|
# query parameters
|
|
1821
1798
|
query_params = {}
|
|
@@ -1835,50 +1812,49 @@ module PureCloud
|
|
|
1835
1812
|
form_params = {}
|
|
1836
1813
|
|
|
1837
1814
|
# http body (model)
|
|
1838
|
-
post_body =
|
|
1815
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1839
1816
|
|
|
1840
|
-
|
|
1841
1817
|
auth_names = ['PureCloud Auth']
|
|
1842
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1818
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1843
1819
|
:header_params => header_params,
|
|
1844
1820
|
:query_params => query_params,
|
|
1845
1821
|
:form_params => form_params,
|
|
1846
1822
|
:body => post_body,
|
|
1847
1823
|
:auth_names => auth_names,
|
|
1848
|
-
:return_type => '
|
|
1824
|
+
:return_type => 'ObservationQueryResponse')
|
|
1849
1825
|
if @api_client.config.debugging
|
|
1850
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1826
|
+
@api_client.config.logger.debug "API called: UsersApi#post_users_observations_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1851
1827
|
end
|
|
1852
1828
|
return data, status_code, headers
|
|
1853
1829
|
end
|
|
1854
1830
|
|
|
1855
|
-
# Update
|
|
1831
|
+
# Update a user's CallForwarding
|
|
1856
1832
|
#
|
|
1857
1833
|
# @param user_id User ID
|
|
1858
1834
|
# @param [Hash] opts the optional parameters
|
|
1859
|
-
# @option opts [
|
|
1860
|
-
# @return [
|
|
1861
|
-
def
|
|
1862
|
-
data, status_code, headers =
|
|
1835
|
+
# @option opts [CallForwarding] :body
|
|
1836
|
+
# @return [CallForwarding]
|
|
1837
|
+
def put_user_id_callforwarding(user_id, opts = {})
|
|
1838
|
+
data, status_code, headers = put_user_id_callforwarding_with_http_info(user_id, opts)
|
|
1863
1839
|
return data
|
|
1864
1840
|
end
|
|
1865
1841
|
|
|
1866
|
-
# Update
|
|
1842
|
+
# Update a user's CallForwarding
|
|
1867
1843
|
#
|
|
1868
1844
|
# @param user_id User ID
|
|
1869
1845
|
# @param [Hash] opts the optional parameters
|
|
1870
|
-
# @option opts [
|
|
1871
|
-
# @return [Array<(
|
|
1872
|
-
def
|
|
1846
|
+
# @option opts [CallForwarding] :body
|
|
1847
|
+
# @return [Array<(CallForwarding, Fixnum, Hash)>] CallForwarding data, response status code and response headers
|
|
1848
|
+
def put_user_id_callforwarding_with_http_info(user_id, opts = {})
|
|
1873
1849
|
if @api_client.config.debugging
|
|
1874
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
1850
|
+
@api_client.config.logger.debug "Calling API: UsersApi#put_user_id_callforwarding ..."
|
|
1875
1851
|
end
|
|
1876
1852
|
|
|
1877
1853
|
# verify the required parameter 'user_id' is set
|
|
1878
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
1854
|
+
fail "Missing the required parameter 'user_id' when calling put_user_id_callforwarding" if user_id.nil?
|
|
1879
1855
|
|
|
1880
1856
|
# resource path
|
|
1881
|
-
|
|
1857
|
+
local_var_path = "/api/v2/users/{userId}/callforwarding".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
1882
1858
|
|
|
1883
1859
|
# query parameters
|
|
1884
1860
|
query_params = {}
|
|
@@ -1900,46 +1876,50 @@ module PureCloud
|
|
|
1900
1876
|
# http body (model)
|
|
1901
1877
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1902
1878
|
|
|
1903
|
-
|
|
1904
1879
|
auth_names = ['PureCloud Auth']
|
|
1905
|
-
data, status_code, headers = @api_client.call_api(:PUT,
|
|
1880
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1906
1881
|
:header_params => header_params,
|
|
1907
1882
|
:query_params => query_params,
|
|
1908
1883
|
:form_params => form_params,
|
|
1909
1884
|
:body => post_body,
|
|
1910
1885
|
:auth_names => auth_names,
|
|
1911
|
-
:return_type => '
|
|
1886
|
+
:return_type => 'CallForwarding')
|
|
1912
1887
|
if @api_client.config.debugging
|
|
1913
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1888
|
+
@api_client.config.logger.debug "API called: UsersApi#put_user_id_callforwarding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1914
1889
|
end
|
|
1915
1890
|
return data, status_code, headers
|
|
1916
1891
|
end
|
|
1917
1892
|
|
|
1918
|
-
#
|
|
1893
|
+
# Update an OutOfOffice
|
|
1919
1894
|
#
|
|
1920
1895
|
# @param user_id User ID
|
|
1896
|
+
# @param body The updated UserPresence
|
|
1921
1897
|
# @param [Hash] opts the optional parameters
|
|
1922
|
-
# @return [
|
|
1923
|
-
def
|
|
1924
|
-
data, status_code, headers =
|
|
1898
|
+
# @return [OutOfOffice]
|
|
1899
|
+
def put_user_id_outofoffice(user_id, body, opts = {})
|
|
1900
|
+
data, status_code, headers = put_user_id_outofoffice_with_http_info(user_id, body, opts)
|
|
1925
1901
|
return data
|
|
1926
1902
|
end
|
|
1927
1903
|
|
|
1928
|
-
#
|
|
1904
|
+
# Update an OutOfOffice
|
|
1929
1905
|
#
|
|
1930
1906
|
# @param user_id User ID
|
|
1907
|
+
# @param body The updated UserPresence
|
|
1931
1908
|
# @param [Hash] opts the optional parameters
|
|
1932
|
-
# @return [Array<(
|
|
1933
|
-
def
|
|
1909
|
+
# @return [Array<(OutOfOffice, Fixnum, Hash)>] OutOfOffice data, response status code and response headers
|
|
1910
|
+
def put_user_id_outofoffice_with_http_info(user_id, body, opts = {})
|
|
1934
1911
|
if @api_client.config.debugging
|
|
1935
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
1912
|
+
@api_client.config.logger.debug "Calling API: UsersApi#put_user_id_outofoffice ..."
|
|
1936
1913
|
end
|
|
1937
1914
|
|
|
1938
1915
|
# verify the required parameter 'user_id' is set
|
|
1939
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
1916
|
+
fail "Missing the required parameter 'user_id' when calling put_user_id_outofoffice" if user_id.nil?
|
|
1917
|
+
|
|
1918
|
+
# verify the required parameter 'body' is set
|
|
1919
|
+
fail "Missing the required parameter 'body' when calling put_user_id_outofoffice" if body.nil?
|
|
1940
1920
|
|
|
1941
1921
|
# resource path
|
|
1942
|
-
|
|
1922
|
+
local_var_path = "/api/v2/users/{userId}/outofoffice".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
1943
1923
|
|
|
1944
1924
|
# query parameters
|
|
1945
1925
|
query_params = {}
|
|
@@ -1959,48 +1939,49 @@ module PureCloud
|
|
|
1959
1939
|
form_params = {}
|
|
1960
1940
|
|
|
1961
1941
|
# http body (model)
|
|
1962
|
-
post_body =
|
|
1942
|
+
post_body = @api_client.object_to_http_body(body)
|
|
1963
1943
|
|
|
1964
|
-
|
|
1965
1944
|
auth_names = ['PureCloud Auth']
|
|
1966
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1945
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1967
1946
|
:header_params => header_params,
|
|
1968
1947
|
:query_params => query_params,
|
|
1969
1948
|
:form_params => form_params,
|
|
1970
1949
|
:body => post_body,
|
|
1971
1950
|
:auth_names => auth_names,
|
|
1972
|
-
:return_type => '
|
|
1951
|
+
:return_type => 'OutOfOffice')
|
|
1973
1952
|
if @api_client.config.debugging
|
|
1974
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1953
|
+
@api_client.config.logger.debug "API called: UsersApi#put_user_id_outofoffice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1975
1954
|
end
|
|
1976
1955
|
return data, status_code, headers
|
|
1977
1956
|
end
|
|
1978
1957
|
|
|
1979
|
-
#
|
|
1958
|
+
# Sets the user's roles
|
|
1980
1959
|
#
|
|
1981
1960
|
# @param user_id User ID
|
|
1982
1961
|
# @param [Hash] opts the optional parameters
|
|
1983
|
-
# @
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1962
|
+
# @option opts [Array<String>] :body
|
|
1963
|
+
# @return [UserAuthorization]
|
|
1964
|
+
def put_user_id_roles(user_id, opts = {})
|
|
1965
|
+
data, status_code, headers = put_user_id_roles_with_http_info(user_id, opts)
|
|
1966
|
+
return data
|
|
1987
1967
|
end
|
|
1988
1968
|
|
|
1989
|
-
#
|
|
1969
|
+
# Sets the user's roles
|
|
1990
1970
|
#
|
|
1991
1971
|
# @param user_id User ID
|
|
1992
1972
|
# @param [Hash] opts the optional parameters
|
|
1993
|
-
# @
|
|
1994
|
-
|
|
1973
|
+
# @option opts [Array<String>] :body
|
|
1974
|
+
# @return [Array<(UserAuthorization, Fixnum, Hash)>] UserAuthorization data, response status code and response headers
|
|
1975
|
+
def put_user_id_roles_with_http_info(user_id, opts = {})
|
|
1995
1976
|
if @api_client.config.debugging
|
|
1996
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
1977
|
+
@api_client.config.logger.debug "Calling API: UsersApi#put_user_id_roles ..."
|
|
1997
1978
|
end
|
|
1998
1979
|
|
|
1999
1980
|
# verify the required parameter 'user_id' is set
|
|
2000
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
1981
|
+
fail "Missing the required parameter 'user_id' when calling put_user_id_roles" if user_id.nil?
|
|
2001
1982
|
|
|
2002
1983
|
# resource path
|
|
2003
|
-
|
|
1984
|
+
local_var_path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
2004
1985
|
|
|
2005
1986
|
# query parameters
|
|
2006
1987
|
query_params = {}
|
|
@@ -2020,52 +2001,49 @@ module PureCloud
|
|
|
2020
2001
|
form_params = {}
|
|
2021
2002
|
|
|
2022
2003
|
# http body (model)
|
|
2023
|
-
post_body =
|
|
2004
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2024
2005
|
|
|
2025
|
-
|
|
2026
2006
|
auth_names = ['PureCloud Auth']
|
|
2027
|
-
data, status_code, headers = @api_client.call_api(:
|
|
2007
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2028
2008
|
:header_params => header_params,
|
|
2029
2009
|
:query_params => query_params,
|
|
2030
2010
|
:form_params => form_params,
|
|
2031
2011
|
:body => post_body,
|
|
2032
|
-
:auth_names => auth_names
|
|
2012
|
+
:auth_names => auth_names,
|
|
2013
|
+
:return_type => 'UserAuthorization')
|
|
2033
2014
|
if @api_client.config.debugging
|
|
2034
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
2015
|
+
@api_client.config.logger.debug "API called: UsersApi#put_user_id_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2035
2016
|
end
|
|
2036
2017
|
return data, status_code, headers
|
|
2037
2018
|
end
|
|
2038
2019
|
|
|
2039
|
-
#
|
|
2020
|
+
# Update the routing status of a user
|
|
2040
2021
|
#
|
|
2041
2022
|
# @param user_id User ID
|
|
2042
|
-
# @param station_id
|
|
2043
2023
|
# @param [Hash] opts the optional parameters
|
|
2044
|
-
# @
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2024
|
+
# @option opts [RoutingStatus] :body Routing Status
|
|
2025
|
+
# @return [RoutingStatus]
|
|
2026
|
+
def put_user_id_routingstatus(user_id, opts = {})
|
|
2027
|
+
data, status_code, headers = put_user_id_routingstatus_with_http_info(user_id, opts)
|
|
2028
|
+
return data
|
|
2048
2029
|
end
|
|
2049
2030
|
|
|
2050
|
-
#
|
|
2031
|
+
# Update the routing status of a user
|
|
2051
2032
|
#
|
|
2052
2033
|
# @param user_id User ID
|
|
2053
|
-
# @param station_id
|
|
2054
2034
|
# @param [Hash] opts the optional parameters
|
|
2055
|
-
# @
|
|
2056
|
-
|
|
2035
|
+
# @option opts [RoutingStatus] :body Routing Status
|
|
2036
|
+
# @return [Array<(RoutingStatus, Fixnum, Hash)>] RoutingStatus data, response status code and response headers
|
|
2037
|
+
def put_user_id_routingstatus_with_http_info(user_id, opts = {})
|
|
2057
2038
|
if @api_client.config.debugging
|
|
2058
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
2039
|
+
@api_client.config.logger.debug "Calling API: UsersApi#put_user_id_routingstatus ..."
|
|
2059
2040
|
end
|
|
2060
2041
|
|
|
2061
2042
|
# verify the required parameter 'user_id' is set
|
|
2062
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
2063
|
-
|
|
2064
|
-
# verify the required parameter 'station_id' is set
|
|
2065
|
-
fail "Missing the required parameter 'station_id' when calling put_user_id_station_associatedstation_station_id" if station_id.nil?
|
|
2043
|
+
fail "Missing the required parameter 'user_id' when calling put_user_id_routingstatus" if user_id.nil?
|
|
2066
2044
|
|
|
2067
2045
|
# resource path
|
|
2068
|
-
|
|
2046
|
+
local_var_path = "/api/v2/users/{userId}/routingstatus".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
2069
2047
|
|
|
2070
2048
|
# query parameters
|
|
2071
2049
|
query_params = {}
|
|
@@ -2085,47 +2063,52 @@ module PureCloud
|
|
|
2085
2063
|
form_params = {}
|
|
2086
2064
|
|
|
2087
2065
|
# http body (model)
|
|
2088
|
-
post_body =
|
|
2066
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2089
2067
|
|
|
2090
|
-
|
|
2091
2068
|
auth_names = ['PureCloud Auth']
|
|
2092
|
-
data, status_code, headers = @api_client.call_api(:PUT,
|
|
2069
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2093
2070
|
:header_params => header_params,
|
|
2094
2071
|
:query_params => query_params,
|
|
2095
2072
|
:form_params => form_params,
|
|
2096
2073
|
:body => post_body,
|
|
2097
|
-
:auth_names => auth_names
|
|
2074
|
+
:auth_names => auth_names,
|
|
2075
|
+
:return_type => 'RoutingStatus')
|
|
2098
2076
|
if @api_client.config.debugging
|
|
2099
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
2077
|
+
@api_client.config.logger.debug "API called: UsersApi#put_user_id_routingstatus\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2100
2078
|
end
|
|
2101
2079
|
return data, status_code, headers
|
|
2102
2080
|
end
|
|
2103
2081
|
|
|
2104
|
-
#
|
|
2082
|
+
# Set associated station
|
|
2105
2083
|
#
|
|
2106
2084
|
# @param user_id User ID
|
|
2085
|
+
# @param station_id
|
|
2107
2086
|
# @param [Hash] opts the optional parameters
|
|
2108
2087
|
# @return [nil]
|
|
2109
|
-
def
|
|
2110
|
-
|
|
2088
|
+
def put_user_id_station_associatedstation_station_id(user_id, station_id, opts = {})
|
|
2089
|
+
put_user_id_station_associatedstation_station_id_with_http_info(user_id, station_id, opts)
|
|
2111
2090
|
return nil
|
|
2112
2091
|
end
|
|
2113
2092
|
|
|
2114
|
-
#
|
|
2093
|
+
# Set associated station
|
|
2115
2094
|
#
|
|
2116
2095
|
# @param user_id User ID
|
|
2096
|
+
# @param station_id
|
|
2117
2097
|
# @param [Hash] opts the optional parameters
|
|
2118
2098
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2119
|
-
def
|
|
2099
|
+
def put_user_id_station_associatedstation_station_id_with_http_info(user_id, station_id, opts = {})
|
|
2120
2100
|
if @api_client.config.debugging
|
|
2121
|
-
@api_client.config.logger.debug "Calling API: UsersApi#
|
|
2101
|
+
@api_client.config.logger.debug "Calling API: UsersApi#put_user_id_station_associatedstation_station_id ..."
|
|
2122
2102
|
end
|
|
2123
2103
|
|
|
2124
2104
|
# verify the required parameter 'user_id' is set
|
|
2125
|
-
fail "Missing the required parameter 'user_id' when calling
|
|
2105
|
+
fail "Missing the required parameter 'user_id' when calling put_user_id_station_associatedstation_station_id" if user_id.nil?
|
|
2106
|
+
|
|
2107
|
+
# verify the required parameter 'station_id' is set
|
|
2108
|
+
fail "Missing the required parameter 'station_id' when calling put_user_id_station_associatedstation_station_id" if station_id.nil?
|
|
2126
2109
|
|
|
2127
2110
|
# resource path
|
|
2128
|
-
|
|
2111
|
+
local_var_path = "/api/v2/users/{userId}/station/associatedstation/{stationId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'stationId' + '}', station_id.to_s)
|
|
2129
2112
|
|
|
2130
2113
|
# query parameters
|
|
2131
2114
|
query_params = {}
|
|
@@ -2147,16 +2130,15 @@ module PureCloud
|
|
|
2147
2130
|
# http body (model)
|
|
2148
2131
|
post_body = nil
|
|
2149
2132
|
|
|
2150
|
-
|
|
2151
2133
|
auth_names = ['PureCloud Auth']
|
|
2152
|
-
data, status_code, headers = @api_client.call_api(:
|
|
2134
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2153
2135
|
:header_params => header_params,
|
|
2154
2136
|
:query_params => query_params,
|
|
2155
2137
|
:form_params => form_params,
|
|
2156
2138
|
:body => post_body,
|
|
2157
2139
|
:auth_names => auth_names)
|
|
2158
2140
|
if @api_client.config.debugging
|
|
2159
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
2141
|
+
@api_client.config.logger.debug "API called: UsersApi#put_user_id_station_associatedstation_station_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2160
2142
|
end
|
|
2161
2143
|
return data, status_code, headers
|
|
2162
2144
|
end
|
|
@@ -2190,7 +2172,7 @@ module PureCloud
|
|
|
2190
2172
|
fail "Missing the required parameter 'station_id' when calling put_user_id_station_defaultstation_station_id" if station_id.nil?
|
|
2191
2173
|
|
|
2192
2174
|
# resource path
|
|
2193
|
-
|
|
2175
|
+
local_var_path = "/api/v2/users/{userId}/station/defaultstation/{stationId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'stationId' + '}', station_id.to_s)
|
|
2194
2176
|
|
|
2195
2177
|
# query parameters
|
|
2196
2178
|
query_params = {}
|
|
@@ -2212,9 +2194,8 @@ module PureCloud
|
|
|
2212
2194
|
# http body (model)
|
|
2213
2195
|
post_body = nil
|
|
2214
2196
|
|
|
2215
|
-
|
|
2216
2197
|
auth_names = ['PureCloud Auth']
|
|
2217
|
-
data, status_code, headers = @api_client.call_api(:PUT,
|
|
2198
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2218
2199
|
:header_params => header_params,
|
|
2219
2200
|
:query_params => query_params,
|
|
2220
2201
|
:form_params => form_params,
|
|
@@ -2227,7 +2208,3 @@ module PureCloud
|
|
|
2227
2208
|
end
|
|
2228
2209
|
end
|
|
2229
2210
|
end
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|