@iblai/iblai-api 2025.11.20-memory-pagination-fix-test-2-core → 2025.11.20-memory-pagination-fix-test-2-ai
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.
- package/dist/index.cjs.js +24193 -1946
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +24185 -1947
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +24193 -1946
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +430 -1
- package/dist/types/models/AIGeneratedImage.d.ts +13 -0
- package/dist/types/models/AIUserProfileMemoryRelation.d.ts +4 -0
- package/dist/types/models/AIUserProfileRequest.d.ts +4 -0
- package/dist/types/models/AccessEnum.d.ts +8 -0
- package/dist/types/models/AccessTimesHeatmap.d.ts +5 -0
- package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +13 -0
- package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +13 -0
- package/dist/types/models/ActionBreakdown.d.ts +10 -0
- package/dist/types/models/AddMentorToDisclaimer.d.ts +12 -0
- package/dist/types/models/AlignMentorBubbleEnum.d.ts +8 -0
- package/dist/types/models/AnalyticsOverview.d.ts +7 -0
- package/dist/types/models/Answer.d.ts +11 -0
- package/dist/types/models/Artifact.d.ts +64 -0
- package/dist/types/models/ArtifactList.d.ts +45 -0
- package/dist/types/models/ArtifactVersion.d.ts +36 -0
- package/dist/types/models/ArtifactVersionList.d.ts +35 -0
- package/dist/types/models/AssumedKnowledge.d.ts +4 -0
- package/dist/types/models/AssumedKnowledgeLevel.d.ts +4 -0
- package/dist/types/models/AudioToTextRequest.d.ts +3 -0
- package/dist/types/models/AudioToTextResponse.d.ts +3 -0
- package/dist/types/models/AuthTypeEnum.d.ts +10 -0
- package/dist/types/models/AutoMemoryPrompt.d.ts +4 -0
- package/dist/types/models/BaseFinanceResponse.d.ts +37 -0
- package/dist/types/models/BillingPeriod.d.ts +8 -0
- package/dist/types/models/Bot.d.ts +15 -0
- package/dist/types/models/BotCommand.d.ts +6 -0
- package/dist/types/models/BotCreate.d.ts +12 -0
- package/dist/types/models/Breakdown.d.ts +11 -0
- package/dist/types/models/CallAuthenticationRequest.d.ts +17 -0
- package/dist/types/models/CallAuthenticationResponse.d.ts +21 -0
- package/dist/types/models/CallConfiguration.d.ts +26 -0
- package/dist/types/models/CallConfigurationModeEnum.d.ts +8 -0
- package/dist/types/models/ChatHistory.d.ts +9 -0
- package/dist/types/models/ChatHistoryFilterData.d.ts +9 -0
- package/dist/types/models/ChatHistoryFilterUser.d.ts +5 -0
- package/dist/types/models/ChatHistoryItem.d.ts +5 -0
- package/dist/types/models/ChatHistorySessionId.d.ts +3 -0
- package/dist/types/models/ChatSessionRequest.d.ts +15 -0
- package/dist/types/models/ChatSessionResponse.d.ts +6 -0
- package/dist/types/models/CheckDocumentTrainingStatus.d.ts +10 -0
- package/dist/types/models/ComparisonInfo.d.ts +29 -0
- package/dist/types/models/ComponentBlock.d.ts +9 -0
- package/dist/types/models/ComponentBlockTypeEnum.d.ts +8 -0
- package/dist/types/models/ConnectedService.d.ts +24 -0
- package/dist/types/models/ConversationChartPoint.d.ts +4 -0
- package/dist/types/models/ConversationDetailResponse.d.ts +4 -0
- package/dist/types/models/ConversationListItem.d.ts +24 -0
- package/dist/types/models/ConversationListResponse.d.ts +6 -0
- package/dist/types/models/ConversationMessage.d.ts +11 -0
- package/dist/types/models/ConversationRating.d.ts +6 -0
- package/dist/types/models/ConversationSummary.d.ts +5 -0
- package/dist/types/models/ConversationVolume.d.ts +4 -0
- package/dist/types/models/Conversations.d.ts +33 -0
- package/dist/types/models/ConversationsChart.d.ts +5 -0
- package/dist/types/models/Cost.d.ts +3 -0
- package/dist/types/models/CostPerTenant.d.ts +6 -0
- package/dist/types/models/CourseCreationTask.d.ts +31 -0
- package/dist/types/models/CourseCreationTaskFile.d.ts +7 -0
- package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +16 -0
- package/dist/types/models/CourseRecommendation.d.ts +49 -0
- package/dist/types/models/CrawlerPatternTypeEnum.d.ts +8 -0
- package/dist/types/models/CredentialRequest.d.ts +14 -0
- package/dist/types/models/CrontabSchedule.d.ts +22 -0
- package/dist/types/models/CurrentUsersResponse.d.ts +8 -0
- package/dist/types/models/CustomInstructionResponse.d.ts +13 -0
- package/dist/types/models/DataSet.d.ts +21 -0
- package/dist/types/models/DataSetCreate.d.ts +12 -0
- package/dist/types/models/DataSetStatusEnum.d.ts +12 -0
- package/dist/types/models/DateRange.d.ts +4 -0
- package/dist/types/models/Disclaimer.d.ts +17 -0
- package/dist/types/models/DisclaimerAgreement.d.ts +11 -0
- package/dist/types/models/DisclaimerScopeEnum.d.ts +8 -0
- package/dist/types/models/DiscordConfig.d.ts +7 -0
- package/dist/types/models/DiscordUserConfig.d.ts +10 -0
- package/dist/types/models/DiscordWebhook.d.ts +6 -0
- package/dist/types/models/Document.d.ts +41 -0
- package/dist/types/models/DocumentFacet.d.ts +17 -0
- package/dist/types/models/DocumentFromPoolRequest.d.ts +10 -0
- package/dist/types/models/DocumentSearchResponse.d.ts +35 -0
- package/dist/types/models/DocumentSettingsResponse.d.ts +3 -0
- package/dist/types/models/EdxCourse.d.ts +11 -0
- package/dist/types/models/ElevenlabsCustomVoice.d.ts +4 -0
- package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +8 -0
- package/dist/types/models/EmailPromptDetail.d.ts +13 -0
- package/dist/types/models/EmailPromptList.d.ts +11 -0
- package/dist/types/models/EmailPromptSummary.d.ts +5 -0
- package/dist/types/models/Entity.d.ts +11 -0
- package/dist/types/models/EntityTypeEnum.d.ts +10 -0
- package/dist/types/models/ExternalServiceInfo.d.ts +6 -0
- package/dist/types/models/FileUploadURLRequest.d.ts +21 -0
- package/dist/types/models/FileUploadURLResponse.d.ts +25 -0
- package/dist/types/models/FinanceDetailsResponse.d.ts +13 -0
- package/dist/types/models/FinanceFilters.d.ts +15 -0
- package/dist/types/models/FreeUsageCount.d.ts +3 -0
- package/dist/types/models/FullCourse.d.ts +13 -0
- package/dist/types/models/GreetingMethodEnum.d.ts +8 -0
- package/dist/types/models/GuidedPrompt.d.ts +4 -0
- package/dist/types/models/GuidedPromptsResponse.d.ts +5 -0
- package/dist/types/models/HeygenMarketingVideoDetail.d.ts +8 -0
- package/dist/types/models/HeygenMarketingVideoList.d.ts +6 -0
- package/dist/types/models/HeygenTemplateRequest.d.ts +5 -0
- package/dist/types/models/HeygenTemplateResponseSingle.d.ts +6 -0
- package/dist/types/models/HeygenVideoDetail.d.ts +8 -0
- package/dist/types/models/HeygenVideoRequest.d.ts +5 -0
- package/dist/types/models/HumanSupportTicket.d.ts +23 -0
- package/dist/types/models/HumanSupportTicketStatusEnum.d.ts +10 -0
- package/dist/types/models/InputQuestion.d.ts +6 -0
- package/dist/types/models/IntegrationCredential.d.ts +10 -0
- package/dist/types/models/IntegrationCredentialSchema.d.ts +6 -0
- package/dist/types/models/IntialQuestionAnswer.d.ts +3 -0
- package/dist/types/models/InvoiceReportResponse.d.ts +13 -0
- package/dist/types/models/JobRun.d.ts +11 -0
- package/dist/types/models/KindEnum.d.ts +10 -0
- package/dist/types/models/LLMCredentialRequest.d.ts +14 -0
- package/dist/types/models/LLMCredentialResponse.d.ts +10 -0
- package/dist/types/models/LLMCredentialSchema.d.ts +6 -0
- package/dist/types/models/LLMModelForTenant.d.ts +6 -0
- package/dist/types/models/LLMQuestion.d.ts +15 -0
- package/dist/types/models/LLMResponse.d.ts +18 -0
- package/dist/types/models/LLMTracesListResponse.d.ts +5 -0
- package/dist/types/models/LanguagesView.d.ts +5 -0
- package/dist/types/models/LinkCourseRequest.d.ts +3 -0
- package/dist/types/models/LinkCourseResponse.d.ts +5 -0
- package/dist/types/models/LlmProviderEnum.d.ts +8 -0
- package/dist/types/models/MCPServer.d.ts +50 -0
- package/dist/types/models/MCPServerConnection.d.ts +47 -0
- package/dist/types/models/MCPServerConnectionScopeEnum.d.ts +10 -0
- package/dist/types/models/MaskedIntegrationCredential.d.ts +10 -0
- package/dist/types/models/MaskedLLMCredential.d.ts +10 -0
- package/dist/types/models/MemoryComponentData.d.ts +5 -0
- package/dist/types/models/MemoryComponentMemory.d.ts +4 -0
- package/dist/types/models/MemoryComponentMemoryDetail.d.ts +8 -0
- package/dist/types/models/MemoryComponentResponse.d.ts +5 -0
- package/dist/types/models/MemoryProgress.d.ts +8 -0
- package/dist/types/models/MemoryStatusRequestView.d.ts +6 -0
- package/dist/types/models/MemoryStatusView.d.ts +6 -0
- package/dist/types/models/Mentor.d.ts +142 -0
- package/dist/types/models/MentorAudience.d.ts +5 -0
- package/dist/types/models/MentorBreakdown.d.ts +9 -0
- package/dist/types/models/MentorCategory.d.ts +9 -0
- package/dist/types/models/MentorCategoryCreate.d.ts +11 -0
- package/dist/types/models/MentorCategoryGroup.d.ts +11 -0
- package/dist/types/models/MentorCategoryGroupCreate.d.ts +11 -0
- package/dist/types/models/MentorCreate.d.ts +132 -0
- package/dist/types/models/MentorCustomVoice.d.ts +4 -0
- package/dist/types/models/MentorCustomVoiceResponse.d.ts +4 -0
- package/dist/types/models/MentorData.d.ts +7 -0
- package/dist/types/models/MentorDetailAnalytics.d.ts +6 -0
- package/dist/types/models/MentorEval.d.ts +11 -0
- package/dist/types/models/MentorEvalQuestion.d.ts +5 -0
- package/dist/types/models/MentorEvalQuestionRequest.d.ts +4 -0
- package/dist/types/models/MentorEvalReport.d.ts +10 -0
- package/dist/types/models/MentorEvalRequest.d.ts +8 -0
- package/dist/types/models/MentorFacet.d.ts +17 -0
- package/dist/types/models/MentorFork.d.ts +5 -0
- package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +63 -0
- package/dist/types/models/MentorMemorySettingsRequest.d.ts +6 -0
- package/dist/types/models/MentorMemorySettingsResponse.d.ts +6 -0
- package/dist/types/models/MentorMetadata.d.ts +5 -0
- package/dist/types/models/MentorScenario.d.ts +6 -0
- package/dist/types/models/MentorScenarioPrompt.d.ts +5 -0
- package/dist/types/models/MentorSearchResponse.d.ts +35 -0
- package/dist/types/models/MentorSession.d.ts +4 -0
- package/dist/types/models/MentorSettings.d.ts +98 -0
- package/dist/types/models/MentorSettingsPublic.d.ts +75 -0
- package/dist/types/models/MentorSettingsRequest.d.ts +76 -0
- package/dist/types/models/MentorSummary.d.ts +5 -0
- package/dist/types/models/MentorType.d.ts +5 -0
- package/dist/types/models/MentorUserSetting.d.ts +4 -0
- package/dist/types/models/MentorVisibilityEnum.d.ts +10 -0
- package/dist/types/models/MentorWizard.d.ts +4 -0
- package/dist/types/models/MessageStatistics.d.ts +5 -0
- package/dist/types/models/MessageView.d.ts +10 -0
- package/dist/types/models/MessageViewRequest.d.ts +8 -0
- package/dist/types/models/MessageViewUpdatResponse.d.ts +3 -0
- package/dist/types/models/Metadata.d.ts +5 -0
- package/dist/types/models/MetricChange.d.ts +4 -0
- package/dist/types/models/MetricInfo.d.ts +5 -0
- package/dist/types/models/ModelCost.d.ts +4 -0
- package/dist/types/models/ModerationLog.d.ts +12 -0
- package/dist/types/models/NoChatMessagesFound.d.ts +3 -0
- package/dist/types/models/OAuthProvider.d.ts +18 -0
- package/dist/types/models/OAuthService.d.ts +18 -0
- package/dist/types/models/OAuthStartResponse.d.ts +3 -0
- package/dist/types/models/Observation.d.ts +31 -0
- package/dist/types/models/OvertimeData.d.ts +13 -0
- package/dist/types/models/PageContent.d.ts +6 -0
- package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +7 -0
- package/dist/types/models/PaginatedArtifactListList.d.ts +7 -0
- package/dist/types/models/PaginatedArtifactVersionListList.d.ts +7 -0
- package/dist/types/models/PaginatedConversationsList.d.ts +7 -0
- package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +7 -0
- package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +7 -0
- package/dist/types/models/PaginatedDataSetList.d.ts +7 -0
- package/dist/types/models/PaginatedDisclaimerAgreementList.d.ts +7 -0
- package/dist/types/models/PaginatedDisclaimerList.d.ts +7 -0
- package/dist/types/models/PaginatedEdxCourseList.d.ts +7 -0
- package/dist/types/models/PaginatedEmailPromptListList.d.ts +7 -0
- package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +7 -0
- package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +7 -0
- package/dist/types/models/PaginatedHumanSupportTicketList.d.ts +7 -0
- package/dist/types/models/PaginatedJobRunList.d.ts +7 -0
- package/dist/types/models/PaginatedMCPServerConnectionList.d.ts +7 -0
- package/dist/types/models/PaginatedMCPServerList.d.ts +7 -0
- package/dist/types/models/PaginatedMentorList.d.ts +7 -0
- package/dist/types/models/PaginatedModerationLogList.d.ts +7 -0
- package/dist/types/models/PaginatedObservationList.d.ts +7 -0
- package/dist/types/models/PaginatedPeriodicAgentList.d.ts +7 -0
- package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +7 -0
- package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +7 -0
- package/dist/types/models/PaginatedProjectList.d.ts +7 -0
- package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +7 -0
- package/dist/types/models/PaginatedSectionList.d.ts +7 -0
- package/dist/types/models/PaginatedSubSectionList.d.ts +7 -0
- package/dist/types/models/PaginatedTicketMessageList.d.ts +7 -0
- package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +7 -0
- package/dist/types/models/PaginatedTraceList.d.ts +7 -0
- package/dist/types/models/PaginatedTrainingList.d.ts +7 -0
- package/dist/types/models/PaginatedUnitList.d.ts +7 -0
- package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +7 -0
- package/dist/types/models/PaginatedUserMemoryList.d.ts +7 -0
- package/dist/types/models/PaginatedVeoVideoListList.d.ts +7 -0
- package/dist/types/models/PaginatedVoiceList.d.ts +7 -0
- package/dist/types/models/Pagination.d.ts +16 -11
- package/dist/types/models/PatchedArtifact.d.ts +64 -0
- package/dist/types/models/PatchedBotCommand.d.ts +6 -0
- package/dist/types/models/PatchedBotCreate.d.ts +12 -0
- package/dist/types/models/PatchedCallConfiguration.d.ts +26 -0
- package/dist/types/models/PatchedConversations.d.ts +33 -0
- package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +7 -0
- package/dist/types/models/PatchedCredentialRequest.d.ts +14 -0
- package/dist/types/models/PatchedDataSet.d.ts +21 -0
- package/dist/types/models/PatchedDisclaimer.d.ts +17 -0
- package/dist/types/models/PatchedDiscordConfig.d.ts +7 -0
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +10 -0
- package/dist/types/models/PatchedHumanSupportTicket.d.ts +23 -0
- package/dist/types/models/PatchedLLMCredentialRequest.d.ts +14 -0
- package/dist/types/models/PatchedMCPServer.d.ts +50 -0
- package/dist/types/models/PatchedMCPServerConnection.d.ts +47 -0
- package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +11 -0
- package/dist/types/models/PatchedMentorCreate.d.ts +132 -0
- package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +41 -0
- package/dist/types/models/PatchedPlayWrightScript.d.ts +12 -0
- package/dist/types/models/PatchedProject.d.ts +51 -0
- package/dist/types/models/PatchedPrompt.d.ts +22 -0
- package/dist/types/models/PatchedSection.d.ts +9 -0
- package/dist/types/models/PatchedSlackConfig.d.ts +8 -0
- package/dist/types/models/PatchedSlackUserConfig.d.ts +17 -0
- package/dist/types/models/PatchedSubSection.d.ts +9 -0
- package/dist/types/models/PatchedTeamsConfig.d.ts +7 -0
- package/dist/types/models/PatchedTicketMessage.d.ts +10 -0
- package/dist/types/models/PatchedTrainingCreate.d.ts +31 -0
- package/dist/types/models/PatchedUnit.d.ts +11 -0
- package/dist/types/models/PatchedWebexConfig.d.ts +10 -0
- package/dist/types/models/PatchedWhatsappConfig.d.ts +11 -0
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +10 -0
- package/dist/types/models/PeriodInfo.d.ts +21 -0
- package/dist/types/models/PeriodicAgent.d.ts +42 -0
- package/dist/types/models/PeriodicAgentCreate.d.ts +41 -0
- package/dist/types/models/PeriodicAgentLog.d.ts +11 -0
- package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +10 -0
- package/dist/types/models/PeriodicAgentStatistics.d.ts +7 -0
- package/dist/types/models/PeriodicTask.d.ts +21 -0
- package/dist/types/models/PieChartData.d.ts +5 -0
- package/dist/types/models/PieChartSegment.d.ts +4 -0
- package/dist/types/models/PinnedMessageCreate.d.ts +9 -0
- package/dist/types/models/PinnedMessageGet.d.ts +7 -0
- package/dist/types/models/PinnedMessageRequest.d.ts +6 -0
- package/dist/types/models/PlatformPrompt.d.ts +34 -0
- package/dist/types/models/PlatformPromptResponse.d.ts +16 -0
- package/dist/types/models/PlayWrightScript.d.ts +12 -0
- package/dist/types/models/PredictiveAnalyticsRequest.d.ts +4 -0
- package/dist/types/models/PredictiveAnalyticsResponse.d.ts +4 -0
- package/dist/types/models/PreviousAgentStatusEnum.d.ts +12 -0
- package/dist/types/models/Project.d.ts +51 -0
- package/dist/types/models/ProjectMentor.d.ts +11 -0
- package/dist/types/models/Prompt.d.ts +22 -0
- package/dist/types/models/PromptCategory.d.ts +7 -0
- package/dist/types/models/PromptFacet.d.ts +17 -0
- package/dist/types/models/PromptSearchResponse.d.ts +35 -0
- package/dist/types/models/PromptVisibilityEnum.d.ts +10 -0
- package/dist/types/models/Provider05cEnum.d.ts +14 -0
- package/dist/types/models/Provider637Enum.d.ts +10 -0
- package/dist/types/models/Provider63aEnum.d.ts +6 -0
- package/dist/types/models/ProviderBreakdown.d.ts +8 -0
- package/dist/types/models/QuestionCardTag.d.ts +8 -0
- package/dist/types/models/QuestionRequest.d.ts +15 -0
- package/dist/types/models/QuestionResponse.d.ts +10 -0
- package/dist/types/models/RatingAverageRecord.d.ts +10 -0
- package/dist/types/models/RatingEnum.d.ts +8 -0
- package/dist/types/models/RatingRecord.d.ts +4 -0
- package/dist/types/models/RatingsOvertime.d.ts +5 -0
- package/dist/types/models/RecentlyAccessedMentor.d.ts +11 -0
- package/dist/types/models/RecommendCourseBlock.d.ts +3 -0
- package/dist/types/models/RecommendCourseResponse.d.ts +3 -0
- package/dist/types/models/RecommendationTypeEnum.d.ts +8 -0
- package/dist/types/models/RecommendedCoursesResponse.d.ts +33 -0
- package/dist/types/models/RelatedText.d.ts +3 -0
- package/dist/types/models/RemoveMentorFromDisclaimer.d.ts +12 -0
- package/dist/types/models/RequestDataVariable.d.ts +14 -0
- package/dist/types/models/ResourceScrappedData.d.ts +13 -0
- package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +12 -0
- package/dist/types/models/ResponseDataVariable.d.ts +14 -0
- package/dist/types/models/RetreiverTrainViewRequest.d.ts +10 -0
- package/dist/types/models/RetreiverTrainViewResponse.d.ts +6 -0
- package/dist/types/models/RetrieveTask.d.ts +3 -0
- package/dist/types/models/RetrieverDocumentEmbedding.d.ts +30 -0
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +66 -0
- package/dist/types/models/RetrieverRequestSearch.d.ts +10 -0
- package/dist/types/models/RetrieverRequestSearchDocument.d.ts +10 -0
- package/dist/types/models/RetrieverResponseSearch.d.ts +7 -0
- package/dist/types/models/ReuestDataVariableList.d.ts +4 -0
- package/dist/types/models/RunMentorEval.d.ts +3 -0
- package/dist/types/models/ScanWebhookRequest.d.ts +6 -0
- package/dist/types/models/ScanWebhookResponse.d.ts +3 -0
- package/dist/types/models/Section.d.ts +9 -0
- package/dist/types/models/SectionWithChildren.d.ts +11 -0
- package/dist/types/models/SeedMentorsView.d.ts +3 -0
- package/dist/types/models/SentimentSummary.d.ts +4 -0
- package/dist/types/models/SessionBrowserScreenshot.d.ts +8 -0
- package/dist/types/models/SessionChartPoint.d.ts +4 -0
- package/dist/types/models/SessionDetail.d.ts +6 -0
- package/dist/types/models/SessionMemoryAttachment.d.ts +3 -0
- package/dist/types/models/SessionMemoryStorage.d.ts +6 -0
- package/dist/types/models/SessionsChart.d.ts +5 -0
- package/dist/types/models/SetCurrentVersionRequest.d.ts +3 -0
- package/dist/types/models/ShareableMentorLink.d.ts +8 -0
- package/dist/types/models/ShellLogs.d.ts +3 -0
- package/dist/types/models/SlackConfig.d.ts +8 -0
- package/dist/types/models/SlackUserConfig.d.ts +17 -0
- package/dist/types/models/SlackWebhook.d.ts +6 -0
- package/dist/types/models/SpacedRepetitionLearningPath.d.ts +3 -0
- package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +5 -0
- package/dist/types/models/StarMentor.d.ts +7 -0
- package/dist/types/models/Status6eeEnum.d.ts +12 -0
- package/dist/types/models/Step.d.ts +9 -0
- package/dist/types/models/StepStatusEnum.d.ts +10 -0
- package/dist/types/models/StripeCheckoutSessionRequest.d.ts +2 -2
- package/dist/types/models/{ModeEnum.d.ts → StripeCheckoutSessionRequestModeEnum.d.ts} +1 -1
- package/dist/types/models/SttProviderEnum.d.ts +12 -0
- package/dist/types/models/StudentChatMessage.d.ts +4 -0
- package/dist/types/models/StylesView.d.ts +4 -0
- package/dist/types/models/SubSection.d.ts +9 -0
- package/dist/types/models/SubSectionWithChildren.d.ts +11 -0
- package/dist/types/models/Subject.d.ts +5 -0
- package/dist/types/models/Summary.d.ts +9 -0
- package/dist/types/models/TagsView.d.ts +5 -0
- package/dist/types/models/TargetSystemEnum.d.ts +8 -0
- package/dist/types/models/TaskView.d.ts +3 -0
- package/dist/types/models/TeamsConfig.d.ts +7 -0
- package/dist/types/models/TeamsWebhook.d.ts +17 -0
- package/dist/types/models/TemplateMentor.d.ts +9 -0
- package/dist/types/models/TenantMentorTraces.d.ts +6 -0
- package/dist/types/models/TenantSetting.d.ts +5 -0
- package/dist/types/models/ThemeEnum.d.ts +8 -0
- package/dist/types/models/TicketMessage.d.ts +10 -0
- package/dist/types/models/TonesView.d.ts +4 -0
- package/dist/types/models/ToolCategory.d.ts +5 -0
- package/dist/types/models/ToolResponse.d.ts +15 -0
- package/dist/types/models/TopicDetail.d.ts +8 -0
- package/dist/types/models/TopicDetails.d.ts +5 -0
- package/dist/types/models/TopicModel.d.ts +3 -0
- package/dist/types/models/TopicRecord.d.ts +4 -0
- package/dist/types/models/TopicStatistics.d.ts +7 -0
- package/dist/types/models/TopicStatisticsResponse.d.ts +6 -0
- package/dist/types/models/TopicSummaryView.d.ts +4 -0
- package/dist/types/models/TopicsOverview.d.ts +22 -0
- package/dist/types/models/TopicsOverviewMetric.d.ts +21 -0
- package/dist/types/models/Trace.d.ts +17 -0
- package/dist/types/models/TrainChatSessionDocumentView.d.ts +6 -0
- package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +6 -0
- package/dist/types/models/TrainDocumentViewRequest.d.ts +82 -0
- package/dist/types/models/TrainDocumentViewResponse.d.ts +15 -0
- package/dist/types/models/Training.d.ts +41 -0
- package/dist/types/models/TrainingCreate.d.ts +31 -0
- package/dist/types/models/TrainingStatusEnum.d.ts +12 -0
- package/dist/types/models/TransportEnum.d.ts +10 -0
- package/dist/types/models/TrendEntry.d.ts +4 -0
- package/dist/types/models/TriggerRequest.d.ts +5 -0
- package/dist/types/models/TriggerResponse.d.ts +6 -0
- package/dist/types/models/TtsProviderEnum.d.ts +10 -0
- package/dist/types/models/TypeC42Enum.d.ts +8 -0
- package/dist/types/models/Unit.d.ts +11 -0
- package/dist/types/models/UnitWithChildren.d.ts +13 -0
- package/dist/types/models/UseMainCreds.d.ts +3 -0
- package/dist/types/models/UserAllChatMemoryView.d.ts +7 -0
- package/dist/types/models/UserCatalogItemMemoryView.d.ts +14 -0
- package/dist/types/models/UserChatByPeriod.d.ts +4 -0
- package/dist/types/models/UserChatFeedback.d.ts +15 -0
- package/dist/types/models/UserChatFeedbackCount.d.ts +4 -0
- package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +6 -0
- package/dist/types/models/UserChatMemoryStatusView.d.ts +6 -0
- package/dist/types/models/UserChatMemoryUpdateView.d.ts +10 -0
- package/dist/types/models/UserCountRecord.d.ts +4 -0
- package/dist/types/models/UserDetail.d.ts +7 -0
- package/dist/types/models/UserEdxMemory.d.ts +15 -0
- package/dist/types/models/UserMemory.d.ts +18 -0
- package/dist/types/models/UserMemoryContextRequest.d.ts +13 -0
- package/dist/types/models/UserMemoryContextResponse.d.ts +12 -0
- package/dist/types/models/UserMemoryEntry.d.ts +9 -0
- package/dist/types/models/UserMemoryEntryRequest.d.ts +5 -0
- package/dist/types/models/UserMemoryRequest.d.ts +12 -0
- package/dist/types/models/UserMetric.d.ts +4 -0
- package/dist/types/models/UserMetricsResponse.d.ts +7 -0
- package/dist/types/models/UserSentimentCountView.d.ts +4 -0
- package/dist/types/models/UserTrendByPeriod.d.ts +5 -0
- package/dist/types/models/V2GlobalMentorSearchResponse.d.ts +29 -0
- package/dist/types/models/V2PersonalizedMentorsResponse.d.ts +29 -0
- package/dist/types/models/V2RecommendationResponse.d.ts +65 -0
- package/dist/types/models/VectorResult.d.ts +10 -0
- package/dist/types/models/VeoVideoDetail.d.ts +10 -0
- package/dist/types/models/VeoVideoList.d.ts +6 -0
- package/dist/types/models/VeoVideoRequest.d.ts +5 -0
- package/dist/types/models/VideoCaption.d.ts +3 -0
- package/dist/types/models/Voice.d.ts +9 -0
- package/dist/types/models/WebResource.d.ts +9 -0
- package/dist/types/models/WebResourceCard.d.ts +7 -0
- package/dist/types/models/WebResourcesQuery.d.ts +3 -0
- package/dist/types/models/WebexConfig.d.ts +10 -0
- package/dist/types/models/WebexWebhook.d.ts +4 -0
- package/dist/types/models/WhatAppWebHook.d.ts +3 -0
- package/dist/types/models/WhatsappConfig.d.ts +11 -0
- package/dist/types/models/WhatsappUserConfig.d.ts +10 -0
- package/dist/types/services/AiAccountService.d.ts +567 -0
- package/dist/types/services/AiAnalyticsService.d.ts +4691 -19
- package/dist/types/services/AiBotService.d.ts +650 -0
- package/dist/types/services/AiFinetuningService.d.ts +232 -0
- package/dist/types/services/AiIndexService.d.ts +399 -0
- package/dist/types/services/AiMarketingService.d.ts +38 -0
- package/dist/types/services/AiMediaService.d.ts +247 -0
- package/dist/types/services/AiMentorService.d.ts +6803 -0
- package/dist/types/services/AiPromptService.d.ts +1035 -0
- package/dist/types/services/AiSearchService.d.ts +451 -0
- package/dist/types/services/AnalyticsService.d.ts +709 -4
- package/dist/types/services/SearchService.d.ts +738 -0
- package/package.json +1 -1
- package/sdk_schema.yml +72404 -23887
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +430 -1
- package/src/models/AIGeneratedImage.ts +18 -0
- package/src/models/AIUserProfileMemoryRelation.ts +9 -0
- package/src/models/AIUserProfileRequest.ts +9 -0
- package/src/models/AccessEnum.ts +12 -0
- package/src/models/AccessTimesHeatmap.ts +10 -0
- package/src/models/AccessibleMentorsByEmailRequest.ts +18 -0
- package/src/models/AccessibleMentorsByEmailResponse.ts +18 -0
- package/src/models/ActionBreakdown.ts +15 -0
- package/src/models/AddMentorToDisclaimer.ts +17 -0
- package/src/models/AlignMentorBubbleEnum.ts +12 -0
- package/src/models/AnalyticsOverview.ts +12 -0
- package/src/models/Answer.ts +16 -0
- package/src/models/Artifact.ts +69 -0
- package/src/models/ArtifactList.ts +50 -0
- package/src/models/ArtifactVersion.ts +41 -0
- package/src/models/ArtifactVersionList.ts +40 -0
- package/src/models/AssumedKnowledge.ts +9 -0
- package/src/models/AssumedKnowledgeLevel.ts +9 -0
- package/src/models/AudioToTextRequest.ts +8 -0
- package/src/models/AudioToTextResponse.ts +8 -0
- package/src/models/AuthTypeEnum.ts +14 -0
- package/src/models/AutoMemoryPrompt.ts +9 -0
- package/src/models/BaseFinanceResponse.ts +42 -0
- package/src/models/BillingPeriod.ts +13 -0
- package/src/models/Bot.ts +20 -0
- package/src/models/BotCommand.ts +11 -0
- package/src/models/BotCreate.ts +17 -0
- package/src/models/Breakdown.ts +16 -0
- package/src/models/CallAuthenticationRequest.ts +22 -0
- package/src/models/CallAuthenticationResponse.ts +26 -0
- package/src/models/CallConfiguration.ts +31 -0
- package/src/models/CallConfigurationModeEnum.ts +12 -0
- package/src/models/ChatHistory.ts +14 -0
- package/src/models/ChatHistoryFilterData.ts +14 -0
- package/src/models/ChatHistoryFilterUser.ts +10 -0
- package/src/models/ChatHistoryItem.ts +10 -0
- package/src/models/ChatHistorySessionId.ts +8 -0
- package/src/models/ChatSessionRequest.ts +20 -0
- package/src/models/ChatSessionResponse.ts +11 -0
- package/src/models/CheckDocumentTrainingStatus.ts +15 -0
- package/src/models/ComparisonInfo.ts +34 -0
- package/src/models/ComponentBlock.ts +14 -0
- package/src/models/ComponentBlockTypeEnum.ts +12 -0
- package/src/models/ConnectedService.ts +29 -0
- package/src/models/ConversationChartPoint.ts +9 -0
- package/src/models/ConversationDetailResponse.ts +9 -0
- package/src/models/ConversationListItem.ts +29 -0
- package/src/models/ConversationListResponse.ts +11 -0
- package/src/models/ConversationMessage.ts +16 -0
- package/src/models/ConversationRating.ts +11 -0
- package/src/models/ConversationSummary.ts +10 -0
- package/src/models/ConversationVolume.ts +9 -0
- package/src/models/Conversations.ts +38 -0
- package/src/models/ConversationsChart.ts +10 -0
- package/src/models/Cost.ts +8 -0
- package/src/models/CostPerTenant.ts +11 -0
- package/src/models/CourseCreationTask.ts +36 -0
- package/src/models/CourseCreationTaskFile.ts +12 -0
- package/src/models/CourseCreationTaskStatusEnum.ts +20 -0
- package/src/models/CourseRecommendation.ts +54 -0
- package/src/models/CrawlerPatternTypeEnum.ts +12 -0
- package/src/models/CredentialRequest.ts +19 -0
- package/src/models/CrontabSchedule.ts +27 -0
- package/src/models/CurrentUsersResponse.ts +13 -0
- package/src/models/CustomInstructionResponse.ts +18 -0
- package/src/models/DataSet.ts +26 -0
- package/src/models/DataSetCreate.ts +17 -0
- package/src/models/DataSetStatusEnum.ts +16 -0
- package/src/models/DateRange.ts +9 -0
- package/src/models/Disclaimer.ts +22 -0
- package/src/models/DisclaimerAgreement.ts +16 -0
- package/src/models/DisclaimerScopeEnum.ts +12 -0
- package/src/models/DiscordConfig.ts +12 -0
- package/src/models/DiscordUserConfig.ts +15 -0
- package/src/models/DiscordWebhook.ts +11 -0
- package/src/models/Document.ts +46 -0
- package/src/models/DocumentFacet.ts +22 -0
- package/src/models/DocumentFromPoolRequest.ts +15 -0
- package/src/models/DocumentSearchResponse.ts +40 -0
- package/src/models/DocumentSettingsResponse.ts +8 -0
- package/src/models/EdxCourse.ts +16 -0
- package/src/models/ElevenlabsCustomVoice.ts +9 -0
- package/src/models/ElevenlabsCustomVoiceResponse.ts +13 -0
- package/src/models/EmailPromptDetail.ts +18 -0
- package/src/models/EmailPromptList.ts +16 -0
- package/src/models/EmailPromptSummary.ts +10 -0
- package/src/models/Entity.ts +16 -0
- package/src/models/EntityTypeEnum.ts +14 -0
- package/src/models/ExternalServiceInfo.ts +11 -0
- package/src/models/FileUploadURLRequest.ts +26 -0
- package/src/models/FileUploadURLResponse.ts +30 -0
- package/src/models/FinanceDetailsResponse.ts +18 -0
- package/src/models/FinanceFilters.ts +20 -0
- package/src/models/FreeUsageCount.ts +8 -0
- package/src/models/FullCourse.ts +18 -0
- package/src/models/GreetingMethodEnum.ts +12 -0
- package/src/models/GuidedPrompt.ts +9 -0
- package/src/models/GuidedPromptsResponse.ts +10 -0
- package/src/models/HeygenMarketingVideoDetail.ts +13 -0
- package/src/models/HeygenMarketingVideoList.ts +11 -0
- package/src/models/HeygenTemplateRequest.ts +10 -0
- package/src/models/HeygenTemplateResponseSingle.ts +11 -0
- package/src/models/HeygenVideoDetail.ts +13 -0
- package/src/models/HeygenVideoRequest.ts +10 -0
- package/src/models/HumanSupportTicket.ts +28 -0
- package/src/models/HumanSupportTicketStatusEnum.ts +14 -0
- package/src/models/InputQuestion.ts +11 -0
- package/src/models/IntegrationCredential.ts +15 -0
- package/src/models/IntegrationCredentialSchema.ts +11 -0
- package/src/models/IntialQuestionAnswer.ts +8 -0
- package/src/models/InvoiceReportResponse.ts +18 -0
- package/src/models/JobRun.ts +16 -0
- package/src/models/KindEnum.ts +14 -0
- package/src/models/LLMCredentialRequest.ts +19 -0
- package/src/models/LLMCredentialResponse.ts +15 -0
- package/src/models/LLMCredentialSchema.ts +11 -0
- package/src/models/LLMModelForTenant.ts +11 -0
- package/src/models/LLMQuestion.ts +20 -0
- package/src/models/LLMResponse.ts +23 -0
- package/src/models/LLMTracesListResponse.ts +10 -0
- package/src/models/LanguagesView.ts +10 -0
- package/src/models/LinkCourseRequest.ts +8 -0
- package/src/models/LinkCourseResponse.ts +10 -0
- package/src/models/LlmProviderEnum.ts +12 -0
- package/src/models/MCPServer.ts +55 -0
- package/src/models/MCPServerConnection.ts +52 -0
- package/src/models/MCPServerConnectionScopeEnum.ts +14 -0
- package/src/models/MaskedIntegrationCredential.ts +15 -0
- package/src/models/MaskedLLMCredential.ts +15 -0
- package/src/models/MemoryComponentData.ts +10 -0
- package/src/models/MemoryComponentMemory.ts +9 -0
- package/src/models/MemoryComponentMemoryDetail.ts +13 -0
- package/src/models/MemoryComponentResponse.ts +10 -0
- package/src/models/MemoryProgress.ts +13 -0
- package/src/models/MemoryStatusRequestView.ts +11 -0
- package/src/models/MemoryStatusView.ts +11 -0
- package/src/models/Mentor.ts +147 -0
- package/src/models/MentorAudience.ts +10 -0
- package/src/models/MentorBreakdown.ts +14 -0
- package/src/models/MentorCategory.ts +14 -0
- package/src/models/MentorCategoryCreate.ts +16 -0
- package/src/models/MentorCategoryGroup.ts +16 -0
- package/src/models/MentorCategoryGroupCreate.ts +16 -0
- package/src/models/MentorCreate.ts +137 -0
- package/src/models/MentorCustomVoice.ts +9 -0
- package/src/models/MentorCustomVoiceResponse.ts +9 -0
- package/src/models/MentorData.ts +12 -0
- package/src/models/MentorDetailAnalytics.ts +11 -0
- package/src/models/MentorEval.ts +16 -0
- package/src/models/MentorEvalQuestion.ts +10 -0
- package/src/models/MentorEvalQuestionRequest.ts +9 -0
- package/src/models/MentorEvalReport.ts +15 -0
- package/src/models/MentorEvalRequest.ts +13 -0
- package/src/models/MentorFacet.ts +22 -0
- package/src/models/MentorFork.ts +10 -0
- package/src/models/MentorFromTemplateWithSettingRequest.ts +68 -0
- package/src/models/MentorMemorySettingsRequest.ts +11 -0
- package/src/models/MentorMemorySettingsResponse.ts +11 -0
- package/src/models/MentorMetadata.ts +10 -0
- package/src/models/MentorScenario.ts +11 -0
- package/src/models/MentorScenarioPrompt.ts +10 -0
- package/src/models/MentorSearchResponse.ts +40 -0
- package/src/models/MentorSession.ts +9 -0
- package/src/models/MentorSettings.ts +103 -0
- package/src/models/MentorSettingsPublic.ts +80 -0
- package/src/models/MentorSettingsRequest.ts +81 -0
- package/src/models/MentorSummary.ts +10 -0
- package/src/models/MentorType.ts +10 -0
- package/src/models/MentorUserSetting.ts +9 -0
- package/src/models/MentorVisibilityEnum.ts +14 -0
- package/src/models/MentorWizard.ts +9 -0
- package/src/models/MessageStatistics.ts +10 -0
- package/src/models/MessageView.ts +15 -0
- package/src/models/MessageViewRequest.ts +13 -0
- package/src/models/MessageViewUpdatResponse.ts +8 -0
- package/src/models/Metadata.ts +10 -0
- package/src/models/MetricChange.ts +9 -0
- package/src/models/MetricInfo.ts +10 -0
- package/src/models/ModelCost.ts +9 -0
- package/src/models/ModerationLog.ts +17 -0
- package/src/models/NoChatMessagesFound.ts +8 -0
- package/src/models/OAuthProvider.ts +23 -0
- package/src/models/OAuthService.ts +23 -0
- package/src/models/OAuthStartResponse.ts +8 -0
- package/src/models/Observation.ts +36 -0
- package/src/models/OvertimeData.ts +18 -0
- package/src/models/PageContent.ts +11 -0
- package/src/models/PaginatedAIGeneratedImageList.ts +12 -0
- package/src/models/PaginatedArtifactListList.ts +12 -0
- package/src/models/PaginatedArtifactVersionListList.ts +12 -0
- package/src/models/PaginatedConversationsList.ts +12 -0
- package/src/models/PaginatedCourseCreationTaskFileList.ts +12 -0
- package/src/models/PaginatedCourseCreationTaskList.ts +12 -0
- package/src/models/PaginatedDataSetList.ts +12 -0
- package/src/models/PaginatedDisclaimerAgreementList.ts +12 -0
- package/src/models/PaginatedDisclaimerList.ts +12 -0
- package/src/models/PaginatedEdxCourseList.ts +12 -0
- package/src/models/PaginatedEmailPromptListList.ts +12 -0
- package/src/models/PaginatedHeygenMarketingVideoListList.ts +12 -0
- package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +12 -0
- package/src/models/PaginatedHumanSupportTicketList.ts +12 -0
- package/src/models/PaginatedJobRunList.ts +12 -0
- package/src/models/PaginatedMCPServerConnectionList.ts +12 -0
- package/src/models/PaginatedMCPServerList.ts +12 -0
- package/src/models/PaginatedMentorList.ts +12 -0
- package/src/models/PaginatedModerationLogList.ts +12 -0
- package/src/models/PaginatedObservationList.ts +12 -0
- package/src/models/PaginatedPeriodicAgentList.ts +12 -0
- package/src/models/PaginatedPeriodicAgentLogList.ts +12 -0
- package/src/models/PaginatedPlayWrightScriptList.ts +12 -0
- package/src/models/PaginatedProjectList.ts +12 -0
- package/src/models/PaginatedRetrieverDocumentEmbeddingList.ts +12 -0
- package/src/models/PaginatedSectionList.ts +12 -0
- package/src/models/PaginatedSubSectionList.ts +12 -0
- package/src/models/PaginatedTicketMessageList.ts +12 -0
- package/src/models/PaginatedTopicStatisticsResponse.ts +12 -0
- package/src/models/PaginatedTraceList.ts +12 -0
- package/src/models/PaginatedTrainingList.ts +12 -0
- package/src/models/PaginatedUnitList.ts +12 -0
- package/src/models/PaginatedUserEdxMemoryList.ts +12 -0
- package/src/models/PaginatedUserMemoryList.ts +12 -0
- package/src/models/PaginatedVeoVideoListList.ts +12 -0
- package/src/models/PaginatedVoiceList.ts +12 -0
- package/src/models/Pagination.ts +16 -11
- package/src/models/PatchedArtifact.ts +69 -0
- package/src/models/PatchedBotCommand.ts +11 -0
- package/src/models/PatchedBotCreate.ts +17 -0
- package/src/models/PatchedCallConfiguration.ts +31 -0
- package/src/models/PatchedConversations.ts +38 -0
- package/src/models/PatchedCourseCreationTaskFile.ts +12 -0
- package/src/models/PatchedCredentialRequest.ts +19 -0
- package/src/models/PatchedDataSet.ts +26 -0
- package/src/models/PatchedDisclaimer.ts +22 -0
- package/src/models/PatchedDiscordConfig.ts +12 -0
- package/src/models/PatchedDiscordUserConfig.ts +15 -0
- package/src/models/PatchedHumanSupportTicket.ts +28 -0
- package/src/models/PatchedLLMCredentialRequest.ts +19 -0
- package/src/models/PatchedMCPServer.ts +55 -0
- package/src/models/PatchedMCPServerConnection.ts +52 -0
- package/src/models/PatchedMentorCategoryGroupCreate.ts +16 -0
- package/src/models/PatchedMentorCreate.ts +137 -0
- package/src/models/PatchedPeriodicAgentCreate.ts +46 -0
- package/src/models/PatchedPlayWrightScript.ts +17 -0
- package/src/models/PatchedProject.ts +56 -0
- package/src/models/PatchedPrompt.ts +27 -0
- package/src/models/PatchedSection.ts +14 -0
- package/src/models/PatchedSlackConfig.ts +13 -0
- package/src/models/PatchedSlackUserConfig.ts +22 -0
- package/src/models/PatchedSubSection.ts +14 -0
- package/src/models/PatchedTeamsConfig.ts +12 -0
- package/src/models/PatchedTicketMessage.ts +15 -0
- package/src/models/PatchedTrainingCreate.ts +36 -0
- package/src/models/PatchedUnit.ts +16 -0
- package/src/models/PatchedWebexConfig.ts +15 -0
- package/src/models/PatchedWhatsappConfig.ts +16 -0
- package/src/models/PatchedWhatsappUserConfig.ts +15 -0
- package/src/models/PeriodInfo.ts +26 -0
- package/src/models/PeriodicAgent.ts +47 -0
- package/src/models/PeriodicAgentCreate.ts +46 -0
- package/src/models/PeriodicAgentLog.ts +16 -0
- package/src/models/PeriodicAgentLogStatusEnum.ts +14 -0
- package/src/models/PeriodicAgentStatistics.ts +12 -0
- package/src/models/PeriodicTask.ts +26 -0
- package/src/models/PieChartData.ts +10 -0
- package/src/models/PieChartSegment.ts +9 -0
- package/src/models/PinnedMessageCreate.ts +14 -0
- package/src/models/PinnedMessageGet.ts +12 -0
- package/src/models/PinnedMessageRequest.ts +11 -0
- package/src/models/PlatformPrompt.ts +39 -0
- package/src/models/PlatformPromptResponse.ts +21 -0
- package/src/models/PlayWrightScript.ts +17 -0
- package/src/models/PredictiveAnalyticsRequest.ts +9 -0
- package/src/models/PredictiveAnalyticsResponse.ts +9 -0
- package/src/models/PreviousAgentStatusEnum.ts +16 -0
- package/src/models/Project.ts +56 -0
- package/src/models/ProjectMentor.ts +16 -0
- package/src/models/Prompt.ts +27 -0
- package/src/models/PromptCategory.ts +12 -0
- package/src/models/PromptFacet.ts +22 -0
- package/src/models/PromptSearchResponse.ts +40 -0
- package/src/models/PromptVisibilityEnum.ts +14 -0
- package/src/models/Provider05cEnum.ts +18 -0
- package/src/models/Provider637Enum.ts +14 -0
- package/src/models/Provider63aEnum.ts +10 -0
- package/src/models/ProviderBreakdown.ts +13 -0
- package/src/models/QuestionCardTag.ts +13 -0
- package/src/models/QuestionRequest.ts +20 -0
- package/src/models/QuestionResponse.ts +15 -0
- package/src/models/RatingAverageRecord.ts +15 -0
- package/src/models/RatingEnum.ts +12 -0
- package/src/models/RatingRecord.ts +9 -0
- package/src/models/RatingsOvertime.ts +10 -0
- package/src/models/RecentlyAccessedMentor.ts +16 -0
- package/src/models/RecommendCourseBlock.ts +8 -0
- package/src/models/RecommendCourseResponse.ts +8 -0
- package/src/models/RecommendationTypeEnum.ts +12 -0
- package/src/models/RecommendedCoursesResponse.ts +38 -0
- package/src/models/RelatedText.ts +8 -0
- package/src/models/RemoveMentorFromDisclaimer.ts +17 -0
- package/src/models/RequestDataVariable.ts +19 -0
- package/src/models/ResourceScrappedData.ts +18 -0
- package/src/models/ResourceScrappedDataStatusEnum.ts +16 -0
- package/src/models/ResponseDataVariable.ts +19 -0
- package/src/models/RetreiverTrainViewRequest.ts +15 -0
- package/src/models/RetreiverTrainViewResponse.ts +11 -0
- package/src/models/RetrieveTask.ts +8 -0
- package/src/models/RetrieverDocumentEmbedding.ts +35 -0
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +71 -0
- package/src/models/RetrieverRequestSearch.ts +15 -0
- package/src/models/RetrieverRequestSearchDocument.ts +15 -0
- package/src/models/RetrieverResponseSearch.ts +12 -0
- package/src/models/ReuestDataVariableList.ts +9 -0
- package/src/models/RunMentorEval.ts +8 -0
- package/src/models/ScanWebhookRequest.ts +11 -0
- package/src/models/ScanWebhookResponse.ts +8 -0
- package/src/models/Section.ts +14 -0
- package/src/models/SectionWithChildren.ts +16 -0
- package/src/models/SeedMentorsView.ts +8 -0
- package/src/models/SentimentSummary.ts +9 -0
- package/src/models/SessionBrowserScreenshot.ts +13 -0
- package/src/models/SessionChartPoint.ts +9 -0
- package/src/models/SessionDetail.ts +11 -0
- package/src/models/SessionMemoryAttachment.ts +8 -0
- package/src/models/SessionMemoryStorage.ts +11 -0
- package/src/models/SessionsChart.ts +10 -0
- package/src/models/SetCurrentVersionRequest.ts +8 -0
- package/src/models/ShareableMentorLink.ts +13 -0
- package/src/models/ShellLogs.ts +8 -0
- package/src/models/SlackConfig.ts +13 -0
- package/src/models/SlackUserConfig.ts +22 -0
- package/src/models/SlackWebhook.ts +11 -0
- package/src/models/SpacedRepetitionLearningPath.ts +8 -0
- package/src/models/SpacedRepetitionQuestionStats.ts +10 -0
- package/src/models/StarMentor.ts +12 -0
- package/src/models/Status6eeEnum.ts +16 -0
- package/src/models/Step.ts +14 -0
- package/src/models/StepStatusEnum.ts +14 -0
- package/src/models/StripeCheckoutSessionRequest.ts +2 -2
- package/src/models/{ModeEnum.ts → StripeCheckoutSessionRequestModeEnum.ts} +1 -1
- package/src/models/SttProviderEnum.ts +16 -0
- package/src/models/StudentChatMessage.ts +9 -0
- package/src/models/StylesView.ts +9 -0
- package/src/models/SubSection.ts +14 -0
- package/src/models/SubSectionWithChildren.ts +16 -0
- package/src/models/Subject.ts +10 -0
- package/src/models/Summary.ts +14 -0
- package/src/models/TagsView.ts +10 -0
- package/src/models/TargetSystemEnum.ts +12 -0
- package/src/models/TaskView.ts +8 -0
- package/src/models/TeamsConfig.ts +12 -0
- package/src/models/TeamsWebhook.ts +22 -0
- package/src/models/TemplateMentor.ts +14 -0
- package/src/models/TenantMentorTraces.ts +11 -0
- package/src/models/TenantSetting.ts +10 -0
- package/src/models/ThemeEnum.ts +12 -0
- package/src/models/TicketMessage.ts +15 -0
- package/src/models/TonesView.ts +9 -0
- package/src/models/ToolCategory.ts +10 -0
- package/src/models/ToolResponse.ts +20 -0
- package/src/models/TopicDetail.ts +13 -0
- package/src/models/TopicDetails.ts +10 -0
- package/src/models/TopicModel.ts +8 -0
- package/src/models/TopicRecord.ts +9 -0
- package/src/models/TopicStatistics.ts +12 -0
- package/src/models/TopicStatisticsResponse.ts +11 -0
- package/src/models/TopicSummaryView.ts +9 -0
- package/src/models/TopicsOverview.ts +27 -0
- package/src/models/TopicsOverviewMetric.ts +26 -0
- package/src/models/Trace.ts +22 -0
- package/src/models/TrainChatSessionDocumentView.ts +11 -0
- package/src/models/TrainChatSessionDocumentViewRequest.ts +11 -0
- package/src/models/TrainDocumentViewRequest.ts +87 -0
- package/src/models/TrainDocumentViewResponse.ts +20 -0
- package/src/models/Training.ts +46 -0
- package/src/models/TrainingCreate.ts +36 -0
- package/src/models/TrainingStatusEnum.ts +16 -0
- package/src/models/TransportEnum.ts +14 -0
- package/src/models/TrendEntry.ts +9 -0
- package/src/models/TriggerRequest.ts +10 -0
- package/src/models/TriggerResponse.ts +11 -0
- package/src/models/TtsProviderEnum.ts +14 -0
- package/src/models/TypeC42Enum.ts +12 -0
- package/src/models/Unit.ts +16 -0
- package/src/models/UnitWithChildren.ts +18 -0
- package/src/models/UseMainCreds.ts +8 -0
- package/src/models/UserAllChatMemoryView.ts +12 -0
- package/src/models/UserCatalogItemMemoryView.ts +19 -0
- package/src/models/UserChatByPeriod.ts +9 -0
- package/src/models/UserChatFeedback.ts +20 -0
- package/src/models/UserChatFeedbackCount.ts +9 -0
- package/src/models/UserChatMemoryStatusRequestView.ts +11 -0
- package/src/models/UserChatMemoryStatusView.ts +11 -0
- package/src/models/UserChatMemoryUpdateView.ts +15 -0
- package/src/models/UserCountRecord.ts +9 -0
- package/src/models/UserDetail.ts +12 -0
- package/src/models/UserEdxMemory.ts +20 -0
- package/src/models/UserMemory.ts +23 -0
- package/src/models/UserMemoryContextRequest.ts +18 -0
- package/src/models/UserMemoryContextResponse.ts +17 -0
- package/src/models/UserMemoryEntry.ts +14 -0
- package/src/models/UserMemoryEntryRequest.ts +10 -0
- package/src/models/UserMemoryRequest.ts +17 -0
- package/src/models/UserMetric.ts +9 -0
- package/src/models/UserMetricsResponse.ts +12 -0
- package/src/models/UserSentimentCountView.ts +9 -0
- package/src/models/UserTrendByPeriod.ts +10 -0
- package/src/models/V2GlobalMentorSearchResponse.ts +34 -0
- package/src/models/V2PersonalizedMentorsResponse.ts +34 -0
- package/src/models/V2RecommendationResponse.ts +70 -0
- package/src/models/VectorResult.ts +15 -0
- package/src/models/VeoVideoDetail.ts +15 -0
- package/src/models/VeoVideoList.ts +11 -0
- package/src/models/VeoVideoRequest.ts +10 -0
- package/src/models/VideoCaption.ts +8 -0
- package/src/models/Voice.ts +14 -0
- package/src/models/WebResource.ts +14 -0
- package/src/models/WebResourceCard.ts +12 -0
- package/src/models/WebResourcesQuery.ts +8 -0
- package/src/models/WebexConfig.ts +15 -0
- package/src/models/WebexWebhook.ts +9 -0
- package/src/models/WhatAppWebHook.ts +8 -0
- package/src/models/WhatsappConfig.ts +16 -0
- package/src/models/WhatsappUserConfig.ts +15 -0
- package/src/services/AiAccountService.ts +955 -0
- package/src/services/AiAnalyticsService.ts +12921 -5255
- package/src/services/AiBotService.ts +1350 -0
- package/src/services/AiFinetuningService.ts +472 -0
- package/src/services/AiIndexService.ts +710 -0
- package/src/services/AiMarketingService.ts +96 -0
- package/src/services/AiMediaService.ts +532 -0
- package/src/services/AiMentorService.ts +12552 -0
- package/src/services/AiPromptService.ts +1985 -0
- package/src/services/AiSearchService.ts +742 -0
- package/src/services/AnalyticsService.ts +1234 -177
- package/src/services/SearchService.ts +1459 -398
|
@@ -0,0 +1,742 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { MentorSearchResponse } from '../models/MentorSearchResponse';
|
|
6
|
+
import type { PlatformPrompt } from '../models/PlatformPrompt';
|
|
7
|
+
import type { PlatformPromptResponse } from '../models/PlatformPromptResponse';
|
|
8
|
+
import type { V2GlobalMentorSearchResponse } from '../models/V2GlobalMentorSearchResponse';
|
|
9
|
+
import type { V2PersonalizedMentorsResponse } from '../models/V2PersonalizedMentorsResponse';
|
|
10
|
+
import type { V2RecommendationResponse } from '../models/V2RecommendationResponse';
|
|
11
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
12
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
13
|
+
import { request as __request } from '../core/request';
|
|
14
|
+
export class AiSearchService {
|
|
15
|
+
/**
|
|
16
|
+
* Search and filter AI mentors across the platform
|
|
17
|
+
*
|
|
18
|
+
* Search and filter AI mentors with support for comprehensive filtering, pagination, and detailed mentor information.
|
|
19
|
+
* This endpoint supports both anonymous and authenticated users with different access levels.
|
|
20
|
+
*
|
|
21
|
+
* **Anonymous Users:**
|
|
22
|
+
* - Access to public mentors only (VIEWABLE_BY_ANYONE)
|
|
23
|
+
* - Limited search capabilities
|
|
24
|
+
* - No personalization
|
|
25
|
+
*
|
|
26
|
+
* **Authenticated Users:**
|
|
27
|
+
* - Full access based on platform permissions (scoped to requested platform)
|
|
28
|
+
* - Personalized results
|
|
29
|
+
* - Access to tenant-specific mentors
|
|
30
|
+
*
|
|
31
|
+
* **Required Parameters (Authenticated Users):**
|
|
32
|
+
* - `platform_key` OR `tenant`: Platform key for RBAC enforcement (required for authenticated requests)
|
|
33
|
+
* - Use `platform_key` (preferred) or `tenant` (backward compatibility) - both serve the same purpose
|
|
34
|
+
* - If both are provided, `platform_key` takes precedence
|
|
35
|
+
*
|
|
36
|
+
* **Available Filters:**
|
|
37
|
+
* - `query`: Search term to filter mentors by name or description
|
|
38
|
+
* - `tenant`: Filter by tenant/organization platform key(s) - can also be used as alias for `platform_key` (backward compatibility)
|
|
39
|
+
* - `category`: Filter by mentor category (comma-separated)
|
|
40
|
+
* - `subjects`: Filter by mentor subject (comma-separated)
|
|
41
|
+
* - `types`: Filter by mentor type (comma-separated)
|
|
42
|
+
* - `llm`: Filter by LLM provider (comma-separated, e.g., GPT-4, Claude)
|
|
43
|
+
* - `visibility`: Filter by visibility level (comma-separated: viewable_by_anyone, viewable_by_tenant_students, viewable_by_tenant_admins)
|
|
44
|
+
* - `created_by`: Filter mentors created by specific user (for personalized search)
|
|
45
|
+
* - `include_main_public_mentors`: Include main tenant public mentors
|
|
46
|
+
*
|
|
47
|
+
* **Facets:**
|
|
48
|
+
* The response includes facets with aggregated counts for all filterable attributes:
|
|
49
|
+
* - categories, subjects, types, llm_providers, visibility
|
|
50
|
+
* All facet values can be used as filter parameters in subsequent requests.
|
|
51
|
+
*
|
|
52
|
+
* Notes:
|
|
53
|
+
* - Detail view is removed; use the ibl_ai_mentor app for mentor details
|
|
54
|
+
* - include_main_public_mentors=true shows only VIEWABLE_BY_ANYONE mentors from the main tenant across tenants
|
|
55
|
+
* - For authenticated requests, either `platform_key` or `tenant` is required when username is provided
|
|
56
|
+
* - `tenant` parameter serves dual purpose: as a filter for multiple tenants, or as an alias for `platform_key` (backward compatibility)
|
|
57
|
+
* - Frontend uses `llm` parameter name (backend maps to `llm_provider` automatically)
|
|
58
|
+
*
|
|
59
|
+
* @returns V2GlobalMentorSearchResponse
|
|
60
|
+
* @throws ApiError
|
|
61
|
+
*/
|
|
62
|
+
public static v2GlobalMentorSearch({
|
|
63
|
+
category,
|
|
64
|
+
createdBy,
|
|
65
|
+
includeMainPublicMentors = false,
|
|
66
|
+
limit,
|
|
67
|
+
llm,
|
|
68
|
+
offset,
|
|
69
|
+
platformKey,
|
|
70
|
+
query,
|
|
71
|
+
subjects,
|
|
72
|
+
tenant,
|
|
73
|
+
types,
|
|
74
|
+
visibility,
|
|
75
|
+
}: {
|
|
76
|
+
/**
|
|
77
|
+
* Mentor category filter
|
|
78
|
+
*/
|
|
79
|
+
category?: string,
|
|
80
|
+
/**
|
|
81
|
+
* Filter mentors created by specific user (for personalized search)
|
|
82
|
+
*/
|
|
83
|
+
createdBy?: string,
|
|
84
|
+
/**
|
|
85
|
+
* Include main tenant public mentors (VIEWABLE_BY_ANYONE) when true
|
|
86
|
+
*/
|
|
87
|
+
includeMainPublicMentors?: boolean,
|
|
88
|
+
/**
|
|
89
|
+
* Number of results per page
|
|
90
|
+
*/
|
|
91
|
+
limit?: number,
|
|
92
|
+
/**
|
|
93
|
+
* LLM provider filter
|
|
94
|
+
*/
|
|
95
|
+
llm?: string,
|
|
96
|
+
/**
|
|
97
|
+
* Number of results to skip
|
|
98
|
+
*/
|
|
99
|
+
offset?: number,
|
|
100
|
+
/**
|
|
101
|
+
* Platform key for RBAC enforcement. Required for authenticated requests. Can also use 'tenant' parameter as an alias (backward compatibility).
|
|
102
|
+
*/
|
|
103
|
+
platformKey?: string,
|
|
104
|
+
/**
|
|
105
|
+
* Search query for mentors
|
|
106
|
+
*/
|
|
107
|
+
query?: string,
|
|
108
|
+
/**
|
|
109
|
+
* Mentor subject filter
|
|
110
|
+
*/
|
|
111
|
+
subjects?: string,
|
|
112
|
+
/**
|
|
113
|
+
* Tenant key(s) (CSV). Can be used as a filter for multiple tenants, or as an alias for 'platform_key' in authenticated requests (backward compatibility).
|
|
114
|
+
*/
|
|
115
|
+
tenant?: string,
|
|
116
|
+
/**
|
|
117
|
+
* Mentor type filter
|
|
118
|
+
*/
|
|
119
|
+
types?: string,
|
|
120
|
+
/**
|
|
121
|
+
* Mentor visibility filter (viewable_by_anyone, viewable_by_tenant_students, viewable_by_tenant_admins)
|
|
122
|
+
*/
|
|
123
|
+
visibility?: string,
|
|
124
|
+
}): CancelablePromise<V2GlobalMentorSearchResponse> {
|
|
125
|
+
return __request(OpenAPI, {
|
|
126
|
+
method: 'GET',
|
|
127
|
+
url: '/api/ai-search/mentors/',
|
|
128
|
+
query: {
|
|
129
|
+
'category': category,
|
|
130
|
+
'created_by': createdBy,
|
|
131
|
+
'include_main_public_mentors': includeMainPublicMentors,
|
|
132
|
+
'limit': limit,
|
|
133
|
+
'llm': llm,
|
|
134
|
+
'offset': offset,
|
|
135
|
+
'platform_key': platformKey,
|
|
136
|
+
'query': query,
|
|
137
|
+
'subjects': subjects,
|
|
138
|
+
'tenant': tenant,
|
|
139
|
+
'types': types,
|
|
140
|
+
'visibility': visibility,
|
|
141
|
+
},
|
|
142
|
+
errors: {
|
|
143
|
+
400: `Bad request - invalid parameters`,
|
|
144
|
+
500: `Internal server error`,
|
|
145
|
+
},
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Handle GET requests for my mentors.
|
|
150
|
+
* @returns MentorSearchResponse
|
|
151
|
+
* @throws ApiError
|
|
152
|
+
*/
|
|
153
|
+
public static aiSearchOrgsUsersMyMentorsRetrieve({
|
|
154
|
+
org,
|
|
155
|
+
username,
|
|
156
|
+
audience,
|
|
157
|
+
category,
|
|
158
|
+
createdBy,
|
|
159
|
+
featured,
|
|
160
|
+
id,
|
|
161
|
+
includeMainPublicMentors = false,
|
|
162
|
+
limit = 12,
|
|
163
|
+
llm,
|
|
164
|
+
offset,
|
|
165
|
+
orderBy,
|
|
166
|
+
orderDirection = 'desc',
|
|
167
|
+
query,
|
|
168
|
+
tags,
|
|
169
|
+
tenant,
|
|
170
|
+
uniqueId,
|
|
171
|
+
}: {
|
|
172
|
+
org: string,
|
|
173
|
+
username: string,
|
|
174
|
+
/**
|
|
175
|
+
* Filter by target audience
|
|
176
|
+
*/
|
|
177
|
+
audience?: Array<string>,
|
|
178
|
+
/**
|
|
179
|
+
* Filter by mentor category
|
|
180
|
+
*/
|
|
181
|
+
category?: Array<string>,
|
|
182
|
+
/**
|
|
183
|
+
* Filter mentors created by specific user
|
|
184
|
+
*/
|
|
185
|
+
createdBy?: string,
|
|
186
|
+
/**
|
|
187
|
+
* Filter by featured status
|
|
188
|
+
*/
|
|
189
|
+
featured?: boolean,
|
|
190
|
+
/**
|
|
191
|
+
* Retrieve a specific mentor by ID
|
|
192
|
+
*/
|
|
193
|
+
id?: number,
|
|
194
|
+
/**
|
|
195
|
+
* Include public mentors from main tenant
|
|
196
|
+
*/
|
|
197
|
+
includeMainPublicMentors?: boolean,
|
|
198
|
+
/**
|
|
199
|
+
* Number of results per page
|
|
200
|
+
*/
|
|
201
|
+
limit?: number,
|
|
202
|
+
/**
|
|
203
|
+
* Filter by language model type
|
|
204
|
+
*/
|
|
205
|
+
llm?: Array<string>,
|
|
206
|
+
/**
|
|
207
|
+
* Starting position for pagination
|
|
208
|
+
*/
|
|
209
|
+
offset?: number,
|
|
210
|
+
/**
|
|
211
|
+
* Field to sort results by ('created_at', 'recently_accessed_at')
|
|
212
|
+
*/
|
|
213
|
+
orderBy?: string,
|
|
214
|
+
/**
|
|
215
|
+
* Sort direction ('asc' or 'desc')
|
|
216
|
+
*/
|
|
217
|
+
orderDirection?: string,
|
|
218
|
+
/**
|
|
219
|
+
* Search term to filter mentors by name or description
|
|
220
|
+
*/
|
|
221
|
+
query?: string,
|
|
222
|
+
/**
|
|
223
|
+
* Filter by tags
|
|
224
|
+
*/
|
|
225
|
+
tags?: Array<string>,
|
|
226
|
+
/**
|
|
227
|
+
* Filter by tenant/organization
|
|
228
|
+
*/
|
|
229
|
+
tenant?: string,
|
|
230
|
+
/**
|
|
231
|
+
* Retrieve a specific mentor by UUID
|
|
232
|
+
*/
|
|
233
|
+
uniqueId?: string,
|
|
234
|
+
}): CancelablePromise<MentorSearchResponse> {
|
|
235
|
+
return __request(OpenAPI, {
|
|
236
|
+
method: 'GET',
|
|
237
|
+
url: '/api/ai-search/orgs/{org}/users/{username}/my-mentors/',
|
|
238
|
+
path: {
|
|
239
|
+
'org': org,
|
|
240
|
+
'username': username,
|
|
241
|
+
},
|
|
242
|
+
query: {
|
|
243
|
+
'audience': audience,
|
|
244
|
+
'category': category,
|
|
245
|
+
'created_by': createdBy,
|
|
246
|
+
'featured': featured,
|
|
247
|
+
'id': id,
|
|
248
|
+
'include_main_public_mentors': includeMainPublicMentors,
|
|
249
|
+
'limit': limit,
|
|
250
|
+
'llm': llm,
|
|
251
|
+
'offset': offset,
|
|
252
|
+
'order_by': orderBy,
|
|
253
|
+
'order_direction': orderDirection,
|
|
254
|
+
'query': query,
|
|
255
|
+
'tags': tags,
|
|
256
|
+
'tenant': tenant,
|
|
257
|
+
'unique_id': uniqueId,
|
|
258
|
+
},
|
|
259
|
+
errors: {
|
|
260
|
+
400: `Bad request`,
|
|
261
|
+
401: `Unauthorized`,
|
|
262
|
+
403: `Forbidden`,
|
|
263
|
+
404: `Not found`,
|
|
264
|
+
500: `Server error`,
|
|
265
|
+
},
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Get mentors created by a specific user
|
|
270
|
+
*
|
|
271
|
+
* Get mentors created by a specific user within a given organization/platform.
|
|
272
|
+
* This endpoint provides a personalized view of the user's own mentors with
|
|
273
|
+
* support for filtering, pagination, and detailed mentor information.
|
|
274
|
+
*
|
|
275
|
+
* **Authentication Required:**
|
|
276
|
+
* - username: Required for personalized mentor access
|
|
277
|
+
* - platform_key OR tenant: Required for tenant-specific content (both serve the same purpose)
|
|
278
|
+
* - Use `platform_key` (preferred) or `tenant` (backward compatibility)
|
|
279
|
+
* - If both are provided, `platform_key` takes precedence
|
|
280
|
+
*
|
|
281
|
+
* **Features:**
|
|
282
|
+
* - User's own mentors only
|
|
283
|
+
* - Personalization data (access counts, last used)
|
|
284
|
+
* - Filtering and faceted search
|
|
285
|
+
* - Pagination support
|
|
286
|
+
* - Detail and list views
|
|
287
|
+
*
|
|
288
|
+
* @returns V2PersonalizedMentorsResponse
|
|
289
|
+
* @throws ApiError
|
|
290
|
+
*/
|
|
291
|
+
public static v2PersonalizedMentors({
|
|
292
|
+
audience,
|
|
293
|
+
category,
|
|
294
|
+
limit,
|
|
295
|
+
llmProviders,
|
|
296
|
+
offset,
|
|
297
|
+
orderBy,
|
|
298
|
+
orderDirection,
|
|
299
|
+
platformKey,
|
|
300
|
+
query,
|
|
301
|
+
returnFacet,
|
|
302
|
+
tags,
|
|
303
|
+
tenant,
|
|
304
|
+
username,
|
|
305
|
+
visibility,
|
|
306
|
+
}: {
|
|
307
|
+
/**
|
|
308
|
+
* Filter by audience
|
|
309
|
+
*/
|
|
310
|
+
audience?: Array<string>,
|
|
311
|
+
/**
|
|
312
|
+
* Mentor category filter
|
|
313
|
+
*/
|
|
314
|
+
category?: string,
|
|
315
|
+
/**
|
|
316
|
+
* Number of results per page
|
|
317
|
+
*/
|
|
318
|
+
limit?: number,
|
|
319
|
+
/**
|
|
320
|
+
* Filter by LLM provider
|
|
321
|
+
*/
|
|
322
|
+
llmProviders?: Array<string>,
|
|
323
|
+
/**
|
|
324
|
+
* Number of results to skip
|
|
325
|
+
*/
|
|
326
|
+
offset?: number,
|
|
327
|
+
/**
|
|
328
|
+
* Field to sort by
|
|
329
|
+
*/
|
|
330
|
+
orderBy?: string,
|
|
331
|
+
/**
|
|
332
|
+
* Sort direction
|
|
333
|
+
*
|
|
334
|
+
* * `asc` - asc
|
|
335
|
+
* * `desc` - desc
|
|
336
|
+
*/
|
|
337
|
+
orderDirection?: 'asc' | 'desc',
|
|
338
|
+
/**
|
|
339
|
+
* Platform key for authentication. Required for authenticated requests. Can also use 'tenant' parameter as an alias (backward compatibility).
|
|
340
|
+
*/
|
|
341
|
+
platformKey?: string,
|
|
342
|
+
/**
|
|
343
|
+
* Search query for personalized mentors
|
|
344
|
+
*/
|
|
345
|
+
query?: string,
|
|
346
|
+
/**
|
|
347
|
+
* Include facet data in response
|
|
348
|
+
*/
|
|
349
|
+
returnFacet?: boolean,
|
|
350
|
+
/**
|
|
351
|
+
* Filter by tags
|
|
352
|
+
*/
|
|
353
|
+
tags?: Array<string>,
|
|
354
|
+
/**
|
|
355
|
+
* Tenant key (alias for 'platform_key' for backward compatibility). Can be used instead of 'platform_key' - both serve the same purpose.
|
|
356
|
+
*/
|
|
357
|
+
tenant?: string,
|
|
358
|
+
/**
|
|
359
|
+
* Username for authentication (required for unauthenticated requests)
|
|
360
|
+
*/
|
|
361
|
+
username?: string,
|
|
362
|
+
/**
|
|
363
|
+
* Filter by visibility
|
|
364
|
+
*/
|
|
365
|
+
visibility?: Array<string>,
|
|
366
|
+
}): CancelablePromise<V2PersonalizedMentorsResponse> {
|
|
367
|
+
return __request(OpenAPI, {
|
|
368
|
+
method: 'GET',
|
|
369
|
+
url: '/api/ai-search/personalized-mentors/',
|
|
370
|
+
query: {
|
|
371
|
+
'audience': audience,
|
|
372
|
+
'category': category,
|
|
373
|
+
'limit': limit,
|
|
374
|
+
'llm_providers': llmProviders,
|
|
375
|
+
'offset': offset,
|
|
376
|
+
'order_by': orderBy,
|
|
377
|
+
'order_direction': orderDirection,
|
|
378
|
+
'platform_key': platformKey,
|
|
379
|
+
'query': query,
|
|
380
|
+
'return_facet': returnFacet,
|
|
381
|
+
'tags': tags,
|
|
382
|
+
'tenant': tenant,
|
|
383
|
+
'username': username,
|
|
384
|
+
'visibility': visibility,
|
|
385
|
+
},
|
|
386
|
+
errors: {
|
|
387
|
+
400: `Bad request - invalid parameters`,
|
|
388
|
+
401: `Unauthorized - missing credentials`,
|
|
389
|
+
403: `Forbidden - insufficient permissions`,
|
|
390
|
+
404: `Mentor not found`,
|
|
391
|
+
500: `Internal server error`,
|
|
392
|
+
},
|
|
393
|
+
});
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* List recommendation prompts for a platform
|
|
397
|
+
* Get all recommendation prompts for a specific platform. Optionally filter by SPA URL or recommendation type.
|
|
398
|
+
* @returns PlatformPromptResponse
|
|
399
|
+
* @throws ApiError
|
|
400
|
+
*/
|
|
401
|
+
public static listPlatformPrompts(): CancelablePromise<Array<PlatformPromptResponse>> {
|
|
402
|
+
return __request(OpenAPI, {
|
|
403
|
+
method: 'GET',
|
|
404
|
+
url: '/api/ai-search/prompts/',
|
|
405
|
+
errors: {
|
|
406
|
+
400: `Invalid parameters`,
|
|
407
|
+
401: `Authentication required`,
|
|
408
|
+
403: `Admin permissions required`,
|
|
409
|
+
},
|
|
410
|
+
});
|
|
411
|
+
}
|
|
412
|
+
/**
|
|
413
|
+
* Create a new recommendation prompt
|
|
414
|
+
* Create a new recommendation prompt for a platform and SPA.
|
|
415
|
+
* @returns PlatformPromptResponse
|
|
416
|
+
* @throws ApiError
|
|
417
|
+
*/
|
|
418
|
+
public static createPlatformPrompt({
|
|
419
|
+
requestBody,
|
|
420
|
+
}: {
|
|
421
|
+
requestBody?: PlatformPrompt,
|
|
422
|
+
}): CancelablePromise<PlatformPromptResponse> {
|
|
423
|
+
return __request(OpenAPI, {
|
|
424
|
+
method: 'POST',
|
|
425
|
+
url: '/api/ai-search/prompts/',
|
|
426
|
+
body: requestBody,
|
|
427
|
+
mediaType: 'application/json',
|
|
428
|
+
errors: {
|
|
429
|
+
400: `Invalid data`,
|
|
430
|
+
401: `Authentication required`,
|
|
431
|
+
403: `Admin permissions required`,
|
|
432
|
+
409: `Prompt already exists for this combination`,
|
|
433
|
+
},
|
|
434
|
+
});
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* Update an existing recommendation prompt
|
|
438
|
+
* Update an existing prompt by ID. Must provide platform_key to verify ownership.
|
|
439
|
+
* @returns PlatformPromptResponse
|
|
440
|
+
* @throws ApiError
|
|
441
|
+
*/
|
|
442
|
+
public static updatePlatformPrompt({
|
|
443
|
+
requestBody,
|
|
444
|
+
}: {
|
|
445
|
+
requestBody?: PlatformPrompt,
|
|
446
|
+
}): CancelablePromise<PlatformPromptResponse> {
|
|
447
|
+
return __request(OpenAPI, {
|
|
448
|
+
method: 'PUT',
|
|
449
|
+
url: '/api/ai-search/prompts/',
|
|
450
|
+
body: requestBody,
|
|
451
|
+
mediaType: 'application/json',
|
|
452
|
+
errors: {
|
|
453
|
+
400: `Invalid data`,
|
|
454
|
+
401: `Authentication required`,
|
|
455
|
+
403: `Admin permissions required or platform mismatch`,
|
|
456
|
+
404: `Prompt not found`,
|
|
457
|
+
},
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* Delete a recommendation prompt
|
|
462
|
+
* Delete a recommendation prompt by ID. Must provide platform_key to verify ownership. This permanently removes the prompt.
|
|
463
|
+
* @returns void
|
|
464
|
+
* @throws ApiError
|
|
465
|
+
*/
|
|
466
|
+
public static deletePlatformPrompt(): CancelablePromise<void> {
|
|
467
|
+
return __request(OpenAPI, {
|
|
468
|
+
method: 'DELETE',
|
|
469
|
+
url: '/api/ai-search/prompts/',
|
|
470
|
+
errors: {
|
|
471
|
+
401: `Authentication required`,
|
|
472
|
+
403: `Admin permissions required or platform mismatch`,
|
|
473
|
+
404: `Prompt not found`,
|
|
474
|
+
},
|
|
475
|
+
});
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* List recommendation prompts for a platform
|
|
479
|
+
* Get all recommendation prompts for a specific platform. Optionally filter by SPA URL or recommendation type.
|
|
480
|
+
* @returns PlatformPromptResponse
|
|
481
|
+
* @throws ApiError
|
|
482
|
+
*/
|
|
483
|
+
public static listPlatformPrompts2(): CancelablePromise<Array<PlatformPromptResponse>> {
|
|
484
|
+
return __request(OpenAPI, {
|
|
485
|
+
method: 'GET',
|
|
486
|
+
url: '/api/ai-search/recommendation/prompts/',
|
|
487
|
+
errors: {
|
|
488
|
+
400: `Invalid parameters`,
|
|
489
|
+
401: `Authentication required`,
|
|
490
|
+
403: `Admin permissions required`,
|
|
491
|
+
},
|
|
492
|
+
});
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* Create a new recommendation prompt
|
|
496
|
+
* Create a new recommendation prompt for a platform and SPA.
|
|
497
|
+
* @returns PlatformPromptResponse
|
|
498
|
+
* @throws ApiError
|
|
499
|
+
*/
|
|
500
|
+
public static createPlatformPrompt2({
|
|
501
|
+
requestBody,
|
|
502
|
+
}: {
|
|
503
|
+
requestBody?: PlatformPrompt,
|
|
504
|
+
}): CancelablePromise<PlatformPromptResponse> {
|
|
505
|
+
return __request(OpenAPI, {
|
|
506
|
+
method: 'POST',
|
|
507
|
+
url: '/api/ai-search/recommendation/prompts/',
|
|
508
|
+
body: requestBody,
|
|
509
|
+
mediaType: 'application/json',
|
|
510
|
+
errors: {
|
|
511
|
+
400: `Invalid data`,
|
|
512
|
+
401: `Authentication required`,
|
|
513
|
+
403: `Admin permissions required`,
|
|
514
|
+
409: `Prompt already exists for this combination`,
|
|
515
|
+
},
|
|
516
|
+
});
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* Update an existing recommendation prompt
|
|
520
|
+
* Update an existing prompt by ID. Must provide platform_key to verify ownership.
|
|
521
|
+
* @returns PlatformPromptResponse
|
|
522
|
+
* @throws ApiError
|
|
523
|
+
*/
|
|
524
|
+
public static updatePlatformPrompt2({
|
|
525
|
+
requestBody,
|
|
526
|
+
}: {
|
|
527
|
+
requestBody?: PlatformPrompt,
|
|
528
|
+
}): CancelablePromise<PlatformPromptResponse> {
|
|
529
|
+
return __request(OpenAPI, {
|
|
530
|
+
method: 'PUT',
|
|
531
|
+
url: '/api/ai-search/recommendation/prompts/',
|
|
532
|
+
body: requestBody,
|
|
533
|
+
mediaType: 'application/json',
|
|
534
|
+
errors: {
|
|
535
|
+
400: `Invalid data`,
|
|
536
|
+
401: `Authentication required`,
|
|
537
|
+
403: `Admin permissions required or platform mismatch`,
|
|
538
|
+
404: `Prompt not found`,
|
|
539
|
+
},
|
|
540
|
+
});
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* Delete a recommendation prompt
|
|
544
|
+
* Delete a recommendation prompt by ID. Must provide platform_key to verify ownership. This permanently removes the prompt.
|
|
545
|
+
* @returns void
|
|
546
|
+
* @throws ApiError
|
|
547
|
+
*/
|
|
548
|
+
public static deletePlatformPrompt2(): CancelablePromise<void> {
|
|
549
|
+
return __request(OpenAPI, {
|
|
550
|
+
method: 'DELETE',
|
|
551
|
+
url: '/api/ai-search/recommendation/prompts/',
|
|
552
|
+
errors: {
|
|
553
|
+
401: `Authentication required`,
|
|
554
|
+
403: `Admin permissions required or platform mismatch`,
|
|
555
|
+
404: `Prompt not found`,
|
|
556
|
+
},
|
|
557
|
+
});
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* Generate AI-driven course recommendations
|
|
561
|
+
*
|
|
562
|
+
* Generate personalized course recommendations using AI that considers the user's
|
|
563
|
+
* learning history, organizational goals, and available courses.
|
|
564
|
+
*
|
|
565
|
+
* **Authentication Required:**
|
|
566
|
+
* - User must be authenticated
|
|
567
|
+
* - Platform key must be provided
|
|
568
|
+
* - User must have access to the specified platform
|
|
569
|
+
*
|
|
570
|
+
* **How It Works:**
|
|
571
|
+
* 1. Fetches tenant's custom recommendation prompt (if configured)
|
|
572
|
+
* 2. Analyzes user's course completion history and performance
|
|
573
|
+
* 3. Reviews available course catalog
|
|
574
|
+
* 4. Uses AI to match courses to user's needs and organizational goals
|
|
575
|
+
* 5. Returns 3-5 courses with clear explanations
|
|
576
|
+
*
|
|
577
|
+
* **Tenant Prompts:**
|
|
578
|
+
* Each organization can configure custom prompts that guide recommendations.
|
|
579
|
+
* For example: "Prioritize leadership for sales roles" or "Focus on technical skills."
|
|
580
|
+
*
|
|
581
|
+
* **Use Cases:**
|
|
582
|
+
* - Manual recommendation requests by users
|
|
583
|
+
* - Post-assessment recommendations
|
|
584
|
+
* - Milestone-triggered suggestions
|
|
585
|
+
* - Learning path planning
|
|
586
|
+
*
|
|
587
|
+
* @returns V2RecommendationResponse
|
|
588
|
+
* @throws ApiError
|
|
589
|
+
*/
|
|
590
|
+
public static v2CourseRecommendations({
|
|
591
|
+
assessmentId,
|
|
592
|
+
contextType,
|
|
593
|
+
difficultyLevels,
|
|
594
|
+
domains,
|
|
595
|
+
includeMainCatalog = false,
|
|
596
|
+
includeUserHistory = false,
|
|
597
|
+
includeUserSkills = false,
|
|
598
|
+
k = 20,
|
|
599
|
+
limit = 5,
|
|
600
|
+
page = 1,
|
|
601
|
+
pageSize = 10,
|
|
602
|
+
platformKey,
|
|
603
|
+
platformOrg,
|
|
604
|
+
rankingPrompt,
|
|
605
|
+
rankingStrategy,
|
|
606
|
+
recommendationType = 'courses',
|
|
607
|
+
searchTerms,
|
|
608
|
+
spaUrl,
|
|
609
|
+
triggerSource = 'manual',
|
|
610
|
+
useLlmRanking = false,
|
|
611
|
+
useRagSearch = true,
|
|
612
|
+
}: {
|
|
613
|
+
/**
|
|
614
|
+
* Assessment ID if triggered by assessment completion
|
|
615
|
+
*/
|
|
616
|
+
assessmentId?: string,
|
|
617
|
+
/**
|
|
618
|
+
* Context type for recommendation (e.g., 'assessment_completed', 'milestone_reached')
|
|
619
|
+
*/
|
|
620
|
+
contextType?: string,
|
|
621
|
+
/**
|
|
622
|
+
* Filter recommendations to specific difficulty levels (CSV)
|
|
623
|
+
*/
|
|
624
|
+
difficultyLevels?: string,
|
|
625
|
+
/**
|
|
626
|
+
* Filter recommendations to specific domains (CSV)
|
|
627
|
+
*/
|
|
628
|
+
domains?: string,
|
|
629
|
+
/**
|
|
630
|
+
* Include items from 'main' tenant catalog IN ADDITION TO platform-specific catalog. By default, only platform-specific data is returned (tenant isolation). Set to True to also include shared 'main' tenant resources.
|
|
631
|
+
*/
|
|
632
|
+
includeMainCatalog?: boolean,
|
|
633
|
+
/**
|
|
634
|
+
* Include user's learning history (completed courses, topics) in the RAG search query. Helps find content that builds on their background.
|
|
635
|
+
*/
|
|
636
|
+
includeUserHistory?: boolean,
|
|
637
|
+
/**
|
|
638
|
+
* Include user's skills and badges in the RAG search query. Helps personalize results based on what the user already knows.
|
|
639
|
+
*/
|
|
640
|
+
includeUserSkills?: boolean,
|
|
641
|
+
/**
|
|
642
|
+
* Number of similar items to retrieve via RAG per tenant (before filtering). Higher values give more options but may be slower.
|
|
643
|
+
*/
|
|
644
|
+
k?: number,
|
|
645
|
+
/**
|
|
646
|
+
* Number of course recommendations to return (max 20)
|
|
647
|
+
*/
|
|
648
|
+
limit?: number,
|
|
649
|
+
/**
|
|
650
|
+
* Page number for pagination (starts at 1)
|
|
651
|
+
*/
|
|
652
|
+
page?: number,
|
|
653
|
+
/**
|
|
654
|
+
* Number of recommendations per page (max 100)
|
|
655
|
+
*/
|
|
656
|
+
pageSize?: number,
|
|
657
|
+
/**
|
|
658
|
+
* Platform key for tenant-scoped recommendations
|
|
659
|
+
*/
|
|
660
|
+
platformKey?: string,
|
|
661
|
+
/**
|
|
662
|
+
* Platform org identifier (optional - avoids database lookup if provided)
|
|
663
|
+
*/
|
|
664
|
+
platformOrg?: string | null,
|
|
665
|
+
/**
|
|
666
|
+
* Custom prompt for LLM ranking (only if ranking_strategy='custom'). Define how the LLM should evaluate and order the recommendations.
|
|
667
|
+
*/
|
|
668
|
+
rankingPrompt?: string,
|
|
669
|
+
/**
|
|
670
|
+
* Strategy for LLM ranking. Only used if use_llm_ranking=True.
|
|
671
|
+
*
|
|
672
|
+
* * `relevance` - Rank by relevance and value (default)
|
|
673
|
+
* * `difficulty` - Rank by difficulty progression
|
|
674
|
+
* * `personalized` - Personalize to user context and goals
|
|
675
|
+
* * `custom` - Use custom ranking prompt
|
|
676
|
+
*/
|
|
677
|
+
rankingStrategy?: 'relevance' | 'difficulty' | 'personalized' | 'custom',
|
|
678
|
+
/**
|
|
679
|
+
* Type of resource to recommend. Catalog types (courses/programs/resources/pathways) will use the platform's 'catalog' prompt category if configured.
|
|
680
|
+
*
|
|
681
|
+
* * `mentors` - Mentor Recommendations
|
|
682
|
+
* * `courses` - Course Recommendations
|
|
683
|
+
* * `programs` - Program Recommendations
|
|
684
|
+
* * `resources` - Resource Recommendations
|
|
685
|
+
* * `pathways` - Pathway Recommendations
|
|
686
|
+
*/
|
|
687
|
+
recommendationType?: 'mentors' | 'courses' | 'programs' | 'resources' | 'pathways',
|
|
688
|
+
/**
|
|
689
|
+
* Search terms to find similar content (e.g., 'leadership', 'data science'). Used to build the RAG query.
|
|
690
|
+
*/
|
|
691
|
+
searchTerms?: string,
|
|
692
|
+
/**
|
|
693
|
+
* Frontend/SPA identifier (e.g., 'catalog.example.com', 'mentor-ai.ibl.com'). Used to retrieve the correct prompt for that specific frontend. Auto-detected from HTTP_REFERER if not provided.
|
|
694
|
+
*/
|
|
695
|
+
spaUrl?: string,
|
|
696
|
+
/**
|
|
697
|
+
* What triggered this recommendation request
|
|
698
|
+
*/
|
|
699
|
+
triggerSource?: string,
|
|
700
|
+
/**
|
|
701
|
+
* Use LLM to rank and personalize RAG results. Adds AI-generated reasoning but increases cost and latency. Only applies if use_rag_search=True.
|
|
702
|
+
*/
|
|
703
|
+
useLlmRanking?: boolean,
|
|
704
|
+
/**
|
|
705
|
+
* Use RAG similarity search instead of full LLM catalog review. Faster and more cost-effective. Set to False for legacy LLM-only behavior.
|
|
706
|
+
*/
|
|
707
|
+
useRagSearch?: boolean,
|
|
708
|
+
}): CancelablePromise<V2RecommendationResponse> {
|
|
709
|
+
return __request(OpenAPI, {
|
|
710
|
+
method: 'GET',
|
|
711
|
+
url: '/api/ai-search/recommendations/',
|
|
712
|
+
query: {
|
|
713
|
+
'assessment_id': assessmentId,
|
|
714
|
+
'context_type': contextType,
|
|
715
|
+
'difficulty_levels': difficultyLevels,
|
|
716
|
+
'domains': domains,
|
|
717
|
+
'include_main_catalog': includeMainCatalog,
|
|
718
|
+
'include_user_history': includeUserHistory,
|
|
719
|
+
'include_user_skills': includeUserSkills,
|
|
720
|
+
'k': k,
|
|
721
|
+
'limit': limit,
|
|
722
|
+
'page': page,
|
|
723
|
+
'page_size': pageSize,
|
|
724
|
+
'platform_key': platformKey,
|
|
725
|
+
'platform_org': platformOrg,
|
|
726
|
+
'ranking_prompt': rankingPrompt,
|
|
727
|
+
'ranking_strategy': rankingStrategy,
|
|
728
|
+
'recommendation_type': recommendationType,
|
|
729
|
+
'search_terms': searchTerms,
|
|
730
|
+
'spa_url': spaUrl,
|
|
731
|
+
'trigger_source': triggerSource,
|
|
732
|
+
'use_llm_ranking': useLlmRanking,
|
|
733
|
+
'use_rag_search': useRagSearch,
|
|
734
|
+
},
|
|
735
|
+
errors: {
|
|
736
|
+
400: `Bad request - invalid parameters or missing required fields`,
|
|
737
|
+
401: `Unauthorized - authentication required`,
|
|
738
|
+
500: `Internal server error`,
|
|
739
|
+
},
|
|
740
|
+
});
|
|
741
|
+
}
|
|
742
|
+
}
|