@iblai/iblai-api 3.35.0-core → 3.35.1-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 +11563 -224
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +11558 -225
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +11563 -224
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +259 -2
- package/dist/types/models/AIGeneratedImage.d.ts +13 -0
- package/dist/types/models/APITokenCost.d.ts +14 -0
- package/dist/types/models/AccessEnum.d.ts +8 -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/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/CallAuthenticationRequest.d.ts +13 -0
- package/dist/types/models/CallAuthenticationResponse.d.ts +21 -0
- package/dist/types/models/ChatHistory.d.ts +8 -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 +10 -0
- package/dist/types/models/ChatSessionResponse.d.ts +5 -0
- package/dist/types/models/CheckDocumentTrainingStatus.d.ts +10 -0
- package/dist/types/models/ComponentBlock.d.ts +9 -0
- package/dist/types/models/ComponentBlockTypeEnum.d.ts +8 -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 +28 -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/CredentialRequest.d.ts +14 -0
- package/dist/types/models/CrontabSchedule.d.ts +22 -0
- package/dist/types/models/CustomInstructionResponse.d.ts +13 -0
- package/dist/types/models/DateRange.d.ts +4 -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/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/GuidedPromptsResponse.d.ts +3 -0
- package/dist/types/models/HeygenMarketingVideoDetail.d.ts +8 -0
- package/dist/types/models/HeygenMarketingVideoList.d.ts +6 -0
- package/dist/types/models/IBLAIPlatformMeta.d.ts +3 -0
- package/dist/types/models/IBLAIPlatformMetaRequest.d.ts +6 -0
- package/dist/types/models/IBLAIPlatformMetaUpdateRequest.d.ts +10 -0
- package/dist/types/models/InputQuestion.d.ts +6 -0
- package/dist/types/models/IntegrationCredential.d.ts +8 -0
- package/dist/types/models/IntialQuestionAnswer.d.ts +3 -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 +8 -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 +14 -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/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 +75 -0
- package/dist/types/models/MentorAudience.d.ts +5 -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 +74 -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/MentorFork.d.ts +5 -0
- package/dist/types/models/MentorFromTemplateRequest.d.ts +4 -0
- package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +42 -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/MentorSession.d.ts +4 -0
- package/dist/types/models/MentorSettings.d.ts +47 -0
- package/dist/types/models/MentorSettingsPublic.d.ts +40 -0
- package/dist/types/models/MentorSettingsRequest.d.ts +51 -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 +7 -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/ModelCost.d.ts +4 -0
- package/dist/types/models/ModerationLog.d.ts +11 -0
- package/dist/types/models/NoChatMessagesFound.d.ts +3 -0
- package/dist/types/models/Notification.d.ts +2 -2
- package/dist/types/models/NotificationSource.d.ts +2 -2
- package/dist/types/models/{TypeEnum.d.ts → NotificationSourceTypeEnum.d.ts} +1 -1
- package/dist/types/models/{StatusEnum.d.ts → NotificationStatusEnum.d.ts} +1 -1
- package/dist/types/models/NullEnum.d.ts +1 -0
- package/dist/types/models/PageContent.d.ts +6 -0
- package/dist/types/models/PaginatedAIGeneratedImageList.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/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/PaginatedJobRunList.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/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/PaginatedSectionList.d.ts +7 -0
- package/dist/types/models/PaginatedSubSectionList.d.ts +7 -0
- package/dist/types/models/PaginatedTopicStatisticsResponse.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/PaginatedVoiceList.d.ts +7 -0
- package/dist/types/models/PatchedConversations.d.ts +28 -0
- package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +7 -0
- package/dist/types/models/PatchedCredentialRequest.d.ts +14 -0
- package/dist/types/models/PatchedLLMCredentialRequest.d.ts +14 -0
- package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +11 -0
- package/dist/types/models/PatchedMentorCreate.d.ts +74 -0
- package/dist/types/models/PatchedNotification.d.ts +2 -2
- package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +41 -0
- package/dist/types/models/PatchedPlayWrightScript.d.ts +12 -0
- package/dist/types/models/PatchedPrompt.d.ts +22 -0
- package/dist/types/models/PatchedSection.d.ts +9 -0
- package/dist/types/models/PatchedSubSection.d.ts +9 -0
- package/dist/types/models/PatchedUnit.d.ts +11 -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/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/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/Prompt.d.ts +22 -0
- package/dist/types/models/PromptCategory.d.ts +7 -0
- package/dist/types/models/PromptVisibilityEnum.d.ts +10 -0
- package/dist/types/models/ProviderEnum.d.ts +10 -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/RatingEnum.d.ts +8 -0
- package/dist/types/models/RatingRecord.d.ts +4 -0
- package/dist/types/models/RecentlyAccessedMentor.d.ts +8 -0
- package/dist/types/models/RecommendCourseBlock.d.ts +3 -0
- package/dist/types/models/RecommendCourseResponse.d.ts +3 -0
- package/dist/types/models/RelatedText.d.ts +3 -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 +17 -0
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +30 -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/SessionDetail.d.ts +6 -0
- package/dist/types/models/SessionMemoryStorage.d.ts +6 -0
- package/dist/types/models/ShellLogs.d.ts +3 -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/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/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/TemplateMentor.d.ts +9 -0
- package/dist/types/models/TenantMentorTraces.d.ts +6 -0
- package/dist/types/models/ThemeEnum.d.ts +8 -0
- package/dist/types/models/TonesView.d.ts +4 -0
- package/dist/types/models/ToolResponse.d.ts +9 -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/TrainChatSessionDocumentView.d.ts +6 -0
- package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +6 -0
- package/dist/types/models/TrainDocumentViewRequest.d.ts +42 -0
- package/dist/types/models/TrainDocumentViewResponse.d.ts +14 -0
- package/dist/types/models/TrainingStatusEnum.d.ts +12 -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/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 +14 -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/UserEdxMemory.d.ts +15 -0
- package/dist/types/models/UserMemoryContextRequest.d.ts +13 -0
- package/dist/types/models/UserMemoryContextResponse.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/VectorResult.d.ts +8 -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/services/AiAccountService.d.ts +294 -0
- package/dist/types/services/AiAnalyticsService.d.ts +1056 -0
- package/dist/types/services/AiIndexService.d.ts +344 -0
- package/dist/types/services/AiMarketingService.d.ts +34 -0
- package/dist/types/services/AiMentorService.d.ts +4096 -0
- package/dist/types/services/AiPromptService.d.ts +879 -0
- package/dist/types/services/SearchService.d.ts +354 -159
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +259 -2
- package/src/models/AIGeneratedImage.ts +18 -0
- package/src/models/APITokenCost.ts +19 -0
- package/src/models/AccessEnum.ts +12 -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/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/CallAuthenticationRequest.ts +18 -0
- package/src/models/CallAuthenticationResponse.ts +26 -0
- package/src/models/ChatHistory.ts +13 -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 +15 -0
- package/src/models/ChatSessionResponse.ts +10 -0
- package/src/models/CheckDocumentTrainingStatus.ts +15 -0
- package/src/models/ComponentBlock.ts +14 -0
- package/src/models/ComponentBlockTypeEnum.ts +12 -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 +33 -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/CredentialRequest.ts +19 -0
- package/src/models/CrontabSchedule.ts +27 -0
- package/src/models/CustomInstructionResponse.ts +18 -0
- package/src/models/DateRange.ts +9 -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/FreeUsageCount.ts +8 -0
- package/src/models/FullCourse.ts +18 -0
- package/src/models/GreetingMethodEnum.ts +12 -0
- package/src/models/GuidedPromptsResponse.ts +8 -0
- package/src/models/HeygenMarketingVideoDetail.ts +13 -0
- package/src/models/HeygenMarketingVideoList.ts +11 -0
- package/src/models/IBLAIPlatformMeta.ts +8 -0
- package/src/models/IBLAIPlatformMetaRequest.ts +11 -0
- package/src/models/IBLAIPlatformMetaUpdateRequest.ts +15 -0
- package/src/models/InputQuestion.ts +11 -0
- package/src/models/IntegrationCredential.ts +13 -0
- package/src/models/IntialQuestionAnswer.ts +8 -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 +13 -0
- package/src/models/LLMModelForTenant.ts +11 -0
- package/src/models/LLMQuestion.ts +20 -0
- package/src/models/LLMResponse.ts +19 -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/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 +80 -0
- package/src/models/MentorAudience.ts +10 -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 +79 -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/MentorFork.ts +10 -0
- package/src/models/MentorFromTemplateRequest.ts +9 -0
- package/src/models/MentorFromTemplateWithSettingRequest.ts +47 -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/MentorSession.ts +9 -0
- package/src/models/MentorSettings.ts +52 -0
- package/src/models/MentorSettingsPublic.ts +45 -0
- package/src/models/MentorSettingsRequest.ts +56 -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 +12 -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/ModelCost.ts +9 -0
- package/src/models/ModerationLog.ts +16 -0
- package/src/models/NoChatMessagesFound.ts +8 -0
- package/src/models/Notification.ts +2 -2
- package/src/models/NotificationSource.ts +2 -2
- package/src/models/{TypeEnum.ts → NotificationSourceTypeEnum.ts} +1 -1
- package/src/models/{StatusEnum.ts → NotificationStatusEnum.ts} +1 -1
- package/src/models/NullEnum.ts +7 -0
- package/src/models/PageContent.ts +11 -0
- package/src/models/PaginatedAIGeneratedImageList.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/PaginatedEdxCourseList.ts +12 -0
- package/src/models/PaginatedEmailPromptListList.ts +12 -0
- package/src/models/PaginatedHeygenMarketingVideoListList.ts +12 -0
- package/src/models/PaginatedJobRunList.ts +12 -0
- package/src/models/PaginatedMentorList.ts +12 -0
- package/src/models/PaginatedModerationLogList.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/PaginatedSectionList.ts +12 -0
- package/src/models/PaginatedSubSectionList.ts +12 -0
- package/src/models/PaginatedTopicStatisticsResponse.ts +12 -0
- package/src/models/PaginatedUnitList.ts +12 -0
- package/src/models/PaginatedUserEdxMemoryList.ts +12 -0
- package/src/models/PaginatedVoiceList.ts +12 -0
- package/src/models/PatchedConversations.ts +33 -0
- package/src/models/PatchedCourseCreationTaskFile.ts +12 -0
- package/src/models/PatchedCredentialRequest.ts +19 -0
- package/src/models/PatchedLLMCredentialRequest.ts +19 -0
- package/src/models/PatchedMentorCategoryGroupCreate.ts +16 -0
- package/src/models/PatchedMentorCreate.ts +79 -0
- package/src/models/PatchedNotification.ts +2 -2
- package/src/models/PatchedPeriodicAgentCreate.ts +46 -0
- package/src/models/PatchedPlayWrightScript.ts +17 -0
- package/src/models/PatchedPrompt.ts +27 -0
- package/src/models/PatchedSection.ts +14 -0
- package/src/models/PatchedSubSection.ts +14 -0
- package/src/models/PatchedUnit.ts +16 -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/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/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/Prompt.ts +27 -0
- package/src/models/PromptCategory.ts +12 -0
- package/src/models/PromptVisibilityEnum.ts +14 -0
- package/src/models/ProviderEnum.ts +14 -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/RatingEnum.ts +12 -0
- package/src/models/RatingRecord.ts +9 -0
- package/src/models/RecentlyAccessedMentor.ts +13 -0
- package/src/models/RecommendCourseBlock.ts +8 -0
- package/src/models/RecommendCourseResponse.ts +8 -0
- package/src/models/RelatedText.ts +8 -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 +22 -0
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +35 -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/SessionDetail.ts +11 -0
- package/src/models/SessionMemoryStorage.ts +11 -0
- package/src/models/ShellLogs.ts +8 -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/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/TagsView.ts +10 -0
- package/src/models/TargetSystemEnum.ts +12 -0
- package/src/models/TaskView.ts +8 -0
- package/src/models/TemplateMentor.ts +14 -0
- package/src/models/TenantMentorTraces.ts +11 -0
- package/src/models/ThemeEnum.ts +12 -0
- package/src/models/TonesView.ts +9 -0
- package/src/models/ToolResponse.ts +14 -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/TrainChatSessionDocumentView.ts +11 -0
- package/src/models/TrainChatSessionDocumentViewRequest.ts +11 -0
- package/src/models/TrainDocumentViewRequest.ts +47 -0
- package/src/models/TrainDocumentViewResponse.ts +19 -0
- package/src/models/TrainingStatusEnum.ts +16 -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/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 +19 -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/UserEdxMemory.ts +20 -0
- package/src/models/UserMemoryContextRequest.ts +18 -0
- package/src/models/UserMemoryContextResponse.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/VectorResult.ts +13 -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/services/AiAccountService.ts +479 -0
- package/src/services/AiAnalyticsService.ts +1923 -0
- package/src/services/AiIndexService.ts +598 -0
- package/src/services/AiMarketingService.ts +87 -0
- package/src/services/AiMentorService.ts +7678 -0
- package/src/services/AiPromptService.ts +1676 -0
- package/src/services/SearchService.ts +761 -286
|
@@ -1,183 +1,378 @@
|
|
|
1
1
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
2
2
|
export declare class SearchService {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
4
|
+
* Legacy endpoint for backward compatible mentor search
|
|
5
|
+
* @param audience Filter by target audience
|
|
6
|
+
* @param category Filter by mentor category
|
|
7
|
+
* @param createdBy Filter mentors created by specific user
|
|
8
|
+
* @param filterFacet If present, return only facets without results
|
|
9
|
+
* @param id Retrieve a specific mentor by ID
|
|
10
|
+
* @param limit Number of results per page
|
|
11
|
+
* @param llm Filter by language model type
|
|
12
|
+
* @param offset Starting position for pagination
|
|
13
|
+
* @param orderBy Field to sort results by ('created_at', 'recently_accessed_at')
|
|
14
|
+
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
15
|
+
* @param page Page number (1-based, used with page_size)
|
|
16
|
+
* @param pageSize Number of results per page
|
|
17
|
+
* @param query Search term to filter mentors by name or description
|
|
18
|
+
* @param tags Filter by tags
|
|
19
|
+
* @param tenant Filter by tenant/organization
|
|
20
|
+
* @param uniqueId Retrieve a specific mentor by UUID
|
|
21
|
+
* @returns any
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static searchAiSearchRetrieve(audience?: Array<string>, category?: Array<string>, createdBy?: string, filterFacet?: boolean, id?: number, limit?: number, llm?: Array<string>, offset?: number, orderBy?: string, orderDirection?: string, page?: number, pageSize?: number, query?: string, tags?: Array<string>, tenant?: string, uniqueId?: string): CancelablePromise<Record<string, any>>;
|
|
25
|
+
/**
|
|
26
|
+
* Search and filter content across the learning catalog
|
|
27
|
+
* @param allowSkillSearch Enable skill-based search
|
|
28
|
+
* @param alphabetical Sort alphabetically by name
|
|
29
|
+
* @param certificate Filter by certificate type
|
|
30
|
+
* @param content Content types to include in results
|
|
31
|
+
* @param courseId Filter by specific course ID
|
|
32
|
+
* @param duration Filter by course duration range
|
|
33
|
+
* @param language Filter by content language
|
|
34
|
+
* @param level Filter by difficulty level
|
|
35
|
+
* @param limit Number of results per page
|
|
36
|
+
* @param offset Starting position for pagination
|
|
37
|
+
* @param orderAscending Sort direction
|
|
38
|
+
* @param orderBy Field to sort results by
|
|
39
|
+
* @param pathwayId Filter by specific pathway ID
|
|
40
|
+
* @param price Filter by price/audit status
|
|
41
|
+
* @param programId Filter by specific program ID
|
|
42
|
+
* @param programType Filter by program type
|
|
43
|
+
* @param promotion Filter by promotion status
|
|
44
|
+
* @param query Search term to filter content by name or description
|
|
45
|
+
* @param resourceType Filter by resource type
|
|
46
|
+
* @param returnFacet Include facet data in response
|
|
47
|
+
* @param returnItems Include items in programs/pathways
|
|
48
|
+
* @param selfPaced Filter by course format
|
|
49
|
+
* @param skillId Filter by specific skill ID
|
|
50
|
+
* @param skills Filter by skills
|
|
51
|
+
* @param subject Filter by subject areas
|
|
52
|
+
* @param tags Filter by tags
|
|
53
|
+
* @param tenant Filter by tenant/organization
|
|
54
|
+
* @param topics Filter by topic areas
|
|
55
|
+
* @param updateFacet Force facet update
|
|
56
|
+
* @returns any
|
|
57
|
+
* @throws ApiError
|
|
58
|
+
*/
|
|
59
|
+
static searchCatalogRetrieve(allowSkillSearch?: boolean, alphabetical?: boolean, certificate?: Array<string>, content?: Array<string>, courseId?: string, duration?: Array<string>, language?: Array<string>, level?: Array<string>, limit?: number, offset?: number, orderAscending?: boolean, orderBy?: string, pathwayId?: string, price?: string, programId?: string, programType?: Array<string>, promotion?: Array<string>, query?: string, resourceType?: Array<string>, returnFacet?: boolean, returnItems?: boolean, selfPaced?: Array<string>, skillId?: string, skills?: Array<string>, subject?: Array<string>, tags?: Array<string>, tenant?: Array<string>, topics?: Array<string>, updateFacet?: string): CancelablePromise<Record<string, any>>;
|
|
60
|
+
/**
|
|
61
|
+
* Get AI mentors based on search criteria
|
|
62
|
+
* @param audience Filter by target audience
|
|
63
|
+
* @param category Filter by mentor category
|
|
64
|
+
* @param createdBy Filter mentors created by specific user
|
|
65
|
+
* @param id Retrieve a specific mentor by ID
|
|
66
|
+
* @param limit Number of results per page
|
|
67
|
+
* @param llm Filter by language model type
|
|
68
|
+
* @param offset Starting position for pagination
|
|
69
|
+
* @param orderBy Field to sort results by ('created_at', 'recently_accessed_at')
|
|
70
|
+
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
71
|
+
* @param query Search term to filter mentors by name or description
|
|
72
|
+
* @param tags Filter by tags
|
|
73
|
+
* @param tenant Filter by tenant/organization
|
|
74
|
+
* @param uniqueId Retrieve a specific mentor by UUID
|
|
75
|
+
* @returns any
|
|
76
|
+
* @throws ApiError
|
|
77
|
+
*/
|
|
78
|
+
static searchMentorsRetrieve(audience?: Array<string>, category?: Array<string>, createdBy?: string, id?: number, limit?: number, llm?: Array<string>, offset?: number, orderBy?: string, orderDirection?: string, query?: string, tags?: Array<string>, tenant?: string, uniqueId?: string): CancelablePromise<Record<string, any>>;
|
|
79
|
+
/**
|
|
80
|
+
* Search and filter documents associated with a specific mentor.
|
|
9
81
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* content (list, optional): Content types to include in results
|
|
13
|
-
* (courses, programs, pathways, skills, roles, resources)
|
|
14
|
-
* Default: ["programs", "courses", "pathways", "skills"]
|
|
82
|
+
* This endpoint allows searching and filtering documents that are linked to a
|
|
83
|
+
* particular mentor, with support for pagination, sorting, and faceted filtering.
|
|
15
84
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* program_id (str, optional): Filter by specific program ID
|
|
19
|
-
* pathway_id (str, optional): Filter by specific pathway ID
|
|
20
|
-
* skill_id (str, optional): Filter by specific skill ID
|
|
21
|
-
* subject (list, optional): Filter by subject areas
|
|
22
|
-
* tenant (list, optional): Filter by tenant/organization
|
|
23
|
-
* topics (list, optional): Filter by topic areas
|
|
24
|
-
* tags (list, optional): Filter by tags
|
|
25
|
-
* level (list, optional): Filter by difficulty level
|
|
26
|
-
* self_paced (list, optional): Filter by course format (self-paced, instructor-led)
|
|
27
|
-
* promotion (list, optional): Filter by promotion status
|
|
28
|
-
* language (list, optional): Filter by content language
|
|
29
|
-
* certificate (list, optional): Filter by certificate type
|
|
30
|
-
* program_type (list, optional): Filter by program type
|
|
31
|
-
* duration (list, optional): Filter by course duration range
|
|
32
|
-
* price (str, optional): Filter by price/audit status
|
|
33
|
-
* resource_type (list, optional): Filter by resource type
|
|
34
|
-
* skills (list, optional): Filter by skills
|
|
85
|
+
* Path Parameters:
|
|
86
|
+
* mentor_unique_id (uuid): The unique identifier of the mentor
|
|
35
87
|
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
88
|
+
* Query Parameters:
|
|
89
|
+
* query (str, optional): Search term to filter documents by name or content
|
|
90
|
+
* document_type (str, optional): Filter by document type (e.g., 'pdf', 'text')
|
|
91
|
+
* access (str, optional): Filter by access level (e.g., 'public', 'private')
|
|
92
|
+
* training_status (str, optional): Filter by training status (e.g., 'trained', 'pending')
|
|
93
|
+
* platform_key (str, optional): Filter by platform key
|
|
94
|
+
* order_by (str, optional): Field to sort results by ('date_created', 'last_modified', 'document_name')
|
|
95
|
+
* order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
|
|
40
96
|
* limit (int, optional): Number of results per page (default: 12, max: 100)
|
|
41
97
|
* offset (int, optional): Starting position for pagination
|
|
42
98
|
*
|
|
43
|
-
* # Response options
|
|
44
|
-
* return_facet (bool, optional): Include facet data in response (default: true)
|
|
45
|
-
* return_items (bool, optional): Include items in programs/pathways (default: false)
|
|
46
|
-
* allow_skill_search (bool, optional): Enable skill-based search (default: false)
|
|
47
|
-
* update_facet (str, optional): Force facet update
|
|
48
|
-
*
|
|
49
99
|
* Returns:
|
|
50
100
|
* A JSON response containing:
|
|
51
|
-
* - results: List of content items with metadata
|
|
52
|
-
* - count: Total number of matching items
|
|
53
|
-
* - next: URL for the next page of results (if available)
|
|
54
|
-
* - previous: URL for the previous page of results (if available)
|
|
55
|
-
* - current_page: Current page number
|
|
56
|
-
* - total_pages: Total number of pages
|
|
57
|
-
* - facets: Aggregated counts for each filter category (if requested)
|
|
58
|
-
*
|
|
59
|
-
* Each content item contains type-specific fields:
|
|
60
|
-
* - Courses:
|
|
61
101
|
* {
|
|
62
|
-
* "
|
|
63
|
-
* "type": "course",
|
|
64
|
-
* "course_id": "CS101",
|
|
65
|
-
* "name": "Introduction to Computer Science",
|
|
66
|
-
* "description": "Learn the fundamentals of computer science",
|
|
67
|
-
* "short_description": "CS fundamentals",
|
|
68
|
-
* "image_url": "https://example.com/images/cs101.jpg",
|
|
69
|
-
* "level": "Beginner",
|
|
70
|
-
* "subject": "Computer Science",
|
|
71
|
-
* "topics": ["Programming", "Algorithms"],
|
|
72
|
-
* "tags": ["python", "coding"],
|
|
73
|
-
* "language": "English",
|
|
74
|
-
* "tenant": "example-university",
|
|
75
|
-
* "self_paced": true,
|
|
76
|
-
* "duration": "6 weeks",
|
|
77
|
-
* "certificate": "Professional Certificate",
|
|
78
|
-
* "price": "Free",
|
|
79
|
-
* "skills": [
|
|
80
|
-
* {"id": 1, "name": "Python Programming"},
|
|
81
|
-
* {"id": 2, "name": "Algorithms"}
|
|
82
|
-
* ],
|
|
83
|
-
* "url": "https://example.com/courses/cs101"
|
|
84
|
-
* }
|
|
85
|
-
*
|
|
86
|
-
* - Programs:
|
|
102
|
+
* "results": [
|
|
87
103
|
* {
|
|
88
|
-
* "id":
|
|
89
|
-
* "
|
|
90
|
-
* "
|
|
91
|
-
* "
|
|
92
|
-
* "
|
|
93
|
-
* "
|
|
94
|
-
* "
|
|
95
|
-
* "
|
|
96
|
-
* "
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
*
|
|
101
|
-
* {"id": 124, "name": "Statistics for Data Science"}
|
|
102
|
-
* ],
|
|
103
|
-
* "url": "https://example.com/programs/prog123"
|
|
104
|
+
* "id": 789,
|
|
105
|
+
* "document_name": "Introduction to Algorithms.pdf",
|
|
106
|
+
* "document_type": "pdf",
|
|
107
|
+
* "access": "public",
|
|
108
|
+
* "training_status": "trained",
|
|
109
|
+
* "date_created": "2023-03-15T10:30:00Z",
|
|
110
|
+
* "last_modified": "2023-04-20T14:45:00Z",
|
|
111
|
+
* "url": "https://example.com/documents/intro-algorithms.pdf",
|
|
112
|
+
* "metadata": {
|
|
113
|
+
* "page_count": 45,
|
|
114
|
+
* "author": "John Smith",
|
|
115
|
+
* "keywords": ["algorithms", "computer science", "data structures"],
|
|
116
|
+
* "description": "Comprehensive introduction to fundamental algorithms"
|
|
104
117
|
* }
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
* "
|
|
115
|
-
* {"
|
|
116
|
-
* {"
|
|
118
|
+
* },
|
|
119
|
+
* // Additional document objects...
|
|
120
|
+
* ],
|
|
121
|
+
* "count": 25,
|
|
122
|
+
* "next": "https://api.example.com/api/search/mentors/550e8400-e29b-41d4-a716-446655440000/documents/?limit=12&offset=12",
|
|
123
|
+
* "previous": null,
|
|
124
|
+
* "current_page": 1,
|
|
125
|
+
* "total_pages": 3,
|
|
126
|
+
* "facets": {
|
|
127
|
+
* "document_type": [
|
|
128
|
+
* {"key": "pdf", "doc_count": 15},
|
|
129
|
+
* {"key": "text", "doc_count": 5},
|
|
130
|
+
* {"key": "docx", "doc_count": 5}
|
|
117
131
|
* ],
|
|
118
|
-
* "
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
132
|
+
* "access": [
|
|
133
|
+
* {"key": "public", "doc_count": 20},
|
|
134
|
+
* {"key": "private", "doc_count": 5}
|
|
135
|
+
* ],
|
|
136
|
+
* "training_status": [
|
|
137
|
+
* {"key": "trained", "doc_count": 18},
|
|
138
|
+
* {"key": "pending", "doc_count": 5},
|
|
139
|
+
* {"key": "failed", "doc_count": 2}
|
|
140
|
+
* ]
|
|
141
|
+
* }
|
|
142
|
+
* }
|
|
143
|
+
*
|
|
144
|
+
* Error Responses:
|
|
145
|
+
* 400 Bad Request: If the request parameters are invalid
|
|
146
|
+
* 404 Not Found: If the mentor doesn't exist
|
|
147
|
+
* 500 Internal Server Error: If an unexpected error occurs during processing
|
|
148
|
+
*
|
|
149
|
+
* Access Control:
|
|
150
|
+
* - Requires platform membership
|
|
151
|
+
* - Only documents associated with the specified mentor are returned
|
|
152
|
+
* - Access level filtering respects user permissions
|
|
153
|
+
* @param mentorUniqueId
|
|
154
|
+
* @returns any No response body
|
|
155
|
+
* @throws ApiError
|
|
156
|
+
*/
|
|
157
|
+
static searchMentorsDocumentsRetrieve(mentorUniqueId: string): CancelablePromise<any>;
|
|
158
|
+
/**
|
|
159
|
+
* Get AI mentors for a specific tenant and user
|
|
160
|
+
* @param org
|
|
161
|
+
* @param username
|
|
162
|
+
* @param audience Filter by target audience
|
|
163
|
+
* @param category Filter by mentor category
|
|
164
|
+
* @param createdBy Filter mentors created by specific user
|
|
165
|
+
* @param id Retrieve a specific mentor by ID
|
|
166
|
+
* @param limit Number of results per page
|
|
167
|
+
* @param llm Filter by language model type
|
|
168
|
+
* @param offset Starting position for pagination
|
|
169
|
+
* @param orderBy Field to sort results by ('created_at', 'recently_accessed_at')
|
|
170
|
+
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
171
|
+
* @param query Search term to filter mentors by name or description
|
|
172
|
+
* @param tags Filter by tags
|
|
173
|
+
* @param tenant Filter by tenant/organization
|
|
174
|
+
* @param uniqueId Retrieve a specific mentor by UUID
|
|
175
|
+
* @returns any
|
|
176
|
+
* @throws ApiError
|
|
177
|
+
*/
|
|
178
|
+
static searchOrgsUsersMentorsRetrieve(org: string, username: string, audience?: Array<string>, category?: Array<string>, createdBy?: string, id?: number, limit?: number, llm?: Array<string>, offset?: number, orderBy?: string, orderDirection?: string, query?: string, tags?: Array<string>, tenant?: string, uniqueId?: string): CancelablePromise<Record<string, any>>;
|
|
179
|
+
/**
|
|
180
|
+
* Search and filter AI prompts for a specific user within a tenant.
|
|
181
|
+
*
|
|
182
|
+
* This endpoint extends the base prompt search functionality but filters results
|
|
183
|
+
* to only show prompts that are available to a specific user within a specific
|
|
184
|
+
* organization/tenant.
|
|
185
|
+
*
|
|
186
|
+
* Path Parameters:
|
|
187
|
+
* org (str): The organization/tenant identifier
|
|
188
|
+
* username (str): The username to filter prompts for
|
|
189
|
+
*
|
|
190
|
+
* Query Parameters:
|
|
191
|
+
* Same as PromptSearchView, plus:
|
|
192
|
+
*
|
|
193
|
+
* # Identification parameters (for detail view)
|
|
194
|
+
* id (int, optional): Retrieve a specific prompt by ID
|
|
195
|
+
*
|
|
196
|
+
* Returns:
|
|
197
|
+
* Same format as PromptSearchView, but filtered to only include prompts
|
|
198
|
+
* that the specified user has access to within the specified organization.
|
|
199
|
+
*
|
|
200
|
+
* Error Responses:
|
|
201
|
+
* 400 Bad Request: If the request parameters are invalid
|
|
202
|
+
* 403 Forbidden: If the requested prompt exists but the user doesn't have access
|
|
203
|
+
* 404 Not Found: If the requested prompt doesn't exist
|
|
204
|
+
* 500 Internal Server Error: If an unexpected error occurs
|
|
205
|
+
*
|
|
206
|
+
* Access Control:
|
|
207
|
+
* - Results are filtered based on user's permissions within the organization
|
|
208
|
+
* - Private prompts are only visible to authorized users
|
|
209
|
+
* @param org
|
|
210
|
+
* @param username
|
|
211
|
+
* @returns any No response body
|
|
212
|
+
* @throws ApiError
|
|
213
|
+
*/
|
|
214
|
+
static searchOrgsUsersPromptsRetrieve(org: string, username: string): CancelablePromise<any>;
|
|
172
215
|
/**
|
|
173
216
|
* Determine whether to serve a detail view or a list view.
|
|
174
|
-
*
|
|
175
|
-
* the detail view is returned; otherwise the aggregated list view is returned.
|
|
217
|
+
* @param org
|
|
176
218
|
* @param username
|
|
177
219
|
* @returns any No response body
|
|
178
220
|
* @throws ApiError
|
|
179
221
|
*/
|
|
180
|
-
static
|
|
222
|
+
static searchOrgsUsersRecommendedRetrieve(org: string, username: string): CancelablePromise<any>;
|
|
223
|
+
/**
|
|
224
|
+
* Get personalized content for a specific user
|
|
225
|
+
* @param username
|
|
226
|
+
* @param allowSkillSearch Enable skill-based search
|
|
227
|
+
* @param alphabetical Sort alphabetically by name
|
|
228
|
+
* @param certificate Filter by certificate type
|
|
229
|
+
* @param content Content types to include in results
|
|
230
|
+
* @param courseId Retrieve a specific course by ID
|
|
231
|
+
* @param duration Filter by course duration range
|
|
232
|
+
* @param language Filter by content language
|
|
233
|
+
* @param level Filter by difficulty level
|
|
234
|
+
* @param limit Number of results per page
|
|
235
|
+
* @param offset Starting position for pagination
|
|
236
|
+
* @param orderAscending Sort direction
|
|
237
|
+
* @param orderBy Field to sort results by
|
|
238
|
+
* @param pathwayId Retrieve a specific pathway by ID
|
|
239
|
+
* @param price Filter by price/audit status
|
|
240
|
+
* @param programId Retrieve a specific program by ID
|
|
241
|
+
* @param programType Filter by program type
|
|
242
|
+
* @param promotion Filter by promotion status
|
|
243
|
+
* @param query Search term to filter content by name or description
|
|
244
|
+
* @param recommended Show only recommended content
|
|
245
|
+
* @param resourceId Retrieve a specific resource by ID
|
|
246
|
+
* @param resourceType Filter by resource type
|
|
247
|
+
* @param returnFacet Include facet data in response
|
|
248
|
+
* @param returnItems Include items in programs/pathways
|
|
249
|
+
* @param roleId Retrieve a specific role by ID
|
|
250
|
+
* @param selfPaced Filter by course format
|
|
251
|
+
* @param skillId Retrieve a specific skill by ID
|
|
252
|
+
* @param skills Filter by skills
|
|
253
|
+
* @param subject Filter by subject areas
|
|
254
|
+
* @param tags Filter by tags
|
|
255
|
+
* @param tenant Filter by tenant/organization
|
|
256
|
+
* @param topics Filter by topic areas
|
|
257
|
+
* @param updateFacet Force facet update
|
|
258
|
+
* @returns any
|
|
259
|
+
* @throws ApiError
|
|
260
|
+
*/
|
|
261
|
+
static searchPersonalizedCatalogRetrieve(username: string, allowSkillSearch?: boolean, alphabetical?: boolean, certificate?: Array<string>, content?: Array<string>, courseId?: string, duration?: Array<string>, language?: Array<string>, level?: Array<string>, limit?: number, offset?: number, orderAscending?: boolean, orderBy?: string, pathwayId?: string, price?: string, programId?: string, programType?: Array<string>, promotion?: Array<string>, query?: string, recommended?: boolean, resourceId?: string, resourceType?: Array<string>, returnFacet?: boolean, returnItems?: boolean, roleId?: string, selfPaced?: Array<string>, skillId?: string, skills?: Array<string>, subject?: Array<string>, tags?: Array<string>, tenant?: Array<string>, topics?: Array<string>, updateFacet?: string): CancelablePromise<Record<string, any>>;
|
|
262
|
+
/**
|
|
263
|
+
* Search and filter AI prompts across the platform.
|
|
264
|
+
*
|
|
265
|
+
* This endpoint provides a search interface for discovering AI prompts
|
|
266
|
+
* with support for filtering, pagination, and detailed prompt information.
|
|
267
|
+
*
|
|
268
|
+
* Query Parameters:
|
|
269
|
+
* # Identification parameters (for detail view)
|
|
270
|
+
* id (int, optional): Retrieve a specific prompt by ID
|
|
271
|
+
*
|
|
272
|
+
* # Search and filtering parameters
|
|
273
|
+
* query (str, optional): Search term to filter prompts by name or content
|
|
274
|
+
* category (str, optional): Filter by prompt category
|
|
275
|
+
* language (str, optional): Filter by prompt language
|
|
276
|
+
* style (str, optional): Filter by writing style
|
|
277
|
+
* tone (str, optional): Filter by tone
|
|
278
|
+
* tenant (str, optional): Filter by tenant/organization
|
|
279
|
+
* mentor (str, optional): Filter by associated mentor (UUID)
|
|
280
|
+
*
|
|
281
|
+
* # Sorting and pagination
|
|
282
|
+
* sort_by (str, optional): Field to sort results by
|
|
283
|
+
* order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
|
|
284
|
+
* alphabetical (bool, optional): Sort alphabetically by name (default: false)
|
|
285
|
+
* limit (int, optional): Number of results per page (default: 10)
|
|
286
|
+
* offset (int, optional): Starting position for pagination
|
|
287
|
+
*
|
|
288
|
+
* # Special parameters
|
|
289
|
+
* filter_facet (any, optional): If present, return only facets without results
|
|
290
|
+
*
|
|
291
|
+
* Returns:
|
|
292
|
+
* For detail view (when id is provided):
|
|
293
|
+
* A JSON response containing a single prompt's details:
|
|
294
|
+
* {
|
|
295
|
+
* "id": 456,
|
|
296
|
+
* "name": "Essay Writing Guide",
|
|
297
|
+
* "content": "Write a well-structured essay on the following topic: {{topic}}...",
|
|
298
|
+
* "category": "Academic Writing",
|
|
299
|
+
* "language": "English",
|
|
300
|
+
* "style": "Formal",
|
|
301
|
+
* "tone": "Professional",
|
|
302
|
+
* "mentor": {
|
|
303
|
+
* "id": 123,
|
|
304
|
+
* "unique_id": "550e8400-e29b-41d4-a716-446655440000",
|
|
305
|
+
* "name": "Professor Smith"
|
|
306
|
+
* },
|
|
307
|
+
* "platform": {
|
|
308
|
+
* "id": 1,
|
|
309
|
+
* "name": "Example University",
|
|
310
|
+
* "key": "example-university"
|
|
311
|
+
* },
|
|
312
|
+
* "created_at": "2023-02-10T09:15:00Z",
|
|
313
|
+
* "updated_at": "2023-05-05T14:20:00Z",
|
|
314
|
+
* "visibility": "public",
|
|
315
|
+
* "variables": ["topic", "length", "style"]
|
|
316
|
+
* }
|
|
317
|
+
*
|
|
318
|
+
* For list view:
|
|
319
|
+
* A JSON response containing:
|
|
320
|
+
* {
|
|
321
|
+
* "results": [
|
|
322
|
+
* {
|
|
323
|
+
* "id": 456,
|
|
324
|
+
* "name": "Essay Writing Guide",
|
|
325
|
+
* "content": "Write a well-structured essay on the following topic: {{topic}}...",
|
|
326
|
+
* "category": "Academic Writing",
|
|
327
|
+
* "language": "English",
|
|
328
|
+
* "style": "Formal",
|
|
329
|
+
* "tone": "Professional",
|
|
330
|
+
* "mentor": {"id": 123, "name": "Professor Smith"},
|
|
331
|
+
* "created_at": "2023-02-10T09:15:00Z",
|
|
332
|
+
* "updated_at": "2023-05-05T14:20:00Z"
|
|
333
|
+
* },
|
|
334
|
+
* // Additional prompt objects...
|
|
335
|
+
* ],
|
|
336
|
+
* "count": 30,
|
|
337
|
+
* "next": "?limit=10&offset=10",
|
|
338
|
+
* "previous": null,
|
|
339
|
+
* "current_page": 1,
|
|
340
|
+
* "num_pages": 3,
|
|
341
|
+
* "facets": {
|
|
342
|
+
* "category": [
|
|
343
|
+
* {"key": "Academic Writing", "doc_count": 15},
|
|
344
|
+
* {"key": "Creative Writing", "doc_count": 10},
|
|
345
|
+
* {"key": "Technical Documentation", "doc_count": 5}
|
|
346
|
+
* ],
|
|
347
|
+
* "language": [
|
|
348
|
+
* {"key": "English", "doc_count": 25},
|
|
349
|
+
* {"key": "Spanish", "doc_count": 5}
|
|
350
|
+
* ],
|
|
351
|
+
* "style": [
|
|
352
|
+
* {"key": "Formal", "doc_count": 20},
|
|
353
|
+
* {"key": "Casual", "doc_count": 10}
|
|
354
|
+
* ],
|
|
355
|
+
* "tone": [
|
|
356
|
+
* {"key": "Professional", "doc_count": 15},
|
|
357
|
+
* {"key": "Friendly", "doc_count": 10},
|
|
358
|
+
* {"key": "Technical", "doc_count": 5}
|
|
359
|
+
* ]
|
|
360
|
+
* }
|
|
361
|
+
* }
|
|
362
|
+
*
|
|
363
|
+
* Error Responses:
|
|
364
|
+
* 400 Bad Request: If the request parameters are invalid
|
|
365
|
+
* 403 Forbidden: If the requested prompt exists but is not publicly available
|
|
366
|
+
* 404 Not Found: If the requested prompt doesn't exist
|
|
367
|
+
* 500 Internal Server Error: If an unexpected error occurs
|
|
368
|
+
*
|
|
369
|
+
* Notes:
|
|
370
|
+
* - Only publicly available prompts are returned by default
|
|
371
|
+
* - When filtering by mentor, the mentor ID must be a valid UUID
|
|
372
|
+
* @returns any No response body
|
|
373
|
+
* @throws ApiError
|
|
374
|
+
*/
|
|
375
|
+
static searchPromptsRetrieve(): CancelablePromise<any>;
|
|
181
376
|
/**
|
|
182
377
|
* Search and filter users within a specific organization/tenant.
|
|
183
378
|
*
|
package/package.json
CHANGED
package/src/core/OpenAPI.ts
CHANGED