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,44 +24,34 @@ module PureCloud
|
|
|
8
24
|
@api_client = api_client
|
|
9
25
|
end
|
|
10
26
|
|
|
11
|
-
#
|
|
27
|
+
# Delete a contact
|
|
12
28
|
#
|
|
29
|
+
# @param contact_id ExternalContact ID
|
|
13
30
|
# @param [Hash] opts the optional parameters
|
|
14
|
-
# @
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
# @option opts [Array<String>] :expand which fields, if any, to expand
|
|
19
|
-
# @return [ContactListing]
|
|
20
|
-
def get_contacts(opts = {})
|
|
21
|
-
data, status_code, headers = get_contacts_with_http_info(opts)
|
|
22
|
-
return data
|
|
31
|
+
# @return [nil]
|
|
32
|
+
def delete_contacts_contact_id(contact_id, opts = {})
|
|
33
|
+
delete_contacts_contact_id_with_http_info(contact_id, opts)
|
|
34
|
+
return nil
|
|
23
35
|
end
|
|
24
36
|
|
|
25
|
-
#
|
|
37
|
+
# Delete a contact
|
|
26
38
|
#
|
|
39
|
+
# @param contact_id ExternalContact ID
|
|
27
40
|
# @param [Hash] opts the optional parameters
|
|
28
|
-
# @
|
|
29
|
-
|
|
30
|
-
# @option opts [String] :q User supplied search keywords (no special syntax is currently supported)
|
|
31
|
-
# @option opts [String] :sort_order Sort order
|
|
32
|
-
# @option opts [Array<String>] :expand which fields, if any, to expand
|
|
33
|
-
# @return [Array<(ContactListing, Fixnum, Hash)>] ContactListing data, response status code and response headers
|
|
34
|
-
def get_contacts_with_http_info(opts = {})
|
|
41
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
42
|
+
def delete_contacts_contact_id_with_http_info(contact_id, opts = {})
|
|
35
43
|
if @api_client.config.debugging
|
|
36
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
44
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#delete_contacts_contact_id ..."
|
|
37
45
|
end
|
|
38
46
|
|
|
47
|
+
# verify the required parameter 'contact_id' is set
|
|
48
|
+
fail "Missing the required parameter 'contact_id' when calling delete_contacts_contact_id" if contact_id.nil?
|
|
49
|
+
|
|
39
50
|
# resource path
|
|
40
|
-
|
|
51
|
+
local_var_path = "/api/v2/externalcontacts/contacts/{contactId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s)
|
|
41
52
|
|
|
42
53
|
# query parameters
|
|
43
54
|
query_params = {}
|
|
44
|
-
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
45
|
-
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
46
|
-
query_params[:'q'] = opts[:'q'] if opts[:'q']
|
|
47
|
-
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
48
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
49
55
|
|
|
50
56
|
# header parameters
|
|
51
57
|
header_params = {}
|
|
@@ -64,43 +70,49 @@ module PureCloud
|
|
|
64
70
|
# http body (model)
|
|
65
71
|
post_body = nil
|
|
66
72
|
|
|
67
|
-
|
|
68
73
|
auth_names = ['PureCloud Auth']
|
|
69
|
-
data, status_code, headers = @api_client.call_api(:
|
|
74
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
70
75
|
:header_params => header_params,
|
|
71
76
|
:query_params => query_params,
|
|
72
77
|
:form_params => form_params,
|
|
73
78
|
:body => post_body,
|
|
74
|
-
:auth_names => auth_names
|
|
75
|
-
:return_type => 'ContactListing')
|
|
79
|
+
:auth_names => auth_names)
|
|
76
80
|
if @api_client.config.debugging
|
|
77
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
81
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#delete_contacts_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
78
82
|
end
|
|
79
83
|
return data, status_code, headers
|
|
80
84
|
end
|
|
81
85
|
|
|
82
|
-
#
|
|
86
|
+
# Delete a note for a contact
|
|
83
87
|
#
|
|
88
|
+
# @param contact_id ExternalContact Id
|
|
89
|
+
# @param note_id Note Id
|
|
84
90
|
# @param [Hash] opts the optional parameters
|
|
85
|
-
# @
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
return data
|
|
91
|
+
# @return [nil]
|
|
92
|
+
def delete_contacts_contact_id_notes_note_id(contact_id, note_id, opts = {})
|
|
93
|
+
delete_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts)
|
|
94
|
+
return nil
|
|
90
95
|
end
|
|
91
96
|
|
|
92
|
-
#
|
|
97
|
+
# Delete a note for a contact
|
|
93
98
|
#
|
|
99
|
+
# @param contact_id ExternalContact Id
|
|
100
|
+
# @param note_id Note Id
|
|
94
101
|
# @param [Hash] opts the optional parameters
|
|
95
|
-
# @
|
|
96
|
-
|
|
97
|
-
def post_contacts_with_http_info(opts = {})
|
|
102
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
103
|
+
def delete_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts = {})
|
|
98
104
|
if @api_client.config.debugging
|
|
99
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
105
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#delete_contacts_contact_id_notes_note_id ..."
|
|
100
106
|
end
|
|
101
107
|
|
|
108
|
+
# verify the required parameter 'contact_id' is set
|
|
109
|
+
fail "Missing the required parameter 'contact_id' when calling delete_contacts_contact_id_notes_note_id" if contact_id.nil?
|
|
110
|
+
|
|
111
|
+
# verify the required parameter 'note_id' is set
|
|
112
|
+
fail "Missing the required parameter 'note_id' when calling delete_contacts_contact_id_notes_note_id" if note_id.nil?
|
|
113
|
+
|
|
102
114
|
# resource path
|
|
103
|
-
|
|
115
|
+
local_var_path = "/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
|
|
104
116
|
|
|
105
117
|
# query parameters
|
|
106
118
|
query_params = {}
|
|
@@ -120,54 +132,49 @@ module PureCloud
|
|
|
120
132
|
form_params = {}
|
|
121
133
|
|
|
122
134
|
# http body (model)
|
|
123
|
-
post_body =
|
|
135
|
+
post_body = nil
|
|
124
136
|
|
|
125
|
-
|
|
126
137
|
auth_names = ['PureCloud Auth']
|
|
127
|
-
data, status_code, headers = @api_client.call_api(:
|
|
138
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
128
139
|
:header_params => header_params,
|
|
129
140
|
:query_params => query_params,
|
|
130
141
|
:form_params => form_params,
|
|
131
142
|
:body => post_body,
|
|
132
|
-
:auth_names => auth_names
|
|
133
|
-
:return_type => 'ExternalContact')
|
|
143
|
+
:auth_names => auth_names)
|
|
134
144
|
if @api_client.config.debugging
|
|
135
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
145
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#delete_contacts_contact_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
136
146
|
end
|
|
137
147
|
return data, status_code, headers
|
|
138
148
|
end
|
|
139
149
|
|
|
140
|
-
#
|
|
150
|
+
# Delete an External Organization
|
|
141
151
|
#
|
|
142
|
-
# @param
|
|
152
|
+
# @param external_organization_id External Organization ID
|
|
143
153
|
# @param [Hash] opts the optional parameters
|
|
144
|
-
# @
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
return data
|
|
154
|
+
# @return [nil]
|
|
155
|
+
def delete_organizations_externalorganization_id(external_organization_id, opts = {})
|
|
156
|
+
delete_organizations_externalorganization_id_with_http_info(external_organization_id, opts)
|
|
157
|
+
return nil
|
|
149
158
|
end
|
|
150
159
|
|
|
151
|
-
#
|
|
160
|
+
# Delete an External Organization
|
|
152
161
|
#
|
|
153
|
-
# @param
|
|
162
|
+
# @param external_organization_id External Organization ID
|
|
154
163
|
# @param [Hash] opts the optional parameters
|
|
155
|
-
# @
|
|
156
|
-
|
|
157
|
-
def get_contacts_contact_id_with_http_info(contact_id, opts = {})
|
|
164
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
165
|
+
def delete_organizations_externalorganization_id_with_http_info(external_organization_id, opts = {})
|
|
158
166
|
if @api_client.config.debugging
|
|
159
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
167
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#delete_organizations_externalorganization_id ..."
|
|
160
168
|
end
|
|
161
169
|
|
|
162
|
-
# verify the required parameter '
|
|
163
|
-
fail "Missing the required parameter '
|
|
170
|
+
# verify the required parameter 'external_organization_id' is set
|
|
171
|
+
fail "Missing the required parameter 'external_organization_id' when calling delete_organizations_externalorganization_id" if external_organization_id.nil?
|
|
164
172
|
|
|
165
173
|
# resource path
|
|
166
|
-
|
|
174
|
+
local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
|
|
167
175
|
|
|
168
176
|
# query parameters
|
|
169
177
|
query_params = {}
|
|
170
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
171
178
|
|
|
172
179
|
# header parameters
|
|
173
180
|
header_params = {}
|
|
@@ -186,48 +193,49 @@ module PureCloud
|
|
|
186
193
|
# http body (model)
|
|
187
194
|
post_body = nil
|
|
188
195
|
|
|
189
|
-
|
|
190
196
|
auth_names = ['PureCloud Auth']
|
|
191
|
-
data, status_code, headers = @api_client.call_api(:
|
|
197
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
192
198
|
:header_params => header_params,
|
|
193
199
|
:query_params => query_params,
|
|
194
200
|
:form_params => form_params,
|
|
195
201
|
:body => post_body,
|
|
196
|
-
:auth_names => auth_names
|
|
197
|
-
:return_type => 'ExternalContact')
|
|
202
|
+
:auth_names => auth_names)
|
|
198
203
|
if @api_client.config.debugging
|
|
199
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
204
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#delete_organizations_externalorganization_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
200
205
|
end
|
|
201
206
|
return data, status_code, headers
|
|
202
207
|
end
|
|
203
208
|
|
|
204
|
-
#
|
|
209
|
+
# Delete a note
|
|
205
210
|
#
|
|
206
|
-
# @param
|
|
211
|
+
# @param external_organization_id External Organization Id
|
|
212
|
+
# @param note_id Note Id
|
|
207
213
|
# @param [Hash] opts the optional parameters
|
|
208
|
-
# @
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
return data
|
|
214
|
+
# @return [nil]
|
|
215
|
+
def delete_organizations_externalorganization_id_notes_note_id(external_organization_id, note_id, opts = {})
|
|
216
|
+
delete_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts)
|
|
217
|
+
return nil
|
|
213
218
|
end
|
|
214
219
|
|
|
215
|
-
#
|
|
220
|
+
# Delete a note
|
|
216
221
|
#
|
|
217
|
-
# @param
|
|
222
|
+
# @param external_organization_id External Organization Id
|
|
223
|
+
# @param note_id Note Id
|
|
218
224
|
# @param [Hash] opts the optional parameters
|
|
219
|
-
# @
|
|
220
|
-
|
|
221
|
-
def put_contacts_contact_id_with_http_info(contact_id, opts = {})
|
|
225
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
226
|
+
def delete_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts = {})
|
|
222
227
|
if @api_client.config.debugging
|
|
223
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
228
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#delete_organizations_externalorganization_id_notes_note_id ..."
|
|
224
229
|
end
|
|
225
230
|
|
|
226
|
-
# verify the required parameter '
|
|
227
|
-
fail "Missing the required parameter '
|
|
231
|
+
# verify the required parameter 'external_organization_id' is set
|
|
232
|
+
fail "Missing the required parameter 'external_organization_id' when calling delete_organizations_externalorganization_id_notes_note_id" if external_organization_id.nil?
|
|
233
|
+
|
|
234
|
+
# verify the required parameter 'note_id' is set
|
|
235
|
+
fail "Missing the required parameter 'note_id' when calling delete_organizations_externalorganization_id_notes_note_id" if note_id.nil?
|
|
228
236
|
|
|
229
237
|
# resource path
|
|
230
|
-
|
|
238
|
+
local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
|
|
231
239
|
|
|
232
240
|
# query parameters
|
|
233
241
|
query_params = {}
|
|
@@ -247,48 +255,46 @@ module PureCloud
|
|
|
247
255
|
form_params = {}
|
|
248
256
|
|
|
249
257
|
# http body (model)
|
|
250
|
-
post_body =
|
|
258
|
+
post_body = nil
|
|
251
259
|
|
|
252
|
-
|
|
253
260
|
auth_names = ['PureCloud Auth']
|
|
254
|
-
data, status_code, headers = @api_client.call_api(:
|
|
261
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
255
262
|
:header_params => header_params,
|
|
256
263
|
:query_params => query_params,
|
|
257
264
|
:form_params => form_params,
|
|
258
265
|
:body => post_body,
|
|
259
|
-
:auth_names => auth_names
|
|
260
|
-
:return_type => 'ExternalContact')
|
|
266
|
+
:auth_names => auth_names)
|
|
261
267
|
if @api_client.config.debugging
|
|
262
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
268
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#delete_organizations_externalorganization_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
263
269
|
end
|
|
264
270
|
return data, status_code, headers
|
|
265
271
|
end
|
|
266
272
|
|
|
267
|
-
# Delete a
|
|
273
|
+
# Delete a relationship
|
|
268
274
|
#
|
|
269
|
-
# @param
|
|
275
|
+
# @param relationship_id Relationship Id
|
|
270
276
|
# @param [Hash] opts the optional parameters
|
|
271
277
|
# @return [nil]
|
|
272
|
-
def
|
|
273
|
-
|
|
278
|
+
def delete_relationships_relationship_id(relationship_id, opts = {})
|
|
279
|
+
delete_relationships_relationship_id_with_http_info(relationship_id, opts)
|
|
274
280
|
return nil
|
|
275
281
|
end
|
|
276
282
|
|
|
277
|
-
# Delete a
|
|
283
|
+
# Delete a relationship
|
|
278
284
|
#
|
|
279
|
-
# @param
|
|
285
|
+
# @param relationship_id Relationship Id
|
|
280
286
|
# @param [Hash] opts the optional parameters
|
|
281
287
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
282
|
-
def
|
|
288
|
+
def delete_relationships_relationship_id_with_http_info(relationship_id, opts = {})
|
|
283
289
|
if @api_client.config.debugging
|
|
284
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
290
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#delete_relationships_relationship_id ..."
|
|
285
291
|
end
|
|
286
292
|
|
|
287
|
-
# verify the required parameter '
|
|
288
|
-
fail "Missing the required parameter '
|
|
293
|
+
# verify the required parameter 'relationship_id' is set
|
|
294
|
+
fail "Missing the required parameter 'relationship_id' when calling delete_relationships_relationship_id" if relationship_id.nil?
|
|
289
295
|
|
|
290
296
|
# resource path
|
|
291
|
-
|
|
297
|
+
local_var_path = "/api/v2/externalcontacts/relationships/{relationshipId}".sub('{format}','json').sub('{' + 'relationshipId' + '}', relationship_id.to_s)
|
|
292
298
|
|
|
293
299
|
# query parameters
|
|
294
300
|
query_params = {}
|
|
@@ -310,57 +316,57 @@ module PureCloud
|
|
|
310
316
|
# http body (model)
|
|
311
317
|
post_body = nil
|
|
312
318
|
|
|
313
|
-
|
|
314
319
|
auth_names = ['PureCloud Auth']
|
|
315
|
-
data, status_code, headers = @api_client.call_api(:DELETE,
|
|
320
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
316
321
|
:header_params => header_params,
|
|
317
322
|
:query_params => query_params,
|
|
318
323
|
:form_params => form_params,
|
|
319
324
|
:body => post_body,
|
|
320
325
|
:auth_names => auth_names)
|
|
321
326
|
if @api_client.config.debugging
|
|
322
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
327
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#delete_relationships_relationship_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
323
328
|
end
|
|
324
329
|
return data, status_code, headers
|
|
325
330
|
end
|
|
326
331
|
|
|
327
|
-
#
|
|
332
|
+
# Search for External Contacts
|
|
328
333
|
#
|
|
329
|
-
# @param contact_id ExternalContact Id
|
|
330
334
|
# @param [Hash] opts the optional parameters
|
|
331
|
-
# @option opts [Integer] :page_size Page size
|
|
332
|
-
# @option opts [Integer] :page_number Page number
|
|
335
|
+
# @option opts [Integer] :page_size Page size (default to 20)
|
|
336
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
|
337
|
+
# @option opts [String] :q User supplied search keywords (no special syntax is currently supported)
|
|
333
338
|
# @option opts [String] :sort_order Sort order
|
|
334
|
-
# @
|
|
335
|
-
|
|
336
|
-
|
|
339
|
+
# @option opts [Array<String>] :expand which fields, if any, to expand
|
|
340
|
+
# @return [ContactListing]
|
|
341
|
+
def get_contacts(opts = {})
|
|
342
|
+
data, status_code, headers = get_contacts_with_http_info(opts)
|
|
337
343
|
return data
|
|
338
344
|
end
|
|
339
345
|
|
|
340
|
-
#
|
|
346
|
+
# Search for External Contacts
|
|
341
347
|
#
|
|
342
|
-
# @param contact_id ExternalContact Id
|
|
343
348
|
# @param [Hash] opts the optional parameters
|
|
344
349
|
# @option opts [Integer] :page_size Page size
|
|
345
350
|
# @option opts [Integer] :page_number Page number
|
|
351
|
+
# @option opts [String] :q User supplied search keywords (no special syntax is currently supported)
|
|
346
352
|
# @option opts [String] :sort_order Sort order
|
|
347
|
-
# @
|
|
348
|
-
|
|
353
|
+
# @option opts [Array<String>] :expand which fields, if any, to expand
|
|
354
|
+
# @return [Array<(ContactListing, Fixnum, Hash)>] ContactListing data, response status code and response headers
|
|
355
|
+
def get_contacts_with_http_info(opts = {})
|
|
349
356
|
if @api_client.config.debugging
|
|
350
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
357
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#get_contacts ..."
|
|
351
358
|
end
|
|
352
359
|
|
|
353
|
-
# verify the required parameter 'contact_id' is set
|
|
354
|
-
fail "Missing the required parameter 'contact_id' when calling get_contacts_contact_id_notes" if contact_id.nil?
|
|
355
|
-
|
|
356
360
|
# resource path
|
|
357
|
-
|
|
361
|
+
local_var_path = "/api/v2/externalcontacts/contacts".sub('{format}','json')
|
|
358
362
|
|
|
359
363
|
# query parameters
|
|
360
364
|
query_params = {}
|
|
361
365
|
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
362
366
|
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
367
|
+
query_params[:'q'] = opts[:'q'] if opts[:'q']
|
|
363
368
|
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
369
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
364
370
|
|
|
365
371
|
# header parameters
|
|
366
372
|
header_params = {}
|
|
@@ -379,51 +385,51 @@ module PureCloud
|
|
|
379
385
|
# http body (model)
|
|
380
386
|
post_body = nil
|
|
381
387
|
|
|
382
|
-
|
|
383
388
|
auth_names = ['PureCloud Auth']
|
|
384
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
389
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
385
390
|
:header_params => header_params,
|
|
386
391
|
:query_params => query_params,
|
|
387
392
|
:form_params => form_params,
|
|
388
393
|
:body => post_body,
|
|
389
394
|
:auth_names => auth_names,
|
|
390
|
-
:return_type => '
|
|
395
|
+
:return_type => 'ContactListing')
|
|
391
396
|
if @api_client.config.debugging
|
|
392
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
397
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#get_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
393
398
|
end
|
|
394
399
|
return data, status_code, headers
|
|
395
400
|
end
|
|
396
401
|
|
|
397
|
-
#
|
|
402
|
+
# Fetch a ExternalContact
|
|
398
403
|
#
|
|
399
|
-
# @param contact_id ExternalContact
|
|
404
|
+
# @param contact_id ExternalContact ID
|
|
400
405
|
# @param [Hash] opts the optional parameters
|
|
401
|
-
# @option opts [
|
|
402
|
-
# @return [
|
|
403
|
-
def
|
|
404
|
-
data, status_code, headers =
|
|
406
|
+
# @option opts [Array<String>] :expand which fields, if any, to expand
|
|
407
|
+
# @return [ExternalContact]
|
|
408
|
+
def get_contacts_contact_id(contact_id, opts = {})
|
|
409
|
+
data, status_code, headers = get_contacts_contact_id_with_http_info(contact_id, opts)
|
|
405
410
|
return data
|
|
406
411
|
end
|
|
407
412
|
|
|
408
|
-
#
|
|
413
|
+
# Fetch a ExternalContact
|
|
409
414
|
#
|
|
410
|
-
# @param contact_id ExternalContact
|
|
415
|
+
# @param contact_id ExternalContact ID
|
|
411
416
|
# @param [Hash] opts the optional parameters
|
|
412
|
-
# @option opts [
|
|
413
|
-
# @return [Array<(
|
|
414
|
-
def
|
|
417
|
+
# @option opts [Array<String>] :expand which fields, if any, to expand
|
|
418
|
+
# @return [Array<(ExternalContact, Fixnum, Hash)>] ExternalContact data, response status code and response headers
|
|
419
|
+
def get_contacts_contact_id_with_http_info(contact_id, opts = {})
|
|
415
420
|
if @api_client.config.debugging
|
|
416
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
421
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#get_contacts_contact_id ..."
|
|
417
422
|
end
|
|
418
423
|
|
|
419
424
|
# verify the required parameter 'contact_id' is set
|
|
420
|
-
fail "Missing the required parameter 'contact_id' when calling
|
|
425
|
+
fail "Missing the required parameter 'contact_id' when calling get_contacts_contact_id" if contact_id.nil?
|
|
421
426
|
|
|
422
427
|
# resource path
|
|
423
|
-
|
|
428
|
+
local_var_path = "/api/v2/externalcontacts/contacts/{contactId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s)
|
|
424
429
|
|
|
425
430
|
# query parameters
|
|
426
431
|
query_params = {}
|
|
432
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
427
433
|
|
|
428
434
|
# header parameters
|
|
429
435
|
header_params = {}
|
|
@@ -440,56 +446,59 @@ module PureCloud
|
|
|
440
446
|
form_params = {}
|
|
441
447
|
|
|
442
448
|
# http body (model)
|
|
443
|
-
post_body =
|
|
449
|
+
post_body = nil
|
|
444
450
|
|
|
445
|
-
|
|
446
451
|
auth_names = ['PureCloud Auth']
|
|
447
|
-
data, status_code, headers = @api_client.call_api(:
|
|
452
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
448
453
|
:header_params => header_params,
|
|
449
454
|
:query_params => query_params,
|
|
450
455
|
:form_params => form_params,
|
|
451
456
|
:body => post_body,
|
|
452
457
|
:auth_names => auth_names,
|
|
453
|
-
:return_type => '
|
|
458
|
+
:return_type => 'ExternalContact')
|
|
454
459
|
if @api_client.config.debugging
|
|
455
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
460
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#get_contacts_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
456
461
|
end
|
|
457
462
|
return data, status_code, headers
|
|
458
463
|
end
|
|
459
464
|
|
|
460
|
-
#
|
|
465
|
+
# List Notes for an ExternalContact
|
|
461
466
|
#
|
|
462
467
|
# @param contact_id ExternalContact Id
|
|
463
|
-
# @param note_id Note Id
|
|
464
468
|
# @param [Hash] opts the optional parameters
|
|
465
|
-
# @
|
|
466
|
-
|
|
467
|
-
|
|
469
|
+
# @option opts [Integer] :page_size Page size (default to 20)
|
|
470
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
|
471
|
+
# @option opts [String] :sort_order Sort order
|
|
472
|
+
# @return [NoteListing]
|
|
473
|
+
def get_contacts_contact_id_notes(contact_id, opts = {})
|
|
474
|
+
data, status_code, headers = get_contacts_contact_id_notes_with_http_info(contact_id, opts)
|
|
468
475
|
return data
|
|
469
476
|
end
|
|
470
477
|
|
|
471
|
-
#
|
|
478
|
+
# List Notes for an ExternalContact
|
|
472
479
|
#
|
|
473
480
|
# @param contact_id ExternalContact Id
|
|
474
|
-
# @param note_id Note Id
|
|
475
481
|
# @param [Hash] opts the optional parameters
|
|
476
|
-
# @
|
|
477
|
-
|
|
482
|
+
# @option opts [Integer] :page_size Page size
|
|
483
|
+
# @option opts [Integer] :page_number Page number
|
|
484
|
+
# @option opts [String] :sort_order Sort order
|
|
485
|
+
# @return [Array<(NoteListing, Fixnum, Hash)>] NoteListing data, response status code and response headers
|
|
486
|
+
def get_contacts_contact_id_notes_with_http_info(contact_id, opts = {})
|
|
478
487
|
if @api_client.config.debugging
|
|
479
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
488
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#get_contacts_contact_id_notes ..."
|
|
480
489
|
end
|
|
481
490
|
|
|
482
491
|
# verify the required parameter 'contact_id' is set
|
|
483
|
-
fail "Missing the required parameter 'contact_id' when calling
|
|
484
|
-
|
|
485
|
-
# verify the required parameter 'note_id' is set
|
|
486
|
-
fail "Missing the required parameter 'note_id' when calling get_contacts_contact_id_notes_note_id" if note_id.nil?
|
|
492
|
+
fail "Missing the required parameter 'contact_id' when calling get_contacts_contact_id_notes" if contact_id.nil?
|
|
487
493
|
|
|
488
494
|
# resource path
|
|
489
|
-
|
|
495
|
+
local_var_path = "/api/v2/externalcontacts/contacts/{contactId}/notes".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s)
|
|
490
496
|
|
|
491
497
|
# query parameters
|
|
492
498
|
query_params = {}
|
|
499
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
500
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
501
|
+
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
493
502
|
|
|
494
503
|
# header parameters
|
|
495
504
|
header_params = {}
|
|
@@ -508,53 +517,50 @@ module PureCloud
|
|
|
508
517
|
# http body (model)
|
|
509
518
|
post_body = nil
|
|
510
519
|
|
|
511
|
-
|
|
512
520
|
auth_names = ['PureCloud Auth']
|
|
513
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
521
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
514
522
|
:header_params => header_params,
|
|
515
523
|
:query_params => query_params,
|
|
516
524
|
:form_params => form_params,
|
|
517
525
|
:body => post_body,
|
|
518
526
|
:auth_names => auth_names,
|
|
519
|
-
:return_type => '
|
|
527
|
+
:return_type => 'NoteListing')
|
|
520
528
|
if @api_client.config.debugging
|
|
521
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
529
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#get_contacts_contact_id_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
522
530
|
end
|
|
523
531
|
return data, status_code, headers
|
|
524
532
|
end
|
|
525
533
|
|
|
526
|
-
#
|
|
534
|
+
# Fetch a note for a contact
|
|
527
535
|
#
|
|
528
536
|
# @param contact_id ExternalContact Id
|
|
529
537
|
# @param note_id Note Id
|
|
530
538
|
# @param [Hash] opts the optional parameters
|
|
531
|
-
# @option opts [Note] :body Note
|
|
532
539
|
# @return [Note]
|
|
533
|
-
def
|
|
534
|
-
data, status_code, headers =
|
|
540
|
+
def get_contacts_contact_id_notes_note_id(contact_id, note_id, opts = {})
|
|
541
|
+
data, status_code, headers = get_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts)
|
|
535
542
|
return data
|
|
536
543
|
end
|
|
537
544
|
|
|
538
|
-
#
|
|
545
|
+
# Fetch a note for a contact
|
|
539
546
|
#
|
|
540
547
|
# @param contact_id ExternalContact Id
|
|
541
548
|
# @param note_id Note Id
|
|
542
549
|
# @param [Hash] opts the optional parameters
|
|
543
|
-
# @option opts [Note] :body Note
|
|
544
550
|
# @return [Array<(Note, Fixnum, Hash)>] Note data, response status code and response headers
|
|
545
|
-
def
|
|
551
|
+
def get_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts = {})
|
|
546
552
|
if @api_client.config.debugging
|
|
547
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
553
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#get_contacts_contact_id_notes_note_id ..."
|
|
548
554
|
end
|
|
549
555
|
|
|
550
556
|
# verify the required parameter 'contact_id' is set
|
|
551
|
-
fail "Missing the required parameter 'contact_id' when calling
|
|
557
|
+
fail "Missing the required parameter 'contact_id' when calling get_contacts_contact_id_notes_note_id" if contact_id.nil?
|
|
552
558
|
|
|
553
559
|
# verify the required parameter 'note_id' is set
|
|
554
|
-
fail "Missing the required parameter 'note_id' when calling
|
|
560
|
+
fail "Missing the required parameter 'note_id' when calling get_contacts_contact_id_notes_note_id" if note_id.nil?
|
|
555
561
|
|
|
556
562
|
# resource path
|
|
557
|
-
|
|
563
|
+
local_var_path = "/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
|
|
558
564
|
|
|
559
565
|
# query parameters
|
|
560
566
|
query_params = {}
|
|
@@ -574,11 +580,10 @@ module PureCloud
|
|
|
574
580
|
form_params = {}
|
|
575
581
|
|
|
576
582
|
# http body (model)
|
|
577
|
-
post_body =
|
|
583
|
+
post_body = nil
|
|
578
584
|
|
|
579
|
-
|
|
580
585
|
auth_names = ['PureCloud Auth']
|
|
581
|
-
data, status_code, headers = @api_client.call_api(:
|
|
586
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
582
587
|
:header_params => header_params,
|
|
583
588
|
:query_params => query_params,
|
|
584
589
|
:form_params => form_params,
|
|
@@ -586,44 +591,46 @@ module PureCloud
|
|
|
586
591
|
:auth_names => auth_names,
|
|
587
592
|
:return_type => 'Note')
|
|
588
593
|
if @api_client.config.debugging
|
|
589
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
594
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#get_contacts_contact_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
590
595
|
end
|
|
591
596
|
return data, status_code, headers
|
|
592
597
|
end
|
|
593
598
|
|
|
594
|
-
#
|
|
599
|
+
# Search for External Organizations
|
|
595
600
|
#
|
|
596
|
-
# @param contact_id ExternalContact Id
|
|
597
|
-
# @param note_id Note Id
|
|
598
601
|
# @param [Hash] opts the optional parameters
|
|
599
|
-
# @
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
602
|
+
# @option opts [Integer] :page_size Page size (default to 20)
|
|
603
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
|
604
|
+
# @option opts [String] :q Search query
|
|
605
|
+
# @option opts [String] :sort_order Sort order
|
|
606
|
+
# @return [ExternalOrganizationListing]
|
|
607
|
+
def get_organizations(opts = {})
|
|
608
|
+
data, status_code, headers = get_organizations_with_http_info(opts)
|
|
609
|
+
return data
|
|
603
610
|
end
|
|
604
611
|
|
|
605
|
-
#
|
|
612
|
+
# Search for External Organizations
|
|
606
613
|
#
|
|
607
|
-
# @param contact_id ExternalContact Id
|
|
608
|
-
# @param note_id Note Id
|
|
609
614
|
# @param [Hash] opts the optional parameters
|
|
610
|
-
# @
|
|
611
|
-
|
|
615
|
+
# @option opts [Integer] :page_size Page size
|
|
616
|
+
# @option opts [Integer] :page_number Page number
|
|
617
|
+
# @option opts [String] :q Search query
|
|
618
|
+
# @option opts [String] :sort_order Sort order
|
|
619
|
+
# @return [Array<(ExternalOrganizationListing, Fixnum, Hash)>] ExternalOrganizationListing data, response status code and response headers
|
|
620
|
+
def get_organizations_with_http_info(opts = {})
|
|
612
621
|
if @api_client.config.debugging
|
|
613
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
622
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations ..."
|
|
614
623
|
end
|
|
615
624
|
|
|
616
|
-
# verify the required parameter 'contact_id' is set
|
|
617
|
-
fail "Missing the required parameter 'contact_id' when calling delete_contacts_contact_id_notes_note_id" if contact_id.nil?
|
|
618
|
-
|
|
619
|
-
# verify the required parameter 'note_id' is set
|
|
620
|
-
fail "Missing the required parameter 'note_id' when calling delete_contacts_contact_id_notes_note_id" if note_id.nil?
|
|
621
|
-
|
|
622
625
|
# resource path
|
|
623
|
-
|
|
626
|
+
local_var_path = "/api/v2/externalcontacts/organizations".sub('{format}','json')
|
|
624
627
|
|
|
625
628
|
# query parameters
|
|
626
629
|
query_params = {}
|
|
630
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
631
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
632
|
+
query_params[:'q'] = opts[:'q'] if opts[:'q']
|
|
633
|
+
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
627
634
|
|
|
628
635
|
# header parameters
|
|
629
636
|
header_params = {}
|
|
@@ -642,55 +649,48 @@ module PureCloud
|
|
|
642
649
|
# http body (model)
|
|
643
650
|
post_body = nil
|
|
644
651
|
|
|
645
|
-
|
|
646
652
|
auth_names = ['PureCloud Auth']
|
|
647
|
-
data, status_code, headers = @api_client.call_api(:
|
|
653
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
648
654
|
:header_params => header_params,
|
|
649
655
|
:query_params => query_params,
|
|
650
656
|
:form_params => form_params,
|
|
651
657
|
:body => post_body,
|
|
652
|
-
:auth_names => auth_names
|
|
658
|
+
:auth_names => auth_names,
|
|
659
|
+
:return_type => 'ExternalOrganizationListing')
|
|
653
660
|
if @api_client.config.debugging
|
|
654
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
661
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
655
662
|
end
|
|
656
663
|
return data, status_code, headers
|
|
657
664
|
end
|
|
658
665
|
|
|
659
|
-
#
|
|
666
|
+
# Fetch an External Organization
|
|
660
667
|
#
|
|
668
|
+
# @param external_organization_id External Organization ID
|
|
661
669
|
# @param [Hash] opts the optional parameters
|
|
662
|
-
# @
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
# @option opts [String] :sort_order Sort order
|
|
666
|
-
# @return [ExternalOrganizationListing]
|
|
667
|
-
def get_organizations(opts = {})
|
|
668
|
-
data, status_code, headers = get_organizations_with_http_info(opts)
|
|
670
|
+
# @return [ExternalOrganization]
|
|
671
|
+
def get_organizations_externalorganization_id(external_organization_id, opts = {})
|
|
672
|
+
data, status_code, headers = get_organizations_externalorganization_id_with_http_info(external_organization_id, opts)
|
|
669
673
|
return data
|
|
670
674
|
end
|
|
671
675
|
|
|
672
|
-
#
|
|
676
|
+
# Fetch an External Organization
|
|
673
677
|
#
|
|
678
|
+
# @param external_organization_id External Organization ID
|
|
674
679
|
# @param [Hash] opts the optional parameters
|
|
675
|
-
# @
|
|
676
|
-
|
|
677
|
-
# @option opts [String] :q Search query
|
|
678
|
-
# @option opts [String] :sort_order Sort order
|
|
679
|
-
# @return [Array<(ExternalOrganizationListing, Fixnum, Hash)>] ExternalOrganizationListing data, response status code and response headers
|
|
680
|
-
def get_organizations_with_http_info(opts = {})
|
|
680
|
+
# @return [Array<(ExternalOrganization, Fixnum, Hash)>] ExternalOrganization data, response status code and response headers
|
|
681
|
+
def get_organizations_externalorganization_id_with_http_info(external_organization_id, opts = {})
|
|
681
682
|
if @api_client.config.debugging
|
|
682
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
683
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations_externalorganization_id ..."
|
|
683
684
|
end
|
|
684
685
|
|
|
686
|
+
# verify the required parameter 'external_organization_id' is set
|
|
687
|
+
fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id" if external_organization_id.nil?
|
|
688
|
+
|
|
685
689
|
# resource path
|
|
686
|
-
|
|
690
|
+
local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
|
|
687
691
|
|
|
688
692
|
# query parameters
|
|
689
693
|
query_params = {}
|
|
690
|
-
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
691
|
-
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
692
|
-
query_params[:'q'] = opts[:'q'] if opts[:'q']
|
|
693
|
-
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
694
694
|
|
|
695
695
|
# header parameters
|
|
696
696
|
header_params = {}
|
|
@@ -709,46 +709,63 @@ module PureCloud
|
|
|
709
709
|
# http body (model)
|
|
710
710
|
post_body = nil
|
|
711
711
|
|
|
712
|
-
|
|
713
712
|
auth_names = ['PureCloud Auth']
|
|
714
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
713
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
715
714
|
:header_params => header_params,
|
|
716
715
|
:query_params => query_params,
|
|
717
716
|
:form_params => form_params,
|
|
718
717
|
:body => post_body,
|
|
719
718
|
:auth_names => auth_names,
|
|
720
|
-
:return_type => '
|
|
719
|
+
:return_type => 'ExternalOrganization')
|
|
721
720
|
if @api_client.config.debugging
|
|
722
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
721
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations_externalorganization_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
723
722
|
end
|
|
724
723
|
return data, status_code, headers
|
|
725
724
|
end
|
|
726
725
|
|
|
727
|
-
#
|
|
726
|
+
# Search for External Contacts
|
|
728
727
|
#
|
|
728
|
+
# @param external_organization_id External Organization ID
|
|
729
729
|
# @param [Hash] opts the optional parameters
|
|
730
|
-
# @option opts [
|
|
731
|
-
# @
|
|
732
|
-
|
|
733
|
-
|
|
730
|
+
# @option opts [Integer] :page_size Page size (default to 20)
|
|
731
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
|
732
|
+
# @option opts [String] :q User supplied search keywords (no special syntax is currently supported)
|
|
733
|
+
# @option opts [String] :sort_order Sort order
|
|
734
|
+
# @option opts [Array<String>] :expand which fields, if any, to expand
|
|
735
|
+
# @return [ContactListing]
|
|
736
|
+
def get_organizations_externalorganization_id_contacts(external_organization_id, opts = {})
|
|
737
|
+
data, status_code, headers = get_organizations_externalorganization_id_contacts_with_http_info(external_organization_id, opts)
|
|
734
738
|
return data
|
|
735
739
|
end
|
|
736
740
|
|
|
737
|
-
#
|
|
741
|
+
# Search for External Contacts
|
|
738
742
|
#
|
|
743
|
+
# @param external_organization_id External Organization ID
|
|
739
744
|
# @param [Hash] opts the optional parameters
|
|
740
|
-
# @option opts [
|
|
741
|
-
# @
|
|
742
|
-
|
|
745
|
+
# @option opts [Integer] :page_size Page size
|
|
746
|
+
# @option opts [Integer] :page_number Page number
|
|
747
|
+
# @option opts [String] :q User supplied search keywords (no special syntax is currently supported)
|
|
748
|
+
# @option opts [String] :sort_order Sort order
|
|
749
|
+
# @option opts [Array<String>] :expand which fields, if any, to expand
|
|
750
|
+
# @return [Array<(ContactListing, Fixnum, Hash)>] ContactListing data, response status code and response headers
|
|
751
|
+
def get_organizations_externalorganization_id_contacts_with_http_info(external_organization_id, opts = {})
|
|
743
752
|
if @api_client.config.debugging
|
|
744
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
753
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations_externalorganization_id_contacts ..."
|
|
745
754
|
end
|
|
746
755
|
|
|
756
|
+
# verify the required parameter 'external_organization_id' is set
|
|
757
|
+
fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id_contacts" if external_organization_id.nil?
|
|
758
|
+
|
|
747
759
|
# resource path
|
|
748
|
-
|
|
760
|
+
local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/contacts".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
|
|
749
761
|
|
|
750
762
|
# query parameters
|
|
751
763
|
query_params = {}
|
|
764
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
765
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
766
|
+
query_params[:'q'] = opts[:'q'] if opts[:'q']
|
|
767
|
+
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
768
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
752
769
|
|
|
753
770
|
# header parameters
|
|
754
771
|
header_params = {}
|
|
@@ -765,51 +782,59 @@ module PureCloud
|
|
|
765
782
|
form_params = {}
|
|
766
783
|
|
|
767
784
|
# http body (model)
|
|
768
|
-
post_body =
|
|
785
|
+
post_body = nil
|
|
769
786
|
|
|
770
|
-
|
|
771
787
|
auth_names = ['PureCloud Auth']
|
|
772
|
-
data, status_code, headers = @api_client.call_api(:
|
|
788
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
773
789
|
:header_params => header_params,
|
|
774
790
|
:query_params => query_params,
|
|
775
791
|
:form_params => form_params,
|
|
776
792
|
:body => post_body,
|
|
777
793
|
:auth_names => auth_names,
|
|
778
|
-
:return_type => '
|
|
794
|
+
:return_type => 'ContactListing')
|
|
779
795
|
if @api_client.config.debugging
|
|
780
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
796
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations_externalorganization_id_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
781
797
|
end
|
|
782
798
|
return data, status_code, headers
|
|
783
799
|
end
|
|
784
800
|
|
|
785
|
-
#
|
|
801
|
+
# List Notes for an External Organization
|
|
786
802
|
#
|
|
787
|
-
# @param external_organization_id External Organization
|
|
803
|
+
# @param external_organization_id External Organization Id
|
|
788
804
|
# @param [Hash] opts the optional parameters
|
|
789
|
-
# @
|
|
790
|
-
|
|
791
|
-
|
|
805
|
+
# @option opts [Integer] :page_size Page size (default to 20)
|
|
806
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
|
807
|
+
# @option opts [String] :sort_order Sort order
|
|
808
|
+
# @return [NoteListing]
|
|
809
|
+
def get_organizations_externalorganization_id_notes(external_organization_id, opts = {})
|
|
810
|
+
data, status_code, headers = get_organizations_externalorganization_id_notes_with_http_info(external_organization_id, opts)
|
|
792
811
|
return data
|
|
793
812
|
end
|
|
794
813
|
|
|
795
|
-
#
|
|
814
|
+
# List Notes for an External Organization
|
|
796
815
|
#
|
|
797
|
-
# @param external_organization_id External Organization
|
|
816
|
+
# @param external_organization_id External Organization Id
|
|
798
817
|
# @param [Hash] opts the optional parameters
|
|
799
|
-
# @
|
|
800
|
-
|
|
818
|
+
# @option opts [Integer] :page_size Page size
|
|
819
|
+
# @option opts [Integer] :page_number Page number
|
|
820
|
+
# @option opts [String] :sort_order Sort order
|
|
821
|
+
# @return [Array<(NoteListing, Fixnum, Hash)>] NoteListing data, response status code and response headers
|
|
822
|
+
def get_organizations_externalorganization_id_notes_with_http_info(external_organization_id, opts = {})
|
|
801
823
|
if @api_client.config.debugging
|
|
802
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
824
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations_externalorganization_id_notes ..."
|
|
803
825
|
end
|
|
804
826
|
|
|
805
827
|
# verify the required parameter 'external_organization_id' is set
|
|
806
|
-
fail "Missing the required parameter 'external_organization_id' when calling
|
|
828
|
+
fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id_notes" if external_organization_id.nil?
|
|
807
829
|
|
|
808
830
|
# resource path
|
|
809
|
-
|
|
831
|
+
local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
|
|
810
832
|
|
|
811
833
|
# query parameters
|
|
812
834
|
query_params = {}
|
|
835
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
836
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
837
|
+
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
813
838
|
|
|
814
839
|
# header parameters
|
|
815
840
|
header_params = {}
|
|
@@ -828,48 +853,50 @@ module PureCloud
|
|
|
828
853
|
# http body (model)
|
|
829
854
|
post_body = nil
|
|
830
855
|
|
|
831
|
-
|
|
832
856
|
auth_names = ['PureCloud Auth']
|
|
833
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
857
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
834
858
|
:header_params => header_params,
|
|
835
859
|
:query_params => query_params,
|
|
836
860
|
:form_params => form_params,
|
|
837
861
|
:body => post_body,
|
|
838
862
|
:auth_names => auth_names,
|
|
839
|
-
:return_type => '
|
|
863
|
+
:return_type => 'NoteListing')
|
|
840
864
|
if @api_client.config.debugging
|
|
841
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
865
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations_externalorganization_id_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
842
866
|
end
|
|
843
867
|
return data, status_code, headers
|
|
844
868
|
end
|
|
845
869
|
|
|
846
|
-
#
|
|
870
|
+
# Fetch a note
|
|
847
871
|
#
|
|
848
|
-
# @param external_organization_id External Organization
|
|
872
|
+
# @param external_organization_id External Organization Id
|
|
873
|
+
# @param note_id Note Id
|
|
849
874
|
# @param [Hash] opts the optional parameters
|
|
850
|
-
# @
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
data, status_code, headers = put_organizations_externalorganization_id_with_http_info(external_organization_id, opts)
|
|
875
|
+
# @return [Note]
|
|
876
|
+
def get_organizations_externalorganization_id_notes_note_id(external_organization_id, note_id, opts = {})
|
|
877
|
+
data, status_code, headers = get_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts)
|
|
854
878
|
return data
|
|
855
879
|
end
|
|
856
880
|
|
|
857
|
-
#
|
|
881
|
+
# Fetch a note
|
|
858
882
|
#
|
|
859
|
-
# @param external_organization_id External Organization
|
|
883
|
+
# @param external_organization_id External Organization Id
|
|
884
|
+
# @param note_id Note Id
|
|
860
885
|
# @param [Hash] opts the optional parameters
|
|
861
|
-
# @
|
|
862
|
-
|
|
863
|
-
def put_organizations_externalorganization_id_with_http_info(external_organization_id, opts = {})
|
|
886
|
+
# @return [Array<(Note, Fixnum, Hash)>] Note data, response status code and response headers
|
|
887
|
+
def get_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts = {})
|
|
864
888
|
if @api_client.config.debugging
|
|
865
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
889
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations_externalorganization_id_notes_note_id ..."
|
|
866
890
|
end
|
|
867
891
|
|
|
868
892
|
# verify the required parameter 'external_organization_id' is set
|
|
869
|
-
fail "Missing the required parameter 'external_organization_id' when calling
|
|
893
|
+
fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id_notes_note_id" if external_organization_id.nil?
|
|
894
|
+
|
|
895
|
+
# verify the required parameter 'note_id' is set
|
|
896
|
+
fail "Missing the required parameter 'note_id' when calling get_organizations_externalorganization_id_notes_note_id" if note_id.nil?
|
|
870
897
|
|
|
871
898
|
# resource path
|
|
872
|
-
|
|
899
|
+
local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
|
|
873
900
|
|
|
874
901
|
# query parameters
|
|
875
902
|
query_params = {}
|
|
@@ -889,51 +916,59 @@ module PureCloud
|
|
|
889
916
|
form_params = {}
|
|
890
917
|
|
|
891
918
|
# http body (model)
|
|
892
|
-
post_body =
|
|
919
|
+
post_body = nil
|
|
893
920
|
|
|
894
|
-
|
|
895
921
|
auth_names = ['PureCloud Auth']
|
|
896
|
-
data, status_code, headers = @api_client.call_api(:
|
|
922
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
897
923
|
:header_params => header_params,
|
|
898
924
|
:query_params => query_params,
|
|
899
925
|
:form_params => form_params,
|
|
900
926
|
:body => post_body,
|
|
901
927
|
:auth_names => auth_names,
|
|
902
|
-
:return_type => '
|
|
928
|
+
:return_type => 'Note')
|
|
903
929
|
if @api_client.config.debugging
|
|
904
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
930
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations_externalorganization_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
905
931
|
end
|
|
906
932
|
return data, status_code, headers
|
|
907
933
|
end
|
|
908
934
|
|
|
909
|
-
#
|
|
935
|
+
# Fetch an External Organization
|
|
910
936
|
#
|
|
911
937
|
# @param external_organization_id External Organization ID
|
|
912
938
|
# @param [Hash] opts the optional parameters
|
|
913
|
-
# @
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
939
|
+
# @option opts [Integer] :page_size Page size (default to 20)
|
|
940
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
|
941
|
+
# @option opts [String] :sort_order Sort order
|
|
942
|
+
# @return [RelationshipListing]
|
|
943
|
+
def get_organizations_externalorganization_id_relationships(external_organization_id, opts = {})
|
|
944
|
+
data, status_code, headers = get_organizations_externalorganization_id_relationships_with_http_info(external_organization_id, opts)
|
|
945
|
+
return data
|
|
917
946
|
end
|
|
918
947
|
|
|
919
|
-
#
|
|
948
|
+
# Fetch an External Organization
|
|
920
949
|
#
|
|
921
950
|
# @param external_organization_id External Organization ID
|
|
922
951
|
# @param [Hash] opts the optional parameters
|
|
923
|
-
# @
|
|
924
|
-
|
|
952
|
+
# @option opts [Integer] :page_size Page size
|
|
953
|
+
# @option opts [Integer] :page_number Page number
|
|
954
|
+
# @option opts [String] :sort_order Sort order
|
|
955
|
+
# @return [Array<(RelationshipListing, Fixnum, Hash)>] RelationshipListing data, response status code and response headers
|
|
956
|
+
def get_organizations_externalorganization_id_relationships_with_http_info(external_organization_id, opts = {})
|
|
925
957
|
if @api_client.config.debugging
|
|
926
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
958
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations_externalorganization_id_relationships ..."
|
|
927
959
|
end
|
|
928
960
|
|
|
929
961
|
# verify the required parameter 'external_organization_id' is set
|
|
930
|
-
fail "Missing the required parameter 'external_organization_id' when calling
|
|
962
|
+
fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id_relationships" if external_organization_id.nil?
|
|
931
963
|
|
|
932
964
|
# resource path
|
|
933
|
-
|
|
965
|
+
local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/relationships".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
|
|
934
966
|
|
|
935
967
|
# query parameters
|
|
936
968
|
query_params = {}
|
|
969
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
970
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
971
|
+
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
937
972
|
|
|
938
973
|
# header parameters
|
|
939
974
|
header_params = {}
|
|
@@ -952,63 +987,48 @@ module PureCloud
|
|
|
952
987
|
# http body (model)
|
|
953
988
|
post_body = nil
|
|
954
989
|
|
|
955
|
-
|
|
956
990
|
auth_names = ['PureCloud Auth']
|
|
957
|
-
data, status_code, headers = @api_client.call_api(:
|
|
991
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
958
992
|
:header_params => header_params,
|
|
959
993
|
:query_params => query_params,
|
|
960
994
|
:form_params => form_params,
|
|
961
995
|
:body => post_body,
|
|
962
|
-
:auth_names => auth_names
|
|
996
|
+
:auth_names => auth_names,
|
|
997
|
+
:return_type => 'RelationshipListing')
|
|
963
998
|
if @api_client.config.debugging
|
|
964
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
999
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations_externalorganization_id_relationships\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
965
1000
|
end
|
|
966
1001
|
return data, status_code, headers
|
|
967
1002
|
end
|
|
968
1003
|
|
|
969
|
-
#
|
|
1004
|
+
# Fetch a relationship
|
|
970
1005
|
#
|
|
971
|
-
# @param
|
|
1006
|
+
# @param relationship_id Relationship Id
|
|
972
1007
|
# @param [Hash] opts the optional parameters
|
|
973
|
-
# @
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
# @option opts [String] :sort_order Sort order
|
|
977
|
-
# @option opts [Array<String>] :expand which fields, if any, to expand
|
|
978
|
-
# @return [ContactListing]
|
|
979
|
-
def get_organizations_externalorganization_id_contacts(external_organization_id, opts = {})
|
|
980
|
-
data, status_code, headers = get_organizations_externalorganization_id_contacts_with_http_info(external_organization_id, opts)
|
|
1008
|
+
# @return [Relationship]
|
|
1009
|
+
def get_relationships_relationship_id(relationship_id, opts = {})
|
|
1010
|
+
data, status_code, headers = get_relationships_relationship_id_with_http_info(relationship_id, opts)
|
|
981
1011
|
return data
|
|
982
1012
|
end
|
|
983
1013
|
|
|
984
|
-
#
|
|
1014
|
+
# Fetch a relationship
|
|
985
1015
|
#
|
|
986
|
-
# @param
|
|
1016
|
+
# @param relationship_id Relationship Id
|
|
987
1017
|
# @param [Hash] opts the optional parameters
|
|
988
|
-
# @
|
|
989
|
-
|
|
990
|
-
# @option opts [String] :q User supplied search keywords (no special syntax is currently supported)
|
|
991
|
-
# @option opts [String] :sort_order Sort order
|
|
992
|
-
# @option opts [Array<String>] :expand which fields, if any, to expand
|
|
993
|
-
# @return [Array<(ContactListing, Fixnum, Hash)>] ContactListing data, response status code and response headers
|
|
994
|
-
def get_organizations_externalorganization_id_contacts_with_http_info(external_organization_id, opts = {})
|
|
1018
|
+
# @return [Array<(Relationship, Fixnum, Hash)>] Relationship data, response status code and response headers
|
|
1019
|
+
def get_relationships_relationship_id_with_http_info(relationship_id, opts = {})
|
|
995
1020
|
if @api_client.config.debugging
|
|
996
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
1021
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#get_relationships_relationship_id ..."
|
|
997
1022
|
end
|
|
998
1023
|
|
|
999
|
-
# verify the required parameter '
|
|
1000
|
-
fail "Missing the required parameter '
|
|
1024
|
+
# verify the required parameter 'relationship_id' is set
|
|
1025
|
+
fail "Missing the required parameter 'relationship_id' when calling get_relationships_relationship_id" if relationship_id.nil?
|
|
1001
1026
|
|
|
1002
1027
|
# resource path
|
|
1003
|
-
|
|
1028
|
+
local_var_path = "/api/v2/externalcontacts/relationships/{relationshipId}".sub('{format}','json').sub('{' + 'relationshipId' + '}', relationship_id.to_s)
|
|
1004
1029
|
|
|
1005
1030
|
# query parameters
|
|
1006
1031
|
query_params = {}
|
|
1007
|
-
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
1008
|
-
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
1009
|
-
query_params[:'q'] = opts[:'q'] if opts[:'q']
|
|
1010
|
-
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
1011
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
1012
1032
|
|
|
1013
1033
|
# header parameters
|
|
1014
1034
|
header_params = {}
|
|
@@ -1027,58 +1047,45 @@ module PureCloud
|
|
|
1027
1047
|
# http body (model)
|
|
1028
1048
|
post_body = nil
|
|
1029
1049
|
|
|
1030
|
-
|
|
1031
1050
|
auth_names = ['PureCloud Auth']
|
|
1032
|
-
data, status_code, headers = @api_client.call_api(:GET,
|
|
1051
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1033
1052
|
:header_params => header_params,
|
|
1034
1053
|
:query_params => query_params,
|
|
1035
1054
|
:form_params => form_params,
|
|
1036
1055
|
:body => post_body,
|
|
1037
1056
|
:auth_names => auth_names,
|
|
1038
|
-
:return_type => '
|
|
1057
|
+
:return_type => 'Relationship')
|
|
1039
1058
|
if @api_client.config.debugging
|
|
1040
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
1059
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#get_relationships_relationship_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1041
1060
|
end
|
|
1042
1061
|
return data, status_code, headers
|
|
1043
1062
|
end
|
|
1044
1063
|
|
|
1045
|
-
#
|
|
1064
|
+
# Create an ExternalContact
|
|
1046
1065
|
#
|
|
1047
|
-
# @param external_organization_id External Organization Id
|
|
1048
1066
|
# @param [Hash] opts the optional parameters
|
|
1049
|
-
# @option opts [
|
|
1050
|
-
# @
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
def get_organizations_externalorganization_id_notes(external_organization_id, opts = {})
|
|
1054
|
-
data, status_code, headers = get_organizations_externalorganization_id_notes_with_http_info(external_organization_id, opts)
|
|
1067
|
+
# @option opts [ExternalContact] :body ExternalContact
|
|
1068
|
+
# @return [ExternalContact]
|
|
1069
|
+
def post_contacts(opts = {})
|
|
1070
|
+
data, status_code, headers = post_contacts_with_http_info(opts)
|
|
1055
1071
|
return data
|
|
1056
1072
|
end
|
|
1057
1073
|
|
|
1058
|
-
#
|
|
1074
|
+
# Create an ExternalContact
|
|
1059
1075
|
#
|
|
1060
|
-
# @param external_organization_id External Organization Id
|
|
1061
1076
|
# @param [Hash] opts the optional parameters
|
|
1062
|
-
# @option opts [
|
|
1063
|
-
# @
|
|
1064
|
-
|
|
1065
|
-
# @return [Array<(NoteListing, Fixnum, Hash)>] NoteListing data, response status code and response headers
|
|
1066
|
-
def get_organizations_externalorganization_id_notes_with_http_info(external_organization_id, opts = {})
|
|
1077
|
+
# @option opts [ExternalContact] :body ExternalContact
|
|
1078
|
+
# @return [Array<(ExternalContact, Fixnum, Hash)>] ExternalContact data, response status code and response headers
|
|
1079
|
+
def post_contacts_with_http_info(opts = {})
|
|
1067
1080
|
if @api_client.config.debugging
|
|
1068
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
1081
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#post_contacts ..."
|
|
1069
1082
|
end
|
|
1070
1083
|
|
|
1071
|
-
# verify the required parameter 'external_organization_id' is set
|
|
1072
|
-
fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id_notes" if external_organization_id.nil?
|
|
1073
|
-
|
|
1074
1084
|
# resource path
|
|
1075
|
-
|
|
1085
|
+
local_var_path = "/api/v2/externalcontacts/contacts".sub('{format}','json')
|
|
1076
1086
|
|
|
1077
1087
|
# query parameters
|
|
1078
1088
|
query_params = {}
|
|
1079
|
-
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
1080
|
-
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
1081
|
-
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
1082
1089
|
|
|
1083
1090
|
# header parameters
|
|
1084
1091
|
header_params = {}
|
|
@@ -1095,50 +1102,49 @@ module PureCloud
|
|
|
1095
1102
|
form_params = {}
|
|
1096
1103
|
|
|
1097
1104
|
# http body (model)
|
|
1098
|
-
post_body =
|
|
1105
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1099
1106
|
|
|
1100
|
-
|
|
1101
1107
|
auth_names = ['PureCloud Auth']
|
|
1102
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1108
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1103
1109
|
:header_params => header_params,
|
|
1104
1110
|
:query_params => query_params,
|
|
1105
1111
|
:form_params => form_params,
|
|
1106
1112
|
:body => post_body,
|
|
1107
1113
|
:auth_names => auth_names,
|
|
1108
|
-
:return_type => '
|
|
1114
|
+
:return_type => 'ExternalContact')
|
|
1109
1115
|
if @api_client.config.debugging
|
|
1110
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
1116
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#post_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1111
1117
|
end
|
|
1112
1118
|
return data, status_code, headers
|
|
1113
1119
|
end
|
|
1114
1120
|
|
|
1115
|
-
# Create a Note for an
|
|
1121
|
+
# Create a Note for an ExternalContact
|
|
1116
1122
|
#
|
|
1117
|
-
# @param
|
|
1123
|
+
# @param contact_id ExternalContact Id
|
|
1118
1124
|
# @param [Hash] opts the optional parameters
|
|
1119
1125
|
# @option opts [Note] :body ExternalContact
|
|
1120
1126
|
# @return [Note]
|
|
1121
|
-
def
|
|
1122
|
-
data, status_code, headers =
|
|
1127
|
+
def post_contacts_contact_id_notes(contact_id, opts = {})
|
|
1128
|
+
data, status_code, headers = post_contacts_contact_id_notes_with_http_info(contact_id, opts)
|
|
1123
1129
|
return data
|
|
1124
1130
|
end
|
|
1125
1131
|
|
|
1126
|
-
# Create a Note for an
|
|
1132
|
+
# Create a Note for an ExternalContact
|
|
1127
1133
|
#
|
|
1128
|
-
# @param
|
|
1134
|
+
# @param contact_id ExternalContact Id
|
|
1129
1135
|
# @param [Hash] opts the optional parameters
|
|
1130
1136
|
# @option opts [Note] :body ExternalContact
|
|
1131
1137
|
# @return [Array<(Note, Fixnum, Hash)>] Note data, response status code and response headers
|
|
1132
|
-
def
|
|
1138
|
+
def post_contacts_contact_id_notes_with_http_info(contact_id, opts = {})
|
|
1133
1139
|
if @api_client.config.debugging
|
|
1134
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
1140
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#post_contacts_contact_id_notes ..."
|
|
1135
1141
|
end
|
|
1136
1142
|
|
|
1137
|
-
# verify the required parameter '
|
|
1138
|
-
fail "Missing the required parameter '
|
|
1143
|
+
# verify the required parameter 'contact_id' is set
|
|
1144
|
+
fail "Missing the required parameter 'contact_id' when calling post_contacts_contact_id_notes" if contact_id.nil?
|
|
1139
1145
|
|
|
1140
1146
|
# resource path
|
|
1141
|
-
|
|
1147
|
+
local_var_path = "/api/v2/externalcontacts/contacts/{contactId}/notes".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s)
|
|
1142
1148
|
|
|
1143
1149
|
# query parameters
|
|
1144
1150
|
query_params = {}
|
|
@@ -1160,9 +1166,8 @@ module PureCloud
|
|
|
1160
1166
|
# http body (model)
|
|
1161
1167
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1162
1168
|
|
|
1163
|
-
|
|
1164
1169
|
auth_names = ['PureCloud Auth']
|
|
1165
|
-
data, status_code, headers = @api_client.call_api(:POST,
|
|
1170
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1166
1171
|
:header_params => header_params,
|
|
1167
1172
|
:query_params => query_params,
|
|
1168
1173
|
:form_params => form_params,
|
|
@@ -1170,41 +1175,33 @@ module PureCloud
|
|
|
1170
1175
|
:auth_names => auth_names,
|
|
1171
1176
|
:return_type => 'Note')
|
|
1172
1177
|
if @api_client.config.debugging
|
|
1173
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
1178
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#post_contacts_contact_id_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1174
1179
|
end
|
|
1175
1180
|
return data, status_code, headers
|
|
1176
1181
|
end
|
|
1177
1182
|
|
|
1178
|
-
#
|
|
1183
|
+
# Create an External Organization
|
|
1179
1184
|
#
|
|
1180
|
-
# @param external_organization_id External Organization Id
|
|
1181
|
-
# @param note_id Note Id
|
|
1182
1185
|
# @param [Hash] opts the optional parameters
|
|
1183
|
-
# @
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
+
# @option opts [ExternalOrganization] :body ExternalOrganization
|
|
1187
|
+
# @return [ExternalOrganization]
|
|
1188
|
+
def post_organizations(opts = {})
|
|
1189
|
+
data, status_code, headers = post_organizations_with_http_info(opts)
|
|
1186
1190
|
return data
|
|
1187
1191
|
end
|
|
1188
1192
|
|
|
1189
|
-
#
|
|
1193
|
+
# Create an External Organization
|
|
1190
1194
|
#
|
|
1191
|
-
# @param external_organization_id External Organization Id
|
|
1192
|
-
# @param note_id Note Id
|
|
1193
1195
|
# @param [Hash] opts the optional parameters
|
|
1194
|
-
# @
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
# verify the required parameter 'external_organization_id' is set
|
|
1201
|
-
fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id_notes_note_id" if external_organization_id.nil?
|
|
1202
|
-
|
|
1203
|
-
# verify the required parameter 'note_id' is set
|
|
1204
|
-
fail "Missing the required parameter 'note_id' when calling get_organizations_externalorganization_id_notes_note_id" if note_id.nil?
|
|
1196
|
+
# @option opts [ExternalOrganization] :body ExternalOrganization
|
|
1197
|
+
# @return [Array<(ExternalOrganization, Fixnum, Hash)>] ExternalOrganization data, response status code and response headers
|
|
1198
|
+
def post_organizations_with_http_info(opts = {})
|
|
1199
|
+
if @api_client.config.debugging
|
|
1200
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#post_organizations ..."
|
|
1201
|
+
end
|
|
1205
1202
|
|
|
1206
1203
|
# resource path
|
|
1207
|
-
|
|
1204
|
+
local_var_path = "/api/v2/externalcontacts/organizations".sub('{format}','json')
|
|
1208
1205
|
|
|
1209
1206
|
# query parameters
|
|
1210
1207
|
query_params = {}
|
|
@@ -1224,55 +1221,49 @@ module PureCloud
|
|
|
1224
1221
|
form_params = {}
|
|
1225
1222
|
|
|
1226
1223
|
# http body (model)
|
|
1227
|
-
post_body =
|
|
1224
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1228
1225
|
|
|
1229
|
-
|
|
1230
1226
|
auth_names = ['PureCloud Auth']
|
|
1231
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1227
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1232
1228
|
:header_params => header_params,
|
|
1233
1229
|
:query_params => query_params,
|
|
1234
1230
|
:form_params => form_params,
|
|
1235
1231
|
:body => post_body,
|
|
1236
1232
|
:auth_names => auth_names,
|
|
1237
|
-
:return_type => '
|
|
1233
|
+
:return_type => 'ExternalOrganization')
|
|
1238
1234
|
if @api_client.config.debugging
|
|
1239
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
1235
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#post_organizations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1240
1236
|
end
|
|
1241
1237
|
return data, status_code, headers
|
|
1242
1238
|
end
|
|
1243
1239
|
|
|
1244
|
-
#
|
|
1240
|
+
# Create a Note for an External Organization
|
|
1245
1241
|
#
|
|
1246
1242
|
# @param external_organization_id External Organization Id
|
|
1247
|
-
# @param note_id Note Id
|
|
1248
1243
|
# @param [Hash] opts the optional parameters
|
|
1249
|
-
# @option opts [Note] :body
|
|
1244
|
+
# @option opts [Note] :body ExternalContact
|
|
1250
1245
|
# @return [Note]
|
|
1251
|
-
def
|
|
1252
|
-
data, status_code, headers =
|
|
1246
|
+
def post_organizations_externalorganization_id_notes(external_organization_id, opts = {})
|
|
1247
|
+
data, status_code, headers = post_organizations_externalorganization_id_notes_with_http_info(external_organization_id, opts)
|
|
1253
1248
|
return data
|
|
1254
1249
|
end
|
|
1255
1250
|
|
|
1256
|
-
#
|
|
1251
|
+
# Create a Note for an External Organization
|
|
1257
1252
|
#
|
|
1258
1253
|
# @param external_organization_id External Organization Id
|
|
1259
|
-
# @param note_id Note Id
|
|
1260
1254
|
# @param [Hash] opts the optional parameters
|
|
1261
|
-
# @option opts [Note] :body
|
|
1255
|
+
# @option opts [Note] :body ExternalContact
|
|
1262
1256
|
# @return [Array<(Note, Fixnum, Hash)>] Note data, response status code and response headers
|
|
1263
|
-
def
|
|
1257
|
+
def post_organizations_externalorganization_id_notes_with_http_info(external_organization_id, opts = {})
|
|
1264
1258
|
if @api_client.config.debugging
|
|
1265
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
1259
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#post_organizations_externalorganization_id_notes ..."
|
|
1266
1260
|
end
|
|
1267
1261
|
|
|
1268
1262
|
# verify the required parameter 'external_organization_id' is set
|
|
1269
|
-
fail "Missing the required parameter 'external_organization_id' when calling
|
|
1270
|
-
|
|
1271
|
-
# verify the required parameter 'note_id' is set
|
|
1272
|
-
fail "Missing the required parameter 'note_id' when calling put_organizations_externalorganization_id_notes_note_id" if note_id.nil?
|
|
1263
|
+
fail "Missing the required parameter 'external_organization_id' when calling post_organizations_externalorganization_id_notes" if external_organization_id.nil?
|
|
1273
1264
|
|
|
1274
1265
|
# resource path
|
|
1275
|
-
|
|
1266
|
+
local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
|
|
1276
1267
|
|
|
1277
1268
|
# query parameters
|
|
1278
1269
|
query_params = {}
|
|
@@ -1294,9 +1285,8 @@ module PureCloud
|
|
|
1294
1285
|
# http body (model)
|
|
1295
1286
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1296
1287
|
|
|
1297
|
-
|
|
1298
1288
|
auth_names = ['PureCloud Auth']
|
|
1299
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1289
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1300
1290
|
:header_params => header_params,
|
|
1301
1291
|
:query_params => query_params,
|
|
1302
1292
|
:form_params => form_params,
|
|
@@ -1304,41 +1294,33 @@ module PureCloud
|
|
|
1304
1294
|
:auth_names => auth_names,
|
|
1305
1295
|
:return_type => 'Note')
|
|
1306
1296
|
if @api_client.config.debugging
|
|
1307
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
1297
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#post_organizations_externalorganization_id_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1308
1298
|
end
|
|
1309
1299
|
return data, status_code, headers
|
|
1310
1300
|
end
|
|
1311
1301
|
|
|
1312
|
-
#
|
|
1302
|
+
# Create a relationship
|
|
1313
1303
|
#
|
|
1314
|
-
# @param external_organization_id External Organization Id
|
|
1315
|
-
# @param note_id Note Id
|
|
1316
1304
|
# @param [Hash] opts the optional parameters
|
|
1317
|
-
# @
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1305
|
+
# @option opts [Relationship] :body Relationship
|
|
1306
|
+
# @return [Relationship]
|
|
1307
|
+
def post_relationships(opts = {})
|
|
1308
|
+
data, status_code, headers = post_relationships_with_http_info(opts)
|
|
1309
|
+
return data
|
|
1321
1310
|
end
|
|
1322
1311
|
|
|
1323
|
-
#
|
|
1312
|
+
# Create a relationship
|
|
1324
1313
|
#
|
|
1325
|
-
# @param external_organization_id External Organization Id
|
|
1326
|
-
# @param note_id Note Id
|
|
1327
1314
|
# @param [Hash] opts the optional parameters
|
|
1328
|
-
# @
|
|
1329
|
-
|
|
1315
|
+
# @option opts [Relationship] :body Relationship
|
|
1316
|
+
# @return [Array<(Relationship, Fixnum, Hash)>] Relationship data, response status code and response headers
|
|
1317
|
+
def post_relationships_with_http_info(opts = {})
|
|
1330
1318
|
if @api_client.config.debugging
|
|
1331
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
1319
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#post_relationships ..."
|
|
1332
1320
|
end
|
|
1333
1321
|
|
|
1334
|
-
# verify the required parameter 'external_organization_id' is set
|
|
1335
|
-
fail "Missing the required parameter 'external_organization_id' when calling delete_organizations_externalorganization_id_notes_note_id" if external_organization_id.nil?
|
|
1336
|
-
|
|
1337
|
-
# verify the required parameter 'note_id' is set
|
|
1338
|
-
fail "Missing the required parameter 'note_id' when calling delete_organizations_externalorganization_id_notes_note_id" if note_id.nil?
|
|
1339
|
-
|
|
1340
1322
|
# resource path
|
|
1341
|
-
|
|
1323
|
+
local_var_path = "/api/v2/externalcontacts/relationships".sub('{format}','json')
|
|
1342
1324
|
|
|
1343
1325
|
# query parameters
|
|
1344
1326
|
query_params = {}
|
|
@@ -1358,59 +1340,52 @@ module PureCloud
|
|
|
1358
1340
|
form_params = {}
|
|
1359
1341
|
|
|
1360
1342
|
# http body (model)
|
|
1361
|
-
post_body =
|
|
1343
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1362
1344
|
|
|
1363
|
-
|
|
1364
1345
|
auth_names = ['PureCloud Auth']
|
|
1365
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1346
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1366
1347
|
:header_params => header_params,
|
|
1367
1348
|
:query_params => query_params,
|
|
1368
1349
|
:form_params => form_params,
|
|
1369
1350
|
:body => post_body,
|
|
1370
|
-
:auth_names => auth_names
|
|
1351
|
+
:auth_names => auth_names,
|
|
1352
|
+
:return_type => 'Relationship')
|
|
1371
1353
|
if @api_client.config.debugging
|
|
1372
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
1354
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#post_relationships\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1373
1355
|
end
|
|
1374
1356
|
return data, status_code, headers
|
|
1375
1357
|
end
|
|
1376
1358
|
|
|
1377
|
-
#
|
|
1359
|
+
# Update a externalContact
|
|
1378
1360
|
#
|
|
1379
|
-
# @param
|
|
1361
|
+
# @param contact_id ExternalContact ID
|
|
1380
1362
|
# @param [Hash] opts the optional parameters
|
|
1381
|
-
# @option opts [
|
|
1382
|
-
# @
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
def get_organizations_externalorganization_id_relationships(external_organization_id, opts = {})
|
|
1386
|
-
data, status_code, headers = get_organizations_externalorganization_id_relationships_with_http_info(external_organization_id, opts)
|
|
1363
|
+
# @option opts [ExternalContact] :body ExternalContact
|
|
1364
|
+
# @return [ExternalContact]
|
|
1365
|
+
def put_contacts_contact_id(contact_id, opts = {})
|
|
1366
|
+
data, status_code, headers = put_contacts_contact_id_with_http_info(contact_id, opts)
|
|
1387
1367
|
return data
|
|
1388
1368
|
end
|
|
1389
1369
|
|
|
1390
|
-
#
|
|
1370
|
+
# Update a externalContact
|
|
1391
1371
|
#
|
|
1392
|
-
# @param
|
|
1372
|
+
# @param contact_id ExternalContact ID
|
|
1393
1373
|
# @param [Hash] opts the optional parameters
|
|
1394
|
-
# @option opts [
|
|
1395
|
-
# @
|
|
1396
|
-
|
|
1397
|
-
# @return [Array<(RelationshipListing, Fixnum, Hash)>] RelationshipListing data, response status code and response headers
|
|
1398
|
-
def get_organizations_externalorganization_id_relationships_with_http_info(external_organization_id, opts = {})
|
|
1374
|
+
# @option opts [ExternalContact] :body ExternalContact
|
|
1375
|
+
# @return [Array<(ExternalContact, Fixnum, Hash)>] ExternalContact data, response status code and response headers
|
|
1376
|
+
def put_contacts_contact_id_with_http_info(contact_id, opts = {})
|
|
1399
1377
|
if @api_client.config.debugging
|
|
1400
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
1378
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#put_contacts_contact_id ..."
|
|
1401
1379
|
end
|
|
1402
1380
|
|
|
1403
|
-
# verify the required parameter '
|
|
1404
|
-
fail "Missing the required parameter '
|
|
1381
|
+
# verify the required parameter 'contact_id' is set
|
|
1382
|
+
fail "Missing the required parameter 'contact_id' when calling put_contacts_contact_id" if contact_id.nil?
|
|
1405
1383
|
|
|
1406
1384
|
# resource path
|
|
1407
|
-
|
|
1385
|
+
local_var_path = "/api/v2/externalcontacts/contacts/{contactId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s)
|
|
1408
1386
|
|
|
1409
1387
|
# query parameters
|
|
1410
1388
|
query_params = {}
|
|
1411
|
-
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
1412
|
-
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
1413
|
-
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
1414
1389
|
|
|
1415
1390
|
# header parameters
|
|
1416
1391
|
header_params = {}
|
|
@@ -1427,45 +1402,54 @@ module PureCloud
|
|
|
1427
1402
|
form_params = {}
|
|
1428
1403
|
|
|
1429
1404
|
# http body (model)
|
|
1430
|
-
post_body =
|
|
1405
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1431
1406
|
|
|
1432
|
-
|
|
1433
1407
|
auth_names = ['PureCloud Auth']
|
|
1434
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1408
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1435
1409
|
:header_params => header_params,
|
|
1436
1410
|
:query_params => query_params,
|
|
1437
1411
|
:form_params => form_params,
|
|
1438
1412
|
:body => post_body,
|
|
1439
1413
|
:auth_names => auth_names,
|
|
1440
|
-
:return_type => '
|
|
1414
|
+
:return_type => 'ExternalContact')
|
|
1441
1415
|
if @api_client.config.debugging
|
|
1442
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
1416
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#put_contacts_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1443
1417
|
end
|
|
1444
1418
|
return data, status_code, headers
|
|
1445
1419
|
end
|
|
1446
1420
|
|
|
1447
|
-
#
|
|
1421
|
+
# Update a note for a contact
|
|
1448
1422
|
#
|
|
1423
|
+
# @param contact_id ExternalContact Id
|
|
1424
|
+
# @param note_id Note Id
|
|
1449
1425
|
# @param [Hash] opts the optional parameters
|
|
1450
|
-
# @option opts [
|
|
1451
|
-
# @return [
|
|
1452
|
-
def
|
|
1453
|
-
data, status_code, headers =
|
|
1426
|
+
# @option opts [Note] :body Note
|
|
1427
|
+
# @return [Note]
|
|
1428
|
+
def put_contacts_contact_id_notes_note_id(contact_id, note_id, opts = {})
|
|
1429
|
+
data, status_code, headers = put_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts)
|
|
1454
1430
|
return data
|
|
1455
1431
|
end
|
|
1456
1432
|
|
|
1457
|
-
#
|
|
1433
|
+
# Update a note for a contact
|
|
1458
1434
|
#
|
|
1435
|
+
# @param contact_id ExternalContact Id
|
|
1436
|
+
# @param note_id Note Id
|
|
1459
1437
|
# @param [Hash] opts the optional parameters
|
|
1460
|
-
# @option opts [
|
|
1461
|
-
# @return [Array<(
|
|
1462
|
-
def
|
|
1438
|
+
# @option opts [Note] :body Note
|
|
1439
|
+
# @return [Array<(Note, Fixnum, Hash)>] Note data, response status code and response headers
|
|
1440
|
+
def put_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts = {})
|
|
1463
1441
|
if @api_client.config.debugging
|
|
1464
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
1442
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#put_contacts_contact_id_notes_note_id ..."
|
|
1465
1443
|
end
|
|
1466
1444
|
|
|
1445
|
+
# verify the required parameter 'contact_id' is set
|
|
1446
|
+
fail "Missing the required parameter 'contact_id' when calling put_contacts_contact_id_notes_note_id" if contact_id.nil?
|
|
1447
|
+
|
|
1448
|
+
# verify the required parameter 'note_id' is set
|
|
1449
|
+
fail "Missing the required parameter 'note_id' when calling put_contacts_contact_id_notes_note_id" if note_id.nil?
|
|
1450
|
+
|
|
1467
1451
|
# resource path
|
|
1468
|
-
|
|
1452
|
+
local_var_path = "/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
|
|
1469
1453
|
|
|
1470
1454
|
# query parameters
|
|
1471
1455
|
query_params = {}
|
|
@@ -1487,46 +1471,47 @@ module PureCloud
|
|
|
1487
1471
|
# http body (model)
|
|
1488
1472
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1489
1473
|
|
|
1490
|
-
|
|
1491
1474
|
auth_names = ['PureCloud Auth']
|
|
1492
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1475
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1493
1476
|
:header_params => header_params,
|
|
1494
1477
|
:query_params => query_params,
|
|
1495
1478
|
:form_params => form_params,
|
|
1496
1479
|
:body => post_body,
|
|
1497
1480
|
:auth_names => auth_names,
|
|
1498
|
-
:return_type => '
|
|
1481
|
+
:return_type => 'Note')
|
|
1499
1482
|
if @api_client.config.debugging
|
|
1500
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
1483
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#put_contacts_contact_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1501
1484
|
end
|
|
1502
1485
|
return data, status_code, headers
|
|
1503
1486
|
end
|
|
1504
1487
|
|
|
1505
|
-
#
|
|
1488
|
+
# Update an External Organization
|
|
1506
1489
|
#
|
|
1507
|
-
# @param
|
|
1490
|
+
# @param external_organization_id External Organization ID
|
|
1508
1491
|
# @param [Hash] opts the optional parameters
|
|
1509
|
-
# @
|
|
1510
|
-
|
|
1511
|
-
|
|
1492
|
+
# @option opts [ExternalOrganization] :body ExternalOrganization
|
|
1493
|
+
# @return [ExternalOrganization]
|
|
1494
|
+
def put_organizations_externalorganization_id(external_organization_id, opts = {})
|
|
1495
|
+
data, status_code, headers = put_organizations_externalorganization_id_with_http_info(external_organization_id, opts)
|
|
1512
1496
|
return data
|
|
1513
1497
|
end
|
|
1514
1498
|
|
|
1515
|
-
#
|
|
1499
|
+
# Update an External Organization
|
|
1516
1500
|
#
|
|
1517
|
-
# @param
|
|
1501
|
+
# @param external_organization_id External Organization ID
|
|
1518
1502
|
# @param [Hash] opts the optional parameters
|
|
1519
|
-
# @
|
|
1520
|
-
|
|
1503
|
+
# @option opts [ExternalOrganization] :body ExternalOrganization
|
|
1504
|
+
# @return [Array<(ExternalOrganization, Fixnum, Hash)>] ExternalOrganization data, response status code and response headers
|
|
1505
|
+
def put_organizations_externalorganization_id_with_http_info(external_organization_id, opts = {})
|
|
1521
1506
|
if @api_client.config.debugging
|
|
1522
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
1507
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#put_organizations_externalorganization_id ..."
|
|
1523
1508
|
end
|
|
1524
1509
|
|
|
1525
|
-
# verify the required parameter '
|
|
1526
|
-
fail "Missing the required parameter '
|
|
1510
|
+
# verify the required parameter 'external_organization_id' is set
|
|
1511
|
+
fail "Missing the required parameter 'external_organization_id' when calling put_organizations_externalorganization_id" if external_organization_id.nil?
|
|
1527
1512
|
|
|
1528
1513
|
# resource path
|
|
1529
|
-
|
|
1514
|
+
local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
|
|
1530
1515
|
|
|
1531
1516
|
# query parameters
|
|
1532
1517
|
query_params = {}
|
|
@@ -1546,50 +1531,54 @@ module PureCloud
|
|
|
1546
1531
|
form_params = {}
|
|
1547
1532
|
|
|
1548
1533
|
# http body (model)
|
|
1549
|
-
post_body =
|
|
1534
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1550
1535
|
|
|
1551
|
-
|
|
1552
1536
|
auth_names = ['PureCloud Auth']
|
|
1553
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1537
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1554
1538
|
:header_params => header_params,
|
|
1555
1539
|
:query_params => query_params,
|
|
1556
1540
|
:form_params => form_params,
|
|
1557
1541
|
:body => post_body,
|
|
1558
1542
|
:auth_names => auth_names,
|
|
1559
|
-
:return_type => '
|
|
1543
|
+
:return_type => 'ExternalOrganization')
|
|
1560
1544
|
if @api_client.config.debugging
|
|
1561
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
1545
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#put_organizations_externalorganization_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1562
1546
|
end
|
|
1563
1547
|
return data, status_code, headers
|
|
1564
1548
|
end
|
|
1565
1549
|
|
|
1566
|
-
# Update a
|
|
1550
|
+
# Update a note
|
|
1567
1551
|
#
|
|
1568
|
-
# @param
|
|
1552
|
+
# @param external_organization_id External Organization Id
|
|
1553
|
+
# @param note_id Note Id
|
|
1569
1554
|
# @param [Hash] opts the optional parameters
|
|
1570
|
-
# @option opts [
|
|
1571
|
-
# @return [
|
|
1572
|
-
def
|
|
1573
|
-
data, status_code, headers =
|
|
1555
|
+
# @option opts [Note] :body Note
|
|
1556
|
+
# @return [Note]
|
|
1557
|
+
def put_organizations_externalorganization_id_notes_note_id(external_organization_id, note_id, opts = {})
|
|
1558
|
+
data, status_code, headers = put_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts)
|
|
1574
1559
|
return data
|
|
1575
1560
|
end
|
|
1576
1561
|
|
|
1577
|
-
# Update a
|
|
1562
|
+
# Update a note
|
|
1578
1563
|
#
|
|
1579
|
-
# @param
|
|
1564
|
+
# @param external_organization_id External Organization Id
|
|
1565
|
+
# @param note_id Note Id
|
|
1580
1566
|
# @param [Hash] opts the optional parameters
|
|
1581
|
-
# @option opts [
|
|
1582
|
-
# @return [Array<(
|
|
1583
|
-
def
|
|
1567
|
+
# @option opts [Note] :body Note
|
|
1568
|
+
# @return [Array<(Note, Fixnum, Hash)>] Note data, response status code and response headers
|
|
1569
|
+
def put_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts = {})
|
|
1584
1570
|
if @api_client.config.debugging
|
|
1585
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
1571
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#put_organizations_externalorganization_id_notes_note_id ..."
|
|
1586
1572
|
end
|
|
1587
1573
|
|
|
1588
|
-
# verify the required parameter '
|
|
1589
|
-
fail "Missing the required parameter '
|
|
1574
|
+
# verify the required parameter 'external_organization_id' is set
|
|
1575
|
+
fail "Missing the required parameter 'external_organization_id' when calling put_organizations_externalorganization_id_notes_note_id" if external_organization_id.nil?
|
|
1576
|
+
|
|
1577
|
+
# verify the required parameter 'note_id' is set
|
|
1578
|
+
fail "Missing the required parameter 'note_id' when calling put_organizations_externalorganization_id_notes_note_id" if note_id.nil?
|
|
1590
1579
|
|
|
1591
1580
|
# resource path
|
|
1592
|
-
|
|
1581
|
+
local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
|
|
1593
1582
|
|
|
1594
1583
|
# query parameters
|
|
1595
1584
|
query_params = {}
|
|
@@ -1611,46 +1600,47 @@ module PureCloud
|
|
|
1611
1600
|
# http body (model)
|
|
1612
1601
|
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1613
1602
|
|
|
1614
|
-
|
|
1615
1603
|
auth_names = ['PureCloud Auth']
|
|
1616
|
-
data, status_code, headers = @api_client.call_api(:PUT,
|
|
1604
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1617
1605
|
:header_params => header_params,
|
|
1618
1606
|
:query_params => query_params,
|
|
1619
1607
|
:form_params => form_params,
|
|
1620
1608
|
:body => post_body,
|
|
1621
1609
|
:auth_names => auth_names,
|
|
1622
|
-
:return_type => '
|
|
1610
|
+
:return_type => 'Note')
|
|
1623
1611
|
if @api_client.config.debugging
|
|
1624
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
1612
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#put_organizations_externalorganization_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1625
1613
|
end
|
|
1626
1614
|
return data, status_code, headers
|
|
1627
1615
|
end
|
|
1628
1616
|
|
|
1629
|
-
#
|
|
1617
|
+
# Update a relationship
|
|
1630
1618
|
#
|
|
1631
1619
|
# @param relationship_id Relationship Id
|
|
1632
1620
|
# @param [Hash] opts the optional parameters
|
|
1633
|
-
# @
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1621
|
+
# @option opts [Relationship] :body Relationship
|
|
1622
|
+
# @return [Relationship]
|
|
1623
|
+
def put_relationships_relationship_id(relationship_id, opts = {})
|
|
1624
|
+
data, status_code, headers = put_relationships_relationship_id_with_http_info(relationship_id, opts)
|
|
1625
|
+
return data
|
|
1637
1626
|
end
|
|
1638
1627
|
|
|
1639
|
-
#
|
|
1628
|
+
# Update a relationship
|
|
1640
1629
|
#
|
|
1641
1630
|
# @param relationship_id Relationship Id
|
|
1642
1631
|
# @param [Hash] opts the optional parameters
|
|
1643
|
-
# @
|
|
1644
|
-
|
|
1632
|
+
# @option opts [Relationship] :body Relationship
|
|
1633
|
+
# @return [Array<(Relationship, Fixnum, Hash)>] Relationship data, response status code and response headers
|
|
1634
|
+
def put_relationships_relationship_id_with_http_info(relationship_id, opts = {})
|
|
1645
1635
|
if @api_client.config.debugging
|
|
1646
|
-
@api_client.config.logger.debug "Calling API: ExternalContactsApi#
|
|
1636
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi#put_relationships_relationship_id ..."
|
|
1647
1637
|
end
|
|
1648
1638
|
|
|
1649
1639
|
# verify the required parameter 'relationship_id' is set
|
|
1650
|
-
fail "Missing the required parameter 'relationship_id' when calling
|
|
1640
|
+
fail "Missing the required parameter 'relationship_id' when calling put_relationships_relationship_id" if relationship_id.nil?
|
|
1651
1641
|
|
|
1652
1642
|
# resource path
|
|
1653
|
-
|
|
1643
|
+
local_var_path = "/api/v2/externalcontacts/relationships/{relationshipId}".sub('{format}','json').sub('{' + 'relationshipId' + '}', relationship_id.to_s)
|
|
1654
1644
|
|
|
1655
1645
|
# query parameters
|
|
1656
1646
|
query_params = {}
|
|
@@ -1670,24 +1660,20 @@ module PureCloud
|
|
|
1670
1660
|
form_params = {}
|
|
1671
1661
|
|
|
1672
1662
|
# http body (model)
|
|
1673
|
-
post_body =
|
|
1663
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1674
1664
|
|
|
1675
|
-
|
|
1676
1665
|
auth_names = ['PureCloud Auth']
|
|
1677
|
-
data, status_code, headers = @api_client.call_api(:
|
|
1666
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1678
1667
|
:header_params => header_params,
|
|
1679
1668
|
:query_params => query_params,
|
|
1680
1669
|
:form_params => form_params,
|
|
1681
1670
|
:body => post_body,
|
|
1682
|
-
:auth_names => auth_names
|
|
1671
|
+
:auth_names => auth_names,
|
|
1672
|
+
:return_type => 'Relationship')
|
|
1683
1673
|
if @api_client.config.debugging
|
|
1684
|
-
@api_client.config.logger.debug "API called: ExternalContactsApi#
|
|
1674
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#put_relationships_relationship_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1685
1675
|
end
|
|
1686
1676
|
return data, status_code, headers
|
|
1687
1677
|
end
|
|
1688
1678
|
end
|
|
1689
1679
|
end
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|