@iblai/iblai-api 3.34.5-ai-plus → 3.35.0-core
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 +75 -12876
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +76 -12869
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +75 -12876
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +2 -298
- package/dist/types/models/Notification.d.ts +2 -2
- package/dist/types/models/NotificationSource.d.ts +2 -2
- package/dist/types/models/PatchedNotification.d.ts +2 -2
- package/dist/types/models/{NotificationStatusEnum.d.ts → StatusEnum.d.ts} +1 -1
- package/dist/types/models/{NotificationSourceTypeEnum.d.ts → TypeEnum.d.ts} +1 -1
- package/dist/types/services/SearchService.d.ts +0 -434
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +2 -298
- package/src/models/Notification.ts +2 -2
- package/src/models/NotificationSource.ts +2 -2
- package/src/models/PatchedNotification.ts +2 -2
- package/src/models/{NotificationStatusEnum.ts → StatusEnum.ts} +1 -1
- package/src/models/{NotificationSourceTypeEnum.ts → TypeEnum.ts} +1 -1
- package/src/services/SearchService.ts +116 -611
- package/dist/types/models/AIGeneratedImage.d.ts +0 -13
- package/dist/types/models/APITokenCost.d.ts +0 -14
- package/dist/types/models/AccessEnum.d.ts +0 -8
- package/dist/types/models/AlignMentorBubbleEnum.d.ts +0 -8
- package/dist/types/models/AnalyticsOverview.d.ts +0 -7
- package/dist/types/models/Answer.d.ts +0 -11
- package/dist/types/models/AssumedKnowledge.d.ts +0 -4
- package/dist/types/models/AssumedKnowledgeLevel.d.ts +0 -4
- package/dist/types/models/AudioToTextRequest.d.ts +0 -3
- package/dist/types/models/AudioToTextResponse.d.ts +0 -3
- package/dist/types/models/Bot.d.ts +0 -15
- package/dist/types/models/BotCommand.d.ts +0 -6
- package/dist/types/models/BotCreate.d.ts +0 -12
- package/dist/types/models/CallAuthenticationRequest.d.ts +0 -13
- package/dist/types/models/CallAuthenticationResponse.d.ts +0 -21
- package/dist/types/models/ChatHistory.d.ts +0 -8
- package/dist/types/models/ChatHistoryFilterData.d.ts +0 -9
- package/dist/types/models/ChatHistoryFilterUser.d.ts +0 -5
- package/dist/types/models/ChatHistoryItem.d.ts +0 -5
- package/dist/types/models/ChatHistorySessionId.d.ts +0 -3
- package/dist/types/models/ChatSessionRequest.d.ts +0 -10
- package/dist/types/models/ChatSessionResponse.d.ts +0 -5
- package/dist/types/models/CheckDocumentTrainingStatus.d.ts +0 -10
- package/dist/types/models/ComponentBlock.d.ts +0 -9
- package/dist/types/models/ComponentBlockTypeEnum.d.ts +0 -8
- package/dist/types/models/ConversationMessage.d.ts +0 -11
- package/dist/types/models/ConversationRating.d.ts +0 -6
- package/dist/types/models/ConversationSummary.d.ts +0 -5
- package/dist/types/models/ConversationVolume.d.ts +0 -4
- package/dist/types/models/Conversations.d.ts +0 -28
- package/dist/types/models/Cost.d.ts +0 -3
- package/dist/types/models/CostPerTenant.d.ts +0 -6
- package/dist/types/models/CourseCreationTask.d.ts +0 -31
- package/dist/types/models/CourseCreationTaskFile.d.ts +0 -7
- package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +0 -16
- package/dist/types/models/CredentialRequest.d.ts +0 -14
- package/dist/types/models/CrontabSchedule.d.ts +0 -22
- package/dist/types/models/CustomInstructionResponse.d.ts +0 -13
- package/dist/types/models/DataSet.d.ts +0 -21
- package/dist/types/models/DataSetCreate.d.ts +0 -12
- package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
- package/dist/types/models/DateRange.d.ts +0 -4
- package/dist/types/models/DiscordConfig.d.ts +0 -7
- package/dist/types/models/DiscordUserConfig.d.ts +0 -10
- package/dist/types/models/DiscordWebhook.d.ts +0 -6
- package/dist/types/models/EdxCourse.d.ts +0 -11
- package/dist/types/models/ElevenlabsCustomVoice.d.ts +0 -4
- package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +0 -8
- package/dist/types/models/EmailPromptDetail.d.ts +0 -13
- package/dist/types/models/EmailPromptList.d.ts +0 -11
- package/dist/types/models/EmailPromptSummary.d.ts +0 -5
- package/dist/types/models/FreeUsageCount.d.ts +0 -3
- package/dist/types/models/FullCourse.d.ts +0 -13
- package/dist/types/models/GreetingMethodEnum.d.ts +0 -8
- package/dist/types/models/GuidedPromptsResponse.d.ts +0 -3
- package/dist/types/models/HeygenMarketingVideoDetail.d.ts +0 -8
- package/dist/types/models/HeygenMarketingVideoList.d.ts +0 -6
- package/dist/types/models/IBLAIPlatformMeta.d.ts +0 -3
- package/dist/types/models/IBLAIPlatformMetaRequest.d.ts +0 -6
- package/dist/types/models/IBLAIPlatformMetaUpdateRequest.d.ts +0 -10
- package/dist/types/models/InputQuestion.d.ts +0 -6
- package/dist/types/models/IntegrationCredential.d.ts +0 -8
- package/dist/types/models/IntialQuestionAnswer.d.ts +0 -3
- package/dist/types/models/JobRun.d.ts +0 -11
- package/dist/types/models/KindEnum.d.ts +0 -10
- package/dist/types/models/LLMCredentialRequest.d.ts +0 -14
- package/dist/types/models/LLMCredentialResponse.d.ts +0 -8
- package/dist/types/models/LLMModelForTenant.d.ts +0 -6
- package/dist/types/models/LLMQuestion.d.ts +0 -15
- package/dist/types/models/LLMResponse.d.ts +0 -14
- package/dist/types/models/LLMTracesListResponse.d.ts +0 -5
- package/dist/types/models/LanguagesView.d.ts +0 -5
- package/dist/types/models/LinkCourseRequest.d.ts +0 -3
- package/dist/types/models/LinkCourseResponse.d.ts +0 -5
- package/dist/types/models/MemoryComponentData.d.ts +0 -5
- package/dist/types/models/MemoryComponentMemory.d.ts +0 -4
- package/dist/types/models/MemoryComponentMemoryDetail.d.ts +0 -8
- package/dist/types/models/MemoryComponentResponse.d.ts +0 -5
- package/dist/types/models/MemoryProgress.d.ts +0 -8
- package/dist/types/models/MemoryStatusRequestView.d.ts +0 -6
- package/dist/types/models/MemoryStatusView.d.ts +0 -6
- package/dist/types/models/Mentor.d.ts +0 -75
- package/dist/types/models/MentorAudience.d.ts +0 -5
- package/dist/types/models/MentorCategory.d.ts +0 -9
- package/dist/types/models/MentorCategoryCreate.d.ts +0 -11
- package/dist/types/models/MentorCategoryGroup.d.ts +0 -11
- package/dist/types/models/MentorCategoryGroupCreate.d.ts +0 -11
- package/dist/types/models/MentorCreate.d.ts +0 -74
- package/dist/types/models/MentorCustomVoice.d.ts +0 -4
- package/dist/types/models/MentorCustomVoiceResponse.d.ts +0 -4
- package/dist/types/models/MentorData.d.ts +0 -7
- package/dist/types/models/MentorDetailAnalytics.d.ts +0 -6
- package/dist/types/models/MentorEval.d.ts +0 -11
- package/dist/types/models/MentorEvalQuestion.d.ts +0 -5
- package/dist/types/models/MentorEvalQuestionRequest.d.ts +0 -4
- package/dist/types/models/MentorEvalReport.d.ts +0 -10
- package/dist/types/models/MentorEvalRequest.d.ts +0 -8
- package/dist/types/models/MentorFork.d.ts +0 -5
- package/dist/types/models/MentorFromTemplateRequest.d.ts +0 -4
- package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +0 -42
- package/dist/types/models/MentorMemorySettingsRequest.d.ts +0 -6
- package/dist/types/models/MentorMemorySettingsResponse.d.ts +0 -6
- package/dist/types/models/MentorMetadata.d.ts +0 -5
- package/dist/types/models/MentorScenario.d.ts +0 -6
- package/dist/types/models/MentorScenarioPrompt.d.ts +0 -5
- package/dist/types/models/MentorSession.d.ts +0 -4
- package/dist/types/models/MentorSettings.d.ts +0 -47
- package/dist/types/models/MentorSettingsPublic.d.ts +0 -40
- package/dist/types/models/MentorSettingsRequest.d.ts +0 -51
- package/dist/types/models/MentorVisibilityEnum.d.ts +0 -10
- package/dist/types/models/MentorWizard.d.ts +0 -4
- package/dist/types/models/MessageStatistics.d.ts +0 -5
- package/dist/types/models/MessageView.d.ts +0 -10
- package/dist/types/models/MessageViewRequest.d.ts +0 -7
- package/dist/types/models/MessageViewUpdatResponse.d.ts +0 -3
- package/dist/types/models/Metadata.d.ts +0 -5
- package/dist/types/models/MetricChange.d.ts +0 -4
- package/dist/types/models/ModelCost.d.ts +0 -4
- package/dist/types/models/ModerationLog.d.ts +0 -11
- package/dist/types/models/NoChatMessagesFound.d.ts +0 -3
- package/dist/types/models/NullEnum.d.ts +0 -1
- package/dist/types/models/PageContent.d.ts +0 -6
- package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +0 -7
- package/dist/types/models/PaginatedConversationsList.d.ts +0 -7
- package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +0 -7
- package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +0 -7
- package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
- package/dist/types/models/PaginatedEdxCourseList.d.ts +0 -7
- package/dist/types/models/PaginatedEmailPromptListList.d.ts +0 -7
- package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +0 -7
- package/dist/types/models/PaginatedJobRunList.d.ts +0 -7
- package/dist/types/models/PaginatedMentorList.d.ts +0 -7
- package/dist/types/models/PaginatedModerationLogList.d.ts +0 -7
- package/dist/types/models/PaginatedPeriodicAgentList.d.ts +0 -7
- package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +0 -7
- package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +0 -7
- package/dist/types/models/PaginatedSectionList.d.ts +0 -7
- package/dist/types/models/PaginatedSubSectionList.d.ts +0 -7
- package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +0 -7
- package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
- package/dist/types/models/PaginatedUnitList.d.ts +0 -7
- package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +0 -7
- package/dist/types/models/PaginatedVoiceList.d.ts +0 -7
- package/dist/types/models/PatchedBotCommand.d.ts +0 -6
- package/dist/types/models/PatchedBotCreate.d.ts +0 -12
- package/dist/types/models/PatchedConversations.d.ts +0 -28
- package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +0 -7
- package/dist/types/models/PatchedCredentialRequest.d.ts +0 -14
- package/dist/types/models/PatchedDataSet.d.ts +0 -21
- package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
- package/dist/types/models/PatchedLLMCredentialRequest.d.ts +0 -14
- package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +0 -11
- package/dist/types/models/PatchedMentorCreate.d.ts +0 -74
- package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +0 -41
- package/dist/types/models/PatchedPlayWrightScript.d.ts +0 -12
- package/dist/types/models/PatchedPrompt.d.ts +0 -22
- package/dist/types/models/PatchedSection.d.ts +0 -9
- package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
- package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
- package/dist/types/models/PatchedSubSection.d.ts +0 -9
- package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
- package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
- package/dist/types/models/PatchedUnit.d.ts +0 -11
- package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
- package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
- package/dist/types/models/PeriodicAgent.d.ts +0 -42
- package/dist/types/models/PeriodicAgentCreate.d.ts +0 -41
- package/dist/types/models/PeriodicAgentLog.d.ts +0 -11
- package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +0 -10
- package/dist/types/models/PeriodicTask.d.ts +0 -21
- package/dist/types/models/PieChartData.d.ts +0 -5
- package/dist/types/models/PieChartSegment.d.ts +0 -4
- package/dist/types/models/PinnedMessageCreate.d.ts +0 -9
- package/dist/types/models/PinnedMessageGet.d.ts +0 -7
- package/dist/types/models/PinnedMessageRequest.d.ts +0 -6
- package/dist/types/models/PlayWrightScript.d.ts +0 -12
- package/dist/types/models/PredictiveAnalyticsRequest.d.ts +0 -4
- package/dist/types/models/PredictiveAnalyticsResponse.d.ts +0 -4
- package/dist/types/models/PreviousAgentStatusEnum.d.ts +0 -12
- package/dist/types/models/Prompt.d.ts +0 -22
- package/dist/types/models/PromptCategory.d.ts +0 -7
- package/dist/types/models/PromptVisibilityEnum.d.ts +0 -10
- package/dist/types/models/Provider05cEnum.d.ts +0 -14
- package/dist/types/models/Provider63aEnum.d.ts +0 -6
- package/dist/types/models/QuestionCardTag.d.ts +0 -8
- package/dist/types/models/QuestionRequest.d.ts +0 -15
- package/dist/types/models/QuestionResponse.d.ts +0 -10
- package/dist/types/models/RatingEnum.d.ts +0 -8
- package/dist/types/models/RatingRecord.d.ts +0 -4
- package/dist/types/models/RecentlyAccessedMentor.d.ts +0 -8
- package/dist/types/models/RecommendCourseBlock.d.ts +0 -3
- package/dist/types/models/RecommendCourseResponse.d.ts +0 -3
- package/dist/types/models/RelatedText.d.ts +0 -3
- package/dist/types/models/RequestDataVariable.d.ts +0 -14
- package/dist/types/models/ResourceScrappedData.d.ts +0 -13
- package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +0 -12
- package/dist/types/models/ResponseDataVariable.d.ts +0 -14
- package/dist/types/models/RetreiverTrainViewRequest.d.ts +0 -10
- package/dist/types/models/RetreiverTrainViewResponse.d.ts +0 -6
- package/dist/types/models/RetrieveTask.d.ts +0 -3
- package/dist/types/models/RetrieverDocumentEmbedding.d.ts +0 -17
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +0 -30
- package/dist/types/models/RetrieverRequestSearch.d.ts +0 -10
- package/dist/types/models/RetrieverRequestSearchDocument.d.ts +0 -10
- package/dist/types/models/RetrieverResponseSearch.d.ts +0 -7
- package/dist/types/models/ReuestDataVariableList.d.ts +0 -4
- package/dist/types/models/RunMentorEval.d.ts +0 -3
- package/dist/types/models/ScanWebhookRequest.d.ts +0 -6
- package/dist/types/models/ScanWebhookResponse.d.ts +0 -3
- package/dist/types/models/Section.d.ts +0 -9
- package/dist/types/models/SectionWithChildren.d.ts +0 -11
- package/dist/types/models/SeedMentorsView.d.ts +0 -3
- package/dist/types/models/SentimentSummary.d.ts +0 -4
- package/dist/types/models/SessionBrowserScreenshot.d.ts +0 -8
- package/dist/types/models/SessionDetail.d.ts +0 -6
- package/dist/types/models/SessionMemoryStorage.d.ts +0 -6
- package/dist/types/models/ShellLogs.d.ts +0 -3
- package/dist/types/models/SlackConfig.d.ts +0 -8
- package/dist/types/models/SlackUserConfig.d.ts +0 -17
- package/dist/types/models/SlackWebhook.d.ts +0 -6
- package/dist/types/models/SpacedRepetitionLearningPath.d.ts +0 -3
- package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +0 -5
- package/dist/types/models/StarMentor.d.ts +0 -7
- package/dist/types/models/Status6eeEnum.d.ts +0 -12
- package/dist/types/models/Step.d.ts +0 -9
- package/dist/types/models/StepStatusEnum.d.ts +0 -10
- package/dist/types/models/StudentChatMessage.d.ts +0 -4
- package/dist/types/models/StylesView.d.ts +0 -4
- package/dist/types/models/SubSection.d.ts +0 -9
- package/dist/types/models/SubSectionWithChildren.d.ts +0 -11
- package/dist/types/models/TagsView.d.ts +0 -5
- package/dist/types/models/TargetSystemEnum.d.ts +0 -8
- package/dist/types/models/TaskView.d.ts +0 -3
- package/dist/types/models/TeamsConfig.d.ts +0 -7
- package/dist/types/models/TeamsWebhook.d.ts +0 -17
- package/dist/types/models/TemplateMentor.d.ts +0 -9
- package/dist/types/models/TenantMentorTraces.d.ts +0 -6
- package/dist/types/models/ThemeEnum.d.ts +0 -8
- package/dist/types/models/TonesView.d.ts +0 -4
- package/dist/types/models/ToolResponse.d.ts +0 -9
- package/dist/types/models/TopicModel.d.ts +0 -3
- package/dist/types/models/TopicRecord.d.ts +0 -4
- package/dist/types/models/TopicStatistics.d.ts +0 -7
- package/dist/types/models/TopicStatisticsResponse.d.ts +0 -6
- package/dist/types/models/TopicSummaryView.d.ts +0 -4
- package/dist/types/models/TrainChatSessionDocumentView.d.ts +0 -6
- package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +0 -6
- package/dist/types/models/TrainDocumentViewRequest.d.ts +0 -42
- package/dist/types/models/TrainDocumentViewResponse.d.ts +0 -14
- package/dist/types/models/Training.d.ts +0 -41
- package/dist/types/models/TrainingCreate.d.ts +0 -31
- package/dist/types/models/TrainingStatusEnum.d.ts +0 -12
- package/dist/types/models/TrendEntry.d.ts +0 -4
- package/dist/types/models/TriggerRequest.d.ts +0 -5
- package/dist/types/models/TriggerResponse.d.ts +0 -6
- package/dist/types/models/TypeC42Enum.d.ts +0 -8
- package/dist/types/models/Unit.d.ts +0 -11
- package/dist/types/models/UnitWithChildren.d.ts +0 -13
- package/dist/types/models/UseMainCreds.d.ts +0 -3
- package/dist/types/models/UserAllChatMemoryView.d.ts +0 -7
- package/dist/types/models/UserCatalogItemMemoryView.d.ts +0 -14
- package/dist/types/models/UserChatByPeriod.d.ts +0 -4
- package/dist/types/models/UserChatFeedback.d.ts +0 -14
- package/dist/types/models/UserChatFeedbackCount.d.ts +0 -4
- package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +0 -6
- package/dist/types/models/UserChatMemoryStatusView.d.ts +0 -6
- package/dist/types/models/UserChatMemoryUpdateView.d.ts +0 -10
- package/dist/types/models/UserCountRecord.d.ts +0 -4
- package/dist/types/models/UserEdxMemory.d.ts +0 -15
- package/dist/types/models/UserMemoryContextRequest.d.ts +0 -13
- package/dist/types/models/UserMemoryContextResponse.d.ts +0 -12
- package/dist/types/models/UserMetric.d.ts +0 -4
- package/dist/types/models/UserMetricsResponse.d.ts +0 -7
- package/dist/types/models/UserSentimentCountView.d.ts +0 -4
- package/dist/types/models/UserTrendByPeriod.d.ts +0 -5
- package/dist/types/models/VectorResult.d.ts +0 -8
- package/dist/types/models/Voice.d.ts +0 -9
- package/dist/types/models/VoiceProviderEnum.d.ts +0 -10
- package/dist/types/models/WebResource.d.ts +0 -9
- package/dist/types/models/WebResourceCard.d.ts +0 -7
- package/dist/types/models/WebResourcesQuery.d.ts +0 -3
- package/dist/types/models/WebexConfig.d.ts +0 -10
- package/dist/types/models/WebexWebhook.d.ts +0 -4
- package/dist/types/models/WhatAppWebHook.d.ts +0 -3
- package/dist/types/models/WhatsappConfig.d.ts +0 -11
- package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
- package/dist/types/services/AiAccountService.d.ts +0 -294
- package/dist/types/services/AiAnalyticsService.d.ts +0 -1056
- package/dist/types/services/AiBotService.d.ts +0 -486
- package/dist/types/services/AiFinetuningService.d.ts +0 -162
- package/dist/types/services/AiIndexService.d.ts +0 -344
- package/dist/types/services/AiMarketingService.d.ts +0 -34
- package/dist/types/services/AiMentorService.d.ts +0 -4096
- package/dist/types/services/AiPromptService.d.ts +0 -879
- package/src/models/AIGeneratedImage.ts +0 -18
- package/src/models/APITokenCost.ts +0 -19
- package/src/models/AccessEnum.ts +0 -12
- package/src/models/AlignMentorBubbleEnum.ts +0 -12
- package/src/models/AnalyticsOverview.ts +0 -12
- package/src/models/Answer.ts +0 -16
- package/src/models/AssumedKnowledge.ts +0 -9
- package/src/models/AssumedKnowledgeLevel.ts +0 -9
- package/src/models/AudioToTextRequest.ts +0 -8
- package/src/models/AudioToTextResponse.ts +0 -8
- package/src/models/Bot.ts +0 -20
- package/src/models/BotCommand.ts +0 -11
- package/src/models/BotCreate.ts +0 -17
- package/src/models/CallAuthenticationRequest.ts +0 -18
- package/src/models/CallAuthenticationResponse.ts +0 -26
- package/src/models/ChatHistory.ts +0 -13
- package/src/models/ChatHistoryFilterData.ts +0 -14
- package/src/models/ChatHistoryFilterUser.ts +0 -10
- package/src/models/ChatHistoryItem.ts +0 -10
- package/src/models/ChatHistorySessionId.ts +0 -8
- package/src/models/ChatSessionRequest.ts +0 -15
- package/src/models/ChatSessionResponse.ts +0 -10
- package/src/models/CheckDocumentTrainingStatus.ts +0 -15
- package/src/models/ComponentBlock.ts +0 -14
- package/src/models/ComponentBlockTypeEnum.ts +0 -12
- package/src/models/ConversationMessage.ts +0 -16
- package/src/models/ConversationRating.ts +0 -11
- package/src/models/ConversationSummary.ts +0 -10
- package/src/models/ConversationVolume.ts +0 -9
- package/src/models/Conversations.ts +0 -33
- package/src/models/Cost.ts +0 -8
- package/src/models/CostPerTenant.ts +0 -11
- package/src/models/CourseCreationTask.ts +0 -36
- package/src/models/CourseCreationTaskFile.ts +0 -12
- package/src/models/CourseCreationTaskStatusEnum.ts +0 -20
- package/src/models/CredentialRequest.ts +0 -19
- package/src/models/CrontabSchedule.ts +0 -27
- package/src/models/CustomInstructionResponse.ts +0 -18
- package/src/models/DataSet.ts +0 -26
- package/src/models/DataSetCreate.ts +0 -17
- package/src/models/DataSetStatusEnum.ts +0 -16
- package/src/models/DateRange.ts +0 -9
- package/src/models/DiscordConfig.ts +0 -12
- package/src/models/DiscordUserConfig.ts +0 -15
- package/src/models/DiscordWebhook.ts +0 -11
- package/src/models/EdxCourse.ts +0 -16
- package/src/models/ElevenlabsCustomVoice.ts +0 -9
- package/src/models/ElevenlabsCustomVoiceResponse.ts +0 -13
- package/src/models/EmailPromptDetail.ts +0 -18
- package/src/models/EmailPromptList.ts +0 -16
- package/src/models/EmailPromptSummary.ts +0 -10
- package/src/models/FreeUsageCount.ts +0 -8
- package/src/models/FullCourse.ts +0 -18
- package/src/models/GreetingMethodEnum.ts +0 -12
- package/src/models/GuidedPromptsResponse.ts +0 -8
- package/src/models/HeygenMarketingVideoDetail.ts +0 -13
- package/src/models/HeygenMarketingVideoList.ts +0 -11
- package/src/models/IBLAIPlatformMeta.ts +0 -8
- package/src/models/IBLAIPlatformMetaRequest.ts +0 -11
- package/src/models/IBLAIPlatformMetaUpdateRequest.ts +0 -15
- package/src/models/InputQuestion.ts +0 -11
- package/src/models/IntegrationCredential.ts +0 -13
- package/src/models/IntialQuestionAnswer.ts +0 -8
- package/src/models/JobRun.ts +0 -16
- package/src/models/KindEnum.ts +0 -14
- package/src/models/LLMCredentialRequest.ts +0 -19
- package/src/models/LLMCredentialResponse.ts +0 -13
- package/src/models/LLMModelForTenant.ts +0 -11
- package/src/models/LLMQuestion.ts +0 -20
- package/src/models/LLMResponse.ts +0 -19
- package/src/models/LLMTracesListResponse.ts +0 -10
- package/src/models/LanguagesView.ts +0 -10
- package/src/models/LinkCourseRequest.ts +0 -8
- package/src/models/LinkCourseResponse.ts +0 -10
- package/src/models/MemoryComponentData.ts +0 -10
- package/src/models/MemoryComponentMemory.ts +0 -9
- package/src/models/MemoryComponentMemoryDetail.ts +0 -13
- package/src/models/MemoryComponentResponse.ts +0 -10
- package/src/models/MemoryProgress.ts +0 -13
- package/src/models/MemoryStatusRequestView.ts +0 -11
- package/src/models/MemoryStatusView.ts +0 -11
- package/src/models/Mentor.ts +0 -80
- package/src/models/MentorAudience.ts +0 -10
- package/src/models/MentorCategory.ts +0 -14
- package/src/models/MentorCategoryCreate.ts +0 -16
- package/src/models/MentorCategoryGroup.ts +0 -16
- package/src/models/MentorCategoryGroupCreate.ts +0 -16
- package/src/models/MentorCreate.ts +0 -79
- package/src/models/MentorCustomVoice.ts +0 -9
- package/src/models/MentorCustomVoiceResponse.ts +0 -9
- package/src/models/MentorData.ts +0 -12
- package/src/models/MentorDetailAnalytics.ts +0 -11
- package/src/models/MentorEval.ts +0 -16
- package/src/models/MentorEvalQuestion.ts +0 -10
- package/src/models/MentorEvalQuestionRequest.ts +0 -9
- package/src/models/MentorEvalReport.ts +0 -15
- package/src/models/MentorEvalRequest.ts +0 -13
- package/src/models/MentorFork.ts +0 -10
- package/src/models/MentorFromTemplateRequest.ts +0 -9
- package/src/models/MentorFromTemplateWithSettingRequest.ts +0 -47
- package/src/models/MentorMemorySettingsRequest.ts +0 -11
- package/src/models/MentorMemorySettingsResponse.ts +0 -11
- package/src/models/MentorMetadata.ts +0 -10
- package/src/models/MentorScenario.ts +0 -11
- package/src/models/MentorScenarioPrompt.ts +0 -10
- package/src/models/MentorSession.ts +0 -9
- package/src/models/MentorSettings.ts +0 -52
- package/src/models/MentorSettingsPublic.ts +0 -45
- package/src/models/MentorSettingsRequest.ts +0 -56
- package/src/models/MentorVisibilityEnum.ts +0 -14
- package/src/models/MentorWizard.ts +0 -9
- package/src/models/MessageStatistics.ts +0 -10
- package/src/models/MessageView.ts +0 -15
- package/src/models/MessageViewRequest.ts +0 -12
- package/src/models/MessageViewUpdatResponse.ts +0 -8
- package/src/models/Metadata.ts +0 -10
- package/src/models/MetricChange.ts +0 -9
- package/src/models/ModelCost.ts +0 -9
- package/src/models/ModerationLog.ts +0 -16
- package/src/models/NoChatMessagesFound.ts +0 -8
- package/src/models/NullEnum.ts +0 -7
- package/src/models/PageContent.ts +0 -11
- package/src/models/PaginatedAIGeneratedImageList.ts +0 -12
- package/src/models/PaginatedConversationsList.ts +0 -12
- package/src/models/PaginatedCourseCreationTaskFileList.ts +0 -12
- package/src/models/PaginatedCourseCreationTaskList.ts +0 -12
- package/src/models/PaginatedDataSetList.ts +0 -12
- package/src/models/PaginatedEdxCourseList.ts +0 -12
- package/src/models/PaginatedEmailPromptListList.ts +0 -12
- package/src/models/PaginatedHeygenMarketingVideoListList.ts +0 -12
- package/src/models/PaginatedJobRunList.ts +0 -12
- package/src/models/PaginatedMentorList.ts +0 -12
- package/src/models/PaginatedModerationLogList.ts +0 -12
- package/src/models/PaginatedPeriodicAgentList.ts +0 -12
- package/src/models/PaginatedPeriodicAgentLogList.ts +0 -12
- package/src/models/PaginatedPlayWrightScriptList.ts +0 -12
- package/src/models/PaginatedSectionList.ts +0 -12
- package/src/models/PaginatedSubSectionList.ts +0 -12
- package/src/models/PaginatedTopicStatisticsResponse.ts +0 -12
- package/src/models/PaginatedTrainingList.ts +0 -12
- package/src/models/PaginatedUnitList.ts +0 -12
- package/src/models/PaginatedUserEdxMemoryList.ts +0 -12
- package/src/models/PaginatedVoiceList.ts +0 -12
- package/src/models/PatchedBotCommand.ts +0 -11
- package/src/models/PatchedBotCreate.ts +0 -17
- package/src/models/PatchedConversations.ts +0 -33
- package/src/models/PatchedCourseCreationTaskFile.ts +0 -12
- package/src/models/PatchedCredentialRequest.ts +0 -19
- package/src/models/PatchedDataSet.ts +0 -26
- package/src/models/PatchedDiscordConfig.ts +0 -12
- package/src/models/PatchedDiscordUserConfig.ts +0 -15
- package/src/models/PatchedLLMCredentialRequest.ts +0 -19
- package/src/models/PatchedMentorCategoryGroupCreate.ts +0 -16
- package/src/models/PatchedMentorCreate.ts +0 -79
- package/src/models/PatchedPeriodicAgentCreate.ts +0 -46
- package/src/models/PatchedPlayWrightScript.ts +0 -17
- package/src/models/PatchedPrompt.ts +0 -27
- package/src/models/PatchedSection.ts +0 -14
- package/src/models/PatchedSlackConfig.ts +0 -13
- package/src/models/PatchedSlackUserConfig.ts +0 -22
- package/src/models/PatchedSubSection.ts +0 -14
- package/src/models/PatchedTeamsConfig.ts +0 -12
- package/src/models/PatchedTrainingCreate.ts +0 -36
- package/src/models/PatchedUnit.ts +0 -16
- package/src/models/PatchedWebexConfig.ts +0 -15
- package/src/models/PatchedWhatsappConfig.ts +0 -16
- package/src/models/PatchedWhatsappUserConfig.ts +0 -15
- package/src/models/PeriodicAgent.ts +0 -47
- package/src/models/PeriodicAgentCreate.ts +0 -46
- package/src/models/PeriodicAgentLog.ts +0 -16
- package/src/models/PeriodicAgentLogStatusEnum.ts +0 -14
- package/src/models/PeriodicTask.ts +0 -26
- package/src/models/PieChartData.ts +0 -10
- package/src/models/PieChartSegment.ts +0 -9
- package/src/models/PinnedMessageCreate.ts +0 -14
- package/src/models/PinnedMessageGet.ts +0 -12
- package/src/models/PinnedMessageRequest.ts +0 -11
- package/src/models/PlayWrightScript.ts +0 -17
- package/src/models/PredictiveAnalyticsRequest.ts +0 -9
- package/src/models/PredictiveAnalyticsResponse.ts +0 -9
- package/src/models/PreviousAgentStatusEnum.ts +0 -16
- package/src/models/Prompt.ts +0 -27
- package/src/models/PromptCategory.ts +0 -12
- package/src/models/PromptVisibilityEnum.ts +0 -14
- package/src/models/Provider05cEnum.ts +0 -18
- package/src/models/Provider63aEnum.ts +0 -10
- package/src/models/QuestionCardTag.ts +0 -13
- package/src/models/QuestionRequest.ts +0 -20
- package/src/models/QuestionResponse.ts +0 -15
- package/src/models/RatingEnum.ts +0 -12
- package/src/models/RatingRecord.ts +0 -9
- package/src/models/RecentlyAccessedMentor.ts +0 -13
- package/src/models/RecommendCourseBlock.ts +0 -8
- package/src/models/RecommendCourseResponse.ts +0 -8
- package/src/models/RelatedText.ts +0 -8
- package/src/models/RequestDataVariable.ts +0 -19
- package/src/models/ResourceScrappedData.ts +0 -18
- package/src/models/ResourceScrappedDataStatusEnum.ts +0 -16
- package/src/models/ResponseDataVariable.ts +0 -19
- package/src/models/RetreiverTrainViewRequest.ts +0 -15
- package/src/models/RetreiverTrainViewResponse.ts +0 -11
- package/src/models/RetrieveTask.ts +0 -8
- package/src/models/RetrieverDocumentEmbedding.ts +0 -22
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +0 -35
- package/src/models/RetrieverRequestSearch.ts +0 -15
- package/src/models/RetrieverRequestSearchDocument.ts +0 -15
- package/src/models/RetrieverResponseSearch.ts +0 -12
- package/src/models/ReuestDataVariableList.ts +0 -9
- package/src/models/RunMentorEval.ts +0 -8
- package/src/models/ScanWebhookRequest.ts +0 -11
- package/src/models/ScanWebhookResponse.ts +0 -8
- package/src/models/Section.ts +0 -14
- package/src/models/SectionWithChildren.ts +0 -16
- package/src/models/SeedMentorsView.ts +0 -8
- package/src/models/SentimentSummary.ts +0 -9
- package/src/models/SessionBrowserScreenshot.ts +0 -13
- package/src/models/SessionDetail.ts +0 -11
- package/src/models/SessionMemoryStorage.ts +0 -11
- package/src/models/ShellLogs.ts +0 -8
- package/src/models/SlackConfig.ts +0 -13
- package/src/models/SlackUserConfig.ts +0 -22
- package/src/models/SlackWebhook.ts +0 -11
- package/src/models/SpacedRepetitionLearningPath.ts +0 -8
- package/src/models/SpacedRepetitionQuestionStats.ts +0 -10
- package/src/models/StarMentor.ts +0 -12
- package/src/models/Status6eeEnum.ts +0 -16
- package/src/models/Step.ts +0 -14
- package/src/models/StepStatusEnum.ts +0 -14
- package/src/models/StudentChatMessage.ts +0 -9
- package/src/models/StylesView.ts +0 -9
- package/src/models/SubSection.ts +0 -14
- package/src/models/SubSectionWithChildren.ts +0 -16
- package/src/models/TagsView.ts +0 -10
- package/src/models/TargetSystemEnum.ts +0 -12
- package/src/models/TaskView.ts +0 -8
- package/src/models/TeamsConfig.ts +0 -12
- package/src/models/TeamsWebhook.ts +0 -22
- package/src/models/TemplateMentor.ts +0 -14
- package/src/models/TenantMentorTraces.ts +0 -11
- package/src/models/ThemeEnum.ts +0 -12
- package/src/models/TonesView.ts +0 -9
- package/src/models/ToolResponse.ts +0 -14
- package/src/models/TopicModel.ts +0 -8
- package/src/models/TopicRecord.ts +0 -9
- package/src/models/TopicStatistics.ts +0 -12
- package/src/models/TopicStatisticsResponse.ts +0 -11
- package/src/models/TopicSummaryView.ts +0 -9
- package/src/models/TrainChatSessionDocumentView.ts +0 -11
- package/src/models/TrainChatSessionDocumentViewRequest.ts +0 -11
- package/src/models/TrainDocumentViewRequest.ts +0 -47
- package/src/models/TrainDocumentViewResponse.ts +0 -19
- package/src/models/Training.ts +0 -46
- package/src/models/TrainingCreate.ts +0 -36
- package/src/models/TrainingStatusEnum.ts +0 -16
- package/src/models/TrendEntry.ts +0 -9
- package/src/models/TriggerRequest.ts +0 -10
- package/src/models/TriggerResponse.ts +0 -11
- package/src/models/TypeC42Enum.ts +0 -12
- package/src/models/Unit.ts +0 -16
- package/src/models/UnitWithChildren.ts +0 -18
- package/src/models/UseMainCreds.ts +0 -8
- package/src/models/UserAllChatMemoryView.ts +0 -12
- package/src/models/UserCatalogItemMemoryView.ts +0 -19
- package/src/models/UserChatByPeriod.ts +0 -9
- package/src/models/UserChatFeedback.ts +0 -19
- package/src/models/UserChatFeedbackCount.ts +0 -9
- package/src/models/UserChatMemoryStatusRequestView.ts +0 -11
- package/src/models/UserChatMemoryStatusView.ts +0 -11
- package/src/models/UserChatMemoryUpdateView.ts +0 -15
- package/src/models/UserCountRecord.ts +0 -9
- package/src/models/UserEdxMemory.ts +0 -20
- package/src/models/UserMemoryContextRequest.ts +0 -18
- package/src/models/UserMemoryContextResponse.ts +0 -17
- package/src/models/UserMetric.ts +0 -9
- package/src/models/UserMetricsResponse.ts +0 -12
- package/src/models/UserSentimentCountView.ts +0 -9
- package/src/models/UserTrendByPeriod.ts +0 -10
- package/src/models/VectorResult.ts +0 -13
- package/src/models/Voice.ts +0 -14
- package/src/models/VoiceProviderEnum.ts +0 -14
- package/src/models/WebResource.ts +0 -14
- package/src/models/WebResourceCard.ts +0 -12
- package/src/models/WebResourcesQuery.ts +0 -8
- package/src/models/WebexConfig.ts +0 -15
- package/src/models/WebexWebhook.ts +0 -9
- package/src/models/WhatAppWebHook.ts +0 -8
- package/src/models/WhatsappConfig.ts +0 -16
- package/src/models/WhatsappUserConfig.ts +0 -15
- package/src/services/AiAccountService.ts +0 -479
- package/src/services/AiAnalyticsService.ts +0 -1923
- package/src/services/AiBotService.ts +0 -1174
- package/src/services/AiFinetuningService.ts +0 -402
- package/src/services/AiIndexService.ts +0 -598
- package/src/services/AiMarketingService.ts +0 -87
- package/src/services/AiMentorService.ts +0 -7678
- package/src/services/AiPromptService.ts +0 -1676
|
@@ -1,49 +1,5 @@
|
|
|
1
1
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
2
2
|
export declare class SearchService {
|
|
3
|
-
/**
|
|
4
|
-
* Legacy endpoint for backward compatibility with older mentor search implementations.
|
|
5
|
-
*
|
|
6
|
-
* This endpoint provides the same functionality as MentorSearchView but supports
|
|
7
|
-
* older pagination parameters and only returns publicly available mentors
|
|
8
|
-
* (VIEWABLE_BY_ANYONE).
|
|
9
|
-
*
|
|
10
|
-
* Query Parameters:
|
|
11
|
-
* # Identification parameters (for detail view)
|
|
12
|
-
* id (int, optional): Retrieve a specific mentor by ID
|
|
13
|
-
* unique_id (uuid, optional): Retrieve a specific mentor by UUID
|
|
14
|
-
*
|
|
15
|
-
* # Legacy pagination parameters
|
|
16
|
-
* page (int, optional): Page number (1-based, used with page_size)
|
|
17
|
-
* page_size (int, optional): Number of results per page
|
|
18
|
-
*
|
|
19
|
-
* # Standard pagination parameters (also supported)
|
|
20
|
-
* limit (int, optional): Number of results per page
|
|
21
|
-
* offset (int, optional): Starting position for pagination
|
|
22
|
-
*
|
|
23
|
-
* # Other parameters
|
|
24
|
-
* Same as MentorSearchView
|
|
25
|
-
*
|
|
26
|
-
* # Special parameters
|
|
27
|
-
* filter_facet (any, optional): If present, return only facets without results
|
|
28
|
-
* created_by (str, optional): Filter mentors created by specific user
|
|
29
|
-
*
|
|
30
|
-
* Returns:
|
|
31
|
-
* Same format as MentorSearchView, but only includes publicly available mentors.
|
|
32
|
-
*
|
|
33
|
-
* Error Responses:
|
|
34
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
35
|
-
* 403 Forbidden: If the requested mentor exists but is not publicly available
|
|
36
|
-
* 404 Not Found: If the requested mentor doesn't exist
|
|
37
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
38
|
-
*
|
|
39
|
-
* Notes:
|
|
40
|
-
* - This endpoint is maintained for backward compatibility
|
|
41
|
-
* - Only returns mentors with visibility set to VIEWABLE_BY_ANYONE
|
|
42
|
-
* - Supports both old-style (page/page_size) and new-style (limit/offset) pagination
|
|
43
|
-
* @returns any No response body
|
|
44
|
-
* @throws ApiError
|
|
45
|
-
*/
|
|
46
|
-
static searchAiSearchRetrieve(): CancelablePromise<any>;
|
|
47
3
|
/**
|
|
48
4
|
* Search and filter content across the learning catalog.
|
|
49
5
|
*
|
|
@@ -213,282 +169,6 @@ export declare class SearchService {
|
|
|
213
169
|
* @throws ApiError
|
|
214
170
|
*/
|
|
215
171
|
static searchCatalogRetrieve(): CancelablePromise<any>;
|
|
216
|
-
/**
|
|
217
|
-
* Search and filter AI mentors across the platform.
|
|
218
|
-
*
|
|
219
|
-
* This endpoint provides a powerful search interface for discovering AI mentors
|
|
220
|
-
* with support for filtering, pagination, and detailed mentor information.
|
|
221
|
-
*
|
|
222
|
-
* Query Parameters:
|
|
223
|
-
* # Identification parameters (for detail view)
|
|
224
|
-
* id (int, optional): Retrieve a specific mentor by ID
|
|
225
|
-
* unique_id (uuid, optional): Retrieve a specific mentor by UUID
|
|
226
|
-
*
|
|
227
|
-
* # Search and filtering parameters
|
|
228
|
-
* query (str, optional): Search term to filter mentors by name or description
|
|
229
|
-
* tenant (str, optional): Filter by tenant/organization
|
|
230
|
-
* llm (list, optional): Filter by language model type
|
|
231
|
-
* audience (list, optional): Filter by target audience
|
|
232
|
-
* category (list, optional): Filter by mentor category
|
|
233
|
-
* tags (list, optional): Filter by tags
|
|
234
|
-
* created_by (str, optional): Filter mentors created by specific user
|
|
235
|
-
*
|
|
236
|
-
* # Sorting and pagination
|
|
237
|
-
* order_by (str, optional): Field to sort results by ('created_at', 'recently_accessed_at')
|
|
238
|
-
* order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
|
|
239
|
-
* limit (int, optional): Number of results per page (default: 12, max: 100)
|
|
240
|
-
* offset (int, optional): Starting position for pagination
|
|
241
|
-
*
|
|
242
|
-
* Returns:
|
|
243
|
-
* For detail view (when id or unique_id is provided):
|
|
244
|
-
* A JSON response containing a single mentor's details:
|
|
245
|
-
* {
|
|
246
|
-
* "id": 123,
|
|
247
|
-
* "unique_id": "550e8400-e29b-41d4-a716-446655440000",
|
|
248
|
-
* "name": "Professor Smith",
|
|
249
|
-
* "description": "AI mentor specializing in computer science",
|
|
250
|
-
* "image_url": "https://example.com/images/prof-smith.jpg",
|
|
251
|
-
* "llm": {
|
|
252
|
-
* "id": 1,
|
|
253
|
-
* "name": "GPT-4",
|
|
254
|
-
* "description": "Advanced language model"
|
|
255
|
-
* },
|
|
256
|
-
* "audience": {
|
|
257
|
-
* "id": 2,
|
|
258
|
-
* "name": "College Students",
|
|
259
|
-
* "description": "For university-level learners"
|
|
260
|
-
* },
|
|
261
|
-
* "category": "Computer Science",
|
|
262
|
-
* "tags": ["programming", "algorithms", "data structures"],
|
|
263
|
-
* "created_at": "2023-01-15T12:00:00Z",
|
|
264
|
-
* "recently_accessed_at": "2023-06-20T15:30:00Z",
|
|
265
|
-
* "platform": {
|
|
266
|
-
* "id": 1,
|
|
267
|
-
* "name": "Example University",
|
|
268
|
-
* "key": "example-university"
|
|
269
|
-
* },
|
|
270
|
-
* "visibility": "public",
|
|
271
|
-
* "settings": {
|
|
272
|
-
* "temperature": 0.7,
|
|
273
|
-
* "max_tokens": 1024,
|
|
274
|
-
* "system_prompt": "You are Professor Smith, an expert in computer science..."
|
|
275
|
-
* }
|
|
276
|
-
* }
|
|
277
|
-
*
|
|
278
|
-
* For list view:
|
|
279
|
-
* A JSON response containing:
|
|
280
|
-
* {
|
|
281
|
-
* "results": [
|
|
282
|
-
* {
|
|
283
|
-
* "id": 123,
|
|
284
|
-
* "unique_id": "550e8400-e29b-41d4-a716-446655440000",
|
|
285
|
-
* "name": "Professor Smith",
|
|
286
|
-
* "description": "AI mentor specializing in computer science",
|
|
287
|
-
* "image_url": "https://example.com/images/prof-smith.jpg",
|
|
288
|
-
* "llm": {"id": 1, "name": "GPT-4"},
|
|
289
|
-
* "audience": {"id": 2, "name": "College Students"},
|
|
290
|
-
* "category": "Computer Science",
|
|
291
|
-
* "tags": ["programming", "algorithms"],
|
|
292
|
-
* "created_at": "2023-01-15T12:00:00Z",
|
|
293
|
-
* "recently_accessed_at": "2023-06-20T15:30:00Z"
|
|
294
|
-
* },
|
|
295
|
-
* // Additional mentor objects...
|
|
296
|
-
* ],
|
|
297
|
-
* "count": 50,
|
|
298
|
-
* "next": "https://api.example.com/api/search/mentors/?limit=12&offset=12",
|
|
299
|
-
* "previous": null,
|
|
300
|
-
* "current_page": 1,
|
|
301
|
-
* "num_pages": 5,
|
|
302
|
-
* "facets": {
|
|
303
|
-
* "llm": [
|
|
304
|
-
* {"key": "GPT-4", "doc_count": 30},
|
|
305
|
-
* {"key": "Claude", "doc_count": 20}
|
|
306
|
-
* ],
|
|
307
|
-
* "audience": [
|
|
308
|
-
* {"key": "College Students", "doc_count": 35},
|
|
309
|
-
* {"key": "Professionals", "doc_count": 15}
|
|
310
|
-
* ],
|
|
311
|
-
* "category": [
|
|
312
|
-
* {"key": "Computer Science", "doc_count": 25},
|
|
313
|
-
* {"key": "Mathematics", "doc_count": 15},
|
|
314
|
-
* {"key": "Business", "doc_count": 10}
|
|
315
|
-
* ]
|
|
316
|
-
* }
|
|
317
|
-
* }
|
|
318
|
-
*
|
|
319
|
-
* Error Responses:
|
|
320
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
321
|
-
* 404 Not Found: If the requested mentor doesn't exist
|
|
322
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
323
|
-
*
|
|
324
|
-
* Notes:
|
|
325
|
-
* - Results are cached for performance
|
|
326
|
-
* - Public mentors are visible to all users
|
|
327
|
-
* - Private mentors are only visible to authorized users
|
|
328
|
-
* @returns any No response body
|
|
329
|
-
* @throws ApiError
|
|
330
|
-
*/
|
|
331
|
-
static searchMentorsRetrieve(): CancelablePromise<any>;
|
|
332
|
-
/**
|
|
333
|
-
* Search and filter documents associated with a specific mentor.
|
|
334
|
-
*
|
|
335
|
-
* This endpoint allows searching and filtering documents that are linked to a
|
|
336
|
-
* particular mentor, with support for pagination, sorting, and faceted filtering.
|
|
337
|
-
*
|
|
338
|
-
* Path Parameters:
|
|
339
|
-
* mentor_unique_id (uuid): The unique identifier of the mentor
|
|
340
|
-
*
|
|
341
|
-
* Query Parameters:
|
|
342
|
-
* query (str, optional): Search term to filter documents by name or content
|
|
343
|
-
* document_type (str, optional): Filter by document type (e.g., 'pdf', 'text')
|
|
344
|
-
* access (str, optional): Filter by access level (e.g., 'public', 'private')
|
|
345
|
-
* training_status (str, optional): Filter by training status (e.g., 'trained', 'pending')
|
|
346
|
-
* platform_key (str, optional): Filter by platform key
|
|
347
|
-
* order_by (str, optional): Field to sort results by ('date_created', 'last_modified', 'document_name')
|
|
348
|
-
* order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
|
|
349
|
-
* limit (int, optional): Number of results per page (default: 12, max: 100)
|
|
350
|
-
* offset (int, optional): Starting position for pagination
|
|
351
|
-
*
|
|
352
|
-
* Returns:
|
|
353
|
-
* A JSON response containing:
|
|
354
|
-
* {
|
|
355
|
-
* "results": [
|
|
356
|
-
* {
|
|
357
|
-
* "id": 789,
|
|
358
|
-
* "document_name": "Introduction to Algorithms.pdf",
|
|
359
|
-
* "document_type": "pdf",
|
|
360
|
-
* "access": "public",
|
|
361
|
-
* "training_status": "trained",
|
|
362
|
-
* "date_created": "2023-03-15T10:30:00Z",
|
|
363
|
-
* "last_modified": "2023-04-20T14:45:00Z",
|
|
364
|
-
* "url": "https://example.com/documents/intro-algorithms.pdf",
|
|
365
|
-
* "metadata": {
|
|
366
|
-
* "page_count": 45,
|
|
367
|
-
* "author": "John Smith",
|
|
368
|
-
* "keywords": ["algorithms", "computer science", "data structures"],
|
|
369
|
-
* "description": "Comprehensive introduction to fundamental algorithms"
|
|
370
|
-
* }
|
|
371
|
-
* },
|
|
372
|
-
* // Additional document objects...
|
|
373
|
-
* ],
|
|
374
|
-
* "count": 25,
|
|
375
|
-
* "next": "https://api.example.com/api/search/mentors/550e8400-e29b-41d4-a716-446655440000/documents/?limit=12&offset=12",
|
|
376
|
-
* "previous": null,
|
|
377
|
-
* "current_page": 1,
|
|
378
|
-
* "total_pages": 3,
|
|
379
|
-
* "facets": {
|
|
380
|
-
* "document_type": [
|
|
381
|
-
* {"key": "pdf", "doc_count": 15},
|
|
382
|
-
* {"key": "text", "doc_count": 5},
|
|
383
|
-
* {"key": "docx", "doc_count": 5}
|
|
384
|
-
* ],
|
|
385
|
-
* "access": [
|
|
386
|
-
* {"key": "public", "doc_count": 20},
|
|
387
|
-
* {"key": "private", "doc_count": 5}
|
|
388
|
-
* ],
|
|
389
|
-
* "training_status": [
|
|
390
|
-
* {"key": "trained", "doc_count": 18},
|
|
391
|
-
* {"key": "pending", "doc_count": 5},
|
|
392
|
-
* {"key": "failed", "doc_count": 2}
|
|
393
|
-
* ]
|
|
394
|
-
* }
|
|
395
|
-
* }
|
|
396
|
-
*
|
|
397
|
-
* Error Responses:
|
|
398
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
399
|
-
* 404 Not Found: If the mentor doesn't exist
|
|
400
|
-
* 500 Internal Server Error: If an unexpected error occurs during processing
|
|
401
|
-
*
|
|
402
|
-
* Access Control:
|
|
403
|
-
* - Requires platform membership
|
|
404
|
-
* - Only documents associated with the specified mentor are returned
|
|
405
|
-
* - Access level filtering respects user permissions
|
|
406
|
-
* @param mentorUniqueId
|
|
407
|
-
* @returns any No response body
|
|
408
|
-
* @throws ApiError
|
|
409
|
-
*/
|
|
410
|
-
static searchMentorsDocumentsRetrieve(mentorUniqueId: string): CancelablePromise<any>;
|
|
411
|
-
/**
|
|
412
|
-
* Search and filter AI mentors for a specific user within a tenant.
|
|
413
|
-
*
|
|
414
|
-
* This endpoint extends the base mentor search functionality but filters results
|
|
415
|
-
* to only show mentors that are available to a specific user within a specific
|
|
416
|
-
* organization/tenant.
|
|
417
|
-
*
|
|
418
|
-
* Path Parameters:
|
|
419
|
-
* org (str): The organization/tenant identifier
|
|
420
|
-
* username (str): The username to filter mentors for
|
|
421
|
-
*
|
|
422
|
-
* Query Parameters:
|
|
423
|
-
* Same as MentorSearchView, plus:
|
|
424
|
-
*
|
|
425
|
-
* # Identification parameters (for detail view)
|
|
426
|
-
* id (int, optional): Retrieve a specific mentor by ID
|
|
427
|
-
* unique_id (uuid, optional): Retrieve a specific mentor by UUID
|
|
428
|
-
* created_by (str, optional): Filter mentors created by specific user
|
|
429
|
-
*
|
|
430
|
-
* Returns:
|
|
431
|
-
* Same format as MentorSearchView, but filtered to only include mentors
|
|
432
|
-
* that the specified user has access to within the specified organization.
|
|
433
|
-
*
|
|
434
|
-
* Error Responses:
|
|
435
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
436
|
-
* 404 Not Found: If the requested mentor doesn't exist or user doesn't have access
|
|
437
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
438
|
-
*
|
|
439
|
-
* Access Control:
|
|
440
|
-
* - Requires platform membership (though currently not enforced)
|
|
441
|
-
* - Results are filtered based on user's permissions within the organization
|
|
442
|
-
* @param org
|
|
443
|
-
* @param username
|
|
444
|
-
* @returns any No response body
|
|
445
|
-
* @throws ApiError
|
|
446
|
-
*/
|
|
447
|
-
static searchOrgsUsersMentorsRetrieve(org: string, username: string): CancelablePromise<any>;
|
|
448
|
-
/**
|
|
449
|
-
* Search and filter AI prompts for a specific user within a tenant.
|
|
450
|
-
*
|
|
451
|
-
* This endpoint extends the base prompt search functionality but filters results
|
|
452
|
-
* to only show prompts that are available to a specific user within a specific
|
|
453
|
-
* organization/tenant.
|
|
454
|
-
*
|
|
455
|
-
* Path Parameters:
|
|
456
|
-
* org (str): The organization/tenant identifier
|
|
457
|
-
* username (str): The username to filter prompts for
|
|
458
|
-
*
|
|
459
|
-
* Query Parameters:
|
|
460
|
-
* Same as PromptSearchView, plus:
|
|
461
|
-
*
|
|
462
|
-
* # Identification parameters (for detail view)
|
|
463
|
-
* id (int, optional): Retrieve a specific prompt by ID
|
|
464
|
-
*
|
|
465
|
-
* Returns:
|
|
466
|
-
* Same format as PromptSearchView, but filtered to only include prompts
|
|
467
|
-
* that the specified user has access to within the specified organization.
|
|
468
|
-
*
|
|
469
|
-
* Error Responses:
|
|
470
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
471
|
-
* 403 Forbidden: If the requested prompt exists but the user doesn't have access
|
|
472
|
-
* 404 Not Found: If the requested prompt doesn't exist
|
|
473
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
474
|
-
*
|
|
475
|
-
* Access Control:
|
|
476
|
-
* - Results are filtered based on user's permissions within the organization
|
|
477
|
-
* - Private prompts are only visible to authorized users
|
|
478
|
-
* @param org
|
|
479
|
-
* @param username
|
|
480
|
-
* @returns any No response body
|
|
481
|
-
* @throws ApiError
|
|
482
|
-
*/
|
|
483
|
-
static searchOrgsUsersPromptsRetrieve(org: string, username: string): CancelablePromise<any>;
|
|
484
|
-
/**
|
|
485
|
-
* Determine whether to serve a detail view or a list view.
|
|
486
|
-
* @param org
|
|
487
|
-
* @param username
|
|
488
|
-
* @returns any No response body
|
|
489
|
-
* @throws ApiError
|
|
490
|
-
*/
|
|
491
|
-
static searchOrgsUsersRecommendedRetrieve(org: string, username: string): CancelablePromise<any>;
|
|
492
172
|
/**
|
|
493
173
|
* Determine whether to serve a detail view or a list view.
|
|
494
174
|
* If any detail-identifying parameters are present (course_id, program_id, etc.)
|
|
@@ -498,120 +178,6 @@ export declare class SearchService {
|
|
|
498
178
|
* @throws ApiError
|
|
499
179
|
*/
|
|
500
180
|
static searchPersonalizedCatalogRetrieve(username: string): CancelablePromise<any>;
|
|
501
|
-
/**
|
|
502
|
-
* Search and filter AI prompts across the platform.
|
|
503
|
-
*
|
|
504
|
-
* This endpoint provides a search interface for discovering AI prompts
|
|
505
|
-
* with support for filtering, pagination, and detailed prompt information.
|
|
506
|
-
*
|
|
507
|
-
* Query Parameters:
|
|
508
|
-
* # Identification parameters (for detail view)
|
|
509
|
-
* id (int, optional): Retrieve a specific prompt by ID
|
|
510
|
-
*
|
|
511
|
-
* # Search and filtering parameters
|
|
512
|
-
* query (str, optional): Search term to filter prompts by name or content
|
|
513
|
-
* category (str, optional): Filter by prompt category
|
|
514
|
-
* language (str, optional): Filter by prompt language
|
|
515
|
-
* style (str, optional): Filter by writing style
|
|
516
|
-
* tone (str, optional): Filter by tone
|
|
517
|
-
* tenant (str, optional): Filter by tenant/organization
|
|
518
|
-
* mentor (str, optional): Filter by associated mentor (UUID)
|
|
519
|
-
*
|
|
520
|
-
* # Sorting and pagination
|
|
521
|
-
* sort_by (str, optional): Field to sort results by
|
|
522
|
-
* order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
|
|
523
|
-
* alphabetical (bool, optional): Sort alphabetically by name (default: false)
|
|
524
|
-
* limit (int, optional): Number of results per page (default: 10)
|
|
525
|
-
* offset (int, optional): Starting position for pagination
|
|
526
|
-
*
|
|
527
|
-
* # Special parameters
|
|
528
|
-
* filter_facet (any, optional): If present, return only facets without results
|
|
529
|
-
*
|
|
530
|
-
* Returns:
|
|
531
|
-
* For detail view (when id is provided):
|
|
532
|
-
* A JSON response containing a single prompt's details:
|
|
533
|
-
* {
|
|
534
|
-
* "id": 456,
|
|
535
|
-
* "name": "Essay Writing Guide",
|
|
536
|
-
* "content": "Write a well-structured essay on the following topic: {{topic}}...",
|
|
537
|
-
* "category": "Academic Writing",
|
|
538
|
-
* "language": "English",
|
|
539
|
-
* "style": "Formal",
|
|
540
|
-
* "tone": "Professional",
|
|
541
|
-
* "mentor": {
|
|
542
|
-
* "id": 123,
|
|
543
|
-
* "unique_id": "550e8400-e29b-41d4-a716-446655440000",
|
|
544
|
-
* "name": "Professor Smith"
|
|
545
|
-
* },
|
|
546
|
-
* "platform": {
|
|
547
|
-
* "id": 1,
|
|
548
|
-
* "name": "Example University",
|
|
549
|
-
* "key": "example-university"
|
|
550
|
-
* },
|
|
551
|
-
* "created_at": "2023-02-10T09:15:00Z",
|
|
552
|
-
* "updated_at": "2023-05-05T14:20:00Z",
|
|
553
|
-
* "visibility": "public",
|
|
554
|
-
* "variables": ["topic", "length", "style"]
|
|
555
|
-
* }
|
|
556
|
-
*
|
|
557
|
-
* For list view:
|
|
558
|
-
* A JSON response containing:
|
|
559
|
-
* {
|
|
560
|
-
* "results": [
|
|
561
|
-
* {
|
|
562
|
-
* "id": 456,
|
|
563
|
-
* "name": "Essay Writing Guide",
|
|
564
|
-
* "content": "Write a well-structured essay on the following topic: {{topic}}...",
|
|
565
|
-
* "category": "Academic Writing",
|
|
566
|
-
* "language": "English",
|
|
567
|
-
* "style": "Formal",
|
|
568
|
-
* "tone": "Professional",
|
|
569
|
-
* "mentor": {"id": 123, "name": "Professor Smith"},
|
|
570
|
-
* "created_at": "2023-02-10T09:15:00Z",
|
|
571
|
-
* "updated_at": "2023-05-05T14:20:00Z"
|
|
572
|
-
* },
|
|
573
|
-
* // Additional prompt objects...
|
|
574
|
-
* ],
|
|
575
|
-
* "count": 30,
|
|
576
|
-
* "next": "?limit=10&offset=10",
|
|
577
|
-
* "previous": null,
|
|
578
|
-
* "current_page": 1,
|
|
579
|
-
* "num_pages": 3,
|
|
580
|
-
* "facets": {
|
|
581
|
-
* "category": [
|
|
582
|
-
* {"key": "Academic Writing", "doc_count": 15},
|
|
583
|
-
* {"key": "Creative Writing", "doc_count": 10},
|
|
584
|
-
* {"key": "Technical Documentation", "doc_count": 5}
|
|
585
|
-
* ],
|
|
586
|
-
* "language": [
|
|
587
|
-
* {"key": "English", "doc_count": 25},
|
|
588
|
-
* {"key": "Spanish", "doc_count": 5}
|
|
589
|
-
* ],
|
|
590
|
-
* "style": [
|
|
591
|
-
* {"key": "Formal", "doc_count": 20},
|
|
592
|
-
* {"key": "Casual", "doc_count": 10}
|
|
593
|
-
* ],
|
|
594
|
-
* "tone": [
|
|
595
|
-
* {"key": "Professional", "doc_count": 15},
|
|
596
|
-
* {"key": "Friendly", "doc_count": 10},
|
|
597
|
-
* {"key": "Technical", "doc_count": 5}
|
|
598
|
-
* ]
|
|
599
|
-
* }
|
|
600
|
-
* }
|
|
601
|
-
*
|
|
602
|
-
* Error Responses:
|
|
603
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
604
|
-
* 403 Forbidden: If the requested prompt exists but is not publicly available
|
|
605
|
-
* 404 Not Found: If the requested prompt doesn't exist
|
|
606
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
607
|
-
*
|
|
608
|
-
* Notes:
|
|
609
|
-
* - Only publicly available prompts are returned by default
|
|
610
|
-
* - When filtering by mentor, the mentor ID must be a valid UUID
|
|
611
|
-
* @returns any No response body
|
|
612
|
-
* @throws ApiError
|
|
613
|
-
*/
|
|
614
|
-
static searchPromptsRetrieve(): CancelablePromise<any>;
|
|
615
181
|
/**
|
|
616
182
|
* Search and filter users within a specific organization/tenant.
|
|
617
183
|
*
|
package/package.json
CHANGED
package/src/core/OpenAPI.ts
CHANGED