@iblai/iblai-api 4.167.2-core → 4.167.3-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 +25604 -2023
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +25595 -2024
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +25604 -2023
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +465 -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/AccessCheckResponse.d.ts +10 -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 +60 -0
- package/dist/types/models/ArtifactList.d.ts +42 -0
- package/dist/types/models/ArtifactVersion.d.ts +55 -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 +38 -0
- package/dist/types/models/CallConfigurationModeEnum.d.ts +8 -0
- package/dist/types/models/CancelSubscription.d.ts +9 -0
- package/dist/types/models/ChatHistory.d.ts +11 -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 +8 -0
- package/dist/types/models/CheckDocumentTrainingStatus.d.ts +10 -0
- package/dist/types/models/CheckoutSessionCreate.d.ts +21 -0
- package/dist/types/models/CheckoutSessionResponse.d.ts +7 -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 +28 -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 +46 -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/Error.d.ts +3 -0
- package/dist/types/models/ExternalServiceInfo.d.ts +6 -0
- package/dist/types/models/FallbackLLM.d.ts +47 -0
- package/dist/types/models/FallbackLLMCreate.d.ts +38 -0
- package/dist/types/models/FallbackLLMUpdate.d.ts +33 -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/GoogleAgentDetail.d.ts +17 -0
- package/dist/types/models/GrandfatheringStrategyEnum.d.ts +8 -0
- package/dist/types/models/GrantMentorAccessRequest.d.ts +9 -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/InterfaceEnum.d.ts +8 -0
- package/dist/types/models/IntervalEnum.d.ts +10 -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/LLMModelRegistryMinimal.d.ts +15 -0
- package/dist/types/models/LLMProviderMinimal.d.ts +28 -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 +10 -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/MCPServerOauthFind.d.ts +5 -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 +168 -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 +158 -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 +71 -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/MentorPaywallConfig.d.ts +40 -0
- package/dist/types/models/MentorPaywallConfigCreate.d.ts +16 -0
- package/dist/types/models/MentorPrice.d.ts +41 -0
- package/dist/types/models/MentorPriceCreate.d.ts +34 -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 +111 -0
- package/dist/types/models/MentorSettingsPublic.d.ts +84 -0
- package/dist/types/models/MentorSettingsRequest.d.ts +86 -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 +11 -0
- package/dist/types/models/MessageViewRequest.d.ts +9 -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/NameEnum.d.ts +14 -0
- package/dist/types/models/NoChatMessagesFound.d.ts +3 -0
- package/dist/types/models/OAuthProvider.d.ts +24 -0
- package/dist/types/models/OAuthService.d.ts +18 -0
- package/dist/types/models/OAuthStartResponse.d.ts +3 -0
- package/dist/types/models/OauthCredentialsMasked.d.ts +10 -0
- package/dist/types/models/Observation.d.ts +31 -0
- package/dist/types/models/OfflineDocument.d.ts +19 -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/PaginatedArtifactVersionList.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/PaginatedGoogleAgentDetailList.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/PaginatedOfflineDocumentList.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/PaginatedWorkflowList.d.ts +7 -0
- package/dist/types/models/Pagination.d.ts +16 -11
- package/dist/types/models/PatchedArtifact.d.ts +60 -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 +38 -0
- package/dist/types/models/PatchedConversations.d.ts +46 -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/PatchedFallbackLLMUpdate.d.ts +33 -0
- package/dist/types/models/PatchedGoogleAgentDetail.d.ts +17 -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 +158 -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/PatchedWorkflow.d.ts +58 -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/Provider63aEnum.d.ts +6 -0
- package/dist/types/models/ProviderBreakdown.d.ts +8 -0
- package/dist/types/models/PublicMentorPricing.d.ts +12 -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/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/ScopeC1dEnum.d.ts +8 -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/SharedSessionUpdateRequest.d.ts +3 -0
- package/dist/types/models/SharedSessionUpdateResponse.d.ts +3 -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/StarterPrompts3d2Enum.d.ts +10 -0
- package/dist/types/models/StarterPromptsCffEnum.d.ts +10 -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/StopGenerationRequest.d.ts +9 -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 +14 -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 +16 -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/TrainDocumentViewRequest.d.ts +86 -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 +12 -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 +19 -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/UserMentorSubscription.d.ts +54 -0
- package/dist/types/models/UserMentorSubscriptionStatusEnum.d.ts +18 -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/VoiceProviderEnum.d.ts +10 -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/models/Workflow.d.ts +58 -0
- package/dist/types/services/AiAccountService.d.ts +571 -0
- package/dist/types/services/AiAnalyticsService.d.ts +4777 -22
- 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 +355 -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 +7372 -0
- package/dist/types/services/AiPromptService.d.ts +1035 -0
- package/dist/types/services/AiSearchService.d.ts +479 -0
- package/dist/types/services/AnalyticsService.d.ts +765 -4
- package/dist/types/services/FallbackLlmService.d.ts +86 -0
- package/dist/types/services/SearchService.d.ts +738 -0
- package/package.json +1 -1
- package/sdk_schema.yml +77879 -25869
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +465 -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/AccessCheckResponse.ts +15 -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 +65 -0
- package/src/models/ArtifactList.ts +47 -0
- package/src/models/ArtifactVersion.ts +60 -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 +43 -0
- package/src/models/CallConfigurationModeEnum.ts +12 -0
- package/src/models/CancelSubscription.ts +14 -0
- package/src/models/ChatHistory.ts +16 -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 +13 -0
- package/src/models/CheckDocumentTrainingStatus.ts +15 -0
- package/src/models/CheckoutSessionCreate.ts +26 -0
- package/src/models/CheckoutSessionResponse.ts +12 -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 +33 -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 +51 -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/Error.ts +8 -0
- package/src/models/ExternalServiceInfo.ts +11 -0
- package/src/models/FallbackLLM.ts +52 -0
- package/src/models/FallbackLLMCreate.ts +43 -0
- package/src/models/FallbackLLMUpdate.ts +38 -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/GoogleAgentDetail.ts +22 -0
- package/src/models/GrandfatheringStrategyEnum.ts +12 -0
- package/src/models/GrantMentorAccessRequest.ts +14 -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/InterfaceEnum.ts +12 -0
- package/src/models/IntervalEnum.ts +14 -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/LLMModelRegistryMinimal.ts +20 -0
- package/src/models/LLMProviderMinimal.ts +33 -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 +14 -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/MCPServerOauthFind.ts +10 -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 +173 -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 +163 -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 +76 -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/MentorPaywallConfig.ts +45 -0
- package/src/models/MentorPaywallConfigCreate.ts +21 -0
- package/src/models/MentorPrice.ts +46 -0
- package/src/models/MentorPriceCreate.ts +39 -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 +116 -0
- package/src/models/MentorSettingsPublic.ts +89 -0
- package/src/models/MentorSettingsRequest.ts +91 -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 +16 -0
- package/src/models/MessageViewRequest.ts +14 -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/NameEnum.ts +18 -0
- package/src/models/NoChatMessagesFound.ts +8 -0
- package/src/models/OAuthProvider.ts +29 -0
- package/src/models/OAuthService.ts +23 -0
- package/src/models/OAuthStartResponse.ts +8 -0
- package/src/models/OauthCredentialsMasked.ts +15 -0
- package/src/models/Observation.ts +36 -0
- package/src/models/OfflineDocument.ts +24 -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/PaginatedArtifactVersionList.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/PaginatedGoogleAgentDetailList.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/PaginatedOfflineDocumentList.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/PaginatedWorkflowList.ts +12 -0
- package/src/models/Pagination.ts +16 -11
- package/src/models/PatchedArtifact.ts +65 -0
- package/src/models/PatchedBotCommand.ts +11 -0
- package/src/models/PatchedBotCreate.ts +17 -0
- package/src/models/PatchedCallConfiguration.ts +43 -0
- package/src/models/PatchedConversations.ts +51 -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/PatchedFallbackLLMUpdate.ts +38 -0
- package/src/models/PatchedGoogleAgentDetail.ts +22 -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 +163 -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/PatchedWorkflow.ts +63 -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/Provider63aEnum.ts +10 -0
- package/src/models/ProviderBreakdown.ts +13 -0
- package/src/models/PublicMentorPricing.ts +17 -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/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/ScopeC1dEnum.ts +12 -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/SharedSessionUpdateRequest.ts +8 -0
- package/src/models/SharedSessionUpdateResponse.ts +8 -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/StarterPrompts3d2Enum.ts +14 -0
- package/src/models/StarterPromptsCffEnum.ts +14 -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/StopGenerationRequest.ts +14 -0
- package/src/models/StripeCheckoutSessionRequest.ts +2 -2
- package/src/models/{ModeEnum.ts → StripeCheckoutSessionRequestModeEnum.ts} +1 -1
- package/src/models/SttProviderEnum.ts +18 -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 +21 -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/TrainDocumentViewRequest.ts +91 -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 +16 -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 +24 -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/UserMentorSubscription.ts +59 -0
- package/src/models/UserMentorSubscriptionStatusEnum.ts +22 -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/VoiceProviderEnum.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/models/Workflow.ts +63 -0
- package/src/services/AiAccountService.ts +959 -0
- package/src/services/AiAnalyticsService.ts +13037 -5286
- package/src/services/AiBotService.ts +1350 -0
- package/src/services/AiFinetuningService.ts +472 -0
- package/src/services/AiIndexService.ts +644 -0
- package/src/services/AiMarketingService.ts +96 -0
- package/src/services/AiMediaService.ts +532 -0
- package/src/services/AiMentorService.ts +13748 -0
- package/src/services/AiPromptService.ts +1985 -0
- package/src/services/AiSearchService.ts +784 -0
- package/src/services/AnalyticsService.ts +1302 -189
- package/src/services/FallbackLlmService.ts +202 -0
- 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
|
/**
|
|
@@ -39,7 +51,7 @@ export declare class AnalyticsService {
|
|
|
39
51
|
* @returns ContentResponse
|
|
40
52
|
* @throws ApiError
|
|
41
53
|
*/
|
|
42
|
-
static getContentAnalytics({ metric, dateFilter, endDate, granularity, includeOvertime, limit, page, platformKey, startDate, usergroupIds, }: {
|
|
54
|
+
static getContentAnalytics({ metric, dateFilter, endDate, granularity, includeOvertime, limit, mentorUniqueId, page, platformKey, startDate, usergroupIds, }: {
|
|
43
55
|
/**
|
|
44
56
|
* The type of content to retrieve (course, program, pathway, skill)
|
|
45
57
|
*
|
|
@@ -78,6 +90,7 @@ export declare class AnalyticsService {
|
|
|
78
90
|
* Number of items per page (max 100)
|
|
79
91
|
*/
|
|
80
92
|
limit?: number;
|
|
93
|
+
mentorUniqueId?: string;
|
|
81
94
|
/**
|
|
82
95
|
* Page number for pagination
|
|
83
96
|
*/
|
|
@@ -98,7 +111,7 @@ export declare class AnalyticsService {
|
|
|
98
111
|
* @returns ContentDetailsResponse
|
|
99
112
|
* @throws ApiError
|
|
100
113
|
*/
|
|
101
|
-
static getContentDetails({ contentId, metric, dateFilter, endDate, limit, page, platformKey, search, startDate, timeMetric, usergroupIds, }: {
|
|
114
|
+
static getContentDetails({ contentId, metric, dateFilter, endDate, limit, mentorUniqueId, page, platformKey, search, startDate, timeMetric, usergroupIds, }: {
|
|
102
115
|
contentId: string;
|
|
103
116
|
/**
|
|
104
117
|
* Content type to fetch (course, program, pathway, skill)
|
|
@@ -127,6 +140,7 @@ export declare class AnalyticsService {
|
|
|
127
140
|
* Number of learner records per page
|
|
128
141
|
*/
|
|
129
142
|
limit?: number;
|
|
143
|
+
mentorUniqueId?: string;
|
|
130
144
|
page?: number;
|
|
131
145
|
platformKey?: string;
|
|
132
146
|
search?: string;
|
|
@@ -140,6 +154,343 @@ export declare class AnalyticsService {
|
|
|
140
154
|
*/
|
|
141
155
|
usergroupIds?: Array<number> | null;
|
|
142
156
|
}): CancelablePromise<ContentDetailsResponse>;
|
|
157
|
+
/**
|
|
158
|
+
* Financial Analytics API - Get comprehensive cost metrics with comparison analysis.
|
|
159
|
+
*
|
|
160
|
+
* This endpoint provides period-based cost analysis (not cumulative) with support for:
|
|
161
|
+
* - Multiple time granularities and metrics
|
|
162
|
+
* - Cross-dimensional filtering
|
|
163
|
+
* - Percentage change vs comparison periods
|
|
164
|
+
* - Forward-filled time series
|
|
165
|
+
*
|
|
166
|
+
* **Examples:**
|
|
167
|
+
*
|
|
168
|
+
* **Basic Weekly Costs:**
|
|
169
|
+
* ```
|
|
170
|
+
* GET /api/analytics/financial/?metric=weekly_costs&comparison_days=10
|
|
171
|
+
* ```
|
|
172
|
+
*
|
|
173
|
+
* **Platform & Mentor Filtered:**
|
|
174
|
+
* ```
|
|
175
|
+
* # Get total costs for a specific platform and mentor
|
|
176
|
+
* GET /api/analytics/financial/?metric=total_costs&platform_key=web-app&mentor_unique_id=mentor-123&comparison_days=14
|
|
177
|
+
* ```
|
|
178
|
+
*
|
|
179
|
+
* **Monthly Costs by Provider:**
|
|
180
|
+
* ```
|
|
181
|
+
* GET /api/analytics/financial/?metric=monthly_costs&provider=openai&granularity=month&comparison_days=30
|
|
182
|
+
* ```
|
|
183
|
+
*
|
|
184
|
+
* **Daily Costs for Specific User:**
|
|
185
|
+
* ```
|
|
186
|
+
* 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
|
|
187
|
+
* ```
|
|
188
|
+
*
|
|
189
|
+
*
|
|
190
|
+
* **Response Structure:**
|
|
191
|
+
* ```json
|
|
192
|
+
* {
|
|
193
|
+
* "metric": "weekly_costs",
|
|
194
|
+
* "value": 12.47,
|
|
195
|
+
* "percentage_change": 8.5,
|
|
196
|
+
* "overtime": [
|
|
197
|
+
* {"date": "2025-01-06", "value": 2.89},
|
|
198
|
+
* {"date": "2025-01-13", "value": 3.12}
|
|
199
|
+
* ],
|
|
200
|
+
* "period_info": {
|
|
201
|
+
* "start_date": "2025-01-01",
|
|
202
|
+
* "end_date": "2025-01-31",
|
|
203
|
+
* "period_days": 31
|
|
204
|
+
* },
|
|
205
|
+
* "comparison_info": {
|
|
206
|
+
* "previous_period_value": 11.50,
|
|
207
|
+
* ...
|
|
208
|
+
* }
|
|
209
|
+
* }
|
|
210
|
+
* ```
|
|
211
|
+
* @returns BaseFinanceResponse Successful financial metrics response with period-based cost data
|
|
212
|
+
* @throws ApiError
|
|
213
|
+
*/
|
|
214
|
+
static analyticsFinancialRetrieve({ metric, comparisonDays, dateFilter, endDate, fillMethod, granularity, llmModel, mentorUniqueId, platformKey, provider, showOvertime, startDate, usergroupIds, username, }: {
|
|
215
|
+
/**
|
|
216
|
+
* Type of financial metric to retrieve
|
|
217
|
+
*
|
|
218
|
+
* * `total_costs` - Total costs for selected timeframe
|
|
219
|
+
* * `weekly_costs` - Costs for current/selected week
|
|
220
|
+
* * `monthly_costs` - Costs for current/selected month
|
|
221
|
+
*/
|
|
222
|
+
metric: 'total_costs' | 'weekly_costs' | 'monthly_costs';
|
|
223
|
+
/**
|
|
224
|
+
* Number of days for comparison period to calculate percentage change (e.g., 10 for 10-day comparison)
|
|
225
|
+
*/
|
|
226
|
+
comparisonDays?: number;
|
|
227
|
+
/**
|
|
228
|
+
* * `today` - Today only
|
|
229
|
+
* * `7d` - Last 7 days
|
|
230
|
+
* * `30d` - Last 30 days
|
|
231
|
+
* * `90d` - Last 90 days
|
|
232
|
+
* * `all_time` - All time
|
|
233
|
+
* * `custom` - Custom date range
|
|
234
|
+
*/
|
|
235
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
236
|
+
endDate?: string;
|
|
237
|
+
/**
|
|
238
|
+
* Method for filling missing time periods in overtime data
|
|
239
|
+
*
|
|
240
|
+
* * `zero` - Fill missing periods with zero
|
|
241
|
+
* * `previous` - Fill missing periods with previous value
|
|
242
|
+
*/
|
|
243
|
+
fillMethod?: 'zero' | 'previous';
|
|
244
|
+
/**
|
|
245
|
+
* Time granularity for overtime series data
|
|
246
|
+
*
|
|
247
|
+
* * `day` - Daily data points
|
|
248
|
+
* * `week` - Weekly data points
|
|
249
|
+
* * `month` - Monthly data points
|
|
250
|
+
*/
|
|
251
|
+
granularity?: 'day' | 'week' | 'month';
|
|
252
|
+
/**
|
|
253
|
+
* Filter by specific LLM model (e.g., gpt-4o, claude-3-5-sonnet)
|
|
254
|
+
*/
|
|
255
|
+
llmModel?: string;
|
|
256
|
+
mentorUniqueId?: string;
|
|
257
|
+
platformKey?: string;
|
|
258
|
+
/**
|
|
259
|
+
* Filter by AI provider
|
|
260
|
+
*
|
|
261
|
+
* * `openai` - OpenAI
|
|
262
|
+
* * `anthropic` - Anthropic
|
|
263
|
+
* * `azure` - Azure
|
|
264
|
+
* * `google` - Google
|
|
265
|
+
* * `meta` - Meta
|
|
266
|
+
* * `other` - Other
|
|
267
|
+
*/
|
|
268
|
+
provider?: 'openai' | 'anthropic' | 'azure' | 'google' | 'meta' | 'other';
|
|
269
|
+
/**
|
|
270
|
+
* Whether to include overtime series data in response
|
|
271
|
+
*/
|
|
272
|
+
showOvertime?: boolean;
|
|
273
|
+
startDate?: string;
|
|
274
|
+
/**
|
|
275
|
+
* Optional list of usergroup IDs to filter results
|
|
276
|
+
*/
|
|
277
|
+
usergroupIds?: Array<number> | null;
|
|
278
|
+
/**
|
|
279
|
+
* Filter by specific username - returns costs for this user only
|
|
280
|
+
*/
|
|
281
|
+
username?: string;
|
|
282
|
+
}): CancelablePromise<BaseFinanceResponse>;
|
|
283
|
+
/**
|
|
284
|
+
* Financial Details Analytics API – paginated cost tables with flexible grouping.
|
|
285
|
+
*
|
|
286
|
+
* This endpoint returns tabular cost metrics aggregated by the dimension
|
|
287
|
+
* specified via the `group_by` query parameter. One or more KPI columns
|
|
288
|
+
* can be requested through the comma-separated `metrics` list while
|
|
289
|
+
* typical filters (date range, provider, platform_key, user, etc.) narrow the
|
|
290
|
+
* dataset. Results are paginated with `page` / `limit`.
|
|
291
|
+
*
|
|
292
|
+
* **Required query parameters**
|
|
293
|
+
* - group_by – provider | llm_model | username | mentor | platform
|
|
294
|
+
* - metrics – csv list of KPI names, e.g. total_cost, sessions
|
|
295
|
+
*
|
|
296
|
+
* **Shared optional filters**
|
|
297
|
+
* - start_date, end_date – ISO yyyy-mm-dd (ignored when all_time=true)
|
|
298
|
+
* - platform_key – tenant isolation
|
|
299
|
+
* - mentor_unique_id – filter to one mentor
|
|
300
|
+
* - username – filter to a learner
|
|
301
|
+
* - provider / llm_model – filter to LLM provider / model
|
|
302
|
+
* - all_time – true → lifetime totals
|
|
303
|
+
* - page (default 1), limit (default 50)
|
|
304
|
+
*
|
|
305
|
+
* **Examples**
|
|
306
|
+
* --------
|
|
307
|
+
* 1. Cost by provider for the last week
|
|
308
|
+
* ```
|
|
309
|
+
* GET /api/v2/analytics/financial/details?
|
|
310
|
+
* group_by=provider&
|
|
311
|
+
* metrics=total_cost&
|
|
312
|
+
* start_date=2025-01-01&
|
|
313
|
+
* end_date=2025-01-07&
|
|
314
|
+
* page=1&limit=10
|
|
315
|
+
* ```
|
|
316
|
+
*
|
|
317
|
+
* 2. Lifetime cost per user with extra KPIs
|
|
318
|
+
* ```
|
|
319
|
+
* GET /api/v2/analytics/financial/details?
|
|
320
|
+
* group_by=username&
|
|
321
|
+
* metrics=total_cost,sessions&
|
|
322
|
+
* all_time=true&page=1&limit=50
|
|
323
|
+
* ```
|
|
324
|
+
* 3. Cost by LLM model with tenant filter
|
|
325
|
+
* ```
|
|
326
|
+
* GET /api/v2/analytics/financial/details?
|
|
327
|
+
* group_by=llm_model&
|
|
328
|
+
* metrics=total_cost&
|
|
329
|
+
* platform_key=web-app&
|
|
330
|
+
* start_date=2025-01-01&end_date=2025-01-31
|
|
331
|
+
* ```
|
|
332
|
+
* Response structure
|
|
333
|
+
* -------------------
|
|
334
|
+
* ```
|
|
335
|
+
* {
|
|
336
|
+
* "page": 1,
|
|
337
|
+
* "limit": 10,
|
|
338
|
+
* "total_pages": 1,
|
|
339
|
+
* "total_records": 3,
|
|
340
|
+
* "rows": [
|
|
341
|
+
* {"provider": "openai", "total_cost": "2.50000"},
|
|
342
|
+
* {"provider": "anthropic", "total_cost": "1.00000"},
|
|
343
|
+
* {"provider": "azure", "total_cost": "0.50000"}
|
|
344
|
+
* ],
|
|
345
|
+
* "metrics": [
|
|
346
|
+
* {
|
|
347
|
+
* "name": "total_cost",
|
|
348
|
+
* "unit": "$",
|
|
349
|
+
* "description": "Cost for this entity in period"
|
|
350
|
+
* }
|
|
351
|
+
* ],
|
|
352
|
+
* "total_cost": "4.00000" // optional grand-total when available
|
|
353
|
+
* }
|
|
354
|
+
* ``
|
|
355
|
+
* @returns FinanceDetailsResponse
|
|
356
|
+
* @throws ApiError
|
|
357
|
+
*/
|
|
358
|
+
static analyticsFinancialDetailsRetrieve({ groupBy, dateFilter, endDate, limit, llmModel, mentorUniqueId, metrics, page, platformKey, provider, search, startDate, usergroupIds, username, }: {
|
|
359
|
+
/**
|
|
360
|
+
* Dimension to group by
|
|
361
|
+
*
|
|
362
|
+
* * `provider` - Group by provider
|
|
363
|
+
* * `llm_model` - Group by LLM model
|
|
364
|
+
* * `username` - Group by username
|
|
365
|
+
* * `mentor` - Group by mentor
|
|
366
|
+
* * `platform` - Group by platform
|
|
367
|
+
* * `action` - Group by actions
|
|
368
|
+
*/
|
|
369
|
+
groupBy: 'provider' | 'llm_model' | 'username' | 'mentor' | 'platform' | 'action';
|
|
370
|
+
/**
|
|
371
|
+
* * `today` - Today only
|
|
372
|
+
* * `7d` - Last 7 days
|
|
373
|
+
* * `30d` - Last 30 days
|
|
374
|
+
* * `90d` - Last 90 days
|
|
375
|
+
* * `all_time` - All time
|
|
376
|
+
* * `custom` - Custom date range
|
|
377
|
+
*/
|
|
378
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
379
|
+
endDate?: string;
|
|
380
|
+
limit?: number;
|
|
381
|
+
llmModel?: string;
|
|
382
|
+
mentorUniqueId?: string;
|
|
383
|
+
/**
|
|
384
|
+
* Comma-separated list of metrics (e.g. total_cost,sessions, last_active)
|
|
385
|
+
*/
|
|
386
|
+
metrics?: string;
|
|
387
|
+
page?: number;
|
|
388
|
+
platformKey?: string;
|
|
389
|
+
provider?: string;
|
|
390
|
+
search?: string;
|
|
391
|
+
startDate?: string;
|
|
392
|
+
/**
|
|
393
|
+
* Optional list of usergroup IDs to filter results
|
|
394
|
+
*/
|
|
395
|
+
usergroupIds?: Array<number> | null;
|
|
396
|
+
username?: string;
|
|
397
|
+
}): CancelablePromise<FinanceDetailsResponse>;
|
|
398
|
+
/**
|
|
399
|
+
* Flexible Invoice Report API – Billing summary with username and platform filtering.
|
|
400
|
+
*
|
|
401
|
+
* This endpoint generates invoice reports with flexible filtering options:
|
|
402
|
+
* - Platform admins can view their platform's data and filter by username within their platform
|
|
403
|
+
* - Super admins can view any combination of username/platform or global summaries
|
|
404
|
+
*
|
|
405
|
+
* **Key Features:**
|
|
406
|
+
* - Flexible filtering by username and/or platform_key
|
|
407
|
+
* - Essential metrics: total cost, sessions, usage period
|
|
408
|
+
* - Provider breakdown (OpenAI, Anthropic, etc.)
|
|
409
|
+
* - Top mentors/actions by cost
|
|
410
|
+
* - Clean, invoice-ready format
|
|
411
|
+
*
|
|
412
|
+
* **Query Parameters:**
|
|
413
|
+
* - username: Filter by specific username (optional)
|
|
414
|
+
* - platform_key: Filter by platform (optional, but required for platform admins)
|
|
415
|
+
* - start_date, end_date: billing period (defaults to last 30 days)
|
|
416
|
+
* - include_breakdown: show provider/mentor details (default: true)
|
|
417
|
+
*
|
|
418
|
+
* **Permission Logic:**
|
|
419
|
+
* - Platform admins: Must include platform_key matching their permission scope
|
|
420
|
+
* - Super admins: Can use any combination of filters or none (global summary)
|
|
421
|
+
*
|
|
422
|
+
* **Examples:**
|
|
423
|
+
* ```
|
|
424
|
+
* # Platform admin viewing their platform
|
|
425
|
+
* GET /api/analytics/financial/invoice?platform_key=web-app
|
|
426
|
+
*
|
|
427
|
+
* # Platform admin viewing specific user in their platform
|
|
428
|
+
* GET /api/analytics/financial/invoice?platform_key=web-app&username=john.doe
|
|
429
|
+
*
|
|
430
|
+
* # Super admin viewing specific user across all platforms
|
|
431
|
+
* GET /api/analytics/financial/invoice?username=john.doe
|
|
432
|
+
*
|
|
433
|
+
* # Super admin viewing global summary
|
|
434
|
+
* GET /api/analytics/financial/invoice
|
|
435
|
+
* ```
|
|
436
|
+
*
|
|
437
|
+
* **Response Structure:**
|
|
438
|
+
* ```json
|
|
439
|
+
* {
|
|
440
|
+
* "entity": {
|
|
441
|
+
* "type": "user|platform|global",
|
|
442
|
+
* "username": "john.doe",
|
|
443
|
+
* "platform_key": "web-app",
|
|
444
|
+
* "platform_name": "Web Application",
|
|
445
|
+
* "display_name": "John Doe on Web Application"
|
|
446
|
+
* },
|
|
447
|
+
* "billing_period": {
|
|
448
|
+
* "start_date": "2025-01-01",
|
|
449
|
+
* "end_date": "2025-01-31",
|
|
450
|
+
* "days": 31
|
|
451
|
+
* },
|
|
452
|
+
* "summary": {
|
|
453
|
+
* "total_cost": 245.750,
|
|
454
|
+
* "total_sessions": 1250,
|
|
455
|
+
* "active_users": 85,
|
|
456
|
+
* "cost_per_session": 0.196
|
|
457
|
+
* },
|
|
458
|
+
* "breakdown": {
|
|
459
|
+
* "by_provider": [...],
|
|
460
|
+
* "by_mentor": [...],
|
|
461
|
+
* "by_action": [...]
|
|
462
|
+
* }
|
|
463
|
+
* }
|
|
464
|
+
* ```
|
|
465
|
+
* @returns InvoiceReportResponse
|
|
466
|
+
* @throws ApiError
|
|
467
|
+
*/
|
|
468
|
+
static analyticsFinancialInvoiceRetrieve({ endDate, includeBreakdown, platformKey, startDate, usergroupIds, username, }: {
|
|
469
|
+
/**
|
|
470
|
+
* End date for billing period (defaults to today)
|
|
471
|
+
*/
|
|
472
|
+
endDate?: string;
|
|
473
|
+
/**
|
|
474
|
+
* Whether to include provider and mentor breakdown
|
|
475
|
+
*/
|
|
476
|
+
includeBreakdown?: boolean;
|
|
477
|
+
/**
|
|
478
|
+
* Platform key to filter by (optional, required for platform admins)
|
|
479
|
+
*/
|
|
480
|
+
platformKey?: string;
|
|
481
|
+
/**
|
|
482
|
+
* Start date for billing period (defaults to 30 days ago)
|
|
483
|
+
*/
|
|
484
|
+
startDate?: string;
|
|
485
|
+
/**
|
|
486
|
+
* Optional list of usergroup IDs to filter results
|
|
487
|
+
*/
|
|
488
|
+
usergroupIds?: Array<number> | null;
|
|
489
|
+
/**
|
|
490
|
+
* Username to generate invoice for (optional)
|
|
491
|
+
*/
|
|
492
|
+
username?: string;
|
|
493
|
+
}): CancelablePromise<InvoiceReportResponse>;
|
|
143
494
|
/**
|
|
144
495
|
* Unified API endpoint for learner analytics.
|
|
145
496
|
*
|
|
@@ -159,7 +510,7 @@ export declare class AnalyticsService {
|
|
|
159
510
|
* @returns LearnerAnalyticsResponse
|
|
160
511
|
* @throws ApiError
|
|
161
512
|
*/
|
|
162
|
-
static analyticsLearnersRetrieve({ dateFilter, endDate, granularity, limit, overtime, page, platformKey, startDate, usergroupIds, username, }: {
|
|
513
|
+
static analyticsLearnersRetrieve({ dateFilter, endDate, granularity, limit, mentorUniqueId, overtime, page, platformKey, startDate, usergroupIds, username, }: {
|
|
163
514
|
/**
|
|
164
515
|
* * `today` - Today only
|
|
165
516
|
* * `7d` - Last 7 days
|
|
@@ -181,6 +532,7 @@ export declare class AnalyticsService {
|
|
|
181
532
|
* Number of records per page (default: 20, max: 100)
|
|
182
533
|
*/
|
|
183
534
|
limit?: number;
|
|
535
|
+
mentorUniqueId?: string;
|
|
184
536
|
/**
|
|
185
537
|
* Include overtime metrics for the user in the platform (default: false)
|
|
186
538
|
*/
|
|
@@ -212,7 +564,7 @@ export declare class AnalyticsService {
|
|
|
212
564
|
* @returns LearnerListResponse Paginated list of learners with their metrics
|
|
213
565
|
* @throws ApiError
|
|
214
566
|
*/
|
|
215
|
-
static analyticsLearnersListRetrieve({ platformKey, dateFilter, endDate, granularity, limit, page, search, sortBy, sortOrder, startDate, usergroupIds, }: {
|
|
567
|
+
static analyticsLearnersListRetrieve({ platformKey, dateFilter, endDate, granularity, limit, mentorUniqueId, page, search, sortBy, sortOrder, startDate, usergroupIds, }: {
|
|
216
568
|
/**
|
|
217
569
|
* Platform key to filter learners by platform
|
|
218
570
|
*/
|
|
@@ -238,6 +590,7 @@ export declare class AnalyticsService {
|
|
|
238
590
|
* Number of learners per page (default: 20, max: 100)
|
|
239
591
|
*/
|
|
240
592
|
limit?: number;
|
|
593
|
+
mentorUniqueId?: string;
|
|
241
594
|
/**
|
|
242
595
|
* Page number for pagination (default: 1)
|
|
243
596
|
*/
|
|
@@ -271,4 +624,412 @@ export declare class AnalyticsService {
|
|
|
271
624
|
*/
|
|
272
625
|
usergroupIds?: Array<number> | null;
|
|
273
626
|
}): CancelablePromise<LearnerListResponse>;
|
|
627
|
+
/**
|
|
628
|
+
* Conversation list endpoint for analytics.
|
|
629
|
+
*
|
|
630
|
+
* Query params (all optional unless specified by permissions):
|
|
631
|
+
* - platform_key: filter by platform
|
|
632
|
+
* - mentor_unique_id: filter by mentor
|
|
633
|
+
* - page: page number (default 1)
|
|
634
|
+
* - limit: page size (default 20, max 100)
|
|
635
|
+
* - search: search in user name and first user message
|
|
636
|
+
* - min_messages, max_messages: message_count range
|
|
637
|
+
* - sentiment: positive|negative|neutral
|
|
638
|
+
* - topic: topic name contains
|
|
639
|
+
* - start_date, end_date: date filter on conversation date
|
|
640
|
+
*
|
|
641
|
+
* Returns: summary totals, results list (paginated), and pagination metadata.
|
|
642
|
+
* @returns ConversationListResponse
|
|
643
|
+
* @throws ApiError
|
|
644
|
+
*/
|
|
645
|
+
static analyticsMessagesRetrieve({ endDate, limit, maxMessages, mentorUniqueId, minMessages, page, platformKey, search, sentiment, startDate, topic, usergroupIds, }: {
|
|
646
|
+
endDate?: string;
|
|
647
|
+
limit?: number;
|
|
648
|
+
maxMessages?: number;
|
|
649
|
+
mentorUniqueId?: string;
|
|
650
|
+
minMessages?: number;
|
|
651
|
+
page?: number;
|
|
652
|
+
platformKey?: string;
|
|
653
|
+
search?: string;
|
|
654
|
+
/**
|
|
655
|
+
* * `positive` - positive
|
|
656
|
+
* * `negative` - negative
|
|
657
|
+
* * `neutral` - neutral
|
|
658
|
+
*/
|
|
659
|
+
sentiment?: 'positive' | 'negative' | 'neutral';
|
|
660
|
+
startDate?: string;
|
|
661
|
+
topic?: string;
|
|
662
|
+
/**
|
|
663
|
+
* Optional list of usergroup IDs to filter results
|
|
664
|
+
*/
|
|
665
|
+
usergroupIds?: Array<number> | null;
|
|
666
|
+
}): CancelablePromise<ConversationListResponse>;
|
|
667
|
+
/**
|
|
668
|
+
* Conversation detail endpoint for analytics.
|
|
669
|
+
*
|
|
670
|
+
* Query params:
|
|
671
|
+
* - session_id (required): UUID of the session to fetch
|
|
672
|
+
* - platform_key, mentor_unique_id (optional): further scope
|
|
673
|
+
* - start_date, end_date (optional): date filter on message timestamps
|
|
674
|
+
*
|
|
675
|
+
* Returns: summary metadata from conversation_list MV, and a list of
|
|
676
|
+
* human/ai message pairs in chronological order.
|
|
677
|
+
* @returns ConversationDetailResponse
|
|
678
|
+
* @throws ApiError
|
|
679
|
+
*/
|
|
680
|
+
static analyticsMessagesDetailsRetrieve({ sessionId, endDate, mentorUniqueId, platformKey, startDate, usergroupIds, }: {
|
|
681
|
+
sessionId: string;
|
|
682
|
+
endDate?: string;
|
|
683
|
+
mentorUniqueId?: string;
|
|
684
|
+
platformKey?: string;
|
|
685
|
+
startDate?: string;
|
|
686
|
+
/**
|
|
687
|
+
* Optional list of usergroup IDs to filter results
|
|
688
|
+
*/
|
|
689
|
+
usergroupIds?: Array<number> | null;
|
|
690
|
+
}): CancelablePromise<ConversationDetailResponse>;
|
|
691
|
+
/**
|
|
692
|
+
* Ratings overtime endpoint.
|
|
693
|
+
*
|
|
694
|
+
* Query params:
|
|
695
|
+
* - metric: only 'ratings' is supported (default)
|
|
696
|
+
* - platform_key, mentor_unique_id: optional filters
|
|
697
|
+
* - granularity: 'day' (default) or 'hour' (hour only for today)
|
|
698
|
+
* - start_date, end_date: optional date range; defaults applied if not provided
|
|
699
|
+
*
|
|
700
|
+
* Returns: { metric: 'ratings', points: [{date, value}, ...] }
|
|
701
|
+
* @returns RatingsOvertime
|
|
702
|
+
* @throws ApiError
|
|
703
|
+
*/
|
|
704
|
+
static analyticsRatingsRetrieve({ dateFilter, endDate, granularity, mentorUniqueId, metric, platformKey, startDate, usergroupIds, }: {
|
|
705
|
+
/**
|
|
706
|
+
* * `today` - Today only
|
|
707
|
+
* * `7d` - Last 7 days
|
|
708
|
+
* * `30d` - Last 30 days
|
|
709
|
+
* * `90d` - Last 90 days
|
|
710
|
+
* * `all_time` - All time
|
|
711
|
+
* * `custom` - Custom date range
|
|
712
|
+
*/
|
|
713
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
714
|
+
endDate?: string;
|
|
715
|
+
/**
|
|
716
|
+
* * `day` - day
|
|
717
|
+
* * `hour` - hour
|
|
718
|
+
* * `week` - week
|
|
719
|
+
* * `month` - month
|
|
720
|
+
*/
|
|
721
|
+
granularity?: 'day' | 'hour' | 'week' | 'month';
|
|
722
|
+
mentorUniqueId?: string;
|
|
723
|
+
/**
|
|
724
|
+
* * `ratings` - Ratings over time
|
|
725
|
+
*/
|
|
726
|
+
metric?: 'ratings';
|
|
727
|
+
platformKey?: string;
|
|
728
|
+
startDate?: string;
|
|
729
|
+
/**
|
|
730
|
+
* Optional list of usergroup IDs to filter results
|
|
731
|
+
*/
|
|
732
|
+
usergroupIds?: Array<number> | null;
|
|
733
|
+
}): CancelablePromise<RatingsOvertime>;
|
|
734
|
+
/**
|
|
735
|
+
* Mixin for RBAC validation for mentor analytics views.
|
|
736
|
+
*
|
|
737
|
+
* Mentor analytics endpoints require:
|
|
738
|
+
* 1. Aggregate analytics: First checks if user has "Ibl.Analytics/CanViewAnalytics/action"
|
|
739
|
+
* permission on the platform resource (/platforms/{pk}/) when retrieving aggregate data
|
|
740
|
+
* 2. Mentor-specific access validation:
|
|
741
|
+
* - If mentor_unique_id is provided, validates access to that specific mentor
|
|
742
|
+
* - Checks mentor owner access (if user created the mentor) via is_owner parameter
|
|
743
|
+
* - Checks mentor-specific RBAC access: /platforms/{pk}/mentors/{mentor_id}/
|
|
744
|
+
* - Uses action prefix "Ibl.Analytics/Mentors/" for mentor access validation
|
|
745
|
+
* 3. User/usergroup access for filtering:
|
|
746
|
+
* - Uses "Ibl.Analytics/Mentors/read" action to determine accessible users
|
|
747
|
+
* - Supports usergroup filtering via _get_accessible_user_ids()
|
|
748
|
+
*
|
|
749
|
+
* This mixin extends AnalyticsRbacMixin to reuse shared RBAC validation logic
|
|
750
|
+
* while adding mentor-specific validation.
|
|
751
|
+
*
|
|
752
|
+
* Special Case - Mentor Owner Unfiltered Access:
|
|
753
|
+
* If the requesting user owns the mentor (mentor.created_by == requesting_user.username)
|
|
754
|
+
* AND no usergroup_ids are specified, the _get_accessible_user_ids_for_mentor_analytics()
|
|
755
|
+
* method returns None to allow unfiltered access to all users in the platform.
|
|
756
|
+
*
|
|
757
|
+
* Note: Mentor analytics APIs work with platform_key (from query params).
|
|
758
|
+
* @returns SessionsChart
|
|
759
|
+
* @throws ApiError
|
|
760
|
+
*/
|
|
761
|
+
static analyticsSessionsRetrieve({ dateFilter, endDate, granularity, mentorUniqueId, metric, platformKey, startDate, usergroupIds, }: {
|
|
762
|
+
/**
|
|
763
|
+
* * `today` - Today only
|
|
764
|
+
* * `7d` - Last 7 days
|
|
765
|
+
* * `30d` - Last 30 days
|
|
766
|
+
* * `90d` - Last 90 days
|
|
767
|
+
* * `all_time` - All time
|
|
768
|
+
* * `custom` - Custom date range
|
|
769
|
+
*/
|
|
770
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
771
|
+
endDate?: string;
|
|
772
|
+
/**
|
|
773
|
+
* * `day` - day
|
|
774
|
+
* * `hour` - hour
|
|
775
|
+
* * `week` - week
|
|
776
|
+
* * `month` - month
|
|
777
|
+
*/
|
|
778
|
+
granularity?: 'day' | 'hour' | 'week' | 'month';
|
|
779
|
+
mentorUniqueId?: string;
|
|
780
|
+
/**
|
|
781
|
+
* * `sessions` - Sessions over time
|
|
782
|
+
* * `headline` - Headline metrics for sessions (avg messages per session, avg rating)
|
|
783
|
+
*/
|
|
784
|
+
metric?: 'sessions' | 'headline';
|
|
785
|
+
platformKey?: string;
|
|
786
|
+
startDate?: string;
|
|
787
|
+
/**
|
|
788
|
+
* Optional list of usergroup IDs to filter results
|
|
789
|
+
*/
|
|
790
|
+
usergroupIds?: Array<number> | null;
|
|
791
|
+
}): CancelablePromise<SessionsChart>;
|
|
792
|
+
/**
|
|
793
|
+
*
|
|
794
|
+
* Time Analytics API - User activity patterns by time of day and day of week.
|
|
795
|
+
*
|
|
796
|
+
* Provides heatmap data showing when users are most active, useful for:
|
|
797
|
+
* - Understanding peak usage times
|
|
798
|
+
* - Capacity planning and resource allocation
|
|
799
|
+
* - User behavior analysis
|
|
800
|
+
* - Support scheduling optimization
|
|
801
|
+
*
|
|
802
|
+
* **Key Features:**
|
|
803
|
+
* - Day of week patterns (0=Sunday through 6=Saturday)
|
|
804
|
+
* - Hour of day activity levels (0-23)
|
|
805
|
+
* - Flexible date range filtering
|
|
806
|
+
* - Platform and mentor-specific filtering
|
|
807
|
+
* - Message count aggregation
|
|
808
|
+
*
|
|
809
|
+
* **Data Structure:**
|
|
810
|
+
* - `day_of_week`: 0-6 (Sunday-Saturday)
|
|
811
|
+
* - `hour`: 0-23 (24-hour format)
|
|
812
|
+
* - `value`: Message count for that time slot
|
|
813
|
+
*
|
|
814
|
+
* @returns AccessTimesHeatmap Access times heatmap data with day/hour patterns
|
|
815
|
+
* @throws ApiError
|
|
816
|
+
*/
|
|
817
|
+
static analyticsTimeRetrieve({ dateFilter, endDate, granularity, mentorUniqueId, platformKey, startDate, usergroupIds, }: {
|
|
818
|
+
/**
|
|
819
|
+
* * `today` - Today only
|
|
820
|
+
* * `7d` - Last 7 days
|
|
821
|
+
* * `30d` - Last 30 days
|
|
822
|
+
* * `90d` - Last 90 days
|
|
823
|
+
* * `all_time` - All time
|
|
824
|
+
* * `custom` - Custom date range
|
|
825
|
+
*/
|
|
826
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
827
|
+
endDate?: string;
|
|
828
|
+
/**
|
|
829
|
+
* * `day` - day
|
|
830
|
+
* * `hour` - hour
|
|
831
|
+
* * `week` - week
|
|
832
|
+
* * `month` - month
|
|
833
|
+
*/
|
|
834
|
+
granularity?: 'day' | 'hour' | 'week' | 'month';
|
|
835
|
+
mentorUniqueId?: string;
|
|
836
|
+
platformKey?: string;
|
|
837
|
+
startDate?: string;
|
|
838
|
+
/**
|
|
839
|
+
* Optional list of usergroup IDs to filter results
|
|
840
|
+
*/
|
|
841
|
+
usergroupIds?: Array<number> | null;
|
|
842
|
+
}): CancelablePromise<AccessTimesHeatmap>;
|
|
843
|
+
/**
|
|
844
|
+
* Returns topics overview analytics for a given platform and mentor.
|
|
845
|
+
*
|
|
846
|
+
* Permission Required:
|
|
847
|
+
* - Platform Admin
|
|
848
|
+
* - Ibl.Analytics/Mentors/read
|
|
849
|
+
* @returns TopicsOverview
|
|
850
|
+
* @throws ApiError
|
|
851
|
+
*/
|
|
852
|
+
static analyticsTopicsRetrieve({ dateFilter, endDate, granularity, mentorUniqueId, metric, platformKey, startDate, usergroupIds, }: {
|
|
853
|
+
/**
|
|
854
|
+
* * `today` - Today only
|
|
855
|
+
* * `7d` - Last 7 days
|
|
856
|
+
* * `30d` - Last 30 days
|
|
857
|
+
* * `90d` - Last 90 days
|
|
858
|
+
* * `all_time` - All time
|
|
859
|
+
* * `custom` - Custom date range
|
|
860
|
+
*/
|
|
861
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
862
|
+
endDate?: string;
|
|
863
|
+
/**
|
|
864
|
+
* * `day` - day
|
|
865
|
+
* * `hour` - hour
|
|
866
|
+
* * `week` - week
|
|
867
|
+
* * `month` - month
|
|
868
|
+
*/
|
|
869
|
+
granularity?: 'day' | 'hour' | 'week' | 'month';
|
|
870
|
+
mentorUniqueId?: string;
|
|
871
|
+
/**
|
|
872
|
+
* * `overview` - Overall topic metrics
|
|
873
|
+
* * `sessions` - Sessions over time
|
|
874
|
+
* * `ratings` - Ratings over time
|
|
875
|
+
* * `highlighted` - Highlighted topics
|
|
876
|
+
*/
|
|
877
|
+
metric?: 'overview' | 'sessions' | 'ratings' | 'highlighted';
|
|
878
|
+
platformKey?: string;
|
|
879
|
+
startDate?: string;
|
|
880
|
+
/**
|
|
881
|
+
* Optional list of usergroup IDs to filter results
|
|
882
|
+
*/
|
|
883
|
+
usergroupIds?: Array<number> | null;
|
|
884
|
+
}): CancelablePromise<TopicsOverview>;
|
|
885
|
+
/**
|
|
886
|
+
* Returns topic details Analytics for a given platform and mentor.
|
|
887
|
+
*
|
|
888
|
+
* Permission Required:
|
|
889
|
+
* - Platform Admin
|
|
890
|
+
* - Ibl.Analytics/Mentors/read
|
|
891
|
+
* @returns TopicDetails
|
|
892
|
+
* @throws ApiError
|
|
893
|
+
*/
|
|
894
|
+
static analyticsTopicsDetailsRetrieve({ dateFilter, endDate, limit, mentorUniqueId, page, platformKey, search, startDate, usergroupIds, }: {
|
|
895
|
+
/**
|
|
896
|
+
* * `today` - Today only
|
|
897
|
+
* * `7d` - Last 7 days
|
|
898
|
+
* * `30d` - Last 30 days
|
|
899
|
+
* * `90d` - Last 90 days
|
|
900
|
+
* * `all_time` - All time
|
|
901
|
+
* * `custom` - Custom date range
|
|
902
|
+
*/
|
|
903
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
904
|
+
endDate?: string;
|
|
905
|
+
limit?: number;
|
|
906
|
+
mentorUniqueId?: string;
|
|
907
|
+
page?: number;
|
|
908
|
+
platformKey?: string;
|
|
909
|
+
/**
|
|
910
|
+
* Search by topic name
|
|
911
|
+
*/
|
|
912
|
+
search?: string;
|
|
913
|
+
startDate?: string;
|
|
914
|
+
/**
|
|
915
|
+
* Optional list of usergroup IDs to filter results
|
|
916
|
+
*/
|
|
917
|
+
usergroupIds?: Array<number> | null;
|
|
918
|
+
}): CancelablePromise<TopicDetails>;
|
|
919
|
+
/**
|
|
920
|
+
*
|
|
921
|
+
* User Analytics API - Comprehensive user activity metrics and trends.
|
|
922
|
+
*
|
|
923
|
+
* Provides real-time and historical user analytics including:
|
|
924
|
+
* - Currently active users (last hour)
|
|
925
|
+
* - Active users over time periods (7d, 30d, 90d)
|
|
926
|
+
* - Registered user counts and growth
|
|
927
|
+
* - Time series charts with customizable granularity
|
|
928
|
+
*
|
|
929
|
+
* **Key Features:**
|
|
930
|
+
* - Real-time active user counting
|
|
931
|
+
* - Percentage change calculations vs previous periods
|
|
932
|
+
* - Flexible date filtering and granularity
|
|
933
|
+
* - Platform and mentor-specific filtering
|
|
934
|
+
* - Forward-filled time series data
|
|
935
|
+
*
|
|
936
|
+
* **Supported Metrics:**
|
|
937
|
+
* - `currently_active`: Users active in last hour
|
|
938
|
+
* - `active_users`: Unique users in specified period
|
|
939
|
+
* - `registered_users`: Total and new user counts
|
|
940
|
+
*
|
|
941
|
+
* @returns CurrentUsersResponse User analytics metrics with comparison data
|
|
942
|
+
* @throws ApiError
|
|
943
|
+
*/
|
|
944
|
+
static analyticsUsersRetrieve({ metric, dateFilter, endDate, granularity, mentorUniqueId, platformKey, startDate, usergroupIds, }: {
|
|
945
|
+
/**
|
|
946
|
+
* * `currently_active` - Users logged in right now
|
|
947
|
+
* * `active_users` - Active users in a period
|
|
948
|
+
* * `registered_users` - Registered users
|
|
949
|
+
* * `active_users_last_30d` - Active users in the last 30 days
|
|
950
|
+
*/
|
|
951
|
+
metric: 'currently_active' | 'active_users' | 'registered_users' | 'active_users_last_30d';
|
|
952
|
+
/**
|
|
953
|
+
* * `today` - Today only
|
|
954
|
+
* * `7d` - Last 7 days
|
|
955
|
+
* * `30d` - Last 30 days
|
|
956
|
+
* * `90d` - Last 90 days
|
|
957
|
+
* * `all_time` - All time
|
|
958
|
+
* * `custom` - Custom date range
|
|
959
|
+
*/
|
|
960
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
961
|
+
endDate?: string;
|
|
962
|
+
/**
|
|
963
|
+
* * `day` - day
|
|
964
|
+
* * `hour` - hour
|
|
965
|
+
* * `week` - week
|
|
966
|
+
* * `month` - month
|
|
967
|
+
*/
|
|
968
|
+
granularity?: 'day' | 'hour' | 'week' | 'month';
|
|
969
|
+
mentorUniqueId?: string;
|
|
970
|
+
platformKey?: string;
|
|
971
|
+
startDate?: string;
|
|
972
|
+
/**
|
|
973
|
+
* Optional list of usergroup IDs to filter results
|
|
974
|
+
*/
|
|
975
|
+
usergroupIds?: Array<number> | null;
|
|
976
|
+
}): CancelablePromise<CurrentUsersResponse>;
|
|
977
|
+
/**
|
|
978
|
+
*
|
|
979
|
+
* User Details API - Comprehensive user activity details with search and filtering.
|
|
980
|
+
*
|
|
981
|
+
* Provides detailed user information including:
|
|
982
|
+
* - User contact information (email, full name)
|
|
983
|
+
* - Activity metrics (message count, last activity)
|
|
984
|
+
* - Search functionality across multiple fields
|
|
985
|
+
* - Flexible date range filtering
|
|
986
|
+
* - CSV export capability
|
|
987
|
+
*
|
|
988
|
+
* **Key Features:**
|
|
989
|
+
* - Full-text search across email, name, and user ID
|
|
990
|
+
* - Date range filtering for activity periods
|
|
991
|
+
* - Platform and mentor-specific filtering
|
|
992
|
+
* - Comprehensive pagination with metadata
|
|
993
|
+
* - CSV export for data analysis
|
|
994
|
+
* - User aggregation across platforms/mentors
|
|
995
|
+
*
|
|
996
|
+
* **Search Capabilities:**
|
|
997
|
+
* - Email address matching
|
|
998
|
+
* - Full name search
|
|
999
|
+
* - User ID lookup
|
|
1000
|
+
* - Partial string matching (case-insensitive)
|
|
1001
|
+
*
|
|
1002
|
+
* **Export Options:**
|
|
1003
|
+
* - JSON response (default)
|
|
1004
|
+
* - CSV export (?export=csv)
|
|
1005
|
+
* - Includes all user fields in export
|
|
1006
|
+
*
|
|
1007
|
+
* @returns UserDetail Paginated user details with activity metrics
|
|
1008
|
+
* @throws ApiError
|
|
1009
|
+
*/
|
|
1010
|
+
static analyticsUsersDetailsRetrieve({ dateFilter, endDate, limit, mentorUniqueId, page, platformKey, search, startDate, usergroupIds, }: {
|
|
1011
|
+
/**
|
|
1012
|
+
* * `today` - Today only
|
|
1013
|
+
* * `7d` - Last 7 days
|
|
1014
|
+
* * `30d` - Last 30 days
|
|
1015
|
+
* * `90d` - Last 90 days
|
|
1016
|
+
* * `all_time` - All time
|
|
1017
|
+
* * `custom` - Custom date range
|
|
1018
|
+
*/
|
|
1019
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
1020
|
+
endDate?: string;
|
|
1021
|
+
limit?: number;
|
|
1022
|
+
mentorUniqueId?: string;
|
|
1023
|
+
page?: number;
|
|
1024
|
+
platformKey?: string;
|
|
1025
|
+
/**
|
|
1026
|
+
* Search by email, full name, or user ID
|
|
1027
|
+
*/
|
|
1028
|
+
search?: string;
|
|
1029
|
+
startDate?: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* Optional list of usergroup IDs to filter results
|
|
1032
|
+
*/
|
|
1033
|
+
usergroupIds?: Array<number> | null;
|
|
1034
|
+
}): CancelablePromise<UserDetail>;
|
|
274
1035
|
}
|