@iblai/iblai-api 4.7.6-ai → 4.7.6-core
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +10739 -27728
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +10740 -27722
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +10739 -27728
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +2 -320
- package/dist/types/models/{StripeCheckoutSessionRequestModeEnum.d.ts → ModeEnum.d.ts} +1 -1
- package/dist/types/models/NotificationSource.d.ts +2 -2
- package/dist/types/models/StripeCheckoutSessionRequest.d.ts +2 -2
- package/dist/types/models/{NotificationSourceTypeEnum.d.ts → TypeEnum.d.ts} +1 -1
- package/dist/types/services/AiAnalyticsService.d.ts +0 -4164
- package/dist/types/services/SearchService.d.ts +0 -730
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +2 -320
- package/src/models/{StripeCheckoutSessionRequestModeEnum.ts → ModeEnum.ts} +1 -1
- package/src/models/NotificationSource.ts +2 -2
- package/src/models/StripeCheckoutSessionRequest.ts +2 -2
- package/src/models/{NotificationSourceTypeEnum.ts → TypeEnum.ts} +1 -1
- package/src/services/AiAnalyticsService.ts +4868 -11725
- package/src/services/SearchService.ts +398 -1446
- package/dist/types/models/AIGeneratedImage.d.ts +0 -13
- package/dist/types/models/AIUserProfileMemoryRelation.d.ts +0 -4
- package/dist/types/models/AIUserProfileRequest.d.ts +0 -4
- package/dist/types/models/AccessEnum.d.ts +0 -8
- package/dist/types/models/AlignMentorBubbleEnum.d.ts +0 -8
- package/dist/types/models/AnalyticsOverview.d.ts +0 -7
- package/dist/types/models/Answer.d.ts +0 -11
- package/dist/types/models/AssumedKnowledge.d.ts +0 -4
- package/dist/types/models/AssumedKnowledgeLevel.d.ts +0 -4
- package/dist/types/models/AudioToTextRequest.d.ts +0 -3
- package/dist/types/models/AudioToTextResponse.d.ts +0 -3
- package/dist/types/models/AutoMemoryPrompt.d.ts +0 -4
- package/dist/types/models/BaseFinanceResponse.d.ts +0 -37
- package/dist/types/models/CallAuthenticationRequest.d.ts +0 -13
- package/dist/types/models/CallAuthenticationResponse.d.ts +0 -21
- package/dist/types/models/CallConfiguration.d.ts +0 -26
- package/dist/types/models/CallConfigurationModeEnum.d.ts +0 -8
- package/dist/types/models/ChatHistory.d.ts +0 -8
- package/dist/types/models/ChatHistoryFilterData.d.ts +0 -9
- package/dist/types/models/ChatHistoryFilterUser.d.ts +0 -5
- package/dist/types/models/ChatHistoryItem.d.ts +0 -5
- package/dist/types/models/ChatHistorySessionId.d.ts +0 -3
- package/dist/types/models/ChatSessionRequest.d.ts +0 -14
- package/dist/types/models/ChatSessionResponse.d.ts +0 -5
- package/dist/types/models/CheckDocumentTrainingStatus.d.ts +0 -10
- package/dist/types/models/ComparisonInfo.d.ts +0 -29
- package/dist/types/models/ComponentBlock.d.ts +0 -9
- package/dist/types/models/ComponentBlockTypeEnum.d.ts +0 -8
- package/dist/types/models/ConnectedService.d.ts +0 -9
- package/dist/types/models/ConnectedServiceProviderEnum.d.ts +0 -6
- package/dist/types/models/ConversationMessage.d.ts +0 -11
- package/dist/types/models/ConversationRating.d.ts +0 -6
- package/dist/types/models/ConversationSummary.d.ts +0 -5
- package/dist/types/models/ConversationVolume.d.ts +0 -4
- package/dist/types/models/Conversations.d.ts +0 -28
- package/dist/types/models/Cost.d.ts +0 -3
- package/dist/types/models/CostPerTenant.d.ts +0 -6
- package/dist/types/models/CourseCreationTask.d.ts +0 -31
- package/dist/types/models/CourseCreationTaskFile.d.ts +0 -7
- package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +0 -16
- package/dist/types/models/CrawlerPatternTypeEnum.d.ts +0 -8
- package/dist/types/models/CredentialRequest.d.ts +0 -14
- package/dist/types/models/CrontabSchedule.d.ts +0 -22
- package/dist/types/models/CustomInstructionResponse.d.ts +0 -13
- package/dist/types/models/DateRange.d.ts +0 -4
- package/dist/types/models/Document.d.ts +0 -41
- package/dist/types/models/DocumentFacet.d.ts +0 -17
- package/dist/types/models/DocumentSearchResponse.d.ts +0 -35
- package/dist/types/models/DocumentSettingsResponse.d.ts +0 -3
- package/dist/types/models/EdxCourse.d.ts +0 -11
- package/dist/types/models/ElevenlabsCustomVoice.d.ts +0 -4
- package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +0 -8
- package/dist/types/models/EmailPromptDetail.d.ts +0 -13
- package/dist/types/models/EmailPromptList.d.ts +0 -11
- package/dist/types/models/EmailPromptSummary.d.ts +0 -5
- package/dist/types/models/FinanceDetailsResponse.d.ts +0 -13
- package/dist/types/models/FinanceFilters.d.ts +0 -15
- package/dist/types/models/FreeUsageCount.d.ts +0 -3
- package/dist/types/models/FullCourse.d.ts +0 -13
- package/dist/types/models/GreetingMethodEnum.d.ts +0 -8
- package/dist/types/models/GuidedPrompt.d.ts +0 -4
- package/dist/types/models/GuidedPromptsResponse.d.ts +0 -5
- package/dist/types/models/HeygenMarketingVideoDetail.d.ts +0 -8
- package/dist/types/models/HeygenMarketingVideoList.d.ts +0 -6
- package/dist/types/models/HeygenTemplateRequest.d.ts +0 -5
- package/dist/types/models/HeygenTemplateResponseSingle.d.ts +0 -6
- package/dist/types/models/HeygenVideoDetail.d.ts +0 -8
- package/dist/types/models/HeygenVideoRequest.d.ts +0 -5
- package/dist/types/models/HumanSupportTicket.d.ts +0 -21
- package/dist/types/models/HumanSupportTicketStatusEnum.d.ts +0 -10
- package/dist/types/models/InputQuestion.d.ts +0 -6
- package/dist/types/models/IntegrationCredential.d.ts +0 -8
- package/dist/types/models/IntegrationCredentialSchema.d.ts +0 -4
- package/dist/types/models/IntialQuestionAnswer.d.ts +0 -3
- package/dist/types/models/JobRun.d.ts +0 -11
- package/dist/types/models/KindEnum.d.ts +0 -10
- package/dist/types/models/LLMCredentialRequest.d.ts +0 -14
- package/dist/types/models/LLMCredentialResponse.d.ts +0 -8
- package/dist/types/models/LLMCredentialSchema.d.ts +0 -4
- package/dist/types/models/LLMModelForTenant.d.ts +0 -6
- package/dist/types/models/LLMQuestion.d.ts +0 -15
- package/dist/types/models/LLMResponse.d.ts +0 -14
- package/dist/types/models/LLMTracesListResponse.d.ts +0 -5
- package/dist/types/models/LanguagesView.d.ts +0 -5
- package/dist/types/models/LinkCourseRequest.d.ts +0 -3
- package/dist/types/models/LinkCourseResponse.d.ts +0 -5
- package/dist/types/models/LlmProviderEnum.d.ts +0 -8
- package/dist/types/models/MCPServer.d.ts +0 -21
- package/dist/types/models/MaskedIntegrationCredential.d.ts +0 -8
- package/dist/types/models/MaskedLLMCredential.d.ts +0 -8
- package/dist/types/models/MemoryComponentData.d.ts +0 -5
- package/dist/types/models/MemoryComponentMemory.d.ts +0 -4
- package/dist/types/models/MemoryComponentMemoryDetail.d.ts +0 -8
- package/dist/types/models/MemoryComponentResponse.d.ts +0 -5
- package/dist/types/models/MemoryProgress.d.ts +0 -8
- package/dist/types/models/MemoryStatusRequestView.d.ts +0 -6
- package/dist/types/models/MemoryStatusView.d.ts +0 -6
- package/dist/types/models/Mentor.d.ts +0 -87
- package/dist/types/models/MentorAudience.d.ts +0 -5
- package/dist/types/models/MentorCategory.d.ts +0 -9
- package/dist/types/models/MentorCategoryCreate.d.ts +0 -11
- package/dist/types/models/MentorCategoryGroup.d.ts +0 -11
- package/dist/types/models/MentorCategoryGroupCreate.d.ts +0 -11
- package/dist/types/models/MentorCreate.d.ts +0 -84
- package/dist/types/models/MentorCustomVoice.d.ts +0 -4
- package/dist/types/models/MentorCustomVoiceResponse.d.ts +0 -4
- package/dist/types/models/MentorData.d.ts +0 -7
- package/dist/types/models/MentorDetailAnalytics.d.ts +0 -6
- package/dist/types/models/MentorEval.d.ts +0 -11
- package/dist/types/models/MentorEvalQuestion.d.ts +0 -5
- package/dist/types/models/MentorEvalQuestionRequest.d.ts +0 -4
- package/dist/types/models/MentorEvalReport.d.ts +0 -10
- package/dist/types/models/MentorEvalRequest.d.ts +0 -8
- package/dist/types/models/MentorFacet.d.ts +0 -17
- package/dist/types/models/MentorFork.d.ts +0 -5
- package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +0 -47
- package/dist/types/models/MentorMemorySettingsRequest.d.ts +0 -6
- package/dist/types/models/MentorMemorySettingsResponse.d.ts +0 -6
- package/dist/types/models/MentorMetadata.d.ts +0 -5
- package/dist/types/models/MentorScenario.d.ts +0 -6
- package/dist/types/models/MentorScenarioPrompt.d.ts +0 -5
- package/dist/types/models/MentorSearchResponse.d.ts +0 -35
- package/dist/types/models/MentorSession.d.ts +0 -4
- package/dist/types/models/MentorSettings.d.ts +0 -76
- package/dist/types/models/MentorSettingsPublic.d.ts +0 -52
- package/dist/types/models/MentorSettingsRequest.d.ts +0 -62
- package/dist/types/models/MentorVisibilityEnum.d.ts +0 -10
- package/dist/types/models/MentorWizard.d.ts +0 -4
- package/dist/types/models/MessageStatistics.d.ts +0 -5
- package/dist/types/models/MessageView.d.ts +0 -10
- package/dist/types/models/MessageViewRequest.d.ts +0 -7
- package/dist/types/models/MessageViewUpdatResponse.d.ts +0 -3
- package/dist/types/models/Metadata.d.ts +0 -5
- package/dist/types/models/MetricChange.d.ts +0 -4
- package/dist/types/models/MetricInfo.d.ts +0 -5
- package/dist/types/models/ModelCost.d.ts +0 -4
- package/dist/types/models/ModerationLog.d.ts +0 -11
- package/dist/types/models/NoChatMessagesFound.d.ts +0 -3
- package/dist/types/models/NullEnum.d.ts +0 -1
- package/dist/types/models/OAuthStartResponse.d.ts +0 -3
- package/dist/types/models/Observation.d.ts +0 -31
- package/dist/types/models/OvertimeData.d.ts +0 -13
- package/dist/types/models/PageContent.d.ts +0 -6
- package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +0 -7
- package/dist/types/models/PaginatedConversationsList.d.ts +0 -7
- package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +0 -7
- package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +0 -7
- package/dist/types/models/PaginatedEdxCourseList.d.ts +0 -7
- package/dist/types/models/PaginatedEmailPromptListList.d.ts +0 -7
- package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +0 -7
- package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +0 -7
- package/dist/types/models/PaginatedHumanSupportTicketList.d.ts +0 -7
- package/dist/types/models/PaginatedJobRunList.d.ts +0 -7
- package/dist/types/models/PaginatedMCPServerList.d.ts +0 -7
- package/dist/types/models/PaginatedMentorList.d.ts +0 -7
- package/dist/types/models/PaginatedModerationLogList.d.ts +0 -7
- package/dist/types/models/PaginatedObservationList.d.ts +0 -7
- package/dist/types/models/PaginatedPeriodicAgentList.d.ts +0 -7
- package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +0 -7
- package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +0 -7
- package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +0 -7
- package/dist/types/models/PaginatedSectionList.d.ts +0 -7
- package/dist/types/models/PaginatedSubSectionList.d.ts +0 -7
- package/dist/types/models/PaginatedTicketMessageList.d.ts +0 -7
- package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +0 -7
- package/dist/types/models/PaginatedTraceList.d.ts +0 -7
- package/dist/types/models/PaginatedUnitList.d.ts +0 -7
- package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +0 -7
- package/dist/types/models/PaginatedUserMemoryList.d.ts +0 -7
- package/dist/types/models/PaginatedVoiceList.d.ts +0 -7
- package/dist/types/models/PatchedCallConfiguration.d.ts +0 -26
- package/dist/types/models/PatchedConversations.d.ts +0 -28
- package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +0 -7
- package/dist/types/models/PatchedCredentialRequest.d.ts +0 -14
- package/dist/types/models/PatchedHumanSupportTicket.d.ts +0 -21
- package/dist/types/models/PatchedLLMCredentialRequest.d.ts +0 -14
- package/dist/types/models/PatchedMCPServer.d.ts +0 -21
- package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +0 -11
- package/dist/types/models/PatchedMentorCreate.d.ts +0 -84
- package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +0 -41
- package/dist/types/models/PatchedPlayWrightScript.d.ts +0 -12
- package/dist/types/models/PatchedPrompt.d.ts +0 -22
- package/dist/types/models/PatchedSection.d.ts +0 -9
- package/dist/types/models/PatchedSubSection.d.ts +0 -9
- package/dist/types/models/PatchedTicketMessage.d.ts +0 -10
- package/dist/types/models/PatchedUnit.d.ts +0 -11
- package/dist/types/models/PeriodInfo.d.ts +0 -21
- package/dist/types/models/PeriodicAgent.d.ts +0 -42
- package/dist/types/models/PeriodicAgentCreate.d.ts +0 -41
- package/dist/types/models/PeriodicAgentLog.d.ts +0 -11
- package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +0 -10
- package/dist/types/models/PeriodicTask.d.ts +0 -21
- package/dist/types/models/PieChartData.d.ts +0 -5
- package/dist/types/models/PieChartSegment.d.ts +0 -4
- package/dist/types/models/PinnedMessageCreate.d.ts +0 -9
- package/dist/types/models/PinnedMessageGet.d.ts +0 -7
- package/dist/types/models/PinnedMessageRequest.d.ts +0 -6
- package/dist/types/models/PlayWrightScript.d.ts +0 -12
- package/dist/types/models/PredictiveAnalyticsRequest.d.ts +0 -4
- package/dist/types/models/PredictiveAnalyticsResponse.d.ts +0 -4
- package/dist/types/models/PreviousAgentStatusEnum.d.ts +0 -12
- package/dist/types/models/Prompt.d.ts +0 -22
- package/dist/types/models/PromptCategory.d.ts +0 -7
- package/dist/types/models/PromptFacet.d.ts +0 -17
- package/dist/types/models/PromptSearchResponse.d.ts +0 -35
- package/dist/types/models/PromptVisibilityEnum.d.ts +0 -10
- package/dist/types/models/Provider637Enum.d.ts +0 -10
- package/dist/types/models/QuestionCardTag.d.ts +0 -8
- package/dist/types/models/QuestionRequest.d.ts +0 -15
- package/dist/types/models/QuestionResponse.d.ts +0 -10
- package/dist/types/models/RatingEnum.d.ts +0 -8
- package/dist/types/models/RatingRecord.d.ts +0 -4
- package/dist/types/models/RecentlyAccessedMentor.d.ts +0 -8
- package/dist/types/models/RecommendCourseBlock.d.ts +0 -3
- package/dist/types/models/RecommendCourseResponse.d.ts +0 -3
- package/dist/types/models/RecommendedCoursesResponse.d.ts +0 -33
- package/dist/types/models/RelatedText.d.ts +0 -3
- package/dist/types/models/RequestDataVariable.d.ts +0 -14
- package/dist/types/models/ResourceScrappedData.d.ts +0 -13
- package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +0 -12
- package/dist/types/models/ResponseDataVariable.d.ts +0 -14
- package/dist/types/models/RetreiverTrainViewRequest.d.ts +0 -10
- package/dist/types/models/RetreiverTrainViewResponse.d.ts +0 -6
- package/dist/types/models/RetrieveTask.d.ts +0 -3
- package/dist/types/models/RetrieverDocumentEmbedding.d.ts +0 -28
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +0 -66
- package/dist/types/models/RetrieverRequestSearch.d.ts +0 -10
- package/dist/types/models/RetrieverRequestSearchDocument.d.ts +0 -10
- package/dist/types/models/RetrieverResponseSearch.d.ts +0 -7
- package/dist/types/models/ReuestDataVariableList.d.ts +0 -4
- package/dist/types/models/RunMentorEval.d.ts +0 -3
- package/dist/types/models/ScanWebhookRequest.d.ts +0 -6
- package/dist/types/models/ScanWebhookResponse.d.ts +0 -3
- package/dist/types/models/Section.d.ts +0 -9
- package/dist/types/models/SectionWithChildren.d.ts +0 -11
- package/dist/types/models/SeedMentorsView.d.ts +0 -3
- package/dist/types/models/SentimentSummary.d.ts +0 -4
- package/dist/types/models/ServiceEnum.d.ts +0 -10
- package/dist/types/models/SessionBrowserScreenshot.d.ts +0 -8
- package/dist/types/models/SessionDetail.d.ts +0 -6
- package/dist/types/models/SessionMemoryAttachment.d.ts +0 -3
- package/dist/types/models/SessionMemoryStorage.d.ts +0 -6
- package/dist/types/models/ShareableMentorLink.d.ts +0 -8
- package/dist/types/models/ShellLogs.d.ts +0 -3
- package/dist/types/models/SpacedRepetitionLearningPath.d.ts +0 -3
- package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +0 -5
- package/dist/types/models/StarMentor.d.ts +0 -7
- package/dist/types/models/Status6eeEnum.d.ts +0 -12
- package/dist/types/models/Step.d.ts +0 -9
- package/dist/types/models/StepStatusEnum.d.ts +0 -10
- package/dist/types/models/SttProviderEnum.d.ts +0 -12
- package/dist/types/models/StudentChatMessage.d.ts +0 -4
- package/dist/types/models/StylesView.d.ts +0 -4
- package/dist/types/models/SubSection.d.ts +0 -9
- package/dist/types/models/SubSectionWithChildren.d.ts +0 -11
- package/dist/types/models/TagsView.d.ts +0 -5
- package/dist/types/models/TargetSystemEnum.d.ts +0 -8
- package/dist/types/models/TaskView.d.ts +0 -3
- package/dist/types/models/TemplateMentor.d.ts +0 -9
- package/dist/types/models/TenantMentorTraces.d.ts +0 -6
- package/dist/types/models/ThemeEnum.d.ts +0 -8
- package/dist/types/models/TicketMessage.d.ts +0 -10
- package/dist/types/models/TonesView.d.ts +0 -4
- package/dist/types/models/ToolCategory.d.ts +0 -5
- package/dist/types/models/ToolResponse.d.ts +0 -15
- package/dist/types/models/TopicModel.d.ts +0 -3
- package/dist/types/models/TopicRecord.d.ts +0 -4
- package/dist/types/models/TopicStatistics.d.ts +0 -7
- package/dist/types/models/TopicStatisticsResponse.d.ts +0 -6
- package/dist/types/models/TopicSummaryView.d.ts +0 -4
- package/dist/types/models/Trace.d.ts +0 -17
- package/dist/types/models/TrainChatSessionDocumentView.d.ts +0 -6
- package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +0 -6
- package/dist/types/models/TrainDocumentViewRequest.d.ts +0 -70
- package/dist/types/models/TrainDocumentViewResponse.d.ts +0 -15
- package/dist/types/models/TrainingStatusEnum.d.ts +0 -12
- package/dist/types/models/TransportEnum.d.ts +0 -8
- package/dist/types/models/TrendEntry.d.ts +0 -4
- package/dist/types/models/TriggerRequest.d.ts +0 -5
- package/dist/types/models/TriggerResponse.d.ts +0 -6
- package/dist/types/models/TtsProviderEnum.d.ts +0 -10
- package/dist/types/models/TypeC42Enum.d.ts +0 -8
- package/dist/types/models/Unit.d.ts +0 -11
- package/dist/types/models/UnitWithChildren.d.ts +0 -13
- package/dist/types/models/UseMainCreds.d.ts +0 -3
- package/dist/types/models/UserAllChatMemoryView.d.ts +0 -7
- package/dist/types/models/UserCatalogItemMemoryView.d.ts +0 -14
- package/dist/types/models/UserChatByPeriod.d.ts +0 -4
- package/dist/types/models/UserChatFeedback.d.ts +0 -15
- package/dist/types/models/UserChatFeedbackCount.d.ts +0 -4
- package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +0 -6
- package/dist/types/models/UserChatMemoryStatusView.d.ts +0 -6
- package/dist/types/models/UserChatMemoryUpdateView.d.ts +0 -10
- package/dist/types/models/UserCountRecord.d.ts +0 -4
- package/dist/types/models/UserEdxMemory.d.ts +0 -15
- package/dist/types/models/UserMemory.d.ts +0 -17
- package/dist/types/models/UserMemoryContextRequest.d.ts +0 -13
- package/dist/types/models/UserMemoryContextResponse.d.ts +0 -12
- package/dist/types/models/UserMemoryEntry.d.ts +0 -7
- package/dist/types/models/UserMemoryEntryRequest.d.ts +0 -5
- package/dist/types/models/UserMemoryRequest.d.ts +0 -12
- package/dist/types/models/UserMetric.d.ts +0 -4
- package/dist/types/models/UserMetricsResponse.d.ts +0 -7
- package/dist/types/models/UserSentimentCountView.d.ts +0 -4
- package/dist/types/models/UserTrendByPeriod.d.ts +0 -5
- package/dist/types/models/VectorResult.d.ts +0 -8
- package/dist/types/models/VideoCaption.d.ts +0 -3
- package/dist/types/models/Voice.d.ts +0 -9
- package/dist/types/models/WebResource.d.ts +0 -9
- package/dist/types/models/WebResourceCard.d.ts +0 -7
- package/dist/types/models/WebResourcesQuery.d.ts +0 -3
- package/dist/types/services/AiAccountService.d.ts +0 -473
- package/dist/types/services/AiIndexService.d.ts +0 -384
- package/dist/types/services/AiMarketingService.d.ts +0 -38
- package/dist/types/services/AiMediaService.d.ts +0 -122
- package/dist/types/services/AiMentorService.d.ts +0 -5417
- package/dist/types/services/AiPromptService.d.ts +0 -1035
- package/dist/types/services/AnalyticsService.d.ts +0 -233
- package/src/models/AIGeneratedImage.ts +0 -18
- package/src/models/AIUserProfileMemoryRelation.ts +0 -9
- package/src/models/AIUserProfileRequest.ts +0 -9
- package/src/models/AccessEnum.ts +0 -12
- package/src/models/AlignMentorBubbleEnum.ts +0 -12
- package/src/models/AnalyticsOverview.ts +0 -12
- package/src/models/Answer.ts +0 -16
- package/src/models/AssumedKnowledge.ts +0 -9
- package/src/models/AssumedKnowledgeLevel.ts +0 -9
- package/src/models/AudioToTextRequest.ts +0 -8
- package/src/models/AudioToTextResponse.ts +0 -8
- package/src/models/AutoMemoryPrompt.ts +0 -9
- package/src/models/BaseFinanceResponse.ts +0 -42
- package/src/models/CallAuthenticationRequest.ts +0 -18
- package/src/models/CallAuthenticationResponse.ts +0 -26
- package/src/models/CallConfiguration.ts +0 -31
- package/src/models/CallConfigurationModeEnum.ts +0 -12
- package/src/models/ChatHistory.ts +0 -13
- package/src/models/ChatHistoryFilterData.ts +0 -14
- package/src/models/ChatHistoryFilterUser.ts +0 -10
- package/src/models/ChatHistoryItem.ts +0 -10
- package/src/models/ChatHistorySessionId.ts +0 -8
- package/src/models/ChatSessionRequest.ts +0 -19
- package/src/models/ChatSessionResponse.ts +0 -10
- package/src/models/CheckDocumentTrainingStatus.ts +0 -15
- package/src/models/ComparisonInfo.ts +0 -34
- package/src/models/ComponentBlock.ts +0 -14
- package/src/models/ComponentBlockTypeEnum.ts +0 -12
- package/src/models/ConnectedService.ts +0 -14
- package/src/models/ConnectedServiceProviderEnum.ts +0 -10
- package/src/models/ConversationMessage.ts +0 -16
- package/src/models/ConversationRating.ts +0 -11
- package/src/models/ConversationSummary.ts +0 -10
- package/src/models/ConversationVolume.ts +0 -9
- package/src/models/Conversations.ts +0 -33
- package/src/models/Cost.ts +0 -8
- package/src/models/CostPerTenant.ts +0 -11
- package/src/models/CourseCreationTask.ts +0 -36
- package/src/models/CourseCreationTaskFile.ts +0 -12
- package/src/models/CourseCreationTaskStatusEnum.ts +0 -20
- package/src/models/CrawlerPatternTypeEnum.ts +0 -12
- package/src/models/CredentialRequest.ts +0 -19
- package/src/models/CrontabSchedule.ts +0 -27
- package/src/models/CustomInstructionResponse.ts +0 -18
- package/src/models/DateRange.ts +0 -9
- package/src/models/Document.ts +0 -46
- package/src/models/DocumentFacet.ts +0 -22
- package/src/models/DocumentSearchResponse.ts +0 -40
- package/src/models/DocumentSettingsResponse.ts +0 -8
- package/src/models/EdxCourse.ts +0 -16
- package/src/models/ElevenlabsCustomVoice.ts +0 -9
- package/src/models/ElevenlabsCustomVoiceResponse.ts +0 -13
- package/src/models/EmailPromptDetail.ts +0 -18
- package/src/models/EmailPromptList.ts +0 -16
- package/src/models/EmailPromptSummary.ts +0 -10
- package/src/models/FinanceDetailsResponse.ts +0 -18
- package/src/models/FinanceFilters.ts +0 -20
- package/src/models/FreeUsageCount.ts +0 -8
- package/src/models/FullCourse.ts +0 -18
- package/src/models/GreetingMethodEnum.ts +0 -12
- package/src/models/GuidedPrompt.ts +0 -9
- package/src/models/GuidedPromptsResponse.ts +0 -10
- package/src/models/HeygenMarketingVideoDetail.ts +0 -13
- package/src/models/HeygenMarketingVideoList.ts +0 -11
- package/src/models/HeygenTemplateRequest.ts +0 -10
- package/src/models/HeygenTemplateResponseSingle.ts +0 -11
- package/src/models/HeygenVideoDetail.ts +0 -13
- package/src/models/HeygenVideoRequest.ts +0 -10
- package/src/models/HumanSupportTicket.ts +0 -26
- package/src/models/HumanSupportTicketStatusEnum.ts +0 -14
- package/src/models/InputQuestion.ts +0 -11
- package/src/models/IntegrationCredential.ts +0 -13
- package/src/models/IntegrationCredentialSchema.ts +0 -9
- package/src/models/IntialQuestionAnswer.ts +0 -8
- package/src/models/JobRun.ts +0 -16
- package/src/models/KindEnum.ts +0 -14
- package/src/models/LLMCredentialRequest.ts +0 -19
- package/src/models/LLMCredentialResponse.ts +0 -13
- package/src/models/LLMCredentialSchema.ts +0 -9
- package/src/models/LLMModelForTenant.ts +0 -11
- package/src/models/LLMQuestion.ts +0 -20
- package/src/models/LLMResponse.ts +0 -19
- package/src/models/LLMTracesListResponse.ts +0 -10
- package/src/models/LanguagesView.ts +0 -10
- package/src/models/LinkCourseRequest.ts +0 -8
- package/src/models/LinkCourseResponse.ts +0 -10
- package/src/models/LlmProviderEnum.ts +0 -12
- package/src/models/MCPServer.ts +0 -26
- package/src/models/MaskedIntegrationCredential.ts +0 -13
- package/src/models/MaskedLLMCredential.ts +0 -13
- package/src/models/MemoryComponentData.ts +0 -10
- package/src/models/MemoryComponentMemory.ts +0 -9
- package/src/models/MemoryComponentMemoryDetail.ts +0 -13
- package/src/models/MemoryComponentResponse.ts +0 -10
- package/src/models/MemoryProgress.ts +0 -13
- package/src/models/MemoryStatusRequestView.ts +0 -11
- package/src/models/MemoryStatusView.ts +0 -11
- package/src/models/Mentor.ts +0 -92
- package/src/models/MentorAudience.ts +0 -10
- package/src/models/MentorCategory.ts +0 -14
- package/src/models/MentorCategoryCreate.ts +0 -16
- package/src/models/MentorCategoryGroup.ts +0 -16
- package/src/models/MentorCategoryGroupCreate.ts +0 -16
- package/src/models/MentorCreate.ts +0 -89
- package/src/models/MentorCustomVoice.ts +0 -9
- package/src/models/MentorCustomVoiceResponse.ts +0 -9
- package/src/models/MentorData.ts +0 -12
- package/src/models/MentorDetailAnalytics.ts +0 -11
- package/src/models/MentorEval.ts +0 -16
- package/src/models/MentorEvalQuestion.ts +0 -10
- package/src/models/MentorEvalQuestionRequest.ts +0 -9
- package/src/models/MentorEvalReport.ts +0 -15
- package/src/models/MentorEvalRequest.ts +0 -13
- package/src/models/MentorFacet.ts +0 -22
- package/src/models/MentorFork.ts +0 -10
- package/src/models/MentorFromTemplateWithSettingRequest.ts +0 -52
- package/src/models/MentorMemorySettingsRequest.ts +0 -11
- package/src/models/MentorMemorySettingsResponse.ts +0 -11
- package/src/models/MentorMetadata.ts +0 -10
- package/src/models/MentorScenario.ts +0 -11
- package/src/models/MentorScenarioPrompt.ts +0 -10
- package/src/models/MentorSearchResponse.ts +0 -40
- package/src/models/MentorSession.ts +0 -9
- package/src/models/MentorSettings.ts +0 -81
- package/src/models/MentorSettingsPublic.ts +0 -57
- package/src/models/MentorSettingsRequest.ts +0 -67
- package/src/models/MentorVisibilityEnum.ts +0 -14
- package/src/models/MentorWizard.ts +0 -9
- package/src/models/MessageStatistics.ts +0 -10
- package/src/models/MessageView.ts +0 -15
- package/src/models/MessageViewRequest.ts +0 -12
- package/src/models/MessageViewUpdatResponse.ts +0 -8
- package/src/models/Metadata.ts +0 -10
- package/src/models/MetricChange.ts +0 -9
- package/src/models/MetricInfo.ts +0 -10
- package/src/models/ModelCost.ts +0 -9
- package/src/models/ModerationLog.ts +0 -16
- package/src/models/NoChatMessagesFound.ts +0 -8
- package/src/models/NullEnum.ts +0 -7
- package/src/models/OAuthStartResponse.ts +0 -8
- package/src/models/Observation.ts +0 -36
- package/src/models/OvertimeData.ts +0 -18
- package/src/models/PageContent.ts +0 -11
- package/src/models/PaginatedAIGeneratedImageList.ts +0 -12
- package/src/models/PaginatedConversationsList.ts +0 -12
- package/src/models/PaginatedCourseCreationTaskFileList.ts +0 -12
- package/src/models/PaginatedCourseCreationTaskList.ts +0 -12
- package/src/models/PaginatedEdxCourseList.ts +0 -12
- package/src/models/PaginatedEmailPromptListList.ts +0 -12
- package/src/models/PaginatedHeygenMarketingVideoListList.ts +0 -12
- package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +0 -12
- package/src/models/PaginatedHumanSupportTicketList.ts +0 -12
- package/src/models/PaginatedJobRunList.ts +0 -12
- package/src/models/PaginatedMCPServerList.ts +0 -12
- package/src/models/PaginatedMentorList.ts +0 -12
- package/src/models/PaginatedModerationLogList.ts +0 -12
- package/src/models/PaginatedObservationList.ts +0 -12
- package/src/models/PaginatedPeriodicAgentList.ts +0 -12
- package/src/models/PaginatedPeriodicAgentLogList.ts +0 -12
- package/src/models/PaginatedPlayWrightScriptList.ts +0 -12
- package/src/models/PaginatedRetrieverDocumentEmbeddingList.ts +0 -12
- package/src/models/PaginatedSectionList.ts +0 -12
- package/src/models/PaginatedSubSectionList.ts +0 -12
- package/src/models/PaginatedTicketMessageList.ts +0 -12
- package/src/models/PaginatedTopicStatisticsResponse.ts +0 -12
- package/src/models/PaginatedTraceList.ts +0 -12
- package/src/models/PaginatedUnitList.ts +0 -12
- package/src/models/PaginatedUserEdxMemoryList.ts +0 -12
- package/src/models/PaginatedUserMemoryList.ts +0 -12
- package/src/models/PaginatedVoiceList.ts +0 -12
- package/src/models/PatchedCallConfiguration.ts +0 -31
- package/src/models/PatchedConversations.ts +0 -33
- package/src/models/PatchedCourseCreationTaskFile.ts +0 -12
- package/src/models/PatchedCredentialRequest.ts +0 -19
- package/src/models/PatchedHumanSupportTicket.ts +0 -26
- package/src/models/PatchedLLMCredentialRequest.ts +0 -19
- package/src/models/PatchedMCPServer.ts +0 -26
- package/src/models/PatchedMentorCategoryGroupCreate.ts +0 -16
- package/src/models/PatchedMentorCreate.ts +0 -89
- package/src/models/PatchedPeriodicAgentCreate.ts +0 -46
- package/src/models/PatchedPlayWrightScript.ts +0 -17
- package/src/models/PatchedPrompt.ts +0 -27
- package/src/models/PatchedSection.ts +0 -14
- package/src/models/PatchedSubSection.ts +0 -14
- package/src/models/PatchedTicketMessage.ts +0 -15
- package/src/models/PatchedUnit.ts +0 -16
- package/src/models/PeriodInfo.ts +0 -26
- package/src/models/PeriodicAgent.ts +0 -47
- package/src/models/PeriodicAgentCreate.ts +0 -46
- package/src/models/PeriodicAgentLog.ts +0 -16
- package/src/models/PeriodicAgentLogStatusEnum.ts +0 -14
- package/src/models/PeriodicTask.ts +0 -26
- package/src/models/PieChartData.ts +0 -10
- package/src/models/PieChartSegment.ts +0 -9
- package/src/models/PinnedMessageCreate.ts +0 -14
- package/src/models/PinnedMessageGet.ts +0 -12
- package/src/models/PinnedMessageRequest.ts +0 -11
- package/src/models/PlayWrightScript.ts +0 -17
- package/src/models/PredictiveAnalyticsRequest.ts +0 -9
- package/src/models/PredictiveAnalyticsResponse.ts +0 -9
- package/src/models/PreviousAgentStatusEnum.ts +0 -16
- package/src/models/Prompt.ts +0 -27
- package/src/models/PromptCategory.ts +0 -12
- package/src/models/PromptFacet.ts +0 -22
- package/src/models/PromptSearchResponse.ts +0 -40
- package/src/models/PromptVisibilityEnum.ts +0 -14
- package/src/models/Provider637Enum.ts +0 -14
- package/src/models/QuestionCardTag.ts +0 -13
- package/src/models/QuestionRequest.ts +0 -20
- package/src/models/QuestionResponse.ts +0 -15
- package/src/models/RatingEnum.ts +0 -12
- package/src/models/RatingRecord.ts +0 -9
- package/src/models/RecentlyAccessedMentor.ts +0 -13
- package/src/models/RecommendCourseBlock.ts +0 -8
- package/src/models/RecommendCourseResponse.ts +0 -8
- package/src/models/RecommendedCoursesResponse.ts +0 -38
- package/src/models/RelatedText.ts +0 -8
- package/src/models/RequestDataVariable.ts +0 -19
- package/src/models/ResourceScrappedData.ts +0 -18
- package/src/models/ResourceScrappedDataStatusEnum.ts +0 -16
- package/src/models/ResponseDataVariable.ts +0 -19
- package/src/models/RetreiverTrainViewRequest.ts +0 -15
- package/src/models/RetreiverTrainViewResponse.ts +0 -11
- package/src/models/RetrieveTask.ts +0 -8
- package/src/models/RetrieverDocumentEmbedding.ts +0 -33
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +0 -71
- package/src/models/RetrieverRequestSearch.ts +0 -15
- package/src/models/RetrieverRequestSearchDocument.ts +0 -15
- package/src/models/RetrieverResponseSearch.ts +0 -12
- package/src/models/ReuestDataVariableList.ts +0 -9
- package/src/models/RunMentorEval.ts +0 -8
- package/src/models/ScanWebhookRequest.ts +0 -11
- package/src/models/ScanWebhookResponse.ts +0 -8
- package/src/models/Section.ts +0 -14
- package/src/models/SectionWithChildren.ts +0 -16
- package/src/models/SeedMentorsView.ts +0 -8
- package/src/models/SentimentSummary.ts +0 -9
- package/src/models/ServiceEnum.ts +0 -14
- package/src/models/SessionBrowserScreenshot.ts +0 -13
- package/src/models/SessionDetail.ts +0 -11
- package/src/models/SessionMemoryAttachment.ts +0 -8
- package/src/models/SessionMemoryStorage.ts +0 -11
- package/src/models/ShareableMentorLink.ts +0 -13
- package/src/models/ShellLogs.ts +0 -8
- package/src/models/SpacedRepetitionLearningPath.ts +0 -8
- package/src/models/SpacedRepetitionQuestionStats.ts +0 -10
- package/src/models/StarMentor.ts +0 -12
- package/src/models/Status6eeEnum.ts +0 -16
- package/src/models/Step.ts +0 -14
- package/src/models/StepStatusEnum.ts +0 -14
- package/src/models/SttProviderEnum.ts +0 -16
- package/src/models/StudentChatMessage.ts +0 -9
- package/src/models/StylesView.ts +0 -9
- package/src/models/SubSection.ts +0 -14
- package/src/models/SubSectionWithChildren.ts +0 -16
- package/src/models/TagsView.ts +0 -10
- package/src/models/TargetSystemEnum.ts +0 -12
- package/src/models/TaskView.ts +0 -8
- package/src/models/TemplateMentor.ts +0 -14
- package/src/models/TenantMentorTraces.ts +0 -11
- package/src/models/ThemeEnum.ts +0 -12
- package/src/models/TicketMessage.ts +0 -15
- package/src/models/TonesView.ts +0 -9
- package/src/models/ToolCategory.ts +0 -10
- package/src/models/ToolResponse.ts +0 -20
- package/src/models/TopicModel.ts +0 -8
- package/src/models/TopicRecord.ts +0 -9
- package/src/models/TopicStatistics.ts +0 -12
- package/src/models/TopicStatisticsResponse.ts +0 -11
- package/src/models/TopicSummaryView.ts +0 -9
- package/src/models/Trace.ts +0 -22
- package/src/models/TrainChatSessionDocumentView.ts +0 -11
- package/src/models/TrainChatSessionDocumentViewRequest.ts +0 -11
- package/src/models/TrainDocumentViewRequest.ts +0 -75
- package/src/models/TrainDocumentViewResponse.ts +0 -20
- package/src/models/TrainingStatusEnum.ts +0 -16
- package/src/models/TransportEnum.ts +0 -12
- package/src/models/TrendEntry.ts +0 -9
- package/src/models/TriggerRequest.ts +0 -10
- package/src/models/TriggerResponse.ts +0 -11
- package/src/models/TtsProviderEnum.ts +0 -14
- package/src/models/TypeC42Enum.ts +0 -12
- package/src/models/Unit.ts +0 -16
- package/src/models/UnitWithChildren.ts +0 -18
- package/src/models/UseMainCreds.ts +0 -8
- package/src/models/UserAllChatMemoryView.ts +0 -12
- package/src/models/UserCatalogItemMemoryView.ts +0 -19
- package/src/models/UserChatByPeriod.ts +0 -9
- package/src/models/UserChatFeedback.ts +0 -20
- package/src/models/UserChatFeedbackCount.ts +0 -9
- package/src/models/UserChatMemoryStatusRequestView.ts +0 -11
- package/src/models/UserChatMemoryStatusView.ts +0 -11
- package/src/models/UserChatMemoryUpdateView.ts +0 -15
- package/src/models/UserCountRecord.ts +0 -9
- package/src/models/UserEdxMemory.ts +0 -20
- package/src/models/UserMemory.ts +0 -22
- package/src/models/UserMemoryContextRequest.ts +0 -18
- package/src/models/UserMemoryContextResponse.ts +0 -17
- package/src/models/UserMemoryEntry.ts +0 -12
- package/src/models/UserMemoryEntryRequest.ts +0 -10
- package/src/models/UserMemoryRequest.ts +0 -17
- package/src/models/UserMetric.ts +0 -9
- package/src/models/UserMetricsResponse.ts +0 -12
- package/src/models/UserSentimentCountView.ts +0 -9
- package/src/models/UserTrendByPeriod.ts +0 -10
- package/src/models/VectorResult.ts +0 -13
- package/src/models/VideoCaption.ts +0 -8
- package/src/models/Voice.ts +0 -14
- package/src/models/WebResource.ts +0 -14
- package/src/models/WebResourceCard.ts +0 -12
- package/src/models/WebResourcesQuery.ts +0 -8
- package/src/services/AiAccountService.ts +0 -755
- package/src/services/AiIndexService.ts +0 -676
- package/src/services/AiMarketingService.ts +0 -96
- package/src/services/AiMediaService.ts +0 -289
- package/src/services/AiMentorService.ts +0 -10059
- package/src/services/AiPromptService.ts +0 -1985
- package/src/services/AnalyticsService.ts +0 -314
|
@@ -1,233 +0,0 @@
|
|
|
1
|
-
import type { BaseFinanceResponse } from '../models/BaseFinanceResponse';
|
|
2
|
-
import type { FinanceDetailsResponse } from '../models/FinanceDetailsResponse';
|
|
3
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
|
-
export declare class AnalyticsService {
|
|
5
|
-
/**
|
|
6
|
-
* Financial Analytics API - Get comprehensive cost metrics with comparison analysis.
|
|
7
|
-
*
|
|
8
|
-
* This endpoint provides period-based cost analysis (not cumulative) with support for:
|
|
9
|
-
* - Multiple time granularities and metrics
|
|
10
|
-
* - Cross-dimensional filtering
|
|
11
|
-
* - Percentage change vs comparison periods
|
|
12
|
-
* - Forward-filled time series
|
|
13
|
-
*
|
|
14
|
-
* **Examples:**
|
|
15
|
-
*
|
|
16
|
-
* **Basic Weekly Costs:**
|
|
17
|
-
* ```
|
|
18
|
-
* GET /api/v2/analytics/financial/?metric=weekly_costs&comparison_days=10
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* **Platform & Mentor Filtered:**
|
|
22
|
-
* ```
|
|
23
|
-
* # Get total costs for a specific platform and mentor
|
|
24
|
-
* GET /api/v2/analytics/financial/?metric=total_costs&platform_key=web-app&mentor_unique_id=mentor-123&comparison_days=14
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* **Monthly Costs by Provider:**
|
|
28
|
-
* ```
|
|
29
|
-
* GET /api/v2/analytics/financial/?metric=monthly_costs&provider=openai&granularity=month&comparison_days=30
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* **Daily Costs for Specific User:**
|
|
33
|
-
* ```
|
|
34
|
-
* GET /api/v2/analytics/financial/?metric=total_costs&username=user-456&granularity=day&start_date=2025-01-15&end_date=2025-01-21&comparison_days=7
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* **Response Structure:**
|
|
39
|
-
* ```json
|
|
40
|
-
* {
|
|
41
|
-
* "metric": "weekly_costs",
|
|
42
|
-
* "value": 12.47,
|
|
43
|
-
* "percentage_change": 8.5,
|
|
44
|
-
* "overtime": [
|
|
45
|
-
* {"date": "2025-01-06", "value": 2.89},
|
|
46
|
-
* {"date": "2025-01-13", "value": 3.12}
|
|
47
|
-
* ],
|
|
48
|
-
* "period_info": {
|
|
49
|
-
* "start_date": "2025-01-01",
|
|
50
|
-
* "end_date": "2025-01-31",
|
|
51
|
-
* "period_days": 31
|
|
52
|
-
* },
|
|
53
|
-
* "comparison_info": {
|
|
54
|
-
* "previous_period_value": 11.50,
|
|
55
|
-
* ...
|
|
56
|
-
* }
|
|
57
|
-
* }
|
|
58
|
-
* ```
|
|
59
|
-
* @returns BaseFinanceResponse Successful financial metrics response with period-based cost data
|
|
60
|
-
* @throws ApiError
|
|
61
|
-
*/
|
|
62
|
-
static analyticsFinancialRetrieve({ metric, allTime, comparisonDays, endDate, fillMethod, granularity, llmModel, mentorUniqueId, platformKey, provider, showOvertime, startDate, username, }: {
|
|
63
|
-
/**
|
|
64
|
-
* Type of financial metric to retrieve
|
|
65
|
-
*
|
|
66
|
-
* * `total_costs` - Total costs for selected timeframe
|
|
67
|
-
* * `weekly_costs` - Costs for current/selected week
|
|
68
|
-
* * `monthly_costs` - Costs for current/selected month
|
|
69
|
-
*/
|
|
70
|
-
metric: 'total_costs' | 'weekly_costs' | 'monthly_costs';
|
|
71
|
-
/**
|
|
72
|
-
* calculate from platform inception (ignores date filters)
|
|
73
|
-
*/
|
|
74
|
-
allTime?: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Number of days for comparison period to calculate percentage change (e.g., 10 for 10-day comparison)
|
|
77
|
-
*/
|
|
78
|
-
comparisonDays?: number;
|
|
79
|
-
/**
|
|
80
|
-
* End date for analysis (YYYY-MM-DD). Defaults to today.
|
|
81
|
-
*/
|
|
82
|
-
endDate?: string;
|
|
83
|
-
/**
|
|
84
|
-
* Method for filling missing time periods in overtime data
|
|
85
|
-
*
|
|
86
|
-
* * `zero` - Fill missing periods with zero
|
|
87
|
-
* * `previous` - Fill missing periods with previous value
|
|
88
|
-
*/
|
|
89
|
-
fillMethod?: 'zero' | 'previous';
|
|
90
|
-
/**
|
|
91
|
-
* Time granularity for overtime series data
|
|
92
|
-
*
|
|
93
|
-
* * `day` - Daily data points
|
|
94
|
-
* * `week` - Weekly data points
|
|
95
|
-
* * `month` - Monthly data points
|
|
96
|
-
*/
|
|
97
|
-
granularity?: 'day' | 'week' | 'month';
|
|
98
|
-
/**
|
|
99
|
-
* Filter by specific LLM model (e.g., gpt-4o, claude-3-5-sonnet)
|
|
100
|
-
*/
|
|
101
|
-
llmModel?: string;
|
|
102
|
-
/**
|
|
103
|
-
* Filter by specific mentor ID
|
|
104
|
-
*/
|
|
105
|
-
mentorUniqueId?: string;
|
|
106
|
-
/**
|
|
107
|
-
* Filter by specific platform key
|
|
108
|
-
*/
|
|
109
|
-
platformKey?: string;
|
|
110
|
-
/**
|
|
111
|
-
* Filter by AI provider
|
|
112
|
-
*
|
|
113
|
-
* * `openai` - OpenAI
|
|
114
|
-
* * `anthropic` - Anthropic
|
|
115
|
-
* * `azure` - Azure
|
|
116
|
-
* * `google` - Google
|
|
117
|
-
* * `meta` - Meta
|
|
118
|
-
* * `other` - Other
|
|
119
|
-
*/
|
|
120
|
-
provider?: 'openai' | 'anthropic' | 'azure' | 'google' | 'meta' | 'other';
|
|
121
|
-
/**
|
|
122
|
-
* Whether to include overtime series data in response
|
|
123
|
-
*/
|
|
124
|
-
showOvertime?: boolean;
|
|
125
|
-
/**
|
|
126
|
-
* Start date for analysis (YYYY-MM-DD). Defaults to 30 days ago.
|
|
127
|
-
*/
|
|
128
|
-
startDate?: string;
|
|
129
|
-
/**
|
|
130
|
-
* Filter by specific username - returns costs for this user only
|
|
131
|
-
*/
|
|
132
|
-
username?: string;
|
|
133
|
-
}): CancelablePromise<BaseFinanceResponse>;
|
|
134
|
-
/**
|
|
135
|
-
* Financial Details Analytics API – paginated cost tables with flexible grouping.
|
|
136
|
-
*
|
|
137
|
-
* This endpoint returns tabular cost metrics aggregated by the dimension
|
|
138
|
-
* specified via the `group_by` query parameter. One or more KPI columns
|
|
139
|
-
* can be requested through the comma-separated `metrics` list while
|
|
140
|
-
* typical filters (date range, provider, platform_key, user, etc.) narrow the
|
|
141
|
-
* dataset. Results are paginated with `page` / `limit`.
|
|
142
|
-
*
|
|
143
|
-
* **Required query parameters**
|
|
144
|
-
* - group_by – provider | llm_model | username | user_id | date | session_id
|
|
145
|
-
* - metrics – csv list of KPI names, e.g. total_cost, sessions, cost_per_session
|
|
146
|
-
*
|
|
147
|
-
* **Shared optional filters**
|
|
148
|
-
* - start_date, end_date – ISO yyyy-mm-dd (ignored when all_time=true)
|
|
149
|
-
* - platform_key – tenant isolation
|
|
150
|
-
* - mentor_unique_id – filter to one mentor
|
|
151
|
-
* - username / user_id – filter to a learner
|
|
152
|
-
* - provider / llm_model – filter to LLM provider / model
|
|
153
|
-
* - all_time – true → lifetime totals
|
|
154
|
-
* - page (default 1), limit (default 50)
|
|
155
|
-
*
|
|
156
|
-
* **Examples**
|
|
157
|
-
* --------
|
|
158
|
-
* 1. Cost by provider for the last week
|
|
159
|
-
* ```
|
|
160
|
-
* GET /api/v2/analytics/financial/details?
|
|
161
|
-
* group_by=provider&
|
|
162
|
-
* metrics=total_cost&
|
|
163
|
-
* start_date=2025-01-01&
|
|
164
|
-
* end_date=2025-01-07&
|
|
165
|
-
* page=1&limit=10
|
|
166
|
-
* ```
|
|
167
|
-
*
|
|
168
|
-
* 2. Lifetime cost per user with extra KPIs
|
|
169
|
-
* ```
|
|
170
|
-
* GET /api/v2/analytics/financial/details?
|
|
171
|
-
* group_by=username&
|
|
172
|
-
* metrics=total_cost,sessions,cost_per_session&
|
|
173
|
-
* all_time=true&page=1&limit=50
|
|
174
|
-
* ```
|
|
175
|
-
* 3. Cost by LLM model with tenant filter
|
|
176
|
-
* ```
|
|
177
|
-
* GET /api/v2/analytics/financial/details?
|
|
178
|
-
* group_by=llm_model&
|
|
179
|
-
* metrics=total_cost&
|
|
180
|
-
* platform_key=web-app&
|
|
181
|
-
* start_date=2025-01-01&end_date=2025-01-31
|
|
182
|
-
* ```
|
|
183
|
-
* Response structure
|
|
184
|
-
* -------------------
|
|
185
|
-
* ```
|
|
186
|
-
* {
|
|
187
|
-
* "page": 1,
|
|
188
|
-
* "limit": 10,
|
|
189
|
-
* "total_pages": 1,
|
|
190
|
-
* "total_records": 3,
|
|
191
|
-
* "rows": [
|
|
192
|
-
* {"provider": "openai", "total_cost": 2.5},
|
|
193
|
-
* {"provider": "anthropic", "total_cost": 1.0},
|
|
194
|
-
* {"provider": "azure", "total_cost": 0.5}
|
|
195
|
-
* ],
|
|
196
|
-
* "metrics": [
|
|
197
|
-
* {
|
|
198
|
-
* "name": "total_cost",
|
|
199
|
-
* "unit": "$",
|
|
200
|
-
* "description": "Cost for this entity in period"
|
|
201
|
-
* }
|
|
202
|
-
* ],
|
|
203
|
-
* "total_cost": 4.0 // optional grand-total when available
|
|
204
|
-
* }
|
|
205
|
-
* ``
|
|
206
|
-
* @returns FinanceDetailsResponse
|
|
207
|
-
* @throws ApiError
|
|
208
|
-
*/
|
|
209
|
-
static analyticsFinancialDetailsRetrieve({ groupBy, allTime, endDate, limit, llmModel, mentorUniqueId, metrics, page, platformKey, provider, startDate, username, }: {
|
|
210
|
-
/**
|
|
211
|
-
* Dimension to group by
|
|
212
|
-
*
|
|
213
|
-
* * `provider` - Group by provider
|
|
214
|
-
* * `llm_model` - Group by LLM model
|
|
215
|
-
* * `username` - Group by username
|
|
216
|
-
*/
|
|
217
|
-
groupBy: 'provider' | 'llm_model' | 'username';
|
|
218
|
-
allTime?: boolean;
|
|
219
|
-
endDate?: string;
|
|
220
|
-
limit?: number;
|
|
221
|
-
llmModel?: string;
|
|
222
|
-
mentorUniqueId?: string;
|
|
223
|
-
/**
|
|
224
|
-
* Comma-separated list of metrics (e.g. total_cost,sessions, last_active)
|
|
225
|
-
*/
|
|
226
|
-
metrics?: string;
|
|
227
|
-
page?: number;
|
|
228
|
-
platformKey?: string;
|
|
229
|
-
provider?: string;
|
|
230
|
-
startDate?: string;
|
|
231
|
-
username?: string;
|
|
232
|
-
}): CancelablePromise<FinanceDetailsResponse>;
|
|
233
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type AIGeneratedImage = {
|
|
6
|
-
readonly id: number;
|
|
7
|
-
/**
|
|
8
|
-
* edX user ID
|
|
9
|
-
*/
|
|
10
|
-
user?: number | null;
|
|
11
|
-
image: string;
|
|
12
|
-
platform?: number | null;
|
|
13
|
-
prompt?: string;
|
|
14
|
-
model?: string;
|
|
15
|
-
provider?: string;
|
|
16
|
-
readonly date_created: string;
|
|
17
|
-
};
|
|
18
|
-
|
package/src/models/AccessEnum.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
/**
|
|
6
|
-
* * `public` - Public
|
|
7
|
-
* * `private` - Private
|
|
8
|
-
*/
|
|
9
|
-
export enum AccessEnum {
|
|
10
|
-
PUBLIC = 'public',
|
|
11
|
-
PRIVATE = 'private',
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
/**
|
|
6
|
-
* * `left` - Left
|
|
7
|
-
* * `right` - Right
|
|
8
|
-
*/
|
|
9
|
-
export enum AlignMentorBubbleEnum {
|
|
10
|
-
LEFT = 'left',
|
|
11
|
-
RIGHT = 'right',
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { MetricChange } from './MetricChange';
|
|
6
|
-
export type AnalyticsOverview = {
|
|
7
|
-
conversation_volume: MetricChange;
|
|
8
|
-
users: MetricChange;
|
|
9
|
-
topics: MetricChange;
|
|
10
|
-
user_rating: MetricChange;
|
|
11
|
-
};
|
|
12
|
-
|
package/src/models/Answer.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
/**
|
|
6
|
-
* Serializer for an individual answer choice for a question.
|
|
7
|
-
*
|
|
8
|
-
* Attributes:
|
|
9
|
-
* text (str): The text of the answer.
|
|
10
|
-
* is_correct (Optional[bool]): Boolean indicating if this answer is correct.
|
|
11
|
-
*/
|
|
12
|
-
export type Answer = {
|
|
13
|
-
text: string;
|
|
14
|
-
is_correct?: boolean;
|
|
15
|
-
};
|
|
16
|
-
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { AssumedKnowledgeLevel } from './AssumedKnowledgeLevel';
|
|
6
|
-
export type AssumedKnowledge = {
|
|
7
|
-
levels: Array<AssumedKnowledgeLevel>;
|
|
8
|
-
};
|
|
9
|
-
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { ComparisonInfo } from './ComparisonInfo';
|
|
6
|
-
import type { FinanceFilters } from './FinanceFilters';
|
|
7
|
-
import type { OvertimeData } from './OvertimeData';
|
|
8
|
-
import type { PeriodInfo } from './PeriodInfo';
|
|
9
|
-
/**
|
|
10
|
-
* Base response for all finance metrics.
|
|
11
|
-
*/
|
|
12
|
-
export type BaseFinanceResponse = {
|
|
13
|
-
/**
|
|
14
|
-
* The metric type that was requested
|
|
15
|
-
*/
|
|
16
|
-
metric: string;
|
|
17
|
-
/**
|
|
18
|
-
* Applied filters for this query
|
|
19
|
-
*/
|
|
20
|
-
filters: FinanceFilters;
|
|
21
|
-
/**
|
|
22
|
-
* Primary metric value (cost in USD)
|
|
23
|
-
*/
|
|
24
|
-
value: number;
|
|
25
|
-
/**
|
|
26
|
-
* Percentage change vs comparison period (null if no comparison)
|
|
27
|
-
*/
|
|
28
|
-
percentage_change: number | null;
|
|
29
|
-
/**
|
|
30
|
-
* Time series data for overtime visualization
|
|
31
|
-
*/
|
|
32
|
-
overtime: Array<OvertimeData>;
|
|
33
|
-
/**
|
|
34
|
-
* Information about the analysis period
|
|
35
|
-
*/
|
|
36
|
-
period_info: PeriodInfo;
|
|
37
|
-
/**
|
|
38
|
-
* Information about comparison period (empty if no comparison)
|
|
39
|
-
*/
|
|
40
|
-
comparison_info: ComparisonInfo;
|
|
41
|
-
};
|
|
42
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
/**
|
|
6
|
-
* Serializer for IBL Call Pro authentication request.
|
|
7
|
-
*/
|
|
8
|
-
export type CallAuthenticationRequest = {
|
|
9
|
-
/**
|
|
10
|
-
* The ID of the session for the call
|
|
11
|
-
*/
|
|
12
|
-
session_id: string;
|
|
13
|
-
/**
|
|
14
|
-
* The pathway identifier for the call context
|
|
15
|
-
*/
|
|
16
|
-
pathway: string;
|
|
17
|
-
};
|
|
18
|
-
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
/**
|
|
6
|
-
* Serializer for IBL Call Pro authentication parameters.
|
|
7
|
-
*/
|
|
8
|
-
export type CallAuthenticationResponse = {
|
|
9
|
-
/**
|
|
10
|
-
* The WebSocket URL for the IBL Call Pro server
|
|
11
|
-
*/
|
|
12
|
-
ws_url: string;
|
|
13
|
-
/**
|
|
14
|
-
* The name of the IBL Call Pro room
|
|
15
|
-
*/
|
|
16
|
-
room_name: string;
|
|
17
|
-
/**
|
|
18
|
-
* The name of the participant joining the room
|
|
19
|
-
*/
|
|
20
|
-
participant_name: string;
|
|
21
|
-
/**
|
|
22
|
-
* The JWT token for authenticating the participant
|
|
23
|
-
*/
|
|
24
|
-
participant_token: string;
|
|
25
|
-
};
|
|
26
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { CallConfigurationModeEnum } from './CallConfigurationModeEnum';
|
|
6
|
-
import type { LlmProviderEnum } from './LlmProviderEnum';
|
|
7
|
-
import type { SttProviderEnum } from './SttProviderEnum';
|
|
8
|
-
import type { TtsProviderEnum } from './TtsProviderEnum';
|
|
9
|
-
import type { Voice } from './Voice';
|
|
10
|
-
export type CallConfiguration = {
|
|
11
|
-
readonly id: number;
|
|
12
|
-
mentor: number;
|
|
13
|
-
mode?: CallConfigurationModeEnum;
|
|
14
|
-
tts_provider?: TtsProviderEnum;
|
|
15
|
-
stt_provider?: SttProviderEnum;
|
|
16
|
-
llm_provider?: LlmProviderEnum;
|
|
17
|
-
/**
|
|
18
|
-
* Whether to use function calls in the agent or force RAG calls before LLM generation
|
|
19
|
-
*/
|
|
20
|
-
use_function_calling_for_rag?: boolean;
|
|
21
|
-
google_voice?: Voice;
|
|
22
|
-
openai_voice?: Voice;
|
|
23
|
-
openai_voice_id: number | null;
|
|
24
|
-
google_voice_id: number | null;
|
|
25
|
-
/**
|
|
26
|
-
* Whether to enable video for the call. (applicable only for realtime mode)
|
|
27
|
-
*/
|
|
28
|
-
enable_video?: boolean;
|
|
29
|
-
readonly platform_key: string;
|
|
30
|
-
};
|
|
31
|
-
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
/**
|
|
6
|
-
* * `realtime` - Realtime
|
|
7
|
-
* * `inference` - Inference
|
|
8
|
-
*/
|
|
9
|
-
export enum CallConfigurationModeEnum {
|
|
10
|
-
REALTIME = 'realtime',
|
|
11
|
-
INFERENCE = 'inference',
|
|
12
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type ChatHistory = {
|
|
6
|
-
readonly id: number;
|
|
7
|
-
message?: any;
|
|
8
|
-
readonly inserted_at: string;
|
|
9
|
-
title?: string | null;
|
|
10
|
-
readonly feedback: any;
|
|
11
|
-
document_sources?: any;
|
|
12
|
-
};
|
|
13
|
-
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { ChatHistoryFilterUser } from './ChatHistoryFilterUser';
|
|
6
|
-
import type { DateRange } from './DateRange';
|
|
7
|
-
import type { TopicModel } from './TopicModel';
|
|
8
|
-
export type ChatHistoryFilterData = {
|
|
9
|
-
topics: Array<TopicModel>;
|
|
10
|
-
date_ranges?: Array<DateRange>;
|
|
11
|
-
sentiment?: Array<string>;
|
|
12
|
-
users: Array<ChatHistoryFilterUser>;
|
|
13
|
-
};
|
|
14
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type ChatSessionRequest = {
|
|
6
|
-
/**
|
|
7
|
-
* Name of mentor
|
|
8
|
-
*/
|
|
9
|
-
mentor: string;
|
|
10
|
-
/**
|
|
11
|
-
* List of tools slugs to use. Passing `null` will use all tools assigned to the mentor. For no tools, pass an empty list.
|
|
12
|
-
*/
|
|
13
|
-
tools?: Array<string>;
|
|
14
|
-
/**
|
|
15
|
-
* Optional token for a mentor's shareable link
|
|
16
|
-
*/
|
|
17
|
-
shareable_link_token?: string;
|
|
18
|
-
};
|
|
19
|
-
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { ToolResponse } from './ToolResponse';
|
|
6
|
-
export type ChatSessionResponse = {
|
|
7
|
-
session_id: string;
|
|
8
|
-
tools: Array<ToolResponse>;
|
|
9
|
-
};
|
|
10
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type CheckDocumentTrainingStatus = {
|
|
6
|
-
/**
|
|
7
|
-
* Status of the training
|
|
8
|
-
*/
|
|
9
|
-
status: string;
|
|
10
|
-
/**
|
|
11
|
-
* Message of the training
|
|
12
|
-
*/
|
|
13
|
-
message: string;
|
|
14
|
-
};
|
|
15
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
/**
|
|
6
|
-
* Comparison period information.
|
|
7
|
-
*/
|
|
8
|
-
export type ComparisonInfo = {
|
|
9
|
-
/**
|
|
10
|
-
* Number of days in comparison period
|
|
11
|
-
*/
|
|
12
|
-
previous_period_count?: number;
|
|
13
|
-
/**
|
|
14
|
-
* Cost value for comparison period
|
|
15
|
-
*/
|
|
16
|
-
previous_period_value?: number;
|
|
17
|
-
/**
|
|
18
|
-
* Start date of comparison period
|
|
19
|
-
*/
|
|
20
|
-
comparison_start?: string;
|
|
21
|
-
/**
|
|
22
|
-
* End date of comparison period
|
|
23
|
-
*/
|
|
24
|
-
comparison_end?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Number of comparison days
|
|
27
|
-
*/
|
|
28
|
-
comparison_days?: number;
|
|
29
|
-
/**
|
|
30
|
-
* Cost value for current period
|
|
31
|
-
*/
|
|
32
|
-
recent_period_value?: number;
|
|
33
|
-
};
|
|
34
|
-
|