@iblai/iblai-api 3.47.2-core → 3.48.0-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 +15685 -293
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +15679 -294
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +15685 -293
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +297 -4
- 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/PaginatedRbacGroupList.d.ts +7 -0
- package/dist/types/models/PaginatedRbacGroupRoleList.d.ts +7 -0
- package/dist/types/models/PaginatedRbacPolicyList.d.ts +7 -0
- package/dist/types/models/PaginatedRbacRoleList.d.ts +7 -0
- package/dist/types/models/PaginatedRbacUserRoleList.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/PatchedRbacGroup.d.ts +34 -0
- package/dist/types/models/PatchedRbacGroupRole.d.ts +13 -0
- package/dist/types/models/PatchedRbacPolicy.d.ts +28 -0
- package/dist/types/models/PatchedRbacRole.d.ts +20 -0
- package/dist/types/models/PatchedRbacUserRole.d.ts +28 -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/RbacGroup.d.ts +34 -0
- package/dist/types/models/RbacGroupRole.d.ts +13 -0
- package/dist/types/models/RbacPlatform.d.ts +14 -0
- package/dist/types/models/RbacPolicy.d.ts +28 -0
- package/dist/types/models/RbacRole.d.ts +20 -0
- package/dist/types/models/RbacUser.d.ts +13 -0
- package/dist/types/models/RbacUserRole.d.ts +28 -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/CoreService.d.ts +232 -43
- 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 +297 -4
- 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/PaginatedRbacGroupList.ts +12 -0
- package/src/models/PaginatedRbacGroupRoleList.ts +12 -0
- package/src/models/PaginatedRbacPolicyList.ts +12 -0
- package/src/models/PaginatedRbacRoleList.ts +12 -0
- package/src/models/PaginatedRbacUserRoleList.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/PatchedRbacGroup.ts +39 -0
- package/src/models/PatchedRbacGroupRole.ts +18 -0
- package/src/models/PatchedRbacPolicy.ts +33 -0
- package/src/models/PatchedRbacRole.ts +25 -0
- package/src/models/PatchedRbacUserRole.ts +33 -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/RbacGroup.ts +39 -0
- package/src/models/RbacGroupRole.ts +18 -0
- package/src/models/RbacPlatform.ts +19 -0
- package/src/models/RbacPolicy.ts +33 -0
- package/src/models/RbacRole.ts +25 -0
- package/src/models/RbacUser.ts +18 -0
- package/src/models/RbacUserRole.ts +33 -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/CoreService.ts +610 -80
- package/src/services/SearchService.ts +981 -261
- package/dist/types/models/CheckPermissionRequest.d.ts +0 -22
- package/dist/types/models/RolePermissions.d.ts +0 -17
- package/dist/types/models/UserRole.d.ts +0 -25
- package/src/models/CheckPermissionRequest.ts +0 -27
- package/src/models/RolePermissions.ts +0 -22
- package/src/models/UserRole.ts +0 -30
|
@@ -0,0 +1,920 @@
|
|
|
1
|
+
import type { GuidedPromptsResponse } from '../models/GuidedPromptsResponse';
|
|
2
|
+
import type { LanguagesView } from '../models/LanguagesView';
|
|
3
|
+
import type { MemoryStatusRequestView } from '../models/MemoryStatusRequestView';
|
|
4
|
+
import type { MemoryStatusView } from '../models/MemoryStatusView';
|
|
5
|
+
import type { Metadata } from '../models/Metadata';
|
|
6
|
+
import type { PatchedPrompt } from '../models/PatchedPrompt';
|
|
7
|
+
import type { Prompt } from '../models/Prompt';
|
|
8
|
+
import type { PromptCategory } from '../models/PromptCategory';
|
|
9
|
+
import type { StylesView } from '../models/StylesView';
|
|
10
|
+
import type { TagsView } from '../models/TagsView';
|
|
11
|
+
import type { TonesView } from '../models/TonesView';
|
|
12
|
+
import type { UserAllChatMemoryView } from '../models/UserAllChatMemoryView';
|
|
13
|
+
import type { UserCatalogItemMemoryView } from '../models/UserCatalogItemMemoryView';
|
|
14
|
+
import type { UserChatMemoryStatusRequestView } from '../models/UserChatMemoryStatusRequestView';
|
|
15
|
+
import type { UserChatMemoryStatusView } from '../models/UserChatMemoryStatusView';
|
|
16
|
+
import type { UserChatMemoryUpdateView } from '../models/UserChatMemoryUpdateView';
|
|
17
|
+
import type { UserMemoryContextRequest } from '../models/UserMemoryContextRequest';
|
|
18
|
+
import type { UserMemoryContextResponse } from '../models/UserMemoryContextResponse';
|
|
19
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
20
|
+
export declare class AiPromptService {
|
|
21
|
+
/**
|
|
22
|
+
* Create or update metadata for a prompt.
|
|
23
|
+
*
|
|
24
|
+
* Args:
|
|
25
|
+
* request: The HTTP request containing the metadata.
|
|
26
|
+
* org: The organization/tenant identifier.
|
|
27
|
+
*
|
|
28
|
+
* Returns:
|
|
29
|
+
* Response: The created or updated prompt metadata.
|
|
30
|
+
*
|
|
31
|
+
* Raises:
|
|
32
|
+
* BadRequest: If the provided data is invalid.
|
|
33
|
+
* @param org
|
|
34
|
+
* @param requestBody
|
|
35
|
+
* @returns Metadata
|
|
36
|
+
* @throws ApiError
|
|
37
|
+
*/
|
|
38
|
+
static aiPromptOrgsMetadataCreate(org: string, requestBody: Metadata): CancelablePromise<Metadata>;
|
|
39
|
+
/**
|
|
40
|
+
* Retrieve chat memory for a specific user.
|
|
41
|
+
*
|
|
42
|
+
* Args:
|
|
43
|
+
* request: The HTTP request.
|
|
44
|
+
* org: The organization/tenant identifier.
|
|
45
|
+
* user_id: The ID of the user to retrieve chat memory for.
|
|
46
|
+
*
|
|
47
|
+
* Returns:
|
|
48
|
+
* Response: The user's chat memory entries.
|
|
49
|
+
*
|
|
50
|
+
* Raises:
|
|
51
|
+
* NotFound: If no chat memory exists for the user.
|
|
52
|
+
* @param org
|
|
53
|
+
* @param userId
|
|
54
|
+
* @returns UserAllChatMemoryView
|
|
55
|
+
* @throws ApiError
|
|
56
|
+
*/
|
|
57
|
+
static aiPromptOrgsUsersAllChatsMemoryRetrieve(org: string, userId: string): CancelablePromise<UserAllChatMemoryView>;
|
|
58
|
+
/**
|
|
59
|
+
* Create a new chat memory entry for a user.
|
|
60
|
+
*
|
|
61
|
+
* Args:
|
|
62
|
+
* request: The HTTP request containing the chat memory data.
|
|
63
|
+
* org: The organization/tenant identifier.
|
|
64
|
+
* user_id: The ID of the user to create chat memory for.
|
|
65
|
+
*
|
|
66
|
+
* Returns:
|
|
67
|
+
* Response: The created chat memory entry.
|
|
68
|
+
*
|
|
69
|
+
* Raises:
|
|
70
|
+
* BadRequest: If the provided data is invalid.
|
|
71
|
+
* @param org
|
|
72
|
+
* @param userId
|
|
73
|
+
* @param requestBody
|
|
74
|
+
* @returns UserAllChatMemoryView
|
|
75
|
+
* @throws ApiError
|
|
76
|
+
*/
|
|
77
|
+
static aiPromptOrgsUsersAllChatsMemoryCreate(org: string, userId: string, requestBody: UserAllChatMemoryView): CancelablePromise<UserAllChatMemoryView>;
|
|
78
|
+
/**
|
|
79
|
+
* Update chat memory for a specific user.
|
|
80
|
+
*
|
|
81
|
+
* Args:
|
|
82
|
+
* request: The HTTP request containing the updated chat memory data.
|
|
83
|
+
* org: The organization/tenant identifier.
|
|
84
|
+
* user_id: The ID of the user to update chat memory for.
|
|
85
|
+
*
|
|
86
|
+
* Returns:
|
|
87
|
+
* Response: A confirmation of the scheduled update task.
|
|
88
|
+
*
|
|
89
|
+
* Raises:
|
|
90
|
+
* BadRequest: If the provided data is invalid.
|
|
91
|
+
* NotFound: If no chat memory exists for the user.
|
|
92
|
+
* @param org
|
|
93
|
+
* @param userId
|
|
94
|
+
* @param requestBody
|
|
95
|
+
* @returns UserChatMemoryUpdateView
|
|
96
|
+
* @throws ApiError
|
|
97
|
+
*/
|
|
98
|
+
static aiPromptOrgsUsersAllChatsMemoryUpdate(org: string, userId: string, requestBody: UserAllChatMemoryView): CancelablePromise<UserChatMemoryUpdateView>;
|
|
99
|
+
/**
|
|
100
|
+
* Delete all chat memory for a specific user.
|
|
101
|
+
*
|
|
102
|
+
* Args:
|
|
103
|
+
* request: The HTTP request.
|
|
104
|
+
* org: The organization/tenant identifier.
|
|
105
|
+
* user_id: The ID of the user to delete chat memory for.
|
|
106
|
+
*
|
|
107
|
+
* Returns:
|
|
108
|
+
* Response: A success message if the memory was deleted.
|
|
109
|
+
*
|
|
110
|
+
* Raises:
|
|
111
|
+
* NotFound: If no chat memory exists for the user.
|
|
112
|
+
* @param org
|
|
113
|
+
* @param userId
|
|
114
|
+
* @returns void
|
|
115
|
+
* @throws ApiError
|
|
116
|
+
*/
|
|
117
|
+
static aiPromptOrgsUsersAllChatsMemoryDestroy(org: string, userId: string): CancelablePromise<void>;
|
|
118
|
+
/**
|
|
119
|
+
* Update a specific chat memory entry.
|
|
120
|
+
*
|
|
121
|
+
* Args:
|
|
122
|
+
* request: The HTTP request containing the updated chat memory data.
|
|
123
|
+
* org: The organization/tenant identifier.
|
|
124
|
+
* user_id: The ID of the user who owns the memory.
|
|
125
|
+
* memory_id: The ID of the specific memory entry to update.
|
|
126
|
+
*
|
|
127
|
+
* Returns:
|
|
128
|
+
* Response: The updated chat memory entry.
|
|
129
|
+
*
|
|
130
|
+
* Raises:
|
|
131
|
+
* BadRequest: If the provided data is invalid.
|
|
132
|
+
* NotFound: If the specified memory entry does not exist.
|
|
133
|
+
* @param memoryId
|
|
134
|
+
* @param org
|
|
135
|
+
* @param userId
|
|
136
|
+
* @param requestBody
|
|
137
|
+
* @returns UserAllChatMemoryView
|
|
138
|
+
* @throws ApiError
|
|
139
|
+
*/
|
|
140
|
+
static aiPromptOrgsUsersAllChatsMemoryUpdate2(memoryId: number, org: string, userId: string, requestBody: UserAllChatMemoryView): CancelablePromise<UserAllChatMemoryView>;
|
|
141
|
+
/**
|
|
142
|
+
* Delete a specific chat memory entry.
|
|
143
|
+
*
|
|
144
|
+
* Args:
|
|
145
|
+
* request: The HTTP request.
|
|
146
|
+
* org: The organization/tenant identifier.
|
|
147
|
+
* user_id: The ID of the user who owns the memory.
|
|
148
|
+
* memory_id: The ID of the specific memory entry to delete.
|
|
149
|
+
*
|
|
150
|
+
* Returns:
|
|
151
|
+
* Response: A success message if the memory was deleted.
|
|
152
|
+
*
|
|
153
|
+
* Raises:
|
|
154
|
+
* NotFound: If the specified memory entry does not exist.
|
|
155
|
+
* @param memoryId
|
|
156
|
+
* @param org
|
|
157
|
+
* @param userId
|
|
158
|
+
* @returns void
|
|
159
|
+
* @throws ApiError
|
|
160
|
+
*/
|
|
161
|
+
static aiPromptOrgsUsersAllChatsMemoryDestroy2(memoryId: number, org: string, userId: string): CancelablePromise<void>;
|
|
162
|
+
/**
|
|
163
|
+
* Retrieve the chat memory status for a specific user.
|
|
164
|
+
*
|
|
165
|
+
* Args:
|
|
166
|
+
* request: The HTTP request.
|
|
167
|
+
* org: The organization/tenant identifier.
|
|
168
|
+
* user_id: The ID of the user to retrieve memory status for.
|
|
169
|
+
*
|
|
170
|
+
* Returns:
|
|
171
|
+
* Response: The user's chat memory status.
|
|
172
|
+
*
|
|
173
|
+
* Raises:
|
|
174
|
+
* NotFound: If no memory status exists for the user.
|
|
175
|
+
* @param org
|
|
176
|
+
* @param userId
|
|
177
|
+
* @returns UserChatMemoryStatusView
|
|
178
|
+
* @throws ApiError
|
|
179
|
+
*/
|
|
180
|
+
static aiPromptOrgsUsersChatMemoryStatusRetrieve(org: string, userId: string): CancelablePromise<UserChatMemoryStatusView>;
|
|
181
|
+
/**
|
|
182
|
+
* Update the chat memory status for a specific user.
|
|
183
|
+
*
|
|
184
|
+
* Args:
|
|
185
|
+
* request: The HTTP request containing the updated status.
|
|
186
|
+
* org: The organization/tenant identifier.
|
|
187
|
+
* user_id: The ID of the user to update memory status for.
|
|
188
|
+
*
|
|
189
|
+
* Returns:
|
|
190
|
+
* Response: The updated chat memory status.
|
|
191
|
+
*
|
|
192
|
+
* Raises:
|
|
193
|
+
* BadRequest: If the provided data is invalid.
|
|
194
|
+
* @param org
|
|
195
|
+
* @param userId
|
|
196
|
+
* @param requestBody
|
|
197
|
+
* @returns UserChatMemoryStatusView
|
|
198
|
+
* @throws ApiError
|
|
199
|
+
*/
|
|
200
|
+
static aiPromptOrgsUsersChatMemoryStatusUpdate(org: string, userId: string, requestBody: UserChatMemoryStatusRequestView): CancelablePromise<UserChatMemoryStatusView>;
|
|
201
|
+
/**
|
|
202
|
+
* Retrieve all available prompt languages.
|
|
203
|
+
*
|
|
204
|
+
* Args:
|
|
205
|
+
* request: The HTTP request.
|
|
206
|
+
* org: The organization/tenant identifier.
|
|
207
|
+
* user_id: The ID of the user making the request.
|
|
208
|
+
*
|
|
209
|
+
* Returns:
|
|
210
|
+
* Response: A list of available prompt languages.
|
|
211
|
+
* @param org
|
|
212
|
+
* @param userId
|
|
213
|
+
* @returns LanguagesView
|
|
214
|
+
* @throws ApiError
|
|
215
|
+
*/
|
|
216
|
+
static aiPromptOrgsUsersLanguagesRetrieve(org: string, userId: string): CancelablePromise<LanguagesView>;
|
|
217
|
+
/**
|
|
218
|
+
* Create a new prompt language.
|
|
219
|
+
*
|
|
220
|
+
* Args:
|
|
221
|
+
* request: The HTTP request containing the language data.
|
|
222
|
+
* org: The organization/tenant identifier.
|
|
223
|
+
* user_id: The ID of the user creating the language.
|
|
224
|
+
*
|
|
225
|
+
* Returns:
|
|
226
|
+
* Response: The created prompt language.
|
|
227
|
+
*
|
|
228
|
+
* Raises:
|
|
229
|
+
* BadRequest: If the provided data is invalid.
|
|
230
|
+
* @param org
|
|
231
|
+
* @param userId
|
|
232
|
+
* @param requestBody
|
|
233
|
+
* @returns LanguagesView
|
|
234
|
+
* @throws ApiError
|
|
235
|
+
*/
|
|
236
|
+
static aiPromptOrgsUsersLanguagesCreate(org: string, userId: string, requestBody: LanguagesView): CancelablePromise<LanguagesView>;
|
|
237
|
+
/**
|
|
238
|
+
* Update a specific prompt language.
|
|
239
|
+
*
|
|
240
|
+
* Args:
|
|
241
|
+
* request: The HTTP request containing the updated language data.
|
|
242
|
+
* org: The organization/tenant identifier.
|
|
243
|
+
* user_id: The ID of the user making the request.
|
|
244
|
+
* language_id: The ID of the language to update.
|
|
245
|
+
*
|
|
246
|
+
* Returns:
|
|
247
|
+
* Response: The updated prompt language.
|
|
248
|
+
*
|
|
249
|
+
* Raises:
|
|
250
|
+
* BadRequest: If the provided data is invalid.
|
|
251
|
+
* NotFound: If the specified language does not exist.
|
|
252
|
+
* @param languageId
|
|
253
|
+
* @param org
|
|
254
|
+
* @param userId
|
|
255
|
+
* @param requestBody
|
|
256
|
+
* @returns LanguagesView
|
|
257
|
+
* @throws ApiError
|
|
258
|
+
*/
|
|
259
|
+
static aiPromptOrgsUsersLanguagesUpdate(languageId: number, org: string, userId: string, requestBody: LanguagesView): CancelablePromise<LanguagesView>;
|
|
260
|
+
/**
|
|
261
|
+
* Delete a specific prompt language.
|
|
262
|
+
*
|
|
263
|
+
* Args:
|
|
264
|
+
* request: The HTTP request.
|
|
265
|
+
* org: The organization/tenant identifier.
|
|
266
|
+
* user_id: The ID of the user making the request.
|
|
267
|
+
* language_id: The ID of the language to delete.
|
|
268
|
+
*
|
|
269
|
+
* Returns:
|
|
270
|
+
* Response: A success message if the language was deleted.
|
|
271
|
+
*
|
|
272
|
+
* Raises:
|
|
273
|
+
* NotFound: If the specified language does not exist.
|
|
274
|
+
* @param languageId
|
|
275
|
+
* @param org
|
|
276
|
+
* @param userId
|
|
277
|
+
* @returns void
|
|
278
|
+
* @throws ApiError
|
|
279
|
+
*/
|
|
280
|
+
static aiPromptOrgsUsersLanguagesDestroy(languageId: number, org: string, userId: string): CancelablePromise<void>;
|
|
281
|
+
/**
|
|
282
|
+
* Retrieve catalog item memory for a specific user.
|
|
283
|
+
*
|
|
284
|
+
* Args:
|
|
285
|
+
* request: The HTTP request.
|
|
286
|
+
* org: The organization/tenant identifier.
|
|
287
|
+
* user_id: The ID of the user to retrieve catalog item memory for.
|
|
288
|
+
*
|
|
289
|
+
* Returns:
|
|
290
|
+
* Response: The user's catalog item memory entries.
|
|
291
|
+
*
|
|
292
|
+
* Raises:
|
|
293
|
+
* NotFound: If no catalog item memory exists for the user.
|
|
294
|
+
* @param org
|
|
295
|
+
* @param userId
|
|
296
|
+
* @returns UserCatalogItemMemoryView
|
|
297
|
+
* @throws ApiError
|
|
298
|
+
*/
|
|
299
|
+
static aiPromptOrgsUsersMemoryRetrieve(org: string, userId: string): CancelablePromise<UserCatalogItemMemoryView>;
|
|
300
|
+
/**
|
|
301
|
+
* Create a new catalog item memory entry for a user.
|
|
302
|
+
*
|
|
303
|
+
* Args:
|
|
304
|
+
* request: The HTTP request containing the catalog item memory data.
|
|
305
|
+
* org: The organization/tenant identifier.
|
|
306
|
+
* user_id: The ID of the user to create catalog item memory for.
|
|
307
|
+
*
|
|
308
|
+
* Returns:
|
|
309
|
+
* Response: The created catalog item memory entry.
|
|
310
|
+
*
|
|
311
|
+
* Raises:
|
|
312
|
+
* BadRequest: If the provided data is invalid.
|
|
313
|
+
* @param org
|
|
314
|
+
* @param userId
|
|
315
|
+
* @param requestBody
|
|
316
|
+
* @returns UserCatalogItemMemoryView
|
|
317
|
+
* @throws ApiError
|
|
318
|
+
*/
|
|
319
|
+
static aiPromptOrgsUsersMemoryCreate(org: string, userId: string, requestBody: UserCatalogItemMemoryView): CancelablePromise<UserCatalogItemMemoryView>;
|
|
320
|
+
/**
|
|
321
|
+
* Delete all catalog item memory for a specific user.
|
|
322
|
+
*
|
|
323
|
+
* Args:
|
|
324
|
+
* request: The HTTP request.
|
|
325
|
+
* org: The organization/tenant identifier.
|
|
326
|
+
* user_id: The ID of the user to delete catalog item memory for.
|
|
327
|
+
*
|
|
328
|
+
* Returns:
|
|
329
|
+
* Response: A success message if the memory was deleted.
|
|
330
|
+
*
|
|
331
|
+
* Raises:
|
|
332
|
+
* NotFound: If no catalog item memory exists for the user.
|
|
333
|
+
* @param org
|
|
334
|
+
* @param userId
|
|
335
|
+
* @returns void
|
|
336
|
+
* @throws ApiError
|
|
337
|
+
*/
|
|
338
|
+
static aiPromptOrgsUsersMemoryDestroy(org: string, userId: string): CancelablePromise<void>;
|
|
339
|
+
/**
|
|
340
|
+
* Retrieve a user's memory context settings.
|
|
341
|
+
* @param org
|
|
342
|
+
* @param userId
|
|
343
|
+
* @returns UserMemoryContextResponse
|
|
344
|
+
* @throws ApiError
|
|
345
|
+
*/
|
|
346
|
+
static aiPromptOrgsUsersMemoryContextRetrieve(org: string, userId: string): CancelablePromise<UserMemoryContextResponse>;
|
|
347
|
+
/**
|
|
348
|
+
* Updates the user's memory context settings.
|
|
349
|
+
*
|
|
350
|
+
* Returns:
|
|
351
|
+
*
|
|
352
|
+
* 200: list of user memory context data.
|
|
353
|
+
* @param org
|
|
354
|
+
* @param userId
|
|
355
|
+
* @param requestBody
|
|
356
|
+
* @returns UserMemoryContextResponse
|
|
357
|
+
* @throws ApiError
|
|
358
|
+
*/
|
|
359
|
+
static aiPromptOrgsUsersMemoryContextUpdate(org: string, userId: string, requestBody?: UserMemoryContextRequest): CancelablePromise<UserMemoryContextResponse>;
|
|
360
|
+
/**
|
|
361
|
+
* Retrieve the memory status for a specific user.
|
|
362
|
+
*
|
|
363
|
+
* Args:
|
|
364
|
+
* request: The HTTP request.
|
|
365
|
+
* org: The organization/tenant identifier.
|
|
366
|
+
* user_id: The ID of the user to retrieve memory status for.
|
|
367
|
+
*
|
|
368
|
+
* Returns:
|
|
369
|
+
* Response: The user's memory status.
|
|
370
|
+
*
|
|
371
|
+
* Raises:
|
|
372
|
+
* NotFound: If no memory status exists for the user.
|
|
373
|
+
* @param org
|
|
374
|
+
* @param userId
|
|
375
|
+
* @returns MemoryStatusView
|
|
376
|
+
* @throws ApiError
|
|
377
|
+
*/
|
|
378
|
+
static aiPromptOrgsUsersMemoryStatusRetrieve(org: string, userId: string): CancelablePromise<MemoryStatusView>;
|
|
379
|
+
/**
|
|
380
|
+
* Update the memory status for a specific user.
|
|
381
|
+
*
|
|
382
|
+
* Args:
|
|
383
|
+
* request: The HTTP request containing the updated status.
|
|
384
|
+
* org: The organization/tenant identifier.
|
|
385
|
+
* user_id: The ID of the user to update memory status for.
|
|
386
|
+
*
|
|
387
|
+
* Returns:
|
|
388
|
+
* Response: The updated memory status.
|
|
389
|
+
*
|
|
390
|
+
* Raises:
|
|
391
|
+
* BadRequest: If the provided data is invalid.
|
|
392
|
+
* @param org
|
|
393
|
+
* @param userId
|
|
394
|
+
* @param requestBody
|
|
395
|
+
* @returns MemoryStatusView
|
|
396
|
+
* @throws ApiError
|
|
397
|
+
*/
|
|
398
|
+
static aiPromptOrgsUsersMemoryStatusUpdate(org: string, userId: string, requestBody: MemoryStatusRequestView): CancelablePromise<MemoryStatusView>;
|
|
399
|
+
/**
|
|
400
|
+
* Update a specific catalog item memory entry.
|
|
401
|
+
*
|
|
402
|
+
* Args:
|
|
403
|
+
* request: The HTTP request containing the updated catalog item memory data.
|
|
404
|
+
* org: The organization/tenant identifier.
|
|
405
|
+
* user_id: The ID of the user who owns the memory.
|
|
406
|
+
* memory_id: The ID of the specific memory entry to update.
|
|
407
|
+
*
|
|
408
|
+
* Returns:
|
|
409
|
+
* Response: The updated catalog item memory entry.
|
|
410
|
+
*
|
|
411
|
+
* Raises:
|
|
412
|
+
* BadRequest: If the provided data is invalid.
|
|
413
|
+
* NotFound: If the specified memory entry does not exist.
|
|
414
|
+
* @param memoryId
|
|
415
|
+
* @param org
|
|
416
|
+
* @param userId
|
|
417
|
+
* @param requestBody
|
|
418
|
+
* @returns UserCatalogItemMemoryView
|
|
419
|
+
* @throws ApiError
|
|
420
|
+
*/
|
|
421
|
+
static aiPromptOrgsUsersMemoryUpdate(memoryId: number, org: string, userId: string, requestBody: UserCatalogItemMemoryView): CancelablePromise<UserCatalogItemMemoryView>;
|
|
422
|
+
/**
|
|
423
|
+
* Delete a specific catalog item memory entry.
|
|
424
|
+
*
|
|
425
|
+
* Args:
|
|
426
|
+
* request: The HTTP request.
|
|
427
|
+
* org: The organization/tenant identifier.
|
|
428
|
+
* user_id: The ID of the user who owns the memory.
|
|
429
|
+
* memory_id: The ID of the specific memory entry to delete.
|
|
430
|
+
*
|
|
431
|
+
* Returns:
|
|
432
|
+
* Response: A success message if the memory was deleted.
|
|
433
|
+
*
|
|
434
|
+
* Raises:
|
|
435
|
+
* NotFound: If the specified memory entry does not exist.
|
|
436
|
+
* @param memoryId
|
|
437
|
+
* @param org
|
|
438
|
+
* @param userId
|
|
439
|
+
* @returns void
|
|
440
|
+
* @throws ApiError
|
|
441
|
+
*/
|
|
442
|
+
static aiPromptOrgsUsersMemoryDestroy2(memoryId: number, org: string, userId: string): CancelablePromise<void>;
|
|
443
|
+
/**
|
|
444
|
+
* Retrieve metadata for a prompt.
|
|
445
|
+
*
|
|
446
|
+
* Args:
|
|
447
|
+
* request: The HTTP request.
|
|
448
|
+
* org: The organization/tenant identifier.
|
|
449
|
+
* user_id: The ID of the user making the request.
|
|
450
|
+
*
|
|
451
|
+
* Returns:
|
|
452
|
+
* Response: The prompt metadata.
|
|
453
|
+
*
|
|
454
|
+
* Raises:
|
|
455
|
+
* NotFound: If no metadata exists for the specific prompt
|
|
456
|
+
* @param org
|
|
457
|
+
* @param userId
|
|
458
|
+
* @returns Metadata
|
|
459
|
+
* @throws ApiError
|
|
460
|
+
*/
|
|
461
|
+
static aiPromptOrgsUsersMetadataRetrieve(org: string, userId: string): CancelablePromise<Metadata>;
|
|
462
|
+
/**
|
|
463
|
+
* API viewset for managing prompts.
|
|
464
|
+
*
|
|
465
|
+
* This view allows tenant admins and students to create, retrieve, update,
|
|
466
|
+
* and filter prompts based on various parameters.
|
|
467
|
+
*
|
|
468
|
+
* Permissions:
|
|
469
|
+
* - Accessible to both tenant administrators and students
|
|
470
|
+
* @param org
|
|
471
|
+
* @param userId
|
|
472
|
+
* @param category Category of the prompt
|
|
473
|
+
* @param createdBy Option to filter by username of the prompt creators.
|
|
474
|
+
* @param filterBy Filter options include, date, prompt, default is date
|
|
475
|
+
* @param mentorUniqueId Mentor unique id of the prompt
|
|
476
|
+
* @param tag Tag of the prompt
|
|
477
|
+
* @param visibility Visibility trype the mentor of the prompt
|
|
478
|
+
* @returns Prompt
|
|
479
|
+
* @throws ApiError
|
|
480
|
+
*/
|
|
481
|
+
static aiPromptOrgsUsersPromptList(org: string, userId: string, category?: number, createdBy?: string, filterBy?: string, mentorUniqueId?: string, tag?: number, visibility?: string): CancelablePromise<Array<Prompt>>;
|
|
482
|
+
/**
|
|
483
|
+
* Create a new prompt.
|
|
484
|
+
*
|
|
485
|
+
* Args:
|
|
486
|
+
* request: HTTP request containing prompt data.
|
|
487
|
+
*
|
|
488
|
+
* Returns:
|
|
489
|
+
* Response with created prompt details.
|
|
490
|
+
*
|
|
491
|
+
* Raises:
|
|
492
|
+
* ValidationError: If the input data is invalid.
|
|
493
|
+
* @param org
|
|
494
|
+
* @param userId
|
|
495
|
+
* @param requestBody
|
|
496
|
+
* @param category Category of the prompt
|
|
497
|
+
* @param createdBy Option to filter by username of the prompt creators.
|
|
498
|
+
* @param filterBy Filter options include, date, prompt, default is date
|
|
499
|
+
* @param mentorUniqueId Mentor unique id of the prompt
|
|
500
|
+
* @param tag Tag of the prompt
|
|
501
|
+
* @param visibility Visibility trype the mentor of the prompt
|
|
502
|
+
* @returns Prompt
|
|
503
|
+
* @throws ApiError
|
|
504
|
+
*/
|
|
505
|
+
static aiPromptOrgsUsersPromptCreate(org: string, userId: string, requestBody: Prompt, category?: number, createdBy?: string, filterBy?: string, mentorUniqueId?: string, tag?: number, visibility?: string): CancelablePromise<Prompt>;
|
|
506
|
+
/**
|
|
507
|
+
* API viewset for managing prompts.
|
|
508
|
+
*
|
|
509
|
+
* This view allows tenant admins and students to create, retrieve, update,
|
|
510
|
+
* and filter prompts based on various parameters.
|
|
511
|
+
*
|
|
512
|
+
* Permissions:
|
|
513
|
+
* - Accessible to both tenant administrators and students
|
|
514
|
+
* @param id A unique integer value identifying this prompt.
|
|
515
|
+
* @param org
|
|
516
|
+
* @param userId
|
|
517
|
+
* @param category Category of the prompt
|
|
518
|
+
* @param createdBy Option to filter by username of the prompt creators.
|
|
519
|
+
* @param filterBy Filter options include, date, prompt, default is date
|
|
520
|
+
* @param mentorUniqueId Mentor unique id of the prompt
|
|
521
|
+
* @param tag Tag of the prompt
|
|
522
|
+
* @param visibility Visibility trype the mentor of the prompt
|
|
523
|
+
* @returns Prompt
|
|
524
|
+
* @throws ApiError
|
|
525
|
+
*/
|
|
526
|
+
static aiPromptOrgsUsersPromptRetrieve(id: number, org: string, userId: string, category?: number, createdBy?: string, filterBy?: string, mentorUniqueId?: string, tag?: number, visibility?: string): CancelablePromise<Prompt>;
|
|
527
|
+
/**
|
|
528
|
+
* Update an existing prompt.
|
|
529
|
+
*
|
|
530
|
+
* Args:
|
|
531
|
+
* request: HTTP request containing updated prompt data.
|
|
532
|
+
*
|
|
533
|
+
* Returns:
|
|
534
|
+
* Response with updated prompt details.
|
|
535
|
+
*
|
|
536
|
+
* Raises:
|
|
537
|
+
* ValidationError: If the input data is invalid.
|
|
538
|
+
* PermissionDenied: If the prompt is system-generated and cannot be edited.
|
|
539
|
+
* @param id A unique integer value identifying this prompt.
|
|
540
|
+
* @param org
|
|
541
|
+
* @param userId
|
|
542
|
+
* @param requestBody
|
|
543
|
+
* @param category Category of the prompt
|
|
544
|
+
* @param createdBy Option to filter by username of the prompt creators.
|
|
545
|
+
* @param filterBy Filter options include, date, prompt, default is date
|
|
546
|
+
* @param mentorUniqueId Mentor unique id of the prompt
|
|
547
|
+
* @param tag Tag of the prompt
|
|
548
|
+
* @param visibility Visibility trype the mentor of the prompt
|
|
549
|
+
* @returns Prompt
|
|
550
|
+
* @throws ApiError
|
|
551
|
+
*/
|
|
552
|
+
static aiPromptOrgsUsersPromptUpdate(id: number, org: string, userId: string, requestBody: Prompt, category?: number, createdBy?: string, filterBy?: string, mentorUniqueId?: string, tag?: number, visibility?: string): CancelablePromise<Prompt>;
|
|
553
|
+
/**
|
|
554
|
+
* API viewset for managing prompts.
|
|
555
|
+
*
|
|
556
|
+
* This view allows tenant admins and students to create, retrieve, update,
|
|
557
|
+
* and filter prompts based on various parameters.
|
|
558
|
+
*
|
|
559
|
+
* Permissions:
|
|
560
|
+
* - Accessible to both tenant administrators and students
|
|
561
|
+
* @param id A unique integer value identifying this prompt.
|
|
562
|
+
* @param org
|
|
563
|
+
* @param userId
|
|
564
|
+
* @param category Category of the prompt
|
|
565
|
+
* @param createdBy Option to filter by username of the prompt creators.
|
|
566
|
+
* @param filterBy Filter options include, date, prompt, default is date
|
|
567
|
+
* @param mentorUniqueId Mentor unique id of the prompt
|
|
568
|
+
* @param tag Tag of the prompt
|
|
569
|
+
* @param visibility Visibility trype the mentor of the prompt
|
|
570
|
+
* @param requestBody
|
|
571
|
+
* @returns Prompt
|
|
572
|
+
* @throws ApiError
|
|
573
|
+
*/
|
|
574
|
+
static aiPromptOrgsUsersPromptPartialUpdate(id: number, org: string, userId: string, category?: number, createdBy?: string, filterBy?: string, mentorUniqueId?: string, tag?: number, visibility?: string, requestBody?: PatchedPrompt): CancelablePromise<Prompt>;
|
|
575
|
+
/**
|
|
576
|
+
* API viewset for managing prompts.
|
|
577
|
+
*
|
|
578
|
+
* This view allows tenant admins and students to create, retrieve, update,
|
|
579
|
+
* and filter prompts based on various parameters.
|
|
580
|
+
*
|
|
581
|
+
* Permissions:
|
|
582
|
+
* - Accessible to both tenant administrators and students
|
|
583
|
+
* @param id A unique integer value identifying this prompt.
|
|
584
|
+
* @param org
|
|
585
|
+
* @param userId
|
|
586
|
+
* @param category Category of the prompt
|
|
587
|
+
* @param createdBy Option to filter by username of the prompt creators.
|
|
588
|
+
* @param filterBy Filter options include, date, prompt, default is date
|
|
589
|
+
* @param mentorUniqueId Mentor unique id of the prompt
|
|
590
|
+
* @param tag Tag of the prompt
|
|
591
|
+
* @param visibility Visibility trype the mentor of the prompt
|
|
592
|
+
* @returns void
|
|
593
|
+
* @throws ApiError
|
|
594
|
+
*/
|
|
595
|
+
static aiPromptOrgsUsersPromptDestroy(id: number, org: string, userId: string, category?: number, createdBy?: string, filterBy?: string, mentorUniqueId?: string, tag?: number, visibility?: string): CancelablePromise<void>;
|
|
596
|
+
/**
|
|
597
|
+
* Retrieve a list of prompt categories.
|
|
598
|
+
*
|
|
599
|
+
* Query Parameters:
|
|
600
|
+
* - filter_by (optional): Sorts categories by name if set to "name".
|
|
601
|
+
*
|
|
602
|
+
* Args:
|
|
603
|
+
* request: The HTTP request.
|
|
604
|
+
* org: Organization key identifier.
|
|
605
|
+
*
|
|
606
|
+
* Returns:
|
|
607
|
+
* - 200: List of prompt categories.
|
|
608
|
+
* - 400: If query parameters are invalid.
|
|
609
|
+
* @param org
|
|
610
|
+
* @param userId
|
|
611
|
+
* @param filterBy Filter options include, date, name, default is date
|
|
612
|
+
* @returns PromptCategory
|
|
613
|
+
* @throws ApiError
|
|
614
|
+
*/
|
|
615
|
+
static aiPromptOrgsUsersPromptsCategoryRetrieve(org: string, userId: string, filterBy?: string): CancelablePromise<PromptCategory>;
|
|
616
|
+
/**
|
|
617
|
+
* Create a new prompt category.
|
|
618
|
+
*
|
|
619
|
+
* Args:
|
|
620
|
+
* request: The HTTP request containing category information.
|
|
621
|
+
* org: Organization key identifier.
|
|
622
|
+
* user_id: User performing the request.
|
|
623
|
+
*
|
|
624
|
+
* Returns:
|
|
625
|
+
* - 201: Created prompt category.
|
|
626
|
+
* - 401: If the user is not a tenant admin.
|
|
627
|
+
* - 400: If request data is invalid.
|
|
628
|
+
* @param org
|
|
629
|
+
* @param userId
|
|
630
|
+
* @param requestBody
|
|
631
|
+
* @returns PromptCategory Created prompt category
|
|
632
|
+
* @throws ApiError
|
|
633
|
+
*/
|
|
634
|
+
static aiPromptOrgsUsersPromptsCategoryCreate(org: string, userId: string, requestBody: PromptCategory): CancelablePromise<PromptCategory>;
|
|
635
|
+
/**
|
|
636
|
+
* Delete a prompt category.
|
|
637
|
+
*
|
|
638
|
+
* Args:
|
|
639
|
+
* request: The HTTP request containing the category to delete.
|
|
640
|
+
* org: Organization key identifier.
|
|
641
|
+
* user_id: User performing the request.
|
|
642
|
+
*
|
|
643
|
+
* Returns:
|
|
644
|
+
* - 204: No Content (successful deletion).
|
|
645
|
+
* - 401: If the user is not a tenant admin.
|
|
646
|
+
* - 400: If request data is invalid.
|
|
647
|
+
* - 404: If the category does not exist.
|
|
648
|
+
* @param org
|
|
649
|
+
* @param userId
|
|
650
|
+
* @returns void
|
|
651
|
+
* @throws ApiError
|
|
652
|
+
*/
|
|
653
|
+
static aiPromptOrgsUsersPromptsCategoryDestroy(org: string, userId: string): CancelablePromise<void>;
|
|
654
|
+
/**
|
|
655
|
+
* API viewset for managing prompts.
|
|
656
|
+
*
|
|
657
|
+
* This view allows anyone to retrieve,
|
|
658
|
+
* and filter prompts based on various parameters.
|
|
659
|
+
*
|
|
660
|
+
* Permissions:
|
|
661
|
+
* - Accessible to anyone
|
|
662
|
+
* @param org
|
|
663
|
+
* @param userId
|
|
664
|
+
* @param category Category of the prompt
|
|
665
|
+
* @param createdBy Option to filter by username of the prompt creators.
|
|
666
|
+
* @param filterBy Filter options include, date, prompt, default is date
|
|
667
|
+
* @param mentorUniqueId Mentor unique id of the prompt
|
|
668
|
+
* @param tag Tag of the prompt
|
|
669
|
+
* @param visibility Visibility trype the mentor of the prompt
|
|
670
|
+
* @returns Prompt
|
|
671
|
+
* @throws ApiError
|
|
672
|
+
*/
|
|
673
|
+
static aiPromptOrgsUsersPromptsPublicList(org: string, userId: string, category?: number, createdBy?: string, filterBy?: string, mentorUniqueId?: string, tag?: number, visibility?: string): CancelablePromise<Array<Prompt>>;
|
|
674
|
+
/**
|
|
675
|
+
* API viewset for managing prompts.
|
|
676
|
+
*
|
|
677
|
+
* This view allows anyone to retrieve,
|
|
678
|
+
* and filter prompts based on various parameters.
|
|
679
|
+
*
|
|
680
|
+
* Permissions:
|
|
681
|
+
* - Accessible to anyone
|
|
682
|
+
* @param id A unique integer value identifying this prompt.
|
|
683
|
+
* @param org
|
|
684
|
+
* @param userId
|
|
685
|
+
* @param category Category of the prompt
|
|
686
|
+
* @param createdBy Option to filter by username of the prompt creators.
|
|
687
|
+
* @param filterBy Filter options include, date, prompt, default is date
|
|
688
|
+
* @param mentorUniqueId Mentor unique id of the prompt
|
|
689
|
+
* @param tag Tag of the prompt
|
|
690
|
+
* @param visibility Visibility trype the mentor of the prompt
|
|
691
|
+
* @returns Prompt
|
|
692
|
+
* @throws ApiError
|
|
693
|
+
*/
|
|
694
|
+
static aiPromptOrgsUsersPromptsPublicRetrieve(id: number, org: string, userId: string, category?: number, createdBy?: string, filterBy?: string, mentorUniqueId?: string, tag?: number, visibility?: string): CancelablePromise<Prompt>;
|
|
695
|
+
/**
|
|
696
|
+
* Retrieve guided prompts for a chat session
|
|
697
|
+
* Fetches AI-generated guided prompts for a given session and organization.
|
|
698
|
+
* @param org
|
|
699
|
+
* @param sessionId
|
|
700
|
+
* @param userId
|
|
701
|
+
* @returns GuidedPromptsResponse
|
|
702
|
+
* @throws ApiError
|
|
703
|
+
*/
|
|
704
|
+
static aiPromptOrgsUsersSessionsGuidedPromptsRetrieve(org: string, sessionId: string, userId: string): CancelablePromise<GuidedPromptsResponse>;
|
|
705
|
+
/**
|
|
706
|
+
* Endpoint for getting prompt styles.
|
|
707
|
+
*
|
|
708
|
+
* Accessible to tenant admins and students.
|
|
709
|
+
*
|
|
710
|
+
* Returns:
|
|
711
|
+
*
|
|
712
|
+
* 200: List of styles.
|
|
713
|
+
* @param org
|
|
714
|
+
* @param userId
|
|
715
|
+
* @returns StylesView
|
|
716
|
+
* @throws ApiError
|
|
717
|
+
*/
|
|
718
|
+
static aiPromptOrgsUsersStylesRetrieve(org: string, userId: string): CancelablePromise<StylesView>;
|
|
719
|
+
/**
|
|
720
|
+
* Endpoint for Adding prompt style.
|
|
721
|
+
*
|
|
722
|
+
* Accessible to tenant admins only.
|
|
723
|
+
*
|
|
724
|
+
* Returns:
|
|
725
|
+
*
|
|
726
|
+
* 201: style Object.
|
|
727
|
+
*
|
|
728
|
+
* 400: When data is not valid.
|
|
729
|
+
* @param org
|
|
730
|
+
* @param userId
|
|
731
|
+
* @param requestBody
|
|
732
|
+
* @returns StylesView
|
|
733
|
+
* @throws ApiError
|
|
734
|
+
*/
|
|
735
|
+
static aiPromptOrgsUsersStylesCreate(org: string, userId: string, requestBody: StylesView): CancelablePromise<StylesView>;
|
|
736
|
+
/**
|
|
737
|
+
* Endpoint for Adding prompt style.
|
|
738
|
+
*
|
|
739
|
+
* Accessible to tenant admins only.
|
|
740
|
+
*
|
|
741
|
+
* Returns:
|
|
742
|
+
*
|
|
743
|
+
* 200: style Object.
|
|
744
|
+
*
|
|
745
|
+
* 400: When data is not valid.
|
|
746
|
+
* @param org
|
|
747
|
+
* @param styleId
|
|
748
|
+
* @param userId
|
|
749
|
+
* @param requestBody
|
|
750
|
+
* @returns StylesView
|
|
751
|
+
* @throws ApiError
|
|
752
|
+
*/
|
|
753
|
+
static aiPromptOrgsUsersStylesUpdate(org: string, styleId: number, userId: string, requestBody: StylesView): CancelablePromise<StylesView>;
|
|
754
|
+
/**
|
|
755
|
+
* Endpoint for deleting prompt style.
|
|
756
|
+
*
|
|
757
|
+
* Accessible to tenant admins and students.
|
|
758
|
+
*
|
|
759
|
+
* Returns:
|
|
760
|
+
*
|
|
761
|
+
* 204: No response data.
|
|
762
|
+
*
|
|
763
|
+
* 400: When data is not valid.
|
|
764
|
+
* @param org
|
|
765
|
+
* @param styleId
|
|
766
|
+
* @param userId
|
|
767
|
+
* @returns void
|
|
768
|
+
* @throws ApiError
|
|
769
|
+
*/
|
|
770
|
+
static aiPromptOrgsUsersStylesDestroy(org: string, styleId: number, userId: string): CancelablePromise<void>;
|
|
771
|
+
/**
|
|
772
|
+
* Endpoint for getting prompt tags.
|
|
773
|
+
*
|
|
774
|
+
* Accessible to tenant admins and students.
|
|
775
|
+
*
|
|
776
|
+
* Returns:
|
|
777
|
+
*
|
|
778
|
+
* 200: List of tags.
|
|
779
|
+
* @param org
|
|
780
|
+
* @param userId
|
|
781
|
+
* @returns TagsView
|
|
782
|
+
* @throws ApiError
|
|
783
|
+
*/
|
|
784
|
+
static aiPromptOrgsUsersTagsRetrieve(org: string, userId: string): CancelablePromise<TagsView>;
|
|
785
|
+
/**
|
|
786
|
+
* Endpoint for Adding prompt tag.
|
|
787
|
+
*
|
|
788
|
+
* Accessible to tenant admins and students.
|
|
789
|
+
*
|
|
790
|
+
* Returns:
|
|
791
|
+
*
|
|
792
|
+
* 201: tag Object.
|
|
793
|
+
*
|
|
794
|
+
* 400: When data is not valid.
|
|
795
|
+
*
|
|
796
|
+
*
|
|
797
|
+
*
|
|
798
|
+
* Example:
|
|
799
|
+
*
|
|
800
|
+
* POST: /api/ai-prompt/orgs/main/users/johndoe/tags/
|
|
801
|
+
*
|
|
802
|
+
* Request: Response: {
|
|
803
|
+
* "name": "Programming",
|
|
804
|
+
* "description": "tags for programing prompts"
|
|
805
|
+
* }
|
|
806
|
+
*
|
|
807
|
+
* Response: {
|
|
808
|
+
* "id": 1,
|
|
809
|
+
* "name": "Programming",
|
|
810
|
+
* "description": "tags for programing prompts"
|
|
811
|
+
* }
|
|
812
|
+
* @param org
|
|
813
|
+
* @param userId
|
|
814
|
+
* @param requestBody
|
|
815
|
+
* @returns TagsView
|
|
816
|
+
* @throws ApiError
|
|
817
|
+
*/
|
|
818
|
+
static aiPromptOrgsUsersTagsCreate(org: string, userId: string, requestBody: TagsView): CancelablePromise<TagsView>;
|
|
819
|
+
/**
|
|
820
|
+
* Endpoint for updating prompt tag.
|
|
821
|
+
*
|
|
822
|
+
* Accessible to tenant admins and students.
|
|
823
|
+
*
|
|
824
|
+
* Returns:
|
|
825
|
+
*
|
|
826
|
+
* 200: tag Object.
|
|
827
|
+
*
|
|
828
|
+
* 400: When data is not valid.
|
|
829
|
+
* @param org
|
|
830
|
+
* @param tagId
|
|
831
|
+
* @param userId
|
|
832
|
+
* @param requestBody
|
|
833
|
+
* @returns TagsView
|
|
834
|
+
* @throws ApiError
|
|
835
|
+
*/
|
|
836
|
+
static aiPromptOrgsUsersTagsUpdate(org: string, tagId: number, userId: string, requestBody: TagsView): CancelablePromise<TagsView>;
|
|
837
|
+
/**
|
|
838
|
+
* Endpoint for deleting prompt tag.
|
|
839
|
+
*
|
|
840
|
+
* Accessible to tenant admins and students.
|
|
841
|
+
*
|
|
842
|
+
* Returns:
|
|
843
|
+
*
|
|
844
|
+
* 204: No response data.
|
|
845
|
+
*
|
|
846
|
+
* 400: When data is not valid.
|
|
847
|
+
* @param org
|
|
848
|
+
* @param tagId
|
|
849
|
+
* @param userId
|
|
850
|
+
* @returns void
|
|
851
|
+
* @throws ApiError
|
|
852
|
+
*/
|
|
853
|
+
static aiPromptOrgsUsersTagsDestroy(org: string, tagId: number, userId: string): CancelablePromise<void>;
|
|
854
|
+
/**
|
|
855
|
+
* Endpoint for getting prompt tones.
|
|
856
|
+
*
|
|
857
|
+
* Accessible to tenant admins and students.
|
|
858
|
+
*
|
|
859
|
+
* Returns:
|
|
860
|
+
*
|
|
861
|
+
* 200: List of tones.
|
|
862
|
+
* @param org
|
|
863
|
+
* @param userId
|
|
864
|
+
* @returns TonesView
|
|
865
|
+
* @throws ApiError
|
|
866
|
+
*/
|
|
867
|
+
static aiPromptOrgsUsersTonesRetrieve(org: string, userId: string): CancelablePromise<TonesView>;
|
|
868
|
+
/**
|
|
869
|
+
* Endpoint for Adding prompt tone.
|
|
870
|
+
*
|
|
871
|
+
* Accessible to tenant admins only.
|
|
872
|
+
*
|
|
873
|
+
* Returns:
|
|
874
|
+
*
|
|
875
|
+
* 201: tone Object.
|
|
876
|
+
*
|
|
877
|
+
* 400: When data is not valid.
|
|
878
|
+
* @param org
|
|
879
|
+
* @param userId
|
|
880
|
+
* @param requestBody
|
|
881
|
+
* @returns TonesView
|
|
882
|
+
* @throws ApiError
|
|
883
|
+
*/
|
|
884
|
+
static aiPromptOrgsUsersTonesCreate(org: string, userId: string, requestBody?: TonesView): CancelablePromise<TonesView>;
|
|
885
|
+
/**
|
|
886
|
+
* Endpoint for updating prompt tone.
|
|
887
|
+
*
|
|
888
|
+
* Accessible to tenant admins only.
|
|
889
|
+
*
|
|
890
|
+
* Returns:
|
|
891
|
+
*
|
|
892
|
+
* 200: tone Object.
|
|
893
|
+
*
|
|
894
|
+
* 400: When data is not valid.
|
|
895
|
+
* @param org
|
|
896
|
+
* @param toneId
|
|
897
|
+
* @param userId
|
|
898
|
+
* @param requestBody
|
|
899
|
+
* @returns TonesView
|
|
900
|
+
* @throws ApiError
|
|
901
|
+
*/
|
|
902
|
+
static aiPromptOrgsUsersTonesUpdate(org: string, toneId: number, userId: string, requestBody?: TonesView): CancelablePromise<TonesView>;
|
|
903
|
+
/**
|
|
904
|
+
* Endpoint for deleting prompt tone.
|
|
905
|
+
*
|
|
906
|
+
* Accessible to tenant admins and students.
|
|
907
|
+
*
|
|
908
|
+
* Returns:
|
|
909
|
+
*
|
|
910
|
+
* 204: No response data.
|
|
911
|
+
*
|
|
912
|
+
* 400: When data is not valid.
|
|
913
|
+
* @param org
|
|
914
|
+
* @param toneId
|
|
915
|
+
* @param userId
|
|
916
|
+
* @returns void
|
|
917
|
+
* @throws ApiError
|
|
918
|
+
*/
|
|
919
|
+
static aiPromptOrgsUsersTonesDestroy(org: string, toneId: number, userId: string): CancelablePromise<void>;
|
|
920
|
+
}
|