@iblai/iblai-api 2025.11.20-memory-pagination-fix-test-2-core → 2025.11.20-memory-pagination-fix-test-2-ai
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +24193 -1946
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +24185 -1947
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +24193 -1946
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +430 -1
- package/dist/types/models/AIGeneratedImage.d.ts +13 -0
- package/dist/types/models/AIUserProfileMemoryRelation.d.ts +4 -0
- package/dist/types/models/AIUserProfileRequest.d.ts +4 -0
- package/dist/types/models/AccessEnum.d.ts +8 -0
- package/dist/types/models/AccessTimesHeatmap.d.ts +5 -0
- package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +13 -0
- package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +13 -0
- package/dist/types/models/ActionBreakdown.d.ts +10 -0
- package/dist/types/models/AddMentorToDisclaimer.d.ts +12 -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/Artifact.d.ts +64 -0
- package/dist/types/models/ArtifactList.d.ts +45 -0
- package/dist/types/models/ArtifactVersion.d.ts +36 -0
- package/dist/types/models/ArtifactVersionList.d.ts +35 -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/AuthTypeEnum.d.ts +10 -0
- package/dist/types/models/AutoMemoryPrompt.d.ts +4 -0
- package/dist/types/models/BaseFinanceResponse.d.ts +37 -0
- package/dist/types/models/BillingPeriod.d.ts +8 -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/Breakdown.d.ts +11 -0
- package/dist/types/models/CallAuthenticationRequest.d.ts +17 -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 +9 -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 +15 -0
- package/dist/types/models/ChatSessionResponse.d.ts +6 -0
- package/dist/types/models/CheckDocumentTrainingStatus.d.ts +10 -0
- package/dist/types/models/ComparisonInfo.d.ts +29 -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 +24 -0
- package/dist/types/models/ConversationChartPoint.d.ts +4 -0
- package/dist/types/models/ConversationDetailResponse.d.ts +4 -0
- package/dist/types/models/ConversationListItem.d.ts +24 -0
- package/dist/types/models/ConversationListResponse.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 +33 -0
- package/dist/types/models/ConversationsChart.d.ts +5 -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/CourseRecommendation.d.ts +49 -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/CurrentUsersResponse.d.ts +8 -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/Disclaimer.d.ts +17 -0
- package/dist/types/models/DisclaimerAgreement.d.ts +11 -0
- package/dist/types/models/DisclaimerScopeEnum.d.ts +8 -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/DocumentFromPoolRequest.d.ts +10 -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/Entity.d.ts +11 -0
- package/dist/types/models/EntityTypeEnum.d.ts +10 -0
- package/dist/types/models/ExternalServiceInfo.d.ts +6 -0
- package/dist/types/models/FileUploadURLRequest.d.ts +21 -0
- package/dist/types/models/FileUploadURLResponse.d.ts +25 -0
- package/dist/types/models/FinanceDetailsResponse.d.ts +13 -0
- package/dist/types/models/FinanceFilters.d.ts +15 -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 +23 -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 +10 -0
- package/dist/types/models/IntegrationCredentialSchema.d.ts +6 -0
- package/dist/types/models/IntialQuestionAnswer.d.ts +3 -0
- package/dist/types/models/InvoiceReportResponse.d.ts +13 -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 +10 -0
- package/dist/types/models/LLMCredentialSchema.d.ts +6 -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 +18 -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 +50 -0
- package/dist/types/models/MCPServerConnection.d.ts +47 -0
- package/dist/types/models/MCPServerConnectionScopeEnum.d.ts +10 -0
- package/dist/types/models/MaskedIntegrationCredential.d.ts +10 -0
- package/dist/types/models/MaskedLLMCredential.d.ts +10 -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 +142 -0
- package/dist/types/models/MentorAudience.d.ts +5 -0
- package/dist/types/models/MentorBreakdown.d.ts +9 -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 +132 -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 +63 -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 +98 -0
- package/dist/types/models/MentorSettingsPublic.d.ts +75 -0
- package/dist/types/models/MentorSettingsRequest.d.ts +76 -0
- package/dist/types/models/MentorSummary.d.ts +5 -0
- package/dist/types/models/MentorType.d.ts +5 -0
- package/dist/types/models/MentorUserSetting.d.ts +4 -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 +8 -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/MetricInfo.d.ts +5 -0
- package/dist/types/models/ModelCost.d.ts +4 -0
- package/dist/types/models/ModerationLog.d.ts +12 -0
- package/dist/types/models/NoChatMessagesFound.d.ts +3 -0
- package/dist/types/models/OAuthProvider.d.ts +18 -0
- package/dist/types/models/OAuthService.d.ts +18 -0
- package/dist/types/models/OAuthStartResponse.d.ts +3 -0
- package/dist/types/models/Observation.d.ts +31 -0
- package/dist/types/models/OvertimeData.d.ts +13 -0
- package/dist/types/models/PageContent.d.ts +6 -0
- package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +7 -0
- package/dist/types/models/PaginatedArtifactListList.d.ts +7 -0
- package/dist/types/models/PaginatedArtifactVersionListList.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/PaginatedDisclaimerAgreementList.d.ts +7 -0
- package/dist/types/models/PaginatedDisclaimerList.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/PaginatedMCPServerConnectionList.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/PaginatedProjectList.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/PaginatedVeoVideoListList.d.ts +7 -0
- package/dist/types/models/PaginatedVoiceList.d.ts +7 -0
- package/dist/types/models/Pagination.d.ts +16 -11
- package/dist/types/models/PatchedArtifact.d.ts +64 -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 +33 -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/PatchedDisclaimer.d.ts +17 -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 +23 -0
- package/dist/types/models/PatchedLLMCredentialRequest.d.ts +14 -0
- package/dist/types/models/PatchedMCPServer.d.ts +50 -0
- package/dist/types/models/PatchedMCPServerConnection.d.ts +47 -0
- package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +11 -0
- package/dist/types/models/PatchedMentorCreate.d.ts +132 -0
- package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +41 -0
- package/dist/types/models/PatchedPlayWrightScript.d.ts +12 -0
- package/dist/types/models/PatchedProject.d.ts +51 -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/PeriodInfo.d.ts +21 -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/PeriodicAgentStatistics.d.ts +7 -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/PlatformPrompt.d.ts +34 -0
- package/dist/types/models/PlatformPromptResponse.d.ts +16 -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/Project.d.ts +51 -0
- package/dist/types/models/ProjectMentor.d.ts +11 -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/ProviderBreakdown.d.ts +8 -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/RatingAverageRecord.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/RatingsOvertime.d.ts +5 -0
- package/dist/types/models/RecentlyAccessedMentor.d.ts +11 -0
- package/dist/types/models/RecommendCourseBlock.d.ts +3 -0
- package/dist/types/models/RecommendCourseResponse.d.ts +3 -0
- package/dist/types/models/RecommendationTypeEnum.d.ts +8 -0
- package/dist/types/models/RecommendedCoursesResponse.d.ts +33 -0
- package/dist/types/models/RelatedText.d.ts +3 -0
- package/dist/types/models/RemoveMentorFromDisclaimer.d.ts +12 -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 +30 -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/SessionBrowserScreenshot.d.ts +8 -0
- package/dist/types/models/SessionChartPoint.d.ts +4 -0
- package/dist/types/models/SessionDetail.d.ts +6 -0
- package/dist/types/models/SessionMemoryAttachment.d.ts +3 -0
- package/dist/types/models/SessionMemoryStorage.d.ts +6 -0
- package/dist/types/models/SessionsChart.d.ts +5 -0
- package/dist/types/models/SetCurrentVersionRequest.d.ts +3 -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/Subject.d.ts +5 -0
- package/dist/types/models/Summary.d.ts +9 -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/TenantSetting.d.ts +5 -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/ToolCategory.d.ts +5 -0
- package/dist/types/models/ToolResponse.d.ts +15 -0
- package/dist/types/models/TopicDetail.d.ts +8 -0
- package/dist/types/models/TopicDetails.d.ts +5 -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/TopicsOverview.d.ts +22 -0
- package/dist/types/models/TopicsOverviewMetric.d.ts +21 -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 +82 -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 +10 -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/UserDetail.d.ts +7 -0
- package/dist/types/models/UserEdxMemory.d.ts +15 -0
- package/dist/types/models/UserMemory.d.ts +18 -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 +9 -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/V2GlobalMentorSearchResponse.d.ts +29 -0
- package/dist/types/models/V2PersonalizedMentorsResponse.d.ts +29 -0
- package/dist/types/models/V2RecommendationResponse.d.ts +65 -0
- package/dist/types/models/VectorResult.d.ts +10 -0
- package/dist/types/models/VeoVideoDetail.d.ts +10 -0
- package/dist/types/models/VeoVideoList.d.ts +6 -0
- package/dist/types/models/VeoVideoRequest.d.ts +5 -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 +567 -0
- package/dist/types/services/AiAnalyticsService.d.ts +4691 -19
- package/dist/types/services/AiBotService.d.ts +650 -0
- package/dist/types/services/AiFinetuningService.d.ts +232 -0
- package/dist/types/services/AiIndexService.d.ts +399 -0
- package/dist/types/services/AiMarketingService.d.ts +38 -0
- package/dist/types/services/AiMediaService.d.ts +247 -0
- package/dist/types/services/AiMentorService.d.ts +6803 -0
- package/dist/types/services/AiPromptService.d.ts +1035 -0
- package/dist/types/services/AiSearchService.d.ts +451 -0
- package/dist/types/services/AnalyticsService.d.ts +709 -4
- package/dist/types/services/SearchService.d.ts +738 -0
- package/package.json +1 -1
- package/sdk_schema.yml +72404 -23887
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +430 -1
- package/src/models/AIGeneratedImage.ts +18 -0
- package/src/models/AIUserProfileMemoryRelation.ts +9 -0
- package/src/models/AIUserProfileRequest.ts +9 -0
- package/src/models/AccessEnum.ts +12 -0
- package/src/models/AccessTimesHeatmap.ts +10 -0
- package/src/models/AccessibleMentorsByEmailRequest.ts +18 -0
- package/src/models/AccessibleMentorsByEmailResponse.ts +18 -0
- package/src/models/ActionBreakdown.ts +15 -0
- package/src/models/AddMentorToDisclaimer.ts +17 -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/Artifact.ts +69 -0
- package/src/models/ArtifactList.ts +50 -0
- package/src/models/ArtifactVersion.ts +41 -0
- package/src/models/ArtifactVersionList.ts +40 -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/AuthTypeEnum.ts +14 -0
- package/src/models/AutoMemoryPrompt.ts +9 -0
- package/src/models/BaseFinanceResponse.ts +42 -0
- package/src/models/BillingPeriod.ts +13 -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/Breakdown.ts +16 -0
- package/src/models/CallAuthenticationRequest.ts +22 -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 +14 -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 +20 -0
- package/src/models/ChatSessionResponse.ts +11 -0
- package/src/models/CheckDocumentTrainingStatus.ts +15 -0
- package/src/models/ComparisonInfo.ts +34 -0
- package/src/models/ComponentBlock.ts +14 -0
- package/src/models/ComponentBlockTypeEnum.ts +12 -0
- package/src/models/ConnectedService.ts +29 -0
- package/src/models/ConversationChartPoint.ts +9 -0
- package/src/models/ConversationDetailResponse.ts +9 -0
- package/src/models/ConversationListItem.ts +29 -0
- package/src/models/ConversationListResponse.ts +11 -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 +38 -0
- package/src/models/ConversationsChart.ts +10 -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/CourseRecommendation.ts +54 -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/CurrentUsersResponse.ts +13 -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/Disclaimer.ts +22 -0
- package/src/models/DisclaimerAgreement.ts +16 -0
- package/src/models/DisclaimerScopeEnum.ts +12 -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/DocumentFromPoolRequest.ts +15 -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/Entity.ts +16 -0
- package/src/models/EntityTypeEnum.ts +14 -0
- package/src/models/ExternalServiceInfo.ts +11 -0
- package/src/models/FileUploadURLRequest.ts +26 -0
- package/src/models/FileUploadURLResponse.ts +30 -0
- package/src/models/FinanceDetailsResponse.ts +18 -0
- package/src/models/FinanceFilters.ts +20 -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 +28 -0
- package/src/models/HumanSupportTicketStatusEnum.ts +14 -0
- package/src/models/InputQuestion.ts +11 -0
- package/src/models/IntegrationCredential.ts +15 -0
- package/src/models/IntegrationCredentialSchema.ts +11 -0
- package/src/models/IntialQuestionAnswer.ts +8 -0
- package/src/models/InvoiceReportResponse.ts +18 -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 +15 -0
- package/src/models/LLMCredentialSchema.ts +11 -0
- package/src/models/LLMModelForTenant.ts +11 -0
- package/src/models/LLMQuestion.ts +20 -0
- package/src/models/LLMResponse.ts +23 -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 +55 -0
- package/src/models/MCPServerConnection.ts +52 -0
- package/src/models/MCPServerConnectionScopeEnum.ts +14 -0
- package/src/models/MaskedIntegrationCredential.ts +15 -0
- package/src/models/MaskedLLMCredential.ts +15 -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 +147 -0
- package/src/models/MentorAudience.ts +10 -0
- package/src/models/MentorBreakdown.ts +14 -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 +137 -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 +68 -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 +103 -0
- package/src/models/MentorSettingsPublic.ts +80 -0
- package/src/models/MentorSettingsRequest.ts +81 -0
- package/src/models/MentorSummary.ts +10 -0
- package/src/models/MentorType.ts +10 -0
- package/src/models/MentorUserSetting.ts +9 -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 +13 -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/MetricInfo.ts +10 -0
- package/src/models/ModelCost.ts +9 -0
- package/src/models/ModerationLog.ts +17 -0
- package/src/models/NoChatMessagesFound.ts +8 -0
- package/src/models/OAuthProvider.ts +23 -0
- package/src/models/OAuthService.ts +23 -0
- package/src/models/OAuthStartResponse.ts +8 -0
- package/src/models/Observation.ts +36 -0
- package/src/models/OvertimeData.ts +18 -0
- package/src/models/PageContent.ts +11 -0
- package/src/models/PaginatedAIGeneratedImageList.ts +12 -0
- package/src/models/PaginatedArtifactListList.ts +12 -0
- package/src/models/PaginatedArtifactVersionListList.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/PaginatedDisclaimerAgreementList.ts +12 -0
- package/src/models/PaginatedDisclaimerList.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/PaginatedMCPServerConnectionList.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/PaginatedProjectList.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/PaginatedVeoVideoListList.ts +12 -0
- package/src/models/PaginatedVoiceList.ts +12 -0
- package/src/models/Pagination.ts +16 -11
- package/src/models/PatchedArtifact.ts +69 -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 +38 -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/PatchedDisclaimer.ts +22 -0
- package/src/models/PatchedDiscordConfig.ts +12 -0
- package/src/models/PatchedDiscordUserConfig.ts +15 -0
- package/src/models/PatchedHumanSupportTicket.ts +28 -0
- package/src/models/PatchedLLMCredentialRequest.ts +19 -0
- package/src/models/PatchedMCPServer.ts +55 -0
- package/src/models/PatchedMCPServerConnection.ts +52 -0
- package/src/models/PatchedMentorCategoryGroupCreate.ts +16 -0
- package/src/models/PatchedMentorCreate.ts +137 -0
- package/src/models/PatchedPeriodicAgentCreate.ts +46 -0
- package/src/models/PatchedPlayWrightScript.ts +17 -0
- package/src/models/PatchedProject.ts +56 -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/PeriodInfo.ts +26 -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/PeriodicAgentStatistics.ts +12 -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/PlatformPrompt.ts +39 -0
- package/src/models/PlatformPromptResponse.ts +21 -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/Project.ts +56 -0
- package/src/models/ProjectMentor.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/ProviderBreakdown.ts +13 -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/RatingAverageRecord.ts +15 -0
- package/src/models/RatingEnum.ts +12 -0
- package/src/models/RatingRecord.ts +9 -0
- package/src/models/RatingsOvertime.ts +10 -0
- package/src/models/RecentlyAccessedMentor.ts +16 -0
- package/src/models/RecommendCourseBlock.ts +8 -0
- package/src/models/RecommendCourseResponse.ts +8 -0
- package/src/models/RecommendationTypeEnum.ts +12 -0
- package/src/models/RecommendedCoursesResponse.ts +38 -0
- package/src/models/RelatedText.ts +8 -0
- package/src/models/RemoveMentorFromDisclaimer.ts +17 -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 +35 -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/SessionBrowserScreenshot.ts +13 -0
- package/src/models/SessionChartPoint.ts +9 -0
- package/src/models/SessionDetail.ts +11 -0
- package/src/models/SessionMemoryAttachment.ts +8 -0
- package/src/models/SessionMemoryStorage.ts +11 -0
- package/src/models/SessionsChart.ts +10 -0
- package/src/models/SetCurrentVersionRequest.ts +8 -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/Subject.ts +10 -0
- package/src/models/Summary.ts +14 -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/TenantSetting.ts +10 -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/ToolCategory.ts +10 -0
- package/src/models/ToolResponse.ts +20 -0
- package/src/models/TopicDetail.ts +13 -0
- package/src/models/TopicDetails.ts +10 -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/TopicsOverview.ts +27 -0
- package/src/models/TopicsOverviewMetric.ts +26 -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 +87 -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 +14 -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/UserDetail.ts +12 -0
- package/src/models/UserEdxMemory.ts +20 -0
- package/src/models/UserMemory.ts +23 -0
- package/src/models/UserMemoryContextRequest.ts +18 -0
- package/src/models/UserMemoryContextResponse.ts +17 -0
- package/src/models/UserMemoryEntry.ts +14 -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/V2GlobalMentorSearchResponse.ts +34 -0
- package/src/models/V2PersonalizedMentorsResponse.ts +34 -0
- package/src/models/V2RecommendationResponse.ts +70 -0
- package/src/models/VectorResult.ts +15 -0
- package/src/models/VeoVideoDetail.ts +15 -0
- package/src/models/VeoVideoList.ts +11 -0
- package/src/models/VeoVideoRequest.ts +10 -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 +955 -0
- package/src/services/AiAnalyticsService.ts +12921 -5255
- package/src/services/AiBotService.ts +1350 -0
- package/src/services/AiFinetuningService.ts +472 -0
- package/src/services/AiIndexService.ts +710 -0
- package/src/services/AiMarketingService.ts +96 -0
- package/src/services/AiMediaService.ts +532 -0
- package/src/services/AiMentorService.ts +12552 -0
- package/src/services/AiPromptService.ts +1985 -0
- package/src/services/AiSearchService.ts +742 -0
- package/src/services/AnalyticsService.ts +1234 -177
- package/src/services/SearchService.ts +1459 -398
|
@@ -1,7 +1,19 @@
|
|
|
1
|
+
import type { AccessTimesHeatmap } from '../models/AccessTimesHeatmap';
|
|
2
|
+
import type { BaseFinanceResponse } from '../models/BaseFinanceResponse';
|
|
1
3
|
import type { ContentDetailsResponse } from '../models/ContentDetailsResponse';
|
|
2
4
|
import type { ContentResponse } from '../models/ContentResponse';
|
|
5
|
+
import type { ConversationDetailResponse } from '../models/ConversationDetailResponse';
|
|
6
|
+
import type { ConversationListResponse } from '../models/ConversationListResponse';
|
|
7
|
+
import type { CurrentUsersResponse } from '../models/CurrentUsersResponse';
|
|
8
|
+
import type { FinanceDetailsResponse } from '../models/FinanceDetailsResponse';
|
|
9
|
+
import type { InvoiceReportResponse } from '../models/InvoiceReportResponse';
|
|
3
10
|
import type { LearnerAnalyticsResponse } from '../models/LearnerAnalyticsResponse';
|
|
4
11
|
import type { LearnerListResponse } from '../models/LearnerListResponse';
|
|
12
|
+
import type { RatingsOvertime } from '../models/RatingsOvertime';
|
|
13
|
+
import type { SessionsChart } from '../models/SessionsChart';
|
|
14
|
+
import type { TopicDetails } from '../models/TopicDetails';
|
|
15
|
+
import type { TopicsOverview } from '../models/TopicsOverview';
|
|
16
|
+
import type { UserDetail } from '../models/UserDetail';
|
|
5
17
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
18
|
export declare class AnalyticsService {
|
|
7
19
|
/**
|
|
@@ -36,7 +48,7 @@ export declare class AnalyticsService {
|
|
|
36
48
|
* @returns ContentResponse
|
|
37
49
|
* @throws ApiError
|
|
38
50
|
*/
|
|
39
|
-
static getContentAnalytics({ metric, dateFilter, endDate, granularity, includeOvertime, limit, page, platformKey, startDate, }: {
|
|
51
|
+
static getContentAnalytics({ metric, dateFilter, endDate, granularity, includeOvertime, limit, mentorUniqueId, page, platformKey, startDate, }: {
|
|
40
52
|
/**
|
|
41
53
|
* The type of content to retrieve (course, program, pathway, skill)
|
|
42
54
|
*
|
|
@@ -75,6 +87,7 @@ export declare class AnalyticsService {
|
|
|
75
87
|
* Number of items per page (max 100)
|
|
76
88
|
*/
|
|
77
89
|
limit?: number;
|
|
90
|
+
mentorUniqueId?: string;
|
|
78
91
|
/**
|
|
79
92
|
* Page number for pagination
|
|
80
93
|
*/
|
|
@@ -91,7 +104,7 @@ export declare class AnalyticsService {
|
|
|
91
104
|
* @returns ContentDetailsResponse
|
|
92
105
|
* @throws ApiError
|
|
93
106
|
*/
|
|
94
|
-
static getContentDetails({ contentId, metric, dateFilter, endDate, limit, page, platformKey, search, startDate, timeMetric, }: {
|
|
107
|
+
static getContentDetails({ contentId, metric, dateFilter, endDate, limit, mentorUniqueId, page, platformKey, search, startDate, timeMetric, }: {
|
|
95
108
|
contentId: string;
|
|
96
109
|
/**
|
|
97
110
|
* Content type to fetch (course, program, pathway, skill)
|
|
@@ -120,6 +133,7 @@ export declare class AnalyticsService {
|
|
|
120
133
|
* Number of learner records per page
|
|
121
134
|
*/
|
|
122
135
|
limit?: number;
|
|
136
|
+
mentorUniqueId?: string;
|
|
123
137
|
page?: number;
|
|
124
138
|
platformKey?: string;
|
|
125
139
|
search?: string;
|
|
@@ -129,6 +143,331 @@ export declare class AnalyticsService {
|
|
|
129
143
|
*/
|
|
130
144
|
timeMetric?: string | null;
|
|
131
145
|
}): CancelablePromise<ContentDetailsResponse>;
|
|
146
|
+
/**
|
|
147
|
+
* Financial Analytics API - Get comprehensive cost metrics with comparison analysis.
|
|
148
|
+
*
|
|
149
|
+
* This endpoint provides period-based cost analysis (not cumulative) with support for:
|
|
150
|
+
* - Multiple time granularities and metrics
|
|
151
|
+
* - Cross-dimensional filtering
|
|
152
|
+
* - Percentage change vs comparison periods
|
|
153
|
+
* - Forward-filled time series
|
|
154
|
+
*
|
|
155
|
+
* **Examples:**
|
|
156
|
+
*
|
|
157
|
+
* **Basic Weekly Costs:**
|
|
158
|
+
* ```
|
|
159
|
+
* GET /api/analytics/financial/?metric=weekly_costs&comparison_days=10
|
|
160
|
+
* ```
|
|
161
|
+
*
|
|
162
|
+
* **Platform & Mentor Filtered:**
|
|
163
|
+
* ```
|
|
164
|
+
* # Get total costs for a specific platform and mentor
|
|
165
|
+
* GET /api/analytics/financial/?metric=total_costs&platform_key=web-app&mentor_unique_id=mentor-123&comparison_days=14
|
|
166
|
+
* ```
|
|
167
|
+
*
|
|
168
|
+
* **Monthly Costs by Provider:**
|
|
169
|
+
* ```
|
|
170
|
+
* GET /api/analytics/financial/?metric=monthly_costs&provider=openai&granularity=month&comparison_days=30
|
|
171
|
+
* ```
|
|
172
|
+
*
|
|
173
|
+
* **Daily Costs for Specific User:**
|
|
174
|
+
* ```
|
|
175
|
+
* GET /api/analytics/financial/?metric=total_costs&username=user-456&granularity=day&start_date=2025-01-15&end_date=2025-01-21&comparison_days=7
|
|
176
|
+
* ```
|
|
177
|
+
*
|
|
178
|
+
*
|
|
179
|
+
* **Response Structure:**
|
|
180
|
+
* ```json
|
|
181
|
+
* {
|
|
182
|
+
* "metric": "weekly_costs",
|
|
183
|
+
* "value": 12.47,
|
|
184
|
+
* "percentage_change": 8.5,
|
|
185
|
+
* "overtime": [
|
|
186
|
+
* {"date": "2025-01-06", "value": 2.89},
|
|
187
|
+
* {"date": "2025-01-13", "value": 3.12}
|
|
188
|
+
* ],
|
|
189
|
+
* "period_info": {
|
|
190
|
+
* "start_date": "2025-01-01",
|
|
191
|
+
* "end_date": "2025-01-31",
|
|
192
|
+
* "period_days": 31
|
|
193
|
+
* },
|
|
194
|
+
* "comparison_info": {
|
|
195
|
+
* "previous_period_value": 11.50,
|
|
196
|
+
* ...
|
|
197
|
+
* }
|
|
198
|
+
* }
|
|
199
|
+
* ```
|
|
200
|
+
* @returns BaseFinanceResponse Successful financial metrics response with period-based cost data
|
|
201
|
+
* @throws ApiError
|
|
202
|
+
*/
|
|
203
|
+
static analyticsFinancialRetrieve({ metric, comparisonDays, dateFilter, endDate, fillMethod, granularity, llmModel, mentorUniqueId, platformKey, provider, showOvertime, startDate, username, }: {
|
|
204
|
+
/**
|
|
205
|
+
* Type of financial metric to retrieve
|
|
206
|
+
*
|
|
207
|
+
* * `total_costs` - Total costs for selected timeframe
|
|
208
|
+
* * `weekly_costs` - Costs for current/selected week
|
|
209
|
+
* * `monthly_costs` - Costs for current/selected month
|
|
210
|
+
*/
|
|
211
|
+
metric: 'total_costs' | 'weekly_costs' | 'monthly_costs';
|
|
212
|
+
/**
|
|
213
|
+
* Number of days for comparison period to calculate percentage change (e.g., 10 for 10-day comparison)
|
|
214
|
+
*/
|
|
215
|
+
comparisonDays?: number;
|
|
216
|
+
/**
|
|
217
|
+
* * `today` - Today only
|
|
218
|
+
* * `7d` - Last 7 days
|
|
219
|
+
* * `30d` - Last 30 days
|
|
220
|
+
* * `90d` - Last 90 days
|
|
221
|
+
* * `all_time` - All time
|
|
222
|
+
* * `custom` - Custom date range
|
|
223
|
+
*/
|
|
224
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
225
|
+
endDate?: string;
|
|
226
|
+
/**
|
|
227
|
+
* Method for filling missing time periods in overtime data
|
|
228
|
+
*
|
|
229
|
+
* * `zero` - Fill missing periods with zero
|
|
230
|
+
* * `previous` - Fill missing periods with previous value
|
|
231
|
+
*/
|
|
232
|
+
fillMethod?: 'zero' | 'previous';
|
|
233
|
+
/**
|
|
234
|
+
* Time granularity for overtime series data
|
|
235
|
+
*
|
|
236
|
+
* * `day` - Daily data points
|
|
237
|
+
* * `week` - Weekly data points
|
|
238
|
+
* * `month` - Monthly data points
|
|
239
|
+
*/
|
|
240
|
+
granularity?: 'day' | 'week' | 'month';
|
|
241
|
+
/**
|
|
242
|
+
* Filter by specific LLM model (e.g., gpt-4o, claude-3-5-sonnet)
|
|
243
|
+
*/
|
|
244
|
+
llmModel?: string;
|
|
245
|
+
mentorUniqueId?: string;
|
|
246
|
+
platformKey?: string;
|
|
247
|
+
/**
|
|
248
|
+
* Filter by AI provider
|
|
249
|
+
*
|
|
250
|
+
* * `openai` - OpenAI
|
|
251
|
+
* * `anthropic` - Anthropic
|
|
252
|
+
* * `azure` - Azure
|
|
253
|
+
* * `google` - Google
|
|
254
|
+
* * `meta` - Meta
|
|
255
|
+
* * `other` - Other
|
|
256
|
+
*/
|
|
257
|
+
provider?: 'openai' | 'anthropic' | 'azure' | 'google' | 'meta' | 'other';
|
|
258
|
+
/**
|
|
259
|
+
* Whether to include overtime series data in response
|
|
260
|
+
*/
|
|
261
|
+
showOvertime?: boolean;
|
|
262
|
+
startDate?: string;
|
|
263
|
+
/**
|
|
264
|
+
* Filter by specific username - returns costs for this user only
|
|
265
|
+
*/
|
|
266
|
+
username?: string;
|
|
267
|
+
}): CancelablePromise<BaseFinanceResponse>;
|
|
268
|
+
/**
|
|
269
|
+
* Financial Details Analytics API – paginated cost tables with flexible grouping.
|
|
270
|
+
*
|
|
271
|
+
* This endpoint returns tabular cost metrics aggregated by the dimension
|
|
272
|
+
* specified via the `group_by` query parameter. One or more KPI columns
|
|
273
|
+
* can be requested through the comma-separated `metrics` list while
|
|
274
|
+
* typical filters (date range, provider, platform_key, user, etc.) narrow the
|
|
275
|
+
* dataset. Results are paginated with `page` / `limit`.
|
|
276
|
+
*
|
|
277
|
+
* **Required query parameters**
|
|
278
|
+
* - group_by – provider | llm_model | username | mentor | platform
|
|
279
|
+
* - metrics – csv list of KPI names, e.g. total_cost, sessions
|
|
280
|
+
*
|
|
281
|
+
* **Shared optional filters**
|
|
282
|
+
* - start_date, end_date – ISO yyyy-mm-dd (ignored when all_time=true)
|
|
283
|
+
* - platform_key – tenant isolation
|
|
284
|
+
* - mentor_unique_id – filter to one mentor
|
|
285
|
+
* - username – filter to a learner
|
|
286
|
+
* - provider / llm_model – filter to LLM provider / model
|
|
287
|
+
* - all_time – true → lifetime totals
|
|
288
|
+
* - page (default 1), limit (default 50)
|
|
289
|
+
*
|
|
290
|
+
* **Examples**
|
|
291
|
+
* --------
|
|
292
|
+
* 1. Cost by provider for the last week
|
|
293
|
+
* ```
|
|
294
|
+
* GET /api/v2/analytics/financial/details?
|
|
295
|
+
* group_by=provider&
|
|
296
|
+
* metrics=total_cost&
|
|
297
|
+
* start_date=2025-01-01&
|
|
298
|
+
* end_date=2025-01-07&
|
|
299
|
+
* page=1&limit=10
|
|
300
|
+
* ```
|
|
301
|
+
*
|
|
302
|
+
* 2. Lifetime cost per user with extra KPIs
|
|
303
|
+
* ```
|
|
304
|
+
* GET /api/v2/analytics/financial/details?
|
|
305
|
+
* group_by=username&
|
|
306
|
+
* metrics=total_cost,sessions&
|
|
307
|
+
* all_time=true&page=1&limit=50
|
|
308
|
+
* ```
|
|
309
|
+
* 3. Cost by LLM model with tenant filter
|
|
310
|
+
* ```
|
|
311
|
+
* GET /api/v2/analytics/financial/details?
|
|
312
|
+
* group_by=llm_model&
|
|
313
|
+
* metrics=total_cost&
|
|
314
|
+
* platform_key=web-app&
|
|
315
|
+
* start_date=2025-01-01&end_date=2025-01-31
|
|
316
|
+
* ```
|
|
317
|
+
* Response structure
|
|
318
|
+
* -------------------
|
|
319
|
+
* ```
|
|
320
|
+
* {
|
|
321
|
+
* "page": 1,
|
|
322
|
+
* "limit": 10,
|
|
323
|
+
* "total_pages": 1,
|
|
324
|
+
* "total_records": 3,
|
|
325
|
+
* "rows": [
|
|
326
|
+
* {"provider": "openai", "total_cost": "2.50000"},
|
|
327
|
+
* {"provider": "anthropic", "total_cost": "1.00000"},
|
|
328
|
+
* {"provider": "azure", "total_cost": "0.50000"}
|
|
329
|
+
* ],
|
|
330
|
+
* "metrics": [
|
|
331
|
+
* {
|
|
332
|
+
* "name": "total_cost",
|
|
333
|
+
* "unit": "$",
|
|
334
|
+
* "description": "Cost for this entity in period"
|
|
335
|
+
* }
|
|
336
|
+
* ],
|
|
337
|
+
* "total_cost": "4.00000" // optional grand-total when available
|
|
338
|
+
* }
|
|
339
|
+
* ``
|
|
340
|
+
* @returns FinanceDetailsResponse
|
|
341
|
+
* @throws ApiError
|
|
342
|
+
*/
|
|
343
|
+
static analyticsFinancialDetailsRetrieve({ groupBy, dateFilter, endDate, limit, llmModel, mentorUniqueId, metrics, page, platformKey, provider, search, startDate, username, }: {
|
|
344
|
+
/**
|
|
345
|
+
* Dimension to group by
|
|
346
|
+
*
|
|
347
|
+
* * `provider` - Group by provider
|
|
348
|
+
* * `llm_model` - Group by LLM model
|
|
349
|
+
* * `username` - Group by username
|
|
350
|
+
* * `mentor` - Group by mentor
|
|
351
|
+
* * `platform` - Group by platform
|
|
352
|
+
* * `action` - Group by actions
|
|
353
|
+
*/
|
|
354
|
+
groupBy: 'provider' | 'llm_model' | 'username' | 'mentor' | 'platform' | 'action';
|
|
355
|
+
/**
|
|
356
|
+
* * `today` - Today only
|
|
357
|
+
* * `7d` - Last 7 days
|
|
358
|
+
* * `30d` - Last 30 days
|
|
359
|
+
* * `90d` - Last 90 days
|
|
360
|
+
* * `all_time` - All time
|
|
361
|
+
* * `custom` - Custom date range
|
|
362
|
+
*/
|
|
363
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
364
|
+
endDate?: string;
|
|
365
|
+
limit?: number;
|
|
366
|
+
llmModel?: string;
|
|
367
|
+
mentorUniqueId?: string;
|
|
368
|
+
/**
|
|
369
|
+
* Comma-separated list of metrics (e.g. total_cost,sessions, last_active)
|
|
370
|
+
*/
|
|
371
|
+
metrics?: string;
|
|
372
|
+
page?: number;
|
|
373
|
+
platformKey?: string;
|
|
374
|
+
provider?: string;
|
|
375
|
+
search?: string;
|
|
376
|
+
startDate?: string;
|
|
377
|
+
username?: string;
|
|
378
|
+
}): CancelablePromise<FinanceDetailsResponse>;
|
|
379
|
+
/**
|
|
380
|
+
* Flexible Invoice Report API – Billing summary with username and platform filtering.
|
|
381
|
+
*
|
|
382
|
+
* This endpoint generates invoice reports with flexible filtering options:
|
|
383
|
+
* - Platform admins can view their platform's data and filter by username within their platform
|
|
384
|
+
* - Super admins can view any combination of username/platform or global summaries
|
|
385
|
+
*
|
|
386
|
+
* **Key Features:**
|
|
387
|
+
* - Flexible filtering by username and/or platform_key
|
|
388
|
+
* - Essential metrics: total cost, sessions, usage period
|
|
389
|
+
* - Provider breakdown (OpenAI, Anthropic, etc.)
|
|
390
|
+
* - Top mentors/actions by cost
|
|
391
|
+
* - Clean, invoice-ready format
|
|
392
|
+
*
|
|
393
|
+
* **Query Parameters:**
|
|
394
|
+
* - username: Filter by specific username (optional)
|
|
395
|
+
* - platform_key: Filter by platform (optional, but required for platform admins)
|
|
396
|
+
* - start_date, end_date: billing period (defaults to last 30 days)
|
|
397
|
+
* - include_breakdown: show provider/mentor details (default: true)
|
|
398
|
+
*
|
|
399
|
+
* **Permission Logic:**
|
|
400
|
+
* - Platform admins: Must include platform_key matching their permission scope
|
|
401
|
+
* - Super admins: Can use any combination of filters or none (global summary)
|
|
402
|
+
*
|
|
403
|
+
* **Examples:**
|
|
404
|
+
* ```
|
|
405
|
+
* # Platform admin viewing their platform
|
|
406
|
+
* GET /api/analytics/financial/invoice?platform_key=web-app
|
|
407
|
+
*
|
|
408
|
+
* # Platform admin viewing specific user in their platform
|
|
409
|
+
* GET /api/analytics/financial/invoice?platform_key=web-app&username=john.doe
|
|
410
|
+
*
|
|
411
|
+
* # Super admin viewing specific user across all platforms
|
|
412
|
+
* GET /api/analytics/financial/invoice?username=john.doe
|
|
413
|
+
*
|
|
414
|
+
* # Super admin viewing global summary
|
|
415
|
+
* GET /api/analytics/financial/invoice
|
|
416
|
+
* ```
|
|
417
|
+
*
|
|
418
|
+
* **Response Structure:**
|
|
419
|
+
* ```json
|
|
420
|
+
* {
|
|
421
|
+
* "entity": {
|
|
422
|
+
* "type": "user|platform|global",
|
|
423
|
+
* "username": "john.doe",
|
|
424
|
+
* "platform_key": "web-app",
|
|
425
|
+
* "platform_name": "Web Application",
|
|
426
|
+
* "display_name": "John Doe on Web Application"
|
|
427
|
+
* },
|
|
428
|
+
* "billing_period": {
|
|
429
|
+
* "start_date": "2025-01-01",
|
|
430
|
+
* "end_date": "2025-01-31",
|
|
431
|
+
* "days": 31
|
|
432
|
+
* },
|
|
433
|
+
* "summary": {
|
|
434
|
+
* "total_cost": 245.750,
|
|
435
|
+
* "total_sessions": 1250,
|
|
436
|
+
* "active_users": 85,
|
|
437
|
+
* "cost_per_session": 0.196
|
|
438
|
+
* },
|
|
439
|
+
* "breakdown": {
|
|
440
|
+
* "by_provider": [...],
|
|
441
|
+
* "by_mentor": [...],
|
|
442
|
+
* "by_action": [...]
|
|
443
|
+
* }
|
|
444
|
+
* }
|
|
445
|
+
* ```
|
|
446
|
+
* @returns InvoiceReportResponse
|
|
447
|
+
* @throws ApiError
|
|
448
|
+
*/
|
|
449
|
+
static analyticsFinancialInvoiceRetrieve({ endDate, includeBreakdown, platformKey, startDate, username, }: {
|
|
450
|
+
/**
|
|
451
|
+
* End date for billing period (defaults to today)
|
|
452
|
+
*/
|
|
453
|
+
endDate?: string;
|
|
454
|
+
/**
|
|
455
|
+
* Whether to include provider and mentor breakdown
|
|
456
|
+
*/
|
|
457
|
+
includeBreakdown?: boolean;
|
|
458
|
+
/**
|
|
459
|
+
* Platform key to filter by (optional, required for platform admins)
|
|
460
|
+
*/
|
|
461
|
+
platformKey?: string;
|
|
462
|
+
/**
|
|
463
|
+
* Start date for billing period (defaults to 30 days ago)
|
|
464
|
+
*/
|
|
465
|
+
startDate?: string;
|
|
466
|
+
/**
|
|
467
|
+
* Username to generate invoice for (optional)
|
|
468
|
+
*/
|
|
469
|
+
username?: string;
|
|
470
|
+
}): CancelablePromise<InvoiceReportResponse>;
|
|
132
471
|
/**
|
|
133
472
|
* Unified API endpoint for learner analytics.
|
|
134
473
|
*
|
|
@@ -148,7 +487,7 @@ export declare class AnalyticsService {
|
|
|
148
487
|
* @returns LearnerAnalyticsResponse
|
|
149
488
|
* @throws ApiError
|
|
150
489
|
*/
|
|
151
|
-
static analyticsLearnersRetrieve({ dateFilter, endDate, granularity, limit, overtime, page, platformKey, startDate, username, }: {
|
|
490
|
+
static analyticsLearnersRetrieve({ dateFilter, endDate, granularity, limit, mentorUniqueId, overtime, page, platformKey, startDate, username, }: {
|
|
152
491
|
/**
|
|
153
492
|
* * `today` - Today only
|
|
154
493
|
* * `7d` - Last 7 days
|
|
@@ -170,6 +509,7 @@ export declare class AnalyticsService {
|
|
|
170
509
|
* Number of records per page (default: 20, max: 100)
|
|
171
510
|
*/
|
|
172
511
|
limit?: number;
|
|
512
|
+
mentorUniqueId?: string;
|
|
173
513
|
/**
|
|
174
514
|
* Include overtime metrics for the user in the platform (default: false)
|
|
175
515
|
*/
|
|
@@ -197,7 +537,7 @@ export declare class AnalyticsService {
|
|
|
197
537
|
* @returns LearnerListResponse Paginated list of learners with their metrics
|
|
198
538
|
* @throws ApiError
|
|
199
539
|
*/
|
|
200
|
-
static analyticsLearnersListRetrieve({ platformKey, dateFilter, endDate, granularity, limit, page, search, sortBy, sortOrder, startDate, }: {
|
|
540
|
+
static analyticsLearnersListRetrieve({ platformKey, dateFilter, endDate, granularity, limit, mentorUniqueId, page, search, sortBy, sortOrder, startDate, }: {
|
|
201
541
|
/**
|
|
202
542
|
* Platform key to filter learners by platform
|
|
203
543
|
*/
|
|
@@ -223,6 +563,7 @@ export declare class AnalyticsService {
|
|
|
223
563
|
* Number of learners per page (default: 20, max: 100)
|
|
224
564
|
*/
|
|
225
565
|
limit?: number;
|
|
566
|
+
mentorUniqueId?: string;
|
|
226
567
|
/**
|
|
227
568
|
* Page number for pagination (default: 1)
|
|
228
569
|
*/
|
|
@@ -252,4 +593,368 @@ export declare class AnalyticsService {
|
|
|
252
593
|
sortOrder?: 'asc' | 'desc';
|
|
253
594
|
startDate?: string;
|
|
254
595
|
}): CancelablePromise<LearnerListResponse>;
|
|
596
|
+
/**
|
|
597
|
+
* Conversation list endpoint for analytics.
|
|
598
|
+
*
|
|
599
|
+
* Query params (all optional unless specified by permissions):
|
|
600
|
+
* - platform_key: filter by platform
|
|
601
|
+
* - mentor_unique_id: filter by mentor
|
|
602
|
+
* - page: page number (default 1)
|
|
603
|
+
* - limit: page size (default 20, max 100)
|
|
604
|
+
* - search: search in user name and first user message
|
|
605
|
+
* - min_messages, max_messages: message_count range
|
|
606
|
+
* - sentiment: positive|negative|neutral
|
|
607
|
+
* - topic: topic name contains
|
|
608
|
+
* - start_date, end_date: date filter on conversation date
|
|
609
|
+
*
|
|
610
|
+
* Returns: summary totals, results list (paginated), and pagination metadata.
|
|
611
|
+
* @returns ConversationListResponse
|
|
612
|
+
* @throws ApiError
|
|
613
|
+
*/
|
|
614
|
+
static analyticsMessagesRetrieve({ endDate, limit, maxMessages, mentorUniqueId, minMessages, page, platformKey, search, sentiment, startDate, topic, }: {
|
|
615
|
+
endDate?: string;
|
|
616
|
+
limit?: number;
|
|
617
|
+
maxMessages?: number;
|
|
618
|
+
mentorUniqueId?: string;
|
|
619
|
+
minMessages?: number;
|
|
620
|
+
page?: number;
|
|
621
|
+
platformKey?: string;
|
|
622
|
+
search?: string;
|
|
623
|
+
/**
|
|
624
|
+
* * `positive` - positive
|
|
625
|
+
* * `negative` - negative
|
|
626
|
+
* * `neutral` - neutral
|
|
627
|
+
*/
|
|
628
|
+
sentiment?: 'positive' | 'negative' | 'neutral';
|
|
629
|
+
startDate?: string;
|
|
630
|
+
topic?: string;
|
|
631
|
+
}): CancelablePromise<ConversationListResponse>;
|
|
632
|
+
/**
|
|
633
|
+
* Conversation detail endpoint for analytics.
|
|
634
|
+
*
|
|
635
|
+
* Query params:
|
|
636
|
+
* - session_id (required): UUID of the session to fetch
|
|
637
|
+
* - platform_key, mentor_unique_id (optional): further scope
|
|
638
|
+
* - start_date, end_date (optional): date filter on message timestamps
|
|
639
|
+
*
|
|
640
|
+
* Returns: summary metadata from conversation_list MV, and a list of
|
|
641
|
+
* human/ai message pairs in chronological order.
|
|
642
|
+
* @returns ConversationDetailResponse
|
|
643
|
+
* @throws ApiError
|
|
644
|
+
*/
|
|
645
|
+
static analyticsMessagesDetailsRetrieve({ sessionId, endDate, mentorUniqueId, platformKey, startDate, }: {
|
|
646
|
+
sessionId: string;
|
|
647
|
+
endDate?: string;
|
|
648
|
+
mentorUniqueId?: string;
|
|
649
|
+
platformKey?: string;
|
|
650
|
+
startDate?: string;
|
|
651
|
+
}): CancelablePromise<ConversationDetailResponse>;
|
|
652
|
+
/**
|
|
653
|
+
* Ratings overtime endpoint.
|
|
654
|
+
*
|
|
655
|
+
* Query params:
|
|
656
|
+
* - metric: only 'ratings' is supported (default)
|
|
657
|
+
* - platform_key, mentor_unique_id: optional filters
|
|
658
|
+
* - granularity: 'day' (default) or 'hour' (hour only for today)
|
|
659
|
+
* - start_date, end_date: optional date range; defaults applied if not provided
|
|
660
|
+
*
|
|
661
|
+
* Returns: { metric: 'ratings', points: [{date, value}, ...] }
|
|
662
|
+
* @returns RatingsOvertime
|
|
663
|
+
* @throws ApiError
|
|
664
|
+
*/
|
|
665
|
+
static analyticsRatingsRetrieve({ dateFilter, endDate, granularity, mentorUniqueId, metric, platformKey, startDate, }: {
|
|
666
|
+
/**
|
|
667
|
+
* * `today` - Today only
|
|
668
|
+
* * `7d` - Last 7 days
|
|
669
|
+
* * `30d` - Last 30 days
|
|
670
|
+
* * `90d` - Last 90 days
|
|
671
|
+
* * `all_time` - All time
|
|
672
|
+
* * `custom` - Custom date range
|
|
673
|
+
*/
|
|
674
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
675
|
+
endDate?: string;
|
|
676
|
+
/**
|
|
677
|
+
* * `day` - day
|
|
678
|
+
* * `hour` - hour
|
|
679
|
+
* * `week` - week
|
|
680
|
+
* * `month` - month
|
|
681
|
+
*/
|
|
682
|
+
granularity?: 'day' | 'hour' | 'week' | 'month';
|
|
683
|
+
mentorUniqueId?: string;
|
|
684
|
+
/**
|
|
685
|
+
* * `ratings` - Ratings over time
|
|
686
|
+
*/
|
|
687
|
+
metric?: 'ratings';
|
|
688
|
+
platformKey?: string;
|
|
689
|
+
startDate?: string;
|
|
690
|
+
}): CancelablePromise<RatingsOvertime>;
|
|
691
|
+
/**
|
|
692
|
+
* @returns SessionsChart
|
|
693
|
+
* @throws ApiError
|
|
694
|
+
*/
|
|
695
|
+
static analyticsSessionsRetrieve({ dateFilter, endDate, granularity, mentorUniqueId, metric, platformKey, startDate, }: {
|
|
696
|
+
/**
|
|
697
|
+
* * `today` - Today only
|
|
698
|
+
* * `7d` - Last 7 days
|
|
699
|
+
* * `30d` - Last 30 days
|
|
700
|
+
* * `90d` - Last 90 days
|
|
701
|
+
* * `all_time` - All time
|
|
702
|
+
* * `custom` - Custom date range
|
|
703
|
+
*/
|
|
704
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
705
|
+
endDate?: string;
|
|
706
|
+
/**
|
|
707
|
+
* * `day` - day
|
|
708
|
+
* * `hour` - hour
|
|
709
|
+
* * `week` - week
|
|
710
|
+
* * `month` - month
|
|
711
|
+
*/
|
|
712
|
+
granularity?: 'day' | 'hour' | 'week' | 'month';
|
|
713
|
+
mentorUniqueId?: string;
|
|
714
|
+
/**
|
|
715
|
+
* * `sessions` - Sessions over time
|
|
716
|
+
* * `headline` - Headline metrics for sessions (avg messages per session, avg rating)
|
|
717
|
+
*/
|
|
718
|
+
metric?: 'sessions' | 'headline';
|
|
719
|
+
platformKey?: string;
|
|
720
|
+
startDate?: string;
|
|
721
|
+
}): CancelablePromise<SessionsChart>;
|
|
722
|
+
/**
|
|
723
|
+
* @returns TopicDetails
|
|
724
|
+
* @throws ApiError
|
|
725
|
+
*/
|
|
726
|
+
static analyticsSessionsDetailsRetrieve({ dateFilter, endDate, limit, mentorUniqueId, page, platformKey, search, startDate, }: {
|
|
727
|
+
/**
|
|
728
|
+
* * `today` - Today only
|
|
729
|
+
* * `7d` - Last 7 days
|
|
730
|
+
* * `30d` - Last 30 days
|
|
731
|
+
* * `90d` - Last 90 days
|
|
732
|
+
* * `all_time` - All time
|
|
733
|
+
* * `custom` - Custom date range
|
|
734
|
+
*/
|
|
735
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
736
|
+
endDate?: string;
|
|
737
|
+
limit?: number;
|
|
738
|
+
mentorUniqueId?: string;
|
|
739
|
+
page?: number;
|
|
740
|
+
platformKey?: string;
|
|
741
|
+
/**
|
|
742
|
+
* Search by topic name
|
|
743
|
+
*/
|
|
744
|
+
search?: string;
|
|
745
|
+
startDate?: string;
|
|
746
|
+
}): CancelablePromise<TopicDetails>;
|
|
747
|
+
/**
|
|
748
|
+
*
|
|
749
|
+
* Time Analytics API - User activity patterns by time of day and day of week.
|
|
750
|
+
*
|
|
751
|
+
* Provides heatmap data showing when users are most active, useful for:
|
|
752
|
+
* - Understanding peak usage times
|
|
753
|
+
* - Capacity planning and resource allocation
|
|
754
|
+
* - User behavior analysis
|
|
755
|
+
* - Support scheduling optimization
|
|
756
|
+
*
|
|
757
|
+
* **Key Features:**
|
|
758
|
+
* - Day of week patterns (0=Sunday through 6=Saturday)
|
|
759
|
+
* - Hour of day activity levels (0-23)
|
|
760
|
+
* - Flexible date range filtering
|
|
761
|
+
* - Platform and mentor-specific filtering
|
|
762
|
+
* - Message count aggregation
|
|
763
|
+
*
|
|
764
|
+
* **Data Structure:**
|
|
765
|
+
* - `day_of_week`: 0-6 (Sunday-Saturday)
|
|
766
|
+
* - `hour`: 0-23 (24-hour format)
|
|
767
|
+
* - `value`: Message count for that time slot
|
|
768
|
+
*
|
|
769
|
+
* @returns AccessTimesHeatmap Access times heatmap data with day/hour patterns
|
|
770
|
+
* @throws ApiError
|
|
771
|
+
*/
|
|
772
|
+
static analyticsTimeRetrieve({ dateFilter, endDate, granularity, mentorUniqueId, platformKey, startDate, }: {
|
|
773
|
+
/**
|
|
774
|
+
* * `today` - Today only
|
|
775
|
+
* * `7d` - Last 7 days
|
|
776
|
+
* * `30d` - Last 30 days
|
|
777
|
+
* * `90d` - Last 90 days
|
|
778
|
+
* * `all_time` - All time
|
|
779
|
+
* * `custom` - Custom date range
|
|
780
|
+
*/
|
|
781
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
782
|
+
endDate?: string;
|
|
783
|
+
/**
|
|
784
|
+
* * `day` - day
|
|
785
|
+
* * `hour` - hour
|
|
786
|
+
* * `week` - week
|
|
787
|
+
* * `month` - month
|
|
788
|
+
*/
|
|
789
|
+
granularity?: 'day' | 'hour' | 'week' | 'month';
|
|
790
|
+
mentorUniqueId?: string;
|
|
791
|
+
platformKey?: string;
|
|
792
|
+
startDate?: string;
|
|
793
|
+
}): CancelablePromise<AccessTimesHeatmap>;
|
|
794
|
+
/**
|
|
795
|
+
* @returns TopicsOverview
|
|
796
|
+
* @throws ApiError
|
|
797
|
+
*/
|
|
798
|
+
static analyticsTopicsRetrieve({ dateFilter, endDate, granularity, mentorUniqueId, metric, platformKey, startDate, }: {
|
|
799
|
+
/**
|
|
800
|
+
* * `today` - Today only
|
|
801
|
+
* * `7d` - Last 7 days
|
|
802
|
+
* * `30d` - Last 30 days
|
|
803
|
+
* * `90d` - Last 90 days
|
|
804
|
+
* * `all_time` - All time
|
|
805
|
+
* * `custom` - Custom date range
|
|
806
|
+
*/
|
|
807
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
808
|
+
endDate?: string;
|
|
809
|
+
/**
|
|
810
|
+
* * `day` - day
|
|
811
|
+
* * `hour` - hour
|
|
812
|
+
* * `week` - week
|
|
813
|
+
* * `month` - month
|
|
814
|
+
*/
|
|
815
|
+
granularity?: 'day' | 'hour' | 'week' | 'month';
|
|
816
|
+
mentorUniqueId?: string;
|
|
817
|
+
/**
|
|
818
|
+
* * `overview` - Overall topic metrics
|
|
819
|
+
* * `sessions` - Sessions over time
|
|
820
|
+
* * `ratings` - Ratings over time
|
|
821
|
+
* * `highlighted` - Highlighted topics
|
|
822
|
+
*/
|
|
823
|
+
metric?: 'overview' | 'sessions' | 'ratings' | 'highlighted';
|
|
824
|
+
platformKey?: string;
|
|
825
|
+
startDate?: string;
|
|
826
|
+
}): CancelablePromise<TopicsOverview>;
|
|
827
|
+
/**
|
|
828
|
+
* @returns TopicDetails
|
|
829
|
+
* @throws ApiError
|
|
830
|
+
*/
|
|
831
|
+
static analyticsTopicsDetailsRetrieve({ dateFilter, endDate, limit, mentorUniqueId, page, platformKey, search, startDate, }: {
|
|
832
|
+
/**
|
|
833
|
+
* * `today` - Today only
|
|
834
|
+
* * `7d` - Last 7 days
|
|
835
|
+
* * `30d` - Last 30 days
|
|
836
|
+
* * `90d` - Last 90 days
|
|
837
|
+
* * `all_time` - All time
|
|
838
|
+
* * `custom` - Custom date range
|
|
839
|
+
*/
|
|
840
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
841
|
+
endDate?: string;
|
|
842
|
+
limit?: number;
|
|
843
|
+
mentorUniqueId?: string;
|
|
844
|
+
page?: number;
|
|
845
|
+
platformKey?: string;
|
|
846
|
+
/**
|
|
847
|
+
* Search by topic name
|
|
848
|
+
*/
|
|
849
|
+
search?: string;
|
|
850
|
+
startDate?: string;
|
|
851
|
+
}): CancelablePromise<TopicDetails>;
|
|
852
|
+
/**
|
|
853
|
+
*
|
|
854
|
+
* User Analytics API - Comprehensive user activity metrics and trends.
|
|
855
|
+
*
|
|
856
|
+
* Provides real-time and historical user analytics including:
|
|
857
|
+
* - Currently active users (last hour)
|
|
858
|
+
* - Active users over time periods (7d, 30d, 90d)
|
|
859
|
+
* - Registered user counts and growth
|
|
860
|
+
* - Time series charts with customizable granularity
|
|
861
|
+
*
|
|
862
|
+
* **Key Features:**
|
|
863
|
+
* - Real-time active user counting
|
|
864
|
+
* - Percentage change calculations vs previous periods
|
|
865
|
+
* - Flexible date filtering and granularity
|
|
866
|
+
* - Platform and mentor-specific filtering
|
|
867
|
+
* - Forward-filled time series data
|
|
868
|
+
*
|
|
869
|
+
* **Supported Metrics:**
|
|
870
|
+
* - `currently_active`: Users active in last hour
|
|
871
|
+
* - `active_users`: Unique users in specified period
|
|
872
|
+
* - `registered_users`: Total and new user counts
|
|
873
|
+
*
|
|
874
|
+
* @returns CurrentUsersResponse User analytics metrics with comparison data
|
|
875
|
+
* @throws ApiError
|
|
876
|
+
*/
|
|
877
|
+
static analyticsUsersRetrieve({ metric, dateFilter, endDate, granularity, mentorUniqueId, platformKey, startDate, }: {
|
|
878
|
+
/**
|
|
879
|
+
* * `currently_active` - Users logged in right now
|
|
880
|
+
* * `active_users` - Active users in a period
|
|
881
|
+
* * `registered_users` - Registered users
|
|
882
|
+
* * `active_users_last_30d` - Active users in the last 30 days
|
|
883
|
+
*/
|
|
884
|
+
metric: 'currently_active' | 'active_users' | 'registered_users' | 'active_users_last_30d';
|
|
885
|
+
/**
|
|
886
|
+
* * `today` - Today only
|
|
887
|
+
* * `7d` - Last 7 days
|
|
888
|
+
* * `30d` - Last 30 days
|
|
889
|
+
* * `90d` - Last 90 days
|
|
890
|
+
* * `all_time` - All time
|
|
891
|
+
* * `custom` - Custom date range
|
|
892
|
+
*/
|
|
893
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
894
|
+
endDate?: string;
|
|
895
|
+
/**
|
|
896
|
+
* * `day` - day
|
|
897
|
+
* * `hour` - hour
|
|
898
|
+
* * `week` - week
|
|
899
|
+
* * `month` - month
|
|
900
|
+
*/
|
|
901
|
+
granularity?: 'day' | 'hour' | 'week' | 'month';
|
|
902
|
+
mentorUniqueId?: string;
|
|
903
|
+
platformKey?: string;
|
|
904
|
+
startDate?: string;
|
|
905
|
+
}): CancelablePromise<CurrentUsersResponse>;
|
|
906
|
+
/**
|
|
907
|
+
*
|
|
908
|
+
* User Details API - Comprehensive user activity details with search and filtering.
|
|
909
|
+
*
|
|
910
|
+
* Provides detailed user information including:
|
|
911
|
+
* - User contact information (email, full name)
|
|
912
|
+
* - Activity metrics (message count, last activity)
|
|
913
|
+
* - Search functionality across multiple fields
|
|
914
|
+
* - Flexible date range filtering
|
|
915
|
+
* - CSV export capability
|
|
916
|
+
*
|
|
917
|
+
* **Key Features:**
|
|
918
|
+
* - Full-text search across email, name, and user ID
|
|
919
|
+
* - Date range filtering for activity periods
|
|
920
|
+
* - Platform and mentor-specific filtering
|
|
921
|
+
* - Comprehensive pagination with metadata
|
|
922
|
+
* - CSV export for data analysis
|
|
923
|
+
* - User aggregation across platforms/mentors
|
|
924
|
+
*
|
|
925
|
+
* **Search Capabilities:**
|
|
926
|
+
* - Email address matching
|
|
927
|
+
* - Full name search
|
|
928
|
+
* - User ID lookup
|
|
929
|
+
* - Partial string matching (case-insensitive)
|
|
930
|
+
*
|
|
931
|
+
* **Export Options:**
|
|
932
|
+
* - JSON response (default)
|
|
933
|
+
* - CSV export (?export=csv)
|
|
934
|
+
* - Includes all user fields in export
|
|
935
|
+
*
|
|
936
|
+
* @returns UserDetail Paginated user details with activity metrics
|
|
937
|
+
* @throws ApiError
|
|
938
|
+
*/
|
|
939
|
+
static analyticsUsersDetailsRetrieve({ dateFilter, endDate, limit, mentorUniqueId, page, platformKey, search, startDate, }: {
|
|
940
|
+
/**
|
|
941
|
+
* * `today` - Today only
|
|
942
|
+
* * `7d` - Last 7 days
|
|
943
|
+
* * `30d` - Last 30 days
|
|
944
|
+
* * `90d` - Last 90 days
|
|
945
|
+
* * `all_time` - All time
|
|
946
|
+
* * `custom` - Custom date range
|
|
947
|
+
*/
|
|
948
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
949
|
+
endDate?: string;
|
|
950
|
+
limit?: number;
|
|
951
|
+
mentorUniqueId?: string;
|
|
952
|
+
page?: number;
|
|
953
|
+
platformKey?: string;
|
|
954
|
+
/**
|
|
955
|
+
* Search by email, full name, or user ID
|
|
956
|
+
*/
|
|
957
|
+
search?: string;
|
|
958
|
+
startDate?: string;
|
|
959
|
+
}): CancelablePromise<UserDetail>;
|
|
255
960
|
}
|