@iblai/iblai-api 3.48.3-core → 3.48.4-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 +18251 -2773
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +18245 -2774
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +18251 -2773
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +281 -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/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/CallAuthenticationRequest.d.ts +13 -0
- package/dist/types/models/CallAuthenticationResponse.d.ts +21 -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/DateRange.d.ts +4 -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/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 +85 -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 +58 -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/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/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/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/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/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/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/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/PatchedRbacGroupRole.d.ts +2 -2
- package/dist/types/models/PatchedRbacPolicy.d.ts +2 -2
- package/dist/types/models/PatchedRbacUserRole.d.ts +2 -2
- package/dist/types/models/PatchedSection.d.ts +9 -0
- package/dist/types/models/PatchedSubSection.d.ts +9 -0
- package/dist/types/models/PatchedUnit.d.ts +11 -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/ProviderEnum.d.ts +10 -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/RbacBaseRole.d.ts +15 -0
- package/dist/types/models/RbacGroupRole.d.ts +2 -2
- package/dist/types/models/RbacPolicy.d.ts +2 -2
- package/dist/types/models/RbacUserRole.d.ts +2 -2
- 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 +17 -0
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +30 -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/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/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/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/TrainChatSessionDocumentView.d.ts +6 -0
- package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +6 -0
- package/dist/types/models/TrainDocumentViewRequest.d.ts +42 -0
- package/dist/types/models/TrainDocumentViewResponse.d.ts +15 -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/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/services/AiAccountService.d.ts +319 -0
- package/dist/types/services/AiAnalyticsService.d.ts +3899 -0
- package/dist/types/services/AiIndexService.d.ts +407 -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 +4743 -0
- package/dist/types/services/AiPromptService.d.ts +1034 -0
- package/dist/types/services/AnalyticsService.d.ts +42 -13
- package/dist/types/services/AudienceService.d.ts +345 -149
- package/dist/types/services/CareerService.d.ts +117 -90
- package/dist/types/services/CatalogService.d.ts +3735 -1072
- package/dist/types/services/CoreService.d.ts +441 -210
- package/dist/types/services/CredentialsService.d.ts +173 -138
- package/dist/types/services/DepartmentsService.d.ts +53 -16
- package/dist/types/services/EngagementService.d.ts +459 -179
- package/dist/types/services/FeaturesService.d.ts +16 -7
- package/dist/types/services/FinanceService.d.ts +49 -20
- package/dist/types/services/MediaResourcesService.d.ts +243 -67
- package/dist/types/services/NotificationBuilderService.d.ts +31 -17
- package/dist/types/services/NotificationService.d.ts +56 -49
- package/dist/types/services/OrgsService.d.ts +106 -77
- package/dist/types/services/OverviewService.d.ts +154 -55
- package/dist/types/services/PerformanceService.d.ts +132 -56
- package/dist/types/services/PerlearnerService.d.ts +431 -217
- package/dist/types/services/PlatformService.d.ts +221 -116
- package/dist/types/services/ProviderAssociationService.d.ts +3 -2
- package/dist/types/services/ProvidersService.d.ts +27 -18
- package/dist/types/services/ProvisionService.d.ts +3 -2
- package/dist/types/services/RecommendationsService.d.ts +3 -3
- package/dist/types/services/ReportsService.d.ts +22 -16
- package/dist/types/services/RolesService.d.ts +8 -6
- package/dist/types/services/SearchService.d.ts +1023 -80
- package/dist/types/services/ServiceService.d.ts +33 -29
- package/dist/types/services/SkillsService.d.ts +40 -32
- package/dist/types/services/UserGroupsService.d.ts +53 -16
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +281 -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/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/CallAuthenticationRequest.ts +18 -0
- package/src/models/CallAuthenticationResponse.ts +26 -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/DateRange.ts +9 -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/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 +90 -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 +63 -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/MetricChange.ts +9 -0
- package/src/models/ModelCost.ts +9 -0
- package/src/models/ModerationLog.ts +16 -0
- package/src/models/NoChatMessagesFound.ts +8 -0
- package/src/models/NotificationSource.ts +2 -2
- package/src/models/{TypeEnum.ts → NotificationSourceTypeEnum.ts} +1 -1
- package/src/models/NullEnum.ts +7 -0
- package/src/models/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/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/PaginatedPeriodicAgentList.ts +12 -0
- package/src/models/PaginatedPeriodicAgentLogList.ts +12 -0
- package/src/models/PaginatedPlayWrightScriptList.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/PaginatedUnitList.ts +12 -0
- package/src/models/PaginatedUserEdxMemoryList.ts +12 -0
- package/src/models/PaginatedVoiceList.ts +12 -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/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/PatchedRbacGroupRole.ts +2 -2
- package/src/models/PatchedRbacPolicy.ts +2 -2
- package/src/models/PatchedRbacUserRole.ts +2 -2
- package/src/models/PatchedSection.ts +14 -0
- package/src/models/PatchedSubSection.ts +14 -0
- package/src/models/PatchedUnit.ts +16 -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/ProviderEnum.ts +14 -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/RbacBaseRole.ts +20 -0
- package/src/models/RbacGroupRole.ts +2 -2
- package/src/models/RbacPolicy.ts +2 -2
- package/src/models/RbacUserRole.ts +2 -2
- 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 +22 -0
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +35 -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/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/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/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/TrainChatSessionDocumentView.ts +11 -0
- package/src/models/TrainChatSessionDocumentViewRequest.ts +11 -0
- package/src/models/TrainDocumentViewRequest.ts +47 -0
- package/src/models/TrainDocumentViewResponse.ts +20 -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/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/services/AiAccountService.ts +505 -0
- package/src/services/AiAnalyticsService.ts +6439 -0
- package/src/services/AiIndexService.ts +718 -0
- package/src/services/AiMarketingService.ts +96 -0
- package/src/services/AiMediaService.ts +289 -0
- package/src/services/AiMentorService.ts +8817 -0
- package/src/services/AiPromptService.ts +1980 -0
- package/src/services/AnalyticsService.ts +45 -16
- package/src/services/AudienceService.ts +380 -184
- package/src/services/CareerService.ts +144 -117
- package/src/services/CatalogService.ts +3995 -1332
- package/src/services/CoreService.ts +543 -286
- package/src/services/CredentialsService.ts +253 -173
- package/src/services/DepartmentsService.ts +56 -19
- package/src/services/EngagementService.ts +528 -236
- package/src/services/FeaturesService.ts +19 -10
- package/src/services/FinanceService.ts +54 -25
- package/src/services/MediaResourcesService.ts +251 -75
- package/src/services/NotificationBuilderService.ts +36 -22
- package/src/services/NotificationService.ts +73 -61
- package/src/services/OrgsService.ts +135 -106
- package/src/services/OverviewService.ts +172 -73
- package/src/services/PerformanceService.ts +153 -77
- package/src/services/PerlearnerService.ts +591 -279
- package/src/services/PlatformService.ts +278 -157
- package/src/services/ProviderAssociationService.ts +4 -3
- package/src/services/ProvidersService.ts +36 -27
- package/src/services/ProvisionService.ts +4 -3
- package/src/services/RecommendationsService.ts +5 -4
- package/src/services/ReportsService.ts +28 -22
- package/src/services/RolesService.ts +10 -8
- package/src/services/SearchService.ts +1553 -298
- package/src/services/ServiceService.ts +49 -39
- package/src/services/SkillsService.ts +56 -44
- package/src/services/UserGroupsService.ts +56 -19
|
@@ -31,25 +31,41 @@ export class EngagementService {
|
|
|
31
31
|
*
|
|
32
32
|
* Returns:
|
|
33
33
|
* A paginated list of courses with their engagement metrics.
|
|
34
|
-
* @param org
|
|
35
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
36
|
-
* @param format Format
|
|
37
|
-
*
|
|
38
|
-
* * `json` - json
|
|
39
|
-
* @param includeMainPlatform Include main platform data
|
|
40
|
-
* @param length Size of data to return
|
|
41
|
-
* @param page Page offset
|
|
42
34
|
* @returns EngagementPerCourse
|
|
43
35
|
* @throws ApiError
|
|
44
36
|
*/
|
|
45
|
-
public static engagementOrgsActivityRetrieve(
|
|
37
|
+
public static engagementOrgsActivityRetrieve({
|
|
38
|
+
org,
|
|
39
|
+
departmentId,
|
|
40
|
+
format = 'json',
|
|
41
|
+
includeMainPlatform = true,
|
|
42
|
+
length,
|
|
43
|
+
page,
|
|
44
|
+
}: {
|
|
46
45
|
org: string,
|
|
46
|
+
/**
|
|
47
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
48
|
+
*/
|
|
47
49
|
departmentId?: number,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
+
/**
|
|
51
|
+
* Format
|
|
52
|
+
*
|
|
53
|
+
* * `json` - json
|
|
54
|
+
*/
|
|
55
|
+
format?: 'json',
|
|
56
|
+
/**
|
|
57
|
+
* Include main platform data
|
|
58
|
+
*/
|
|
59
|
+
includeMainPlatform?: boolean,
|
|
60
|
+
/**
|
|
61
|
+
* Size of data to return
|
|
62
|
+
*/
|
|
50
63
|
length?: number,
|
|
64
|
+
/**
|
|
65
|
+
* Page offset
|
|
66
|
+
*/
|
|
51
67
|
page?: number,
|
|
52
|
-
): CancelablePromise<EngagementPerCourse> {
|
|
68
|
+
}): CancelablePromise<EngagementPerCourse> {
|
|
53
69
|
return __request(OpenAPI, {
|
|
54
70
|
method: 'GET',
|
|
55
71
|
url: '/api/engagement/orgs/{org}/activity',
|
|
@@ -73,25 +89,41 @@ export class EngagementService {
|
|
|
73
89
|
* 2. end_date e.g 2020-10-10
|
|
74
90
|
*
|
|
75
91
|
* Default result when no query param is added is last_7_days (today inclusive)
|
|
76
|
-
* @param org
|
|
77
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
78
|
-
* @param endDate end date. ISO 8601
|
|
79
|
-
* @param format Format
|
|
80
|
-
*
|
|
81
|
-
* * `json` - json
|
|
82
|
-
* @param includeMainPlatform Include main platform data
|
|
83
|
-
* @param startDate start date. ISO 8601
|
|
84
92
|
* @returns OvertimeWithChangeInfo
|
|
85
93
|
* @throws ApiError
|
|
86
94
|
*/
|
|
87
|
-
public static engagementOrgsCourseCompletionOverTimeRetrieve(
|
|
95
|
+
public static engagementOrgsCourseCompletionOverTimeRetrieve({
|
|
96
|
+
org,
|
|
97
|
+
departmentId,
|
|
98
|
+
endDate,
|
|
99
|
+
format = 'json',
|
|
100
|
+
includeMainPlatform = true,
|
|
101
|
+
startDate,
|
|
102
|
+
}: {
|
|
88
103
|
org: string,
|
|
104
|
+
/**
|
|
105
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
106
|
+
*/
|
|
89
107
|
departmentId?: number,
|
|
108
|
+
/**
|
|
109
|
+
* end date. ISO 8601
|
|
110
|
+
*/
|
|
90
111
|
endDate?: string,
|
|
91
|
-
|
|
92
|
-
|
|
112
|
+
/**
|
|
113
|
+
* Format
|
|
114
|
+
*
|
|
115
|
+
* * `json` - json
|
|
116
|
+
*/
|
|
117
|
+
format?: 'json',
|
|
118
|
+
/**
|
|
119
|
+
* Include main platform data
|
|
120
|
+
*/
|
|
121
|
+
includeMainPlatform?: boolean,
|
|
122
|
+
/**
|
|
123
|
+
* start date. ISO 8601
|
|
124
|
+
*/
|
|
93
125
|
startDate?: string,
|
|
94
|
-
): CancelablePromise<OvertimeWithChangeInfo> {
|
|
126
|
+
}): CancelablePromise<OvertimeWithChangeInfo> {
|
|
95
127
|
return __request(OpenAPI, {
|
|
96
128
|
method: 'GET',
|
|
97
129
|
url: '/api/engagement/orgs/{org}/course_completion/over-time',
|
|
@@ -119,25 +151,41 @@ export class EngagementService {
|
|
|
119
151
|
* - Enrollment count
|
|
120
152
|
* - Completion count
|
|
121
153
|
* - Average completion rate
|
|
122
|
-
* @param org
|
|
123
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
124
|
-
* @param format Format
|
|
125
|
-
*
|
|
126
|
-
* * `json` - json
|
|
127
|
-
* @param includeMainPlatform Include main platform data
|
|
128
|
-
* @param length Size of data to return
|
|
129
|
-
* @param page Page offset
|
|
130
154
|
* @returns CourseCompletionPerCourse
|
|
131
155
|
* @throws ApiError
|
|
132
156
|
*/
|
|
133
|
-
public static engagementOrgsCourseCompletionPerCourseRetrieve(
|
|
157
|
+
public static engagementOrgsCourseCompletionPerCourseRetrieve({
|
|
158
|
+
org,
|
|
159
|
+
departmentId,
|
|
160
|
+
format = 'json',
|
|
161
|
+
includeMainPlatform = true,
|
|
162
|
+
length,
|
|
163
|
+
page,
|
|
164
|
+
}: {
|
|
134
165
|
org: string,
|
|
166
|
+
/**
|
|
167
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
168
|
+
*/
|
|
135
169
|
departmentId?: number,
|
|
136
|
-
|
|
137
|
-
|
|
170
|
+
/**
|
|
171
|
+
* Format
|
|
172
|
+
*
|
|
173
|
+
* * `json` - json
|
|
174
|
+
*/
|
|
175
|
+
format?: 'json',
|
|
176
|
+
/**
|
|
177
|
+
* Include main platform data
|
|
178
|
+
*/
|
|
179
|
+
includeMainPlatform?: boolean,
|
|
180
|
+
/**
|
|
181
|
+
* Size of data to return
|
|
182
|
+
*/
|
|
138
183
|
length?: number,
|
|
184
|
+
/**
|
|
185
|
+
* Page offset
|
|
186
|
+
*/
|
|
139
187
|
page?: number,
|
|
140
|
-
): CancelablePromise<CourseCompletionPerCourse> {
|
|
188
|
+
}): CancelablePromise<CourseCompletionPerCourse> {
|
|
141
189
|
return __request(OpenAPI, {
|
|
142
190
|
method: 'GET',
|
|
143
191
|
url: '/api/engagement/orgs/{org}/course_completion/per-course',
|
|
@@ -162,27 +210,43 @@ export class EngagementService {
|
|
|
162
210
|
* 3. course_id <optional>
|
|
163
211
|
*
|
|
164
212
|
* Default result when no query param is added is last_7_days (today inclusive)
|
|
165
|
-
* @param courseId
|
|
166
|
-
* @param org
|
|
167
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
168
|
-
* @param endDate end date. ISO 8601
|
|
169
|
-
* @param format Format
|
|
170
|
-
*
|
|
171
|
-
* * `json` - json
|
|
172
|
-
* @param includeMainPlatform Include main platform data
|
|
173
|
-
* @param startDate start date. ISO 8601
|
|
174
213
|
* @returns AverageOvertime
|
|
175
214
|
* @throws ApiError
|
|
176
215
|
*/
|
|
177
|
-
public static engagementOrgsCoursesTimeAverageRetrieve(
|
|
216
|
+
public static engagementOrgsCoursesTimeAverageRetrieve({
|
|
217
|
+
courseId,
|
|
218
|
+
org,
|
|
219
|
+
departmentId,
|
|
220
|
+
endDate,
|
|
221
|
+
format = 'json',
|
|
222
|
+
includeMainPlatform = true,
|
|
223
|
+
startDate,
|
|
224
|
+
}: {
|
|
178
225
|
courseId: string,
|
|
179
226
|
org: string,
|
|
227
|
+
/**
|
|
228
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
229
|
+
*/
|
|
180
230
|
departmentId?: number,
|
|
231
|
+
/**
|
|
232
|
+
* end date. ISO 8601
|
|
233
|
+
*/
|
|
181
234
|
endDate?: string,
|
|
182
|
-
|
|
183
|
-
|
|
235
|
+
/**
|
|
236
|
+
* Format
|
|
237
|
+
*
|
|
238
|
+
* * `json` - json
|
|
239
|
+
*/
|
|
240
|
+
format?: 'json',
|
|
241
|
+
/**
|
|
242
|
+
* Include main platform data
|
|
243
|
+
*/
|
|
244
|
+
includeMainPlatform?: boolean,
|
|
245
|
+
/**
|
|
246
|
+
* start date. ISO 8601
|
|
247
|
+
*/
|
|
184
248
|
startDate?: string,
|
|
185
|
-
): CancelablePromise<AverageOvertime> {
|
|
249
|
+
}): CancelablePromise<AverageOvertime> {
|
|
186
250
|
return __request(OpenAPI, {
|
|
187
251
|
method: 'GET',
|
|
188
252
|
url: '/api/engagement/orgs/{org}/courses/{course_id}/time/average',
|
|
@@ -208,23 +272,33 @@ export class EngagementService {
|
|
|
208
272
|
* Query Params
|
|
209
273
|
* 1. start_date <optional> e.g 2020-10-01
|
|
210
274
|
* 2. end_date <optional> e.g 2020-10-10
|
|
211
|
-
* @param courseId
|
|
212
|
-
* @param org
|
|
213
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
214
|
-
* @param format Format
|
|
215
|
-
*
|
|
216
|
-
* * `json` - json
|
|
217
|
-
* @param includeMainPlatform Include main platform data
|
|
218
275
|
* @returns TimeDetail
|
|
219
276
|
* @throws ApiError
|
|
220
277
|
*/
|
|
221
|
-
public static engagementOrgsCoursesTimeDetailRetrieve(
|
|
278
|
+
public static engagementOrgsCoursesTimeDetailRetrieve({
|
|
279
|
+
courseId,
|
|
280
|
+
org,
|
|
281
|
+
departmentId,
|
|
282
|
+
format = 'json',
|
|
283
|
+
includeMainPlatform = true,
|
|
284
|
+
}: {
|
|
222
285
|
courseId: string,
|
|
223
286
|
org: string,
|
|
287
|
+
/**
|
|
288
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
289
|
+
*/
|
|
224
290
|
departmentId?: number,
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
291
|
+
/**
|
|
292
|
+
* Format
|
|
293
|
+
*
|
|
294
|
+
* * `json` - json
|
|
295
|
+
*/
|
|
296
|
+
format?: 'json',
|
|
297
|
+
/**
|
|
298
|
+
* Include main platform data
|
|
299
|
+
*/
|
|
300
|
+
includeMainPlatform?: boolean,
|
|
301
|
+
}): CancelablePromise<TimeDetail> {
|
|
228
302
|
return __request(OpenAPI, {
|
|
229
303
|
method: 'GET',
|
|
230
304
|
url: '/api/engagement/orgs/{org}/courses/{course_id}/time/detail',
|
|
@@ -249,27 +323,43 @@ export class EngagementService {
|
|
|
249
323
|
* 3. course_id
|
|
250
324
|
*
|
|
251
325
|
* Default result when no query param is added is last_7_days (today inclusive)
|
|
252
|
-
* @param courseId
|
|
253
|
-
* @param org
|
|
254
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
255
|
-
* @param endDate end date. ISO 8601
|
|
256
|
-
* @param format Format
|
|
257
|
-
*
|
|
258
|
-
* * `json` - json
|
|
259
|
-
* @param includeMainPlatform Include main platform data
|
|
260
|
-
* @param startDate start date. ISO 8601
|
|
261
326
|
* @returns OverTimeWithTotal
|
|
262
327
|
* @throws ApiError
|
|
263
328
|
*/
|
|
264
|
-
public static engagementOrgsCoursesTimeOverTimeRetrieve(
|
|
329
|
+
public static engagementOrgsCoursesTimeOverTimeRetrieve({
|
|
330
|
+
courseId,
|
|
331
|
+
org,
|
|
332
|
+
departmentId,
|
|
333
|
+
endDate,
|
|
334
|
+
format = 'json',
|
|
335
|
+
includeMainPlatform = true,
|
|
336
|
+
startDate,
|
|
337
|
+
}: {
|
|
265
338
|
courseId: string,
|
|
266
339
|
org: string,
|
|
340
|
+
/**
|
|
341
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
342
|
+
*/
|
|
267
343
|
departmentId?: number,
|
|
344
|
+
/**
|
|
345
|
+
* end date. ISO 8601
|
|
346
|
+
*/
|
|
268
347
|
endDate?: string,
|
|
269
|
-
|
|
270
|
-
|
|
348
|
+
/**
|
|
349
|
+
* Format
|
|
350
|
+
*
|
|
351
|
+
* * `json` - json
|
|
352
|
+
*/
|
|
353
|
+
format?: 'json',
|
|
354
|
+
/**
|
|
355
|
+
* Include main platform data
|
|
356
|
+
*/
|
|
357
|
+
includeMainPlatform?: boolean,
|
|
358
|
+
/**
|
|
359
|
+
* start date. ISO 8601
|
|
360
|
+
*/
|
|
271
361
|
startDate?: string,
|
|
272
|
-
): CancelablePromise<OverTimeWithTotal> {
|
|
362
|
+
}): CancelablePromise<OverTimeWithTotal> {
|
|
273
363
|
return __request(OpenAPI, {
|
|
274
364
|
method: 'GET',
|
|
275
365
|
url: '/api/engagement/orgs/{org}/courses/{course_id}/time/over-time',
|
|
@@ -291,31 +381,53 @@ export class EngagementService {
|
|
|
291
381
|
*
|
|
292
382
|
* Query Params
|
|
293
383
|
* course_id e.g course-v1:Org+Course4+Run
|
|
294
|
-
* @param courseId
|
|
295
|
-
* @param org
|
|
296
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
297
|
-
* @param endDate end date. ISO 8601
|
|
298
|
-
* @param format Format
|
|
299
|
-
*
|
|
300
|
-
* * `json` - json
|
|
301
|
-
* @param includeMainPlatform Include main platform data
|
|
302
|
-
* @param length Size of data to return
|
|
303
|
-
* @param page Page offset
|
|
304
|
-
* @param startDate start date. ISO 8601
|
|
305
384
|
* @returns TimeSpentByUsersInCourse
|
|
306
385
|
* @throws ApiError
|
|
307
386
|
*/
|
|
308
|
-
public static engagementOrgsCoursesTimeUsersRetrieve(
|
|
387
|
+
public static engagementOrgsCoursesTimeUsersRetrieve({
|
|
388
|
+
courseId,
|
|
389
|
+
org,
|
|
390
|
+
departmentId,
|
|
391
|
+
endDate,
|
|
392
|
+
format = 'json',
|
|
393
|
+
includeMainPlatform = true,
|
|
394
|
+
length,
|
|
395
|
+
page,
|
|
396
|
+
startDate,
|
|
397
|
+
}: {
|
|
309
398
|
courseId: string,
|
|
310
399
|
org: string,
|
|
400
|
+
/**
|
|
401
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
402
|
+
*/
|
|
311
403
|
departmentId?: number,
|
|
404
|
+
/**
|
|
405
|
+
* end date. ISO 8601
|
|
406
|
+
*/
|
|
312
407
|
endDate?: string,
|
|
313
|
-
|
|
314
|
-
|
|
408
|
+
/**
|
|
409
|
+
* Format
|
|
410
|
+
*
|
|
411
|
+
* * `json` - json
|
|
412
|
+
*/
|
|
413
|
+
format?: 'json',
|
|
414
|
+
/**
|
|
415
|
+
* Include main platform data
|
|
416
|
+
*/
|
|
417
|
+
includeMainPlatform?: boolean,
|
|
418
|
+
/**
|
|
419
|
+
* Size of data to return
|
|
420
|
+
*/
|
|
315
421
|
length?: number,
|
|
422
|
+
/**
|
|
423
|
+
* Page offset
|
|
424
|
+
*/
|
|
316
425
|
page?: number,
|
|
426
|
+
/**
|
|
427
|
+
* start date. ISO 8601
|
|
428
|
+
*/
|
|
317
429
|
startDate?: string,
|
|
318
|
-
): CancelablePromise<TimeSpentByUsersInCourse> {
|
|
430
|
+
}): CancelablePromise<TimeSpentByUsersInCourse> {
|
|
319
431
|
return __request(OpenAPI, {
|
|
320
432
|
method: 'GET',
|
|
321
433
|
url: '/api/engagement/orgs/{org}/courses/{course_id}/time/users',
|
|
@@ -343,29 +455,45 @@ export class EngagementService {
|
|
|
343
455
|
* Query Params
|
|
344
456
|
* 3. start_date <optional> e.g 2020-10-01
|
|
345
457
|
* 4. end_date <optional> e.g 2020-10-10
|
|
346
|
-
* @param courseId
|
|
347
|
-
* @param org
|
|
348
|
-
* @param userId
|
|
349
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
350
|
-
* @param endDate end date. ISO 8601
|
|
351
|
-
* @param format Format
|
|
352
|
-
*
|
|
353
|
-
* * `json` - json
|
|
354
|
-
* @param includeMainPlatform Include main platform data
|
|
355
|
-
* @param startDate start date. ISO 8601
|
|
356
458
|
* @returns PerLearnerTimeSpentInCourseTree
|
|
357
459
|
* @throws ApiError
|
|
358
460
|
*/
|
|
359
|
-
public static engagementOrgsCoursesTimeUsersDetailRetrieve(
|
|
461
|
+
public static engagementOrgsCoursesTimeUsersDetailRetrieve({
|
|
462
|
+
courseId,
|
|
463
|
+
org,
|
|
464
|
+
userId,
|
|
465
|
+
departmentId,
|
|
466
|
+
endDate,
|
|
467
|
+
format = 'json',
|
|
468
|
+
includeMainPlatform = true,
|
|
469
|
+
startDate,
|
|
470
|
+
}: {
|
|
360
471
|
courseId: string,
|
|
361
472
|
org: string,
|
|
362
473
|
userId: string,
|
|
474
|
+
/**
|
|
475
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
476
|
+
*/
|
|
363
477
|
departmentId?: number,
|
|
478
|
+
/**
|
|
479
|
+
* end date. ISO 8601
|
|
480
|
+
*/
|
|
364
481
|
endDate?: string,
|
|
365
|
-
|
|
366
|
-
|
|
482
|
+
/**
|
|
483
|
+
* Format
|
|
484
|
+
*
|
|
485
|
+
* * `json` - json
|
|
486
|
+
*/
|
|
487
|
+
format?: 'json',
|
|
488
|
+
/**
|
|
489
|
+
* Include main platform data
|
|
490
|
+
*/
|
|
491
|
+
includeMainPlatform?: boolean,
|
|
492
|
+
/**
|
|
493
|
+
* start date. ISO 8601
|
|
494
|
+
*/
|
|
367
495
|
startDate?: string,
|
|
368
|
-
): CancelablePromise<PerLearnerTimeSpentInCourseTree> {
|
|
496
|
+
}): CancelablePromise<PerLearnerTimeSpentInCourseTree> {
|
|
369
497
|
return __request(OpenAPI, {
|
|
370
498
|
method: 'GET',
|
|
371
499
|
url: '/api/engagement/orgs/{org}/courses/{course_id}/time/users/{user_id}/detail',
|
|
@@ -393,29 +521,45 @@ export class EngagementService {
|
|
|
393
521
|
* 4. end_date e.g 2020-10-10
|
|
394
522
|
*
|
|
395
523
|
* Default result when no query param is added is last_7_days (today inclusive)
|
|
396
|
-
* @param courseId
|
|
397
|
-
* @param org
|
|
398
|
-
* @param userId
|
|
399
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
400
|
-
* @param endDate end date. ISO 8601
|
|
401
|
-
* @param format Format
|
|
402
|
-
*
|
|
403
|
-
* * `json` - json
|
|
404
|
-
* @param includeMainPlatform Include main platform data
|
|
405
|
-
* @param startDate start date. ISO 8601
|
|
406
524
|
* @returns OverTimeWithTotal
|
|
407
525
|
* @throws ApiError
|
|
408
526
|
*/
|
|
409
|
-
public static engagementOrgsCoursesTimeUsersOverTimeRetrieve(
|
|
527
|
+
public static engagementOrgsCoursesTimeUsersOverTimeRetrieve({
|
|
528
|
+
courseId,
|
|
529
|
+
org,
|
|
530
|
+
userId,
|
|
531
|
+
departmentId,
|
|
532
|
+
endDate,
|
|
533
|
+
format = 'json',
|
|
534
|
+
includeMainPlatform = true,
|
|
535
|
+
startDate,
|
|
536
|
+
}: {
|
|
410
537
|
courseId: string,
|
|
411
538
|
org: string,
|
|
412
539
|
userId: string,
|
|
540
|
+
/**
|
|
541
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
542
|
+
*/
|
|
413
543
|
departmentId?: number,
|
|
544
|
+
/**
|
|
545
|
+
* end date. ISO 8601
|
|
546
|
+
*/
|
|
414
547
|
endDate?: string,
|
|
415
|
-
|
|
416
|
-
|
|
548
|
+
/**
|
|
549
|
+
* Format
|
|
550
|
+
*
|
|
551
|
+
* * `json` - json
|
|
552
|
+
*/
|
|
553
|
+
format?: 'json',
|
|
554
|
+
/**
|
|
555
|
+
* Include main platform data
|
|
556
|
+
*/
|
|
557
|
+
includeMainPlatform?: boolean,
|
|
558
|
+
/**
|
|
559
|
+
* start date. ISO 8601
|
|
560
|
+
*/
|
|
417
561
|
startDate?: string,
|
|
418
|
-
): CancelablePromise<OverTimeWithTotal> {
|
|
562
|
+
}): CancelablePromise<OverTimeWithTotal> {
|
|
419
563
|
return __request(OpenAPI, {
|
|
420
564
|
method: 'GET',
|
|
421
565
|
url: '/api/engagement/orgs/{org}/courses/{course_id}/time/users/{user_id}/over-time',
|
|
@@ -444,23 +588,33 @@ export class EngagementService {
|
|
|
444
588
|
*
|
|
445
589
|
* Returns:
|
|
446
590
|
* Detailed video engagement metrics for the specified course.
|
|
447
|
-
* @param courseId
|
|
448
|
-
* @param org
|
|
449
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
450
|
-
* @param format Format
|
|
451
|
-
*
|
|
452
|
-
* * `json` - json
|
|
453
|
-
* @param includeMainPlatform Include main platform data
|
|
454
591
|
* @returns VideosSpecificCourse
|
|
455
592
|
* @throws ApiError
|
|
456
593
|
*/
|
|
457
|
-
public static engagementOrgsCoursesVideosRetrieve(
|
|
594
|
+
public static engagementOrgsCoursesVideosRetrieve({
|
|
595
|
+
courseId,
|
|
596
|
+
org,
|
|
597
|
+
departmentId,
|
|
598
|
+
format = 'json',
|
|
599
|
+
includeMainPlatform = true,
|
|
600
|
+
}: {
|
|
458
601
|
courseId: string,
|
|
459
602
|
org: string,
|
|
603
|
+
/**
|
|
604
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
605
|
+
*/
|
|
460
606
|
departmentId?: number,
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
607
|
+
/**
|
|
608
|
+
* Format
|
|
609
|
+
*
|
|
610
|
+
* * `json` - json
|
|
611
|
+
*/
|
|
612
|
+
format?: 'json',
|
|
613
|
+
/**
|
|
614
|
+
* Include main platform data
|
|
615
|
+
*/
|
|
616
|
+
includeMainPlatform?: boolean,
|
|
617
|
+
}): CancelablePromise<VideosSpecificCourse> {
|
|
464
618
|
return __request(OpenAPI, {
|
|
465
619
|
method: 'GET',
|
|
466
620
|
url: '/api/engagement/orgs/{org}/courses/{course_id}/videos/',
|
|
@@ -495,27 +649,43 @@ export class EngagementService {
|
|
|
495
649
|
* Access Control:
|
|
496
650
|
* - Platform admins can access any video watch data
|
|
497
651
|
* - Learners can access their own video watch data
|
|
498
|
-
* @param courseId
|
|
499
|
-
* @param org
|
|
500
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
501
|
-
* @param endDate end date. ISO 8601
|
|
502
|
-
* @param format Format
|
|
503
|
-
*
|
|
504
|
-
* * `json` - json
|
|
505
|
-
* @param includeMainPlatform Include main platform data
|
|
506
|
-
* @param startDate start date. ISO 8601
|
|
507
652
|
* @returns OverTimeWithTotal
|
|
508
653
|
* @throws ApiError
|
|
509
654
|
*/
|
|
510
|
-
public static engagementOrgsCoursesVideosOverTimeRetrieve(
|
|
655
|
+
public static engagementOrgsCoursesVideosOverTimeRetrieve({
|
|
656
|
+
courseId,
|
|
657
|
+
org,
|
|
658
|
+
departmentId,
|
|
659
|
+
endDate,
|
|
660
|
+
format = 'json',
|
|
661
|
+
includeMainPlatform = true,
|
|
662
|
+
startDate,
|
|
663
|
+
}: {
|
|
511
664
|
courseId: string,
|
|
512
665
|
org: string,
|
|
666
|
+
/**
|
|
667
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
668
|
+
*/
|
|
513
669
|
departmentId?: number,
|
|
670
|
+
/**
|
|
671
|
+
* end date. ISO 8601
|
|
672
|
+
*/
|
|
514
673
|
endDate?: string,
|
|
515
|
-
|
|
516
|
-
|
|
674
|
+
/**
|
|
675
|
+
* Format
|
|
676
|
+
*
|
|
677
|
+
* * `json` - json
|
|
678
|
+
*/
|
|
679
|
+
format?: 'json',
|
|
680
|
+
/**
|
|
681
|
+
* Include main platform data
|
|
682
|
+
*/
|
|
683
|
+
includeMainPlatform?: boolean,
|
|
684
|
+
/**
|
|
685
|
+
* start date. ISO 8601
|
|
686
|
+
*/
|
|
517
687
|
startDate?: string,
|
|
518
|
-
): CancelablePromise<OverTimeWithTotal> {
|
|
688
|
+
}): CancelablePromise<OverTimeWithTotal> {
|
|
519
689
|
return __request(OpenAPI, {
|
|
520
690
|
method: 'GET',
|
|
521
691
|
url: '/api/engagement/orgs/{org}/courses/{course_id}/videos/over-time',
|
|
@@ -546,23 +716,33 @@ export class EngagementService {
|
|
|
546
716
|
* - Section and subsection organization
|
|
547
717
|
* - Video identification and metadata
|
|
548
718
|
* - Watch counts and completion rates
|
|
549
|
-
* @param courseId
|
|
550
|
-
* @param org
|
|
551
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
552
|
-
* @param format Format
|
|
553
|
-
*
|
|
554
|
-
* * `json` - json
|
|
555
|
-
* @param includeMainPlatform Include main platform data
|
|
556
719
|
* @returns VideosInCourseSummary
|
|
557
720
|
* @throws ApiError
|
|
558
721
|
*/
|
|
559
|
-
public static engagementOrgsCoursesVideosSummaryRetrieve(
|
|
722
|
+
public static engagementOrgsCoursesVideosSummaryRetrieve({
|
|
723
|
+
courseId,
|
|
724
|
+
org,
|
|
725
|
+
departmentId,
|
|
726
|
+
format = 'json',
|
|
727
|
+
includeMainPlatform = true,
|
|
728
|
+
}: {
|
|
560
729
|
courseId: string,
|
|
561
730
|
org: string,
|
|
731
|
+
/**
|
|
732
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
733
|
+
*/
|
|
562
734
|
departmentId?: number,
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
735
|
+
/**
|
|
736
|
+
* Format
|
|
737
|
+
*
|
|
738
|
+
* * `json` - json
|
|
739
|
+
*/
|
|
740
|
+
format?: 'json',
|
|
741
|
+
/**
|
|
742
|
+
* Include main platform data
|
|
743
|
+
*/
|
|
744
|
+
includeMainPlatform?: boolean,
|
|
745
|
+
}): CancelablePromise<VideosInCourseSummary> {
|
|
566
746
|
return __request(OpenAPI, {
|
|
567
747
|
method: 'GET',
|
|
568
748
|
url: '/api/engagement/orgs/{org}/courses/{course_id}/videos/summary',
|
|
@@ -582,23 +762,33 @@ export class EngagementService {
|
|
|
582
762
|
*
|
|
583
763
|
* Kwargs
|
|
584
764
|
* course_id e.g course-v1:Org+Course4+Run
|
|
585
|
-
* @param courseId
|
|
586
|
-
* @param org
|
|
587
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
588
|
-
* @param format Format
|
|
589
|
-
*
|
|
590
|
-
* * `json` - json
|
|
591
|
-
* @param includeMainPlatform Include main platform data
|
|
592
765
|
* @returns WatchedVideosPerUser
|
|
593
766
|
* @throws ApiError
|
|
594
767
|
*/
|
|
595
|
-
public static engagementOrgsCoursesVideosUsersRetrieve(
|
|
768
|
+
public static engagementOrgsCoursesVideosUsersRetrieve({
|
|
769
|
+
courseId,
|
|
770
|
+
org,
|
|
771
|
+
departmentId,
|
|
772
|
+
format = 'json',
|
|
773
|
+
includeMainPlatform = true,
|
|
774
|
+
}: {
|
|
596
775
|
courseId: string,
|
|
597
776
|
org: string,
|
|
777
|
+
/**
|
|
778
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
779
|
+
*/
|
|
598
780
|
departmentId?: number,
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
781
|
+
/**
|
|
782
|
+
* Format
|
|
783
|
+
*
|
|
784
|
+
* * `json` - json
|
|
785
|
+
*/
|
|
786
|
+
format?: 'json',
|
|
787
|
+
/**
|
|
788
|
+
* Include main platform data
|
|
789
|
+
*/
|
|
790
|
+
includeMainPlatform?: boolean,
|
|
791
|
+
}): CancelablePromise<WatchedVideosPerUser> {
|
|
602
792
|
return __request(OpenAPI, {
|
|
603
793
|
method: 'GET',
|
|
604
794
|
url: '/api/engagement/orgs/{org}/courses/{course_id}/videos/users',
|
|
@@ -620,25 +810,41 @@ export class EngagementService {
|
|
|
620
810
|
* Query Params
|
|
621
811
|
* 1. start_date e.g 2020-10-01
|
|
622
812
|
* 2. end_date e.g 2020-10-10
|
|
623
|
-
* @param org
|
|
624
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
625
|
-
* @param endDate end date. ISO 8601
|
|
626
|
-
* @param format Format
|
|
627
|
-
*
|
|
628
|
-
* * `json` - json
|
|
629
|
-
* @param includeMainPlatform Include main platform data
|
|
630
|
-
* @param startDate start date. ISO 8601
|
|
631
813
|
* @returns AverageOvertime
|
|
632
814
|
* @throws ApiError
|
|
633
815
|
*/
|
|
634
|
-
public static engagementOrgsTimeAveragePerlearnerPercourseRetrieve(
|
|
816
|
+
public static engagementOrgsTimeAveragePerlearnerPercourseRetrieve({
|
|
817
|
+
org,
|
|
818
|
+
departmentId,
|
|
819
|
+
endDate,
|
|
820
|
+
format = 'json',
|
|
821
|
+
includeMainPlatform = true,
|
|
822
|
+
startDate,
|
|
823
|
+
}: {
|
|
635
824
|
org: string,
|
|
825
|
+
/**
|
|
826
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
827
|
+
*/
|
|
636
828
|
departmentId?: number,
|
|
829
|
+
/**
|
|
830
|
+
* end date. ISO 8601
|
|
831
|
+
*/
|
|
637
832
|
endDate?: string,
|
|
638
|
-
|
|
639
|
-
|
|
833
|
+
/**
|
|
834
|
+
* Format
|
|
835
|
+
*
|
|
836
|
+
* * `json` - json
|
|
837
|
+
*/
|
|
838
|
+
format?: 'json',
|
|
839
|
+
/**
|
|
840
|
+
* Include main platform data
|
|
841
|
+
*/
|
|
842
|
+
includeMainPlatform?: boolean,
|
|
843
|
+
/**
|
|
844
|
+
* start date. ISO 8601
|
|
845
|
+
*/
|
|
640
846
|
startDate?: string,
|
|
641
|
-
): CancelablePromise<AverageOvertime> {
|
|
847
|
+
}): CancelablePromise<AverageOvertime> {
|
|
642
848
|
return __request(OpenAPI, {
|
|
643
849
|
method: 'GET',
|
|
644
850
|
url: '/api/engagement/orgs/{org}/time/average-perlearner-percourse',
|
|
@@ -663,25 +869,41 @@ export class EngagementService {
|
|
|
663
869
|
* 3. course_id <optional>
|
|
664
870
|
*
|
|
665
871
|
* Default result when no query param is added is last_7_days (today inclusive)
|
|
666
|
-
* @param org
|
|
667
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
668
|
-
* @param endDate end date. ISO 8601
|
|
669
|
-
* @param format Format
|
|
670
|
-
*
|
|
671
|
-
* * `json` - json
|
|
672
|
-
* @param includeMainPlatform Include main platform data
|
|
673
|
-
* @param startDate start date. ISO 8601
|
|
674
872
|
* @returns AverageOvertime
|
|
675
873
|
* @throws ApiError
|
|
676
874
|
*/
|
|
677
|
-
public static engagementOrgsTimeAverageWithOverTimeRetrieve(
|
|
875
|
+
public static engagementOrgsTimeAverageWithOverTimeRetrieve({
|
|
876
|
+
org,
|
|
877
|
+
departmentId,
|
|
878
|
+
endDate,
|
|
879
|
+
format = 'json',
|
|
880
|
+
includeMainPlatform = true,
|
|
881
|
+
startDate,
|
|
882
|
+
}: {
|
|
678
883
|
org: string,
|
|
884
|
+
/**
|
|
885
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
886
|
+
*/
|
|
679
887
|
departmentId?: number,
|
|
888
|
+
/**
|
|
889
|
+
* end date. ISO 8601
|
|
890
|
+
*/
|
|
680
891
|
endDate?: string,
|
|
681
|
-
|
|
682
|
-
|
|
892
|
+
/**
|
|
893
|
+
* Format
|
|
894
|
+
*
|
|
895
|
+
* * `json` - json
|
|
896
|
+
*/
|
|
897
|
+
format?: 'json',
|
|
898
|
+
/**
|
|
899
|
+
* Include main platform data
|
|
900
|
+
*/
|
|
901
|
+
includeMainPlatform?: boolean,
|
|
902
|
+
/**
|
|
903
|
+
* start date. ISO 8601
|
|
904
|
+
*/
|
|
683
905
|
startDate?: string,
|
|
684
|
-
): CancelablePromise<AverageOvertime> {
|
|
906
|
+
}): CancelablePromise<AverageOvertime> {
|
|
685
907
|
return __request(OpenAPI, {
|
|
686
908
|
method: 'GET',
|
|
687
909
|
url: '/api/engagement/orgs/{org}/time/average-with-over-time',
|
|
@@ -712,25 +934,41 @@ export class EngagementService {
|
|
|
712
934
|
* compared to previous periods.
|
|
713
935
|
*
|
|
714
936
|
* Default time range is the last 7 days if no dates are specified.
|
|
715
|
-
* @param org
|
|
716
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
717
|
-
* @param endDate end date. ISO 8601
|
|
718
|
-
* @param format Format
|
|
719
|
-
*
|
|
720
|
-
* * `json` - json
|
|
721
|
-
* @param includeMainPlatform Include main platform data
|
|
722
|
-
* @param startDate start date. ISO 8601
|
|
723
937
|
* @returns OvertimeWithChangeInfo
|
|
724
938
|
* @throws ApiError
|
|
725
939
|
*/
|
|
726
|
-
public static engagementOrgsTimeOverTimeRetrieve(
|
|
940
|
+
public static engagementOrgsTimeOverTimeRetrieve({
|
|
941
|
+
org,
|
|
942
|
+
departmentId,
|
|
943
|
+
endDate,
|
|
944
|
+
format = 'json',
|
|
945
|
+
includeMainPlatform = true,
|
|
946
|
+
startDate,
|
|
947
|
+
}: {
|
|
727
948
|
org: string,
|
|
949
|
+
/**
|
|
950
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
951
|
+
*/
|
|
728
952
|
departmentId?: number,
|
|
953
|
+
/**
|
|
954
|
+
* end date. ISO 8601
|
|
955
|
+
*/
|
|
729
956
|
endDate?: string,
|
|
730
|
-
|
|
731
|
-
|
|
957
|
+
/**
|
|
958
|
+
* Format
|
|
959
|
+
*
|
|
960
|
+
* * `json` - json
|
|
961
|
+
*/
|
|
962
|
+
format?: 'json',
|
|
963
|
+
/**
|
|
964
|
+
* Include main platform data
|
|
965
|
+
*/
|
|
966
|
+
includeMainPlatform?: boolean,
|
|
967
|
+
/**
|
|
968
|
+
* start date. ISO 8601
|
|
969
|
+
*/
|
|
732
970
|
startDate?: string,
|
|
733
|
-
): CancelablePromise<OvertimeWithChangeInfo> {
|
|
971
|
+
}): CancelablePromise<OvertimeWithChangeInfo> {
|
|
734
972
|
return __request(OpenAPI, {
|
|
735
973
|
method: 'GET',
|
|
736
974
|
url: '/api/engagement/orgs/{org}/time/over-time',
|
|
@@ -764,29 +1002,51 @@ export class EngagementService {
|
|
|
764
1002
|
* - Total time spent (in seconds)
|
|
765
1003
|
* - Formatted time spent (human-readable)
|
|
766
1004
|
* - Percentage of total platform time
|
|
767
|
-
* @param org
|
|
768
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
769
|
-
* @param endDate end date. ISO 8601
|
|
770
|
-
* @param format Format
|
|
771
|
-
*
|
|
772
|
-
* * `json` - json
|
|
773
|
-
* @param includeMainPlatform Include main platform data
|
|
774
|
-
* @param length Size of data to return
|
|
775
|
-
* @param page Page offset
|
|
776
|
-
* @param startDate start date. ISO 8601
|
|
777
1005
|
* @returns TimeSpentPerCourse
|
|
778
1006
|
* @throws ApiError
|
|
779
1007
|
*/
|
|
780
|
-
public static engagementOrgsTimePerCourseRetrieve(
|
|
1008
|
+
public static engagementOrgsTimePerCourseRetrieve({
|
|
1009
|
+
org,
|
|
1010
|
+
departmentId,
|
|
1011
|
+
endDate,
|
|
1012
|
+
format = 'json',
|
|
1013
|
+
includeMainPlatform = true,
|
|
1014
|
+
length,
|
|
1015
|
+
page,
|
|
1016
|
+
startDate,
|
|
1017
|
+
}: {
|
|
781
1018
|
org: string,
|
|
1019
|
+
/**
|
|
1020
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
1021
|
+
*/
|
|
782
1022
|
departmentId?: number,
|
|
1023
|
+
/**
|
|
1024
|
+
* end date. ISO 8601
|
|
1025
|
+
*/
|
|
783
1026
|
endDate?: string,
|
|
784
|
-
|
|
785
|
-
|
|
1027
|
+
/**
|
|
1028
|
+
* Format
|
|
1029
|
+
*
|
|
1030
|
+
* * `json` - json
|
|
1031
|
+
*/
|
|
1032
|
+
format?: 'json',
|
|
1033
|
+
/**
|
|
1034
|
+
* Include main platform data
|
|
1035
|
+
*/
|
|
1036
|
+
includeMainPlatform?: boolean,
|
|
1037
|
+
/**
|
|
1038
|
+
* Size of data to return
|
|
1039
|
+
*/
|
|
786
1040
|
length?: number,
|
|
1041
|
+
/**
|
|
1042
|
+
* Page offset
|
|
1043
|
+
*/
|
|
787
1044
|
page?: number,
|
|
1045
|
+
/**
|
|
1046
|
+
* start date. ISO 8601
|
|
1047
|
+
*/
|
|
788
1048
|
startDate?: string,
|
|
789
|
-
): CancelablePromise<TimeSpentPerCourse> {
|
|
1049
|
+
}): CancelablePromise<TimeSpentPerCourse> {
|
|
790
1050
|
return __request(OpenAPI, {
|
|
791
1051
|
method: 'GET',
|
|
792
1052
|
url: '/api/engagement/orgs/{org}/time/per-course',
|
|
@@ -816,25 +1076,41 @@ export class EngagementService {
|
|
|
816
1076
|
*
|
|
817
1077
|
* Returns:
|
|
818
1078
|
* A paginated list of courses with their video engagement metrics.
|
|
819
|
-
* @param org
|
|
820
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
821
|
-
* @param format Format
|
|
822
|
-
*
|
|
823
|
-
* * `json` - json
|
|
824
|
-
* @param includeMainPlatform Include main platform data
|
|
825
|
-
* @param length Size of data to return
|
|
826
|
-
* @param page Page offset
|
|
827
1079
|
* @returns VideoEngagementPerCourse
|
|
828
1080
|
* @throws ApiError
|
|
829
1081
|
*/
|
|
830
|
-
public static engagementOrgsVideosRetrieve(
|
|
1082
|
+
public static engagementOrgsVideosRetrieve({
|
|
1083
|
+
org,
|
|
1084
|
+
departmentId,
|
|
1085
|
+
format = 'json',
|
|
1086
|
+
includeMainPlatform = true,
|
|
1087
|
+
length,
|
|
1088
|
+
page,
|
|
1089
|
+
}: {
|
|
831
1090
|
org: string,
|
|
1091
|
+
/**
|
|
1092
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
1093
|
+
*/
|
|
832
1094
|
departmentId?: number,
|
|
833
|
-
|
|
834
|
-
|
|
1095
|
+
/**
|
|
1096
|
+
* Format
|
|
1097
|
+
*
|
|
1098
|
+
* * `json` - json
|
|
1099
|
+
*/
|
|
1100
|
+
format?: 'json',
|
|
1101
|
+
/**
|
|
1102
|
+
* Include main platform data
|
|
1103
|
+
*/
|
|
1104
|
+
includeMainPlatform?: boolean,
|
|
1105
|
+
/**
|
|
1106
|
+
* Size of data to return
|
|
1107
|
+
*/
|
|
835
1108
|
length?: number,
|
|
1109
|
+
/**
|
|
1110
|
+
* Page offset
|
|
1111
|
+
*/
|
|
836
1112
|
page?: number,
|
|
837
|
-
): CancelablePromise<VideoEngagementPerCourse> {
|
|
1113
|
+
}): CancelablePromise<VideoEngagementPerCourse> {
|
|
838
1114
|
return __request(OpenAPI, {
|
|
839
1115
|
method: 'GET',
|
|
840
1116
|
url: '/api/engagement/orgs/{org}/videos/',
|
|
@@ -870,25 +1146,41 @@ export class EngagementService {
|
|
|
870
1146
|
* Access Control:
|
|
871
1147
|
* - Platform admins can access any video watch data
|
|
872
1148
|
* - Learners can access their own video watch data
|
|
873
|
-
* @param org
|
|
874
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
875
|
-
* @param endDate end date. ISO 8601
|
|
876
|
-
* @param format Format
|
|
877
|
-
*
|
|
878
|
-
* * `json` - json
|
|
879
|
-
* @param includeMainPlatform Include main platform data
|
|
880
|
-
* @param startDate start date. ISO 8601
|
|
881
1149
|
* @returns OverTimeWithTotal
|
|
882
1150
|
* @throws ApiError
|
|
883
1151
|
*/
|
|
884
|
-
public static engagementOrgsVideosOverTimeRetrieve(
|
|
1152
|
+
public static engagementOrgsVideosOverTimeRetrieve({
|
|
1153
|
+
org,
|
|
1154
|
+
departmentId,
|
|
1155
|
+
endDate,
|
|
1156
|
+
format = 'json',
|
|
1157
|
+
includeMainPlatform = true,
|
|
1158
|
+
startDate,
|
|
1159
|
+
}: {
|
|
885
1160
|
org: string,
|
|
1161
|
+
/**
|
|
1162
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
1163
|
+
*/
|
|
886
1164
|
departmentId?: number,
|
|
1165
|
+
/**
|
|
1166
|
+
* end date. ISO 8601
|
|
1167
|
+
*/
|
|
887
1168
|
endDate?: string,
|
|
888
|
-
|
|
889
|
-
|
|
1169
|
+
/**
|
|
1170
|
+
* Format
|
|
1171
|
+
*
|
|
1172
|
+
* * `json` - json
|
|
1173
|
+
*/
|
|
1174
|
+
format?: 'json',
|
|
1175
|
+
/**
|
|
1176
|
+
* Include main platform data
|
|
1177
|
+
*/
|
|
1178
|
+
includeMainPlatform?: boolean,
|
|
1179
|
+
/**
|
|
1180
|
+
* start date. ISO 8601
|
|
1181
|
+
*/
|
|
890
1182
|
startDate?: string,
|
|
891
|
-
): CancelablePromise<OverTimeWithTotal> {
|
|
1183
|
+
}): CancelablePromise<OverTimeWithTotal> {
|
|
892
1184
|
return __request(OpenAPI, {
|
|
893
1185
|
method: 'GET',
|
|
894
1186
|
url: '/api/engagement/orgs/{org}/videos/over-time',
|