purecloudplatformclientv2 84.0.0 → 88.0.0
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/README.md +2 -2
- data/docs/ActionEntityListing.md +2 -2
- data/docs/AddShiftTradeRequest.md +17 -0
- data/docs/AdditionalMessage.md +1 -0
- data/docs/AgentActivityEntityListing.md +2 -2
- data/docs/AnalyticsConversationAsyncQueryResponse.md +1 -0
- data/docs/AnalyticsEvaluation.md +1 -1
- data/docs/AnalyticsUserDetailsAsyncQueryResponse.md +1 -0
- data/docs/ArchitectApi.md +5 -1
- data/docs/ArrayNode.md +2 -2
- data/docs/AsyncForecastOperationResult.md +16 -0
- data/docs/AsyncIntradayResponse.md +15 -0
- data/docs/AttemptLimitsEntityListing.md +2 -2
- data/docs/AuthorizationApi.md +0 -72
- data/docs/AuthzDivisionEntityListing.md +2 -2
- data/docs/BillingApi.md +0 -2
- data/docs/{WfmAbandonRate.md → BuAbandonRate.md} +2 -2
- data/docs/BuAgentScheduleQueryResponse.md +17 -0
- data/docs/BuAgentScheduleRescheduleResponse.md +16 -0
- data/docs/BuAgentScheduleUpdate.md +14 -0
- data/docs/BuAgentSchedulesQueryResponse.md +13 -0
- data/docs/BuAsyncAgentSchedulesQueryResponse.md +17 -0
- data/docs/BuAsyncScheduleResponse.md +15 -0
- data/docs/BuAsyncScheduleRunResponse.md +15 -0
- data/docs/{WfmAverageSpeedOfAnswer.md → BuAverageSpeedOfAnswer.md} +2 -2
- data/docs/BuCopyScheduleRequest.md +14 -0
- data/docs/BuCreateBlankScheduleRequest.md +15 -0
- data/docs/BuCurrentAgentScheduleSearchResponse.md +18 -0
- data/docs/BuForecastGenerationPlanningGroupResult.md +14 -0
- data/docs/BuForecastGenerationResult.md +13 -0
- data/docs/{WfmForecastModification.md → BuForecastModification.md} +6 -3
- data/docs/BuForecastResult.md +16 -0
- data/docs/BuForecastResultResponse.md +14 -0
- data/docs/{ForecastTimeSeriesResult.md → BuForecastTimeSeriesResult.md} +2 -2
- data/docs/BuGenerateScheduleRequest.md +15 -0
- data/docs/BuGetCurrentAgentScheduleRequest.md +14 -0
- data/docs/BuHeadcountForecast.md +14 -0
- data/docs/BuHeadcountForecastResponse.md +14 -0
- data/docs/BuIntradayDataGroup.md +19 -0
- data/docs/BuIntradayForecastData.md +14 -0
- data/docs/{IntradayResponse.md → BuIntradayResponse.md} +6 -6
- data/docs/BuIntradayScheduleData.md +13 -0
- data/docs/BuManagementUnitScheduleSummary.md +17 -0
- data/docs/BuPlanningGroupHeadcountForecast.md +15 -0
- data/docs/BuQueryAgentSchedulesRequest.md +14 -0
- data/docs/BuRescheduleAgentScheduleResult.md +15 -0
- data/docs/BuRescheduleRequest.md +21 -0
- data/docs/BuRescheduleResult.md +17 -0
- data/docs/BuScheduleListItem.md +21 -0
- data/docs/BuScheduleListing.md +13 -0
- data/docs/BuScheduleMetadata.md +22 -0
- data/docs/BuScheduleReferenceForMuRoute.md +16 -0
- data/docs/BuScheduleRun.md +29 -0
- data/docs/BuScheduleRunListing.md +13 -0
- data/docs/{WfmServiceLevel.md → BuServiceLevel.md} +2 -2
- data/docs/BuShortTermForecast.md +27 -0
- data/docs/BuShortTermForecastListItem.md +20 -0
- data/docs/BuShortTermForecastListing.md +13 -0
- data/docs/{ShortTermForecastListItemResponse.md → BuShortTermForecastReference.md} +4 -6
- data/docs/BuShortTermForecastingSettings.md +13 -0
- data/docs/BulkShiftTradeStateUpdateRequest.md +13 -0
- data/docs/BulkUpdateShiftTradeStateRequestItem.md +15 -0
- data/docs/BulkUpdateShiftTradeStateResponse.md +15 -0
- data/docs/BulkUpdateShiftTradeStateResult.md +13 -0
- data/docs/BulkUpdateShiftTradeStateResultItem.md +18 -0
- data/docs/BusinessUnit.md +17 -0
- data/docs/BusinessUnitActivityCode.md +23 -0
- data/docs/BusinessUnitActivityCodeListing.md +13 -0
- data/docs/BusinessUnitListItem.md +17 -0
- data/docs/BusinessUnitListing.md +13 -0
- data/docs/BusinessUnitSettings.md +16 -0
- data/docs/CalibrationEntityListing.md +2 -2
- data/docs/Call.md +1 -0
- data/docs/CallBasic.md +1 -0
- data/docs/CallConversationEntityListing.md +2 -2
- data/docs/CallHistoryConversationEntityListing.md +2 -2
- data/docs/CallableTimeSetEntityListing.md +2 -2
- data/docs/Callback.md +2 -0
- data/docs/CallbackBasic.md +2 -0
- data/docs/CallbackConversationEntityListing.md +2 -2
- data/docs/CallbackMediaParticipant.md +2 -1
- data/docs/CampaignDivisionViewListing.md +2 -2
- data/docs/CampaignEntityListing.md +2 -2
- data/docs/CampaignRuleEntityListing.md +2 -2
- data/docs/CampaignSequenceEntityListing.md +2 -2
- data/docs/CategoryListing.md +16 -0
- data/docs/CertificateAuthorityEntityListing.md +2 -2
- data/docs/ChatConversationEntityListing.md +2 -2
- data/docs/ClientAppEntityListing.md +2 -2
- data/docs/CoachingAnnotation.md +21 -0
- data/docs/CoachingAnnotationCreateRequest.md +14 -0
- data/docs/CoachingAnnotationList.md +22 -0
- data/docs/CoachingApi.md +1132 -0
- data/docs/CoachingAppointmentReference.md +14 -0
- data/docs/CoachingAppointmentResponse.md +27 -0
- data/docs/CoachingAppointmentResponseList.md +22 -0
- data/docs/CoachingAppointmentStatusDto.md +16 -0
- data/docs/CoachingAppointmentStatusDtoList.md +17 -0
- data/docs/CoachingNotification.md +23 -0
- data/docs/CoachingNotificationList.md +22 -0
- data/docs/CobrowseConversationEntityListing.md +2 -2
- data/docs/Cobrowsesession.md +1 -0
- data/docs/CommandStatusEntityListing.md +2 -2
- data/docs/ConsumedResourcesEntityListing.md +2 -2
- data/docs/ConsumingResourcesEntityListing.md +2 -2
- data/docs/ContactListDivisionViewListing.md +2 -2
- data/docs/ContactListEntityListing.md +2 -2
- data/docs/ContactListFilterEntityListing.md +2 -2
- data/docs/ContactListing.md +2 -2
- data/docs/{PartialUploadResponse.md → ContextEntity.md} +3 -3
- data/docs/ContextIntent.md +13 -0
- data/docs/ConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
- data/docs/ConversationChat.md +1 -0
- data/docs/ConversationEntityListing.md +2 -2
- data/docs/ConversationEventTopicCall.md +1 -0
- data/docs/ConversationEventTopicCallback.md +2 -0
- data/docs/ConversationEventTopicChat.md +1 -0
- data/docs/ConversationEventTopicCobrowse.md +1 -0
- data/docs/ConversationEventTopicEmail.md +1 -0
- data/docs/ConversationEventTopicMessage.md +1 -0
- data/docs/ConversationEventTopicScreenshare.md +1 -0
- data/docs/ConversationEventTopicSocialExpression.md +1 -0
- data/docs/ConversationEventTopicVideo.md +1 -0
- data/docs/ConversationReference.md +14 -0
- data/docs/ConversationsApi.md +1 -1
- data/docs/CopyBuForecastRequest.md +14 -0
- data/docs/Coretype.md +23 -0
- data/docs/CoretypeListing.md +15 -0
- data/docs/CreateBusinessUnitRequest.md +15 -0
- data/docs/CreateBusinessUnitSettings.md +15 -0
- data/docs/CreateCoachingAppointmentRequest.md +20 -0
- data/docs/CreatePlanningGroupRequest.md +15 -0
- data/docs/CreateServiceGoalTemplate.md +16 -0
- data/docs/CredentialInfoListing.md +2 -2
- data/docs/CredentialTypeListing.md +2 -2
- data/docs/Cursors.md +14 -0
- data/docs/DIDEntityListing.md +2 -2
- data/docs/DIDPoolEntityListing.md +2 -2
- data/docs/DataExtensionsApi.md +198 -0
- data/docs/DataSchemaListing.md +15 -0
- data/docs/DataTableRowEntityListing.md +2 -2
- data/docs/DataTablesDomainEntityListing.md +2 -2
- data/docs/DependencyObjectEntityListing.md +2 -2
- data/docs/DependencyTypeEntityListing.md +2 -2
- data/docs/DetectedDialogAct.md +14 -0
- data/docs/DetectedIntent.md +15 -0
- data/docs/DetectedNamedEntity.md +16 -0
- data/docs/DetectedNamedEntityValue.md +14 -0
- data/docs/DialerEventEntityListing.md +2 -2
- data/docs/DialogflowAgent.md +3 -2
- data/docs/DialogflowAgentSummaryEntityListing.md +2 -2
- data/docs/DirectoryUserDevicesListing.md +2 -2
- data/docs/DivsPermittedEntityListing.md +2 -2
- data/docs/DncListDivisionViewListing.md +2 -2
- data/docs/DncListEntityListing.md +2 -2
- data/docs/DocumentAuditEntityListing.md +2 -2
- data/docs/DocumentCategoryInput.md +13 -0
- data/docs/DocumentEntityListing.md +2 -2
- data/docs/DocumentFaq.md +15 -0
- data/docs/DocumentListing.md +16 -0
- data/docs/DocumentReference.md +14 -0
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +2 -2
- data/docs/DomainEntityListing.md +2 -2
- data/docs/DomainEntityListingEvaluationForm.md +2 -2
- data/docs/DomainEntityListingQueryResult.md +2 -2
- data/docs/DomainEntityListingSurveyForm.md +2 -2
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/Edge.md +1 -1
- data/docs/EdgeEntityListing.md +2 -2
- data/docs/EdgeGroupEntityListing.md +2 -2
- data/docs/EdgeLineEntityListing.md +2 -2
- data/docs/Email.md +1 -0
- data/docs/EmailConversationEntityListing.md +2 -2
- data/docs/EmailMessageListing.md +2 -2
- data/docs/EmergencyGroupListing.md +2 -2
- data/docs/EncryptionKeyEntityListing.md +2 -2
- data/docs/EvaluationEntityListing.md +2 -2
- data/docs/EvaluationFormEntityListing.md +2 -2
- data/docs/EvaluatorActivityEntityListing.md +2 -2
- data/docs/ExtensionEntityListing.md +2 -2
- data/docs/ExtensionPoolEntityListing.md +2 -2
- data/docs/ExternalContactsApi.md +1003 -146
- data/docs/ExternalOrganizationListing.md +2 -2
- data/docs/ExternalOrganizationTrustorLink.md +17 -0
- data/docs/FacebookIntegrationEntityListing.md +2 -2
- data/docs/FaxDocumentEntityListing.md +2 -2
- data/docs/FlowDivisionView.md +2 -0
- data/docs/FlowDivisionViewEntityListing.md +2 -2
- data/docs/FlowEntityListing.md +2 -2
- data/docs/FlowOutcomeListing.md +2 -2
- data/docs/FlowVersionEntityListing.md +2 -2
- data/docs/ForecastAbandonRateResponse.md +13 -0
- data/docs/ForecastAverageSpeedOfAnswerResponse.md +13 -0
- data/docs/ForecastPlanningGroupData.md +15 -0
- data/docs/ForecastPlanningGroupResponse.md +16 -0
- data/docs/ForecastPlanningGroupsResponse.md +13 -0
- data/docs/ForecastServiceGoalTemplateResponse.md +15 -0
- data/docs/ForecastServiceLevelResponse.md +14 -0
- data/docs/GDPRRequestEntityListing.md +2 -2
- data/docs/GDPRSubjectEntityListing.md +2 -2
- data/docs/GenerateBuForecastRequest.md +14 -0
- data/docs/GreetingListing.md +2 -2
- data/docs/GroupEntityListing.md +2 -2
- data/docs/GroupProfileEntityListing.md +2 -2
- data/docs/IVREntityListing.md +2 -2
- data/docs/InboundDomainEntityListing.md +2 -2
- data/docs/InboundDomainPatchRequest.md +14 -0
- data/docs/InboundRouteEntityListing.md +2 -2
- data/docs/IntegrationEntityListing.md +2 -2
- data/docs/IntegrationEventEntityListing.md +2 -2
- data/docs/IntegrationTypeEntityListing.md +2 -2
- data/docs/IntentDefinition.md +15 -0
- data/docs/IntentFeedback.md +16 -0
- data/docs/InteractionStatsAlertContainer.md +2 -2
- data/docs/InteractionStatsRuleContainer.md +2 -2
- data/docs/IntradayPerformancePredictionData.md +15 -0
- data/docs/IntradayPlanningGroupRequest.md +16 -0
- data/docs/ItemValidationLimits.md +14 -0
- data/docs/Items.md +14 -0
- data/docs/JsonNode.md +2 -2
- data/docs/KeywordSetEntityListing.md +2 -2
- data/docs/KnowledgeApi.md +1528 -0
- data/docs/KnowledgeBase.md +19 -0
- data/docs/KnowledgeBaseListing.md +16 -0
- data/docs/KnowledgeCategory.md +20 -0
- data/docs/KnowledgeCategoryRequest.md +17 -0
- data/docs/KnowledgeDocument.md +23 -0
- data/docs/KnowledgeDocumentBulkRequest.md +17 -0
- data/docs/KnowledgeDocumentRequest.md +16 -0
- data/docs/KnowledgeExtendedCategory.md +22 -0
- data/docs/KnowledgeSearchDocument.md +24 -0
- data/docs/KnowledgeSearchRequest.md +18 -0
- data/docs/KnowledgeSearchResponse.md +18 -0
- data/docs/KnowledgeTraining.md +23 -0
- data/docs/LanguageEntityListing.md +2 -2
- data/docs/LanguageUnderstandingApi.md +1160 -0
- data/docs/LexBotAliasEntityListing.md +2 -2
- data/docs/LexBotEntityListing.md +2 -2
- data/docs/LibraryEntityListing.md +2 -2
- data/docs/LineBaseEntityListing.md +2 -2
- data/docs/LineEntityListing.md +2 -2
- data/docs/LineIntegrationEntityListing.md +2 -2
- data/docs/ListWrapperInterval.md +13 -0
- data/docs/LocationEntityListing.md +2 -2
- data/docs/LogicalInterfaceEntityListing.md +2 -2
- data/docs/ManagementUnitListing.md +2 -2
- data/docs/MatchShiftTradeRequest.md +15 -0
- data/docs/MatchShiftTradeResponse.md +15 -0
- data/docs/MaxLength.md +14 -0
- data/docs/Message.md +1 -0
- data/docs/MessageConversationEntityListing.md +2 -2
- data/docs/MessagingIntegrationEntityListing.md +2 -2
- data/docs/MessagingStickerEntityListing.md +2 -2
- data/docs/MessagingTemplateRequest.md +14 -0
- data/docs/MinLength.md +14 -0
- data/docs/MuRescheduleResultWrapper.md +13 -0
- data/docs/NamedEntityAnnotation.md +13 -0
- data/docs/NamedEntityTypeBinding.md +14 -0
- data/docs/NamedEntityTypeDefinition.md +15 -0
- data/docs/NamedEntityTypeItem.md +14 -0
- data/docs/NamedEntityTypeMechanism.md +15 -0
- data/docs/NluConfusionMatrixColumn.md +14 -0
- data/docs/NluConfusionMatrixRow.md +14 -0
- data/docs/NluDetectionContext.md +14 -0
- data/docs/NluDetectionInput.md +13 -0
- data/docs/NluDetectionOutput.md +14 -0
- data/docs/NluDetectionRequest.md +14 -0
- data/docs/NluDetectionResponse.md +15 -0
- data/docs/NluDomain.md +19 -0
- data/docs/NluDomainListing.md +22 -0
- data/docs/NluDomainVersion.md +24 -0
- data/docs/NluDomainVersionListing.md +22 -0
- data/docs/NluDomainVersionQualityReport.md +15 -0
- data/docs/NluDomainVersionTrainingResponse.md +14 -0
- data/docs/NluFeedbackListing.md +22 -0
- data/docs/NluFeedbackRequest.md +15 -0
- data/docs/NluFeedbackResponse.md +18 -0
- data/docs/NluQualityReportSummary.md +13 -0
- data/docs/NluQualityReportSummaryMetric.md +14 -0
- data/docs/NluUtterance.md +13 -0
- data/docs/NluUtteranceSegment.md +14 -0
- data/docs/NoteListing.md +2 -2
- data/docs/OAuthClientEntityListing.md +2 -2
- data/docs/OAuthProviderEntityListing.md +2 -2
- data/docs/OrganizationPresenceEntityListing.md +2 -2
- data/docs/OrganizationRoleEntityListing.md +2 -2
- data/docs/OrphanRecordingListing.md +2 -2
- data/docs/OutboundRouteBaseEntityListing.md +2 -2
- data/docs/OutboundRouteEntityListing.md +2 -2
- data/docs/PatchBuReschedulingOptionsManagementUnitRequest.md +14 -0
- data/docs/PatchBuReschedulingOptionsRequest.md +13 -0
- data/docs/PatchBuScheduleRunRequest.md +13 -0
- data/docs/PatchShiftTradeRequest.md +16 -0
- data/docs/PermissionCollectionEntityListing.md +2 -2
- data/docs/PhoneBaseEntityListing.md +2 -2
- data/docs/PhoneEntityListing.md +2 -2
- data/docs/PhoneMetaBaseEntityListing.md +2 -2
- data/docs/PhysicalInterfaceEntityListing.md +2 -2
- data/docs/PlanningGroup.md +18 -0
- data/docs/PlanningGroupList.md +13 -0
- data/docs/PlanningGroupReference.md +14 -0
- data/docs/PolicyEntityListing.md +2 -2
- data/docs/PromptAssetEntityListing.md +2 -2
- data/docs/PromptEntityListing.md +2 -2
- data/docs/QualityAuditPage.md +2 -2
- data/docs/QueueConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
- data/docs/QueueConversationEventTopicCall.md +1 -0
- data/docs/QueueConversationEventTopicCallback.md +2 -0
- data/docs/QueueConversationEventTopicChat.md +1 -0
- data/docs/QueueConversationEventTopicCobrowse.md +1 -0
- data/docs/QueueConversationEventTopicEmail.md +1 -0
- data/docs/QueueConversationEventTopicMessage.md +1 -0
- data/docs/QueueConversationEventTopicScreenshare.md +1 -0
- data/docs/QueueConversationEventTopicSocialExpression.md +1 -0
- data/docs/QueueConversationEventTopicVideo.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicCall.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicCallback.md +2 -0
- data/docs/QueueConversationSocialExpressionEventTopicChat.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicCobrowse.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicEmail.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicMessage.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicScreenshare.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicSocialExpression.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicVideo.md +1 -0
- data/docs/QueueConversationVideoEventTopicCall.md +1 -0
- data/docs/QueueConversationVideoEventTopicCallback.md +2 -0
- data/docs/QueueConversationVideoEventTopicChat.md +1 -0
- data/docs/QueueConversationVideoEventTopicCobrowse.md +1 -0
- data/docs/QueueConversationVideoEventTopicEmail.md +1 -0
- data/docs/QueueConversationVideoEventTopicMessage.md +1 -0
- data/docs/QueueConversationVideoEventTopicScreenshare.md +1 -0
- data/docs/QueueConversationVideoEventTopicSocialExpression.md +1 -0
- data/docs/QueueConversationVideoEventTopicVideo.md +1 -0
- data/docs/QueueEntityListing.md +2 -2
- data/docs/QueueMemberEntityListing.md +2 -2
- data/docs/RecipientListing.md +2 -2
- data/docs/RecordingApi.md +12 -6
- data/docs/RecordingJobEntityListing.md +2 -2
- data/docs/RelationshipListing.md +2 -2
- data/docs/ReportMetaDataEntityListing.md +2 -2
- data/docs/ReportRunEntryEntityDomainListing.md +2 -2
- data/docs/ReportScheduleEntityListing.md +2 -2
- data/docs/ReportingExportJobListing.md +2 -2
- data/docs/ReportingExportJobRequest.md +1 -0
- data/docs/ReportingExportJobResponse.md +2 -0
- data/docs/ReportingExportMetadataJobListing.md +2 -2
- data/docs/ReschedulingManagementUnitResponse.md +14 -0
- data/docs/ReschedulingOptionsRunResponse.md +22 -0
- data/docs/ResponseEntityList.md +2 -2
- data/docs/ResponseEntityListing.md +2 -2
- data/docs/ResponseSetEntityListing.md +2 -2
- data/docs/RoutePathRequest.md +17 -0
- data/docs/RoutePathResponse.md +16 -0
- data/docs/RoutingApi.md +204 -0
- data/docs/RuleSetEntityListing.md +2 -2
- data/docs/SCIMApi.md +12 -12
- data/docs/ScheduleEntityListing.md +2 -2
- data/docs/ScheduleGenerationMessage.md +14 -0
- data/docs/ScheduleGenerationResult.md +16 -0
- data/docs/ScheduleGenerationResultSummary.md +15 -0
- data/docs/ScheduleGroupEntityListing.md +2 -2
- data/docs/SchedulerMessageArgument.md +14 -0
- data/docs/SchedulingTestingOptionsRequest.md +16 -0
- data/docs/Schema.md +17 -0
- data/docs/SchemaCategoryEntityListing.md +2 -2
- data/docs/SchemaQuantityLimits.md +26 -0
- data/docs/SchemaReferenceEntityListing.md +2 -2
- data/docs/ScimV2EnterpriseUser.md +1 -0
- data/docs/ScreenRecordingSessionListing.md +2 -2
- data/docs/Screenshare.md +1 -0
- data/docs/ScriptEntityListing.md +2 -2
- data/docs/SearchApi.md +70 -0
- data/docs/SearchShiftTradeResponse.md +15 -0
- data/docs/SearchShiftTradesRequest.md +14 -0
- data/docs/SearchShiftTradesResponse.md +13 -0
- data/docs/SecurityProfileEntityListing.md +2 -2
- data/docs/ServiceGoalTemplate.md +19 -0
- data/docs/ServiceGoalTemplateList.md +13 -0
- data/docs/ServiceGoalTemplateReference.md +14 -0
- data/docs/SetWrapperRoutePathRequest.md +13 -0
- data/docs/ShareEntityListing.md +2 -2
- data/docs/ShiftTradeActivityPreviewResponse.md +16 -0
- data/docs/ShiftTradeMatchReviewResponse.md +16 -0
- data/docs/ShiftTradeMatchReviewUserResponse.md +17 -0
- data/docs/ShiftTradeMatchViolation.md +14 -0
- data/docs/ShiftTradePreviewResponse.md +13 -0
- data/docs/ShiftTradeResponse.md +1 -1
- data/docs/SiteEntityListing.md +2 -2
- data/docs/SkillEntityListing.md +2 -2
- data/docs/SmsAddressEntityListing.md +2 -2
- data/docs/SmsPhoneNumberEntityListing.md +2 -2
- data/docs/SocialExpression.md +1 -0
- data/docs/SourcePlanningGroupRequest.md +14 -0
- data/docs/StationEntityListing.md +2 -2
- data/docs/SubjectDivisionGrantsEntityListing.md +2 -2
- data/docs/SurveyFormEntityListing.md +2 -2
- data/docs/SystemPromptAssetEntityListing.md +2 -2
- data/docs/SystemPromptEntityListing.md +2 -2
- data/docs/TagValueEntityListing.md +2 -2
- data/docs/TemplateParameter.md +14 -0
- data/docs/TestMessage.md +19 -0
- data/docs/TextMessageListing.md +2 -2
- data/docs/{TimeOffRequestLookup.md → TimeOffRequest.md} +2 -2
- data/docs/TimeOffRequestListing.md +13 -0
- data/docs/TimeZoneEntityListing.md +2 -2
- data/docs/TrainingListing.md +16 -0
- data/docs/TranscriptionSettings.md +1 -0
- data/docs/TrunkBaseEntityListing.md +2 -2
- data/docs/TrunkEntityListing.md +2 -2
- data/docs/TrunkMetabaseEntityListing.md +2 -2
- data/docs/TrustEntityListing.md +2 -2
- data/docs/TrustUserEntityListing.md +2 -2
- data/docs/TrustorEntityListing.md +2 -2
- data/docs/TtsEngineEntityListing.md +2 -2
- data/docs/TtsVoiceEntityListing.md +2 -2
- data/docs/TwitterIntegrationEntityListing.md +2 -2
- data/docs/UpdateBusinessUnitRequest.md +15 -0
- data/docs/UpdateBusinessUnitSettings.md +16 -0
- data/docs/UpdateCoachingAppointmentRequest.md +18 -0
- data/docs/UpdatePlanningGroupRequest.md +16 -0
- data/docs/UpdateServiceGoalTemplate.md +17 -0
- data/docs/UploadUrlRequest.md +15 -0
- data/docs/UploadUrlResponse.md +14 -0
- data/docs/UploadsApi.md +78 -0
- data/docs/UserActionCategoryEntityListing.md +2 -2
- data/docs/UserAppEntityListing.md +2 -2
- data/docs/UserEntityListing.md +2 -2
- data/docs/UserLanguageEntityListing.md +2 -2
- data/docs/UserProfileEntityListing.md +2 -2
- data/docs/UserQueueEntityListing.md +2 -2
- data/docs/UserRecordingEntityListing.md +2 -2
- data/docs/UserScheduleAdherenceListing.md +14 -0
- data/docs/UserSkillEntityListing.md +2 -2
- data/docs/UsersApi.md +0 -72
- data/docs/ValidationLimits.md +18 -0
- data/docs/ValueWrapperDate.md +13 -0
- data/docs/ValueWrapperString.md +13 -0
- data/docs/Video.md +1 -0
- data/docs/VoicemailMessageEntityListing.md +2 -2
- data/docs/WebChatMemberInfoEntityList.md +2 -2
- data/docs/WeekShiftTradeListResponse.md +13 -0
- data/docs/WeekShiftTradeResponse.md +14 -0
- data/docs/WemLearningAssignmentRuleRunTopicLearningAssignmentRuleRunNotification.md +14 -0
- data/docs/WemLearningAssignmentRuleRunTopicLearningModuleReference.md +14 -0
- data/docs/WemLearningAssignmentRuleRunTopicWemLearningAssignmentsCreated.md +13 -0
- data/docs/WemLearningAssignmentTopicLearningAssignmentNotification.md +22 -0
- data/docs/WemLearningAssignmentTopicLearningModuleReference.md +14 -0
- data/docs/WemLearningAssignmentTopicUserReference.md +13 -0
- data/docs/WfmIntradayPlanningGroupListing.md +14 -0
- data/docs/WhatsAppIntegrationEntityListing.md +2 -2
- data/docs/WorkforceManagementApi.md +5232 -1205
- data/docs/WorkspaceEntityListing.md +2 -2
- data/docs/WorkspaceMemberEntityListing.md +2 -2
- data/docs/WrapupCodeEntityListing.md +2 -2
- data/lib/purecloudplatformclientv2.rb +211 -59
- data/lib/purecloudplatformclientv2/api/architect_api.rb +18 -0
- data/lib/purecloudplatformclientv2/api/authorization_api.rb +0 -85
- data/lib/purecloudplatformclientv2/api/coaching_api.rb +1296 -0
- data/lib/purecloudplatformclientv2/api/data_extensions_api.rb +207 -0
- data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +871 -7
- data/lib/purecloudplatformclientv2/api/knowledge_api.rb +1908 -0
- data/lib/purecloudplatformclientv2/api/language_understanding_api.rb +1304 -0
- data/lib/purecloudplatformclientv2/api/recording_api.rb +22 -4
- data/lib/purecloudplatformclientv2/api/routing_api.rb +212 -0
- data/lib/purecloudplatformclientv2/api/scim_api.rb +8 -8
- data/lib/purecloudplatformclientv2/api/search_api.rb +73 -0
- data/lib/purecloudplatformclientv2/api/uploads_api.rb +92 -0
- data/lib/purecloudplatformclientv2/api/users_api.rb +0 -85
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +5932 -1542
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/add_shift_trade_request.rb +317 -0
- data/lib/purecloudplatformclientv2/models/additional_message.rb +30 -4
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/analytics_conversation_async_query_response.rb +27 -1
- data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
- data/lib/purecloudplatformclientv2/models/analytics_user_details_async_query_response.rb +30 -4
- data/lib/purecloudplatformclientv2/models/array_node.rb +23 -23
- data/lib/purecloudplatformclientv2/models/{generate_short_term_forecast_response.rb → async_forecast_operation_result.rb} +17 -17
- data/lib/purecloudplatformclientv2/models/{short_term_forecast_response.rb → async_intraday_response.rb} +17 -17
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/{wfm_abandon_rate.rb → bu_abandon_rate.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/bu_agent_schedule_query_response.rb +310 -0
- data/lib/purecloudplatformclientv2/models/{wfm_forecast_modification_attributes.rb → bu_agent_schedule_reschedule_response.rb} +32 -36
- data/lib/purecloudplatformclientv2/models/bu_agent_schedule_update.rb +244 -0
- data/lib/purecloudplatformclientv2/models/bu_agent_schedules_query_response.rb +204 -0
- data/lib/purecloudplatformclientv2/models/{async_week_schedule_response.rb → bu_async_agent_schedules_query_response.rb} +69 -44
- data/lib/purecloudplatformclientv2/models/{generate_week_schedule_response.rb → bu_async_schedule_response.rb} +30 -31
- data/lib/purecloudplatformclientv2/models/bu_async_schedule_run_response.rb +268 -0
- data/lib/purecloudplatformclientv2/models/{wfm_average_speed_of_answer.rb → bu_average_speed_of_answer.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/{copy_week_schedule_request.rb → bu_copy_schedule_request.rb} +4 -4
- data/lib/purecloudplatformclientv2/models/bu_create_blank_schedule_request.rb +264 -0
- data/lib/purecloudplatformclientv2/models/bu_current_agent_schedule_search_response.rb +338 -0
- data/lib/purecloudplatformclientv2/models/{forecast_generation_route_group_result.rb → bu_forecast_generation_planning_group_result.rb} +11 -11
- data/lib/purecloudplatformclientv2/models/bu_forecast_generation_result.rb +204 -0
- data/lib/purecloudplatformclientv2/models/{wfm_forecast_modification.rb → bu_forecast_modification.rb} +107 -14
- data/lib/purecloudplatformclientv2/models/bu_forecast_result.rb +282 -0
- data/lib/purecloudplatformclientv2/models/bu_forecast_result_response.rb +228 -0
- data/lib/purecloudplatformclientv2/models/{forecast_time_series_result.rb → bu_forecast_time_series_result.rb} +3 -3
- data/lib/purecloudplatformclientv2/models/bu_generate_schedule_request.rb +269 -0
- data/lib/purecloudplatformclientv2/models/{route_group_list.rb → bu_get_current_agent_schedule_request.rb} +16 -13
- data/lib/purecloudplatformclientv2/models/bu_headcount_forecast.rb +229 -0
- data/lib/purecloudplatformclientv2/models/{forecast_result_response.rb → bu_headcount_forecast_response.rb} +4 -4
- data/lib/purecloudplatformclientv2/models/{intraday_data_group.rb → bu_intraday_data_group.rb} +45 -51
- data/lib/purecloudplatformclientv2/models/bu_intraday_forecast_data.rb +228 -0
- data/lib/purecloudplatformclientv2/models/{intraday_response.rb → bu_intraday_response.rb} +46 -48
- data/lib/purecloudplatformclientv2/models/bu_intraday_schedule_data.rb +202 -0
- data/lib/purecloudplatformclientv2/models/{intraday_query_data_command.rb → bu_management_unit_schedule_summary.rb} +37 -54
- data/lib/purecloudplatformclientv2/models/bu_planning_group_headcount_forecast.rb +258 -0
- data/lib/purecloudplatformclientv2/models/bu_query_agent_schedules_request.rb +235 -0
- data/lib/purecloudplatformclientv2/models/bu_reschedule_agent_schedule_result.rb +254 -0
- data/lib/purecloudplatformclientv2/models/{reschedule_request.rb → bu_reschedule_request.rb} +43 -10
- data/lib/purecloudplatformclientv2/models/bu_reschedule_result.rb +308 -0
- data/lib/purecloudplatformclientv2/models/bu_schedule_list_item.rb +410 -0
- data/lib/purecloudplatformclientv2/models/{scheduling_run_list_response.rb → bu_schedule_listing.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/{short_term_forecast.rb → bu_schedule_metadata.rb} +60 -83
- data/lib/purecloudplatformclientv2/models/bu_schedule_reference_for_mu_route.rb +280 -0
- data/lib/purecloudplatformclientv2/models/{scheduling_run_response.rb → bu_schedule_run.rb} +77 -54
- data/lib/purecloudplatformclientv2/models/{time_off_request_entity_list.rb → bu_schedule_run_listing.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/{wfm_service_level.rb → bu_service_level.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/bu_short_term_forecast.rb +584 -0
- data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_item_response.rb → bu_short_term_forecast_list_item.rb} +84 -43
- data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_response.rb → bu_short_term_forecast_listing.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/bu_short_term_forecast_reference.rb +286 -0
- data/lib/purecloudplatformclientv2/models/{forecast_generation_result.rb → bu_short_term_forecasting_settings.rb} +9 -11
- data/lib/purecloudplatformclientv2/models/bulk_shift_trade_state_update_request.rb +209 -0
- data/lib/purecloudplatformclientv2/models/bulk_update_shift_trade_state_request_item.rb +278 -0
- data/lib/purecloudplatformclientv2/models/bulk_update_shift_trade_state_response.rb +268 -0
- data/lib/purecloudplatformclientv2/models/bulk_update_shift_trade_state_result.rb +203 -0
- data/lib/purecloudplatformclientv2/models/{route_group.rb → bulk_update_shift_trade_state_result_item.rb} +70 -73
- data/lib/purecloudplatformclientv2/models/business_unit.rb +305 -0
- data/lib/purecloudplatformclientv2/models/{update_week_schedule_request.rb → business_unit_activity_code.rb} +126 -88
- data/lib/purecloudplatformclientv2/models/business_unit_activity_code_listing.rb +204 -0
- data/lib/purecloudplatformclientv2/models/business_unit_list_item.rb +305 -0
- data/lib/purecloudplatformclientv2/models/business_unit_listing.rb +203 -0
- data/lib/purecloudplatformclientv2/models/business_unit_settings.rb +309 -0
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/call.rb +30 -4
- data/lib/purecloudplatformclientv2/models/call_basic.rb +30 -4
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/callback.rb +56 -4
- data/lib/purecloudplatformclientv2/models/callback_basic.rb +56 -4
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/callback_media_participant.rb +28 -2
- data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/category_listing.rb +278 -0
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/coaching_annotation.rb +429 -0
- data/lib/purecloudplatformclientv2/models/coaching_annotation_create_request.rb +252 -0
- data/lib/purecloudplatformclientv2/models/coaching_annotation_list.rb +428 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_reference.rb +228 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_response.rb +587 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_response_list.rb +428 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_status_dto.rb +299 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_status_dto_list.rb +303 -0
- data/lib/purecloudplatformclientv2/models/coaching_notification.rb +504 -0
- data/lib/purecloudplatformclientv2/models/coaching_notification_list.rb +428 -0
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/cobrowsesession.rb +30 -4
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/context_entity.rb +207 -0
- data/lib/purecloudplatformclientv2/models/context_intent.rb +207 -0
- data/lib/purecloudplatformclientv2/models/conversation_callback_event_topic_callback_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_chat.rb +32 -6
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_callback.rb +51 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_cobrowse.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_message.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_screenshare.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_social_expression.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_video.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_reference.rb +228 -0
- data/lib/purecloudplatformclientv2/models/{copy_short_term_forecast_request.rb → copy_bu_forecast_request.rb} +18 -19
- data/lib/purecloudplatformclientv2/models/coretype.rb +465 -0
- data/lib/purecloudplatformclientv2/models/coretype_listing.rb +253 -0
- data/lib/purecloudplatformclientv2/models/{create_service_goal_group_request.rb → create_business_unit_request.rb} +27 -20
- data/lib/purecloudplatformclientv2/models/create_business_unit_settings.rb +278 -0
- data/lib/purecloudplatformclientv2/models/{intraday_historical_queue_data.rb → create_coaching_appointment_request.rb} +100 -58
- data/lib/purecloudplatformclientv2/models/create_planning_group_request.rb +271 -0
- data/lib/purecloudplatformclientv2/models/create_service_goal_template.rb +285 -0
- data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/cursors.rb +226 -0
- data/lib/purecloudplatformclientv2/models/data_schema_listing.rb +253 -0
- data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/detected_dialog_act.rb +228 -0
- data/lib/purecloudplatformclientv2/models/{transcript_property.rb → detected_intent.rb} +25 -23
- data/lib/purecloudplatformclientv2/models/detected_named_entity.rb +280 -0
- data/lib/purecloudplatformclientv2/models/detected_named_entity_value.rb +228 -0
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/dialogflow_agent.rb +31 -3
- data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/divs_permitted_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/document_category_input.rb +207 -0
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/document_faq.rb +266 -0
- data/lib/purecloudplatformclientv2/models/document_listing.rb +278 -0
- data/lib/purecloudplatformclientv2/models/document_reference.rb +228 -0
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +23 -23
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +23 -23
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +23 -23
- data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge.rb +1 -0
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/email.rb +30 -4
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/external_organization_trustor_link.rb +306 -0
- data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/flow_division_view.rb +53 -1
- data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/forecast_abandon_rate_response.rb +202 -0
- data/lib/purecloudplatformclientv2/models/forecast_average_speed_of_answer_response.rb +202 -0
- data/lib/purecloudplatformclientv2/models/forecast_planning_group_data.rb +258 -0
- data/lib/purecloudplatformclientv2/models/{queue_media_association.rb → forecast_planning_group_response.rb} +25 -26
- data/lib/purecloudplatformclientv2/models/forecast_planning_groups_response.rb +203 -0
- data/lib/purecloudplatformclientv2/models/{service_goal_group_goals.rb → forecast_service_goal_template_response.rb} +7 -18
- data/lib/purecloudplatformclientv2/models/forecast_service_level_response.rb +228 -0
- data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/{generate_week_schedule_request.rb → generate_bu_forecast_request.rb} +10 -16
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/inbound_domain_patch_request.rb +228 -0
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/intent_definition.rb +273 -0
- data/lib/purecloudplatformclientv2/models/intent_feedback.rb +296 -0
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +23 -23
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +23 -23
- data/lib/purecloudplatformclientv2/models/{intraday_performance_prediction_queue_data.rb → intraday_performance_prediction_data.rb} +10 -10
- data/lib/purecloudplatformclientv2/models/intraday_planning_group_request.rb +294 -0
- data/lib/purecloudplatformclientv2/models/item_validation_limits.rb +238 -0
- data/lib/purecloudplatformclientv2/models/items.rb +226 -0
- data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/json_node.rb +23 -23
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/knowledge_base.rb +376 -0
- data/lib/purecloudplatformclientv2/models/knowledge_base_listing.rb +278 -0
- data/lib/purecloudplatformclientv2/models/knowledge_category.rb +403 -0
- data/lib/purecloudplatformclientv2/models/knowledge_category_request.rb +311 -0
- data/lib/purecloudplatformclientv2/models/knowledge_document.rb +501 -0
- data/lib/purecloudplatformclientv2/models/knowledge_document_bulk_request.rb +327 -0
- data/lib/purecloudplatformclientv2/models/knowledge_document_request.rb +301 -0
- data/lib/purecloudplatformclientv2/models/knowledge_extended_category.rb +457 -0
- data/lib/purecloudplatformclientv2/models/knowledge_search_document.rb +527 -0
- data/lib/purecloudplatformclientv2/models/knowledge_search_request.rb +371 -0
- data/lib/purecloudplatformclientv2/models/knowledge_search_response.rb +334 -0
- data/lib/purecloudplatformclientv2/models/knowledge_training.rb +489 -0
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/{list_wrapper_wfm_forecast_modification.rb → list_wrapper_interval.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/match_shift_trade_request.rb +264 -0
- data/lib/purecloudplatformclientv2/models/match_shift_trade_response.rb +258 -0
- data/lib/purecloudplatformclientv2/models/max_length.rb +238 -0
- data/lib/purecloudplatformclientv2/models/message.rb +30 -4
- data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/messaging_template_request.rb +230 -0
- data/lib/purecloudplatformclientv2/models/metabase.rb +2 -2
- data/lib/purecloudplatformclientv2/models/min_length.rb +238 -0
- data/lib/purecloudplatformclientv2/models/mu_reschedule_result_wrapper.rb +204 -0
- data/lib/purecloudplatformclientv2/models/named_entity_annotation.rb +207 -0
- data/lib/purecloudplatformclientv2/models/named_entity_type_binding.rb +238 -0
- data/lib/purecloudplatformclientv2/models/named_entity_type_definition.rb +264 -0
- data/lib/purecloudplatformclientv2/models/named_entity_type_item.rb +235 -0
- data/lib/purecloudplatformclientv2/models/named_entity_type_mechanism.rb +280 -0
- data/lib/purecloudplatformclientv2/models/nlu_confusion_matrix_column.rb +238 -0
- data/lib/purecloudplatformclientv2/models/nlu_confusion_matrix_row.rb +240 -0
- data/lib/purecloudplatformclientv2/models/nlu_detection_context.rb +228 -0
- data/lib/purecloudplatformclientv2/models/nlu_detection_input.rb +207 -0
- data/lib/purecloudplatformclientv2/models/nlu_detection_output.rb +232 -0
- data/lib/purecloudplatformclientv2/models/nlu_detection_request.rb +233 -0
- data/lib/purecloudplatformclientv2/models/nlu_detection_response.rb +252 -0
- data/lib/purecloudplatformclientv2/models/nlu_domain.rb +363 -0
- data/lib/purecloudplatformclientv2/models/nlu_domain_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/nlu_domain_version.rb +506 -0
- data/lib/purecloudplatformclientv2/models/nlu_domain_version_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/{intraday_metric.rb → nlu_domain_version_quality_report.rb} +57 -28
- data/lib/purecloudplatformclientv2/models/nlu_domain_version_training_response.rb +227 -0
- data/lib/purecloudplatformclientv2/models/nlu_feedback_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/{create_queue_media_association_request.rb → nlu_feedback_request.rb} +40 -26
- data/lib/purecloudplatformclientv2/models/nlu_feedback_response.rb +334 -0
- data/lib/purecloudplatformclientv2/models/{generate_short_term_forecast_request.rb → nlu_quality_report_summary.rb} +12 -10
- data/lib/purecloudplatformclientv2/models/nlu_quality_report_summary_metric.rb +238 -0
- data/lib/purecloudplatformclientv2/models/nlu_utterance.rb +209 -0
- data/lib/purecloudplatformclientv2/models/nlu_utterance_segment.rb +233 -0
- data/lib/purecloudplatformclientv2/models/note_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/patch_bu_rescheduling_options_management_unit_request.rb +233 -0
- data/lib/purecloudplatformclientv2/models/patch_bu_rescheduling_options_request.rb +204 -0
- data/lib/purecloudplatformclientv2/models/{reschedule_result.rb → patch_bu_schedule_run_request.rb} +9 -9
- data/lib/purecloudplatformclientv2/models/patch_shift_trade_request.rb +285 -0
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/{service_goal_group.rb → planning_group.rb} +19 -24
- data/lib/purecloudplatformclientv2/models/planning_group_list.rb +204 -0
- data/lib/purecloudplatformclientv2/models/planning_group_reference.rb +229 -0
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +23 -23
- data/lib/purecloudplatformclientv2/models/queue_conversation_callback_event_topic_callback_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_callback.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_cobrowse.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_message.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_screenshare.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_social_expression.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_video.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_callback.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_cobrowse.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_message.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_screenshare.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_social_expression.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_video.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_callback.rb +51 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_cobrowse.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_message.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_screenshare.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_social_expression.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_video.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/recipient_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +32 -4
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +57 -1
- data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/rescheduling_management_unit_response.rb +228 -0
- data/lib/purecloudplatformclientv2/models/{rescheduling_options_response.rb → rescheduling_options_run_response.rb} +54 -84
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +23 -23
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/route_path_request.rb +333 -0
- data/lib/purecloudplatformclientv2/models/{route_group_attributes.rb → route_path_response.rb} +6 -16
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/schedule_generation_message.rb +244 -0
- data/lib/purecloudplatformclientv2/models/schedule_generation_result.rb +282 -0
- data/lib/purecloudplatformclientv2/models/schedule_generation_result_summary.rb +254 -0
- data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/scheduler_message_argument.rb +242 -0
- data/lib/purecloudplatformclientv2/models/scheduling_testing_options_request.rb +280 -0
- data/lib/purecloudplatformclientv2/models/{import_short_term_forecast_request.rb → schema.rb} +50 -35
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/schema_quantity_limits.rb +539 -0
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +30 -4
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/screenshare.rb +30 -4
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/search_shift_trade_response.rb +256 -0
- data/lib/purecloudplatformclientv2/models/search_shift_trades_request.rb +235 -0
- data/lib/purecloudplatformclientv2/models/search_shift_trades_response.rb +204 -0
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/service_goal_template.rb +358 -0
- data/lib/purecloudplatformclientv2/models/service_goal_template_list.rb +204 -0
- data/lib/purecloudplatformclientv2/models/service_goal_template_reference.rb +228 -0
- data/lib/purecloudplatformclientv2/models/{list_wrapper_forecast_source_day_pointer.rb → set_wrapper_route_path_request.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/shift_trade_activity_preview_response.rb +280 -0
- data/lib/purecloudplatformclientv2/models/shift_trade_match_review_response.rb +284 -0
- data/lib/purecloudplatformclientv2/models/shift_trade_match_review_user_response.rb +306 -0
- data/lib/purecloudplatformclientv2/models/shift_trade_match_violation.rb +244 -0
- data/lib/purecloudplatformclientv2/models/shift_trade_preview_response.rb +204 -0
- data/lib/purecloudplatformclientv2/models/shift_trade_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/social_expression.rb +30 -4
- data/lib/purecloudplatformclientv2/models/source_planning_group_request.rb +239 -0
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/{user_schedules_partial_upload_request.rb → template_parameter.rb} +34 -16
- data/lib/purecloudplatformclientv2/models/test_message.rb +375 -0
- data/lib/purecloudplatformclientv2/models/text_message_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/{time_off_request_lookup.rb → time_off_request.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/{time_off_request_lookup_list.rb → time_off_request_listing.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/training_listing.rb +278 -0
- data/lib/purecloudplatformclientv2/models/transcription_settings.rb +30 -4
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/{intraday_queue.rb → update_business_unit_request.rb} +22 -24
- data/lib/purecloudplatformclientv2/models/update_business_unit_settings.rb +299 -0
- data/lib/purecloudplatformclientv2/models/{import_week_schedule_request.rb → update_coaching_appointment_request.rb} +60 -39
- data/lib/purecloudplatformclientv2/models/update_planning_group_request.rb +285 -0
- data/lib/purecloudplatformclientv2/models/update_service_goal_template.rb +311 -0
- data/lib/purecloudplatformclientv2/models/upload_url_request.rb +254 -0
- data/lib/purecloudplatformclientv2/models/upload_url_response.rb +230 -0
- data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/user_app_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/{service_goal_group_list.rb → user_schedule_adherence_listing.rb} +10 -11
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/validation_limits.rb +326 -0
- data/lib/purecloudplatformclientv2/models/value_wrapper_date.rb +203 -0
- data/lib/purecloudplatformclientv2/models/value_wrapper_string.rb +203 -0
- data/lib/purecloudplatformclientv2/models/video.rb +30 -4
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +23 -23
- data/lib/purecloudplatformclientv2/models/week_shift_trade_list_response.rb +203 -0
- data/lib/purecloudplatformclientv2/models/week_shift_trade_response.rb +228 -0
- data/lib/purecloudplatformclientv2/models/wem_learning_assignment_rule_run_topic_learning_assignment_rule_run_notification.rb +228 -0
- data/lib/purecloudplatformclientv2/models/wem_learning_assignment_rule_run_topic_learning_module_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wem_learning_assignment_rule_run_topic_wem_learning_assignments_created.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wem_learning_assignment_topic_learning_assignment_notification.rb +440 -0
- data/lib/purecloudplatformclientv2/models/{intraday_performance_prediction_agent_data.rb → wem_learning_assignment_topic_learning_module_reference.rb} +33 -9
- data/lib/purecloudplatformclientv2/models/{partial_upload_response.rb → wem_learning_assignment_topic_user_reference.rb} +1 -2
- data/lib/purecloudplatformclientv2/models/{wfm_intraday_queue_listing.rb → wfm_intraday_planning_group_listing.rb} +6 -5
- data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +23 -23
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +424 -120
- data/docs/AsyncWeekScheduleResponse.md +0 -16
- data/docs/CopyShortTermForecastRequest.md +0 -14
- data/docs/CopyWeekScheduleRequest.md +0 -14
- data/docs/CreateQueueMediaAssociationRequest.md +0 -15
- data/docs/CreateServiceGoalGroupRequest.md +0 -15
- data/docs/ForecastGenerationResult.md +0 -13
- data/docs/ForecastGenerationRouteGroupResult.md +0 -14
- data/docs/ForecastResultResponse.md +0 -14
- data/docs/GenerateShortTermForecastRequest.md +0 -13
- data/docs/GenerateShortTermForecastResponse.md +0 -16
- data/docs/GenerateWeekScheduleRequest.md +0 -14
- data/docs/GenerateWeekScheduleResponse.md +0 -15
- data/docs/ImportShortTermForecastRequest.md +0 -16
- data/docs/ImportWeekScheduleRequest.md +0 -17
- data/docs/IntradayDataGroup.md +0 -19
- data/docs/IntradayForecastData.md +0 -15
- data/docs/IntradayHistoricalAgentData.md +0 -14
- data/docs/IntradayHistoricalQueueData.md +0 -20
- data/docs/IntradayMetric.md +0 -14
- data/docs/IntradayPerformancePredictionAgentData.md +0 -13
- data/docs/IntradayPerformancePredictionQueueData.md +0 -15
- data/docs/IntradayQueryDataCommand.md +0 -17
- data/docs/IntradayQueue.md +0 -15
- data/docs/IntradayScheduleData.md +0 -14
- data/docs/ListWrapperForecastSourceDayPointer.md +0 -13
- data/docs/ListWrapperWfmForecastModification.md +0 -13
- data/docs/QueueMediaAssociation.md +0 -16
- data/docs/RescheduleRequest.md +0 -20
- data/docs/RescheduleResult.md +0 -13
- data/docs/ReschedulingOptionsResponse.md +0 -22
- data/docs/RouteGroup.md +0 -18
- data/docs/RouteGroupAttributes.md +0 -16
- data/docs/RouteGroupList.md +0 -14
- data/docs/SchedulingRunListResponse.md +0 -13
- data/docs/SchedulingRunResponse.md +0 -28
- data/docs/ServiceGoalGroup.md +0 -18
- data/docs/ServiceGoalGroupGoals.md +0 -15
- data/docs/ServiceGoalGroupList.md +0 -14
- data/docs/ShortTermForecast.md +0 -22
- data/docs/ShortTermForecastListResponse.md +0 -13
- data/docs/ShortTermForecastResponse.md +0 -15
- data/docs/SpeechTextAnalyticsApi.md +0 -80
- data/docs/TimeOffRequestEntityList.md +0 -13
- data/docs/TimeOffRequestLookupList.md +0 -13
- data/docs/TranscriptProperty.md +0 -15
- data/docs/UnscheduledAgentWarning.md +0 -14
- data/docs/UpdateWeekScheduleRequest.md +0 -21
- data/docs/UserSchedulesPartialUploadRequest.md +0 -13
- data/docs/WfmForecastModificationAttributes.md +0 -16
- data/docs/WfmIntradayQueueListing.md +0 -14
- data/lib/purecloudplatformclientv2/api/speech_text_analytics_api.rb +0 -102
- data/lib/purecloudplatformclientv2/models/intraday_forecast_data.rb +0 -254
- data/lib/purecloudplatformclientv2/models/intraday_historical_agent_data.rb +0 -228
- data/lib/purecloudplatformclientv2/models/intraday_schedule_data.rb +0 -228
- data/lib/purecloudplatformclientv2/models/unscheduled_agent_warning.rb +0 -242
|
@@ -0,0 +1,1908 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
PureCloud Platform API
|
|
3
|
+
|
|
4
|
+
With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v2
|
|
7
|
+
Contact: DeveloperEvangelists@genesys.com
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
License: UNLICENSED
|
|
11
|
+
https://help.mypurecloud.com/articles/terms-and-conditions/
|
|
12
|
+
|
|
13
|
+
Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
|
14
|
+
|
|
15
|
+
=end
|
|
16
|
+
|
|
17
|
+
require "uri"
|
|
18
|
+
|
|
19
|
+
module PureCloud
|
|
20
|
+
class KnowledgeApi
|
|
21
|
+
attr_accessor :api_client
|
|
22
|
+
|
|
23
|
+
def initialize(api_client = ApiClient.default)
|
|
24
|
+
@api_client = api_client
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# Delete knowledge base
|
|
28
|
+
#
|
|
29
|
+
# @param knowledge_base_id Knowledge base ID
|
|
30
|
+
# @param [Hash] opts the optional parameters
|
|
31
|
+
# @return [KnowledgeBase]
|
|
32
|
+
def delete_knowledge_knowledgebase(knowledge_base_id, opts = {})
|
|
33
|
+
data, _status_code, _headers = delete_knowledge_knowledgebase_with_http_info(knowledge_base_id, opts)
|
|
34
|
+
return data
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Delete knowledge base
|
|
38
|
+
#
|
|
39
|
+
# @param knowledge_base_id Knowledge base ID
|
|
40
|
+
# @param [Hash] opts the optional parameters
|
|
41
|
+
# @return [Array<(KnowledgeBase, Fixnum, Hash)>] KnowledgeBase data, response status code and response headers
|
|
42
|
+
def delete_knowledge_knowledgebase_with_http_info(knowledge_base_id, opts = {})
|
|
43
|
+
if @api_client.config.debugging
|
|
44
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.delete_knowledge_knowledgebase ..."
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
49
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.delete_knowledge_knowledgebase" if knowledge_base_id.nil?
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
# resource path
|
|
56
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}".sub('{format}','json').sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s)
|
|
57
|
+
|
|
58
|
+
# query parameters
|
|
59
|
+
query_params = {}
|
|
60
|
+
|
|
61
|
+
# header parameters
|
|
62
|
+
header_params = {}
|
|
63
|
+
|
|
64
|
+
# HTTP header 'Accept' (if needed)
|
|
65
|
+
local_header_accept = ['application/json']
|
|
66
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
67
|
+
|
|
68
|
+
# HTTP header 'Content-Type'
|
|
69
|
+
local_header_content_type = ['application/json']
|
|
70
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
71
|
+
|
|
72
|
+
# form parameters
|
|
73
|
+
form_params = {}
|
|
74
|
+
|
|
75
|
+
# http body (model)
|
|
76
|
+
post_body = nil
|
|
77
|
+
|
|
78
|
+
auth_names = ['PureCloud OAuth']
|
|
79
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
80
|
+
:header_params => header_params,
|
|
81
|
+
:query_params => query_params,
|
|
82
|
+
:form_params => form_params,
|
|
83
|
+
:body => post_body,
|
|
84
|
+
:auth_names => auth_names,
|
|
85
|
+
:return_type => 'KnowledgeBase')
|
|
86
|
+
if @api_client.config.debugging
|
|
87
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#delete_knowledge_knowledgebase\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
88
|
+
end
|
|
89
|
+
return data, status_code, headers
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Delete category
|
|
93
|
+
#
|
|
94
|
+
# @param category_id Category ID
|
|
95
|
+
# @param knowledge_base_id Knowledge base ID
|
|
96
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
97
|
+
# @param [Hash] opts the optional parameters
|
|
98
|
+
# @return [KnowledgeCategory]
|
|
99
|
+
def delete_knowledge_knowledgebase_language_category(category_id, knowledge_base_id, language_code, opts = {})
|
|
100
|
+
data, _status_code, _headers = delete_knowledge_knowledgebase_language_category_with_http_info(category_id, knowledge_base_id, language_code, opts)
|
|
101
|
+
return data
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# Delete category
|
|
105
|
+
#
|
|
106
|
+
# @param category_id Category ID
|
|
107
|
+
# @param knowledge_base_id Knowledge base ID
|
|
108
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
109
|
+
# @param [Hash] opts the optional parameters
|
|
110
|
+
# @return [Array<(KnowledgeCategory, Fixnum, Hash)>] KnowledgeCategory data, response status code and response headers
|
|
111
|
+
def delete_knowledge_knowledgebase_language_category_with_http_info(category_id, knowledge_base_id, language_code, opts = {})
|
|
112
|
+
if @api_client.config.debugging
|
|
113
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.delete_knowledge_knowledgebase_language_category ..."
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
# verify the required parameter 'category_id' is set
|
|
118
|
+
fail ArgumentError, "Missing the required parameter 'category_id' when calling KnowledgeApi.delete_knowledge_knowledgebase_language_category" if category_id.nil?
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
126
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.delete_knowledge_knowledgebase_language_category" if knowledge_base_id.nil?
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
# verify the required parameter 'language_code' is set
|
|
134
|
+
fail ArgumentError, "Missing the required parameter 'language_code' when calling KnowledgeApi.delete_knowledge_knowledgebase_language_category" if language_code.nil?
|
|
135
|
+
|
|
136
|
+
# verify enum value
|
|
137
|
+
unless ['en-US'].include?(language_code)
|
|
138
|
+
fail ArgumentError, "invalid value for 'language_code', must be one of en-US"
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
# resource path
|
|
146
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}".sub('{format}','json').sub('{' + 'categoryId' + '}', category_id.to_s).sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
|
|
147
|
+
|
|
148
|
+
# query parameters
|
|
149
|
+
query_params = {}
|
|
150
|
+
|
|
151
|
+
# header parameters
|
|
152
|
+
header_params = {}
|
|
153
|
+
|
|
154
|
+
# HTTP header 'Accept' (if needed)
|
|
155
|
+
local_header_accept = ['application/json']
|
|
156
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
157
|
+
|
|
158
|
+
# HTTP header 'Content-Type'
|
|
159
|
+
local_header_content_type = ['application/json']
|
|
160
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
161
|
+
|
|
162
|
+
# form parameters
|
|
163
|
+
form_params = {}
|
|
164
|
+
|
|
165
|
+
# http body (model)
|
|
166
|
+
post_body = nil
|
|
167
|
+
|
|
168
|
+
auth_names = ['PureCloud OAuth']
|
|
169
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
170
|
+
:header_params => header_params,
|
|
171
|
+
:query_params => query_params,
|
|
172
|
+
:form_params => form_params,
|
|
173
|
+
:body => post_body,
|
|
174
|
+
:auth_names => auth_names,
|
|
175
|
+
:return_type => 'KnowledgeCategory')
|
|
176
|
+
if @api_client.config.debugging
|
|
177
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#delete_knowledge_knowledgebase_language_category\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
178
|
+
end
|
|
179
|
+
return data, status_code, headers
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
# Delete document
|
|
183
|
+
#
|
|
184
|
+
# @param document_id Document ID
|
|
185
|
+
# @param knowledge_base_id Knowledge base ID
|
|
186
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
187
|
+
# @param [Hash] opts the optional parameters
|
|
188
|
+
# @return [KnowledgeDocument]
|
|
189
|
+
def delete_knowledge_knowledgebase_language_document(document_id, knowledge_base_id, language_code, opts = {})
|
|
190
|
+
data, _status_code, _headers = delete_knowledge_knowledgebase_language_document_with_http_info(document_id, knowledge_base_id, language_code, opts)
|
|
191
|
+
return data
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# Delete document
|
|
195
|
+
#
|
|
196
|
+
# @param document_id Document ID
|
|
197
|
+
# @param knowledge_base_id Knowledge base ID
|
|
198
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
199
|
+
# @param [Hash] opts the optional parameters
|
|
200
|
+
# @return [Array<(KnowledgeDocument, Fixnum, Hash)>] KnowledgeDocument data, response status code and response headers
|
|
201
|
+
def delete_knowledge_knowledgebase_language_document_with_http_info(document_id, knowledge_base_id, language_code, opts = {})
|
|
202
|
+
if @api_client.config.debugging
|
|
203
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.delete_knowledge_knowledgebase_language_document ..."
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
# verify the required parameter 'document_id' is set
|
|
208
|
+
fail ArgumentError, "Missing the required parameter 'document_id' when calling KnowledgeApi.delete_knowledge_knowledgebase_language_document" if document_id.nil?
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
216
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.delete_knowledge_knowledgebase_language_document" if knowledge_base_id.nil?
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
# verify the required parameter 'language_code' is set
|
|
224
|
+
fail ArgumentError, "Missing the required parameter 'language_code' when calling KnowledgeApi.delete_knowledge_knowledgebase_language_document" if language_code.nil?
|
|
225
|
+
|
|
226
|
+
# verify enum value
|
|
227
|
+
unless ['en-US'].include?(language_code)
|
|
228
|
+
fail ArgumentError, "invalid value for 'language_code', must be one of en-US"
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
# resource path
|
|
236
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
|
|
237
|
+
|
|
238
|
+
# query parameters
|
|
239
|
+
query_params = {}
|
|
240
|
+
|
|
241
|
+
# header parameters
|
|
242
|
+
header_params = {}
|
|
243
|
+
|
|
244
|
+
# HTTP header 'Accept' (if needed)
|
|
245
|
+
local_header_accept = ['application/json']
|
|
246
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
247
|
+
|
|
248
|
+
# HTTP header 'Content-Type'
|
|
249
|
+
local_header_content_type = ['application/json']
|
|
250
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
251
|
+
|
|
252
|
+
# form parameters
|
|
253
|
+
form_params = {}
|
|
254
|
+
|
|
255
|
+
# http body (model)
|
|
256
|
+
post_body = nil
|
|
257
|
+
|
|
258
|
+
auth_names = ['PureCloud OAuth']
|
|
259
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
260
|
+
:header_params => header_params,
|
|
261
|
+
:query_params => query_params,
|
|
262
|
+
:form_params => form_params,
|
|
263
|
+
:body => post_body,
|
|
264
|
+
:auth_names => auth_names,
|
|
265
|
+
:return_type => 'KnowledgeDocument')
|
|
266
|
+
if @api_client.config.debugging
|
|
267
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#delete_knowledge_knowledgebase_language_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
268
|
+
end
|
|
269
|
+
return data, status_code, headers
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
# Get knowledge base
|
|
273
|
+
#
|
|
274
|
+
# @param knowledge_base_id Knowledge base ID
|
|
275
|
+
# @param [Hash] opts the optional parameters
|
|
276
|
+
# @return [KnowledgeBase]
|
|
277
|
+
def get_knowledge_knowledgebase(knowledge_base_id, opts = {})
|
|
278
|
+
data, _status_code, _headers = get_knowledge_knowledgebase_with_http_info(knowledge_base_id, opts)
|
|
279
|
+
return data
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
# Get knowledge base
|
|
283
|
+
#
|
|
284
|
+
# @param knowledge_base_id Knowledge base ID
|
|
285
|
+
# @param [Hash] opts the optional parameters
|
|
286
|
+
# @return [Array<(KnowledgeBase, Fixnum, Hash)>] KnowledgeBase data, response status code and response headers
|
|
287
|
+
def get_knowledge_knowledgebase_with_http_info(knowledge_base_id, opts = {})
|
|
288
|
+
if @api_client.config.debugging
|
|
289
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.get_knowledge_knowledgebase ..."
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
294
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.get_knowledge_knowledgebase" if knowledge_base_id.nil?
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
# resource path
|
|
301
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}".sub('{format}','json').sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s)
|
|
302
|
+
|
|
303
|
+
# query parameters
|
|
304
|
+
query_params = {}
|
|
305
|
+
|
|
306
|
+
# header parameters
|
|
307
|
+
header_params = {}
|
|
308
|
+
|
|
309
|
+
# HTTP header 'Accept' (if needed)
|
|
310
|
+
local_header_accept = ['application/json']
|
|
311
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
312
|
+
|
|
313
|
+
# HTTP header 'Content-Type'
|
|
314
|
+
local_header_content_type = ['application/json']
|
|
315
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
316
|
+
|
|
317
|
+
# form parameters
|
|
318
|
+
form_params = {}
|
|
319
|
+
|
|
320
|
+
# http body (model)
|
|
321
|
+
post_body = nil
|
|
322
|
+
|
|
323
|
+
auth_names = ['PureCloud OAuth']
|
|
324
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
325
|
+
:header_params => header_params,
|
|
326
|
+
:query_params => query_params,
|
|
327
|
+
:form_params => form_params,
|
|
328
|
+
:body => post_body,
|
|
329
|
+
:auth_names => auth_names,
|
|
330
|
+
:return_type => 'KnowledgeBase')
|
|
331
|
+
if @api_client.config.debugging
|
|
332
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#get_knowledge_knowledgebase\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
333
|
+
end
|
|
334
|
+
return data, status_code, headers
|
|
335
|
+
end
|
|
336
|
+
|
|
337
|
+
# Get categories
|
|
338
|
+
#
|
|
339
|
+
# @param knowledge_base_id Knowledge base ID
|
|
340
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
341
|
+
# @param [Hash] opts the optional parameters
|
|
342
|
+
# @option opts [String] :before The cursor that points to the start of the set of entities that has been returned.
|
|
343
|
+
# @option opts [String] :after The cursor that points to the end of the set of entities that has been returned.
|
|
344
|
+
# @option opts [String] :limit Number of entities to return. Maximum of 200.
|
|
345
|
+
# @option opts [String] :page_size Number of entities to return. Maximum of 200.
|
|
346
|
+
# @return [CategoryListing]
|
|
347
|
+
def get_knowledge_knowledgebase_language_categories(knowledge_base_id, language_code, opts = {})
|
|
348
|
+
data, _status_code, _headers = get_knowledge_knowledgebase_language_categories_with_http_info(knowledge_base_id, language_code, opts)
|
|
349
|
+
return data
|
|
350
|
+
end
|
|
351
|
+
|
|
352
|
+
# Get categories
|
|
353
|
+
#
|
|
354
|
+
# @param knowledge_base_id Knowledge base ID
|
|
355
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
356
|
+
# @param [Hash] opts the optional parameters
|
|
357
|
+
# @option opts [String] :before The cursor that points to the start of the set of entities that has been returned.
|
|
358
|
+
# @option opts [String] :after The cursor that points to the end of the set of entities that has been returned.
|
|
359
|
+
# @option opts [String] :limit Number of entities to return. Maximum of 200.
|
|
360
|
+
# @option opts [String] :page_size Number of entities to return. Maximum of 200.
|
|
361
|
+
# @return [Array<(CategoryListing, Fixnum, Hash)>] CategoryListing data, response status code and response headers
|
|
362
|
+
def get_knowledge_knowledgebase_language_categories_with_http_info(knowledge_base_id, language_code, opts = {})
|
|
363
|
+
if @api_client.config.debugging
|
|
364
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.get_knowledge_knowledgebase_language_categories ..."
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
369
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.get_knowledge_knowledgebase_language_categories" if knowledge_base_id.nil?
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
# verify the required parameter 'language_code' is set
|
|
377
|
+
fail ArgumentError, "Missing the required parameter 'language_code' when calling KnowledgeApi.get_knowledge_knowledgebase_language_categories" if language_code.nil?
|
|
378
|
+
|
|
379
|
+
# verify enum value
|
|
380
|
+
unless ['en-US'].include?(language_code)
|
|
381
|
+
fail ArgumentError, "invalid value for 'language_code', must be one of en-US"
|
|
382
|
+
end
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
# resource path
|
|
413
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories".sub('{format}','json').sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
|
|
414
|
+
|
|
415
|
+
# query parameters
|
|
416
|
+
query_params = {}
|
|
417
|
+
query_params[:'before'] = opts[:'before'] if opts[:'before']
|
|
418
|
+
query_params[:'after'] = opts[:'after'] if opts[:'after']
|
|
419
|
+
query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
|
|
420
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
421
|
+
|
|
422
|
+
# header parameters
|
|
423
|
+
header_params = {}
|
|
424
|
+
|
|
425
|
+
# HTTP header 'Accept' (if needed)
|
|
426
|
+
local_header_accept = ['application/json']
|
|
427
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
428
|
+
|
|
429
|
+
# HTTP header 'Content-Type'
|
|
430
|
+
local_header_content_type = ['application/json']
|
|
431
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
432
|
+
|
|
433
|
+
# form parameters
|
|
434
|
+
form_params = {}
|
|
435
|
+
|
|
436
|
+
# http body (model)
|
|
437
|
+
post_body = nil
|
|
438
|
+
|
|
439
|
+
auth_names = ['PureCloud OAuth']
|
|
440
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
441
|
+
:header_params => header_params,
|
|
442
|
+
:query_params => query_params,
|
|
443
|
+
:form_params => form_params,
|
|
444
|
+
:body => post_body,
|
|
445
|
+
:auth_names => auth_names,
|
|
446
|
+
:return_type => 'CategoryListing')
|
|
447
|
+
if @api_client.config.debugging
|
|
448
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#get_knowledge_knowledgebase_language_categories\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
449
|
+
end
|
|
450
|
+
return data, status_code, headers
|
|
451
|
+
end
|
|
452
|
+
|
|
453
|
+
# Get category
|
|
454
|
+
#
|
|
455
|
+
# @param category_id Category ID
|
|
456
|
+
# @param knowledge_base_id Knowledge base ID
|
|
457
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
458
|
+
# @param [Hash] opts the optional parameters
|
|
459
|
+
# @return [KnowledgeExtendedCategory]
|
|
460
|
+
def get_knowledge_knowledgebase_language_category(category_id, knowledge_base_id, language_code, opts = {})
|
|
461
|
+
data, _status_code, _headers = get_knowledge_knowledgebase_language_category_with_http_info(category_id, knowledge_base_id, language_code, opts)
|
|
462
|
+
return data
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
# Get category
|
|
466
|
+
#
|
|
467
|
+
# @param category_id Category ID
|
|
468
|
+
# @param knowledge_base_id Knowledge base ID
|
|
469
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
470
|
+
# @param [Hash] opts the optional parameters
|
|
471
|
+
# @return [Array<(KnowledgeExtendedCategory, Fixnum, Hash)>] KnowledgeExtendedCategory data, response status code and response headers
|
|
472
|
+
def get_knowledge_knowledgebase_language_category_with_http_info(category_id, knowledge_base_id, language_code, opts = {})
|
|
473
|
+
if @api_client.config.debugging
|
|
474
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.get_knowledge_knowledgebase_language_category ..."
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
# verify the required parameter 'category_id' is set
|
|
479
|
+
fail ArgumentError, "Missing the required parameter 'category_id' when calling KnowledgeApi.get_knowledge_knowledgebase_language_category" if category_id.nil?
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
487
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.get_knowledge_knowledgebase_language_category" if knowledge_base_id.nil?
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
# verify the required parameter 'language_code' is set
|
|
495
|
+
fail ArgumentError, "Missing the required parameter 'language_code' when calling KnowledgeApi.get_knowledge_knowledgebase_language_category" if language_code.nil?
|
|
496
|
+
|
|
497
|
+
# verify enum value
|
|
498
|
+
unless ['en-US'].include?(language_code)
|
|
499
|
+
fail ArgumentError, "invalid value for 'language_code', must be one of en-US"
|
|
500
|
+
end
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
# resource path
|
|
507
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}".sub('{format}','json').sub('{' + 'categoryId' + '}', category_id.to_s).sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
|
|
508
|
+
|
|
509
|
+
# query parameters
|
|
510
|
+
query_params = {}
|
|
511
|
+
|
|
512
|
+
# header parameters
|
|
513
|
+
header_params = {}
|
|
514
|
+
|
|
515
|
+
# HTTP header 'Accept' (if needed)
|
|
516
|
+
local_header_accept = ['application/json']
|
|
517
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
518
|
+
|
|
519
|
+
# HTTP header 'Content-Type'
|
|
520
|
+
local_header_content_type = ['application/json']
|
|
521
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
522
|
+
|
|
523
|
+
# form parameters
|
|
524
|
+
form_params = {}
|
|
525
|
+
|
|
526
|
+
# http body (model)
|
|
527
|
+
post_body = nil
|
|
528
|
+
|
|
529
|
+
auth_names = ['PureCloud OAuth']
|
|
530
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
531
|
+
:header_params => header_params,
|
|
532
|
+
:query_params => query_params,
|
|
533
|
+
:form_params => form_params,
|
|
534
|
+
:body => post_body,
|
|
535
|
+
:auth_names => auth_names,
|
|
536
|
+
:return_type => 'KnowledgeExtendedCategory')
|
|
537
|
+
if @api_client.config.debugging
|
|
538
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#get_knowledge_knowledgebase_language_category\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
539
|
+
end
|
|
540
|
+
return data, status_code, headers
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
# Get document
|
|
544
|
+
#
|
|
545
|
+
# @param document_id Document ID
|
|
546
|
+
# @param knowledge_base_id Knowledge base ID
|
|
547
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
548
|
+
# @param [Hash] opts the optional parameters
|
|
549
|
+
# @return [KnowledgeDocument]
|
|
550
|
+
def get_knowledge_knowledgebase_language_document(document_id, knowledge_base_id, language_code, opts = {})
|
|
551
|
+
data, _status_code, _headers = get_knowledge_knowledgebase_language_document_with_http_info(document_id, knowledge_base_id, language_code, opts)
|
|
552
|
+
return data
|
|
553
|
+
end
|
|
554
|
+
|
|
555
|
+
# Get document
|
|
556
|
+
#
|
|
557
|
+
# @param document_id Document ID
|
|
558
|
+
# @param knowledge_base_id Knowledge base ID
|
|
559
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
560
|
+
# @param [Hash] opts the optional parameters
|
|
561
|
+
# @return [Array<(KnowledgeDocument, Fixnum, Hash)>] KnowledgeDocument data, response status code and response headers
|
|
562
|
+
def get_knowledge_knowledgebase_language_document_with_http_info(document_id, knowledge_base_id, language_code, opts = {})
|
|
563
|
+
if @api_client.config.debugging
|
|
564
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.get_knowledge_knowledgebase_language_document ..."
|
|
565
|
+
end
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
# verify the required parameter 'document_id' is set
|
|
569
|
+
fail ArgumentError, "Missing the required parameter 'document_id' when calling KnowledgeApi.get_knowledge_knowledgebase_language_document" if document_id.nil?
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
577
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.get_knowledge_knowledgebase_language_document" if knowledge_base_id.nil?
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
# verify the required parameter 'language_code' is set
|
|
585
|
+
fail ArgumentError, "Missing the required parameter 'language_code' when calling KnowledgeApi.get_knowledge_knowledgebase_language_document" if language_code.nil?
|
|
586
|
+
|
|
587
|
+
# verify enum value
|
|
588
|
+
unless ['en-US'].include?(language_code)
|
|
589
|
+
fail ArgumentError, "invalid value for 'language_code', must be one of en-US"
|
|
590
|
+
end
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
# resource path
|
|
597
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
|
|
598
|
+
|
|
599
|
+
# query parameters
|
|
600
|
+
query_params = {}
|
|
601
|
+
|
|
602
|
+
# header parameters
|
|
603
|
+
header_params = {}
|
|
604
|
+
|
|
605
|
+
# HTTP header 'Accept' (if needed)
|
|
606
|
+
local_header_accept = ['application/json']
|
|
607
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
608
|
+
|
|
609
|
+
# HTTP header 'Content-Type'
|
|
610
|
+
local_header_content_type = ['application/json']
|
|
611
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
612
|
+
|
|
613
|
+
# form parameters
|
|
614
|
+
form_params = {}
|
|
615
|
+
|
|
616
|
+
# http body (model)
|
|
617
|
+
post_body = nil
|
|
618
|
+
|
|
619
|
+
auth_names = ['PureCloud OAuth']
|
|
620
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
621
|
+
:header_params => header_params,
|
|
622
|
+
:query_params => query_params,
|
|
623
|
+
:form_params => form_params,
|
|
624
|
+
:body => post_body,
|
|
625
|
+
:auth_names => auth_names,
|
|
626
|
+
:return_type => 'KnowledgeDocument')
|
|
627
|
+
if @api_client.config.debugging
|
|
628
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#get_knowledge_knowledgebase_language_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
629
|
+
end
|
|
630
|
+
return data, status_code, headers
|
|
631
|
+
end
|
|
632
|
+
|
|
633
|
+
# Get documents
|
|
634
|
+
#
|
|
635
|
+
# @param knowledge_base_id Knowledge base ID
|
|
636
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
637
|
+
# @param [Hash] opts the optional parameters
|
|
638
|
+
# @option opts [String] :before The cursor that points to the start of the set of entities that has been returned.
|
|
639
|
+
# @option opts [String] :after The cursor that points to the end of the set of entities that has been returned.
|
|
640
|
+
# @option opts [String] :limit Number of entities to return. Maximum of 200.
|
|
641
|
+
# @option opts [String] :page_size Number of entities to return. Maximum of 200.
|
|
642
|
+
# @option opts [String] :categories Filter by categories ids, comma separated values expected.
|
|
643
|
+
# @return [DocumentListing]
|
|
644
|
+
def get_knowledge_knowledgebase_language_documents(knowledge_base_id, language_code, opts = {})
|
|
645
|
+
data, _status_code, _headers = get_knowledge_knowledgebase_language_documents_with_http_info(knowledge_base_id, language_code, opts)
|
|
646
|
+
return data
|
|
647
|
+
end
|
|
648
|
+
|
|
649
|
+
# Get documents
|
|
650
|
+
#
|
|
651
|
+
# @param knowledge_base_id Knowledge base ID
|
|
652
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
653
|
+
# @param [Hash] opts the optional parameters
|
|
654
|
+
# @option opts [String] :before The cursor that points to the start of the set of entities that has been returned.
|
|
655
|
+
# @option opts [String] :after The cursor that points to the end of the set of entities that has been returned.
|
|
656
|
+
# @option opts [String] :limit Number of entities to return. Maximum of 200.
|
|
657
|
+
# @option opts [String] :page_size Number of entities to return. Maximum of 200.
|
|
658
|
+
# @option opts [String] :categories Filter by categories ids, comma separated values expected.
|
|
659
|
+
# @return [Array<(DocumentListing, Fixnum, Hash)>] DocumentListing data, response status code and response headers
|
|
660
|
+
def get_knowledge_knowledgebase_language_documents_with_http_info(knowledge_base_id, language_code, opts = {})
|
|
661
|
+
if @api_client.config.debugging
|
|
662
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.get_knowledge_knowledgebase_language_documents ..."
|
|
663
|
+
end
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
667
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.get_knowledge_knowledgebase_language_documents" if knowledge_base_id.nil?
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
# verify the required parameter 'language_code' is set
|
|
675
|
+
fail ArgumentError, "Missing the required parameter 'language_code' when calling KnowledgeApi.get_knowledge_knowledgebase_language_documents" if language_code.nil?
|
|
676
|
+
|
|
677
|
+
# verify enum value
|
|
678
|
+
unless ['en-US'].include?(language_code)
|
|
679
|
+
fail ArgumentError, "invalid value for 'language_code', must be one of en-US"
|
|
680
|
+
end
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
# resource path
|
|
717
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents".sub('{format}','json').sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
|
|
718
|
+
|
|
719
|
+
# query parameters
|
|
720
|
+
query_params = {}
|
|
721
|
+
query_params[:'before'] = opts[:'before'] if opts[:'before']
|
|
722
|
+
query_params[:'after'] = opts[:'after'] if opts[:'after']
|
|
723
|
+
query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
|
|
724
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
725
|
+
query_params[:'categories'] = opts[:'categories'] if opts[:'categories']
|
|
726
|
+
|
|
727
|
+
# header parameters
|
|
728
|
+
header_params = {}
|
|
729
|
+
|
|
730
|
+
# HTTP header 'Accept' (if needed)
|
|
731
|
+
local_header_accept = ['application/json']
|
|
732
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
733
|
+
|
|
734
|
+
# HTTP header 'Content-Type'
|
|
735
|
+
local_header_content_type = ['application/json']
|
|
736
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
737
|
+
|
|
738
|
+
# form parameters
|
|
739
|
+
form_params = {}
|
|
740
|
+
|
|
741
|
+
# http body (model)
|
|
742
|
+
post_body = nil
|
|
743
|
+
|
|
744
|
+
auth_names = ['PureCloud OAuth']
|
|
745
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
746
|
+
:header_params => header_params,
|
|
747
|
+
:query_params => query_params,
|
|
748
|
+
:form_params => form_params,
|
|
749
|
+
:body => post_body,
|
|
750
|
+
:auth_names => auth_names,
|
|
751
|
+
:return_type => 'DocumentListing')
|
|
752
|
+
if @api_client.config.debugging
|
|
753
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#get_knowledge_knowledgebase_language_documents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
754
|
+
end
|
|
755
|
+
return data, status_code, headers
|
|
756
|
+
end
|
|
757
|
+
|
|
758
|
+
# Get training detail
|
|
759
|
+
#
|
|
760
|
+
# @param knowledge_base_id Knowledge base ID
|
|
761
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
762
|
+
# @param training_id Training ID
|
|
763
|
+
# @param [Hash] opts the optional parameters
|
|
764
|
+
# @return [KnowledgeTraining]
|
|
765
|
+
def get_knowledge_knowledgebase_language_training(knowledge_base_id, language_code, training_id, opts = {})
|
|
766
|
+
data, _status_code, _headers = get_knowledge_knowledgebase_language_training_with_http_info(knowledge_base_id, language_code, training_id, opts)
|
|
767
|
+
return data
|
|
768
|
+
end
|
|
769
|
+
|
|
770
|
+
# Get training detail
|
|
771
|
+
#
|
|
772
|
+
# @param knowledge_base_id Knowledge base ID
|
|
773
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
774
|
+
# @param training_id Training ID
|
|
775
|
+
# @param [Hash] opts the optional parameters
|
|
776
|
+
# @return [Array<(KnowledgeTraining, Fixnum, Hash)>] KnowledgeTraining data, response status code and response headers
|
|
777
|
+
def get_knowledge_knowledgebase_language_training_with_http_info(knowledge_base_id, language_code, training_id, opts = {})
|
|
778
|
+
if @api_client.config.debugging
|
|
779
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.get_knowledge_knowledgebase_language_training ..."
|
|
780
|
+
end
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
784
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.get_knowledge_knowledgebase_language_training" if knowledge_base_id.nil?
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
# verify the required parameter 'language_code' is set
|
|
792
|
+
fail ArgumentError, "Missing the required parameter 'language_code' when calling KnowledgeApi.get_knowledge_knowledgebase_language_training" if language_code.nil?
|
|
793
|
+
|
|
794
|
+
# verify enum value
|
|
795
|
+
unless ['en-US'].include?(language_code)
|
|
796
|
+
fail ArgumentError, "invalid value for 'language_code', must be one of en-US"
|
|
797
|
+
end
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
# verify the required parameter 'training_id' is set
|
|
805
|
+
fail ArgumentError, "Missing the required parameter 'training_id' when calling KnowledgeApi.get_knowledge_knowledgebase_language_training" if training_id.nil?
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
# resource path
|
|
812
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings/{trainingId}".sub('{format}','json').sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s).sub('{' + 'trainingId' + '}', training_id.to_s)
|
|
813
|
+
|
|
814
|
+
# query parameters
|
|
815
|
+
query_params = {}
|
|
816
|
+
|
|
817
|
+
# header parameters
|
|
818
|
+
header_params = {}
|
|
819
|
+
|
|
820
|
+
# HTTP header 'Accept' (if needed)
|
|
821
|
+
local_header_accept = ['application/json']
|
|
822
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
823
|
+
|
|
824
|
+
# HTTP header 'Content-Type'
|
|
825
|
+
local_header_content_type = ['application/json']
|
|
826
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
827
|
+
|
|
828
|
+
# form parameters
|
|
829
|
+
form_params = {}
|
|
830
|
+
|
|
831
|
+
# http body (model)
|
|
832
|
+
post_body = nil
|
|
833
|
+
|
|
834
|
+
auth_names = ['PureCloud OAuth']
|
|
835
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
836
|
+
:header_params => header_params,
|
|
837
|
+
:query_params => query_params,
|
|
838
|
+
:form_params => form_params,
|
|
839
|
+
:body => post_body,
|
|
840
|
+
:auth_names => auth_names,
|
|
841
|
+
:return_type => 'KnowledgeTraining')
|
|
842
|
+
if @api_client.config.debugging
|
|
843
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#get_knowledge_knowledgebase_language_training\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
844
|
+
end
|
|
845
|
+
return data, status_code, headers
|
|
846
|
+
end
|
|
847
|
+
|
|
848
|
+
# Get All trainings information for a knowledgebase
|
|
849
|
+
#
|
|
850
|
+
# @param knowledge_base_id Knowledge base ID
|
|
851
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
852
|
+
# @param [Hash] opts the optional parameters
|
|
853
|
+
# @option opts [String] :before The cursor that points to the start of the set of entities that has been returned.
|
|
854
|
+
# @option opts [String] :after The cursor that points to the end of the set of entities that has been returned.
|
|
855
|
+
# @option opts [String] :limit Number of entities to return. Maximum of 200.
|
|
856
|
+
# @option opts [String] :page_size Number of entities to return. Maximum of 200.
|
|
857
|
+
# @return [TrainingListing]
|
|
858
|
+
def get_knowledge_knowledgebase_language_trainings(knowledge_base_id, language_code, opts = {})
|
|
859
|
+
data, _status_code, _headers = get_knowledge_knowledgebase_language_trainings_with_http_info(knowledge_base_id, language_code, opts)
|
|
860
|
+
return data
|
|
861
|
+
end
|
|
862
|
+
|
|
863
|
+
# Get All trainings information for a knowledgebase
|
|
864
|
+
#
|
|
865
|
+
# @param knowledge_base_id Knowledge base ID
|
|
866
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
867
|
+
# @param [Hash] opts the optional parameters
|
|
868
|
+
# @option opts [String] :before The cursor that points to the start of the set of entities that has been returned.
|
|
869
|
+
# @option opts [String] :after The cursor that points to the end of the set of entities that has been returned.
|
|
870
|
+
# @option opts [String] :limit Number of entities to return. Maximum of 200.
|
|
871
|
+
# @option opts [String] :page_size Number of entities to return. Maximum of 200.
|
|
872
|
+
# @return [Array<(TrainingListing, Fixnum, Hash)>] TrainingListing data, response status code and response headers
|
|
873
|
+
def get_knowledge_knowledgebase_language_trainings_with_http_info(knowledge_base_id, language_code, opts = {})
|
|
874
|
+
if @api_client.config.debugging
|
|
875
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.get_knowledge_knowledgebase_language_trainings ..."
|
|
876
|
+
end
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
880
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.get_knowledge_knowledgebase_language_trainings" if knowledge_base_id.nil?
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
# verify the required parameter 'language_code' is set
|
|
888
|
+
fail ArgumentError, "Missing the required parameter 'language_code' when calling KnowledgeApi.get_knowledge_knowledgebase_language_trainings" if language_code.nil?
|
|
889
|
+
|
|
890
|
+
# verify enum value
|
|
891
|
+
unless ['en-US'].include?(language_code)
|
|
892
|
+
fail ArgumentError, "invalid value for 'language_code', must be one of en-US"
|
|
893
|
+
end
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
# resource path
|
|
924
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings".sub('{format}','json').sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
|
|
925
|
+
|
|
926
|
+
# query parameters
|
|
927
|
+
query_params = {}
|
|
928
|
+
query_params[:'before'] = opts[:'before'] if opts[:'before']
|
|
929
|
+
query_params[:'after'] = opts[:'after'] if opts[:'after']
|
|
930
|
+
query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
|
|
931
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
932
|
+
|
|
933
|
+
# header parameters
|
|
934
|
+
header_params = {}
|
|
935
|
+
|
|
936
|
+
# HTTP header 'Accept' (if needed)
|
|
937
|
+
local_header_accept = ['application/json']
|
|
938
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
939
|
+
|
|
940
|
+
# HTTP header 'Content-Type'
|
|
941
|
+
local_header_content_type = ['application/json']
|
|
942
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
943
|
+
|
|
944
|
+
# form parameters
|
|
945
|
+
form_params = {}
|
|
946
|
+
|
|
947
|
+
# http body (model)
|
|
948
|
+
post_body = nil
|
|
949
|
+
|
|
950
|
+
auth_names = ['PureCloud OAuth']
|
|
951
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
952
|
+
:header_params => header_params,
|
|
953
|
+
:query_params => query_params,
|
|
954
|
+
:form_params => form_params,
|
|
955
|
+
:body => post_body,
|
|
956
|
+
:auth_names => auth_names,
|
|
957
|
+
:return_type => 'TrainingListing')
|
|
958
|
+
if @api_client.config.debugging
|
|
959
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#get_knowledge_knowledgebase_language_trainings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
960
|
+
end
|
|
961
|
+
return data, status_code, headers
|
|
962
|
+
end
|
|
963
|
+
|
|
964
|
+
# Get knowledge bases
|
|
965
|
+
#
|
|
966
|
+
# @param [Hash] opts the optional parameters
|
|
967
|
+
# @option opts [String] :before The cursor that points to the start of the set of entities that has been returned.
|
|
968
|
+
# @option opts [String] :after The cursor that points to the end of the set of entities that has been returned.
|
|
969
|
+
# @option opts [String] :limit Number of entities to return. Maximum of 200.
|
|
970
|
+
# @option opts [String] :page_size Number of entities to return. Maximum of 200.
|
|
971
|
+
# @return [KnowledgeBaseListing]
|
|
972
|
+
def get_knowledge_knowledgebases(opts = {})
|
|
973
|
+
data, _status_code, _headers = get_knowledge_knowledgebases_with_http_info(opts)
|
|
974
|
+
return data
|
|
975
|
+
end
|
|
976
|
+
|
|
977
|
+
# Get knowledge bases
|
|
978
|
+
#
|
|
979
|
+
# @param [Hash] opts the optional parameters
|
|
980
|
+
# @option opts [String] :before The cursor that points to the start of the set of entities that has been returned.
|
|
981
|
+
# @option opts [String] :after The cursor that points to the end of the set of entities that has been returned.
|
|
982
|
+
# @option opts [String] :limit Number of entities to return. Maximum of 200.
|
|
983
|
+
# @option opts [String] :page_size Number of entities to return. Maximum of 200.
|
|
984
|
+
# @return [Array<(KnowledgeBaseListing, Fixnum, Hash)>] KnowledgeBaseListing data, response status code and response headers
|
|
985
|
+
def get_knowledge_knowledgebases_with_http_info(opts = {})
|
|
986
|
+
if @api_client.config.debugging
|
|
987
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.get_knowledge_knowledgebases ..."
|
|
988
|
+
end
|
|
989
|
+
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
# resource path
|
|
1015
|
+
local_var_path = "/api/v2/knowledge/knowledgebases".sub('{format}','json')
|
|
1016
|
+
|
|
1017
|
+
# query parameters
|
|
1018
|
+
query_params = {}
|
|
1019
|
+
query_params[:'before'] = opts[:'before'] if opts[:'before']
|
|
1020
|
+
query_params[:'after'] = opts[:'after'] if opts[:'after']
|
|
1021
|
+
query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
|
|
1022
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
1023
|
+
|
|
1024
|
+
# header parameters
|
|
1025
|
+
header_params = {}
|
|
1026
|
+
|
|
1027
|
+
# HTTP header 'Accept' (if needed)
|
|
1028
|
+
local_header_accept = ['application/json']
|
|
1029
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1030
|
+
|
|
1031
|
+
# HTTP header 'Content-Type'
|
|
1032
|
+
local_header_content_type = ['application/json']
|
|
1033
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1034
|
+
|
|
1035
|
+
# form parameters
|
|
1036
|
+
form_params = {}
|
|
1037
|
+
|
|
1038
|
+
# http body (model)
|
|
1039
|
+
post_body = nil
|
|
1040
|
+
|
|
1041
|
+
auth_names = ['PureCloud OAuth']
|
|
1042
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1043
|
+
:header_params => header_params,
|
|
1044
|
+
:query_params => query_params,
|
|
1045
|
+
:form_params => form_params,
|
|
1046
|
+
:body => post_body,
|
|
1047
|
+
:auth_names => auth_names,
|
|
1048
|
+
:return_type => 'KnowledgeBaseListing')
|
|
1049
|
+
if @api_client.config.debugging
|
|
1050
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#get_knowledge_knowledgebases\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1051
|
+
end
|
|
1052
|
+
return data, status_code, headers
|
|
1053
|
+
end
|
|
1054
|
+
|
|
1055
|
+
# Update knowledge base
|
|
1056
|
+
#
|
|
1057
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1058
|
+
# @param body
|
|
1059
|
+
# @param [Hash] opts the optional parameters
|
|
1060
|
+
# @return [KnowledgeBase]
|
|
1061
|
+
def patch_knowledge_knowledgebase(knowledge_base_id, body, opts = {})
|
|
1062
|
+
data, _status_code, _headers = patch_knowledge_knowledgebase_with_http_info(knowledge_base_id, body, opts)
|
|
1063
|
+
return data
|
|
1064
|
+
end
|
|
1065
|
+
|
|
1066
|
+
# Update knowledge base
|
|
1067
|
+
#
|
|
1068
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1069
|
+
# @param body
|
|
1070
|
+
# @param [Hash] opts the optional parameters
|
|
1071
|
+
# @return [Array<(KnowledgeBase, Fixnum, Hash)>] KnowledgeBase data, response status code and response headers
|
|
1072
|
+
def patch_knowledge_knowledgebase_with_http_info(knowledge_base_id, body, opts = {})
|
|
1073
|
+
if @api_client.config.debugging
|
|
1074
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.patch_knowledge_knowledgebase ..."
|
|
1075
|
+
end
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
1079
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.patch_knowledge_knowledgebase" if knowledge_base_id.nil?
|
|
1080
|
+
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
# verify the required parameter 'body' is set
|
|
1087
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling KnowledgeApi.patch_knowledge_knowledgebase" if body.nil?
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
|
|
1093
|
+
# resource path
|
|
1094
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}".sub('{format}','json').sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s)
|
|
1095
|
+
|
|
1096
|
+
# query parameters
|
|
1097
|
+
query_params = {}
|
|
1098
|
+
|
|
1099
|
+
# header parameters
|
|
1100
|
+
header_params = {}
|
|
1101
|
+
|
|
1102
|
+
# HTTP header 'Accept' (if needed)
|
|
1103
|
+
local_header_accept = ['application/json']
|
|
1104
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1105
|
+
|
|
1106
|
+
# HTTP header 'Content-Type'
|
|
1107
|
+
local_header_content_type = ['application/json']
|
|
1108
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1109
|
+
|
|
1110
|
+
# form parameters
|
|
1111
|
+
form_params = {}
|
|
1112
|
+
|
|
1113
|
+
# http body (model)
|
|
1114
|
+
post_body = @api_client.object_to_http_body(body)
|
|
1115
|
+
|
|
1116
|
+
auth_names = ['PureCloud OAuth']
|
|
1117
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1118
|
+
:header_params => header_params,
|
|
1119
|
+
:query_params => query_params,
|
|
1120
|
+
:form_params => form_params,
|
|
1121
|
+
:body => post_body,
|
|
1122
|
+
:auth_names => auth_names,
|
|
1123
|
+
:return_type => 'KnowledgeBase')
|
|
1124
|
+
if @api_client.config.debugging
|
|
1125
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#patch_knowledge_knowledgebase\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1126
|
+
end
|
|
1127
|
+
return data, status_code, headers
|
|
1128
|
+
end
|
|
1129
|
+
|
|
1130
|
+
# Update category
|
|
1131
|
+
#
|
|
1132
|
+
# @param category_id Category ID
|
|
1133
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1134
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
1135
|
+
# @param body
|
|
1136
|
+
# @param [Hash] opts the optional parameters
|
|
1137
|
+
# @return [KnowledgeExtendedCategory]
|
|
1138
|
+
def patch_knowledge_knowledgebase_language_category(category_id, knowledge_base_id, language_code, body, opts = {})
|
|
1139
|
+
data, _status_code, _headers = patch_knowledge_knowledgebase_language_category_with_http_info(category_id, knowledge_base_id, language_code, body, opts)
|
|
1140
|
+
return data
|
|
1141
|
+
end
|
|
1142
|
+
|
|
1143
|
+
# Update category
|
|
1144
|
+
#
|
|
1145
|
+
# @param category_id Category ID
|
|
1146
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1147
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
1148
|
+
# @param body
|
|
1149
|
+
# @param [Hash] opts the optional parameters
|
|
1150
|
+
# @return [Array<(KnowledgeExtendedCategory, Fixnum, Hash)>] KnowledgeExtendedCategory data, response status code and response headers
|
|
1151
|
+
def patch_knowledge_knowledgebase_language_category_with_http_info(category_id, knowledge_base_id, language_code, body, opts = {})
|
|
1152
|
+
if @api_client.config.debugging
|
|
1153
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.patch_knowledge_knowledgebase_language_category ..."
|
|
1154
|
+
end
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+
# verify the required parameter 'category_id' is set
|
|
1158
|
+
fail ArgumentError, "Missing the required parameter 'category_id' when calling KnowledgeApi.patch_knowledge_knowledgebase_language_category" if category_id.nil?
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
1166
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.patch_knowledge_knowledgebase_language_category" if knowledge_base_id.nil?
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
# verify the required parameter 'language_code' is set
|
|
1174
|
+
fail ArgumentError, "Missing the required parameter 'language_code' when calling KnowledgeApi.patch_knowledge_knowledgebase_language_category" if language_code.nil?
|
|
1175
|
+
|
|
1176
|
+
# verify enum value
|
|
1177
|
+
unless ['en-US'].include?(language_code)
|
|
1178
|
+
fail ArgumentError, "invalid value for 'language_code', must be one of en-US"
|
|
1179
|
+
end
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
# verify the required parameter 'body' is set
|
|
1187
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling KnowledgeApi.patch_knowledge_knowledgebase_language_category" if body.nil?
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
# resource path
|
|
1194
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}".sub('{format}','json').sub('{' + 'categoryId' + '}', category_id.to_s).sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
|
|
1195
|
+
|
|
1196
|
+
# query parameters
|
|
1197
|
+
query_params = {}
|
|
1198
|
+
|
|
1199
|
+
# header parameters
|
|
1200
|
+
header_params = {}
|
|
1201
|
+
|
|
1202
|
+
# HTTP header 'Accept' (if needed)
|
|
1203
|
+
local_header_accept = ['application/json']
|
|
1204
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1205
|
+
|
|
1206
|
+
# HTTP header 'Content-Type'
|
|
1207
|
+
local_header_content_type = ['application/json']
|
|
1208
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1209
|
+
|
|
1210
|
+
# form parameters
|
|
1211
|
+
form_params = {}
|
|
1212
|
+
|
|
1213
|
+
# http body (model)
|
|
1214
|
+
post_body = @api_client.object_to_http_body(body)
|
|
1215
|
+
|
|
1216
|
+
auth_names = ['PureCloud OAuth']
|
|
1217
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1218
|
+
:header_params => header_params,
|
|
1219
|
+
:query_params => query_params,
|
|
1220
|
+
:form_params => form_params,
|
|
1221
|
+
:body => post_body,
|
|
1222
|
+
:auth_names => auth_names,
|
|
1223
|
+
:return_type => 'KnowledgeExtendedCategory')
|
|
1224
|
+
if @api_client.config.debugging
|
|
1225
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#patch_knowledge_knowledgebase_language_category\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1226
|
+
end
|
|
1227
|
+
return data, status_code, headers
|
|
1228
|
+
end
|
|
1229
|
+
|
|
1230
|
+
# Update document
|
|
1231
|
+
#
|
|
1232
|
+
# @param document_id Document ID
|
|
1233
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1234
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
1235
|
+
# @param body
|
|
1236
|
+
# @param [Hash] opts the optional parameters
|
|
1237
|
+
# @return [KnowledgeDocument]
|
|
1238
|
+
def patch_knowledge_knowledgebase_language_document(document_id, knowledge_base_id, language_code, body, opts = {})
|
|
1239
|
+
data, _status_code, _headers = patch_knowledge_knowledgebase_language_document_with_http_info(document_id, knowledge_base_id, language_code, body, opts)
|
|
1240
|
+
return data
|
|
1241
|
+
end
|
|
1242
|
+
|
|
1243
|
+
# Update document
|
|
1244
|
+
#
|
|
1245
|
+
# @param document_id Document ID
|
|
1246
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1247
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
1248
|
+
# @param body
|
|
1249
|
+
# @param [Hash] opts the optional parameters
|
|
1250
|
+
# @return [Array<(KnowledgeDocument, Fixnum, Hash)>] KnowledgeDocument data, response status code and response headers
|
|
1251
|
+
def patch_knowledge_knowledgebase_language_document_with_http_info(document_id, knowledge_base_id, language_code, body, opts = {})
|
|
1252
|
+
if @api_client.config.debugging
|
|
1253
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.patch_knowledge_knowledgebase_language_document ..."
|
|
1254
|
+
end
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
# verify the required parameter 'document_id' is set
|
|
1258
|
+
fail ArgumentError, "Missing the required parameter 'document_id' when calling KnowledgeApi.patch_knowledge_knowledgebase_language_document" if document_id.nil?
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
1266
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.patch_knowledge_knowledgebase_language_document" if knowledge_base_id.nil?
|
|
1267
|
+
|
|
1268
|
+
|
|
1269
|
+
|
|
1270
|
+
|
|
1271
|
+
|
|
1272
|
+
|
|
1273
|
+
# verify the required parameter 'language_code' is set
|
|
1274
|
+
fail ArgumentError, "Missing the required parameter 'language_code' when calling KnowledgeApi.patch_knowledge_knowledgebase_language_document" if language_code.nil?
|
|
1275
|
+
|
|
1276
|
+
# verify enum value
|
|
1277
|
+
unless ['en-US'].include?(language_code)
|
|
1278
|
+
fail ArgumentError, "invalid value for 'language_code', must be one of en-US"
|
|
1279
|
+
end
|
|
1280
|
+
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
# verify the required parameter 'body' is set
|
|
1287
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling KnowledgeApi.patch_knowledge_knowledgebase_language_document" if body.nil?
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
# resource path
|
|
1294
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
|
|
1295
|
+
|
|
1296
|
+
# query parameters
|
|
1297
|
+
query_params = {}
|
|
1298
|
+
|
|
1299
|
+
# header parameters
|
|
1300
|
+
header_params = {}
|
|
1301
|
+
|
|
1302
|
+
# HTTP header 'Accept' (if needed)
|
|
1303
|
+
local_header_accept = ['application/json']
|
|
1304
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1305
|
+
|
|
1306
|
+
# HTTP header 'Content-Type'
|
|
1307
|
+
local_header_content_type = ['application/json']
|
|
1308
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1309
|
+
|
|
1310
|
+
# form parameters
|
|
1311
|
+
form_params = {}
|
|
1312
|
+
|
|
1313
|
+
# http body (model)
|
|
1314
|
+
post_body = @api_client.object_to_http_body(body)
|
|
1315
|
+
|
|
1316
|
+
auth_names = ['PureCloud OAuth']
|
|
1317
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1318
|
+
:header_params => header_params,
|
|
1319
|
+
:query_params => query_params,
|
|
1320
|
+
:form_params => form_params,
|
|
1321
|
+
:body => post_body,
|
|
1322
|
+
:auth_names => auth_names,
|
|
1323
|
+
:return_type => 'KnowledgeDocument')
|
|
1324
|
+
if @api_client.config.debugging
|
|
1325
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#patch_knowledge_knowledgebase_language_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1326
|
+
end
|
|
1327
|
+
return data, status_code, headers
|
|
1328
|
+
end
|
|
1329
|
+
|
|
1330
|
+
# Update documents collection
|
|
1331
|
+
#
|
|
1332
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1333
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
1334
|
+
# @param body
|
|
1335
|
+
# @param [Hash] opts the optional parameters
|
|
1336
|
+
# @return [DocumentListing]
|
|
1337
|
+
def patch_knowledge_knowledgebase_language_documents(knowledge_base_id, language_code, body, opts = {})
|
|
1338
|
+
data, _status_code, _headers = patch_knowledge_knowledgebase_language_documents_with_http_info(knowledge_base_id, language_code, body, opts)
|
|
1339
|
+
return data
|
|
1340
|
+
end
|
|
1341
|
+
|
|
1342
|
+
# Update documents collection
|
|
1343
|
+
#
|
|
1344
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1345
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
1346
|
+
# @param body
|
|
1347
|
+
# @param [Hash] opts the optional parameters
|
|
1348
|
+
# @return [Array<(DocumentListing, Fixnum, Hash)>] DocumentListing data, response status code and response headers
|
|
1349
|
+
def patch_knowledge_knowledgebase_language_documents_with_http_info(knowledge_base_id, language_code, body, opts = {})
|
|
1350
|
+
if @api_client.config.debugging
|
|
1351
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.patch_knowledge_knowledgebase_language_documents ..."
|
|
1352
|
+
end
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
1356
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.patch_knowledge_knowledgebase_language_documents" if knowledge_base_id.nil?
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
# verify the required parameter 'language_code' is set
|
|
1364
|
+
fail ArgumentError, "Missing the required parameter 'language_code' when calling KnowledgeApi.patch_knowledge_knowledgebase_language_documents" if language_code.nil?
|
|
1365
|
+
|
|
1366
|
+
# verify enum value
|
|
1367
|
+
unless ['en-US'].include?(language_code)
|
|
1368
|
+
fail ArgumentError, "invalid value for 'language_code', must be one of en-US"
|
|
1369
|
+
end
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
|
|
1376
|
+
# verify the required parameter 'body' is set
|
|
1377
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling KnowledgeApi.patch_knowledge_knowledgebase_language_documents" if body.nil?
|
|
1378
|
+
|
|
1379
|
+
|
|
1380
|
+
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
# resource path
|
|
1384
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents".sub('{format}','json').sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
|
|
1385
|
+
|
|
1386
|
+
# query parameters
|
|
1387
|
+
query_params = {}
|
|
1388
|
+
|
|
1389
|
+
# header parameters
|
|
1390
|
+
header_params = {}
|
|
1391
|
+
|
|
1392
|
+
# HTTP header 'Accept' (if needed)
|
|
1393
|
+
local_header_accept = ['application/json']
|
|
1394
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1395
|
+
|
|
1396
|
+
# HTTP header 'Content-Type'
|
|
1397
|
+
local_header_content_type = ['application/json']
|
|
1398
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1399
|
+
|
|
1400
|
+
# form parameters
|
|
1401
|
+
form_params = {}
|
|
1402
|
+
|
|
1403
|
+
# http body (model)
|
|
1404
|
+
post_body = @api_client.object_to_http_body(body)
|
|
1405
|
+
|
|
1406
|
+
auth_names = ['PureCloud OAuth']
|
|
1407
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1408
|
+
:header_params => header_params,
|
|
1409
|
+
:query_params => query_params,
|
|
1410
|
+
:form_params => form_params,
|
|
1411
|
+
:body => post_body,
|
|
1412
|
+
:auth_names => auth_names,
|
|
1413
|
+
:return_type => 'DocumentListing')
|
|
1414
|
+
if @api_client.config.debugging
|
|
1415
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#patch_knowledge_knowledgebase_language_documents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1416
|
+
end
|
|
1417
|
+
return data, status_code, headers
|
|
1418
|
+
end
|
|
1419
|
+
|
|
1420
|
+
# Create new category
|
|
1421
|
+
#
|
|
1422
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1423
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
1424
|
+
# @param body
|
|
1425
|
+
# @param [Hash] opts the optional parameters
|
|
1426
|
+
# @return [KnowledgeExtendedCategory]
|
|
1427
|
+
def post_knowledge_knowledgebase_language_categories(knowledge_base_id, language_code, body, opts = {})
|
|
1428
|
+
data, _status_code, _headers = post_knowledge_knowledgebase_language_categories_with_http_info(knowledge_base_id, language_code, body, opts)
|
|
1429
|
+
return data
|
|
1430
|
+
end
|
|
1431
|
+
|
|
1432
|
+
# Create new category
|
|
1433
|
+
#
|
|
1434
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1435
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
1436
|
+
# @param body
|
|
1437
|
+
# @param [Hash] opts the optional parameters
|
|
1438
|
+
# @return [Array<(KnowledgeExtendedCategory, Fixnum, Hash)>] KnowledgeExtendedCategory data, response status code and response headers
|
|
1439
|
+
def post_knowledge_knowledgebase_language_categories_with_http_info(knowledge_base_id, language_code, body, opts = {})
|
|
1440
|
+
if @api_client.config.debugging
|
|
1441
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.post_knowledge_knowledgebase_language_categories ..."
|
|
1442
|
+
end
|
|
1443
|
+
|
|
1444
|
+
|
|
1445
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
1446
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.post_knowledge_knowledgebase_language_categories" if knowledge_base_id.nil?
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
|
|
1452
|
+
|
|
1453
|
+
# verify the required parameter 'language_code' is set
|
|
1454
|
+
fail ArgumentError, "Missing the required parameter 'language_code' when calling KnowledgeApi.post_knowledge_knowledgebase_language_categories" if language_code.nil?
|
|
1455
|
+
|
|
1456
|
+
# verify enum value
|
|
1457
|
+
unless ['en-US'].include?(language_code)
|
|
1458
|
+
fail ArgumentError, "invalid value for 'language_code', must be one of en-US"
|
|
1459
|
+
end
|
|
1460
|
+
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
|
+
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
# verify the required parameter 'body' is set
|
|
1467
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling KnowledgeApi.post_knowledge_knowledgebase_language_categories" if body.nil?
|
|
1468
|
+
|
|
1469
|
+
|
|
1470
|
+
|
|
1471
|
+
|
|
1472
|
+
|
|
1473
|
+
# resource path
|
|
1474
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories".sub('{format}','json').sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
|
|
1475
|
+
|
|
1476
|
+
# query parameters
|
|
1477
|
+
query_params = {}
|
|
1478
|
+
|
|
1479
|
+
# header parameters
|
|
1480
|
+
header_params = {}
|
|
1481
|
+
|
|
1482
|
+
# HTTP header 'Accept' (if needed)
|
|
1483
|
+
local_header_accept = ['application/json']
|
|
1484
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1485
|
+
|
|
1486
|
+
# HTTP header 'Content-Type'
|
|
1487
|
+
local_header_content_type = ['application/json']
|
|
1488
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1489
|
+
|
|
1490
|
+
# form parameters
|
|
1491
|
+
form_params = {}
|
|
1492
|
+
|
|
1493
|
+
# http body (model)
|
|
1494
|
+
post_body = @api_client.object_to_http_body(body)
|
|
1495
|
+
|
|
1496
|
+
auth_names = ['PureCloud OAuth']
|
|
1497
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1498
|
+
:header_params => header_params,
|
|
1499
|
+
:query_params => query_params,
|
|
1500
|
+
:form_params => form_params,
|
|
1501
|
+
:body => post_body,
|
|
1502
|
+
:auth_names => auth_names,
|
|
1503
|
+
:return_type => 'KnowledgeExtendedCategory')
|
|
1504
|
+
if @api_client.config.debugging
|
|
1505
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#post_knowledge_knowledgebase_language_categories\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1506
|
+
end
|
|
1507
|
+
return data, status_code, headers
|
|
1508
|
+
end
|
|
1509
|
+
|
|
1510
|
+
# Create document
|
|
1511
|
+
#
|
|
1512
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1513
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
1514
|
+
# @param body
|
|
1515
|
+
# @param [Hash] opts the optional parameters
|
|
1516
|
+
# @return [KnowledgeDocument]
|
|
1517
|
+
def post_knowledge_knowledgebase_language_documents(knowledge_base_id, language_code, body, opts = {})
|
|
1518
|
+
data, _status_code, _headers = post_knowledge_knowledgebase_language_documents_with_http_info(knowledge_base_id, language_code, body, opts)
|
|
1519
|
+
return data
|
|
1520
|
+
end
|
|
1521
|
+
|
|
1522
|
+
# Create document
|
|
1523
|
+
#
|
|
1524
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1525
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
1526
|
+
# @param body
|
|
1527
|
+
# @param [Hash] opts the optional parameters
|
|
1528
|
+
# @return [Array<(KnowledgeDocument, Fixnum, Hash)>] KnowledgeDocument data, response status code and response headers
|
|
1529
|
+
def post_knowledge_knowledgebase_language_documents_with_http_info(knowledge_base_id, language_code, body, opts = {})
|
|
1530
|
+
if @api_client.config.debugging
|
|
1531
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.post_knowledge_knowledgebase_language_documents ..."
|
|
1532
|
+
end
|
|
1533
|
+
|
|
1534
|
+
|
|
1535
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
1536
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.post_knowledge_knowledgebase_language_documents" if knowledge_base_id.nil?
|
|
1537
|
+
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
|
|
1543
|
+
# verify the required parameter 'language_code' is set
|
|
1544
|
+
fail ArgumentError, "Missing the required parameter 'language_code' when calling KnowledgeApi.post_knowledge_knowledgebase_language_documents" if language_code.nil?
|
|
1545
|
+
|
|
1546
|
+
# verify enum value
|
|
1547
|
+
unless ['en-US'].include?(language_code)
|
|
1548
|
+
fail ArgumentError, "invalid value for 'language_code', must be one of en-US"
|
|
1549
|
+
end
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
|
|
1556
|
+
# verify the required parameter 'body' is set
|
|
1557
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling KnowledgeApi.post_knowledge_knowledgebase_language_documents" if body.nil?
|
|
1558
|
+
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
|
+
|
|
1562
|
+
|
|
1563
|
+
# resource path
|
|
1564
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents".sub('{format}','json').sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
|
|
1565
|
+
|
|
1566
|
+
# query parameters
|
|
1567
|
+
query_params = {}
|
|
1568
|
+
|
|
1569
|
+
# header parameters
|
|
1570
|
+
header_params = {}
|
|
1571
|
+
|
|
1572
|
+
# HTTP header 'Accept' (if needed)
|
|
1573
|
+
local_header_accept = ['application/json']
|
|
1574
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1575
|
+
|
|
1576
|
+
# HTTP header 'Content-Type'
|
|
1577
|
+
local_header_content_type = ['application/json']
|
|
1578
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1579
|
+
|
|
1580
|
+
# form parameters
|
|
1581
|
+
form_params = {}
|
|
1582
|
+
|
|
1583
|
+
# http body (model)
|
|
1584
|
+
post_body = @api_client.object_to_http_body(body)
|
|
1585
|
+
|
|
1586
|
+
auth_names = ['PureCloud OAuth']
|
|
1587
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1588
|
+
:header_params => header_params,
|
|
1589
|
+
:query_params => query_params,
|
|
1590
|
+
:form_params => form_params,
|
|
1591
|
+
:body => post_body,
|
|
1592
|
+
:auth_names => auth_names,
|
|
1593
|
+
:return_type => 'KnowledgeDocument')
|
|
1594
|
+
if @api_client.config.debugging
|
|
1595
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#post_knowledge_knowledgebase_language_documents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1596
|
+
end
|
|
1597
|
+
return data, status_code, headers
|
|
1598
|
+
end
|
|
1599
|
+
|
|
1600
|
+
# Promote trained documents from draft state to active.
|
|
1601
|
+
#
|
|
1602
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1603
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
1604
|
+
# @param training_id Training ID
|
|
1605
|
+
# @param [Hash] opts the optional parameters
|
|
1606
|
+
# @return [KnowledgeTraining]
|
|
1607
|
+
def post_knowledge_knowledgebase_language_training_promote(knowledge_base_id, language_code, training_id, opts = {})
|
|
1608
|
+
data, _status_code, _headers = post_knowledge_knowledgebase_language_training_promote_with_http_info(knowledge_base_id, language_code, training_id, opts)
|
|
1609
|
+
return data
|
|
1610
|
+
end
|
|
1611
|
+
|
|
1612
|
+
# Promote trained documents from draft state to active.
|
|
1613
|
+
#
|
|
1614
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1615
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
1616
|
+
# @param training_id Training ID
|
|
1617
|
+
# @param [Hash] opts the optional parameters
|
|
1618
|
+
# @return [Array<(KnowledgeTraining, Fixnum, Hash)>] KnowledgeTraining data, response status code and response headers
|
|
1619
|
+
def post_knowledge_knowledgebase_language_training_promote_with_http_info(knowledge_base_id, language_code, training_id, opts = {})
|
|
1620
|
+
if @api_client.config.debugging
|
|
1621
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.post_knowledge_knowledgebase_language_training_promote ..."
|
|
1622
|
+
end
|
|
1623
|
+
|
|
1624
|
+
|
|
1625
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
1626
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.post_knowledge_knowledgebase_language_training_promote" if knowledge_base_id.nil?
|
|
1627
|
+
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
|
|
1633
|
+
# verify the required parameter 'language_code' is set
|
|
1634
|
+
fail ArgumentError, "Missing the required parameter 'language_code' when calling KnowledgeApi.post_knowledge_knowledgebase_language_training_promote" if language_code.nil?
|
|
1635
|
+
|
|
1636
|
+
# verify enum value
|
|
1637
|
+
unless ['en-US'].include?(language_code)
|
|
1638
|
+
fail ArgumentError, "invalid value for 'language_code', must be one of en-US"
|
|
1639
|
+
end
|
|
1640
|
+
|
|
1641
|
+
|
|
1642
|
+
|
|
1643
|
+
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
|
+
# verify the required parameter 'training_id' is set
|
|
1647
|
+
fail ArgumentError, "Missing the required parameter 'training_id' when calling KnowledgeApi.post_knowledge_knowledgebase_language_training_promote" if training_id.nil?
|
|
1648
|
+
|
|
1649
|
+
|
|
1650
|
+
|
|
1651
|
+
|
|
1652
|
+
|
|
1653
|
+
# resource path
|
|
1654
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings/{trainingId}/promote".sub('{format}','json').sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s).sub('{' + 'trainingId' + '}', training_id.to_s)
|
|
1655
|
+
|
|
1656
|
+
# query parameters
|
|
1657
|
+
query_params = {}
|
|
1658
|
+
|
|
1659
|
+
# header parameters
|
|
1660
|
+
header_params = {}
|
|
1661
|
+
|
|
1662
|
+
# HTTP header 'Accept' (if needed)
|
|
1663
|
+
local_header_accept = ['application/json']
|
|
1664
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1665
|
+
|
|
1666
|
+
# HTTP header 'Content-Type'
|
|
1667
|
+
local_header_content_type = ['application/json']
|
|
1668
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1669
|
+
|
|
1670
|
+
# form parameters
|
|
1671
|
+
form_params = {}
|
|
1672
|
+
|
|
1673
|
+
# http body (model)
|
|
1674
|
+
post_body = nil
|
|
1675
|
+
|
|
1676
|
+
auth_names = ['PureCloud OAuth']
|
|
1677
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1678
|
+
:header_params => header_params,
|
|
1679
|
+
:query_params => query_params,
|
|
1680
|
+
:form_params => form_params,
|
|
1681
|
+
:body => post_body,
|
|
1682
|
+
:auth_names => auth_names,
|
|
1683
|
+
:return_type => 'KnowledgeTraining')
|
|
1684
|
+
if @api_client.config.debugging
|
|
1685
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#post_knowledge_knowledgebase_language_training_promote\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1686
|
+
end
|
|
1687
|
+
return data, status_code, headers
|
|
1688
|
+
end
|
|
1689
|
+
|
|
1690
|
+
# Trigger training
|
|
1691
|
+
#
|
|
1692
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1693
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
1694
|
+
# @param [Hash] opts the optional parameters
|
|
1695
|
+
# @return [KnowledgeTraining]
|
|
1696
|
+
def post_knowledge_knowledgebase_language_trainings(knowledge_base_id, language_code, opts = {})
|
|
1697
|
+
data, _status_code, _headers = post_knowledge_knowledgebase_language_trainings_with_http_info(knowledge_base_id, language_code, opts)
|
|
1698
|
+
return data
|
|
1699
|
+
end
|
|
1700
|
+
|
|
1701
|
+
# Trigger training
|
|
1702
|
+
#
|
|
1703
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1704
|
+
# @param language_code Language code, format: iso2-LOCALE
|
|
1705
|
+
# @param [Hash] opts the optional parameters
|
|
1706
|
+
# @return [Array<(KnowledgeTraining, Fixnum, Hash)>] KnowledgeTraining data, response status code and response headers
|
|
1707
|
+
def post_knowledge_knowledgebase_language_trainings_with_http_info(knowledge_base_id, language_code, opts = {})
|
|
1708
|
+
if @api_client.config.debugging
|
|
1709
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.post_knowledge_knowledgebase_language_trainings ..."
|
|
1710
|
+
end
|
|
1711
|
+
|
|
1712
|
+
|
|
1713
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
1714
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.post_knowledge_knowledgebase_language_trainings" if knowledge_base_id.nil?
|
|
1715
|
+
|
|
1716
|
+
|
|
1717
|
+
|
|
1718
|
+
|
|
1719
|
+
|
|
1720
|
+
|
|
1721
|
+
# verify the required parameter 'language_code' is set
|
|
1722
|
+
fail ArgumentError, "Missing the required parameter 'language_code' when calling KnowledgeApi.post_knowledge_knowledgebase_language_trainings" if language_code.nil?
|
|
1723
|
+
|
|
1724
|
+
# verify enum value
|
|
1725
|
+
unless ['en-US'].include?(language_code)
|
|
1726
|
+
fail ArgumentError, "invalid value for 'language_code', must be one of en-US"
|
|
1727
|
+
end
|
|
1728
|
+
|
|
1729
|
+
|
|
1730
|
+
|
|
1731
|
+
|
|
1732
|
+
|
|
1733
|
+
# resource path
|
|
1734
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings".sub('{format}','json').sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
|
|
1735
|
+
|
|
1736
|
+
# query parameters
|
|
1737
|
+
query_params = {}
|
|
1738
|
+
|
|
1739
|
+
# header parameters
|
|
1740
|
+
header_params = {}
|
|
1741
|
+
|
|
1742
|
+
# HTTP header 'Accept' (if needed)
|
|
1743
|
+
local_header_accept = ['application/json']
|
|
1744
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1745
|
+
|
|
1746
|
+
# HTTP header 'Content-Type'
|
|
1747
|
+
local_header_content_type = ['application/json']
|
|
1748
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1749
|
+
|
|
1750
|
+
# form parameters
|
|
1751
|
+
form_params = {}
|
|
1752
|
+
|
|
1753
|
+
# http body (model)
|
|
1754
|
+
post_body = nil
|
|
1755
|
+
|
|
1756
|
+
auth_names = ['PureCloud OAuth']
|
|
1757
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1758
|
+
:header_params => header_params,
|
|
1759
|
+
:query_params => query_params,
|
|
1760
|
+
:form_params => form_params,
|
|
1761
|
+
:body => post_body,
|
|
1762
|
+
:auth_names => auth_names,
|
|
1763
|
+
:return_type => 'KnowledgeTraining')
|
|
1764
|
+
if @api_client.config.debugging
|
|
1765
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#post_knowledge_knowledgebase_language_trainings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1766
|
+
end
|
|
1767
|
+
return data, status_code, headers
|
|
1768
|
+
end
|
|
1769
|
+
|
|
1770
|
+
# Search Documents
|
|
1771
|
+
#
|
|
1772
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1773
|
+
# @param [Hash] opts the optional parameters
|
|
1774
|
+
# @option opts [KnowledgeSearchRequest] :body
|
|
1775
|
+
# @return [KnowledgeSearchResponse]
|
|
1776
|
+
def post_knowledge_knowledgebase_search(knowledge_base_id, opts = {})
|
|
1777
|
+
data, _status_code, _headers = post_knowledge_knowledgebase_search_with_http_info(knowledge_base_id, opts)
|
|
1778
|
+
return data
|
|
1779
|
+
end
|
|
1780
|
+
|
|
1781
|
+
# Search Documents
|
|
1782
|
+
#
|
|
1783
|
+
# @param knowledge_base_id Knowledge base ID
|
|
1784
|
+
# @param [Hash] opts the optional parameters
|
|
1785
|
+
# @option opts [KnowledgeSearchRequest] :body
|
|
1786
|
+
# @return [Array<(KnowledgeSearchResponse, Fixnum, Hash)>] KnowledgeSearchResponse data, response status code and response headers
|
|
1787
|
+
def post_knowledge_knowledgebase_search_with_http_info(knowledge_base_id, opts = {})
|
|
1788
|
+
if @api_client.config.debugging
|
|
1789
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.post_knowledge_knowledgebase_search ..."
|
|
1790
|
+
end
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
# verify the required parameter 'knowledge_base_id' is set
|
|
1794
|
+
fail ArgumentError, "Missing the required parameter 'knowledge_base_id' when calling KnowledgeApi.post_knowledge_knowledgebase_search" if knowledge_base_id.nil?
|
|
1795
|
+
|
|
1796
|
+
|
|
1797
|
+
|
|
1798
|
+
|
|
1799
|
+
|
|
1800
|
+
|
|
1801
|
+
|
|
1802
|
+
|
|
1803
|
+
|
|
1804
|
+
|
|
1805
|
+
|
|
1806
|
+
# resource path
|
|
1807
|
+
local_var_path = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search".sub('{format}','json').sub('{' + 'knowledgeBaseId' + '}', knowledge_base_id.to_s)
|
|
1808
|
+
|
|
1809
|
+
# query parameters
|
|
1810
|
+
query_params = {}
|
|
1811
|
+
|
|
1812
|
+
# header parameters
|
|
1813
|
+
header_params = {}
|
|
1814
|
+
|
|
1815
|
+
# HTTP header 'Accept' (if needed)
|
|
1816
|
+
local_header_accept = ['application/json']
|
|
1817
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1818
|
+
|
|
1819
|
+
# HTTP header 'Content-Type'
|
|
1820
|
+
local_header_content_type = ['application/json']
|
|
1821
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1822
|
+
|
|
1823
|
+
# form parameters
|
|
1824
|
+
form_params = {}
|
|
1825
|
+
|
|
1826
|
+
# http body (model)
|
|
1827
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1828
|
+
|
|
1829
|
+
auth_names = ['PureCloud OAuth']
|
|
1830
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1831
|
+
:header_params => header_params,
|
|
1832
|
+
:query_params => query_params,
|
|
1833
|
+
:form_params => form_params,
|
|
1834
|
+
:body => post_body,
|
|
1835
|
+
:auth_names => auth_names,
|
|
1836
|
+
:return_type => 'KnowledgeSearchResponse')
|
|
1837
|
+
if @api_client.config.debugging
|
|
1838
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#post_knowledge_knowledgebase_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1839
|
+
end
|
|
1840
|
+
return data, status_code, headers
|
|
1841
|
+
end
|
|
1842
|
+
|
|
1843
|
+
# Create new knowledge base
|
|
1844
|
+
#
|
|
1845
|
+
# @param body
|
|
1846
|
+
# @param [Hash] opts the optional parameters
|
|
1847
|
+
# @return [KnowledgeBase]
|
|
1848
|
+
def post_knowledge_knowledgebases(body, opts = {})
|
|
1849
|
+
data, _status_code, _headers = post_knowledge_knowledgebases_with_http_info(body, opts)
|
|
1850
|
+
return data
|
|
1851
|
+
end
|
|
1852
|
+
|
|
1853
|
+
# Create new knowledge base
|
|
1854
|
+
#
|
|
1855
|
+
# @param body
|
|
1856
|
+
# @param [Hash] opts the optional parameters
|
|
1857
|
+
# @return [Array<(KnowledgeBase, Fixnum, Hash)>] KnowledgeBase data, response status code and response headers
|
|
1858
|
+
def post_knowledge_knowledgebases_with_http_info(body, opts = {})
|
|
1859
|
+
if @api_client.config.debugging
|
|
1860
|
+
@api_client.config.logger.debug "Calling API: KnowledgeApi.post_knowledge_knowledgebases ..."
|
|
1861
|
+
end
|
|
1862
|
+
|
|
1863
|
+
|
|
1864
|
+
# verify the required parameter 'body' is set
|
|
1865
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling KnowledgeApi.post_knowledge_knowledgebases" if body.nil?
|
|
1866
|
+
|
|
1867
|
+
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
|
+
|
|
1871
|
+
# resource path
|
|
1872
|
+
local_var_path = "/api/v2/knowledge/knowledgebases".sub('{format}','json')
|
|
1873
|
+
|
|
1874
|
+
# query parameters
|
|
1875
|
+
query_params = {}
|
|
1876
|
+
|
|
1877
|
+
# header parameters
|
|
1878
|
+
header_params = {}
|
|
1879
|
+
|
|
1880
|
+
# HTTP header 'Accept' (if needed)
|
|
1881
|
+
local_header_accept = ['application/json']
|
|
1882
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1883
|
+
|
|
1884
|
+
# HTTP header 'Content-Type'
|
|
1885
|
+
local_header_content_type = ['application/json']
|
|
1886
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1887
|
+
|
|
1888
|
+
# form parameters
|
|
1889
|
+
form_params = {}
|
|
1890
|
+
|
|
1891
|
+
# http body (model)
|
|
1892
|
+
post_body = @api_client.object_to_http_body(body)
|
|
1893
|
+
|
|
1894
|
+
auth_names = ['PureCloud OAuth']
|
|
1895
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1896
|
+
:header_params => header_params,
|
|
1897
|
+
:query_params => query_params,
|
|
1898
|
+
:form_params => form_params,
|
|
1899
|
+
:body => post_body,
|
|
1900
|
+
:auth_names => auth_names,
|
|
1901
|
+
:return_type => 'KnowledgeBase')
|
|
1902
|
+
if @api_client.config.debugging
|
|
1903
|
+
@api_client.config.logger.debug "API called: KnowledgeApi#post_knowledge_knowledgebases\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1904
|
+
end
|
|
1905
|
+
return data, status_code, headers
|
|
1906
|
+
end
|
|
1907
|
+
end
|
|
1908
|
+
end
|