purecloudplatformclientv2 85.0.1 → 90.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 +5 -5
- data/docs/ActionEntityListing.md +1 -1
- data/docs/AgentActivityEntityListing.md +1 -1
- data/docs/ApiUsageQuery.md +16 -0
- data/docs/ApiUsageQueryResult.md +14 -0
- data/docs/ApiUsageRow.md +25 -0
- data/docs/ArchitectApi.md +132 -0
- data/docs/ArrayNode.md +5 -5
- data/docs/AttemptLimitsEntityListing.md +1 -1
- data/docs/AuditApi.md +60 -0
- data/docs/AuditQueryEntity.md +14 -0
- data/docs/AuditQueryExecutionStatusResponse.md +1 -0
- data/docs/AuditQueryRequest.md +1 -0
- data/docs/AuditQueryService.md +14 -0
- data/docs/AuditQueryServiceMapping.md +13 -0
- data/docs/AuditQuerySort.md +14 -0
- data/docs/AuthzDivisionEntityListing.md +1 -1
- data/docs/BuRescheduleRequest.md +2 -2
- data/docs/CalibrationEntityListing.md +1 -1
- data/docs/Call.md +1 -0
- data/docs/CallBasic.md +1 -0
- data/docs/CallConversationEntityListing.md +1 -1
- data/docs/CallHistoryConversationEntityListing.md +1 -1
- data/docs/CallableTimeSetEntityListing.md +1 -1
- data/docs/Callback.md +1 -0
- data/docs/CallbackBasic.md +1 -0
- data/docs/CallbackConversationEntityListing.md +1 -1
- data/docs/CampaignDivisionViewListing.md +1 -1
- data/docs/CampaignEntityListing.md +1 -1
- data/docs/CampaignRuleEntityListing.md +1 -1
- data/docs/CampaignSequenceEntityListing.md +1 -1
- data/docs/CertificateAuthorityEntityListing.md +1 -1
- data/docs/ChatConversationEntityListing.md +1 -1
- data/docs/ClientAppEntityListing.md +1 -1
- 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 +1 -1
- data/docs/Cobrowsesession.md +1 -0
- data/docs/CommandStatusEntityListing.md +1 -1
- data/docs/ConsumedResourcesEntityListing.md +1 -1
- data/docs/ConsumingResourcesEntityListing.md +1 -1
- data/docs/ContactListDivisionViewListing.md +1 -1
- data/docs/ContactListEntityListing.md +1 -1
- data/docs/ContactListFilterEntityListing.md +1 -1
- data/docs/ContactListing.md +1 -1
- 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 +1 -1
- 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/Coretype.md +23 -0
- data/docs/CoretypeListing.md +15 -0
- data/docs/CreateCoachingAppointmentRequest.md +20 -0
- data/docs/CreateQueueRequest.md +1 -0
- data/docs/CredentialInfoListing.md +1 -1
- data/docs/CredentialTypeListing.md +1 -1
- data/docs/DIDEntityListing.md +1 -1
- data/docs/DIDPoolEntityListing.md +1 -1
- data/docs/DataExtensionsApi.md +198 -0
- data/docs/DataSchemaListing.md +15 -0
- data/docs/DataTableRowEntityListing.md +1 -1
- data/docs/DataTablesDomainEntityListing.md +1 -1
- data/docs/DependencyObjectEntityListing.md +1 -1
- data/docs/DependencyTypeEntityListing.md +1 -1
- 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 +1 -1
- data/docs/DialogflowAgent.md +3 -2
- data/docs/DialogflowAgentSummaryEntityListing.md +1 -1
- data/docs/DirectoryUserDevicesListing.md +1 -1
- data/docs/DivsPermittedEntityListing.md +1 -1
- data/docs/DncListDivisionViewListing.md +1 -1
- data/docs/DncListEntityListing.md +1 -1
- data/docs/DocumentAuditEntityListing.md +1 -1
- data/docs/DocumentEntityListing.md +1 -1
- data/docs/DocumentReference.md +14 -0
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
- data/docs/DomainEntityListing.md +1 -1
- data/docs/DomainEntityListingEvaluationForm.md +1 -1
- data/docs/DomainEntityListingQueryResult.md +1 -1
- data/docs/DomainEntityListingSurveyForm.md +1 -1
- 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 +1 -1
- data/docs/EdgeGroupEntityListing.md +1 -1
- data/docs/EdgeLineEntityListing.md +1 -1
- data/docs/Email.md +1 -0
- data/docs/EmailConversationEntityListing.md +1 -1
- data/docs/EmailMessageListing.md +1 -1
- data/docs/EmergencyGroupListing.md +1 -1
- data/docs/EncryptionKeyEntityListing.md +1 -1
- data/docs/EntityListing.md +1 -5
- data/docs/EvaluationEntityListing.md +1 -1
- data/docs/EvaluationFormEntityListing.md +1 -1
- data/docs/EvaluatorActivityEntityListing.md +1 -1
- data/docs/ExtensionEntityListing.md +1 -1
- data/docs/ExtensionPoolEntityListing.md +1 -1
- data/docs/ExternalContact.md +2 -0
- data/docs/ExternalContactsApi.md +1001 -144
- data/docs/ExternalOrganization.md +2 -0
- data/docs/ExternalOrganizationListing.md +1 -1
- data/docs/FacebookIntegrationEntityListing.md +1 -1
- data/docs/FaxDocumentEntityListing.md +1 -1
- data/docs/FlowDivisionView.md +2 -0
- data/docs/FlowDivisionViewEntityListing.md +1 -1
- data/docs/FlowEntityListing.md +1 -1
- data/docs/FlowExecutionLaunchRequest.md +16 -0
- data/docs/FlowExecutionLaunchResponse.md +16 -0
- data/docs/FlowOutcomeListing.md +1 -1
- data/docs/FlowRuntimeExecution.md +23 -0
- data/docs/FlowVersionEntityListing.md +1 -1
- data/docs/GDPRRequestEntityListing.md +1 -1
- data/docs/GDPRSubjectEntityListing.md +1 -1
- data/docs/GenericSAML.md +22 -0
- data/docs/GreetingListing.md +1 -1
- data/docs/GroupEntityListing.md +1 -1
- data/docs/GroupProfileEntityListing.md +1 -1
- data/docs/GroupsApi.md +4 -4
- data/docs/IVREntityListing.md +1 -1
- data/docs/IdentityProviderApi.md +187 -0
- data/docs/InboundDomainEntityListing.md +1 -1
- data/docs/InboundRouteEntityListing.md +1 -1
- data/docs/IntegrationEntityListing.md +1 -1
- data/docs/IntegrationEventEntityListing.md +1 -1
- data/docs/IntegrationTypeEntityListing.md +1 -1
- data/docs/IntentDefinition.md +15 -0
- data/docs/IntentFeedback.md +16 -0
- data/docs/InteractionStatsAlertContainer.md +1 -1
- data/docs/InteractionStatsRuleContainer.md +1 -1
- data/docs/IpAddressAuthentication.md +13 -0
- data/docs/ItemValidationLimits.md +14 -0
- data/docs/Items.md +14 -0
- data/docs/JsonNode.md +5 -5
- data/docs/KeywordSetEntityListing.md +1 -1
- data/docs/KnowledgeSearchResponse.md +1 -1
- data/docs/LanguageEntityListing.md +1 -1
- data/docs/LanguageUnderstandingApi.md +1160 -0
- data/docs/LexBotAliasEntityListing.md +1 -1
- data/docs/LexBotEntityListing.md +1 -1
- data/docs/LibraryEntityListing.md +1 -1
- data/docs/LineBaseEntityListing.md +1 -1
- data/docs/LineEntityListing.md +1 -1
- data/docs/LineIntegrationEntityListing.md +1 -1
- data/docs/LocationEntityListing.md +1 -1
- data/docs/LogicalInterfaceEntityListing.md +1 -1
- data/docs/MaxLength.md +14 -0
- data/docs/Message.md +1 -0
- data/docs/MessageConversationEntityListing.md +1 -1
- data/docs/MessagingIntegrationEntityListing.md +1 -1
- data/docs/MessagingStickerEntityListing.md +1 -1
- data/docs/MinLength.md +14 -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 +25 -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 +1 -1
- data/docs/OAuthApi.md +208 -0
- data/docs/OAuthClientEntityListing.md +1 -1
- data/docs/OAuthProviderEntityListing.md +1 -1
- data/docs/OrganizationApi.md +126 -0
- data/docs/OrganizationPresenceEntityListing.md +1 -1
- data/docs/OrganizationRoleEntityListing.md +1 -1
- data/docs/OrphanRecordingListing.md +1 -1
- data/docs/OutboundRouteBaseEntityListing.md +1 -1
- data/docs/OutboundRouteEntityListing.md +1 -1
- data/docs/PermissionCollectionEntityListing.md +1 -1
- data/docs/PhoneBaseEntityListing.md +1 -1
- data/docs/PhoneEntityListing.md +1 -1
- data/docs/PhoneMetaBaseEntityListing.md +1 -1
- data/docs/PhysicalInterfaceEntityListing.md +1 -1
- data/docs/PolicyEntityListing.md +1 -1
- data/docs/Prompt.md +2 -2
- data/docs/PromptAssetEntityListing.md +1 -1
- data/docs/PromptEntityListing.md +1 -1
- data/docs/QualityAuditPage.md +1 -1
- data/docs/Queue.md +1 -0
- 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 +1 -1
- data/docs/QueueMemberEntityListing.md +1 -1
- data/docs/QueueRequest.md +1 -0
- data/docs/RecipientListing.md +1 -1
- data/docs/RecordingApi.md +12 -0
- data/docs/RecordingJobEntityListing.md +1 -1
- data/docs/RelationshipListing.md +1 -1
- data/docs/ReportMetaDataEntityListing.md +1 -1
- data/docs/ReportRunEntryEntityDomainListing.md +1 -1
- data/docs/ReportScheduleEntityListing.md +1 -1
- data/docs/ReportingExportJobListing.md +1 -1
- data/docs/ReportingExportJobRequest.md +1 -0
- data/docs/ReportingExportJobResponse.md +2 -0
- data/docs/ReportingExportMetadataJobListing.md +1 -1
- data/docs/ResponseEntityList.md +1 -1
- data/docs/ResponseEntityListing.md +1 -1
- data/docs/ResponseSetEntityListing.md +1 -1
- data/docs/RoutingApi.md +65 -0
- data/docs/RuleSetEntityListing.md +1 -1
- data/docs/SCIMApi.md +12 -12
- data/docs/ScheduleEntityListing.md +1 -1
- data/docs/ScheduleGroupEntityListing.md +1 -1
- data/docs/Schema.md +17 -0
- data/docs/SchemaCategoryEntityListing.md +1 -1
- data/docs/SchemaQuantityLimits.md +26 -0
- data/docs/SchemaReferenceEntityListing.md +1 -1
- data/docs/ScimEmail.md +1 -1
- data/docs/ScimV2EnterpriseUser.md +1 -0
- data/docs/ScreenRecordingSessionListing.md +1 -1
- data/docs/Screenshare.md +1 -0
- data/docs/ScriptEntityListing.md +1 -1
- data/docs/SecurityProfileEntityListing.md +1 -1
- data/docs/ShareEntityListing.md +1 -1
- data/docs/SiteEntityListing.md +1 -1
- data/docs/SkillEntityListing.md +1 -1
- data/docs/SmsAddressEntityListing.md +1 -1
- data/docs/SmsPhoneNumberEntityListing.md +1 -1
- data/docs/SocialExpression.md +1 -0
- data/docs/StationEntityListing.md +1 -1
- data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
- data/docs/SurveyFormEntityListing.md +1 -1
- data/docs/SystemPromptAssetEntityListing.md +1 -1
- data/docs/SystemPromptEntityListing.md +1 -1
- data/docs/TagValueEntityListing.md +1 -1
- data/docs/TextMessageListing.md +1 -1
- data/docs/{TimeOffRequestLookup.md → TimeOffRequest.md} +2 -2
- data/docs/TimeOffRequestListing.md +13 -0
- data/docs/TimeZoneEntityListing.md +1 -1
- data/docs/TrunkBaseEntityListing.md +1 -1
- data/docs/TrunkEntityListing.md +1 -1
- data/docs/TrunkMetabaseEntityListing.md +1 -1
- data/docs/TrustEntityListing.md +1 -1
- data/docs/TrustUserEntityListing.md +1 -1
- data/docs/TrustorEntityListing.md +1 -1
- data/docs/TtsEngineEntityListing.md +1 -1
- data/docs/TtsVoiceEntityListing.md +1 -1
- data/docs/TwitterIntegrationEntityListing.md +1 -1
- data/docs/UpdateCoachingAppointmentRequest.md +18 -0
- data/docs/UploadUrlRequest.md +16 -0
- data/docs/UploadUrlResponse.md +14 -0
- data/docs/UploadsApi.md +78 -0
- data/docs/UsageApi.md +144 -0
- data/docs/UsageExecutionResult.md +14 -0
- data/docs/UserActionCategoryEntityListing.md +1 -1
- data/docs/UserAppEntityListing.md +1 -1
- data/docs/UserEntityListing.md +1 -1
- data/docs/UserLanguageEntityListing.md +1 -1
- data/docs/UserProfileEntityListing.md +1 -1
- data/docs/UserQueue.md +1 -0
- data/docs/UserQueueEntityListing.md +1 -1
- data/docs/UserRecordingEntityListing.md +1 -1
- data/docs/UserSkillEntityListing.md +1 -1
- data/docs/UsersApi.md +5 -5
- data/docs/ValidationLimits.md +18 -0
- data/docs/Video.md +1 -0
- data/docs/VoicemailMessageEntityListing.md +1 -1
- data/docs/WebChatMemberInfoEntityList.md +1 -1
- 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/WhatsAppIntegrationEntityListing.md +1 -1
- data/docs/WorkforceManagementApi.md +297 -448
- data/docs/WorkspaceEntityListing.md +1 -1
- data/docs/WorkspaceMemberEntityListing.md +1 -1
- data/docs/WrapupCodeEntityListing.md +1 -1
- data/lib/purecloudplatformclientv2.rb +85 -57
- data/lib/purecloudplatformclientv2/api/architect_api.rb +130 -0
- data/lib/purecloudplatformclientv2/api/audit_api.rb +55 -0
- 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 +868 -4
- data/lib/purecloudplatformclientv2/api/groups_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/identity_provider_api.rb +175 -0
- data/lib/purecloudplatformclientv2/api/language_understanding_api.rb +1304 -0
- data/lib/purecloudplatformclientv2/api/o_auth_api.rb +224 -0
- data/lib/purecloudplatformclientv2/api/organization_api.rb +120 -0
- data/lib/purecloudplatformclientv2/api/recording_api.rb +78 -0
- data/lib/purecloudplatformclientv2/api/routing_api.rb +64 -0
- data/lib/purecloudplatformclientv2/api/scim_api.rb +8 -8
- data/lib/purecloudplatformclientv2/api/uploads_api.rb +92 -0
- data/lib/purecloudplatformclientv2/api/usage_api.rb +157 -0
- data/lib/purecloudplatformclientv2/api/users_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +314 -571
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{intraday_query_data_command.rb → api_usage_query.rb} +45 -67
- data/lib/purecloudplatformclientv2/models/api_usage_query_result.rb +244 -0
- data/lib/purecloudplatformclientv2/models/{reschedule_request.rb → api_usage_row.rb} +182 -86
- data/lib/purecloudplatformclientv2/models/array_node.rb +51 -51
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{unscheduled_agent_warning.rb → audit_query_entity.rb} +32 -30
- data/lib/purecloudplatformclientv2/models/audit_query_execution_status_response.rb +32 -4
- data/lib/purecloudplatformclientv2/models/audit_query_request.rb +32 -4
- data/lib/purecloudplatformclientv2/models/{wfm_intraday_queue_listing.rb → audit_query_service.rb} +32 -31
- data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_response.rb → audit_query_service_mapping.rb} +10 -9
- data/lib/purecloudplatformclientv2/models/audit_query_sort.rb +266 -0
- data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/bu_reschedule_request.rb +2 -12
- data/lib/purecloudplatformclientv2/models/bulk_update_shift_trade_state_result_item.rb +2 -2
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
- 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 +12 -12
- data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/callback.rb +30 -4
- data/lib/purecloudplatformclientv2/models/callback_basic.rb +30 -4
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{short_term_forecast.rb → coaching_annotation.rb} +73 -105
- 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/{generate_short_term_forecast_response.rb → coaching_appointment_status_dto.rb} +49 -44
- data/lib/purecloudplatformclientv2/models/{wfm_forecast_modification_attributes.rb → coaching_appointment_status_dto_list.rb} +52 -37
- 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 +12 -12
- data/lib/purecloudplatformclientv2/models/cobrowsesession.rb +30 -4
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{list_wrapper_wfm_forecast_modification.rb → context_entity.rb} +14 -10
- data/lib/purecloudplatformclientv2/models/{list_wrapper_forecast_source_day_pointer.rb → context_intent.rb} +14 -10
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
- 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 +12 -12
- 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/coretype.rb +465 -0
- data/lib/purecloudplatformclientv2/models/coretype_listing.rb +253 -0
- data/lib/purecloudplatformclientv2/models/{intraday_historical_queue_data.rb → create_coaching_appointment_request.rb} +100 -58
- data/lib/purecloudplatformclientv2/models/create_queue_request.rb +29 -1
- data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/data_schema_listing.rb +253 -0
- data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{forecast_result_response.rb → detected_dialog_act.rb} +16 -16
- data/lib/purecloudplatformclientv2/models/{intraday_queue.rb → detected_intent.rb} +23 -23
- data/lib/purecloudplatformclientv2/models/{create_queue_media_association_request.rb → detected_named_entity.rb} +49 -26
- data/lib/purecloudplatformclientv2/models/detected_named_entity_value.rb +228 -0
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dialogflow_agent.rb +31 -3
- data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/divs_permitted_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{user_schedules_partial_upload_request.rb → document_reference.rb} +34 -16
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +12 -12
- 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 +12 -12
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/email.rb +30 -4
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/entity_listing.rb +4 -104
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/external_contact.rb +55 -1
- data/lib/purecloudplatformclientv2/models/external_organization.rb +55 -1
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow_division_view.rb +53 -1
- data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{queue_media_association.rb → flow_execution_launch_request.rb} +37 -32
- data/lib/purecloudplatformclientv2/models/{create_service_goal_group_request.rb → flow_execution_launch_response.rb} +43 -24
- data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{rescheduling_options_response.rb → flow_runtime_execution.rb} +120 -96
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/generic_saml.rb +428 -0
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{service_goal_group_goals.rb → intent_definition.rb} +34 -26
- data/lib/purecloudplatformclientv2/models/intent_feedback.rb +296 -0
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/ip_address_authentication.rb +203 -0
- data/lib/purecloudplatformclientv2/models/item_validation_limits.rb +238 -0
- data/lib/purecloudplatformclientv2/models/{time_off_request_entity_list.rb → items.rb} +33 -10
- data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/json_node.rb +51 -51
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/knowledge_search_response.rb +18 -18
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
- 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 +12 -12
- data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{forecast_generation_route_group_result.rb → min_length.rb} +26 -18
- data/lib/purecloudplatformclientv2/models/{scheduling_run_list_response.rb → named_entity_annotation.rb} +14 -10
- data/lib/purecloudplatformclientv2/models/{copy_short_term_forecast_request.rb → named_entity_type_binding.rb} +18 -19
- data/lib/purecloudplatformclientv2/models/{generate_week_schedule_request.rb → named_entity_type_definition.rb} +38 -13
- data/lib/purecloudplatformclientv2/models/{wfm_abandon_rate.rb → named_entity_type_item.rb} +19 -18
- data/lib/purecloudplatformclientv2/models/{short_term_forecast_response.rb → named_entity_type_mechanism.rb} +48 -36
- data/lib/purecloudplatformclientv2/models/{copy_week_schedule_request.rb → nlu_confusion_matrix_column.rb} +18 -18
- data/lib/purecloudplatformclientv2/models/{wfm_average_speed_of_answer.rb → nlu_confusion_matrix_row.rb} +24 -18
- 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/{route_group_list.rb → nlu_detection_response.rb} +39 -22
- data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_item_response.rb → nlu_domain.rb} +66 -60
- data/lib/purecloudplatformclientv2/models/nlu_domain_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/{update_week_schedule_request.rb → nlu_domain_version.rb} +187 -79
- 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/{wfm_service_level.rb → nlu_feedback_request.rb} +36 -25
- data/lib/purecloudplatformclientv2/models/{service_goal_group.rb → nlu_feedback_response.rb} +32 -37
- 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 +12 -12
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/prompt.rb +2 -0
- data/lib/purecloudplatformclientv2/models/prompt_asset.rb +15 -1
- data/lib/purecloudplatformclientv2/models/prompt_asset_create.rb +15 -1
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
- data/lib/purecloudplatformclientv2/models/queue.rb +29 -1
- 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 +12 -12
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/queue_request.rb +29 -1
- data/lib/purecloudplatformclientv2/models/recipient_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +12 -12
- 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 +12 -12
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{import_short_term_forecast_request.rb → schema.rb} +50 -35
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schema_quantity_limits.rb +539 -0
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/scim_email.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +30 -4
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/screenshare.rb +30 -4
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/shift_trade_match_violation.rb +2 -2
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/social_expression.rb +30 -4
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/text_message_listing.rb +12 -12
- 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 +12 -12
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{import_week_schedule_request.rb → update_coaching_appointment_request.rb} +60 -39
- data/lib/purecloudplatformclientv2/models/{route_group_attributes.rb → upload_url_request.rb} +43 -57
- data/lib/purecloudplatformclientv2/models/upload_url_response.rb +230 -0
- data/lib/purecloudplatformclientv2/models/usage_execution_result.rb +228 -0
- data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_app_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_queue.rb +29 -1
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/validation_limits.rb +326 -0
- data/lib/purecloudplatformclientv2/models/video.rb +30 -4
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{service_goal_group_list.rb → wem_learning_assignment_rule_run_topic_learning_assignment_rule_run_notification.rb} +9 -11
- 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/whats_app_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +172 -116
- 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/ForecastTimeSeriesResult.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/IntradayResponse.md +0 -20
- 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/ShortTermForecastListItemResponse.md +0 -18
- data/docs/ShortTermForecastListResponse.md +0 -13
- data/docs/ShortTermForecastResponse.md +0 -15
- data/docs/TimeOffRequestEntityList.md +0 -13
- data/docs/TimeOffRequestLookupList.md +0 -13
- data/docs/UnscheduledAgentWarning.md +0 -14
- data/docs/UpdateWeekScheduleRequest.md +0 -21
- data/docs/UserSchedulesPartialUploadRequest.md +0 -13
- data/docs/WfmAbandonRate.md +0 -14
- data/docs/WfmAverageSpeedOfAnswer.md +0 -14
- data/docs/WfmForecastModification.md +0 -20
- data/docs/WfmForecastModificationAttributes.md +0 -16
- data/docs/WfmIntradayQueueListing.md +0 -14
- data/docs/WfmServiceLevel.md +0 -15
- data/lib/purecloudplatformclientv2/models/async_week_schedule_response.rb +0 -295
- data/lib/purecloudplatformclientv2/models/forecast_generation_result.rb +0 -204
- data/lib/purecloudplatformclientv2/models/forecast_time_series_result.rb +0 -256
- data/lib/purecloudplatformclientv2/models/generate_week_schedule_response.rb +0 -269
- data/lib/purecloudplatformclientv2/models/intraday_data_group.rb +0 -384
- 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_performance_prediction_queue_data.rb +0 -254
- data/lib/purecloudplatformclientv2/models/intraday_response.rb +0 -404
- data/lib/purecloudplatformclientv2/models/intraday_schedule_data.rb +0 -228
- data/lib/purecloudplatformclientv2/models/reschedule_result.rb +0 -202
- data/lib/purecloudplatformclientv2/models/route_group.rb +0 -363
- data/lib/purecloudplatformclientv2/models/scheduling_run_response.rb +0 -609
- data/lib/purecloudplatformclientv2/models/wfm_forecast_modification.rb +0 -435
|
@@ -471,7 +471,7 @@ module PureCloud
|
|
|
471
471
|
end
|
|
472
472
|
|
|
473
473
|
# Get group profile
|
|
474
|
-
#
|
|
474
|
+
# This api is deprecated. Use /api/v2/groups instead
|
|
475
475
|
# @param group_id groupId
|
|
476
476
|
# @param [Hash] opts the optional parameters
|
|
477
477
|
# @option opts [String] :fields Comma separated fields to return. Allowable values can be found by querying /api/v2/fieldconfig?type=group and using the key for the elements returned by the fieldList
|
|
@@ -482,7 +482,7 @@ module PureCloud
|
|
|
482
482
|
end
|
|
483
483
|
|
|
484
484
|
# Get group profile
|
|
485
|
-
#
|
|
485
|
+
# This api is deprecated. Use /api/v2/groups instead
|
|
486
486
|
# @param group_id groupId
|
|
487
487
|
# @param [Hash] opts the optional parameters
|
|
488
488
|
# @option opts [String] :fields Comma separated fields to return. Allowable values can be found by querying /api/v2/fieldconfig?type=group and using the key for the elements returned by the fieldList
|
|
@@ -724,7 +724,7 @@ module PureCloud
|
|
|
724
724
|
end
|
|
725
725
|
|
|
726
726
|
# Get group profile listing
|
|
727
|
-
#
|
|
727
|
+
# This api is deprecated. Use /api/v2/groups instead.
|
|
728
728
|
# @param [Hash] opts the optional parameters
|
|
729
729
|
# @option opts [Integer] :page_size Page size (default to 25)
|
|
730
730
|
# @option opts [Integer] :page_number Page number (default to 1)
|
|
@@ -737,7 +737,7 @@ module PureCloud
|
|
|
737
737
|
end
|
|
738
738
|
|
|
739
739
|
# Get group profile listing
|
|
740
|
-
#
|
|
740
|
+
# This api is deprecated. Use /api/v2/groups instead.
|
|
741
741
|
# @param [Hash] opts the optional parameters
|
|
742
742
|
# @option opts [Integer] :page_size Page size
|
|
743
743
|
# @option opts [Integer] :page_number Page number
|
|
@@ -134,6 +134,61 @@ module PureCloud
|
|
|
134
134
|
return data, status_code, headers
|
|
135
135
|
end
|
|
136
136
|
|
|
137
|
+
# Delete Generic SAML Identity Provider
|
|
138
|
+
#
|
|
139
|
+
# @param [Hash] opts the optional parameters
|
|
140
|
+
# @return [Empty]
|
|
141
|
+
def delete_identityproviders_generic(opts = {})
|
|
142
|
+
data, _status_code, _headers = delete_identityproviders_generic_with_http_info(opts)
|
|
143
|
+
return data
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# Delete Generic SAML Identity Provider
|
|
147
|
+
#
|
|
148
|
+
# @param [Hash] opts the optional parameters
|
|
149
|
+
# @return [Array<(Empty, Fixnum, Hash)>] Empty data, response status code and response headers
|
|
150
|
+
def delete_identityproviders_generic_with_http_info(opts = {})
|
|
151
|
+
if @api_client.config.debugging
|
|
152
|
+
@api_client.config.logger.debug "Calling API: IdentityProviderApi.delete_identityproviders_generic ..."
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
# resource path
|
|
156
|
+
local_var_path = "/api/v2/identityproviders/generic".sub('{format}','json')
|
|
157
|
+
|
|
158
|
+
# query parameters
|
|
159
|
+
query_params = {}
|
|
160
|
+
|
|
161
|
+
# header parameters
|
|
162
|
+
header_params = {}
|
|
163
|
+
|
|
164
|
+
# HTTP header 'Accept' (if needed)
|
|
165
|
+
local_header_accept = ['application/json']
|
|
166
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
167
|
+
|
|
168
|
+
# HTTP header 'Content-Type'
|
|
169
|
+
local_header_content_type = ['application/json']
|
|
170
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
171
|
+
|
|
172
|
+
# form parameters
|
|
173
|
+
form_params = {}
|
|
174
|
+
|
|
175
|
+
# http body (model)
|
|
176
|
+
post_body = nil
|
|
177
|
+
|
|
178
|
+
auth_names = ['PureCloud OAuth']
|
|
179
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
180
|
+
:header_params => header_params,
|
|
181
|
+
:query_params => query_params,
|
|
182
|
+
:form_params => form_params,
|
|
183
|
+
:body => post_body,
|
|
184
|
+
:auth_names => auth_names,
|
|
185
|
+
:return_type => 'Empty')
|
|
186
|
+
if @api_client.config.debugging
|
|
187
|
+
@api_client.config.logger.debug "API called: IdentityProviderApi#delete_identityproviders_generic\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
188
|
+
end
|
|
189
|
+
return data, status_code, headers
|
|
190
|
+
end
|
|
191
|
+
|
|
137
192
|
# Delete G Suite Identity Provider
|
|
138
193
|
#
|
|
139
194
|
# @param [Hash] opts the optional parameters
|
|
@@ -739,6 +794,61 @@ module PureCloud
|
|
|
739
794
|
return data, status_code, headers
|
|
740
795
|
end
|
|
741
796
|
|
|
797
|
+
# Get Generic SAML Identity Provider
|
|
798
|
+
#
|
|
799
|
+
# @param [Hash] opts the optional parameters
|
|
800
|
+
# @return [GenericSAML]
|
|
801
|
+
def get_identityproviders_generic(opts = {})
|
|
802
|
+
data, _status_code, _headers = get_identityproviders_generic_with_http_info(opts)
|
|
803
|
+
return data
|
|
804
|
+
end
|
|
805
|
+
|
|
806
|
+
# Get Generic SAML Identity Provider
|
|
807
|
+
#
|
|
808
|
+
# @param [Hash] opts the optional parameters
|
|
809
|
+
# @return [Array<(GenericSAML, Fixnum, Hash)>] GenericSAML data, response status code and response headers
|
|
810
|
+
def get_identityproviders_generic_with_http_info(opts = {})
|
|
811
|
+
if @api_client.config.debugging
|
|
812
|
+
@api_client.config.logger.debug "Calling API: IdentityProviderApi.get_identityproviders_generic ..."
|
|
813
|
+
end
|
|
814
|
+
|
|
815
|
+
# resource path
|
|
816
|
+
local_var_path = "/api/v2/identityproviders/generic".sub('{format}','json')
|
|
817
|
+
|
|
818
|
+
# query parameters
|
|
819
|
+
query_params = {}
|
|
820
|
+
|
|
821
|
+
# header parameters
|
|
822
|
+
header_params = {}
|
|
823
|
+
|
|
824
|
+
# HTTP header 'Accept' (if needed)
|
|
825
|
+
local_header_accept = ['application/json']
|
|
826
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
827
|
+
|
|
828
|
+
# HTTP header 'Content-Type'
|
|
829
|
+
local_header_content_type = ['application/json']
|
|
830
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
831
|
+
|
|
832
|
+
# form parameters
|
|
833
|
+
form_params = {}
|
|
834
|
+
|
|
835
|
+
# http body (model)
|
|
836
|
+
post_body = nil
|
|
837
|
+
|
|
838
|
+
auth_names = ['PureCloud OAuth']
|
|
839
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
840
|
+
:header_params => header_params,
|
|
841
|
+
:query_params => query_params,
|
|
842
|
+
:form_params => form_params,
|
|
843
|
+
:body => post_body,
|
|
844
|
+
:auth_names => auth_names,
|
|
845
|
+
:return_type => 'GenericSAML')
|
|
846
|
+
if @api_client.config.debugging
|
|
847
|
+
@api_client.config.logger.debug "API called: IdentityProviderApi#get_identityproviders_generic\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
848
|
+
end
|
|
849
|
+
return data, status_code, headers
|
|
850
|
+
end
|
|
851
|
+
|
|
742
852
|
# Get G Suite Identity Provider
|
|
743
853
|
#
|
|
744
854
|
# @param [Hash] opts the optional parameters
|
|
@@ -1309,6 +1419,71 @@ module PureCloud
|
|
|
1309
1419
|
return data, status_code, headers
|
|
1310
1420
|
end
|
|
1311
1421
|
|
|
1422
|
+
# Update/Create Generic SAML Identity Provider
|
|
1423
|
+
#
|
|
1424
|
+
# @param body Provider
|
|
1425
|
+
# @param [Hash] opts the optional parameters
|
|
1426
|
+
# @return [OAuthProvider]
|
|
1427
|
+
def put_identityproviders_generic(body, opts = {})
|
|
1428
|
+
data, _status_code, _headers = put_identityproviders_generic_with_http_info(body, opts)
|
|
1429
|
+
return data
|
|
1430
|
+
end
|
|
1431
|
+
|
|
1432
|
+
# Update/Create Generic SAML Identity Provider
|
|
1433
|
+
#
|
|
1434
|
+
# @param body Provider
|
|
1435
|
+
# @param [Hash] opts the optional parameters
|
|
1436
|
+
# @return [Array<(OAuthProvider, Fixnum, Hash)>] OAuthProvider data, response status code and response headers
|
|
1437
|
+
def put_identityproviders_generic_with_http_info(body, opts = {})
|
|
1438
|
+
if @api_client.config.debugging
|
|
1439
|
+
@api_client.config.logger.debug "Calling API: IdentityProviderApi.put_identityproviders_generic ..."
|
|
1440
|
+
end
|
|
1441
|
+
|
|
1442
|
+
|
|
1443
|
+
# verify the required parameter 'body' is set
|
|
1444
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling IdentityProviderApi.put_identityproviders_generic" if body.nil?
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
|
|
1450
|
+
# resource path
|
|
1451
|
+
local_var_path = "/api/v2/identityproviders/generic".sub('{format}','json')
|
|
1452
|
+
|
|
1453
|
+
# query parameters
|
|
1454
|
+
query_params = {}
|
|
1455
|
+
|
|
1456
|
+
# header parameters
|
|
1457
|
+
header_params = {}
|
|
1458
|
+
|
|
1459
|
+
# HTTP header 'Accept' (if needed)
|
|
1460
|
+
local_header_accept = ['application/json']
|
|
1461
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1462
|
+
|
|
1463
|
+
# HTTP header 'Content-Type'
|
|
1464
|
+
local_header_content_type = ['application/json']
|
|
1465
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1466
|
+
|
|
1467
|
+
# form parameters
|
|
1468
|
+
form_params = {}
|
|
1469
|
+
|
|
1470
|
+
# http body (model)
|
|
1471
|
+
post_body = @api_client.object_to_http_body(body)
|
|
1472
|
+
|
|
1473
|
+
auth_names = ['PureCloud OAuth']
|
|
1474
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1475
|
+
:header_params => header_params,
|
|
1476
|
+
:query_params => query_params,
|
|
1477
|
+
:form_params => form_params,
|
|
1478
|
+
:body => post_body,
|
|
1479
|
+
:auth_names => auth_names,
|
|
1480
|
+
:return_type => 'OAuthProvider')
|
|
1481
|
+
if @api_client.config.debugging
|
|
1482
|
+
@api_client.config.logger.debug "API called: IdentityProviderApi#put_identityproviders_generic\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1483
|
+
end
|
|
1484
|
+
return data, status_code, headers
|
|
1485
|
+
end
|
|
1486
|
+
|
|
1312
1487
|
# Update/Create G Suite Identity Provider
|
|
1313
1488
|
#
|
|
1314
1489
|
# @param body Provider
|
|
@@ -0,0 +1,1304 @@
|
|
|
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 LanguageUnderstandingApi
|
|
21
|
+
attr_accessor :api_client
|
|
22
|
+
|
|
23
|
+
def initialize(api_client = ApiClient.default)
|
|
24
|
+
@api_client = api_client
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# Delete an NLU Domain.
|
|
28
|
+
#
|
|
29
|
+
# @param domain_id ID of the NLU domain.
|
|
30
|
+
# @param [Hash] opts the optional parameters
|
|
31
|
+
# @return [nil]
|
|
32
|
+
def delete_languageunderstanding_domain(domain_id, opts = {})
|
|
33
|
+
delete_languageunderstanding_domain_with_http_info(domain_id, opts)
|
|
34
|
+
return nil
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Delete an NLU Domain.
|
|
38
|
+
#
|
|
39
|
+
# @param domain_id ID of the NLU domain.
|
|
40
|
+
# @param [Hash] opts the optional parameters
|
|
41
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
42
|
+
def delete_languageunderstanding_domain_with_http_info(domain_id, opts = {})
|
|
43
|
+
if @api_client.config.debugging
|
|
44
|
+
@api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.delete_languageunderstanding_domain ..."
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
# verify the required parameter 'domain_id' is set
|
|
49
|
+
fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.delete_languageunderstanding_domain" if domain_id.nil?
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
# resource path
|
|
56
|
+
local_var_path = "/api/v2/languageunderstanding/domains/{domainId}".sub('{format}','json').sub('{' + 'domainId' + '}', domain_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
|
+
if @api_client.config.debugging
|
|
86
|
+
@api_client.config.logger.debug "API called: LanguageUnderstandingApi#delete_languageunderstanding_domain\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
87
|
+
end
|
|
88
|
+
return data, status_code, headers
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# Delete the feedback on the NLU Domain Version.
|
|
92
|
+
#
|
|
93
|
+
# @param domain_id ID of the NLU domain.
|
|
94
|
+
# @param feedback_id ID of the Feedback
|
|
95
|
+
# @param [Hash] opts the optional parameters
|
|
96
|
+
# @return [nil]
|
|
97
|
+
def delete_languageunderstanding_domain_feedback_feedback_id(domain_id, feedback_id, opts = {})
|
|
98
|
+
delete_languageunderstanding_domain_feedback_feedback_id_with_http_info(domain_id, feedback_id, opts)
|
|
99
|
+
return nil
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# Delete the feedback on the NLU Domain Version.
|
|
103
|
+
#
|
|
104
|
+
# @param domain_id ID of the NLU domain.
|
|
105
|
+
# @param feedback_id ID of the Feedback
|
|
106
|
+
# @param [Hash] opts the optional parameters
|
|
107
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
108
|
+
def delete_languageunderstanding_domain_feedback_feedback_id_with_http_info(domain_id, feedback_id, opts = {})
|
|
109
|
+
if @api_client.config.debugging
|
|
110
|
+
@api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.delete_languageunderstanding_domain_feedback_feedback_id ..."
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
# verify the required parameter 'domain_id' is set
|
|
115
|
+
fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.delete_languageunderstanding_domain_feedback_feedback_id" if domain_id.nil?
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
# verify the required parameter 'feedback_id' is set
|
|
123
|
+
fail ArgumentError, "Missing the required parameter 'feedback_id' when calling LanguageUnderstandingApi.delete_languageunderstanding_domain_feedback_feedback_id" if feedback_id.nil?
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
# resource path
|
|
130
|
+
local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/feedback/{feedbackId}".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s).sub('{' + 'feedbackId' + '}', feedback_id.to_s)
|
|
131
|
+
|
|
132
|
+
# query parameters
|
|
133
|
+
query_params = {}
|
|
134
|
+
|
|
135
|
+
# header parameters
|
|
136
|
+
header_params = {}
|
|
137
|
+
|
|
138
|
+
# HTTP header 'Accept' (if needed)
|
|
139
|
+
local_header_accept = ['application/json']
|
|
140
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
141
|
+
|
|
142
|
+
# HTTP header 'Content-Type'
|
|
143
|
+
local_header_content_type = ['application/json']
|
|
144
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
145
|
+
|
|
146
|
+
# form parameters
|
|
147
|
+
form_params = {}
|
|
148
|
+
|
|
149
|
+
# http body (model)
|
|
150
|
+
post_body = nil
|
|
151
|
+
|
|
152
|
+
auth_names = ['PureCloud OAuth']
|
|
153
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
154
|
+
:header_params => header_params,
|
|
155
|
+
:query_params => query_params,
|
|
156
|
+
:form_params => form_params,
|
|
157
|
+
:body => post_body,
|
|
158
|
+
:auth_names => auth_names)
|
|
159
|
+
if @api_client.config.debugging
|
|
160
|
+
@api_client.config.logger.debug "API called: LanguageUnderstandingApi#delete_languageunderstanding_domain_feedback_feedback_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
161
|
+
end
|
|
162
|
+
return data, status_code, headers
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# Find an NLU Domain.
|
|
166
|
+
#
|
|
167
|
+
# @param domain_id ID of the NLU domain.
|
|
168
|
+
# @param [Hash] opts the optional parameters
|
|
169
|
+
# @return [NluDomain]
|
|
170
|
+
def get_languageunderstanding_domain(domain_id, opts = {})
|
|
171
|
+
data, _status_code, _headers = get_languageunderstanding_domain_with_http_info(domain_id, opts)
|
|
172
|
+
return data
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# Find an NLU Domain.
|
|
176
|
+
#
|
|
177
|
+
# @param domain_id ID of the NLU domain.
|
|
178
|
+
# @param [Hash] opts the optional parameters
|
|
179
|
+
# @return [Array<(NluDomain, Fixnum, Hash)>] NluDomain data, response status code and response headers
|
|
180
|
+
def get_languageunderstanding_domain_with_http_info(domain_id, opts = {})
|
|
181
|
+
if @api_client.config.debugging
|
|
182
|
+
@api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.get_languageunderstanding_domain ..."
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
# verify the required parameter 'domain_id' is set
|
|
187
|
+
fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain" if domain_id.nil?
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
# resource path
|
|
194
|
+
local_var_path = "/api/v2/languageunderstanding/domains/{domainId}".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s)
|
|
195
|
+
|
|
196
|
+
# query parameters
|
|
197
|
+
query_params = {}
|
|
198
|
+
|
|
199
|
+
# header parameters
|
|
200
|
+
header_params = {}
|
|
201
|
+
|
|
202
|
+
# HTTP header 'Accept' (if needed)
|
|
203
|
+
local_header_accept = ['application/json']
|
|
204
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
205
|
+
|
|
206
|
+
# HTTP header 'Content-Type'
|
|
207
|
+
local_header_content_type = ['application/json']
|
|
208
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
209
|
+
|
|
210
|
+
# form parameters
|
|
211
|
+
form_params = {}
|
|
212
|
+
|
|
213
|
+
# http body (model)
|
|
214
|
+
post_body = nil
|
|
215
|
+
|
|
216
|
+
auth_names = ['PureCloud OAuth']
|
|
217
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
218
|
+
:header_params => header_params,
|
|
219
|
+
:query_params => query_params,
|
|
220
|
+
:form_params => form_params,
|
|
221
|
+
:body => post_body,
|
|
222
|
+
:auth_names => auth_names,
|
|
223
|
+
:return_type => 'NluDomain')
|
|
224
|
+
if @api_client.config.debugging
|
|
225
|
+
@api_client.config.logger.debug "API called: LanguageUnderstandingApi#get_languageunderstanding_domain\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
226
|
+
end
|
|
227
|
+
return data, status_code, headers
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
# Get all feedback in the given NLU Domain Version.
|
|
231
|
+
#
|
|
232
|
+
# @param domain_id ID of the NLU domain.
|
|
233
|
+
# @param [Hash] opts the optional parameters
|
|
234
|
+
# @option opts [String] :intent_name The top intent name to retrieve feedback for.
|
|
235
|
+
# @option opts [String] :assessment The top assessment to retrieve feedback for.
|
|
236
|
+
# @option opts [Date] :date_start Begin of time window as ISO-8601 date.
|
|
237
|
+
# @option opts [Date] :date_end End of time window as ISO-8601 date.
|
|
238
|
+
# @option opts [BOOLEAN] :include_deleted Whether to include soft-deleted items in the result.
|
|
239
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
|
240
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
|
241
|
+
# @option opts [Array<String>] :fields Fields and properties to get, comma-separated
|
|
242
|
+
# @return [NluFeedbackListing]
|
|
243
|
+
def get_languageunderstanding_domain_feedback(domain_id, opts = {})
|
|
244
|
+
data, _status_code, _headers = get_languageunderstanding_domain_feedback_with_http_info(domain_id, opts)
|
|
245
|
+
return data
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
# Get all feedback in the given NLU Domain Version.
|
|
249
|
+
#
|
|
250
|
+
# @param domain_id ID of the NLU domain.
|
|
251
|
+
# @param [Hash] opts the optional parameters
|
|
252
|
+
# @option opts [String] :intent_name The top intent name to retrieve feedback for.
|
|
253
|
+
# @option opts [String] :assessment The top assessment to retrieve feedback for.
|
|
254
|
+
# @option opts [Date] :date_start Begin of time window as ISO-8601 date.
|
|
255
|
+
# @option opts [Date] :date_end End of time window as ISO-8601 date.
|
|
256
|
+
# @option opts [BOOLEAN] :include_deleted Whether to include soft-deleted items in the result.
|
|
257
|
+
# @option opts [Integer] :page_number Page number
|
|
258
|
+
# @option opts [Integer] :page_size Page size
|
|
259
|
+
# @option opts [Array<String>] :fields Fields and properties to get, comma-separated
|
|
260
|
+
# @return [Array<(NluFeedbackListing, Fixnum, Hash)>] NluFeedbackListing data, response status code and response headers
|
|
261
|
+
def get_languageunderstanding_domain_feedback_with_http_info(domain_id, opts = {})
|
|
262
|
+
if @api_client.config.debugging
|
|
263
|
+
@api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.get_languageunderstanding_domain_feedback ..."
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
# verify the required parameter 'domain_id' is set
|
|
268
|
+
fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain_feedback" if domain_id.nil?
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
if opts[:'assessment'] && !['Incorrect', 'Correct', 'Unknown'].include?(opts[:'assessment'])
|
|
284
|
+
fail ArgumentError, 'invalid value for "assessment", must be one of Incorrect, Correct, Unknown'
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
# resource path
|
|
327
|
+
local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/feedback".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s)
|
|
328
|
+
|
|
329
|
+
# query parameters
|
|
330
|
+
query_params = {}
|
|
331
|
+
query_params[:'intentName'] = opts[:'intent_name'] if opts[:'intent_name']
|
|
332
|
+
query_params[:'assessment'] = opts[:'assessment'] if opts[:'assessment']
|
|
333
|
+
query_params[:'dateStart'] = opts[:'date_start'] if opts[:'date_start']
|
|
334
|
+
query_params[:'dateEnd'] = opts[:'date_end'] if opts[:'date_end']
|
|
335
|
+
query_params[:'includeDeleted'] = opts[:'include_deleted'] if opts[:'include_deleted']
|
|
336
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
337
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
338
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if opts[:'fields']
|
|
339
|
+
|
|
340
|
+
# header parameters
|
|
341
|
+
header_params = {}
|
|
342
|
+
|
|
343
|
+
# HTTP header 'Accept' (if needed)
|
|
344
|
+
local_header_accept = ['application/json']
|
|
345
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
346
|
+
|
|
347
|
+
# HTTP header 'Content-Type'
|
|
348
|
+
local_header_content_type = ['application/json']
|
|
349
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
350
|
+
|
|
351
|
+
# form parameters
|
|
352
|
+
form_params = {}
|
|
353
|
+
|
|
354
|
+
# http body (model)
|
|
355
|
+
post_body = nil
|
|
356
|
+
|
|
357
|
+
auth_names = ['PureCloud OAuth']
|
|
358
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
359
|
+
:header_params => header_params,
|
|
360
|
+
:query_params => query_params,
|
|
361
|
+
:form_params => form_params,
|
|
362
|
+
:body => post_body,
|
|
363
|
+
:auth_names => auth_names,
|
|
364
|
+
:return_type => 'NluFeedbackListing')
|
|
365
|
+
if @api_client.config.debugging
|
|
366
|
+
@api_client.config.logger.debug "API called: LanguageUnderstandingApi#get_languageunderstanding_domain_feedback\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
367
|
+
end
|
|
368
|
+
return data, status_code, headers
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
# Find a Feedback
|
|
372
|
+
#
|
|
373
|
+
# @param domain_id ID of the NLU domain.
|
|
374
|
+
# @param feedback_id ID of the Feedback
|
|
375
|
+
# @param [Hash] opts the optional parameters
|
|
376
|
+
# @option opts [Array<String>] :fields Fields and properties to get, comma-separated
|
|
377
|
+
# @return [NluFeedbackResponse]
|
|
378
|
+
def get_languageunderstanding_domain_feedback_feedback_id(domain_id, feedback_id, opts = {})
|
|
379
|
+
data, _status_code, _headers = get_languageunderstanding_domain_feedback_feedback_id_with_http_info(domain_id, feedback_id, opts)
|
|
380
|
+
return data
|
|
381
|
+
end
|
|
382
|
+
|
|
383
|
+
# Find a Feedback
|
|
384
|
+
#
|
|
385
|
+
# @param domain_id ID of the NLU domain.
|
|
386
|
+
# @param feedback_id ID of the Feedback
|
|
387
|
+
# @param [Hash] opts the optional parameters
|
|
388
|
+
# @option opts [Array<String>] :fields Fields and properties to get, comma-separated
|
|
389
|
+
# @return [Array<(NluFeedbackResponse, Fixnum, Hash)>] NluFeedbackResponse data, response status code and response headers
|
|
390
|
+
def get_languageunderstanding_domain_feedback_feedback_id_with_http_info(domain_id, feedback_id, opts = {})
|
|
391
|
+
if @api_client.config.debugging
|
|
392
|
+
@api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.get_languageunderstanding_domain_feedback_feedback_id ..."
|
|
393
|
+
end
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
# verify the required parameter 'domain_id' is set
|
|
397
|
+
fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain_feedback_feedback_id" if domain_id.nil?
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
# verify the required parameter 'feedback_id' is set
|
|
405
|
+
fail ArgumentError, "Missing the required parameter 'feedback_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain_feedback_feedback_id" if feedback_id.nil?
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
# resource path
|
|
418
|
+
local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/feedback/{feedbackId}".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s).sub('{' + 'feedbackId' + '}', feedback_id.to_s)
|
|
419
|
+
|
|
420
|
+
# query parameters
|
|
421
|
+
query_params = {}
|
|
422
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if opts[:'fields']
|
|
423
|
+
|
|
424
|
+
# header parameters
|
|
425
|
+
header_params = {}
|
|
426
|
+
|
|
427
|
+
# HTTP header 'Accept' (if needed)
|
|
428
|
+
local_header_accept = ['application/json']
|
|
429
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
430
|
+
|
|
431
|
+
# HTTP header 'Content-Type'
|
|
432
|
+
local_header_content_type = ['application/json']
|
|
433
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
434
|
+
|
|
435
|
+
# form parameters
|
|
436
|
+
form_params = {}
|
|
437
|
+
|
|
438
|
+
# http body (model)
|
|
439
|
+
post_body = nil
|
|
440
|
+
|
|
441
|
+
auth_names = ['PureCloud OAuth']
|
|
442
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
443
|
+
:header_params => header_params,
|
|
444
|
+
:query_params => query_params,
|
|
445
|
+
:form_params => form_params,
|
|
446
|
+
:body => post_body,
|
|
447
|
+
:auth_names => auth_names,
|
|
448
|
+
:return_type => 'NluFeedbackResponse')
|
|
449
|
+
if @api_client.config.debugging
|
|
450
|
+
@api_client.config.logger.debug "API called: LanguageUnderstandingApi#get_languageunderstanding_domain_feedback_feedback_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
451
|
+
end
|
|
452
|
+
return data, status_code, headers
|
|
453
|
+
end
|
|
454
|
+
|
|
455
|
+
# Find an NLU Domain Version.
|
|
456
|
+
#
|
|
457
|
+
# @param domain_id ID of the NLU domain.
|
|
458
|
+
# @param domain_version_id ID of the NLU domain version.
|
|
459
|
+
# @param [Hash] opts the optional parameters
|
|
460
|
+
# @option opts [BOOLEAN] :include_utterances Whether utterances for intent definition should be included when marshalling response.
|
|
461
|
+
# @return [NluDomainVersion]
|
|
462
|
+
def get_languageunderstanding_domain_version(domain_id, domain_version_id, opts = {})
|
|
463
|
+
data, _status_code, _headers = get_languageunderstanding_domain_version_with_http_info(domain_id, domain_version_id, opts)
|
|
464
|
+
return data
|
|
465
|
+
end
|
|
466
|
+
|
|
467
|
+
# Find an NLU Domain Version.
|
|
468
|
+
#
|
|
469
|
+
# @param domain_id ID of the NLU domain.
|
|
470
|
+
# @param domain_version_id ID of the NLU domain version.
|
|
471
|
+
# @param [Hash] opts the optional parameters
|
|
472
|
+
# @option opts [BOOLEAN] :include_utterances Whether utterances for intent definition should be included when marshalling response.
|
|
473
|
+
# @return [Array<(NluDomainVersion, Fixnum, Hash)>] NluDomainVersion data, response status code and response headers
|
|
474
|
+
def get_languageunderstanding_domain_version_with_http_info(domain_id, domain_version_id, opts = {})
|
|
475
|
+
if @api_client.config.debugging
|
|
476
|
+
@api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.get_languageunderstanding_domain_version ..."
|
|
477
|
+
end
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
# verify the required parameter 'domain_id' is set
|
|
481
|
+
fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain_version" if domain_id.nil?
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
# verify the required parameter 'domain_version_id' is set
|
|
489
|
+
fail ArgumentError, "Missing the required parameter 'domain_version_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain_version" if domain_version_id.nil?
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
# resource path
|
|
502
|
+
local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s).sub('{' + 'domainVersionId' + '}', domain_version_id.to_s)
|
|
503
|
+
|
|
504
|
+
# query parameters
|
|
505
|
+
query_params = {}
|
|
506
|
+
query_params[:'includeUtterances'] = opts[:'include_utterances'] if opts[:'include_utterances']
|
|
507
|
+
|
|
508
|
+
# header parameters
|
|
509
|
+
header_params = {}
|
|
510
|
+
|
|
511
|
+
# HTTP header 'Accept' (if needed)
|
|
512
|
+
local_header_accept = ['application/json']
|
|
513
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
514
|
+
|
|
515
|
+
# HTTP header 'Content-Type'
|
|
516
|
+
local_header_content_type = ['application/json']
|
|
517
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
518
|
+
|
|
519
|
+
# form parameters
|
|
520
|
+
form_params = {}
|
|
521
|
+
|
|
522
|
+
# http body (model)
|
|
523
|
+
post_body = nil
|
|
524
|
+
|
|
525
|
+
auth_names = ['PureCloud OAuth']
|
|
526
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
527
|
+
:header_params => header_params,
|
|
528
|
+
:query_params => query_params,
|
|
529
|
+
:form_params => form_params,
|
|
530
|
+
:body => post_body,
|
|
531
|
+
:auth_names => auth_names,
|
|
532
|
+
:return_type => 'NluDomainVersion')
|
|
533
|
+
if @api_client.config.debugging
|
|
534
|
+
@api_client.config.logger.debug "API called: LanguageUnderstandingApi#get_languageunderstanding_domain_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
535
|
+
end
|
|
536
|
+
return data, status_code, headers
|
|
537
|
+
end
|
|
538
|
+
|
|
539
|
+
# Retrieved quality report for the specified NLU Domain Version
|
|
540
|
+
#
|
|
541
|
+
# @param domain_id ID of the NLU domain.
|
|
542
|
+
# @param domain_version_id ID of the NLU domain version.
|
|
543
|
+
# @param [Hash] opts the optional parameters
|
|
544
|
+
# @return [NluDomainVersionQualityReport]
|
|
545
|
+
def get_languageunderstanding_domain_version_report(domain_id, domain_version_id, opts = {})
|
|
546
|
+
data, _status_code, _headers = get_languageunderstanding_domain_version_report_with_http_info(domain_id, domain_version_id, opts)
|
|
547
|
+
return data
|
|
548
|
+
end
|
|
549
|
+
|
|
550
|
+
# Retrieved quality report for the specified NLU Domain Version
|
|
551
|
+
#
|
|
552
|
+
# @param domain_id ID of the NLU domain.
|
|
553
|
+
# @param domain_version_id ID of the NLU domain version.
|
|
554
|
+
# @param [Hash] opts the optional parameters
|
|
555
|
+
# @return [Array<(NluDomainVersionQualityReport, Fixnum, Hash)>] NluDomainVersionQualityReport data, response status code and response headers
|
|
556
|
+
def get_languageunderstanding_domain_version_report_with_http_info(domain_id, domain_version_id, opts = {})
|
|
557
|
+
if @api_client.config.debugging
|
|
558
|
+
@api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.get_languageunderstanding_domain_version_report ..."
|
|
559
|
+
end
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
# verify the required parameter 'domain_id' is set
|
|
563
|
+
fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain_version_report" if domain_id.nil?
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
# verify the required parameter 'domain_version_id' is set
|
|
571
|
+
fail ArgumentError, "Missing the required parameter 'domain_version_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain_version_report" if domain_version_id.nil?
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
# resource path
|
|
578
|
+
local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/report".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s).sub('{' + 'domainVersionId' + '}', domain_version_id.to_s)
|
|
579
|
+
|
|
580
|
+
# query parameters
|
|
581
|
+
query_params = {}
|
|
582
|
+
|
|
583
|
+
# header parameters
|
|
584
|
+
header_params = {}
|
|
585
|
+
|
|
586
|
+
# HTTP header 'Accept' (if needed)
|
|
587
|
+
local_header_accept = ['application/json']
|
|
588
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
589
|
+
|
|
590
|
+
# HTTP header 'Content-Type'
|
|
591
|
+
local_header_content_type = ['application/json']
|
|
592
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
593
|
+
|
|
594
|
+
# form parameters
|
|
595
|
+
form_params = {}
|
|
596
|
+
|
|
597
|
+
# http body (model)
|
|
598
|
+
post_body = nil
|
|
599
|
+
|
|
600
|
+
auth_names = ['PureCloud OAuth']
|
|
601
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
602
|
+
:header_params => header_params,
|
|
603
|
+
:query_params => query_params,
|
|
604
|
+
:form_params => form_params,
|
|
605
|
+
:body => post_body,
|
|
606
|
+
:auth_names => auth_names,
|
|
607
|
+
:return_type => 'NluDomainVersionQualityReport')
|
|
608
|
+
if @api_client.config.debugging
|
|
609
|
+
@api_client.config.logger.debug "API called: LanguageUnderstandingApi#get_languageunderstanding_domain_version_report\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
610
|
+
end
|
|
611
|
+
return data, status_code, headers
|
|
612
|
+
end
|
|
613
|
+
|
|
614
|
+
# Get all NLU Domain Versions for a given Domain.
|
|
615
|
+
#
|
|
616
|
+
# @param domain_id ID of the NLU domain.
|
|
617
|
+
# @param [Hash] opts the optional parameters
|
|
618
|
+
# @option opts [BOOLEAN] :include_utterances Whether utterances for intent definition should be included when marshalling response.
|
|
619
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
|
620
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
|
621
|
+
# @return [NluDomainVersionListing]
|
|
622
|
+
def get_languageunderstanding_domain_versions(domain_id, opts = {})
|
|
623
|
+
data, _status_code, _headers = get_languageunderstanding_domain_versions_with_http_info(domain_id, opts)
|
|
624
|
+
return data
|
|
625
|
+
end
|
|
626
|
+
|
|
627
|
+
# Get all NLU Domain Versions for a given Domain.
|
|
628
|
+
#
|
|
629
|
+
# @param domain_id ID of the NLU domain.
|
|
630
|
+
# @param [Hash] opts the optional parameters
|
|
631
|
+
# @option opts [BOOLEAN] :include_utterances Whether utterances for intent definition should be included when marshalling response.
|
|
632
|
+
# @option opts [Integer] :page_number Page number
|
|
633
|
+
# @option opts [Integer] :page_size Page size
|
|
634
|
+
# @return [Array<(NluDomainVersionListing, Fixnum, Hash)>] NluDomainVersionListing data, response status code and response headers
|
|
635
|
+
def get_languageunderstanding_domain_versions_with_http_info(domain_id, opts = {})
|
|
636
|
+
if @api_client.config.debugging
|
|
637
|
+
@api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.get_languageunderstanding_domain_versions ..."
|
|
638
|
+
end
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
# verify the required parameter 'domain_id' is set
|
|
642
|
+
fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain_versions" if domain_id.nil?
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
# resource path
|
|
667
|
+
local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/versions".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s)
|
|
668
|
+
|
|
669
|
+
# query parameters
|
|
670
|
+
query_params = {}
|
|
671
|
+
query_params[:'includeUtterances'] = opts[:'include_utterances'] if opts[:'include_utterances']
|
|
672
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
673
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
674
|
+
|
|
675
|
+
# header parameters
|
|
676
|
+
header_params = {}
|
|
677
|
+
|
|
678
|
+
# HTTP header 'Accept' (if needed)
|
|
679
|
+
local_header_accept = ['application/json']
|
|
680
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
681
|
+
|
|
682
|
+
# HTTP header 'Content-Type'
|
|
683
|
+
local_header_content_type = ['application/json']
|
|
684
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
685
|
+
|
|
686
|
+
# form parameters
|
|
687
|
+
form_params = {}
|
|
688
|
+
|
|
689
|
+
# http body (model)
|
|
690
|
+
post_body = nil
|
|
691
|
+
|
|
692
|
+
auth_names = ['PureCloud OAuth']
|
|
693
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
694
|
+
:header_params => header_params,
|
|
695
|
+
:query_params => query_params,
|
|
696
|
+
:form_params => form_params,
|
|
697
|
+
:body => post_body,
|
|
698
|
+
:auth_names => auth_names,
|
|
699
|
+
:return_type => 'NluDomainVersionListing')
|
|
700
|
+
if @api_client.config.debugging
|
|
701
|
+
@api_client.config.logger.debug "API called: LanguageUnderstandingApi#get_languageunderstanding_domain_versions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
702
|
+
end
|
|
703
|
+
return data, status_code, headers
|
|
704
|
+
end
|
|
705
|
+
|
|
706
|
+
# Get all NLU Domains.
|
|
707
|
+
#
|
|
708
|
+
# @param [Hash] opts the optional parameters
|
|
709
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
|
710
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
|
711
|
+
# @return [NluDomainListing]
|
|
712
|
+
def get_languageunderstanding_domains(opts = {})
|
|
713
|
+
data, _status_code, _headers = get_languageunderstanding_domains_with_http_info(opts)
|
|
714
|
+
return data
|
|
715
|
+
end
|
|
716
|
+
|
|
717
|
+
# Get all NLU Domains.
|
|
718
|
+
#
|
|
719
|
+
# @param [Hash] opts the optional parameters
|
|
720
|
+
# @option opts [Integer] :page_number Page number
|
|
721
|
+
# @option opts [Integer] :page_size Page size
|
|
722
|
+
# @return [Array<(NluDomainListing, Fixnum, Hash)>] NluDomainListing data, response status code and response headers
|
|
723
|
+
def get_languageunderstanding_domains_with_http_info(opts = {})
|
|
724
|
+
if @api_client.config.debugging
|
|
725
|
+
@api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.get_languageunderstanding_domains ..."
|
|
726
|
+
end
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
# resource path
|
|
741
|
+
local_var_path = "/api/v2/languageunderstanding/domains".sub('{format}','json')
|
|
742
|
+
|
|
743
|
+
# query parameters
|
|
744
|
+
query_params = {}
|
|
745
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
746
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
747
|
+
|
|
748
|
+
# header parameters
|
|
749
|
+
header_params = {}
|
|
750
|
+
|
|
751
|
+
# HTTP header 'Accept' (if needed)
|
|
752
|
+
local_header_accept = ['application/json']
|
|
753
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
754
|
+
|
|
755
|
+
# HTTP header 'Content-Type'
|
|
756
|
+
local_header_content_type = ['application/json']
|
|
757
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
758
|
+
|
|
759
|
+
# form parameters
|
|
760
|
+
form_params = {}
|
|
761
|
+
|
|
762
|
+
# http body (model)
|
|
763
|
+
post_body = nil
|
|
764
|
+
|
|
765
|
+
auth_names = ['PureCloud OAuth']
|
|
766
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
767
|
+
:header_params => header_params,
|
|
768
|
+
:query_params => query_params,
|
|
769
|
+
:form_params => form_params,
|
|
770
|
+
:body => post_body,
|
|
771
|
+
:auth_names => auth_names,
|
|
772
|
+
:return_type => 'NluDomainListing')
|
|
773
|
+
if @api_client.config.debugging
|
|
774
|
+
@api_client.config.logger.debug "API called: LanguageUnderstandingApi#get_languageunderstanding_domains\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
775
|
+
end
|
|
776
|
+
return data, status_code, headers
|
|
777
|
+
end
|
|
778
|
+
|
|
779
|
+
# Update an NLU Domain.
|
|
780
|
+
#
|
|
781
|
+
# @param domain_id ID of the NLU domain.
|
|
782
|
+
# @param [Hash] opts the optional parameters
|
|
783
|
+
# @option opts [NluDomain] :body
|
|
784
|
+
# @return [NluDomain]
|
|
785
|
+
def patch_languageunderstanding_domain(domain_id, opts = {})
|
|
786
|
+
data, _status_code, _headers = patch_languageunderstanding_domain_with_http_info(domain_id, opts)
|
|
787
|
+
return data
|
|
788
|
+
end
|
|
789
|
+
|
|
790
|
+
# Update an NLU Domain.
|
|
791
|
+
#
|
|
792
|
+
# @param domain_id ID of the NLU domain.
|
|
793
|
+
# @param [Hash] opts the optional parameters
|
|
794
|
+
# @option opts [NluDomain] :body
|
|
795
|
+
# @return [Array<(NluDomain, Fixnum, Hash)>] NluDomain data, response status code and response headers
|
|
796
|
+
def patch_languageunderstanding_domain_with_http_info(domain_id, opts = {})
|
|
797
|
+
if @api_client.config.debugging
|
|
798
|
+
@api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.patch_languageunderstanding_domain ..."
|
|
799
|
+
end
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
# verify the required parameter 'domain_id' is set
|
|
803
|
+
fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.patch_languageunderstanding_domain" if domain_id.nil?
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
# resource path
|
|
816
|
+
local_var_path = "/api/v2/languageunderstanding/domains/{domainId}".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s)
|
|
817
|
+
|
|
818
|
+
# query parameters
|
|
819
|
+
query_params = {}
|
|
820
|
+
|
|
821
|
+
# header parameters
|
|
822
|
+
header_params = {}
|
|
823
|
+
|
|
824
|
+
# HTTP header 'Accept' (if needed)
|
|
825
|
+
local_header_accept = ['application/json']
|
|
826
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
827
|
+
|
|
828
|
+
# HTTP header 'Content-Type'
|
|
829
|
+
local_header_content_type = ['application/json']
|
|
830
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
831
|
+
|
|
832
|
+
# form parameters
|
|
833
|
+
form_params = {}
|
|
834
|
+
|
|
835
|
+
# http body (model)
|
|
836
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
837
|
+
|
|
838
|
+
auth_names = ['PureCloud OAuth']
|
|
839
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
840
|
+
:header_params => header_params,
|
|
841
|
+
:query_params => query_params,
|
|
842
|
+
:form_params => form_params,
|
|
843
|
+
:body => post_body,
|
|
844
|
+
:auth_names => auth_names,
|
|
845
|
+
:return_type => 'NluDomain')
|
|
846
|
+
if @api_client.config.debugging
|
|
847
|
+
@api_client.config.logger.debug "API called: LanguageUnderstandingApi#patch_languageunderstanding_domain\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
848
|
+
end
|
|
849
|
+
return data, status_code, headers
|
|
850
|
+
end
|
|
851
|
+
|
|
852
|
+
# Create feedback for the NLU Domain Version.
|
|
853
|
+
#
|
|
854
|
+
# @param domain_id ID of the NLU domain.
|
|
855
|
+
# @param [Hash] opts the optional parameters
|
|
856
|
+
# @option opts [NluFeedbackRequest] :body
|
|
857
|
+
# @return [NluFeedbackResponse]
|
|
858
|
+
def post_languageunderstanding_domain_feedback(domain_id, opts = {})
|
|
859
|
+
data, _status_code, _headers = post_languageunderstanding_domain_feedback_with_http_info(domain_id, opts)
|
|
860
|
+
return data
|
|
861
|
+
end
|
|
862
|
+
|
|
863
|
+
# Create feedback for the NLU Domain Version.
|
|
864
|
+
#
|
|
865
|
+
# @param domain_id ID of the NLU domain.
|
|
866
|
+
# @param [Hash] opts the optional parameters
|
|
867
|
+
# @option opts [NluFeedbackRequest] :body
|
|
868
|
+
# @return [Array<(NluFeedbackResponse, Fixnum, Hash)>] NluFeedbackResponse data, response status code and response headers
|
|
869
|
+
def post_languageunderstanding_domain_feedback_with_http_info(domain_id, opts = {})
|
|
870
|
+
if @api_client.config.debugging
|
|
871
|
+
@api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.post_languageunderstanding_domain_feedback ..."
|
|
872
|
+
end
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
# verify the required parameter 'domain_id' is set
|
|
876
|
+
fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.post_languageunderstanding_domain_feedback" if domain_id.nil?
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
# resource path
|
|
889
|
+
local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/feedback".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s)
|
|
890
|
+
|
|
891
|
+
# query parameters
|
|
892
|
+
query_params = {}
|
|
893
|
+
|
|
894
|
+
# header parameters
|
|
895
|
+
header_params = {}
|
|
896
|
+
|
|
897
|
+
# HTTP header 'Accept' (if needed)
|
|
898
|
+
local_header_accept = ['application/json']
|
|
899
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
900
|
+
|
|
901
|
+
# HTTP header 'Content-Type'
|
|
902
|
+
local_header_content_type = ['application/json']
|
|
903
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
904
|
+
|
|
905
|
+
# form parameters
|
|
906
|
+
form_params = {}
|
|
907
|
+
|
|
908
|
+
# http body (model)
|
|
909
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
910
|
+
|
|
911
|
+
auth_names = ['PureCloud OAuth']
|
|
912
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
913
|
+
:header_params => header_params,
|
|
914
|
+
:query_params => query_params,
|
|
915
|
+
:form_params => form_params,
|
|
916
|
+
:body => post_body,
|
|
917
|
+
:auth_names => auth_names,
|
|
918
|
+
:return_type => 'NluFeedbackResponse')
|
|
919
|
+
if @api_client.config.debugging
|
|
920
|
+
@api_client.config.logger.debug "API called: LanguageUnderstandingApi#post_languageunderstanding_domain_feedback\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
921
|
+
end
|
|
922
|
+
return data, status_code, headers
|
|
923
|
+
end
|
|
924
|
+
|
|
925
|
+
# Detect intent, entities, etc. in the submitted text using the specified NLU domain version.
|
|
926
|
+
#
|
|
927
|
+
# @param domain_id ID of the NLU domain.
|
|
928
|
+
# @param domain_version_id ID of the NLU domain version.
|
|
929
|
+
# @param [Hash] opts the optional parameters
|
|
930
|
+
# @option opts [NluDetectionRequest] :body
|
|
931
|
+
# @return [NluDetectionResponse]
|
|
932
|
+
def post_languageunderstanding_domain_version_detect(domain_id, domain_version_id, opts = {})
|
|
933
|
+
data, _status_code, _headers = post_languageunderstanding_domain_version_detect_with_http_info(domain_id, domain_version_id, opts)
|
|
934
|
+
return data
|
|
935
|
+
end
|
|
936
|
+
|
|
937
|
+
# Detect intent, entities, etc. in the submitted text using the specified NLU domain version.
|
|
938
|
+
#
|
|
939
|
+
# @param domain_id ID of the NLU domain.
|
|
940
|
+
# @param domain_version_id ID of the NLU domain version.
|
|
941
|
+
# @param [Hash] opts the optional parameters
|
|
942
|
+
# @option opts [NluDetectionRequest] :body
|
|
943
|
+
# @return [Array<(NluDetectionResponse, Fixnum, Hash)>] NluDetectionResponse data, response status code and response headers
|
|
944
|
+
def post_languageunderstanding_domain_version_detect_with_http_info(domain_id, domain_version_id, opts = {})
|
|
945
|
+
if @api_client.config.debugging
|
|
946
|
+
@api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.post_languageunderstanding_domain_version_detect ..."
|
|
947
|
+
end
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
# verify the required parameter 'domain_id' is set
|
|
951
|
+
fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.post_languageunderstanding_domain_version_detect" if domain_id.nil?
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
# verify the required parameter 'domain_version_id' is set
|
|
959
|
+
fail ArgumentError, "Missing the required parameter 'domain_version_id' when calling LanguageUnderstandingApi.post_languageunderstanding_domain_version_detect" if domain_version_id.nil?
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
# resource path
|
|
972
|
+
local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/detect".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s).sub('{' + 'domainVersionId' + '}', domain_version_id.to_s)
|
|
973
|
+
|
|
974
|
+
# query parameters
|
|
975
|
+
query_params = {}
|
|
976
|
+
|
|
977
|
+
# header parameters
|
|
978
|
+
header_params = {}
|
|
979
|
+
|
|
980
|
+
# HTTP header 'Accept' (if needed)
|
|
981
|
+
local_header_accept = ['application/json']
|
|
982
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
983
|
+
|
|
984
|
+
# HTTP header 'Content-Type'
|
|
985
|
+
local_header_content_type = ['application/json']
|
|
986
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
987
|
+
|
|
988
|
+
# form parameters
|
|
989
|
+
form_params = {}
|
|
990
|
+
|
|
991
|
+
# http body (model)
|
|
992
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
993
|
+
|
|
994
|
+
auth_names = ['PureCloud OAuth']
|
|
995
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
996
|
+
:header_params => header_params,
|
|
997
|
+
:query_params => query_params,
|
|
998
|
+
:form_params => form_params,
|
|
999
|
+
:body => post_body,
|
|
1000
|
+
:auth_names => auth_names,
|
|
1001
|
+
:return_type => 'NluDetectionResponse')
|
|
1002
|
+
if @api_client.config.debugging
|
|
1003
|
+
@api_client.config.logger.debug "API called: LanguageUnderstandingApi#post_languageunderstanding_domain_version_detect\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1004
|
+
end
|
|
1005
|
+
return data, status_code, headers
|
|
1006
|
+
end
|
|
1007
|
+
|
|
1008
|
+
# Publish the draft NLU Domain Version.
|
|
1009
|
+
#
|
|
1010
|
+
# @param domain_id ID of the NLU domain.
|
|
1011
|
+
# @param domain_version_id ID of the NLU domain version.
|
|
1012
|
+
# @param [Hash] opts the optional parameters
|
|
1013
|
+
# @return [NluDomainVersion]
|
|
1014
|
+
def post_languageunderstanding_domain_version_publish(domain_id, domain_version_id, opts = {})
|
|
1015
|
+
data, _status_code, _headers = post_languageunderstanding_domain_version_publish_with_http_info(domain_id, domain_version_id, opts)
|
|
1016
|
+
return data
|
|
1017
|
+
end
|
|
1018
|
+
|
|
1019
|
+
# Publish the draft NLU Domain Version.
|
|
1020
|
+
#
|
|
1021
|
+
# @param domain_id ID of the NLU domain.
|
|
1022
|
+
# @param domain_version_id ID of the NLU domain version.
|
|
1023
|
+
# @param [Hash] opts the optional parameters
|
|
1024
|
+
# @return [Array<(NluDomainVersion, Fixnum, Hash)>] NluDomainVersion data, response status code and response headers
|
|
1025
|
+
def post_languageunderstanding_domain_version_publish_with_http_info(domain_id, domain_version_id, opts = {})
|
|
1026
|
+
if @api_client.config.debugging
|
|
1027
|
+
@api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.post_languageunderstanding_domain_version_publish ..."
|
|
1028
|
+
end
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
# verify the required parameter 'domain_id' is set
|
|
1032
|
+
fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.post_languageunderstanding_domain_version_publish" if domain_id.nil?
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
# verify the required parameter 'domain_version_id' is set
|
|
1040
|
+
fail ArgumentError, "Missing the required parameter 'domain_version_id' when calling LanguageUnderstandingApi.post_languageunderstanding_domain_version_publish" if domain_version_id.nil?
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
# resource path
|
|
1047
|
+
local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/publish".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s).sub('{' + 'domainVersionId' + '}', domain_version_id.to_s)
|
|
1048
|
+
|
|
1049
|
+
# query parameters
|
|
1050
|
+
query_params = {}
|
|
1051
|
+
|
|
1052
|
+
# header parameters
|
|
1053
|
+
header_params = {}
|
|
1054
|
+
|
|
1055
|
+
# HTTP header 'Accept' (if needed)
|
|
1056
|
+
local_header_accept = ['application/json']
|
|
1057
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1058
|
+
|
|
1059
|
+
# HTTP header 'Content-Type'
|
|
1060
|
+
local_header_content_type = ['application/json']
|
|
1061
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1062
|
+
|
|
1063
|
+
# form parameters
|
|
1064
|
+
form_params = {}
|
|
1065
|
+
|
|
1066
|
+
# http body (model)
|
|
1067
|
+
post_body = nil
|
|
1068
|
+
|
|
1069
|
+
auth_names = ['PureCloud OAuth']
|
|
1070
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1071
|
+
:header_params => header_params,
|
|
1072
|
+
:query_params => query_params,
|
|
1073
|
+
:form_params => form_params,
|
|
1074
|
+
:body => post_body,
|
|
1075
|
+
:auth_names => auth_names,
|
|
1076
|
+
:return_type => 'NluDomainVersion')
|
|
1077
|
+
if @api_client.config.debugging
|
|
1078
|
+
@api_client.config.logger.debug "API called: LanguageUnderstandingApi#post_languageunderstanding_domain_version_publish\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1079
|
+
end
|
|
1080
|
+
return data, status_code, headers
|
|
1081
|
+
end
|
|
1082
|
+
|
|
1083
|
+
# Train the draft NLU Domain Version.
|
|
1084
|
+
#
|
|
1085
|
+
# @param domain_id ID of the NLU domain.
|
|
1086
|
+
# @param domain_version_id ID of the NLU domain version.
|
|
1087
|
+
# @param [Hash] opts the optional parameters
|
|
1088
|
+
# @return [NluDomainVersionTrainingResponse]
|
|
1089
|
+
def post_languageunderstanding_domain_version_train(domain_id, domain_version_id, opts = {})
|
|
1090
|
+
data, _status_code, _headers = post_languageunderstanding_domain_version_train_with_http_info(domain_id, domain_version_id, opts)
|
|
1091
|
+
return data
|
|
1092
|
+
end
|
|
1093
|
+
|
|
1094
|
+
# Train the draft NLU Domain Version.
|
|
1095
|
+
#
|
|
1096
|
+
# @param domain_id ID of the NLU domain.
|
|
1097
|
+
# @param domain_version_id ID of the NLU domain version.
|
|
1098
|
+
# @param [Hash] opts the optional parameters
|
|
1099
|
+
# @return [Array<(NluDomainVersionTrainingResponse, Fixnum, Hash)>] NluDomainVersionTrainingResponse data, response status code and response headers
|
|
1100
|
+
def post_languageunderstanding_domain_version_train_with_http_info(domain_id, domain_version_id, opts = {})
|
|
1101
|
+
if @api_client.config.debugging
|
|
1102
|
+
@api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.post_languageunderstanding_domain_version_train ..."
|
|
1103
|
+
end
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
# verify the required parameter 'domain_id' is set
|
|
1107
|
+
fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.post_languageunderstanding_domain_version_train" if domain_id.nil?
|
|
1108
|
+
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
# verify the required parameter 'domain_version_id' is set
|
|
1115
|
+
fail ArgumentError, "Missing the required parameter 'domain_version_id' when calling LanguageUnderstandingApi.post_languageunderstanding_domain_version_train" if domain_version_id.nil?
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
# resource path
|
|
1122
|
+
local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/train".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s).sub('{' + 'domainVersionId' + '}', domain_version_id.to_s)
|
|
1123
|
+
|
|
1124
|
+
# query parameters
|
|
1125
|
+
query_params = {}
|
|
1126
|
+
|
|
1127
|
+
# header parameters
|
|
1128
|
+
header_params = {}
|
|
1129
|
+
|
|
1130
|
+
# HTTP header 'Accept' (if needed)
|
|
1131
|
+
local_header_accept = ['application/json']
|
|
1132
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1133
|
+
|
|
1134
|
+
# HTTP header 'Content-Type'
|
|
1135
|
+
local_header_content_type = ['application/json']
|
|
1136
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1137
|
+
|
|
1138
|
+
# form parameters
|
|
1139
|
+
form_params = {}
|
|
1140
|
+
|
|
1141
|
+
# http body (model)
|
|
1142
|
+
post_body = nil
|
|
1143
|
+
|
|
1144
|
+
auth_names = ['PureCloud OAuth']
|
|
1145
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1146
|
+
:header_params => header_params,
|
|
1147
|
+
:query_params => query_params,
|
|
1148
|
+
:form_params => form_params,
|
|
1149
|
+
:body => post_body,
|
|
1150
|
+
:auth_names => auth_names,
|
|
1151
|
+
:return_type => 'NluDomainVersionTrainingResponse')
|
|
1152
|
+
if @api_client.config.debugging
|
|
1153
|
+
@api_client.config.logger.debug "API called: LanguageUnderstandingApi#post_languageunderstanding_domain_version_train\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1154
|
+
end
|
|
1155
|
+
return data, status_code, headers
|
|
1156
|
+
end
|
|
1157
|
+
|
|
1158
|
+
# Create an NLU Domain.
|
|
1159
|
+
#
|
|
1160
|
+
# @param [Hash] opts the optional parameters
|
|
1161
|
+
# @option opts [NluDomain] :body
|
|
1162
|
+
# @return [NluDomain]
|
|
1163
|
+
def post_languageunderstanding_domains(opts = {})
|
|
1164
|
+
data, _status_code, _headers = post_languageunderstanding_domains_with_http_info(opts)
|
|
1165
|
+
return data
|
|
1166
|
+
end
|
|
1167
|
+
|
|
1168
|
+
# Create an NLU Domain.
|
|
1169
|
+
#
|
|
1170
|
+
# @param [Hash] opts the optional parameters
|
|
1171
|
+
# @option opts [NluDomain] :body
|
|
1172
|
+
# @return [Array<(NluDomain, Fixnum, Hash)>] NluDomain data, response status code and response headers
|
|
1173
|
+
def post_languageunderstanding_domains_with_http_info(opts = {})
|
|
1174
|
+
if @api_client.config.debugging
|
|
1175
|
+
@api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.post_languageunderstanding_domains ..."
|
|
1176
|
+
end
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
# resource path
|
|
1185
|
+
local_var_path = "/api/v2/languageunderstanding/domains".sub('{format}','json')
|
|
1186
|
+
|
|
1187
|
+
# query parameters
|
|
1188
|
+
query_params = {}
|
|
1189
|
+
|
|
1190
|
+
# header parameters
|
|
1191
|
+
header_params = {}
|
|
1192
|
+
|
|
1193
|
+
# HTTP header 'Accept' (if needed)
|
|
1194
|
+
local_header_accept = ['application/json']
|
|
1195
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1196
|
+
|
|
1197
|
+
# HTTP header 'Content-Type'
|
|
1198
|
+
local_header_content_type = ['application/json']
|
|
1199
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1200
|
+
|
|
1201
|
+
# form parameters
|
|
1202
|
+
form_params = {}
|
|
1203
|
+
|
|
1204
|
+
# http body (model)
|
|
1205
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1206
|
+
|
|
1207
|
+
auth_names = ['PureCloud OAuth']
|
|
1208
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
1209
|
+
:header_params => header_params,
|
|
1210
|
+
:query_params => query_params,
|
|
1211
|
+
:form_params => form_params,
|
|
1212
|
+
:body => post_body,
|
|
1213
|
+
:auth_names => auth_names,
|
|
1214
|
+
:return_type => 'NluDomain')
|
|
1215
|
+
if @api_client.config.debugging
|
|
1216
|
+
@api_client.config.logger.debug "API called: LanguageUnderstandingApi#post_languageunderstanding_domains\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1217
|
+
end
|
|
1218
|
+
return data, status_code, headers
|
|
1219
|
+
end
|
|
1220
|
+
|
|
1221
|
+
# Update an NLU Domain Version.
|
|
1222
|
+
#
|
|
1223
|
+
# @param domain_id ID of the NLU domain.
|
|
1224
|
+
# @param domain_version_id ID of the NLU domain version.
|
|
1225
|
+
# @param [Hash] opts the optional parameters
|
|
1226
|
+
# @option opts [NluDomainVersion] :body
|
|
1227
|
+
# @return [NluDomainVersion]
|
|
1228
|
+
def put_languageunderstanding_domain_version(domain_id, domain_version_id, opts = {})
|
|
1229
|
+
data, _status_code, _headers = put_languageunderstanding_domain_version_with_http_info(domain_id, domain_version_id, opts)
|
|
1230
|
+
return data
|
|
1231
|
+
end
|
|
1232
|
+
|
|
1233
|
+
# Update an NLU Domain Version.
|
|
1234
|
+
#
|
|
1235
|
+
# @param domain_id ID of the NLU domain.
|
|
1236
|
+
# @param domain_version_id ID of the NLU domain version.
|
|
1237
|
+
# @param [Hash] opts the optional parameters
|
|
1238
|
+
# @option opts [NluDomainVersion] :body
|
|
1239
|
+
# @return [Array<(NluDomainVersion, Fixnum, Hash)>] NluDomainVersion data, response status code and response headers
|
|
1240
|
+
def put_languageunderstanding_domain_version_with_http_info(domain_id, domain_version_id, opts = {})
|
|
1241
|
+
if @api_client.config.debugging
|
|
1242
|
+
@api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.put_languageunderstanding_domain_version ..."
|
|
1243
|
+
end
|
|
1244
|
+
|
|
1245
|
+
|
|
1246
|
+
# verify the required parameter 'domain_id' is set
|
|
1247
|
+
fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.put_languageunderstanding_domain_version" if domain_id.nil?
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
# verify the required parameter 'domain_version_id' is set
|
|
1255
|
+
fail ArgumentError, "Missing the required parameter 'domain_version_id' when calling LanguageUnderstandingApi.put_languageunderstanding_domain_version" if domain_version_id.nil?
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
|
|
1266
|
+
|
|
1267
|
+
# resource path
|
|
1268
|
+
local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s).sub('{' + 'domainVersionId' + '}', domain_version_id.to_s)
|
|
1269
|
+
|
|
1270
|
+
# query parameters
|
|
1271
|
+
query_params = {}
|
|
1272
|
+
|
|
1273
|
+
# header parameters
|
|
1274
|
+
header_params = {}
|
|
1275
|
+
|
|
1276
|
+
# HTTP header 'Accept' (if needed)
|
|
1277
|
+
local_header_accept = ['application/json']
|
|
1278
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1279
|
+
|
|
1280
|
+
# HTTP header 'Content-Type'
|
|
1281
|
+
local_header_content_type = ['application/json']
|
|
1282
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1283
|
+
|
|
1284
|
+
# form parameters
|
|
1285
|
+
form_params = {}
|
|
1286
|
+
|
|
1287
|
+
# http body (model)
|
|
1288
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
1289
|
+
|
|
1290
|
+
auth_names = ['PureCloud OAuth']
|
|
1291
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1292
|
+
:header_params => header_params,
|
|
1293
|
+
:query_params => query_params,
|
|
1294
|
+
:form_params => form_params,
|
|
1295
|
+
:body => post_body,
|
|
1296
|
+
:auth_names => auth_names,
|
|
1297
|
+
:return_type => 'NluDomainVersion')
|
|
1298
|
+
if @api_client.config.debugging
|
|
1299
|
+
@api_client.config.logger.debug "API called: LanguageUnderstandingApi#put_languageunderstanding_domain_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1300
|
+
end
|
|
1301
|
+
return data, status_code, headers
|
|
1302
|
+
end
|
|
1303
|
+
end
|
|
1304
|
+
end
|