@iblai/iblai-api 3.48.0-core → 3.48.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 +15076 -124
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +15070 -125
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +15076 -124
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +280 -1
- package/dist/types/models/AIGeneratedImage.d.ts +13 -0
- package/dist/types/models/AIUserProfileMemoryRelation.d.ts +4 -0
- package/dist/types/models/AIUserProfileRequest.d.ts +4 -0
- package/dist/types/models/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/Document.d.ts +41 -0
- package/dist/types/models/DocumentFacet.d.ts +17 -0
- package/dist/types/models/DocumentSearchResponse.d.ts +35 -0
- package/dist/types/models/DocumentSettingsResponse.d.ts +3 -0
- package/dist/types/models/EdxCourse.d.ts +11 -0
- package/dist/types/models/ElevenlabsCustomVoice.d.ts +4 -0
- package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +8 -0
- package/dist/types/models/EmailPromptDetail.d.ts +13 -0
- package/dist/types/models/EmailPromptList.d.ts +11 -0
- package/dist/types/models/EmailPromptSummary.d.ts +5 -0
- package/dist/types/models/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/HeygenTemplateRequest.d.ts +5 -0
- package/dist/types/models/HeygenTemplateResponseSingle.d.ts +6 -0
- package/dist/types/models/HeygenVideoDetail.d.ts +8 -0
- package/dist/types/models/HeygenVideoRequest.d.ts +5 -0
- package/dist/types/models/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/MCPServer.d.ts +21 -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 +80 -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 +79 -0
- package/dist/types/models/MentorCustomVoice.d.ts +4 -0
- package/dist/types/models/MentorCustomVoiceResponse.d.ts +4 -0
- package/dist/types/models/MentorData.d.ts +7 -0
- package/dist/types/models/MentorDetailAnalytics.d.ts +6 -0
- package/dist/types/models/MentorEval.d.ts +11 -0
- package/dist/types/models/MentorEvalQuestion.d.ts +5 -0
- package/dist/types/models/MentorEvalQuestionRequest.d.ts +4 -0
- package/dist/types/models/MentorEvalReport.d.ts +10 -0
- package/dist/types/models/MentorEvalRequest.d.ts +8 -0
- package/dist/types/models/MentorFacet.d.ts +17 -0
- package/dist/types/models/MentorFork.d.ts +5 -0
- package/dist/types/models/MentorFromTemplateRequest.d.ts +4 -0
- package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +45 -0
- package/dist/types/models/MentorMemorySettingsRequest.d.ts +6 -0
- package/dist/types/models/MentorMemorySettingsResponse.d.ts +6 -0
- package/dist/types/models/MentorMetadata.d.ts +5 -0
- package/dist/types/models/MentorScenario.d.ts +6 -0
- package/dist/types/models/MentorScenarioPrompt.d.ts +5 -0
- package/dist/types/models/MentorSearchResponse.d.ts +35 -0
- package/dist/types/models/MentorSession.d.ts +4 -0
- package/dist/types/models/MentorSettings.d.ts +56 -0
- package/dist/types/models/MentorSettingsPublic.d.ts +45 -0
- package/dist/types/models/MentorSettingsRequest.d.ts +60 -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/NotificationSource.d.ts +2 -2
- package/dist/types/models/{TypeEnum.d.ts → NotificationSourceTypeEnum.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/PaginatedHeygenTemplateResponseSingleList.d.ts +7 -0
- package/dist/types/models/PaginatedJobRunList.d.ts +7 -0
- package/dist/types/models/PaginatedMCPServerList.d.ts +7 -0
- package/dist/types/models/PaginatedMentorList.d.ts +7 -0
- package/dist/types/models/PaginatedModerationLogList.d.ts +7 -0
- package/dist/types/models/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/PatchedMCPServer.d.ts +21 -0
- package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +11 -0
- package/dist/types/models/PatchedMentorCreate.d.ts +79 -0
- 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/PromptFacet.d.ts +17 -0
- package/dist/types/models/PromptSearchResponse.d.ts +35 -0
- package/dist/types/models/PromptVisibilityEnum.d.ts +10 -0
- package/dist/types/models/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/RecommendedCoursesResponse.d.ts +33 -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 +11 -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 +15 -0
- package/dist/types/models/TrainingStatusEnum.d.ts +12 -0
- package/dist/types/models/TransportEnum.d.ts +8 -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/VideoCaption.d.ts +3 -0
- package/dist/types/models/Voice.d.ts +9 -0
- package/dist/types/models/WebResource.d.ts +9 -0
- package/dist/types/models/WebResourceCard.d.ts +7 -0
- package/dist/types/models/WebResourcesQuery.d.ts +3 -0
- package/dist/types/services/AiAccountService.d.ts +294 -0
- package/dist/types/services/AiAnalyticsService.d.ts +2801 -0
- package/dist/types/services/AiIndexService.d.ts +400 -0
- package/dist/types/services/AiMarketingService.d.ts +34 -0
- package/dist/types/services/AiMediaService.d.ts +118 -0
- package/dist/types/services/AiMentorService.d.ts +4235 -0
- package/dist/types/services/AiPromptService.d.ts +920 -0
- package/dist/types/services/SearchService.d.ts +408 -0
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +280 -1
- package/src/models/AIGeneratedImage.ts +18 -0
- package/src/models/AIUserProfileMemoryRelation.ts +9 -0
- package/src/models/AIUserProfileRequest.ts +9 -0
- package/src/models/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/Document.ts +46 -0
- package/src/models/DocumentFacet.ts +22 -0
- package/src/models/DocumentSearchResponse.ts +40 -0
- package/src/models/DocumentSettingsResponse.ts +8 -0
- package/src/models/EdxCourse.ts +16 -0
- package/src/models/ElevenlabsCustomVoice.ts +9 -0
- package/src/models/ElevenlabsCustomVoiceResponse.ts +13 -0
- package/src/models/EmailPromptDetail.ts +18 -0
- package/src/models/EmailPromptList.ts +16 -0
- package/src/models/EmailPromptSummary.ts +10 -0
- package/src/models/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/HeygenTemplateRequest.ts +10 -0
- package/src/models/HeygenTemplateResponseSingle.ts +11 -0
- package/src/models/HeygenVideoDetail.ts +13 -0
- package/src/models/HeygenVideoRequest.ts +10 -0
- package/src/models/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/MCPServer.ts +26 -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 +85 -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 +84 -0
- package/src/models/MentorCustomVoice.ts +9 -0
- package/src/models/MentorCustomVoiceResponse.ts +9 -0
- package/src/models/MentorData.ts +12 -0
- package/src/models/MentorDetailAnalytics.ts +11 -0
- package/src/models/MentorEval.ts +16 -0
- package/src/models/MentorEvalQuestion.ts +10 -0
- package/src/models/MentorEvalQuestionRequest.ts +9 -0
- package/src/models/MentorEvalReport.ts +15 -0
- package/src/models/MentorEvalRequest.ts +13 -0
- package/src/models/MentorFacet.ts +22 -0
- package/src/models/MentorFork.ts +10 -0
- package/src/models/MentorFromTemplateRequest.ts +9 -0
- package/src/models/MentorFromTemplateWithSettingRequest.ts +50 -0
- package/src/models/MentorMemorySettingsRequest.ts +11 -0
- package/src/models/MentorMemorySettingsResponse.ts +11 -0
- package/src/models/MentorMetadata.ts +10 -0
- package/src/models/MentorScenario.ts +11 -0
- package/src/models/MentorScenarioPrompt.ts +10 -0
- package/src/models/MentorSearchResponse.ts +40 -0
- package/src/models/MentorSession.ts +9 -0
- package/src/models/MentorSettings.ts +61 -0
- package/src/models/MentorSettingsPublic.ts +50 -0
- package/src/models/MentorSettingsRequest.ts +65 -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/NotificationSource.ts +2 -2
- package/src/models/{TypeEnum.ts → NotificationSourceTypeEnum.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/PaginatedHeygenTemplateResponseSingleList.ts +12 -0
- package/src/models/PaginatedJobRunList.ts +12 -0
- package/src/models/PaginatedMCPServerList.ts +12 -0
- package/src/models/PaginatedMentorList.ts +12 -0
- package/src/models/PaginatedModerationLogList.ts +12 -0
- package/src/models/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/PatchedMCPServer.ts +26 -0
- package/src/models/PatchedMentorCategoryGroupCreate.ts +16 -0
- package/src/models/PatchedMentorCreate.ts +84 -0
- 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/PromptFacet.ts +22 -0
- package/src/models/PromptSearchResponse.ts +40 -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/RecommendedCoursesResponse.ts +38 -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 +16 -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 +20 -0
- package/src/models/TrainingStatusEnum.ts +16 -0
- package/src/models/TransportEnum.ts +12 -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/VideoCaption.ts +8 -0
- package/src/models/Voice.ts +14 -0
- package/src/models/WebResource.ts +14 -0
- package/src/models/WebResourceCard.ts +12 -0
- package/src/models/WebResourcesQuery.ts +8 -0
- package/src/services/AiAccountService.ts +479 -0
- package/src/services/AiAnalyticsService.ts +5198 -0
- package/src/services/AiIndexService.ts +693 -0
- package/src/services/AiMarketingService.ts +87 -0
- package/src/services/AiMediaService.ts +273 -0
- package/src/services/AiMentorService.ts +7977 -0
- package/src/services/AiPromptService.ts +1771 -0
- package/src/services/SearchService.ts +981 -261
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { GreetingMethodEnum } from './GreetingMethodEnum';
|
|
6
|
+
export type PatchedMentorCreate = {
|
|
7
|
+
name?: string;
|
|
8
|
+
unique_id?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The langflow json for the mentor
|
|
11
|
+
*/
|
|
12
|
+
flow?: any;
|
|
13
|
+
slug?: string;
|
|
14
|
+
platform?: string;
|
|
15
|
+
allow_anonymous?: boolean;
|
|
16
|
+
metadata?: any;
|
|
17
|
+
enable_moderation?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* (Deprecated) Set template mentor to openai-agent instead.
|
|
20
|
+
*/
|
|
21
|
+
enable_openai_assistant?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Whether to force mentor to only use information within the provided documents.
|
|
24
|
+
*/
|
|
25
|
+
enable_total_grounding?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Whether to show suggested prompts for the mentor or not. Note: Suggested prompts are created by tenant admins.
|
|
28
|
+
*/
|
|
29
|
+
enable_suggested_prompts?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Whether to show suggested prompts for the mentor or not. Note: Guided prompts are created with an llm based on chat history.
|
|
32
|
+
*/
|
|
33
|
+
enable_guided_prompts?: boolean;
|
|
34
|
+
google_voice?: number | null;
|
|
35
|
+
openai_voice?: number | null;
|
|
36
|
+
/**
|
|
37
|
+
* Instructions to determine how prompt suggestions are generated.
|
|
38
|
+
*/
|
|
39
|
+
guided_prompt_instructions?: string;
|
|
40
|
+
categories?: Array<number>;
|
|
41
|
+
/**
|
|
42
|
+
* Prompt template used to start a conversation with the user when greeting_type is proactive_prompt. This will be sent to the LLM so it can respond naturally
|
|
43
|
+
*/
|
|
44
|
+
proactive_prompt?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The prompt for the moderation system. This prompt must clearly distinguish between 'Approapriate' and 'Not Appropriate' queries.
|
|
47
|
+
*/
|
|
48
|
+
moderation_system_prompt?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Desired feedback to return to the user when their prompt is deemed inappropriate.
|
|
51
|
+
*/
|
|
52
|
+
moderation_response?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Prompt to check whether the models response is appropriate or not.
|
|
55
|
+
*/
|
|
56
|
+
safety_system_prompt?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Feedback given to the user when a model generates an inappropriate response
|
|
59
|
+
*/
|
|
60
|
+
safety_response?: string;
|
|
61
|
+
disable_chathistory?: boolean;
|
|
62
|
+
enable_safety_system?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Response to start a conversation with a user.
|
|
65
|
+
*/
|
|
66
|
+
proactive_response?: string;
|
|
67
|
+
mcp_servers?: Array<number>;
|
|
68
|
+
/**
|
|
69
|
+
* How the mentor should greet the user. proactive_prompt: Allow the LLM to respond to proactive_prompt msg. proactive_response: use proactive_response template without performing an LLM call.
|
|
70
|
+
*
|
|
71
|
+
* * `proactive_prompt` - Proactive Prompt
|
|
72
|
+
* * `proactive_response` - Proactive Response
|
|
73
|
+
*/
|
|
74
|
+
greeting_method?: GreetingMethodEnum;
|
|
75
|
+
/**
|
|
76
|
+
* edX user ID
|
|
77
|
+
*/
|
|
78
|
+
last_accessed_by?: number | null;
|
|
79
|
+
recently_accessed_at?: string | null;
|
|
80
|
+
created_by?: string | null;
|
|
81
|
+
readonly created_at?: string | null;
|
|
82
|
+
readonly updated_at?: string | null;
|
|
83
|
+
};
|
|
84
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { PeriodicTask } from './PeriodicTask';
|
|
6
|
+
import type { PreviousAgentStatusEnum } from './PreviousAgentStatusEnum';
|
|
7
|
+
export type PatchedPeriodicAgentCreate = {
|
|
8
|
+
readonly id?: number;
|
|
9
|
+
mentor?: number;
|
|
10
|
+
title?: string;
|
|
11
|
+
readonly username?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Prompt for the periodic agent if any.
|
|
15
|
+
*/
|
|
16
|
+
prompt?: string;
|
|
17
|
+
task?: PeriodicTask;
|
|
18
|
+
readonly created_at?: string;
|
|
19
|
+
readonly modified_at?: string;
|
|
20
|
+
readonly enabled?: boolean;
|
|
21
|
+
readonly one_off?: boolean;
|
|
22
|
+
readonly platform_key?: string;
|
|
23
|
+
pathway?: string;
|
|
24
|
+
callback_url?: string;
|
|
25
|
+
callback_secret?: string;
|
|
26
|
+
parent_session_id?: string;
|
|
27
|
+
parent_mentor_id?: number | null;
|
|
28
|
+
/**
|
|
29
|
+
* Agent that needs to run before the current agent runs.
|
|
30
|
+
*/
|
|
31
|
+
previous_agent?: number | null;
|
|
32
|
+
/**
|
|
33
|
+
* The status that the previous agent must be in before this agent gets scheduled.
|
|
34
|
+
*
|
|
35
|
+
* * `success` - Success
|
|
36
|
+
* * `error` - Error
|
|
37
|
+
* * `running` - Running
|
|
38
|
+
* * `pending` - Pending
|
|
39
|
+
*/
|
|
40
|
+
previous_agent_status?: PreviousAgentStatusEnum;
|
|
41
|
+
/**
|
|
42
|
+
* This will be fed into the run of this agent as part of its input prompt.
|
|
43
|
+
*/
|
|
44
|
+
readonly previous_agent_output?: string;
|
|
45
|
+
};
|
|
46
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type PatchedPlayWrightScript = {
|
|
6
|
+
readonly id?: number;
|
|
7
|
+
readonly platform?: number | null;
|
|
8
|
+
/**
|
|
9
|
+
* edX user ID
|
|
10
|
+
*/
|
|
11
|
+
readonly student?: number | null;
|
|
12
|
+
title?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
script?: string;
|
|
15
|
+
readonly is_public?: boolean;
|
|
16
|
+
};
|
|
17
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { BlankEnum } from './BlankEnum';
|
|
6
|
+
import type { NullEnum } from './NullEnum';
|
|
7
|
+
import type { PromptVisibilityEnum } from './PromptVisibilityEnum';
|
|
8
|
+
export type PatchedPrompt = {
|
|
9
|
+
readonly id?: number;
|
|
10
|
+
mentor?: string;
|
|
11
|
+
tone?: string | null;
|
|
12
|
+
style?: string;
|
|
13
|
+
language?: string;
|
|
14
|
+
tags?: Array<number>;
|
|
15
|
+
is_system?: boolean;
|
|
16
|
+
metadata?: any;
|
|
17
|
+
category?: string;
|
|
18
|
+
prompt?: string;
|
|
19
|
+
title?: string | null;
|
|
20
|
+
description?: string | null;
|
|
21
|
+
prompt_visibility?: (PromptVisibilityEnum | BlankEnum | NullEnum) | null;
|
|
22
|
+
readonly created_at?: string;
|
|
23
|
+
readonly updated_at?: string;
|
|
24
|
+
created_by?: string | null;
|
|
25
|
+
platform?: number;
|
|
26
|
+
};
|
|
27
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Status6eeEnum } from './Status6eeEnum';
|
|
6
|
+
export type PatchedSection = {
|
|
7
|
+
readonly id?: number;
|
|
8
|
+
course?: number;
|
|
9
|
+
display_name?: string;
|
|
10
|
+
readonly status?: Status6eeEnum;
|
|
11
|
+
readonly created_at?: string;
|
|
12
|
+
readonly updated_at?: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Status6eeEnum } from './Status6eeEnum';
|
|
6
|
+
export type PatchedSubSection = {
|
|
7
|
+
readonly id?: number;
|
|
8
|
+
section?: number;
|
|
9
|
+
display_name?: string;
|
|
10
|
+
readonly status?: Status6eeEnum;
|
|
11
|
+
readonly created_at?: string;
|
|
12
|
+
readonly updated_at?: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Status6eeEnum } from './Status6eeEnum';
|
|
6
|
+
import type { TypeC42Enum } from './TypeC42Enum';
|
|
7
|
+
export type PatchedUnit = {
|
|
8
|
+
readonly id?: number;
|
|
9
|
+
subsection?: number;
|
|
10
|
+
display_name?: string;
|
|
11
|
+
readonly status?: Status6eeEnum;
|
|
12
|
+
type?: TypeC42Enum;
|
|
13
|
+
readonly created_at?: string;
|
|
14
|
+
readonly updated_at?: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Mentor } from './Mentor';
|
|
6
|
+
import type { PeriodicTask } from './PeriodicTask';
|
|
7
|
+
import type { PreviousAgentStatusEnum } from './PreviousAgentStatusEnum';
|
|
8
|
+
export type PeriodicAgent = {
|
|
9
|
+
readonly id: number;
|
|
10
|
+
mentor: Mentor;
|
|
11
|
+
title: string;
|
|
12
|
+
readonly username: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Prompt for the periodic agent if any.
|
|
16
|
+
*/
|
|
17
|
+
prompt?: string;
|
|
18
|
+
task: PeriodicTask;
|
|
19
|
+
readonly created_at: string;
|
|
20
|
+
readonly modified_at: string;
|
|
21
|
+
readonly enabled: boolean;
|
|
22
|
+
readonly one_off: boolean;
|
|
23
|
+
readonly platform_key: string;
|
|
24
|
+
pathway?: string;
|
|
25
|
+
callback_url?: string;
|
|
26
|
+
callback_secret?: string;
|
|
27
|
+
parent_session_id?: string;
|
|
28
|
+
parent_mentor_id?: number | null;
|
|
29
|
+
/**
|
|
30
|
+
* Agent that needs to run before the current agent runs.
|
|
31
|
+
*/
|
|
32
|
+
previous_agent?: number | null;
|
|
33
|
+
/**
|
|
34
|
+
* The status that the previous agent must be in before this agent gets scheduled.
|
|
35
|
+
*
|
|
36
|
+
* * `success` - Success
|
|
37
|
+
* * `error` - Error
|
|
38
|
+
* * `running` - Running
|
|
39
|
+
* * `pending` - Pending
|
|
40
|
+
*/
|
|
41
|
+
previous_agent_status?: PreviousAgentStatusEnum;
|
|
42
|
+
/**
|
|
43
|
+
* This will be fed into the run of this agent as part of its input prompt.
|
|
44
|
+
*/
|
|
45
|
+
readonly previous_agent_output: string;
|
|
46
|
+
};
|
|
47
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { PeriodicTask } from './PeriodicTask';
|
|
6
|
+
import type { PreviousAgentStatusEnum } from './PreviousAgentStatusEnum';
|
|
7
|
+
export type PeriodicAgentCreate = {
|
|
8
|
+
readonly id: number;
|
|
9
|
+
mentor: number;
|
|
10
|
+
title: string;
|
|
11
|
+
readonly username: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Prompt for the periodic agent if any.
|
|
15
|
+
*/
|
|
16
|
+
prompt?: string;
|
|
17
|
+
task: PeriodicTask;
|
|
18
|
+
readonly created_at: string;
|
|
19
|
+
readonly modified_at: string;
|
|
20
|
+
readonly enabled: boolean;
|
|
21
|
+
readonly one_off: boolean;
|
|
22
|
+
readonly platform_key: string;
|
|
23
|
+
pathway?: string;
|
|
24
|
+
callback_url?: string;
|
|
25
|
+
callback_secret?: string;
|
|
26
|
+
parent_session_id?: string;
|
|
27
|
+
parent_mentor_id?: number | null;
|
|
28
|
+
/**
|
|
29
|
+
* Agent that needs to run before the current agent runs.
|
|
30
|
+
*/
|
|
31
|
+
previous_agent?: number | null;
|
|
32
|
+
/**
|
|
33
|
+
* The status that the previous agent must be in before this agent gets scheduled.
|
|
34
|
+
*
|
|
35
|
+
* * `success` - Success
|
|
36
|
+
* * `error` - Error
|
|
37
|
+
* * `running` - Running
|
|
38
|
+
* * `pending` - Pending
|
|
39
|
+
*/
|
|
40
|
+
previous_agent_status?: PreviousAgentStatusEnum;
|
|
41
|
+
/**
|
|
42
|
+
* This will be fed into the run of this agent as part of its input prompt.
|
|
43
|
+
*/
|
|
44
|
+
readonly previous_agent_output: string;
|
|
45
|
+
};
|
|
46
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { PeriodicAgentLogStatusEnum } from './PeriodicAgentLogStatusEnum';
|
|
6
|
+
export type PeriodicAgentLog = {
|
|
7
|
+
readonly id: number;
|
|
8
|
+
content?: string;
|
|
9
|
+
status?: PeriodicAgentLogStatusEnum;
|
|
10
|
+
start_time?: string;
|
|
11
|
+
end_time?: string | null;
|
|
12
|
+
readonly created_at: string;
|
|
13
|
+
readonly modified_at: string;
|
|
14
|
+
periodic_agent: number;
|
|
15
|
+
};
|
|
16
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* * `success` - Success
|
|
7
|
+
* * `error` - Error
|
|
8
|
+
* * `running` - Running
|
|
9
|
+
*/
|
|
10
|
+
export enum PeriodicAgentLogStatusEnum {
|
|
11
|
+
SUCCESS = 'success',
|
|
12
|
+
ERROR = 'error',
|
|
13
|
+
RUNNING = 'running',
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CrontabSchedule } from './CrontabSchedule';
|
|
6
|
+
export type PeriodicTask = {
|
|
7
|
+
readonly id: number;
|
|
8
|
+
/**
|
|
9
|
+
* Short Description For This Task
|
|
10
|
+
*/
|
|
11
|
+
readonly name: string;
|
|
12
|
+
crontab: CrontabSchedule;
|
|
13
|
+
/**
|
|
14
|
+
* If True, the schedule will only run the task a single time
|
|
15
|
+
*/
|
|
16
|
+
one_off?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Datetime when the schedule should begin triggering the task to run
|
|
19
|
+
*/
|
|
20
|
+
start_time?: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* Set to False to disable the schedule
|
|
23
|
+
*/
|
|
24
|
+
enabled?: boolean;
|
|
25
|
+
};
|
|
26
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { PieChartSegment } from './PieChartSegment';
|
|
6
|
+
export type PieChartData = {
|
|
7
|
+
new_users: PieChartSegment;
|
|
8
|
+
returning_users: PieChartSegment;
|
|
9
|
+
};
|
|
10
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type PinnedMessageCreate = {
|
|
6
|
+
readonly id: number;
|
|
7
|
+
/**
|
|
8
|
+
* The platform key
|
|
9
|
+
*/
|
|
10
|
+
platform: string;
|
|
11
|
+
username: string;
|
|
12
|
+
session_id: string | null;
|
|
13
|
+
};
|
|
14
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ChatHistory } from './ChatHistory';
|
|
6
|
+
import type { Mentor } from './Mentor';
|
|
7
|
+
export type PinnedMessageGet = {
|
|
8
|
+
session_id: string;
|
|
9
|
+
mentor: Mentor;
|
|
10
|
+
messages: Array<ChatHistory>;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type PlayWrightScript = {
|
|
6
|
+
readonly id: number;
|
|
7
|
+
readonly platform: number | null;
|
|
8
|
+
/**
|
|
9
|
+
* edX user ID
|
|
10
|
+
*/
|
|
11
|
+
readonly student: number | null;
|
|
12
|
+
title: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
script: string;
|
|
15
|
+
readonly is_public: boolean;
|
|
16
|
+
};
|
|
17
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ReuestDataVariableList } from './ReuestDataVariableList';
|
|
6
|
+
export type PredictiveAnalyticsRequest = {
|
|
7
|
+
prompt: ReuestDataVariableList;
|
|
8
|
+
};
|
|
9
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ResponseDataVariable } from './ResponseDataVariable';
|
|
6
|
+
export type PredictiveAnalyticsResponse = {
|
|
7
|
+
predictions: Array<ResponseDataVariable>;
|
|
8
|
+
};
|
|
9
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* * `success` - Success
|
|
7
|
+
* * `error` - Error
|
|
8
|
+
* * `running` - Running
|
|
9
|
+
* * `pending` - Pending
|
|
10
|
+
*/
|
|
11
|
+
export enum PreviousAgentStatusEnum {
|
|
12
|
+
SUCCESS = 'success',
|
|
13
|
+
ERROR = 'error',
|
|
14
|
+
RUNNING = 'running',
|
|
15
|
+
PENDING = 'pending',
|
|
16
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { BlankEnum } from './BlankEnum';
|
|
6
|
+
import type { NullEnum } from './NullEnum';
|
|
7
|
+
import type { PromptVisibilityEnum } from './PromptVisibilityEnum';
|
|
8
|
+
export type Prompt = {
|
|
9
|
+
readonly id: number;
|
|
10
|
+
mentor?: string;
|
|
11
|
+
tone?: string | null;
|
|
12
|
+
style?: string;
|
|
13
|
+
language?: string;
|
|
14
|
+
tags?: Array<number>;
|
|
15
|
+
is_system?: boolean;
|
|
16
|
+
metadata?: any;
|
|
17
|
+
category?: string;
|
|
18
|
+
prompt: string;
|
|
19
|
+
title?: string | null;
|
|
20
|
+
description?: string | null;
|
|
21
|
+
prompt_visibility?: (PromptVisibilityEnum | BlankEnum | NullEnum) | null;
|
|
22
|
+
readonly created_at: string;
|
|
23
|
+
readonly updated_at: string;
|
|
24
|
+
created_by?: string | null;
|
|
25
|
+
platform: number;
|
|
26
|
+
};
|
|
27
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type PromptCategory = {
|
|
6
|
+
readonly id: number;
|
|
7
|
+
name: string;
|
|
8
|
+
description?: string | null;
|
|
9
|
+
readonly created_at: string | null;
|
|
10
|
+
readonly updated_at: string | null;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Serializer for prompt facets
|
|
7
|
+
*/
|
|
8
|
+
export type PromptFacet = {
|
|
9
|
+
/**
|
|
10
|
+
* Total number of prompts in this facet
|
|
11
|
+
*/
|
|
12
|
+
total: number;
|
|
13
|
+
/**
|
|
14
|
+
* Terms and their counts in this facet
|
|
15
|
+
*/
|
|
16
|
+
terms: Record<string, any>;
|
|
17
|
+
/**
|
|
18
|
+
* Count of prompts not in any term
|
|
19
|
+
*/
|
|
20
|
+
other: number;
|
|
21
|
+
};
|
|
22
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Prompt } from './Prompt';
|
|
6
|
+
import type { PromptFacet } from './PromptFacet';
|
|
7
|
+
/**
|
|
8
|
+
* Response serializer for PromptSearchView
|
|
9
|
+
*/
|
|
10
|
+
export type PromptSearchResponse = {
|
|
11
|
+
/**
|
|
12
|
+
* List of prompts matching the search criteria
|
|
13
|
+
*/
|
|
14
|
+
results: Array<Prompt>;
|
|
15
|
+
/**
|
|
16
|
+
* Total number of prompts matching the search criteria
|
|
17
|
+
*/
|
|
18
|
+
count: number;
|
|
19
|
+
/**
|
|
20
|
+
* URL for the next page of results
|
|
21
|
+
*/
|
|
22
|
+
next: string | null;
|
|
23
|
+
/**
|
|
24
|
+
* URL for the previous page of results
|
|
25
|
+
*/
|
|
26
|
+
previous: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* Current page number
|
|
29
|
+
*/
|
|
30
|
+
current_page: number;
|
|
31
|
+
/**
|
|
32
|
+
* Total number of pages
|
|
33
|
+
*/
|
|
34
|
+
num_pages: number;
|
|
35
|
+
/**
|
|
36
|
+
* Facet information for filtering
|
|
37
|
+
*/
|
|
38
|
+
facets?: Record<string, PromptFacet>;
|
|
39
|
+
};
|
|
40
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* * `viewable_by_tenant_admins` - Viewable By Tenant Admins
|
|
7
|
+
* * `viewable_by_tenant_students` - Viewable By Tenant Students
|
|
8
|
+
* * `viewable_by_anyone` - Viewable By Anyone
|
|
9
|
+
*/
|
|
10
|
+
export enum PromptVisibilityEnum {
|
|
11
|
+
VIEWABLE_BY_TENANT_ADMINS = 'viewable_by_tenant_admins',
|
|
12
|
+
VIEWABLE_BY_TENANT_STUDENTS = 'viewable_by_tenant_students',
|
|
13
|
+
VIEWABLE_BY_ANYONE = 'viewable_by_anyone',
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* * `openai` - Openai
|
|
7
|
+
* * `google` - Google
|
|
8
|
+
* * `elevenlabs` - Elevenlabs
|
|
9
|
+
*/
|
|
10
|
+
export enum ProviderEnum {
|
|
11
|
+
OPENAI = 'openai',
|
|
12
|
+
GOOGLE = 'google',
|
|
13
|
+
ELEVENLABS = 'elevenlabs',
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type QuestionCardTag = {
|
|
6
|
+
readonly id: number;
|
|
7
|
+
name: string;
|
|
8
|
+
difficulty: number;
|
|
9
|
+
readonly total_cards: number;
|
|
10
|
+
readonly correct_answers: number;
|
|
11
|
+
readonly correct_rate: number;
|
|
12
|
+
};
|
|
13
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { InputQuestion } from './InputQuestion';
|
|
6
|
+
/**
|
|
7
|
+
* Serializer for incoming request data that includes initial questions and the username.
|
|
8
|
+
*
|
|
9
|
+
* Attributes:
|
|
10
|
+
* username (str): Username of the requesting student or user.
|
|
11
|
+
* initial_questions (list[InputQuestionSerializer]): List of initial questions provided by the LMS.
|
|
12
|
+
* question_count (int): Number of questions the mentor (llm) should generate
|
|
13
|
+
*/
|
|
14
|
+
export type QuestionRequest = {
|
|
15
|
+
username: string;
|
|
16
|
+
initial_questions: Array<InputQuestion>;
|
|
17
|
+
question_count?: number;
|
|
18
|
+
subject: string;
|
|
19
|
+
};
|
|
20
|
+
|