@iblai/iblai-api 3.58.0-core → 3.59.0-ai-plus
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +28763 -11942
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +28751 -11924
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +28763 -11942
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +335 -28
- package/dist/types/models/AIGeneratedImage.d.ts +13 -0
- package/dist/types/models/AIUserProfileMemoryRelation.d.ts +4 -0
- package/dist/types/models/AIUserProfileRequest.d.ts +4 -0
- package/dist/types/models/APITokenCost.d.ts +14 -0
- package/dist/types/models/AccessEnum.d.ts +8 -0
- package/dist/types/models/AlignMentorBubbleEnum.d.ts +8 -0
- package/dist/types/models/AnalyticsOverview.d.ts +7 -0
- package/dist/types/models/Answer.d.ts +11 -0
- package/dist/types/models/AssumedKnowledge.d.ts +4 -0
- package/dist/types/models/AssumedKnowledgeLevel.d.ts +4 -0
- package/dist/types/models/AudioToTextRequest.d.ts +3 -0
- package/dist/types/models/AudioToTextResponse.d.ts +3 -0
- package/dist/types/models/Bot.d.ts +15 -0
- package/dist/types/models/BotCommand.d.ts +6 -0
- package/dist/types/models/BotCreate.d.ts +12 -0
- package/dist/types/models/CallAuthenticationRequest.d.ts +13 -0
- package/dist/types/models/CallAuthenticationResponse.d.ts +21 -0
- package/dist/types/models/CallConfiguration.d.ts +26 -0
- package/dist/types/models/CallConfigurationModeEnum.d.ts +8 -0
- package/dist/types/models/ChatHistory.d.ts +8 -0
- package/dist/types/models/ChatHistoryFilterData.d.ts +9 -0
- package/dist/types/models/ChatHistoryFilterUser.d.ts +5 -0
- package/dist/types/models/ChatHistoryItem.d.ts +5 -0
- package/dist/types/models/ChatHistorySessionId.d.ts +3 -0
- package/dist/types/models/ChatSessionRequest.d.ts +10 -0
- package/dist/types/models/ChatSessionResponse.d.ts +5 -0
- package/dist/types/models/CheckDocumentTrainingStatus.d.ts +10 -0
- package/dist/types/models/ComponentBlock.d.ts +9 -0
- package/dist/types/models/ComponentBlockTypeEnum.d.ts +8 -0
- package/dist/types/models/ConversationMessage.d.ts +11 -0
- package/dist/types/models/ConversationRating.d.ts +6 -0
- package/dist/types/models/ConversationSummary.d.ts +5 -0
- package/dist/types/models/ConversationVolume.d.ts +4 -0
- package/dist/types/models/Conversations.d.ts +28 -0
- package/dist/types/models/Cost.d.ts +3 -0
- package/dist/types/models/CostPerTenant.d.ts +6 -0
- package/dist/types/models/CourseCreationTask.d.ts +31 -0
- package/dist/types/models/CourseCreationTaskFile.d.ts +7 -0
- package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +16 -0
- package/dist/types/models/CredentialRequest.d.ts +14 -0
- package/dist/types/models/CrontabSchedule.d.ts +22 -0
- package/dist/types/models/CustomInstructionResponse.d.ts +13 -0
- package/dist/types/models/DataSet.d.ts +21 -0
- package/dist/types/models/DataSetCreate.d.ts +12 -0
- package/dist/types/models/DataSetStatusEnum.d.ts +12 -0
- package/dist/types/models/DateRange.d.ts +4 -0
- package/dist/types/models/DiscordConfig.d.ts +7 -0
- package/dist/types/models/DiscordUserConfig.d.ts +10 -0
- package/dist/types/models/DiscordWebhook.d.ts +6 -0
- package/dist/types/models/Document.d.ts +41 -0
- package/dist/types/models/DocumentFacet.d.ts +17 -0
- package/dist/types/models/DocumentSearchResponse.d.ts +35 -0
- package/dist/types/models/DocumentSettingsResponse.d.ts +3 -0
- package/dist/types/models/EdxCourse.d.ts +11 -0
- package/dist/types/models/ElevenlabsCustomVoice.d.ts +4 -0
- package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +8 -0
- package/dist/types/models/EmailPromptDetail.d.ts +13 -0
- package/dist/types/models/EmailPromptList.d.ts +11 -0
- package/dist/types/models/EmailPromptSummary.d.ts +5 -0
- package/dist/types/models/FreeUsageCount.d.ts +3 -0
- package/dist/types/models/FullCourse.d.ts +13 -0
- package/dist/types/models/GreetingMethodEnum.d.ts +8 -0
- package/dist/types/models/GuidedPromptsResponse.d.ts +3 -0
- package/dist/types/models/HeygenMarketingVideoDetail.d.ts +8 -0
- package/dist/types/models/HeygenMarketingVideoList.d.ts +6 -0
- package/dist/types/models/HeygenTemplateRequest.d.ts +5 -0
- package/dist/types/models/HeygenTemplateResponseSingle.d.ts +6 -0
- package/dist/types/models/HeygenVideoDetail.d.ts +8 -0
- package/dist/types/models/HeygenVideoRequest.d.ts +5 -0
- package/dist/types/models/IBLAIPlatformMeta.d.ts +3 -0
- package/dist/types/models/IBLAIPlatformMetaRequest.d.ts +6 -0
- package/dist/types/models/IBLAIPlatformMetaUpdateRequest.d.ts +10 -0
- package/dist/types/models/InputQuestion.d.ts +6 -0
- package/dist/types/models/IntegrationCredential.d.ts +8 -0
- package/dist/types/models/IntialQuestionAnswer.d.ts +3 -0
- package/dist/types/models/JobRun.d.ts +11 -0
- package/dist/types/models/KindEnum.d.ts +10 -0
- package/dist/types/models/LLMCredentialRequest.d.ts +14 -0
- package/dist/types/models/LLMCredentialResponse.d.ts +8 -0
- package/dist/types/models/LLMModelForTenant.d.ts +6 -0
- package/dist/types/models/LLMQuestion.d.ts +15 -0
- package/dist/types/models/LLMResponse.d.ts +14 -0
- package/dist/types/models/LLMTracesListResponse.d.ts +5 -0
- package/dist/types/models/LanguagesView.d.ts +5 -0
- package/dist/types/models/LinkCourseRequest.d.ts +3 -0
- package/dist/types/models/LinkCourseResponse.d.ts +5 -0
- package/dist/types/models/LlmProviderEnum.d.ts +8 -0
- package/dist/types/models/MCPServer.d.ts +21 -0
- package/dist/types/models/MemoryComponentData.d.ts +5 -0
- package/dist/types/models/MemoryComponentMemory.d.ts +4 -0
- package/dist/types/models/MemoryComponentMemoryDetail.d.ts +8 -0
- package/dist/types/models/MemoryComponentResponse.d.ts +5 -0
- package/dist/types/models/MemoryProgress.d.ts +8 -0
- package/dist/types/models/MemoryStatusRequestView.d.ts +6 -0
- package/dist/types/models/MemoryStatusView.d.ts +6 -0
- package/dist/types/models/Mentor.d.ts +87 -0
- package/dist/types/models/MentorAudience.d.ts +5 -0
- package/dist/types/models/MentorCategory.d.ts +9 -0
- package/dist/types/models/MentorCategoryCreate.d.ts +11 -0
- package/dist/types/models/MentorCategoryGroup.d.ts +11 -0
- package/dist/types/models/MentorCategoryGroupCreate.d.ts +11 -0
- package/dist/types/models/MentorCreate.d.ts +84 -0
- package/dist/types/models/MentorCustomVoice.d.ts +4 -0
- package/dist/types/models/MentorCustomVoiceResponse.d.ts +4 -0
- package/dist/types/models/MentorData.d.ts +7 -0
- package/dist/types/models/MentorDetailAnalytics.d.ts +6 -0
- package/dist/types/models/MentorEval.d.ts +11 -0
- package/dist/types/models/MentorEvalQuestion.d.ts +5 -0
- package/dist/types/models/MentorEvalQuestionRequest.d.ts +4 -0
- package/dist/types/models/MentorEvalReport.d.ts +10 -0
- package/dist/types/models/MentorEvalRequest.d.ts +8 -0
- package/dist/types/models/MentorFacet.d.ts +17 -0
- package/dist/types/models/MentorFork.d.ts +5 -0
- package/dist/types/models/MentorFromTemplateRequest.d.ts +4 -0
- package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +47 -0
- package/dist/types/models/MentorMemorySettingsRequest.d.ts +6 -0
- package/dist/types/models/MentorMemorySettingsResponse.d.ts +6 -0
- package/dist/types/models/MentorMetadata.d.ts +5 -0
- package/dist/types/models/MentorScenario.d.ts +6 -0
- package/dist/types/models/MentorScenarioPrompt.d.ts +5 -0
- package/dist/types/models/MentorSearchResponse.d.ts +35 -0
- package/dist/types/models/MentorSession.d.ts +4 -0
- package/dist/types/models/MentorSettings.d.ts +60 -0
- package/dist/types/models/MentorSettingsPublic.d.ts +46 -0
- package/dist/types/models/MentorSettingsRequest.d.ts +62 -0
- package/dist/types/models/MentorVisibilityEnum.d.ts +10 -0
- package/dist/types/models/MentorWizard.d.ts +4 -0
- package/dist/types/models/MessageStatistics.d.ts +5 -0
- package/dist/types/models/MessageView.d.ts +10 -0
- package/dist/types/models/MessageViewRequest.d.ts +7 -0
- package/dist/types/models/MessageViewUpdatResponse.d.ts +3 -0
- package/dist/types/models/Metadata.d.ts +5 -0
- package/dist/types/models/MetricChange.d.ts +4 -0
- package/dist/types/models/ModelCost.d.ts +4 -0
- package/dist/types/models/ModerationLog.d.ts +11 -0
- package/dist/types/models/NoChatMessagesFound.d.ts +3 -0
- package/dist/types/models/NotificationSource.d.ts +2 -2
- package/dist/types/models/{TypeEnum.d.ts → NotificationSourceTypeEnum.d.ts} +1 -1
- package/dist/types/models/NullEnum.d.ts +1 -0
- package/dist/types/models/Observation.d.ts +31 -0
- package/dist/types/models/PageContent.d.ts +6 -0
- package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +7 -0
- package/dist/types/models/PaginatedConversationsList.d.ts +7 -0
- package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +7 -0
- package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +7 -0
- package/dist/types/models/PaginatedDataSetList.d.ts +7 -0
- package/dist/types/models/PaginatedEdxCourseList.d.ts +7 -0
- package/dist/types/models/PaginatedEmailPromptListList.d.ts +7 -0
- package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +7 -0
- package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +7 -0
- package/dist/types/models/PaginatedJobRunList.d.ts +7 -0
- package/dist/types/models/PaginatedMCPServerList.d.ts +7 -0
- package/dist/types/models/PaginatedMentorList.d.ts +7 -0
- package/dist/types/models/PaginatedModerationLogList.d.ts +7 -0
- package/dist/types/models/PaginatedObservationList.d.ts +7 -0
- package/dist/types/models/PaginatedPeriodicAgentList.d.ts +7 -0
- package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +7 -0
- package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +7 -0
- package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +7 -0
- package/dist/types/models/PaginatedSectionList.d.ts +7 -0
- package/dist/types/models/PaginatedSubSectionList.d.ts +7 -0
- package/dist/types/models/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/PaginatedVoiceList.d.ts +7 -0
- package/dist/types/models/PatchedBotCommand.d.ts +6 -0
- package/dist/types/models/PatchedBotCreate.d.ts +12 -0
- package/dist/types/models/PatchedCallConfiguration.d.ts +26 -0
- package/dist/types/models/PatchedConversations.d.ts +28 -0
- package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +7 -0
- package/dist/types/models/PatchedCredentialRequest.d.ts +14 -0
- package/dist/types/models/PatchedDataSet.d.ts +21 -0
- package/dist/types/models/PatchedDiscordConfig.d.ts +7 -0
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +10 -0
- package/dist/types/models/PatchedLLMCredentialRequest.d.ts +14 -0
- package/dist/types/models/PatchedMCPServer.d.ts +21 -0
- package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +11 -0
- package/dist/types/models/PatchedMentorCreate.d.ts +84 -0
- package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +41 -0
- package/dist/types/models/PatchedPlayWrightScript.d.ts +12 -0
- package/dist/types/models/PatchedPrompt.d.ts +22 -0
- package/dist/types/models/PatchedSection.d.ts +9 -0
- package/dist/types/models/PatchedSlackConfig.d.ts +8 -0
- package/dist/types/models/PatchedSlackUserConfig.d.ts +17 -0
- package/dist/types/models/PatchedSubSection.d.ts +9 -0
- package/dist/types/models/PatchedTeamsConfig.d.ts +7 -0
- package/dist/types/models/PatchedTrainingCreate.d.ts +31 -0
- package/dist/types/models/PatchedUnit.d.ts +11 -0
- package/dist/types/models/PatchedWebexConfig.d.ts +10 -0
- package/dist/types/models/PatchedWhatsappConfig.d.ts +11 -0
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +10 -0
- package/dist/types/models/PeriodicAgent.d.ts +42 -0
- package/dist/types/models/PeriodicAgentCreate.d.ts +41 -0
- package/dist/types/models/PeriodicAgentLog.d.ts +11 -0
- package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +10 -0
- package/dist/types/models/PeriodicTask.d.ts +21 -0
- package/dist/types/models/PieChartData.d.ts +5 -0
- package/dist/types/models/PieChartSegment.d.ts +4 -0
- package/dist/types/models/PinnedMessageCreate.d.ts +9 -0
- package/dist/types/models/PinnedMessageGet.d.ts +7 -0
- package/dist/types/models/PinnedMessageRequest.d.ts +6 -0
- package/dist/types/models/PlayWrightScript.d.ts +12 -0
- package/dist/types/models/PredictiveAnalyticsRequest.d.ts +4 -0
- package/dist/types/models/PredictiveAnalyticsResponse.d.ts +4 -0
- package/dist/types/models/PreviousAgentStatusEnum.d.ts +12 -0
- package/dist/types/models/Prompt.d.ts +22 -0
- package/dist/types/models/PromptCategory.d.ts +7 -0
- package/dist/types/models/PromptFacet.d.ts +17 -0
- package/dist/types/models/PromptSearchResponse.d.ts +35 -0
- package/dist/types/models/PromptVisibilityEnum.d.ts +10 -0
- package/dist/types/models/Provider05cEnum.d.ts +14 -0
- package/dist/types/models/Provider637Enum.d.ts +10 -0
- package/dist/types/models/Provider63aEnum.d.ts +6 -0
- package/dist/types/models/QuestionCardTag.d.ts +8 -0
- package/dist/types/models/QuestionRequest.d.ts +15 -0
- package/dist/types/models/QuestionResponse.d.ts +10 -0
- package/dist/types/models/RatingEnum.d.ts +8 -0
- package/dist/types/models/RatingRecord.d.ts +4 -0
- package/dist/types/models/RecentlyAccessedMentor.d.ts +8 -0
- package/dist/types/models/RecommendCourseBlock.d.ts +3 -0
- package/dist/types/models/RecommendCourseResponse.d.ts +3 -0
- package/dist/types/models/RecommendedCoursesResponse.d.ts +33 -0
- package/dist/types/models/RelatedText.d.ts +3 -0
- package/dist/types/models/RequestDataVariable.d.ts +14 -0
- package/dist/types/models/ResourceScrappedData.d.ts +13 -0
- package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +12 -0
- package/dist/types/models/ResponseDataVariable.d.ts +14 -0
- package/dist/types/models/RetreiverTrainViewRequest.d.ts +10 -0
- package/dist/types/models/RetreiverTrainViewResponse.d.ts +6 -0
- package/dist/types/models/RetrieveTask.d.ts +3 -0
- package/dist/types/models/RetrieverDocumentEmbedding.d.ts +27 -0
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +58 -0
- package/dist/types/models/RetrieverRequestSearch.d.ts +10 -0
- package/dist/types/models/RetrieverRequestSearchDocument.d.ts +10 -0
- package/dist/types/models/RetrieverResponseSearch.d.ts +7 -0
- package/dist/types/models/ReuestDataVariableList.d.ts +4 -0
- package/dist/types/models/RunMentorEval.d.ts +3 -0
- package/dist/types/models/ScanWebhookRequest.d.ts +6 -0
- package/dist/types/models/ScanWebhookResponse.d.ts +3 -0
- package/dist/types/models/Section.d.ts +9 -0
- package/dist/types/models/SectionWithChildren.d.ts +11 -0
- package/dist/types/models/SeedMentorsView.d.ts +3 -0
- package/dist/types/models/SentimentSummary.d.ts +4 -0
- package/dist/types/models/SessionBrowserScreenshot.d.ts +8 -0
- package/dist/types/models/SessionDetail.d.ts +6 -0
- package/dist/types/models/SessionMemoryStorage.d.ts +6 -0
- package/dist/types/models/ShellLogs.d.ts +3 -0
- package/dist/types/models/SlackConfig.d.ts +8 -0
- package/dist/types/models/SlackUserConfig.d.ts +17 -0
- package/dist/types/models/SlackWebhook.d.ts +6 -0
- package/dist/types/models/SpacedRepetitionLearningPath.d.ts +3 -0
- package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +5 -0
- package/dist/types/models/StarMentor.d.ts +7 -0
- package/dist/types/models/Status6eeEnum.d.ts +12 -0
- package/dist/types/models/Step.d.ts +9 -0
- package/dist/types/models/StepStatusEnum.d.ts +10 -0
- package/dist/types/models/StripeCheckoutSessionRequest.d.ts +2 -2
- package/dist/types/models/{ModeEnum.d.ts → StripeCheckoutSessionRequestModeEnum.d.ts} +1 -1
- package/dist/types/models/SttProviderEnum.d.ts +12 -0
- package/dist/types/models/StudentChatMessage.d.ts +4 -0
- package/dist/types/models/StylesView.d.ts +4 -0
- package/dist/types/models/SubSection.d.ts +9 -0
- package/dist/types/models/SubSectionWithChildren.d.ts +11 -0
- package/dist/types/models/TagsView.d.ts +5 -0
- package/dist/types/models/TargetSystemEnum.d.ts +8 -0
- package/dist/types/models/TaskView.d.ts +3 -0
- package/dist/types/models/TeamsConfig.d.ts +7 -0
- package/dist/types/models/TeamsWebhook.d.ts +17 -0
- package/dist/types/models/TemplateMentor.d.ts +9 -0
- package/dist/types/models/TenantMentorTraces.d.ts +6 -0
- package/dist/types/models/ThemeEnum.d.ts +8 -0
- package/dist/types/models/TonesView.d.ts +4 -0
- package/dist/types/models/ToolResponse.d.ts +11 -0
- package/dist/types/models/TopicModel.d.ts +3 -0
- package/dist/types/models/TopicRecord.d.ts +4 -0
- package/dist/types/models/TopicStatistics.d.ts +7 -0
- package/dist/types/models/TopicStatisticsResponse.d.ts +6 -0
- package/dist/types/models/TopicSummaryView.d.ts +4 -0
- package/dist/types/models/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 +62 -0
- package/dist/types/models/TrainDocumentViewResponse.d.ts +15 -0
- package/dist/types/models/Training.d.ts +41 -0
- package/dist/types/models/TrainingCreate.d.ts +31 -0
- package/dist/types/models/TrainingStatusEnum.d.ts +12 -0
- package/dist/types/models/TransportEnum.d.ts +8 -0
- package/dist/types/models/TrendEntry.d.ts +4 -0
- package/dist/types/models/TriggerRequest.d.ts +5 -0
- package/dist/types/models/TriggerResponse.d.ts +6 -0
- package/dist/types/models/TtsProviderEnum.d.ts +10 -0
- package/dist/types/models/TypeC42Enum.d.ts +8 -0
- package/dist/types/models/Unit.d.ts +11 -0
- package/dist/types/models/UnitWithChildren.d.ts +13 -0
- package/dist/types/models/UseMainCreds.d.ts +3 -0
- package/dist/types/models/UserAllChatMemoryView.d.ts +7 -0
- package/dist/types/models/UserCatalogItemMemoryView.d.ts +14 -0
- package/dist/types/models/UserChatByPeriod.d.ts +4 -0
- package/dist/types/models/UserChatFeedback.d.ts +14 -0
- package/dist/types/models/UserChatFeedbackCount.d.ts +4 -0
- package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +6 -0
- package/dist/types/models/UserChatMemoryStatusView.d.ts +6 -0
- package/dist/types/models/UserChatMemoryUpdateView.d.ts +10 -0
- package/dist/types/models/UserCountRecord.d.ts +4 -0
- package/dist/types/models/UserEdxMemory.d.ts +15 -0
- package/dist/types/models/UserMemoryContextRequest.d.ts +13 -0
- package/dist/types/models/UserMemoryContextResponse.d.ts +12 -0
- package/dist/types/models/UserMetric.d.ts +4 -0
- package/dist/types/models/UserMetricsResponse.d.ts +7 -0
- package/dist/types/models/UserSentimentCountView.d.ts +4 -0
- package/dist/types/models/UserTrendByPeriod.d.ts +5 -0
- package/dist/types/models/VectorResult.d.ts +8 -0
- package/dist/types/models/VideoCaption.d.ts +3 -0
- package/dist/types/models/Voice.d.ts +9 -0
- package/dist/types/models/WebResource.d.ts +9 -0
- package/dist/types/models/WebResourceCard.d.ts +7 -0
- package/dist/types/models/WebResourcesQuery.d.ts +3 -0
- package/dist/types/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 +319 -0
- package/dist/types/services/AiAnalyticsService.d.ts +7034 -0
- package/dist/types/services/AiBotService.d.ts +642 -0
- package/dist/types/services/AiFinetuningService.d.ts +232 -0
- package/dist/types/services/AiIndexService.d.ts +408 -0
- package/dist/types/services/AiMarketingService.d.ts +38 -0
- package/dist/types/services/AiMediaService.d.ts +122 -0
- package/dist/types/services/AiMentorService.d.ts +4937 -0
- package/dist/types/services/AiPromptService.d.ts +1034 -0
- package/dist/types/services/{ServiceService.d.ts → CommerceService.d.ts} +187 -1
- package/dist/types/services/CoreService.d.ts +215 -0
- package/dist/types/services/{MediaResourcesService.d.ts → MediaService.d.ts} +1 -1
- package/dist/types/services/{NotificationService.d.ts → NotificationsService.d.ts} +70 -1
- package/dist/types/services/{OrgsService.d.ts → ScimService.d.ts} +1 -1
- package/dist/types/services/SearchService.d.ts +718 -0
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +335 -28
- package/src/models/AIGeneratedImage.ts +18 -0
- package/src/models/AIUserProfileMemoryRelation.ts +9 -0
- package/src/models/AIUserProfileRequest.ts +9 -0
- package/src/models/APITokenCost.ts +19 -0
- package/src/models/AccessEnum.ts +12 -0
- package/src/models/AlignMentorBubbleEnum.ts +12 -0
- package/src/models/AnalyticsOverview.ts +12 -0
- package/src/models/Answer.ts +16 -0
- package/src/models/AssumedKnowledge.ts +9 -0
- package/src/models/AssumedKnowledgeLevel.ts +9 -0
- package/src/models/AudioToTextRequest.ts +8 -0
- package/src/models/AudioToTextResponse.ts +8 -0
- package/src/models/Bot.ts +20 -0
- package/src/models/BotCommand.ts +11 -0
- package/src/models/BotCreate.ts +17 -0
- package/src/models/CallAuthenticationRequest.ts +18 -0
- package/src/models/CallAuthenticationResponse.ts +26 -0
- package/src/models/CallConfiguration.ts +31 -0
- package/src/models/CallConfigurationModeEnum.ts +12 -0
- package/src/models/ChatHistory.ts +13 -0
- package/src/models/ChatHistoryFilterData.ts +14 -0
- package/src/models/ChatHistoryFilterUser.ts +10 -0
- package/src/models/ChatHistoryItem.ts +10 -0
- package/src/models/ChatHistorySessionId.ts +8 -0
- package/src/models/ChatSessionRequest.ts +15 -0
- package/src/models/ChatSessionResponse.ts +10 -0
- package/src/models/CheckDocumentTrainingStatus.ts +15 -0
- package/src/models/ComponentBlock.ts +14 -0
- package/src/models/ComponentBlockTypeEnum.ts +12 -0
- package/src/models/ConversationMessage.ts +16 -0
- package/src/models/ConversationRating.ts +11 -0
- package/src/models/ConversationSummary.ts +10 -0
- package/src/models/ConversationVolume.ts +9 -0
- package/src/models/Conversations.ts +33 -0
- package/src/models/Cost.ts +8 -0
- package/src/models/CostPerTenant.ts +11 -0
- package/src/models/CourseCreationTask.ts +36 -0
- package/src/models/CourseCreationTaskFile.ts +12 -0
- package/src/models/CourseCreationTaskStatusEnum.ts +20 -0
- package/src/models/CredentialRequest.ts +19 -0
- package/src/models/CrontabSchedule.ts +27 -0
- package/src/models/CustomInstructionResponse.ts +18 -0
- package/src/models/DataSet.ts +26 -0
- package/src/models/DataSetCreate.ts +17 -0
- package/src/models/DataSetStatusEnum.ts +16 -0
- package/src/models/DateRange.ts +9 -0
- package/src/models/DiscordConfig.ts +12 -0
- package/src/models/DiscordUserConfig.ts +15 -0
- package/src/models/DiscordWebhook.ts +11 -0
- package/src/models/Document.ts +46 -0
- package/src/models/DocumentFacet.ts +22 -0
- package/src/models/DocumentSearchResponse.ts +40 -0
- package/src/models/DocumentSettingsResponse.ts +8 -0
- package/src/models/EdxCourse.ts +16 -0
- package/src/models/ElevenlabsCustomVoice.ts +9 -0
- package/src/models/ElevenlabsCustomVoiceResponse.ts +13 -0
- package/src/models/EmailPromptDetail.ts +18 -0
- package/src/models/EmailPromptList.ts +16 -0
- package/src/models/EmailPromptSummary.ts +10 -0
- package/src/models/FreeUsageCount.ts +8 -0
- package/src/models/FullCourse.ts +18 -0
- package/src/models/GreetingMethodEnum.ts +12 -0
- package/src/models/GuidedPromptsResponse.ts +8 -0
- package/src/models/HeygenMarketingVideoDetail.ts +13 -0
- package/src/models/HeygenMarketingVideoList.ts +11 -0
- package/src/models/HeygenTemplateRequest.ts +10 -0
- package/src/models/HeygenTemplateResponseSingle.ts +11 -0
- package/src/models/HeygenVideoDetail.ts +13 -0
- package/src/models/HeygenVideoRequest.ts +10 -0
- package/src/models/IBLAIPlatformMeta.ts +8 -0
- package/src/models/IBLAIPlatformMetaRequest.ts +11 -0
- package/src/models/IBLAIPlatformMetaUpdateRequest.ts +15 -0
- package/src/models/InputQuestion.ts +11 -0
- package/src/models/IntegrationCredential.ts +13 -0
- package/src/models/IntialQuestionAnswer.ts +8 -0
- package/src/models/JobRun.ts +16 -0
- package/src/models/KindEnum.ts +14 -0
- package/src/models/LLMCredentialRequest.ts +19 -0
- package/src/models/LLMCredentialResponse.ts +13 -0
- package/src/models/LLMModelForTenant.ts +11 -0
- package/src/models/LLMQuestion.ts +20 -0
- package/src/models/LLMResponse.ts +19 -0
- package/src/models/LLMTracesListResponse.ts +10 -0
- package/src/models/LanguagesView.ts +10 -0
- package/src/models/LinkCourseRequest.ts +8 -0
- package/src/models/LinkCourseResponse.ts +10 -0
- package/src/models/LlmProviderEnum.ts +12 -0
- package/src/models/MCPServer.ts +26 -0
- package/src/models/MemoryComponentData.ts +10 -0
- package/src/models/MemoryComponentMemory.ts +9 -0
- package/src/models/MemoryComponentMemoryDetail.ts +13 -0
- package/src/models/MemoryComponentResponse.ts +10 -0
- package/src/models/MemoryProgress.ts +13 -0
- package/src/models/MemoryStatusRequestView.ts +11 -0
- package/src/models/MemoryStatusView.ts +11 -0
- package/src/models/Mentor.ts +92 -0
- package/src/models/MentorAudience.ts +10 -0
- package/src/models/MentorCategory.ts +14 -0
- package/src/models/MentorCategoryCreate.ts +16 -0
- package/src/models/MentorCategoryGroup.ts +16 -0
- package/src/models/MentorCategoryGroupCreate.ts +16 -0
- package/src/models/MentorCreate.ts +89 -0
- package/src/models/MentorCustomVoice.ts +9 -0
- package/src/models/MentorCustomVoiceResponse.ts +9 -0
- package/src/models/MentorData.ts +12 -0
- package/src/models/MentorDetailAnalytics.ts +11 -0
- package/src/models/MentorEval.ts +16 -0
- package/src/models/MentorEvalQuestion.ts +10 -0
- package/src/models/MentorEvalQuestionRequest.ts +9 -0
- package/src/models/MentorEvalReport.ts +15 -0
- package/src/models/MentorEvalRequest.ts +13 -0
- package/src/models/MentorFacet.ts +22 -0
- package/src/models/MentorFork.ts +10 -0
- package/src/models/MentorFromTemplateRequest.ts +9 -0
- package/src/models/MentorFromTemplateWithSettingRequest.ts +52 -0
- package/src/models/MentorMemorySettingsRequest.ts +11 -0
- package/src/models/MentorMemorySettingsResponse.ts +11 -0
- package/src/models/MentorMetadata.ts +10 -0
- package/src/models/MentorScenario.ts +11 -0
- package/src/models/MentorScenarioPrompt.ts +10 -0
- package/src/models/MentorSearchResponse.ts +40 -0
- package/src/models/MentorSession.ts +9 -0
- package/src/models/MentorSettings.ts +65 -0
- package/src/models/MentorSettingsPublic.ts +51 -0
- package/src/models/MentorSettingsRequest.ts +67 -0
- package/src/models/MentorVisibilityEnum.ts +14 -0
- package/src/models/MentorWizard.ts +9 -0
- package/src/models/MessageStatistics.ts +10 -0
- package/src/models/MessageView.ts +15 -0
- package/src/models/MessageViewRequest.ts +12 -0
- package/src/models/MessageViewUpdatResponse.ts +8 -0
- package/src/models/Metadata.ts +10 -0
- package/src/models/{FloatOverTime.ts → MetricChange.ts} +2 -8
- package/src/models/ModelCost.ts +9 -0
- package/src/models/ModerationLog.ts +16 -0
- package/src/models/NoChatMessagesFound.ts +8 -0
- package/src/models/NotificationSource.ts +2 -2
- package/src/models/{TypeEnum.ts → NotificationSourceTypeEnum.ts} +1 -1
- package/src/models/NullEnum.ts +7 -0
- package/src/models/Observation.ts +36 -0
- package/src/models/PageContent.ts +11 -0
- package/src/models/PaginatedAIGeneratedImageList.ts +12 -0
- package/src/models/PaginatedConversationsList.ts +12 -0
- package/src/models/PaginatedCourseCreationTaskFileList.ts +12 -0
- package/src/models/PaginatedCourseCreationTaskList.ts +12 -0
- package/src/models/PaginatedDataSetList.ts +12 -0
- package/src/models/PaginatedEdxCourseList.ts +12 -0
- package/src/models/PaginatedEmailPromptListList.ts +12 -0
- package/src/models/PaginatedHeygenMarketingVideoListList.ts +12 -0
- package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +12 -0
- package/src/models/PaginatedJobRunList.ts +12 -0
- package/src/models/PaginatedMCPServerList.ts +12 -0
- package/src/models/PaginatedMentorList.ts +12 -0
- package/src/models/PaginatedModerationLogList.ts +12 -0
- package/src/models/PaginatedObservationList.ts +12 -0
- package/src/models/PaginatedPeriodicAgentList.ts +12 -0
- package/src/models/PaginatedPeriodicAgentLogList.ts +12 -0
- package/src/models/PaginatedPlayWrightScriptList.ts +12 -0
- package/src/models/PaginatedRetrieverDocumentEmbeddingList.ts +12 -0
- package/src/models/PaginatedSectionList.ts +12 -0
- package/src/models/PaginatedSubSectionList.ts +12 -0
- package/src/models/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/PaginatedVoiceList.ts +12 -0
- package/src/models/PatchedBotCommand.ts +11 -0
- package/src/models/PatchedBotCreate.ts +17 -0
- package/src/models/PatchedCallConfiguration.ts +31 -0
- package/src/models/PatchedConversations.ts +33 -0
- package/src/models/PatchedCourseCreationTaskFile.ts +12 -0
- package/src/models/PatchedCredentialRequest.ts +19 -0
- package/src/models/PatchedDataSet.ts +26 -0
- package/src/models/PatchedDiscordConfig.ts +12 -0
- package/src/models/PatchedDiscordUserConfig.ts +15 -0
- package/src/models/PatchedLLMCredentialRequest.ts +19 -0
- package/src/models/PatchedMCPServer.ts +26 -0
- package/src/models/PatchedMentorCategoryGroupCreate.ts +16 -0
- package/src/models/PatchedMentorCreate.ts +89 -0
- package/src/models/PatchedPeriodicAgentCreate.ts +46 -0
- package/src/models/PatchedPlayWrightScript.ts +17 -0
- package/src/models/PatchedPrompt.ts +27 -0
- package/src/models/PatchedSection.ts +14 -0
- package/src/models/PatchedSlackConfig.ts +13 -0
- package/src/models/PatchedSlackUserConfig.ts +22 -0
- package/src/models/PatchedSubSection.ts +14 -0
- package/src/models/PatchedTeamsConfig.ts +12 -0
- package/src/models/PatchedTrainingCreate.ts +36 -0
- package/src/models/PatchedUnit.ts +16 -0
- package/src/models/PatchedWebexConfig.ts +15 -0
- package/src/models/PatchedWhatsappConfig.ts +16 -0
- package/src/models/PatchedWhatsappUserConfig.ts +15 -0
- package/src/models/PeriodicAgent.ts +47 -0
- package/src/models/PeriodicAgentCreate.ts +46 -0
- package/src/models/PeriodicAgentLog.ts +16 -0
- package/src/models/PeriodicAgentLogStatusEnum.ts +14 -0
- package/src/models/PeriodicTask.ts +26 -0
- package/src/models/PieChartData.ts +10 -0
- package/src/models/PieChartSegment.ts +9 -0
- package/src/models/PinnedMessageCreate.ts +14 -0
- package/src/models/PinnedMessageGet.ts +12 -0
- package/src/models/PinnedMessageRequest.ts +11 -0
- package/src/models/PlayWrightScript.ts +17 -0
- package/src/models/PredictiveAnalyticsRequest.ts +9 -0
- package/src/models/PredictiveAnalyticsResponse.ts +9 -0
- package/src/models/PreviousAgentStatusEnum.ts +16 -0
- package/src/models/Prompt.ts +27 -0
- package/src/models/PromptCategory.ts +12 -0
- package/src/models/PromptFacet.ts +22 -0
- package/src/models/PromptSearchResponse.ts +40 -0
- package/src/models/PromptVisibilityEnum.ts +14 -0
- package/src/models/Provider05cEnum.ts +18 -0
- package/src/models/Provider637Enum.ts +14 -0
- package/src/models/Provider63aEnum.ts +10 -0
- package/src/models/QuestionCardTag.ts +13 -0
- package/src/models/QuestionRequest.ts +20 -0
- package/src/models/QuestionResponse.ts +15 -0
- package/src/models/RatingEnum.ts +12 -0
- package/src/models/RatingRecord.ts +9 -0
- package/src/models/RecentlyAccessedMentor.ts +13 -0
- package/src/models/RecommendCourseBlock.ts +8 -0
- package/src/models/RecommendCourseResponse.ts +8 -0
- package/src/models/RecommendedCoursesResponse.ts +38 -0
- package/src/models/RelatedText.ts +8 -0
- package/src/models/RequestDataVariable.ts +19 -0
- package/src/models/ResourceScrappedData.ts +18 -0
- package/src/models/ResourceScrappedDataStatusEnum.ts +16 -0
- package/src/models/ResponseDataVariable.ts +19 -0
- package/src/models/RetreiverTrainViewRequest.ts +15 -0
- package/src/models/RetreiverTrainViewResponse.ts +11 -0
- package/src/models/RetrieveTask.ts +8 -0
- package/src/models/RetrieverDocumentEmbedding.ts +32 -0
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +63 -0
- package/src/models/RetrieverRequestSearch.ts +15 -0
- package/src/models/RetrieverRequestSearchDocument.ts +15 -0
- package/src/models/RetrieverResponseSearch.ts +12 -0
- package/src/models/ReuestDataVariableList.ts +9 -0
- package/src/models/RunMentorEval.ts +8 -0
- package/src/models/ScanWebhookRequest.ts +11 -0
- package/src/models/ScanWebhookResponse.ts +8 -0
- package/src/models/Section.ts +14 -0
- package/src/models/SectionWithChildren.ts +16 -0
- package/src/models/SeedMentorsView.ts +8 -0
- package/src/models/SentimentSummary.ts +9 -0
- package/src/models/SessionBrowserScreenshot.ts +13 -0
- package/src/models/SessionDetail.ts +11 -0
- package/src/models/SessionMemoryStorage.ts +11 -0
- package/src/models/ShellLogs.ts +8 -0
- package/src/models/SlackConfig.ts +13 -0
- package/src/models/SlackUserConfig.ts +22 -0
- package/src/models/SlackWebhook.ts +11 -0
- package/src/models/SpacedRepetitionLearningPath.ts +8 -0
- package/src/models/SpacedRepetitionQuestionStats.ts +10 -0
- package/src/models/StarMentor.ts +12 -0
- package/src/models/Status6eeEnum.ts +16 -0
- package/src/models/Step.ts +14 -0
- package/src/models/StepStatusEnum.ts +14 -0
- package/src/models/StripeCheckoutSessionRequest.ts +2 -2
- package/src/models/{ModeEnum.ts → StripeCheckoutSessionRequestModeEnum.ts} +1 -1
- package/src/models/SttProviderEnum.ts +16 -0
- package/src/models/StudentChatMessage.ts +9 -0
- package/src/models/StylesView.ts +9 -0
- package/src/models/SubSection.ts +14 -0
- package/src/models/SubSectionWithChildren.ts +16 -0
- package/src/models/TagsView.ts +10 -0
- package/src/models/TargetSystemEnum.ts +12 -0
- package/src/models/TaskView.ts +8 -0
- package/src/models/TeamsConfig.ts +12 -0
- package/src/models/TeamsWebhook.ts +22 -0
- package/src/models/TemplateMentor.ts +14 -0
- package/src/models/TenantMentorTraces.ts +11 -0
- package/src/models/ThemeEnum.ts +12 -0
- package/src/models/TonesView.ts +9 -0
- package/src/models/ToolResponse.ts +16 -0
- package/src/models/TopicModel.ts +8 -0
- package/src/models/TopicRecord.ts +9 -0
- package/src/models/TopicStatistics.ts +12 -0
- package/src/models/TopicStatisticsResponse.ts +11 -0
- package/src/models/TopicSummaryView.ts +9 -0
- package/src/models/Trace.ts +22 -0
- package/src/models/TrainChatSessionDocumentView.ts +11 -0
- package/src/models/TrainChatSessionDocumentViewRequest.ts +11 -0
- package/src/models/TrainDocumentViewRequest.ts +67 -0
- package/src/models/TrainDocumentViewResponse.ts +20 -0
- package/src/models/Training.ts +46 -0
- package/src/models/TrainingCreate.ts +36 -0
- package/src/models/TrainingStatusEnum.ts +16 -0
- package/src/models/TransportEnum.ts +12 -0
- package/src/models/TrendEntry.ts +9 -0
- package/src/models/TriggerRequest.ts +10 -0
- package/src/models/TriggerResponse.ts +11 -0
- package/src/models/TtsProviderEnum.ts +14 -0
- package/src/models/TypeC42Enum.ts +12 -0
- package/src/models/Unit.ts +16 -0
- package/src/models/UnitWithChildren.ts +18 -0
- package/src/models/UseMainCreds.ts +8 -0
- package/src/models/UserAllChatMemoryView.ts +12 -0
- package/src/models/UserCatalogItemMemoryView.ts +19 -0
- package/src/models/UserChatByPeriod.ts +9 -0
- package/src/models/UserChatFeedback.ts +19 -0
- package/src/models/UserChatFeedbackCount.ts +9 -0
- package/src/models/UserChatMemoryStatusRequestView.ts +11 -0
- package/src/models/UserChatMemoryStatusView.ts +11 -0
- package/src/models/UserChatMemoryUpdateView.ts +15 -0
- package/src/models/UserCountRecord.ts +9 -0
- package/src/models/UserEdxMemory.ts +20 -0
- package/src/models/UserMemoryContextRequest.ts +18 -0
- package/src/models/UserMemoryContextResponse.ts +17 -0
- package/src/models/UserMetric.ts +9 -0
- package/src/models/UserMetricsResponse.ts +12 -0
- package/src/models/UserSentimentCountView.ts +9 -0
- package/src/models/UserTrendByPeriod.ts +10 -0
- package/src/models/VectorResult.ts +13 -0
- package/src/models/VideoCaption.ts +8 -0
- package/src/models/Voice.ts +14 -0
- package/src/models/WebResource.ts +14 -0
- package/src/models/WebResourceCard.ts +12 -0
- package/src/models/WebResourcesQuery.ts +8 -0
- package/src/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 +505 -0
- package/src/services/AiAnalyticsService.ts +11651 -0
- package/src/services/AiBotService.ts +1330 -0
- package/src/services/AiFinetuningService.ts +472 -0
- package/src/services/AiIndexService.ts +719 -0
- package/src/services/AiMarketingService.ts +96 -0
- package/src/services/AiMediaService.ts +289 -0
- package/src/services/AiMentorService.ts +9108 -0
- package/src/services/AiPromptService.ts +1980 -0
- package/src/services/{ServiceService.ts → CommerceService.ts} +339 -1
- package/src/services/CoreService.ts +311 -0
- package/src/services/{MediaResourcesService.ts → MediaService.ts} +1 -1
- package/src/services/{NotificationService.ts → NotificationsService.ts} +139 -1
- package/src/services/{OrgsService.ts → ScimService.ts} +1 -1
- package/src/services/SearchService.ts +1428 -398
- package/dist/types/models/FloatOverTime.d.ts +0 -10
- package/dist/types/models/NetRevenueOverTime.d.ts +0 -8
- package/dist/types/models/Order.d.ts +0 -22
- package/dist/types/models/Product.d.ts +0 -22
- package/dist/types/models/ProductTable.d.ts +0 -26
- package/dist/types/models/RevenueByProduct.d.ts +0 -6
- package/dist/types/models/Summary.d.ts +0 -18
- package/dist/types/services/AnalyticsService.d.ts +0 -83
- package/dist/types/services/AudienceService.d.ts +0 -544
- package/dist/types/services/DepartmentsService.d.ts +0 -80
- package/dist/types/services/EngagementService.d.ts +0 -747
- package/dist/types/services/FinanceService.d.ts +0 -81
- package/dist/types/services/NotificationBuilderService.d.ts +0 -72
- package/dist/types/services/OverviewService.d.ts +0 -283
- package/dist/types/services/PerformanceService.d.ts +0 -259
- package/dist/types/services/PerlearnerService.d.ts +0 -715
- package/dist/types/services/PlatformService.d.ts +0 -496
- package/dist/types/services/ProviderAssociationService.d.ts +0 -17
- package/dist/types/services/ProvidersService.d.ts +0 -164
- package/dist/types/services/ProvisionService.d.ts +0 -15
- package/dist/types/services/RolesService.d.ts +0 -59
- package/dist/types/services/UserGroupsService.d.ts +0 -86
- package/src/models/NetRevenueOverTime.ts +0 -13
- package/src/models/Order.ts +0 -27
- package/src/models/Product.ts +0 -27
- package/src/models/ProductTable.ts +0 -31
- package/src/models/RevenueByProduct.ts +0 -11
- package/src/models/Summary.ts +0 -23
- package/src/services/AnalyticsService.ts +0 -132
- package/src/services/AudienceService.ts +0 -798
- package/src/services/DepartmentsService.ts +0 -122
- package/src/services/EngagementService.ts +0 -1199
- package/src/services/FinanceService.ts +0 -165
- package/src/services/NotificationBuilderService.ts +0 -147
- package/src/services/OverviewService.ts +0 -423
- package/src/services/PerformanceService.ts +0 -405
- package/src/services/PerlearnerService.ts +0 -1321
- package/src/services/PlatformService.ts +0 -884
- package/src/services/ProviderAssociationService.ts +0 -33
- package/src/services/ProvidersService.ts +0 -302
- package/src/services/ProvisionService.ts +0 -31
- package/src/services/RolesService.ts +0 -89
- package/src/services/UserGroupsService.ts +0 -128
|
@@ -1,747 +0,0 @@
|
|
|
1
|
-
import type { AverageOvertime } from '../models/AverageOvertime';
|
|
2
|
-
import type { CourseCompletionPerCourse } from '../models/CourseCompletionPerCourse';
|
|
3
|
-
import type { EngagementPerCourse } from '../models/EngagementPerCourse';
|
|
4
|
-
import type { OvertimeWithChangeInfo } from '../models/OvertimeWithChangeInfo';
|
|
5
|
-
import type { OverTimeWithTotal } from '../models/OverTimeWithTotal';
|
|
6
|
-
import type { PerLearnerTimeSpentInCourseTree } from '../models/PerLearnerTimeSpentInCourseTree';
|
|
7
|
-
import type { TimeDetail } from '../models/TimeDetail';
|
|
8
|
-
import type { TimeSpentByUsersInCourse } from '../models/TimeSpentByUsersInCourse';
|
|
9
|
-
import type { TimeSpentPerCourse } from '../models/TimeSpentPerCourse';
|
|
10
|
-
import type { VideoEngagementPerCourse } from '../models/VideoEngagementPerCourse';
|
|
11
|
-
import type { VideosInCourseSummary } from '../models/VideosInCourseSummary';
|
|
12
|
-
import type { VideosSpecificCourse } from '../models/VideosSpecificCourse';
|
|
13
|
-
import type { WatchedVideosPerUser } from '../models/WatchedVideosPerUser';
|
|
14
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
15
|
-
export declare class EngagementService {
|
|
16
|
-
/**
|
|
17
|
-
* Get engagement metrics on a per-course basis.
|
|
18
|
-
*
|
|
19
|
-
* This endpoint provides a paginated list of courses with engagement metrics
|
|
20
|
-
* including activity counts, time spent, and interaction data.
|
|
21
|
-
*
|
|
22
|
-
* Query Parameters:
|
|
23
|
-
* page (int, optional): Page number for pagination
|
|
24
|
-
* length (int, optional): Number of items per page
|
|
25
|
-
*
|
|
26
|
-
* Returns:
|
|
27
|
-
* A paginated list of courses with their engagement metrics.
|
|
28
|
-
* @returns EngagementPerCourse
|
|
29
|
-
* @throws ApiError
|
|
30
|
-
*/
|
|
31
|
-
static engagementOrgsActivityRetrieve({ org, departmentId, format, includeMainPlatform, length, page, }: {
|
|
32
|
-
org: string;
|
|
33
|
-
/**
|
|
34
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
35
|
-
*/
|
|
36
|
-
departmentId?: number;
|
|
37
|
-
/**
|
|
38
|
-
* Format
|
|
39
|
-
*
|
|
40
|
-
* * `json` - json
|
|
41
|
-
*/
|
|
42
|
-
format?: 'json';
|
|
43
|
-
/**
|
|
44
|
-
* Include main platform data
|
|
45
|
-
*/
|
|
46
|
-
includeMainPlatform?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Size of data to return
|
|
49
|
-
*/
|
|
50
|
-
length?: number;
|
|
51
|
-
/**
|
|
52
|
-
* Page offset
|
|
53
|
-
*/
|
|
54
|
-
page?: number;
|
|
55
|
-
}): CancelablePromise<EngagementPerCourse>;
|
|
56
|
-
/**
|
|
57
|
-
* Completion count per user per course across the platform
|
|
58
|
-
*
|
|
59
|
-
* Query Params
|
|
60
|
-
* 1. start_date e.g 2020-10-01
|
|
61
|
-
* 2. end_date e.g 2020-10-10
|
|
62
|
-
*
|
|
63
|
-
* Default result when no query param is added is last_7_days (today inclusive)
|
|
64
|
-
* @returns OvertimeWithChangeInfo
|
|
65
|
-
* @throws ApiError
|
|
66
|
-
*/
|
|
67
|
-
static engagementOrgsCourseCompletionOverTimeRetrieve({ org, departmentId, endDate, format, includeMainPlatform, startDate, }: {
|
|
68
|
-
org: string;
|
|
69
|
-
/**
|
|
70
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
71
|
-
*/
|
|
72
|
-
departmentId?: number;
|
|
73
|
-
/**
|
|
74
|
-
* end date. ISO 8601
|
|
75
|
-
*/
|
|
76
|
-
endDate?: string;
|
|
77
|
-
/**
|
|
78
|
-
* Format
|
|
79
|
-
*
|
|
80
|
-
* * `json` - json
|
|
81
|
-
*/
|
|
82
|
-
format?: 'json';
|
|
83
|
-
/**
|
|
84
|
-
* Include main platform data
|
|
85
|
-
*/
|
|
86
|
-
includeMainPlatform?: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* start date. ISO 8601
|
|
89
|
-
*/
|
|
90
|
-
startDate?: string;
|
|
91
|
-
}): CancelablePromise<OvertimeWithChangeInfo>;
|
|
92
|
-
/**
|
|
93
|
-
* List course completion metrics on a per-course basis.
|
|
94
|
-
*
|
|
95
|
-
* This endpoint provides a paginated table of courses with enrollment and
|
|
96
|
-
* completion statistics for each course.
|
|
97
|
-
*
|
|
98
|
-
* Returns:
|
|
99
|
-
* A paginated list of courses with:
|
|
100
|
-
* - Course identification (ID and name)
|
|
101
|
-
* - Enrollment count
|
|
102
|
-
* - Completion count
|
|
103
|
-
* - Average completion rate
|
|
104
|
-
* @returns CourseCompletionPerCourse
|
|
105
|
-
* @throws ApiError
|
|
106
|
-
*/
|
|
107
|
-
static engagementOrgsCourseCompletionPerCourseRetrieve({ org, departmentId, format, includeMainPlatform, length, page, }: {
|
|
108
|
-
org: string;
|
|
109
|
-
/**
|
|
110
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
111
|
-
*/
|
|
112
|
-
departmentId?: number;
|
|
113
|
-
/**
|
|
114
|
-
* Format
|
|
115
|
-
*
|
|
116
|
-
* * `json` - json
|
|
117
|
-
*/
|
|
118
|
-
format?: 'json';
|
|
119
|
-
/**
|
|
120
|
-
* Include main platform data
|
|
121
|
-
*/
|
|
122
|
-
includeMainPlatform?: boolean;
|
|
123
|
-
/**
|
|
124
|
-
* Size of data to return
|
|
125
|
-
*/
|
|
126
|
-
length?: number;
|
|
127
|
-
/**
|
|
128
|
-
* Page offset
|
|
129
|
-
*/
|
|
130
|
-
page?: number;
|
|
131
|
-
}): CancelablePromise<CourseCompletionPerCourse>;
|
|
132
|
-
/**
|
|
133
|
-
* Average time spent in secs on a per-day basis
|
|
134
|
-
*
|
|
135
|
-
* Query Params
|
|
136
|
-
* 1. start_date e.g 2020-10-01
|
|
137
|
-
* 2. end_date e.g 2020-10-10
|
|
138
|
-
* 3. course_id <optional>
|
|
139
|
-
*
|
|
140
|
-
* Default result when no query param is added is last_7_days (today inclusive)
|
|
141
|
-
* @returns AverageOvertime
|
|
142
|
-
* @throws ApiError
|
|
143
|
-
*/
|
|
144
|
-
static engagementOrgsCoursesTimeAverageRetrieve({ courseId, org, departmentId, endDate, format, includeMainPlatform, startDate, }: {
|
|
145
|
-
courseId: string;
|
|
146
|
-
org: string;
|
|
147
|
-
/**
|
|
148
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
149
|
-
*/
|
|
150
|
-
departmentId?: number;
|
|
151
|
-
/**
|
|
152
|
-
* end date. ISO 8601
|
|
153
|
-
*/
|
|
154
|
-
endDate?: string;
|
|
155
|
-
/**
|
|
156
|
-
* Format
|
|
157
|
-
*
|
|
158
|
-
* * `json` - json
|
|
159
|
-
*/
|
|
160
|
-
format?: 'json';
|
|
161
|
-
/**
|
|
162
|
-
* Include main platform data
|
|
163
|
-
*/
|
|
164
|
-
includeMainPlatform?: boolean;
|
|
165
|
-
/**
|
|
166
|
-
* start date. ISO 8601
|
|
167
|
-
*/
|
|
168
|
-
startDate?: string;
|
|
169
|
-
}): CancelablePromise<AverageOvertime>;
|
|
170
|
-
/**
|
|
171
|
-
* Time spent per course in secs in a tree like form
|
|
172
|
-
*
|
|
173
|
-
* Kwargs
|
|
174
|
-
* course_id e.g course-v1:Org+Course4+Run
|
|
175
|
-
*
|
|
176
|
-
* Query Params
|
|
177
|
-
* 1. start_date <optional> e.g 2020-10-01
|
|
178
|
-
* 2. end_date <optional> e.g 2020-10-10
|
|
179
|
-
* @returns TimeDetail
|
|
180
|
-
* @throws ApiError
|
|
181
|
-
*/
|
|
182
|
-
static engagementOrgsCoursesTimeDetailRetrieve({ courseId, org, departmentId, format, includeMainPlatform, }: {
|
|
183
|
-
courseId: string;
|
|
184
|
-
org: string;
|
|
185
|
-
/**
|
|
186
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
187
|
-
*/
|
|
188
|
-
departmentId?: number;
|
|
189
|
-
/**
|
|
190
|
-
* Format
|
|
191
|
-
*
|
|
192
|
-
* * `json` - json
|
|
193
|
-
*/
|
|
194
|
-
format?: 'json';
|
|
195
|
-
/**
|
|
196
|
-
* Include main platform data
|
|
197
|
-
*/
|
|
198
|
-
includeMainPlatform?: boolean;
|
|
199
|
-
}): CancelablePromise<TimeDetail>;
|
|
200
|
-
/**
|
|
201
|
-
* Time spent per course in secs on a per-day basis
|
|
202
|
-
*
|
|
203
|
-
* Query Params
|
|
204
|
-
* 1. start_date e.g 2020-10-01
|
|
205
|
-
* 2. end_date e.g 2020-10-10
|
|
206
|
-
* Kwargs
|
|
207
|
-
* 3. course_id
|
|
208
|
-
*
|
|
209
|
-
* Default result when no query param is added is last_7_days (today inclusive)
|
|
210
|
-
* @returns OverTimeWithTotal
|
|
211
|
-
* @throws ApiError
|
|
212
|
-
*/
|
|
213
|
-
static engagementOrgsCoursesTimeOverTimeRetrieve({ courseId, org, departmentId, endDate, format, includeMainPlatform, startDate, }: {
|
|
214
|
-
courseId: string;
|
|
215
|
-
org: string;
|
|
216
|
-
/**
|
|
217
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
218
|
-
*/
|
|
219
|
-
departmentId?: number;
|
|
220
|
-
/**
|
|
221
|
-
* end date. ISO 8601
|
|
222
|
-
*/
|
|
223
|
-
endDate?: string;
|
|
224
|
-
/**
|
|
225
|
-
* Format
|
|
226
|
-
*
|
|
227
|
-
* * `json` - json
|
|
228
|
-
*/
|
|
229
|
-
format?: 'json';
|
|
230
|
-
/**
|
|
231
|
-
* Include main platform data
|
|
232
|
-
*/
|
|
233
|
-
includeMainPlatform?: boolean;
|
|
234
|
-
/**
|
|
235
|
-
* start date. ISO 8601
|
|
236
|
-
*/
|
|
237
|
-
startDate?: string;
|
|
238
|
-
}): CancelablePromise<OverTimeWithTotal>;
|
|
239
|
-
/**
|
|
240
|
-
* Time spent by users in a course
|
|
241
|
-
*
|
|
242
|
-
* Query Params
|
|
243
|
-
* course_id e.g course-v1:Org+Course4+Run
|
|
244
|
-
* @returns TimeSpentByUsersInCourse
|
|
245
|
-
* @throws ApiError
|
|
246
|
-
*/
|
|
247
|
-
static engagementOrgsCoursesTimeUsersRetrieve({ courseId, org, departmentId, endDate, format, includeMainPlatform, length, page, startDate, }: {
|
|
248
|
-
courseId: string;
|
|
249
|
-
org: string;
|
|
250
|
-
/**
|
|
251
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
252
|
-
*/
|
|
253
|
-
departmentId?: number;
|
|
254
|
-
/**
|
|
255
|
-
* end date. ISO 8601
|
|
256
|
-
*/
|
|
257
|
-
endDate?: string;
|
|
258
|
-
/**
|
|
259
|
-
* Format
|
|
260
|
-
*
|
|
261
|
-
* * `json` - json
|
|
262
|
-
*/
|
|
263
|
-
format?: 'json';
|
|
264
|
-
/**
|
|
265
|
-
* Include main platform data
|
|
266
|
-
*/
|
|
267
|
-
includeMainPlatform?: boolean;
|
|
268
|
-
/**
|
|
269
|
-
* Size of data to return
|
|
270
|
-
*/
|
|
271
|
-
length?: number;
|
|
272
|
-
/**
|
|
273
|
-
* Page offset
|
|
274
|
-
*/
|
|
275
|
-
page?: number;
|
|
276
|
-
/**
|
|
277
|
-
* start date. ISO 8601
|
|
278
|
-
*/
|
|
279
|
-
startDate?: string;
|
|
280
|
-
}): CancelablePromise<TimeSpentByUsersInCourse>;
|
|
281
|
-
/**
|
|
282
|
-
* Time spent within a course in ordered hierarchical format
|
|
283
|
-
*
|
|
284
|
-
* Kwargs
|
|
285
|
-
* 1. course_id e.g course-v1:Org+Course4+Run
|
|
286
|
-
* 2. user_id e.g developer@ibleducation.com or dev123 (username|email)
|
|
287
|
-
* Query Params
|
|
288
|
-
* 3. start_date <optional> e.g 2020-10-01
|
|
289
|
-
* 4. end_date <optional> e.g 2020-10-10
|
|
290
|
-
* @returns PerLearnerTimeSpentInCourseTree
|
|
291
|
-
* @throws ApiError
|
|
292
|
-
*/
|
|
293
|
-
static engagementOrgsCoursesTimeUsersDetailRetrieve({ courseId, org, userId, departmentId, endDate, format, includeMainPlatform, startDate, }: {
|
|
294
|
-
courseId: string;
|
|
295
|
-
org: string; /**
|
|
296
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
297
|
-
*/
|
|
298
|
-
departmentId?: number; /**
|
|
299
|
-
* end date. ISO 8601
|
|
300
|
-
*/
|
|
301
|
-
endDate?: string; /**
|
|
302
|
-
* Format
|
|
303
|
-
*
|
|
304
|
-
* * `json` - json
|
|
305
|
-
*/
|
|
306
|
-
format?: 'json'; /**
|
|
307
|
-
* Include main platform data
|
|
308
|
-
*/
|
|
309
|
-
includeMainPlatform?: boolean; /**
|
|
310
|
-
* start date. ISO 8601
|
|
311
|
-
*/
|
|
312
|
-
startDate?: string;
|
|
313
|
-
}): CancelablePromise<PerLearnerTimeSpentInCourseTree>;
|
|
314
|
-
/**
|
|
315
|
-
* Time spent in secs on a per-day basis
|
|
316
|
-
*
|
|
317
|
-
* Query Params
|
|
318
|
-
* 1. course_id <optional> e.g course-v1:Org+Course4+Run
|
|
319
|
-
* 2. user_id <optional> e.g developer@ibleducation.com or dev123 (username|email)
|
|
320
|
-
* 3. start_date e.g 2020-10-01
|
|
321
|
-
* 4. end_date e.g 2020-10-10
|
|
322
|
-
*
|
|
323
|
-
* Default result when no query param is added is last_7_days (today inclusive)
|
|
324
|
-
* @returns OverTimeWithTotal
|
|
325
|
-
* @throws ApiError
|
|
326
|
-
*/
|
|
327
|
-
static engagementOrgsCoursesTimeUsersOverTimeRetrieve({ courseId, org, userId, departmentId, endDate, format, includeMainPlatform, startDate, }: {
|
|
328
|
-
courseId: string;
|
|
329
|
-
org: string; /**
|
|
330
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
331
|
-
*/
|
|
332
|
-
departmentId?: number; /**
|
|
333
|
-
* end date. ISO 8601
|
|
334
|
-
*/
|
|
335
|
-
endDate?: string; /**
|
|
336
|
-
* Format
|
|
337
|
-
*
|
|
338
|
-
* * `json` - json
|
|
339
|
-
*/
|
|
340
|
-
format?: 'json'; /**
|
|
341
|
-
* Include main platform data
|
|
342
|
-
*/
|
|
343
|
-
includeMainPlatform?: boolean; /**
|
|
344
|
-
* start date. ISO 8601
|
|
345
|
-
*/
|
|
346
|
-
startDate?: string;
|
|
347
|
-
}): CancelablePromise<OverTimeWithTotal>;
|
|
348
|
-
/**
|
|
349
|
-
* Get video engagement metrics for a specific course.
|
|
350
|
-
*
|
|
351
|
-
* This endpoint provides detailed video engagement statistics for a single course,
|
|
352
|
-
* including view counts, completion rates, and time spent on videos.
|
|
353
|
-
*
|
|
354
|
-
* Query Parameters:
|
|
355
|
-
* course_id (str): The course ID to get video engagement data for
|
|
356
|
-
*
|
|
357
|
-
* Returns:
|
|
358
|
-
* Detailed video engagement metrics for the specified course.
|
|
359
|
-
* @returns VideosSpecificCourse
|
|
360
|
-
* @throws ApiError
|
|
361
|
-
*/
|
|
362
|
-
static engagementOrgsCoursesVideosRetrieve({ courseId, org, departmentId, format, includeMainPlatform, }: {
|
|
363
|
-
courseId: string;
|
|
364
|
-
org: string;
|
|
365
|
-
/**
|
|
366
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
367
|
-
*/
|
|
368
|
-
departmentId?: number;
|
|
369
|
-
/**
|
|
370
|
-
* Format
|
|
371
|
-
*
|
|
372
|
-
* * `json` - json
|
|
373
|
-
*/
|
|
374
|
-
format?: 'json';
|
|
375
|
-
/**
|
|
376
|
-
* Include main platform data
|
|
377
|
-
*/
|
|
378
|
-
includeMainPlatform?: boolean;
|
|
379
|
-
}): CancelablePromise<VideosSpecificCourse>;
|
|
380
|
-
/**
|
|
381
|
-
* Get video watch counts over time.
|
|
382
|
-
*
|
|
383
|
-
* This endpoint provides daily counts of videos watched over a specified time period,
|
|
384
|
-
* with options to filter by course or user.
|
|
385
|
-
*
|
|
386
|
-
* Query Parameters:
|
|
387
|
-
* start_date (str, optional): Start date for the time range (ISO format)
|
|
388
|
-
* end_date (str, optional): End date for the time range (ISO format)
|
|
389
|
-
* course_id (str, optional): Filter by course ID
|
|
390
|
-
* user_id (str, optional): Filter by username or email
|
|
391
|
-
*
|
|
392
|
-
* Returns:
|
|
393
|
-
* Daily video watch counts over the specified time period.
|
|
394
|
-
*
|
|
395
|
-
* Default time range is the last 7 days if no dates are specified.
|
|
396
|
-
*
|
|
397
|
-
* Access Control:
|
|
398
|
-
* - Platform admins can access any video watch data
|
|
399
|
-
* - Learners can access their own video watch data
|
|
400
|
-
* @returns OverTimeWithTotal
|
|
401
|
-
* @throws ApiError
|
|
402
|
-
*/
|
|
403
|
-
static engagementOrgsCoursesVideosOverTimeRetrieve({ courseId, org, departmentId, endDate, format, includeMainPlatform, startDate, }: {
|
|
404
|
-
courseId: string;
|
|
405
|
-
org: string;
|
|
406
|
-
/**
|
|
407
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
408
|
-
*/
|
|
409
|
-
departmentId?: number;
|
|
410
|
-
/**
|
|
411
|
-
* end date. ISO 8601
|
|
412
|
-
*/
|
|
413
|
-
endDate?: string;
|
|
414
|
-
/**
|
|
415
|
-
* Format
|
|
416
|
-
*
|
|
417
|
-
* * `json` - json
|
|
418
|
-
*/
|
|
419
|
-
format?: 'json';
|
|
420
|
-
/**
|
|
421
|
-
* Include main platform data
|
|
422
|
-
*/
|
|
423
|
-
includeMainPlatform?: boolean;
|
|
424
|
-
/**
|
|
425
|
-
* start date. ISO 8601
|
|
426
|
-
*/
|
|
427
|
-
startDate?: string;
|
|
428
|
-
}): CancelablePromise<OverTimeWithTotal>;
|
|
429
|
-
/**
|
|
430
|
-
* Get a summary of video watch statistics for a specific course.
|
|
431
|
-
*
|
|
432
|
-
* This endpoint provides a structured summary of video watch data for a course,
|
|
433
|
-
* organized in a tree-like format by course sections and subsections.
|
|
434
|
-
*
|
|
435
|
-
* Query Parameters:
|
|
436
|
-
* course_id (str): The course ID to get video summary for
|
|
437
|
-
*
|
|
438
|
-
* Returns:
|
|
439
|
-
* A hierarchical structure of video watch data for the course, including:
|
|
440
|
-
* - Section and subsection organization
|
|
441
|
-
* - Video identification and metadata
|
|
442
|
-
* - Watch counts and completion rates
|
|
443
|
-
* @returns VideosInCourseSummary
|
|
444
|
-
* @throws ApiError
|
|
445
|
-
*/
|
|
446
|
-
static engagementOrgsCoursesVideosSummaryRetrieve({ courseId, org, departmentId, format, includeMainPlatform, }: {
|
|
447
|
-
courseId: string;
|
|
448
|
-
org: string;
|
|
449
|
-
/**
|
|
450
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
451
|
-
*/
|
|
452
|
-
departmentId?: number;
|
|
453
|
-
/**
|
|
454
|
-
* Format
|
|
455
|
-
*
|
|
456
|
-
* * `json` - json
|
|
457
|
-
*/
|
|
458
|
-
format?: 'json';
|
|
459
|
-
/**
|
|
460
|
-
* Include main platform data
|
|
461
|
-
*/
|
|
462
|
-
includeMainPlatform?: boolean;
|
|
463
|
-
}): CancelablePromise<VideosInCourseSummary>;
|
|
464
|
-
/**
|
|
465
|
-
* List of users' videos completed records for a specific course
|
|
466
|
-
*
|
|
467
|
-
* Kwargs
|
|
468
|
-
* course_id e.g course-v1:Org+Course4+Run
|
|
469
|
-
* @returns WatchedVideosPerUser
|
|
470
|
-
* @throws ApiError
|
|
471
|
-
*/
|
|
472
|
-
static engagementOrgsCoursesVideosUsersRetrieve({ courseId, org, departmentId, format, includeMainPlatform, }: {
|
|
473
|
-
courseId: string;
|
|
474
|
-
org: string;
|
|
475
|
-
/**
|
|
476
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
477
|
-
*/
|
|
478
|
-
departmentId?: number;
|
|
479
|
-
/**
|
|
480
|
-
* Format
|
|
481
|
-
*
|
|
482
|
-
* * `json` - json
|
|
483
|
-
*/
|
|
484
|
-
format?: 'json';
|
|
485
|
-
/**
|
|
486
|
-
* Include main platform data
|
|
487
|
-
*/
|
|
488
|
-
includeMainPlatform?: boolean;
|
|
489
|
-
}): CancelablePromise<WatchedVideosPerUser>;
|
|
490
|
-
/**
|
|
491
|
-
* Average time spent by a learner in enrolled courses. Gives a rough estimate of whats the average time
|
|
492
|
-
* that would be spent by a learner in a course
|
|
493
|
-
*
|
|
494
|
-
* Query Params
|
|
495
|
-
* 1. start_date e.g 2020-10-01
|
|
496
|
-
* 2. end_date e.g 2020-10-10
|
|
497
|
-
* @returns AverageOvertime
|
|
498
|
-
* @throws ApiError
|
|
499
|
-
*/
|
|
500
|
-
static engagementOrgsTimeAveragePerlearnerPercourseRetrieve({ org, departmentId, endDate, format, includeMainPlatform, startDate, }: {
|
|
501
|
-
org: string;
|
|
502
|
-
/**
|
|
503
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
504
|
-
*/
|
|
505
|
-
departmentId?: number;
|
|
506
|
-
/**
|
|
507
|
-
* end date. ISO 8601
|
|
508
|
-
*/
|
|
509
|
-
endDate?: string;
|
|
510
|
-
/**
|
|
511
|
-
* Format
|
|
512
|
-
*
|
|
513
|
-
* * `json` - json
|
|
514
|
-
*/
|
|
515
|
-
format?: 'json';
|
|
516
|
-
/**
|
|
517
|
-
* Include main platform data
|
|
518
|
-
*/
|
|
519
|
-
includeMainPlatform?: boolean;
|
|
520
|
-
/**
|
|
521
|
-
* start date. ISO 8601
|
|
522
|
-
*/
|
|
523
|
-
startDate?: string;
|
|
524
|
-
}): CancelablePromise<AverageOvertime>;
|
|
525
|
-
/**
|
|
526
|
-
* Average time spent in secs on a per-day basis
|
|
527
|
-
*
|
|
528
|
-
* Query Params
|
|
529
|
-
* 1. start_date e.g 2020-10-01
|
|
530
|
-
* 2. end_date e.g 2020-10-10
|
|
531
|
-
* 3. course_id <optional>
|
|
532
|
-
*
|
|
533
|
-
* Default result when no query param is added is last_7_days (today inclusive)
|
|
534
|
-
* @returns AverageOvertime
|
|
535
|
-
* @throws ApiError
|
|
536
|
-
*/
|
|
537
|
-
static engagementOrgsTimeAverageWithOverTimeRetrieve({ org, departmentId, endDate, format, includeMainPlatform, startDate, }: {
|
|
538
|
-
org: string;
|
|
539
|
-
/**
|
|
540
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
541
|
-
*/
|
|
542
|
-
departmentId?: number;
|
|
543
|
-
/**
|
|
544
|
-
* end date. ISO 8601
|
|
545
|
-
*/
|
|
546
|
-
endDate?: string;
|
|
547
|
-
/**
|
|
548
|
-
* Format
|
|
549
|
-
*
|
|
550
|
-
* * `json` - json
|
|
551
|
-
*/
|
|
552
|
-
format?: 'json';
|
|
553
|
-
/**
|
|
554
|
-
* Include main platform data
|
|
555
|
-
*/
|
|
556
|
-
includeMainPlatform?: boolean;
|
|
557
|
-
/**
|
|
558
|
-
* start date. ISO 8601
|
|
559
|
-
*/
|
|
560
|
-
startDate?: string;
|
|
561
|
-
}): CancelablePromise<AverageOvertime>;
|
|
562
|
-
/**
|
|
563
|
-
* Get time spent on the platform over time.
|
|
564
|
-
*
|
|
565
|
-
* This endpoint provides daily time spent values (in seconds) across the
|
|
566
|
-
* platform over a specified time period.
|
|
567
|
-
*
|
|
568
|
-
* Query Parameters:
|
|
569
|
-
* start_date (str, optional): Start date for the time range (ISO format)
|
|
570
|
-
* end_date (str, optional): End date for the time range (ISO format)
|
|
571
|
-
*
|
|
572
|
-
* Returns:
|
|
573
|
-
* Daily time spent values over the specified time period, with change metrics
|
|
574
|
-
* compared to previous periods.
|
|
575
|
-
*
|
|
576
|
-
* Default time range is the last 7 days if no dates are specified.
|
|
577
|
-
* @returns OvertimeWithChangeInfo
|
|
578
|
-
* @throws ApiError
|
|
579
|
-
*/
|
|
580
|
-
static engagementOrgsTimeOverTimeRetrieve({ org, departmentId, endDate, format, includeMainPlatform, startDate, }: {
|
|
581
|
-
org: string;
|
|
582
|
-
/**
|
|
583
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
584
|
-
*/
|
|
585
|
-
departmentId?: number;
|
|
586
|
-
/**
|
|
587
|
-
* end date. ISO 8601
|
|
588
|
-
*/
|
|
589
|
-
endDate?: string;
|
|
590
|
-
/**
|
|
591
|
-
* Format
|
|
592
|
-
*
|
|
593
|
-
* * `json` - json
|
|
594
|
-
*/
|
|
595
|
-
format?: 'json';
|
|
596
|
-
/**
|
|
597
|
-
* Include main platform data
|
|
598
|
-
*/
|
|
599
|
-
includeMainPlatform?: boolean;
|
|
600
|
-
/**
|
|
601
|
-
* start date. ISO 8601
|
|
602
|
-
*/
|
|
603
|
-
startDate?: string;
|
|
604
|
-
}): CancelablePromise<OvertimeWithChangeInfo>;
|
|
605
|
-
/**
|
|
606
|
-
* Get time spent statistics on a per-course basis.
|
|
607
|
-
*
|
|
608
|
-
* This endpoint provides a paginated list of courses with the total time
|
|
609
|
-
* spent by users in each course.
|
|
610
|
-
*
|
|
611
|
-
* Query Parameters:
|
|
612
|
-
* start_date (str, optional): Start date for filtering (ISO format)
|
|
613
|
-
* end_date (str, optional): End date for filtering (ISO format)
|
|
614
|
-
* page (int, optional): Page number for pagination
|
|
615
|
-
* length (int, optional): Number of items per page
|
|
616
|
-
*
|
|
617
|
-
* Returns:
|
|
618
|
-
* A paginated list of courses with:
|
|
619
|
-
* - Course identification (ID and name)
|
|
620
|
-
* - Total time spent (in seconds)
|
|
621
|
-
* - Formatted time spent (human-readable)
|
|
622
|
-
* - Percentage of total platform time
|
|
623
|
-
* @returns TimeSpentPerCourse
|
|
624
|
-
* @throws ApiError
|
|
625
|
-
*/
|
|
626
|
-
static engagementOrgsTimePerCourseRetrieve({ org, departmentId, endDate, format, includeMainPlatform, length, page, startDate, }: {
|
|
627
|
-
org: string;
|
|
628
|
-
/**
|
|
629
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
630
|
-
*/
|
|
631
|
-
departmentId?: number;
|
|
632
|
-
/**
|
|
633
|
-
* end date. ISO 8601
|
|
634
|
-
*/
|
|
635
|
-
endDate?: string;
|
|
636
|
-
/**
|
|
637
|
-
* Format
|
|
638
|
-
*
|
|
639
|
-
* * `json` - json
|
|
640
|
-
*/
|
|
641
|
-
format?: 'json';
|
|
642
|
-
/**
|
|
643
|
-
* Include main platform data
|
|
644
|
-
*/
|
|
645
|
-
includeMainPlatform?: boolean;
|
|
646
|
-
/**
|
|
647
|
-
* Size of data to return
|
|
648
|
-
*/
|
|
649
|
-
length?: number;
|
|
650
|
-
/**
|
|
651
|
-
* Page offset
|
|
652
|
-
*/
|
|
653
|
-
page?: number;
|
|
654
|
-
/**
|
|
655
|
-
* start date. ISO 8601
|
|
656
|
-
*/
|
|
657
|
-
startDate?: string;
|
|
658
|
-
}): CancelablePromise<TimeSpentPerCourse>;
|
|
659
|
-
/**
|
|
660
|
-
* Get video engagement metrics on a per-course basis.
|
|
661
|
-
*
|
|
662
|
-
* This endpoint provides a paginated list of courses with video engagement metrics
|
|
663
|
-
* including view counts, completion rates, and time spent on videos.
|
|
664
|
-
*
|
|
665
|
-
* Query Parameters:
|
|
666
|
-
* page (int, optional): Page number for pagination
|
|
667
|
-
* length (int, optional): Number of items per page
|
|
668
|
-
*
|
|
669
|
-
* Returns:
|
|
670
|
-
* A paginated list of courses with their video engagement metrics.
|
|
671
|
-
* @returns VideoEngagementPerCourse
|
|
672
|
-
* @throws ApiError
|
|
673
|
-
*/
|
|
674
|
-
static engagementOrgsVideosRetrieve({ org, departmentId, format, includeMainPlatform, length, page, }: {
|
|
675
|
-
org: string;
|
|
676
|
-
/**
|
|
677
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
678
|
-
*/
|
|
679
|
-
departmentId?: number;
|
|
680
|
-
/**
|
|
681
|
-
* Format
|
|
682
|
-
*
|
|
683
|
-
* * `json` - json
|
|
684
|
-
*/
|
|
685
|
-
format?: 'json';
|
|
686
|
-
/**
|
|
687
|
-
* Include main platform data
|
|
688
|
-
*/
|
|
689
|
-
includeMainPlatform?: boolean;
|
|
690
|
-
/**
|
|
691
|
-
* Size of data to return
|
|
692
|
-
*/
|
|
693
|
-
length?: number;
|
|
694
|
-
/**
|
|
695
|
-
* Page offset
|
|
696
|
-
*/
|
|
697
|
-
page?: number;
|
|
698
|
-
}): CancelablePromise<VideoEngagementPerCourse>;
|
|
699
|
-
/**
|
|
700
|
-
* Get video watch counts over time.
|
|
701
|
-
*
|
|
702
|
-
* This endpoint provides daily counts of videos watched over a specified time period,
|
|
703
|
-
* with options to filter by course or user.
|
|
704
|
-
*
|
|
705
|
-
* Query Parameters:
|
|
706
|
-
* start_date (str, optional): Start date for the time range (ISO format)
|
|
707
|
-
* end_date (str, optional): End date for the time range (ISO format)
|
|
708
|
-
* course_id (str, optional): Filter by course ID
|
|
709
|
-
* user_id (str, optional): Filter by username or email
|
|
710
|
-
*
|
|
711
|
-
* Returns:
|
|
712
|
-
* Daily video watch counts over the specified time period.
|
|
713
|
-
*
|
|
714
|
-
* Default time range is the last 7 days if no dates are specified.
|
|
715
|
-
*
|
|
716
|
-
* Access Control:
|
|
717
|
-
* - Platform admins can access any video watch data
|
|
718
|
-
* - Learners can access their own video watch data
|
|
719
|
-
* @returns OverTimeWithTotal
|
|
720
|
-
* @throws ApiError
|
|
721
|
-
*/
|
|
722
|
-
static engagementOrgsVideosOverTimeRetrieve({ org, departmentId, endDate, format, includeMainPlatform, startDate, }: {
|
|
723
|
-
org: string;
|
|
724
|
-
/**
|
|
725
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
726
|
-
*/
|
|
727
|
-
departmentId?: number;
|
|
728
|
-
/**
|
|
729
|
-
* end date. ISO 8601
|
|
730
|
-
*/
|
|
731
|
-
endDate?: string;
|
|
732
|
-
/**
|
|
733
|
-
* Format
|
|
734
|
-
*
|
|
735
|
-
* * `json` - json
|
|
736
|
-
*/
|
|
737
|
-
format?: 'json';
|
|
738
|
-
/**
|
|
739
|
-
* Include main platform data
|
|
740
|
-
*/
|
|
741
|
-
includeMainPlatform?: boolean;
|
|
742
|
-
/**
|
|
743
|
-
* start date. ISO 8601
|
|
744
|
-
*/
|
|
745
|
-
startDate?: string;
|
|
746
|
-
}): CancelablePromise<OverTimeWithTotal>;
|
|
747
|
-
}
|