@iblai/iblai-api 3.48.3-ai → 3.48.3-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 +132 -15104
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +133 -15098
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +132 -15104
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -281
- package/dist/types/models/NotificationSource.d.ts +2 -2
- package/dist/types/models/PatchedRbacGroupRole.d.ts +2 -2
- package/dist/types/models/PatchedRbacPolicy.d.ts +2 -2
- package/dist/types/models/PatchedRbacUserRole.d.ts +2 -2
- package/dist/types/models/RbacGroupRole.d.ts +2 -2
- package/dist/types/models/RbacPolicy.d.ts +2 -2
- package/dist/types/models/RbacUserRole.d.ts +2 -2
- package/dist/types/models/{NotificationSourceTypeEnum.d.ts → TypeEnum.d.ts} +1 -1
- package/dist/types/services/CoreService.d.ts +5 -10
- package/dist/types/services/SearchService.d.ts +0 -408
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +1 -281
- package/src/models/NotificationSource.ts +2 -2
- package/src/models/PatchedRbacGroupRole.ts +2 -2
- package/src/models/PatchedRbacPolicy.ts +2 -2
- package/src/models/PatchedRbacUserRole.ts +2 -2
- package/src/models/RbacGroupRole.ts +2 -2
- package/src/models/RbacPolicy.ts +2 -2
- package/src/models/RbacUserRole.ts +2 -2
- package/src/models/{NotificationSourceTypeEnum.ts → TypeEnum.ts} +1 -1
- package/src/services/CoreService.ts +0 -25
- package/src/services/SearchService.ts +261 -981
- package/dist/types/models/AIGeneratedImage.d.ts +0 -13
- package/dist/types/models/AIUserProfileMemoryRelation.d.ts +0 -4
- package/dist/types/models/AIUserProfileRequest.d.ts +0 -4
- 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/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/DateRange.d.ts +0 -4
- package/dist/types/models/Document.d.ts +0 -41
- package/dist/types/models/DocumentFacet.d.ts +0 -17
- package/dist/types/models/DocumentSearchResponse.d.ts +0 -35
- package/dist/types/models/DocumentSettingsResponse.d.ts +0 -3
- 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/HeygenTemplateRequest.d.ts +0 -5
- package/dist/types/models/HeygenTemplateResponseSingle.d.ts +0 -6
- package/dist/types/models/HeygenVideoDetail.d.ts +0 -8
- package/dist/types/models/HeygenVideoRequest.d.ts +0 -5
- 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/MCPServer.d.ts +0 -21
- 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 -85
- 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 -84
- 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/MentorFacet.d.ts +0 -17
- 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 -47
- 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/MentorSearchResponse.d.ts +0 -35
- package/dist/types/models/MentorSession.d.ts +0 -4
- package/dist/types/models/MentorSettings.d.ts +0 -58
- package/dist/types/models/MentorSettingsPublic.d.ts +0 -46
- package/dist/types/models/MentorSettingsRequest.d.ts +0 -62
- 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/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/PaginatedHeygenTemplateResponseSingleList.d.ts +0 -7
- package/dist/types/models/PaginatedJobRunList.d.ts +0 -7
- package/dist/types/models/PaginatedMCPServerList.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/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/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/PatchedLLMCredentialRequest.d.ts +0 -14
- package/dist/types/models/PatchedMCPServer.d.ts +0 -21
- package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +0 -11
- package/dist/types/models/PatchedMentorCreate.d.ts +0 -84
- 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/PatchedSubSection.d.ts +0 -9
- package/dist/types/models/PatchedUnit.d.ts +0 -11
- 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/PromptFacet.d.ts +0 -17
- package/dist/types/models/PromptSearchResponse.d.ts +0 -35
- package/dist/types/models/PromptVisibilityEnum.d.ts +0 -10
- package/dist/types/models/ProviderEnum.d.ts +0 -10
- 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/RbacBaseRole.d.ts +0 -15
- 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/RecommendedCoursesResponse.d.ts +0 -33
- 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/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/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 -11
- 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 -15
- package/dist/types/models/TrainingStatusEnum.d.ts +0 -12
- package/dist/types/models/TransportEnum.d.ts +0 -8
- 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/VideoCaption.d.ts +0 -3
- package/dist/types/models/Voice.d.ts +0 -9
- 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/services/AiAccountService.d.ts +0 -294
- package/dist/types/services/AiAnalyticsService.d.ts +0 -2801
- package/dist/types/services/AiIndexService.d.ts +0 -400
- package/dist/types/services/AiMarketingService.d.ts +0 -34
- package/dist/types/services/AiMediaService.d.ts +0 -118
- package/dist/types/services/AiMentorService.d.ts +0 -4235
- package/dist/types/services/AiPromptService.d.ts +0 -920
- package/src/models/AIGeneratedImage.ts +0 -18
- package/src/models/AIUserProfileMemoryRelation.ts +0 -9
- package/src/models/AIUserProfileRequest.ts +0 -9
- 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/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/DateRange.ts +0 -9
- package/src/models/Document.ts +0 -46
- package/src/models/DocumentFacet.ts +0 -22
- package/src/models/DocumentSearchResponse.ts +0 -40
- package/src/models/DocumentSettingsResponse.ts +0 -8
- 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/HeygenTemplateRequest.ts +0 -10
- package/src/models/HeygenTemplateResponseSingle.ts +0 -11
- package/src/models/HeygenVideoDetail.ts +0 -13
- package/src/models/HeygenVideoRequest.ts +0 -10
- 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/MCPServer.ts +0 -26
- 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 -90
- 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 -89
- 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/MentorFacet.ts +0 -22
- package/src/models/MentorFork.ts +0 -10
- package/src/models/MentorFromTemplateRequest.ts +0 -9
- package/src/models/MentorFromTemplateWithSettingRequest.ts +0 -52
- 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/MentorSearchResponse.ts +0 -40
- package/src/models/MentorSession.ts +0 -9
- package/src/models/MentorSettings.ts +0 -63
- package/src/models/MentorSettingsPublic.ts +0 -51
- package/src/models/MentorSettingsRequest.ts +0 -67
- 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/PaginatedEdxCourseList.ts +0 -12
- package/src/models/PaginatedEmailPromptListList.ts +0 -12
- package/src/models/PaginatedHeygenMarketingVideoListList.ts +0 -12
- package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +0 -12
- package/src/models/PaginatedJobRunList.ts +0 -12
- package/src/models/PaginatedMCPServerList.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/PaginatedUnitList.ts +0 -12
- package/src/models/PaginatedUserEdxMemoryList.ts +0 -12
- package/src/models/PaginatedVoiceList.ts +0 -12
- package/src/models/PatchedConversations.ts +0 -33
- package/src/models/PatchedCourseCreationTaskFile.ts +0 -12
- package/src/models/PatchedCredentialRequest.ts +0 -19
- package/src/models/PatchedLLMCredentialRequest.ts +0 -19
- package/src/models/PatchedMCPServer.ts +0 -26
- package/src/models/PatchedMentorCategoryGroupCreate.ts +0 -16
- package/src/models/PatchedMentorCreate.ts +0 -89
- 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/PatchedSubSection.ts +0 -14
- package/src/models/PatchedUnit.ts +0 -16
- 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/PromptFacet.ts +0 -22
- package/src/models/PromptSearchResponse.ts +0 -40
- package/src/models/PromptVisibilityEnum.ts +0 -14
- package/src/models/ProviderEnum.ts +0 -14
- 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/RbacBaseRole.ts +0 -20
- package/src/models/RecentlyAccessedMentor.ts +0 -13
- package/src/models/RecommendCourseBlock.ts +0 -8
- package/src/models/RecommendCourseResponse.ts +0 -8
- package/src/models/RecommendedCoursesResponse.ts +0 -38
- 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/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/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 -16
- 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 -20
- package/src/models/TrainingStatusEnum.ts +0 -16
- package/src/models/TransportEnum.ts +0 -12
- 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/VideoCaption.ts +0 -8
- package/src/models/Voice.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/services/AiAccountService.ts +0 -479
- package/src/services/AiAnalyticsService.ts +0 -5198
- package/src/services/AiIndexService.ts +0 -693
- package/src/services/AiMarketingService.ts +0 -87
- package/src/services/AiMediaService.ts +0 -273
- package/src/services/AiMentorService.ts +0 -7977
- package/src/services/AiPromptService.ts +0 -1771
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { RbacBaseRole } from './RbacBaseRole';
|
|
2
1
|
import type { RbacPlatform } from './RbacPlatform';
|
|
2
|
+
import type { RbacRole } from './RbacRole';
|
|
3
3
|
/**
|
|
4
4
|
* Serializer for policies.
|
|
5
5
|
*/
|
|
@@ -8,7 +8,7 @@ export type RbacPolicy = {
|
|
|
8
8
|
/**
|
|
9
9
|
* Role information (read-only)
|
|
10
10
|
*/
|
|
11
|
-
readonly role:
|
|
11
|
+
readonly role: RbacRole;
|
|
12
12
|
/**
|
|
13
13
|
* Platform information (read-only)
|
|
14
14
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RbacRole } from './RbacRole';
|
|
2
2
|
import type { RbacUser } from './RbacUser';
|
|
3
3
|
/**
|
|
4
4
|
* Serializer for user roles.
|
|
@@ -12,7 +12,7 @@ export type RbacUserRole = {
|
|
|
12
12
|
/**
|
|
13
13
|
* Role information (read-only)
|
|
14
14
|
*/
|
|
15
|
-
readonly role:
|
|
15
|
+
readonly role: RbacRole;
|
|
16
16
|
/**
|
|
17
17
|
* ID of the role to assign. Role must belong to the specified platform.
|
|
18
18
|
*/
|
|
@@ -528,11 +528,10 @@ export declare class CoreService {
|
|
|
528
528
|
* Delete group role assignment
|
|
529
529
|
* Remove a role assignment from a group.
|
|
530
530
|
* @param id A unique integer value identifying this RBAC Group Role.
|
|
531
|
-
* @param platformKey platform key for authorization check
|
|
532
531
|
* @returns void
|
|
533
532
|
* @throws ApiError
|
|
534
533
|
*/
|
|
535
|
-
static coreRbacGroupRolesDestroy(id: number
|
|
534
|
+
static coreRbacGroupRolesDestroy(id: number): CancelablePromise<void>;
|
|
536
535
|
/**
|
|
537
536
|
* List RBAC groups
|
|
538
537
|
* Retrieve a list of RBAC groups. Can be filtered by platform_key.
|
|
@@ -581,11 +580,10 @@ export declare class CoreService {
|
|
|
581
580
|
* Delete RBAC group
|
|
582
581
|
* Delete an RBAC group and all associated group role assignments.
|
|
583
582
|
* @param id A unique integer value identifying this RBAC Group.
|
|
584
|
-
* @param platformKey platform key for authorization check
|
|
585
583
|
* @returns void
|
|
586
584
|
* @throws ApiError
|
|
587
585
|
*/
|
|
588
|
-
static coreRbacGroupsDestroy(id: number
|
|
586
|
+
static coreRbacGroupsDestroy(id: number): CancelablePromise<void>;
|
|
589
587
|
/**
|
|
590
588
|
* List RBAC policies
|
|
591
589
|
* Retrieve a list of RBAC policies. Can be filtered by platform_key or role_id.
|
|
@@ -635,11 +633,10 @@ export declare class CoreService {
|
|
|
635
633
|
* Delete RBAC policy
|
|
636
634
|
* Delete an RBAC policy.
|
|
637
635
|
* @param id A unique integer value identifying this RBAC Policy.
|
|
638
|
-
* @param platformKey platform key for authorization check
|
|
639
636
|
* @returns void
|
|
640
637
|
* @throws ApiError
|
|
641
638
|
*/
|
|
642
|
-
static coreRbacPoliciesDestroy(id: number
|
|
639
|
+
static coreRbacPoliciesDestroy(id: number): CancelablePromise<void>;
|
|
643
640
|
/**
|
|
644
641
|
* List RBAC roles
|
|
645
642
|
* Retrieve a list of RBAC roles. Can be filtered by platform_key.
|
|
@@ -688,11 +685,10 @@ export declare class CoreService {
|
|
|
688
685
|
* Delete RBAC role
|
|
689
686
|
* Delete an RBAC role.
|
|
690
687
|
* @param id A unique integer value identifying this RBAC Role.
|
|
691
|
-
* @param platformKey platform key for authorization check
|
|
692
688
|
* @returns void
|
|
693
689
|
* @throws ApiError
|
|
694
690
|
*/
|
|
695
|
-
static coreRbacRolesDestroy(id: number
|
|
691
|
+
static coreRbacRolesDestroy(id: number): CancelablePromise<void>;
|
|
696
692
|
/**
|
|
697
693
|
* List user role assignments
|
|
698
694
|
* Retrieve a list of user role assignments. Can be filtered by platform_key or user_id.
|
|
@@ -742,11 +738,10 @@ export declare class CoreService {
|
|
|
742
738
|
* Delete user role assignment
|
|
743
739
|
* Remove a role assignment from a user.
|
|
744
740
|
* @param id A unique integer value identifying this RBAC User Role.
|
|
745
|
-
* @param platformKey platform key for authorization check
|
|
746
741
|
* @returns void
|
|
747
742
|
* @throws ApiError
|
|
748
743
|
*/
|
|
749
|
-
static coreRbacUserRolesDestroy(id: number
|
|
744
|
+
static coreRbacUserRolesDestroy(id: number): CancelablePromise<void>;
|
|
750
745
|
/**
|
|
751
746
|
* Invalidate all tokens for the authenticated user
|
|
752
747
|
* @returns any No response body
|
|
@@ -1,33 +1,7 @@
|
|
|
1
|
-
import type { DocumentSearchResponse } from '../models/DocumentSearchResponse';
|
|
2
1
|
import type { GlobalCatalogSearchResponse } from '../models/GlobalCatalogSearchResponse';
|
|
3
|
-
import type { MentorSearchResponse } from '../models/MentorSearchResponse';
|
|
4
|
-
import type { PromptSearchResponse } from '../models/PromptSearchResponse';
|
|
5
|
-
import type { RecommendedCoursesResponse } from '../models/RecommendedCoursesResponse';
|
|
6
2
|
import type { UserSearchResponse } from '../models/UserSearchResponse';
|
|
7
3
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
8
4
|
export declare class SearchService {
|
|
9
|
-
/**
|
|
10
|
-
* Legacy endpoint for backward compatible mentor search
|
|
11
|
-
* @param audience Filter by target audience
|
|
12
|
-
* @param category Filter by mentor category
|
|
13
|
-
* @param createdBy Filter mentors created by specific user
|
|
14
|
-
* @param filterFacet If present, return only facets without results
|
|
15
|
-
* @param id Retrieve a specific mentor by ID
|
|
16
|
-
* @param limit Number of results per page
|
|
17
|
-
* @param llm Filter by language model type
|
|
18
|
-
* @param offset Starting position for pagination
|
|
19
|
-
* @param orderBy Field to sort results by ('created_at', 'recently_accessed_at')
|
|
20
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
21
|
-
* @param page Page number (1-based, used with page_size)
|
|
22
|
-
* @param pageSize Number of results per page
|
|
23
|
-
* @param query Search term to filter mentors by name or description
|
|
24
|
-
* @param tags Filter by tags
|
|
25
|
-
* @param tenant Filter by tenant/organization
|
|
26
|
-
* @param uniqueId Retrieve a specific mentor by UUID
|
|
27
|
-
* @returns MentorSearchResponse
|
|
28
|
-
* @throws ApiError
|
|
29
|
-
*/
|
|
30
|
-
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<MentorSearchResponse>;
|
|
31
5
|
/**
|
|
32
6
|
* Search and filter content across the learning catalog.
|
|
33
7
|
*
|
|
@@ -226,261 +200,6 @@ export declare class SearchService {
|
|
|
226
200
|
* @throws ApiError
|
|
227
201
|
*/
|
|
228
202
|
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<GlobalCatalogSearchResponse>;
|
|
229
|
-
/**
|
|
230
|
-
* Search and filter AI mentors across the platform.
|
|
231
|
-
*
|
|
232
|
-
* This endpoint provides a powerful search interface for discovering AI mentors
|
|
233
|
-
* with support for filtering, pagination, and detailed mentor information.
|
|
234
|
-
*
|
|
235
|
-
* Query Parameters:
|
|
236
|
-
* # Identification parameters (for detail view)
|
|
237
|
-
* id (int, optional): Retrieve a specific mentor by ID
|
|
238
|
-
* unique_id (uuid, optional): Retrieve a specific mentor by UUID
|
|
239
|
-
*
|
|
240
|
-
* # Search and filtering parameters
|
|
241
|
-
* query (str, optional): Search term to filter mentors by name or description
|
|
242
|
-
* tenant (str, optional): Filter by tenant/organization
|
|
243
|
-
* llm (list, optional): Filter by language model type
|
|
244
|
-
* audience (list, optional): Filter by target audience
|
|
245
|
-
* category (list, optional): Filter by mentor category
|
|
246
|
-
* tags (list, optional): Filter by tags
|
|
247
|
-
* created_by (str, optional): Filter mentors created by specific user
|
|
248
|
-
*
|
|
249
|
-
* # Sorting and pagination
|
|
250
|
-
* order_by (str, optional): Field to sort results by ('created_at', 'recently_accessed_at')
|
|
251
|
-
* order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
|
|
252
|
-
* limit (int, optional): Number of results per page (default: 12, max: 100)
|
|
253
|
-
* offset (int, optional): Starting position for pagination
|
|
254
|
-
*
|
|
255
|
-
* Returns:
|
|
256
|
-
* For detail view (when id or unique_id is provided):
|
|
257
|
-
* A JSON response containing a single mentor's details:
|
|
258
|
-
* {
|
|
259
|
-
* "id": 123,
|
|
260
|
-
* "unique_id": "550e8400-e29b-41d4-a716-446655440000",
|
|
261
|
-
* "name": "Professor Smith",
|
|
262
|
-
* "description": "AI mentor specializing in computer science",
|
|
263
|
-
* "image_url": "https://example.com/images/prof-smith.jpg",
|
|
264
|
-
* "llm": {
|
|
265
|
-
* "id": 1,
|
|
266
|
-
* "name": "GPT-4",
|
|
267
|
-
* "description": "Advanced language model"
|
|
268
|
-
* },
|
|
269
|
-
* "audience": {
|
|
270
|
-
* "id": 2,
|
|
271
|
-
* "name": "College Students",
|
|
272
|
-
* "description": "For university-level learners"
|
|
273
|
-
* },
|
|
274
|
-
* "category": "Computer Science",
|
|
275
|
-
* "tags": ["programming", "algorithms", "data structures"],
|
|
276
|
-
* "created_at": "2023-01-15T12:00:00Z",
|
|
277
|
-
* "recently_accessed_at": "2023-06-20T15:30:00Z",
|
|
278
|
-
* "platform": {
|
|
279
|
-
* "id": 1,
|
|
280
|
-
* "name": "Example University",
|
|
281
|
-
* "key": "example-university"
|
|
282
|
-
* },
|
|
283
|
-
* "visibility": "public",
|
|
284
|
-
* "settings": {
|
|
285
|
-
* "temperature": 0.7,
|
|
286
|
-
* "max_tokens": 1024,
|
|
287
|
-
* "system_prompt": "You are Professor Smith, an expert in computer science..."
|
|
288
|
-
* }
|
|
289
|
-
* }
|
|
290
|
-
*
|
|
291
|
-
* For list view:
|
|
292
|
-
* A JSON response containing:
|
|
293
|
-
* {
|
|
294
|
-
* "results": [
|
|
295
|
-
* {
|
|
296
|
-
* "id": 123,
|
|
297
|
-
* "unique_id": "550e8400-e29b-41d4-a716-446655440000",
|
|
298
|
-
* "name": "Professor Smith",
|
|
299
|
-
* "description": "AI mentor specializing in computer science",
|
|
300
|
-
* "image_url": "https://example.com/images/prof-smith.jpg",
|
|
301
|
-
* "llm": {"id": 1, "name": "GPT-4"},
|
|
302
|
-
* "audience": {"id": 2, "name": "College Students"},
|
|
303
|
-
* "category": "Computer Science",
|
|
304
|
-
* "tags": ["programming", "algorithms"],
|
|
305
|
-
* "created_at": "2023-01-15T12:00:00Z",
|
|
306
|
-
* "recently_accessed_at": "2023-06-20T15:30:00Z"
|
|
307
|
-
* },
|
|
308
|
-
* // Additional mentor objects...
|
|
309
|
-
* ],
|
|
310
|
-
* "count": 50,
|
|
311
|
-
* "next": "https://api.example.com/api/search/mentors/?limit=12&offset=12",
|
|
312
|
-
* "previous": null,
|
|
313
|
-
* "current_page": 1,
|
|
314
|
-
* "num_pages": 5,
|
|
315
|
-
* "facets": {
|
|
316
|
-
* "llm": [
|
|
317
|
-
* {"key": "GPT-4", "doc_count": 30},
|
|
318
|
-
* {"key": "Claude", "doc_count": 20}
|
|
319
|
-
* ],
|
|
320
|
-
* "audience": [
|
|
321
|
-
* {"key": "College Students", "doc_count": 35},
|
|
322
|
-
* {"key": "Professionals", "doc_count": 15}
|
|
323
|
-
* ],
|
|
324
|
-
* "category": [
|
|
325
|
-
* {"key": "Computer Science", "doc_count": 25},
|
|
326
|
-
* {"key": "Mathematics", "doc_count": 15},
|
|
327
|
-
* {"key": "Business", "doc_count": 10}
|
|
328
|
-
* ]
|
|
329
|
-
* }
|
|
330
|
-
* }
|
|
331
|
-
*
|
|
332
|
-
* Error Responses:
|
|
333
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
334
|
-
* 404 Not Found: If the requested mentor doesn't exist
|
|
335
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
336
|
-
*
|
|
337
|
-
* Notes:
|
|
338
|
-
* - Results are cached for performance
|
|
339
|
-
* - Public mentors are visible to all users
|
|
340
|
-
* - Private mentors are only visible to authorized users
|
|
341
|
-
* @param audience Filter by target audience
|
|
342
|
-
* @param category Filter by mentor category
|
|
343
|
-
* @param createdBy Filter mentors created by specific user
|
|
344
|
-
* @param featured Filter by featured status
|
|
345
|
-
* @param id Retrieve a specific mentor by ID
|
|
346
|
-
* @param limit Number of results per page
|
|
347
|
-
* @param llm Filter by language model type
|
|
348
|
-
* @param offset Starting position for pagination
|
|
349
|
-
* @param orderBy Field to sort results by ('created_at', 'recently_accessed_at')
|
|
350
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
351
|
-
* @param query Search term to filter mentors by name or description
|
|
352
|
-
* @param tags Filter by tags
|
|
353
|
-
* @param tenant Filter by tenant/organization
|
|
354
|
-
* @param uniqueId Retrieve a specific mentor by UUID
|
|
355
|
-
* @returns MentorSearchResponse
|
|
356
|
-
* @throws ApiError
|
|
357
|
-
*/
|
|
358
|
-
static searchMentorsRetrieve(audience?: Array<string>, category?: Array<string>, createdBy?: string, featured?: boolean, id?: number, limit?: number, llm?: Array<string>, offset?: number, orderBy?: string, orderDirection?: string, query?: string, tags?: Array<string>, tenant?: string, uniqueId?: string): CancelablePromise<MentorSearchResponse>;
|
|
359
|
-
/**
|
|
360
|
-
* Search and filter documents associated with a specific mentor
|
|
361
|
-
* @param mentorUniqueId
|
|
362
|
-
* @param access Filter by access level (e.g., 'public', 'private')
|
|
363
|
-
* @param documentType Filter by document type (e.g., 'pdf', 'text')
|
|
364
|
-
* @param limit Number of results per page
|
|
365
|
-
* @param offset Starting position for pagination
|
|
366
|
-
* @param orderBy Field to sort results by ('date_created', 'last_modified', 'document_name')
|
|
367
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
368
|
-
* @param platformKey Filter by platform key
|
|
369
|
-
* @param query Search term to filter documents by name or content
|
|
370
|
-
* @param trainingStatus Filter by training status (e.g., 'trained', 'pending')
|
|
371
|
-
* @returns DocumentSearchResponse
|
|
372
|
-
* @throws ApiError
|
|
373
|
-
*/
|
|
374
|
-
static searchMentorsDocumentsRetrieve(mentorUniqueId: string, access?: string, documentType?: string, limit?: number, offset?: number, orderBy?: string, orderDirection?: string, platformKey?: string, query?: string, trainingStatus?: string): CancelablePromise<DocumentSearchResponse>;
|
|
375
|
-
/**
|
|
376
|
-
* Handle GET requests for tenant-specific mentor search.
|
|
377
|
-
*
|
|
378
|
-
* Args:
|
|
379
|
-
* request: HTTP request object
|
|
380
|
-
* org: Tenant/organization key
|
|
381
|
-
* username: Username of the user making the request
|
|
382
|
-
*
|
|
383
|
-
* Returns:
|
|
384
|
-
* Response: DRF Response object with search results
|
|
385
|
-
* @param org
|
|
386
|
-
* @param username
|
|
387
|
-
* @param audience Filter by target audience
|
|
388
|
-
* @param category Filter by mentor category
|
|
389
|
-
* @param createdBy Filter mentors created by specific user
|
|
390
|
-
* @param featured Filter by featured status
|
|
391
|
-
* @param id Retrieve a specific mentor by ID
|
|
392
|
-
* @param limit Number of results per page
|
|
393
|
-
* @param llm Filter by language model type
|
|
394
|
-
* @param offset Starting position for pagination
|
|
395
|
-
* @param orderBy Field to sort results by ('created_at', 'recently_accessed_at')
|
|
396
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
397
|
-
* @param query Search term to filter mentors by name or description
|
|
398
|
-
* @param tags Filter by tags
|
|
399
|
-
* @param tenant Filter by tenant/organization
|
|
400
|
-
* @param uniqueId Retrieve a specific mentor by UUID
|
|
401
|
-
* @returns MentorSearchResponse
|
|
402
|
-
* @throws ApiError
|
|
403
|
-
*/
|
|
404
|
-
static searchOrgsUsersMentorsRetrieve(org: string, username: string, audience?: Array<string>, category?: Array<string>, createdBy?: string, featured?: boolean, id?: number, limit?: number, llm?: Array<string>, offset?: number, orderBy?: string, orderDirection?: string, query?: string, tags?: Array<string>, tenant?: string, uniqueId?: string): CancelablePromise<MentorSearchResponse>;
|
|
405
|
-
/**
|
|
406
|
-
* Search and filter AI prompts for a specific user within a tenant.
|
|
407
|
-
*
|
|
408
|
-
* This endpoint extends the base prompt search functionality but filters results
|
|
409
|
-
* to only show prompts that are available to a specific user within a specific
|
|
410
|
-
* organization/tenant.
|
|
411
|
-
*
|
|
412
|
-
* Path Parameters:
|
|
413
|
-
* org (str): The organization/tenant identifier
|
|
414
|
-
* username (str): The username to filter prompts for
|
|
415
|
-
*
|
|
416
|
-
* Query Parameters:
|
|
417
|
-
* Same as PromptSearchView, plus:
|
|
418
|
-
*
|
|
419
|
-
* # Identification parameters (for detail view)
|
|
420
|
-
* id (int, optional): Retrieve a specific prompt by ID
|
|
421
|
-
*
|
|
422
|
-
* Returns:
|
|
423
|
-
* Same format as PromptSearchView, but filtered to only include prompts
|
|
424
|
-
* that the specified user has access to within the specified organization.
|
|
425
|
-
*
|
|
426
|
-
* Error Responses:
|
|
427
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
428
|
-
* 403 Forbidden: If the requested prompt exists but the user doesn't have access
|
|
429
|
-
* 404 Not Found: If the requested prompt doesn't exist
|
|
430
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
431
|
-
*
|
|
432
|
-
* Access Control:
|
|
433
|
-
* - Results are filtered based on user's permissions within the organization
|
|
434
|
-
* - Private prompts are only visible to authorized users
|
|
435
|
-
* @param org
|
|
436
|
-
* @param username
|
|
437
|
-
* @param alphabetical Sort alphabetically
|
|
438
|
-
* @param category Filter by prompt category
|
|
439
|
-
* @param filterFacet If true, return only facets without results
|
|
440
|
-
* @param language Filter by prompt language
|
|
441
|
-
* @param limit Number of results per page
|
|
442
|
-
* @param mentor Filter by mentor UUID
|
|
443
|
-
* @param offset Starting position for pagination
|
|
444
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
445
|
-
* @param query Search term to filter prompts by name or content
|
|
446
|
-
* @param sortBy Field to sort results by
|
|
447
|
-
* @param style Filter by prompt style
|
|
448
|
-
* @param tenant Filter by tenant/organization
|
|
449
|
-
* @param tone Filter by prompt tone
|
|
450
|
-
* @returns PromptSearchResponse
|
|
451
|
-
* @throws ApiError
|
|
452
|
-
*/
|
|
453
|
-
static searchOrgsUsersPromptsRetrieve(org: string, username: string, alphabetical?: boolean, category?: string, filterFacet?: boolean, language?: string, limit?: number, mentor?: string, offset?: number, orderDirection?: string, query?: string, sortBy?: string, style?: string, tenant?: string, tone?: string): CancelablePromise<PromptSearchResponse>;
|
|
454
|
-
/**
|
|
455
|
-
* Determine whether to serve a detail view or a list view.
|
|
456
|
-
* @param org
|
|
457
|
-
* @param username
|
|
458
|
-
* @param certificate Filter by certificate type
|
|
459
|
-
* @param content Content types to include in recommendations (courses, programs, pathways, skills, roles, resources)
|
|
460
|
-
* @param courseId Retrieve a specific course by ID
|
|
461
|
-
* @param duration Filter by course duration range
|
|
462
|
-
* @param language Filter by content language
|
|
463
|
-
* @param level Filter by difficulty level
|
|
464
|
-
* @param limit Number of results per page
|
|
465
|
-
* @param offset Starting position for pagination
|
|
466
|
-
* @param pathwayId Retrieve a specific pathway by ID
|
|
467
|
-
* @param price Filter by price/audit status
|
|
468
|
-
* @param programId Retrieve a specific program by ID
|
|
469
|
-
* @param programType Filter by program type
|
|
470
|
-
* @param query Search term to filter content by name or description
|
|
471
|
-
* @param resourceId Retrieve a specific resource by ID
|
|
472
|
-
* @param resourceType Filter by resource type
|
|
473
|
-
* @param roleId Retrieve a specific role by ID
|
|
474
|
-
* @param selfPaced Filter by course format (self-paced, instructor-led)
|
|
475
|
-
* @param skillId Retrieve a specific skill by ID
|
|
476
|
-
* @param skills Filter by skills
|
|
477
|
-
* @param subject Filter by subject areas
|
|
478
|
-
* @param tags Filter by tags
|
|
479
|
-
* @param topics Filter by topic areas
|
|
480
|
-
* @returns RecommendedCoursesResponse
|
|
481
|
-
* @throws ApiError
|
|
482
|
-
*/
|
|
483
|
-
static searchOrgsUsersRecommendedRetrieve(org: string, username: string, certificate?: Array<string>, content?: Array<string>, courseId?: string, duration?: Array<string>, language?: Array<string>, level?: Array<string>, limit?: number, offset?: number, pathwayId?: string, price?: string, programId?: string, programType?: Array<string>, query?: string, resourceId?: string, resourceType?: Array<string>, roleId?: string, selfPaced?: Array<string>, skillId?: string, skills?: Array<string>, subject?: Array<string>, tags?: Array<string>, topics?: Array<string>): CancelablePromise<RecommendedCoursesResponse>;
|
|
484
203
|
/**
|
|
485
204
|
* Determine whether to serve a detail view or a list view.
|
|
486
205
|
* If any detail-identifying parameters are present (course_id, program_id, etc.)
|
|
@@ -522,133 +241,6 @@ export declare class SearchService {
|
|
|
522
241
|
* @throws ApiError
|
|
523
242
|
*/
|
|
524
243
|
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>>;
|
|
525
|
-
/**
|
|
526
|
-
* Search and filter AI prompts across the platform.
|
|
527
|
-
*
|
|
528
|
-
* This endpoint provides a search interface for discovering AI prompts
|
|
529
|
-
* with support for filtering, pagination, and detailed prompt information.
|
|
530
|
-
*
|
|
531
|
-
* Query Parameters:
|
|
532
|
-
* # Identification parameters (for detail view)
|
|
533
|
-
* id (int, optional): Retrieve a specific prompt by ID
|
|
534
|
-
*
|
|
535
|
-
* # Search and filtering parameters
|
|
536
|
-
* query (str, optional): Search term to filter prompts by name or content
|
|
537
|
-
* category (str, optional): Filter by prompt category
|
|
538
|
-
* language (str, optional): Filter by prompt language
|
|
539
|
-
* style (str, optional): Filter by writing style
|
|
540
|
-
* tone (str, optional): Filter by tone
|
|
541
|
-
* tenant (str, optional): Filter by tenant/organization
|
|
542
|
-
* mentor (str, optional): Filter by associated mentor (UUID)
|
|
543
|
-
*
|
|
544
|
-
* # Sorting and pagination
|
|
545
|
-
* sort_by (str, optional): Field to sort results by
|
|
546
|
-
* order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
|
|
547
|
-
* alphabetical (bool, optional): Sort alphabetically by name (default: false)
|
|
548
|
-
* limit (int, optional): Number of results per page (default: 10)
|
|
549
|
-
* offset (int, optional): Starting position for pagination
|
|
550
|
-
*
|
|
551
|
-
* # Special parameters
|
|
552
|
-
* filter_facet (any, optional): If present, return only facets without results
|
|
553
|
-
*
|
|
554
|
-
* Returns:
|
|
555
|
-
* For detail view (when id is provided):
|
|
556
|
-
* A JSON response containing a single prompt's details:
|
|
557
|
-
* {
|
|
558
|
-
* "id": 456,
|
|
559
|
-
* "name": "Essay Writing Guide",
|
|
560
|
-
* "content": "Write a well-structured essay on the following topic: {{topic}}...",
|
|
561
|
-
* "category": "Academic Writing",
|
|
562
|
-
* "language": "English",
|
|
563
|
-
* "style": "Formal",
|
|
564
|
-
* "tone": "Professional",
|
|
565
|
-
* "mentor": {
|
|
566
|
-
* "id": 123,
|
|
567
|
-
* "unique_id": "550e8400-e29b-41d4-a716-446655440000",
|
|
568
|
-
* "name": "Professor Smith"
|
|
569
|
-
* },
|
|
570
|
-
* "platform": {
|
|
571
|
-
* "id": 1,
|
|
572
|
-
* "name": "Example University",
|
|
573
|
-
* "key": "example-university"
|
|
574
|
-
* },
|
|
575
|
-
* "created_at": "2023-02-10T09:15:00Z",
|
|
576
|
-
* "updated_at": "2023-05-05T14:20:00Z",
|
|
577
|
-
* "visibility": "public",
|
|
578
|
-
* "variables": ["topic", "length", "style"]
|
|
579
|
-
* }
|
|
580
|
-
*
|
|
581
|
-
* For list view:
|
|
582
|
-
* A JSON response containing:
|
|
583
|
-
* {
|
|
584
|
-
* "results": [
|
|
585
|
-
* {
|
|
586
|
-
* "id": 456,
|
|
587
|
-
* "name": "Essay Writing Guide",
|
|
588
|
-
* "content": "Write a well-structured essay on the following topic: {{topic}}...",
|
|
589
|
-
* "category": "Academic Writing",
|
|
590
|
-
* "language": "English",
|
|
591
|
-
* "style": "Formal",
|
|
592
|
-
* "tone": "Professional",
|
|
593
|
-
* "mentor": {"id": 123, "name": "Professor Smith"},
|
|
594
|
-
* "created_at": "2023-02-10T09:15:00Z",
|
|
595
|
-
* "updated_at": "2023-05-05T14:20:00Z"
|
|
596
|
-
* },
|
|
597
|
-
* // Additional prompt objects...
|
|
598
|
-
* ],
|
|
599
|
-
* "count": 30,
|
|
600
|
-
* "next": "?limit=10&offset=10",
|
|
601
|
-
* "previous": null,
|
|
602
|
-
* "current_page": 1,
|
|
603
|
-
* "num_pages": 3,
|
|
604
|
-
* "facets": {
|
|
605
|
-
* "category": [
|
|
606
|
-
* {"key": "Academic Writing", "doc_count": 15},
|
|
607
|
-
* {"key": "Creative Writing", "doc_count": 10},
|
|
608
|
-
* {"key": "Technical Documentation", "doc_count": 5}
|
|
609
|
-
* ],
|
|
610
|
-
* "language": [
|
|
611
|
-
* {"key": "English", "doc_count": 25},
|
|
612
|
-
* {"key": "Spanish", "doc_count": 5}
|
|
613
|
-
* ],
|
|
614
|
-
* "style": [
|
|
615
|
-
* {"key": "Formal", "doc_count": 20},
|
|
616
|
-
* {"key": "Casual", "doc_count": 10}
|
|
617
|
-
* ],
|
|
618
|
-
* "tone": [
|
|
619
|
-
* {"key": "Professional", "doc_count": 15},
|
|
620
|
-
* {"key": "Friendly", "doc_count": 10},
|
|
621
|
-
* {"key": "Technical", "doc_count": 5}
|
|
622
|
-
* ]
|
|
623
|
-
* }
|
|
624
|
-
* }
|
|
625
|
-
*
|
|
626
|
-
* Error Responses:
|
|
627
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
628
|
-
* 403 Forbidden: If the requested prompt exists but is not publicly available
|
|
629
|
-
* 404 Not Found: If the requested prompt doesn't exist
|
|
630
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
631
|
-
*
|
|
632
|
-
* Notes:
|
|
633
|
-
* - Only publicly available prompts are returned by default
|
|
634
|
-
* - When filtering by mentor, the mentor ID must be a valid UUID
|
|
635
|
-
* @param alphabetical Sort alphabetically
|
|
636
|
-
* @param category Filter by prompt category
|
|
637
|
-
* @param filterFacet If true, return only facets without results
|
|
638
|
-
* @param language Filter by prompt language
|
|
639
|
-
* @param limit Number of results per page
|
|
640
|
-
* @param mentor Filter by mentor UUID
|
|
641
|
-
* @param offset Starting position for pagination
|
|
642
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
643
|
-
* @param query Search term to filter prompts by name or content
|
|
644
|
-
* @param sortBy Field to sort results by
|
|
645
|
-
* @param style Filter by prompt style
|
|
646
|
-
* @param tenant Filter by tenant/organization
|
|
647
|
-
* @param tone Filter by prompt tone
|
|
648
|
-
* @returns PromptSearchResponse
|
|
649
|
-
* @throws ApiError
|
|
650
|
-
*/
|
|
651
|
-
static searchPromptsRetrieve(alphabetical?: boolean, category?: string, filterFacet?: boolean, language?: string, limit?: number, mentor?: string, offset?: number, orderDirection?: string, query?: string, sortBy?: string, style?: string, tenant?: string, tone?: string): CancelablePromise<PromptSearchResponse>;
|
|
652
244
|
/**
|
|
653
245
|
* Search and filter users within a specific organization/tenant.
|
|
654
246
|
*
|
package/package.json
CHANGED
package/src/core/OpenAPI.ts
CHANGED