@iblai/iblai-api 4.4.1-core → 4.5.0-ai-plus
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 +19389 -1765
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +19382 -1766
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +19389 -1765
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +344 -2
- 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/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/Bot.d.ts +15 -0
- package/dist/types/models/BotCommand.d.ts +6 -0
- package/dist/types/models/BotCreate.d.ts +12 -0
- package/dist/types/models/CallAuthenticationRequest.d.ts +13 -0
- package/dist/types/models/CallAuthenticationResponse.d.ts +21 -0
- package/dist/types/models/CallConfiguration.d.ts +26 -0
- package/dist/types/models/CallConfigurationModeEnum.d.ts +8 -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 +14 -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/ConnectedService.d.ts +9 -0
- package/dist/types/models/ConnectedServiceProviderEnum.d.ts +6 -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/CrawlerPatternTypeEnum.d.ts +8 -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/DataSet.d.ts +21 -0
- package/dist/types/models/DataSetCreate.d.ts +12 -0
- package/dist/types/models/DataSetStatusEnum.d.ts +12 -0
- package/dist/types/models/DateRange.d.ts +4 -0
- package/dist/types/models/DiscordConfig.d.ts +7 -0
- package/dist/types/models/DiscordUserConfig.d.ts +10 -0
- package/dist/types/models/DiscordWebhook.d.ts +6 -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/GuidedPrompt.d.ts +4 -0
- package/dist/types/models/GuidedPromptsResponse.d.ts +5 -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/HumanSupportTicket.d.ts +21 -0
- package/dist/types/models/HumanSupportTicketStatusEnum.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/LlmProviderEnum.d.ts +8 -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 +87 -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 +84 -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/MentorFromTemplateWithSettingRequest.d.ts +47 -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 +76 -0
- package/dist/types/models/MentorSettingsPublic.d.ts +52 -0
- package/dist/types/models/MentorSettingsRequest.d.ts +62 -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/OAuthStartResponse.d.ts +3 -0
- package/dist/types/models/Observation.d.ts +31 -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/PaginatedDataSetList.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/PaginatedHumanSupportTicketList.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/PaginatedObservationList.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/PaginatedRetrieverDocumentEmbeddingList.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/PaginatedTicketMessageList.d.ts +7 -0
- package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +7 -0
- package/dist/types/models/PaginatedTraceList.d.ts +7 -0
- package/dist/types/models/PaginatedTrainingList.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/PaginatedUserMemoryList.d.ts +7 -0
- package/dist/types/models/PaginatedVoiceList.d.ts +7 -0
- package/dist/types/models/PatchedBotCommand.d.ts +6 -0
- package/dist/types/models/PatchedBotCreate.d.ts +12 -0
- package/dist/types/models/PatchedCallConfiguration.d.ts +26 -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/PatchedDataSet.d.ts +21 -0
- package/dist/types/models/PatchedDiscordConfig.d.ts +7 -0
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +10 -0
- package/dist/types/models/PatchedHumanSupportTicket.d.ts +21 -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 +84 -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/PatchedSlackConfig.d.ts +8 -0
- package/dist/types/models/PatchedSlackUserConfig.d.ts +17 -0
- package/dist/types/models/PatchedSubSection.d.ts +9 -0
- package/dist/types/models/PatchedTeamsConfig.d.ts +7 -0
- package/dist/types/models/PatchedTicketMessage.d.ts +10 -0
- package/dist/types/models/PatchedTrainingCreate.d.ts +31 -0
- package/dist/types/models/PatchedUnit.d.ts +11 -0
- package/dist/types/models/PatchedWebexConfig.d.ts +10 -0
- package/dist/types/models/PatchedWhatsappConfig.d.ts +11 -0
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +10 -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/Provider05cEnum.d.ts +14 -0
- package/dist/types/models/Provider637Enum.d.ts +10 -0
- package/dist/types/models/Provider63aEnum.d.ts +6 -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 +28 -0
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +66 -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/ServiceEnum.d.ts +8 -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/ShareableMentorLink.d.ts +8 -0
- package/dist/types/models/ShellLogs.d.ts +3 -0
- package/dist/types/models/SlackConfig.d.ts +8 -0
- package/dist/types/models/SlackUserConfig.d.ts +17 -0
- package/dist/types/models/SlackWebhook.d.ts +6 -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/StripeCheckoutSessionRequest.d.ts +2 -2
- package/dist/types/models/{ModeEnum.d.ts → StripeCheckoutSessionRequestModeEnum.d.ts} +1 -1
- package/dist/types/models/SttProviderEnum.d.ts +12 -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/TeamsConfig.d.ts +7 -0
- package/dist/types/models/TeamsWebhook.d.ts +17 -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/TicketMessage.d.ts +10 -0
- package/dist/types/models/TonesView.d.ts +4 -0
- package/dist/types/models/ToolResponse.d.ts +12 -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/Trace.d.ts +17 -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 +70 -0
- package/dist/types/models/TrainDocumentViewResponse.d.ts +15 -0
- package/dist/types/models/Training.d.ts +41 -0
- package/dist/types/models/TrainingCreate.d.ts +31 -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/TtsProviderEnum.d.ts +10 -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 +15 -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/UserMemory.d.ts +17 -0
- package/dist/types/models/UserMemoryContextRequest.d.ts +13 -0
- package/dist/types/models/UserMemoryContextResponse.d.ts +12 -0
- package/dist/types/models/UserMemoryEntry.d.ts +7 -0
- package/dist/types/models/UserMemoryEntryRequest.d.ts +5 -0
- package/dist/types/models/UserMemoryRequest.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/models/WebexConfig.d.ts +10 -0
- package/dist/types/models/WebexWebhook.d.ts +4 -0
- package/dist/types/models/WhatAppWebHook.d.ts +3 -0
- package/dist/types/models/WhatsappConfig.d.ts +11 -0
- package/dist/types/models/WhatsappUserConfig.d.ts +10 -0
- package/dist/types/services/AiAccountService.d.ts +280 -0
- package/dist/types/services/AiAnalyticsService.d.ts +3934 -0
- package/dist/types/services/AiBotService.d.ts +642 -0
- package/dist/types/services/AiFinetuningService.d.ts +232 -0
- package/dist/types/services/AiIndexService.d.ts +408 -0
- package/dist/types/services/AiMarketingService.d.ts +38 -0
- package/dist/types/services/AiMediaService.d.ts +122 -0
- package/dist/types/services/AiMentorService.d.ts +5358 -0
- package/dist/types/services/AiPromptService.d.ts +1035 -0
- package/dist/types/services/SearchService.d.ts +730 -0
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +344 -2
- package/src/models/AIGeneratedImage.ts +18 -0
- package/src/models/AIUserProfileMemoryRelation.ts +9 -0
- package/src/models/AIUserProfileRequest.ts +9 -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/Bot.ts +20 -0
- package/src/models/BotCommand.ts +11 -0
- package/src/models/BotCreate.ts +17 -0
- package/src/models/CallAuthenticationRequest.ts +18 -0
- package/src/models/CallAuthenticationResponse.ts +26 -0
- package/src/models/CallConfiguration.ts +31 -0
- package/src/models/CallConfigurationModeEnum.ts +12 -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 +19 -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/ConnectedService.ts +14 -0
- package/src/models/ConnectedServiceProviderEnum.ts +10 -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/CrawlerPatternTypeEnum.ts +12 -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/DataSet.ts +26 -0
- package/src/models/DataSetCreate.ts +17 -0
- package/src/models/DataSetStatusEnum.ts +16 -0
- package/src/models/DateRange.ts +9 -0
- package/src/models/DiscordConfig.ts +12 -0
- package/src/models/DiscordUserConfig.ts +15 -0
- package/src/models/DiscordWebhook.ts +11 -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/GuidedPrompt.ts +9 -0
- package/src/models/GuidedPromptsResponse.ts +10 -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/HumanSupportTicket.ts +26 -0
- package/src/models/HumanSupportTicketStatusEnum.ts +14 -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/LlmProviderEnum.ts +12 -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 +92 -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 +89 -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/MentorFromTemplateWithSettingRequest.ts +52 -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 +81 -0
- package/src/models/MentorSettingsPublic.ts +57 -0
- package/src/models/MentorSettingsRequest.ts +67 -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/OAuthStartResponse.ts +8 -0
- package/src/models/Observation.ts +36 -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/PaginatedDataSetList.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/PaginatedHumanSupportTicketList.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/PaginatedObservationList.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/PaginatedRetrieverDocumentEmbeddingList.ts +12 -0
- package/src/models/PaginatedSectionList.ts +12 -0
- package/src/models/PaginatedSubSectionList.ts +12 -0
- package/src/models/PaginatedTicketMessageList.ts +12 -0
- package/src/models/PaginatedTopicStatisticsResponse.ts +12 -0
- package/src/models/PaginatedTraceList.ts +12 -0
- package/src/models/PaginatedTrainingList.ts +12 -0
- package/src/models/PaginatedUnitList.ts +12 -0
- package/src/models/PaginatedUserEdxMemoryList.ts +12 -0
- package/src/models/PaginatedUserMemoryList.ts +12 -0
- package/src/models/PaginatedVoiceList.ts +12 -0
- package/src/models/PatchedBotCommand.ts +11 -0
- package/src/models/PatchedBotCreate.ts +17 -0
- package/src/models/PatchedCallConfiguration.ts +31 -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/PatchedDataSet.ts +26 -0
- package/src/models/PatchedDiscordConfig.ts +12 -0
- package/src/models/PatchedDiscordUserConfig.ts +15 -0
- package/src/models/PatchedHumanSupportTicket.ts +26 -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 +89 -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/PatchedSlackConfig.ts +13 -0
- package/src/models/PatchedSlackUserConfig.ts +22 -0
- package/src/models/PatchedSubSection.ts +14 -0
- package/src/models/PatchedTeamsConfig.ts +12 -0
- package/src/models/PatchedTicketMessage.ts +15 -0
- package/src/models/PatchedTrainingCreate.ts +36 -0
- package/src/models/PatchedUnit.ts +16 -0
- package/src/models/PatchedWebexConfig.ts +15 -0
- package/src/models/PatchedWhatsappConfig.ts +16 -0
- package/src/models/PatchedWhatsappUserConfig.ts +15 -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/Provider05cEnum.ts +18 -0
- package/src/models/Provider637Enum.ts +14 -0
- package/src/models/Provider63aEnum.ts +10 -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 +33 -0
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +71 -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/ServiceEnum.ts +12 -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/ShareableMentorLink.ts +13 -0
- package/src/models/ShellLogs.ts +8 -0
- package/src/models/SlackConfig.ts +13 -0
- package/src/models/SlackUserConfig.ts +22 -0
- package/src/models/SlackWebhook.ts +11 -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/StripeCheckoutSessionRequest.ts +2 -2
- package/src/models/{ModeEnum.ts → StripeCheckoutSessionRequestModeEnum.ts} +1 -1
- package/src/models/SttProviderEnum.ts +16 -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/TeamsConfig.ts +12 -0
- package/src/models/TeamsWebhook.ts +22 -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/TicketMessage.ts +15 -0
- package/src/models/TonesView.ts +9 -0
- package/src/models/ToolResponse.ts +17 -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/Trace.ts +22 -0
- package/src/models/TrainChatSessionDocumentView.ts +11 -0
- package/src/models/TrainChatSessionDocumentViewRequest.ts +11 -0
- package/src/models/TrainDocumentViewRequest.ts +75 -0
- package/src/models/TrainDocumentViewResponse.ts +20 -0
- package/src/models/Training.ts +46 -0
- package/src/models/TrainingCreate.ts +36 -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/TtsProviderEnum.ts +14 -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 +20 -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/UserMemory.ts +22 -0
- package/src/models/UserMemoryContextRequest.ts +18 -0
- package/src/models/UserMemoryContextResponse.ts +17 -0
- package/src/models/UserMemoryEntry.ts +12 -0
- package/src/models/UserMemoryEntryRequest.ts +10 -0
- package/src/models/UserMemoryRequest.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/models/WebexConfig.ts +15 -0
- package/src/models/WebexWebhook.ts +9 -0
- package/src/models/WhatAppWebHook.ts +8 -0
- package/src/models/WhatsappConfig.ts +16 -0
- package/src/models/WhatsappUserConfig.ts +15 -0
- package/src/services/AiAccountService.ts +456 -0
- package/src/services/AiAnalyticsService.ts +10127 -3575
- package/src/services/AiBotService.ts +1330 -0
- package/src/services/AiFinetuningService.ts +472 -0
- package/src/services/AiIndexService.ts +719 -0
- package/src/services/AiMarketingService.ts +96 -0
- package/src/services/AiMediaService.ts +289 -0
- package/src/services/AiMentorService.ts +9909 -0
- package/src/services/AiPromptService.ts +1985 -0
- package/src/services/SearchService.ts +1446 -398
|
@@ -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 { WebResourceCard } from './WebResourceCard';
|
|
6
|
+
export type WebResource = {
|
|
7
|
+
content: string;
|
|
8
|
+
title: string;
|
|
9
|
+
imageUrl?: string | null;
|
|
10
|
+
source?: string;
|
|
11
|
+
metadata?: any;
|
|
12
|
+
card?: WebResourceCard;
|
|
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
|
+
export type WebResourceCard = {
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
imageUrl: string;
|
|
9
|
+
domain: string;
|
|
10
|
+
site_name: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type WebexConfig = {
|
|
6
|
+
readonly id: number;
|
|
7
|
+
readonly bot: number;
|
|
8
|
+
/**
|
|
9
|
+
* Bot id from webex
|
|
10
|
+
*/
|
|
11
|
+
webex_bot_id: string;
|
|
12
|
+
bot_access_token: string;
|
|
13
|
+
bot_username: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type WhatsappConfig = {
|
|
6
|
+
readonly id: number;
|
|
7
|
+
readonly bot: number;
|
|
8
|
+
phone_number_id: string;
|
|
9
|
+
application_secret: string;
|
|
10
|
+
webhook_verification_token: string;
|
|
11
|
+
/**
|
|
12
|
+
* Access token to the bot. This can also be a temporary access token.
|
|
13
|
+
*/
|
|
14
|
+
access_token: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type WhatsappUserConfig = {
|
|
6
|
+
readonly id: number;
|
|
7
|
+
/**
|
|
8
|
+
* edX user ID
|
|
9
|
+
*/
|
|
10
|
+
readonly user: number;
|
|
11
|
+
phone_number: string;
|
|
12
|
+
readonly date_created: string;
|
|
13
|
+
readonly last_modified: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ConnectedService } from '../models/ConnectedService';
|
|
6
|
+
import type { CredentialRequest } from '../models/CredentialRequest';
|
|
7
|
+
import type { IntegrationCredential } from '../models/IntegrationCredential';
|
|
8
|
+
import type { LLMCredentialRequest } from '../models/LLMCredentialRequest';
|
|
9
|
+
import type { LLMCredentialResponse } from '../models/LLMCredentialResponse';
|
|
10
|
+
import type { OAuthStartResponse } from '../models/OAuthStartResponse';
|
|
11
|
+
import type { PatchedCredentialRequest } from '../models/PatchedCredentialRequest';
|
|
12
|
+
import type { PatchedLLMCredentialRequest } from '../models/PatchedLLMCredentialRequest';
|
|
13
|
+
import type { UseMainCreds } from '../models/UseMainCreds';
|
|
14
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
15
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
16
|
+
import { request as __request } from '../core/request';
|
|
17
|
+
export class AiAccountService {
|
|
18
|
+
/**
|
|
19
|
+
* Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
|
|
20
|
+
* @returns ConnectedService Callback for the OAuth flow
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
public static aiAccountConnectedServicesCallbackRetrieve(): CancelablePromise<ConnectedService> {
|
|
24
|
+
return __request(OpenAPI, {
|
|
25
|
+
method: 'GET',
|
|
26
|
+
url: '/api/ai-account/connected-services/callback/',
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
|
|
31
|
+
* @returns OAuthStartResponse Starts the OAuth flow for the given provider and service
|
|
32
|
+
* @throws ApiError
|
|
33
|
+
*/
|
|
34
|
+
public static aiAccountConnectedServicesOrgsUsersRetrieve({
|
|
35
|
+
org,
|
|
36
|
+
provider,
|
|
37
|
+
service,
|
|
38
|
+
userId,
|
|
39
|
+
}: {
|
|
40
|
+
org: string,
|
|
41
|
+
provider: string,
|
|
42
|
+
service: string,
|
|
43
|
+
userId: string,
|
|
44
|
+
}): CancelablePromise<OAuthStartResponse> {
|
|
45
|
+
return __request(OpenAPI, {
|
|
46
|
+
method: 'GET',
|
|
47
|
+
url: '/api/ai-account/connected-services/orgs/{org}/users/{user_id}/{provider}/{service}/',
|
|
48
|
+
path: {
|
|
49
|
+
'org': org,
|
|
50
|
+
'provider': provider,
|
|
51
|
+
'service': service,
|
|
52
|
+
'user_id': userId,
|
|
53
|
+
},
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Retrieve LLM credentials for an organization.
|
|
58
|
+
*
|
|
59
|
+
* Query Parameters:
|
|
60
|
+
* name (optional): Filter results by LLM provider name
|
|
61
|
+
*
|
|
62
|
+
* Args:
|
|
63
|
+
* request: The HTTP request
|
|
64
|
+
* org: Organization key identifier
|
|
65
|
+
*
|
|
66
|
+
* Returns:
|
|
67
|
+
* Response: List of LLM credentials for the organization
|
|
68
|
+
*
|
|
69
|
+
* Raises:
|
|
70
|
+
* NotFound: When organization is not found or when no credentials match the filters
|
|
71
|
+
* ValidationError: When query parameters are invalid
|
|
72
|
+
* @returns LLMCredentialResponse
|
|
73
|
+
* @throws ApiError
|
|
74
|
+
*/
|
|
75
|
+
public static aiAccountOrgsCredentialRetrieve({
|
|
76
|
+
org,
|
|
77
|
+
name,
|
|
78
|
+
}: {
|
|
79
|
+
org: string,
|
|
80
|
+
/**
|
|
81
|
+
* Filter credentials by provider name (e.g., 'openai', 'google')
|
|
82
|
+
*/
|
|
83
|
+
name?: string,
|
|
84
|
+
}): CancelablePromise<LLMCredentialResponse> {
|
|
85
|
+
return __request(OpenAPI, {
|
|
86
|
+
method: 'GET',
|
|
87
|
+
url: '/api/ai-account/orgs/{org}/credential/',
|
|
88
|
+
path: {
|
|
89
|
+
'org': org,
|
|
90
|
+
},
|
|
91
|
+
query: {
|
|
92
|
+
'name': name,
|
|
93
|
+
},
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Create a new LLM credential for an organization.
|
|
98
|
+
*
|
|
99
|
+
* Args:
|
|
100
|
+
* request: The HTTP request containing credential information
|
|
101
|
+
* org: Organization key identifier
|
|
102
|
+
*
|
|
103
|
+
* Returns:
|
|
104
|
+
* Response: Created LLM credential
|
|
105
|
+
*
|
|
106
|
+
* Raises:
|
|
107
|
+
* NotFound: When organization is not found
|
|
108
|
+
* ValidationError: When request data is invalid
|
|
109
|
+
* @returns LLMCredentialResponse
|
|
110
|
+
* @throws ApiError
|
|
111
|
+
*/
|
|
112
|
+
public static aiAccountOrgsCredentialCreate({
|
|
113
|
+
org,
|
|
114
|
+
requestBody,
|
|
115
|
+
}: {
|
|
116
|
+
org: string,
|
|
117
|
+
requestBody: LLMCredentialRequest,
|
|
118
|
+
}): CancelablePromise<LLMCredentialResponse> {
|
|
119
|
+
return __request(OpenAPI, {
|
|
120
|
+
method: 'POST',
|
|
121
|
+
url: '/api/ai-account/orgs/{org}/credential/',
|
|
122
|
+
path: {
|
|
123
|
+
'org': org,
|
|
124
|
+
},
|
|
125
|
+
body: requestBody,
|
|
126
|
+
mediaType: 'application/json',
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Update an existing LLM credential for an organization.
|
|
131
|
+
*
|
|
132
|
+
* Args:
|
|
133
|
+
* request: The HTTP request containing updated credential information
|
|
134
|
+
* org: Organization key identifier
|
|
135
|
+
*
|
|
136
|
+
* Returns:
|
|
137
|
+
* Response: Updated LLM credential
|
|
138
|
+
*
|
|
139
|
+
* Raises:
|
|
140
|
+
* NotFound: When organization or credential is not found
|
|
141
|
+
* ValidationError: When request data is invalid
|
|
142
|
+
* @returns LLMCredentialResponse
|
|
143
|
+
* @throws ApiError
|
|
144
|
+
*/
|
|
145
|
+
public static aiAccountOrgsCredentialPartialUpdate({
|
|
146
|
+
org,
|
|
147
|
+
requestBody,
|
|
148
|
+
}: {
|
|
149
|
+
org: string,
|
|
150
|
+
requestBody?: PatchedLLMCredentialRequest,
|
|
151
|
+
}): CancelablePromise<LLMCredentialResponse> {
|
|
152
|
+
return __request(OpenAPI, {
|
|
153
|
+
method: 'PATCH',
|
|
154
|
+
url: '/api/ai-account/orgs/{org}/credential/',
|
|
155
|
+
path: {
|
|
156
|
+
'org': org,
|
|
157
|
+
},
|
|
158
|
+
body: requestBody,
|
|
159
|
+
mediaType: 'application/json',
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Delete an existing LLM credential for an organization.
|
|
164
|
+
*
|
|
165
|
+
* Args:
|
|
166
|
+
* request: The HTTP request containing updated credential information
|
|
167
|
+
* org: Organization key identifier
|
|
168
|
+
*
|
|
169
|
+
* Returns:
|
|
170
|
+
* Response: 204
|
|
171
|
+
*
|
|
172
|
+
* Raises:
|
|
173
|
+
* NotFound: When organization or credential is not found
|
|
174
|
+
* ValidationError: When request data is invalid
|
|
175
|
+
* @returns void
|
|
176
|
+
* @throws ApiError
|
|
177
|
+
*/
|
|
178
|
+
public static aiAccountOrgsCredentialDestroy({
|
|
179
|
+
org,
|
|
180
|
+
}: {
|
|
181
|
+
org: string,
|
|
182
|
+
}): CancelablePromise<void> {
|
|
183
|
+
return __request(OpenAPI, {
|
|
184
|
+
method: 'DELETE',
|
|
185
|
+
url: '/api/ai-account/orgs/{org}/credential/',
|
|
186
|
+
path: {
|
|
187
|
+
'org': org,
|
|
188
|
+
},
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Retrieve integration credentials for an organization.
|
|
193
|
+
*
|
|
194
|
+
* Query Parameters:
|
|
195
|
+
* name (optional): Filter results by integration service name
|
|
196
|
+
*
|
|
197
|
+
* Args:
|
|
198
|
+
* request: The HTTP request
|
|
199
|
+
* org: Organization key identifier
|
|
200
|
+
*
|
|
201
|
+
* Returns:
|
|
202
|
+
* Response: List of integration credentials for the organization
|
|
203
|
+
*
|
|
204
|
+
* Raises:
|
|
205
|
+
* NotFound: When organization is not found or when no credentials match the filters
|
|
206
|
+
* ValidationError: When query parameters are invalid
|
|
207
|
+
* @returns IntegrationCredential
|
|
208
|
+
* @throws ApiError
|
|
209
|
+
*/
|
|
210
|
+
public static aiAccountOrgsIntegrationCredentialRetrieve({
|
|
211
|
+
org,
|
|
212
|
+
name,
|
|
213
|
+
}: {
|
|
214
|
+
org: string,
|
|
215
|
+
/**
|
|
216
|
+
* Filter credentials by provider name (e.g., 'openai', 'google')
|
|
217
|
+
*/
|
|
218
|
+
name?: string,
|
|
219
|
+
}): CancelablePromise<IntegrationCredential> {
|
|
220
|
+
return __request(OpenAPI, {
|
|
221
|
+
method: 'GET',
|
|
222
|
+
url: '/api/ai-account/orgs/{org}/integration-credential/',
|
|
223
|
+
path: {
|
|
224
|
+
'org': org,
|
|
225
|
+
},
|
|
226
|
+
query: {
|
|
227
|
+
'name': name,
|
|
228
|
+
},
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Create a new integration credential for an organization.
|
|
233
|
+
*
|
|
234
|
+
* Args:
|
|
235
|
+
* request: The HTTP request containing credential information
|
|
236
|
+
* org: Organization key identifier
|
|
237
|
+
*
|
|
238
|
+
* Returns:
|
|
239
|
+
* Response: Created integration credential
|
|
240
|
+
*
|
|
241
|
+
* Raises:
|
|
242
|
+
* NotFound: When organization is not found
|
|
243
|
+
* ValidationError: When request data is invalid
|
|
244
|
+
* @returns IntegrationCredential
|
|
245
|
+
* @throws ApiError
|
|
246
|
+
*/
|
|
247
|
+
public static aiAccountOrgsIntegrationCredentialCreate({
|
|
248
|
+
org,
|
|
249
|
+
requestBody,
|
|
250
|
+
}: {
|
|
251
|
+
org: string,
|
|
252
|
+
requestBody: CredentialRequest,
|
|
253
|
+
}): CancelablePromise<IntegrationCredential> {
|
|
254
|
+
return __request(OpenAPI, {
|
|
255
|
+
method: 'POST',
|
|
256
|
+
url: '/api/ai-account/orgs/{org}/integration-credential/',
|
|
257
|
+
path: {
|
|
258
|
+
'org': org,
|
|
259
|
+
},
|
|
260
|
+
body: requestBody,
|
|
261
|
+
mediaType: 'application/json',
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Update an existing integration credential for an organization.
|
|
266
|
+
*
|
|
267
|
+
* Args:
|
|
268
|
+
* request: The HTTP request containing updated credential information
|
|
269
|
+
* org: Organization key identifier
|
|
270
|
+
*
|
|
271
|
+
* Returns:
|
|
272
|
+
* Response: Updated integration credential
|
|
273
|
+
*
|
|
274
|
+
* Raises:
|
|
275
|
+
* NotFound: When organization or credential is not found
|
|
276
|
+
* ValidationError: When request data is invalid
|
|
277
|
+
* @returns IntegrationCredential
|
|
278
|
+
* @throws ApiError
|
|
279
|
+
*/
|
|
280
|
+
public static aiAccountOrgsIntegrationCredentialPartialUpdate({
|
|
281
|
+
org,
|
|
282
|
+
requestBody,
|
|
283
|
+
}: {
|
|
284
|
+
org: string,
|
|
285
|
+
requestBody?: PatchedCredentialRequest,
|
|
286
|
+
}): CancelablePromise<IntegrationCredential> {
|
|
287
|
+
return __request(OpenAPI, {
|
|
288
|
+
method: 'PATCH',
|
|
289
|
+
url: '/api/ai-account/orgs/{org}/integration-credential/',
|
|
290
|
+
path: {
|
|
291
|
+
'org': org,
|
|
292
|
+
},
|
|
293
|
+
body: requestBody,
|
|
294
|
+
mediaType: 'application/json',
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Delete an existing integration credential for an organization.
|
|
299
|
+
*
|
|
300
|
+
* Args:
|
|
301
|
+
* request: The HTTP request containing credential information (must include 'id')
|
|
302
|
+
* org: Organization key identifier
|
|
303
|
+
*
|
|
304
|
+
* Returns:
|
|
305
|
+
* Response: 204
|
|
306
|
+
*
|
|
307
|
+
* Raises:
|
|
308
|
+
* NotFound: When organization or credential is not found
|
|
309
|
+
* ValidationError: When request data is invalid
|
|
310
|
+
* @returns void
|
|
311
|
+
* @throws ApiError
|
|
312
|
+
*/
|
|
313
|
+
public static aiAccountOrgsIntegrationCredentialDestroy({
|
|
314
|
+
org,
|
|
315
|
+
}: {
|
|
316
|
+
org: string,
|
|
317
|
+
}): CancelablePromise<void> {
|
|
318
|
+
return __request(OpenAPI, {
|
|
319
|
+
method: 'DELETE',
|
|
320
|
+
url: '/api/ai-account/orgs/{org}/integration-credential/',
|
|
321
|
+
path: {
|
|
322
|
+
'org': org,
|
|
323
|
+
},
|
|
324
|
+
});
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Enable or disable the use of main LLM credentials for an organization.
|
|
328
|
+
*
|
|
329
|
+
* Request Body:
|
|
330
|
+
* enable (boolean): Set to true to enable main credentials
|
|
331
|
+
* disable (boolean): Set to true to disable main credentials
|
|
332
|
+
*
|
|
333
|
+
* Args:
|
|
334
|
+
* request: The HTTP request
|
|
335
|
+
* org: Organization key identifier
|
|
336
|
+
*
|
|
337
|
+
* Returns:
|
|
338
|
+
* Response: Confirmation message
|
|
339
|
+
*
|
|
340
|
+
* Raises:
|
|
341
|
+
* ValidationError: When neither enable nor disable is specified
|
|
342
|
+
* @returns any
|
|
343
|
+
* @throws ApiError
|
|
344
|
+
*/
|
|
345
|
+
public static aiAccountOrgsUseDefaultLlmKeyCreate({
|
|
346
|
+
org,
|
|
347
|
+
requestBody,
|
|
348
|
+
}: {
|
|
349
|
+
org: string,
|
|
350
|
+
requestBody: UseMainCreds,
|
|
351
|
+
}): CancelablePromise<{
|
|
352
|
+
message?: string;
|
|
353
|
+
}> {
|
|
354
|
+
return __request(OpenAPI, {
|
|
355
|
+
method: 'POST',
|
|
356
|
+
url: '/api/ai-account/orgs/{org}/use-default-llm-key/',
|
|
357
|
+
path: {
|
|
358
|
+
'org': org,
|
|
359
|
+
},
|
|
360
|
+
body: requestBody,
|
|
361
|
+
mediaType: 'application/json',
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Enable, disable, or update free trial settings for an organization.
|
|
366
|
+
*
|
|
367
|
+
* Request Body:
|
|
368
|
+
* enable (boolean): Set to true to enable free trial
|
|
369
|
+
* disable (boolean): Set to true to disable free trial
|
|
370
|
+
* metadata (object, optional): Additional metadata for the free trial
|
|
371
|
+
*
|
|
372
|
+
* Args:
|
|
373
|
+
* request: The HTTP request
|
|
374
|
+
* org: Organization key identifier
|
|
375
|
+
*
|
|
376
|
+
* Returns:
|
|
377
|
+
* Response: Confirmation message
|
|
378
|
+
* @returns any No response body
|
|
379
|
+
* @throws ApiError
|
|
380
|
+
*/
|
|
381
|
+
public static aiAccountOrgsUseFreeTrialCreate({
|
|
382
|
+
org,
|
|
383
|
+
}: {
|
|
384
|
+
org: string,
|
|
385
|
+
}): CancelablePromise<any> {
|
|
386
|
+
return __request(OpenAPI, {
|
|
387
|
+
method: 'POST',
|
|
388
|
+
url: '/api/ai-account/orgs/{org}/use-free-trial/',
|
|
389
|
+
path: {
|
|
390
|
+
'org': org,
|
|
391
|
+
},
|
|
392
|
+
});
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* Retrieve the status of main LLM credential usage for an organization.
|
|
396
|
+
*
|
|
397
|
+
* Args:
|
|
398
|
+
* request: The HTTP request
|
|
399
|
+
* org: Organization key identifier
|
|
400
|
+
* user_id: User identifier
|
|
401
|
+
*
|
|
402
|
+
* Returns:
|
|
403
|
+
* Response: Status of main LLM credential usage
|
|
404
|
+
* @returns any No response body
|
|
405
|
+
* @throws ApiError
|
|
406
|
+
*/
|
|
407
|
+
public static aiAccountOrgsUsersDefaultLlmKeyUsageRetrieve({
|
|
408
|
+
org,
|
|
409
|
+
userId,
|
|
410
|
+
}: {
|
|
411
|
+
org: string,
|
|
412
|
+
userId: string,
|
|
413
|
+
}): CancelablePromise<any> {
|
|
414
|
+
return __request(OpenAPI, {
|
|
415
|
+
method: 'GET',
|
|
416
|
+
url: '/api/ai-account/orgs/{org}/users/{user_id}/default-llm-key-usage',
|
|
417
|
+
path: {
|
|
418
|
+
'org': org,
|
|
419
|
+
'user_id': userId,
|
|
420
|
+
},
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* Retrieve the free trial status for an organization.
|
|
425
|
+
*
|
|
426
|
+
* Args:
|
|
427
|
+
* request: The HTTP request
|
|
428
|
+
* org: Organization key identifier
|
|
429
|
+
*
|
|
430
|
+
* Returns:
|
|
431
|
+
* Response: Free trial status (boolean)
|
|
432
|
+
*
|
|
433
|
+
* Raises:
|
|
434
|
+
* NotFound: When organization is not found
|
|
435
|
+
* @returns any
|
|
436
|
+
* @throws ApiError
|
|
437
|
+
*/
|
|
438
|
+
public static aiAccountOrgsUsersFreeTrialRetrieve({
|
|
439
|
+
org,
|
|
440
|
+
userId,
|
|
441
|
+
}: {
|
|
442
|
+
org: string,
|
|
443
|
+
userId: string,
|
|
444
|
+
}): CancelablePromise<{
|
|
445
|
+
is_in_free_trial?: boolean;
|
|
446
|
+
}> {
|
|
447
|
+
return __request(OpenAPI, {
|
|
448
|
+
method: 'GET',
|
|
449
|
+
url: '/api/ai-account/orgs/{org}/users/{user_id}/free-trial',
|
|
450
|
+
path: {
|
|
451
|
+
'org': org,
|
|
452
|
+
'user_id': userId,
|
|
453
|
+
},
|
|
454
|
+
});
|
|
455
|
+
}
|
|
456
|
+
}
|