@iblai/iblai-api 3.48.3-core → 3.48.4-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 +19644 -2773
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +19636 -2774
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +19644 -2773
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +320 -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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/VoiceProviderEnum.d.ts +10 -0
- package/dist/types/models/WebResource.d.ts +9 -0
- package/dist/types/models/WebResourceCard.d.ts +7 -0
- package/dist/types/models/WebResourcesQuery.d.ts +3 -0
- package/dist/types/models/WebexConfig.d.ts +10 -0
- package/dist/types/models/WebexWebhook.d.ts +4 -0
- package/dist/types/models/WhatAppWebHook.d.ts +3 -0
- package/dist/types/models/WhatsappConfig.d.ts +11 -0
- package/dist/types/models/WhatsappUserConfig.d.ts +10 -0
- package/dist/types/services/AiAccountService.d.ts +319 -0
- package/dist/types/services/AiAnalyticsService.d.ts +3899 -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 +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 +320 -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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/VoiceProviderEnum.ts +14 -0
- package/src/models/WebResource.ts +14 -0
- package/src/models/WebResourceCard.ts +12 -0
- package/src/models/WebResourcesQuery.ts +8 -0
- package/src/models/WebexConfig.ts +15 -0
- package/src/models/WebexWebhook.ts +9 -0
- package/src/models/WhatAppWebHook.ts +8 -0
- package/src/models/WhatsappConfig.ts +16 -0
- package/src/models/WhatsappUserConfig.ts +15 -0
- package/src/services/AiAccountService.ts +505 -0
- package/src/services/AiAnalyticsService.ts +6439 -0
- package/src/services/AiBotService.ts +1330 -0
- package/src/services/AiFinetuningService.ts +472 -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
|
@@ -49,39 +49,76 @@ export class PerlearnerService {
|
|
|
49
49
|
* Access Control:
|
|
50
50
|
* - Platform admins can see all learners
|
|
51
51
|
* - Department admins can only see learners in their departments
|
|
52
|
-
* @param org
|
|
53
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
54
|
-
* @param endDate Learner date_joined end date. ISO 8601
|
|
55
|
-
* @param format Format
|
|
56
|
-
*
|
|
57
|
-
* * `json` - json
|
|
58
|
-
* @param includeMainPlatform Include main platform data
|
|
59
|
-
* @param isEnrolled Filter for users who have at least an enrollment
|
|
60
|
-
* @param length Size of data to return
|
|
61
|
-
* @param location Location search string
|
|
62
|
-
* @param page Page offset
|
|
63
|
-
* @param platform Platform search string
|
|
64
|
-
* @param program Program search string
|
|
65
|
-
* @param search Search string for learner. email, username or full name
|
|
66
|
-
* @param startDate Learner date_joined start date. ISO 8601
|
|
67
52
|
* @returns NewPerLearnerList
|
|
68
53
|
* @throws ApiError
|
|
69
54
|
*/
|
|
70
|
-
public static perlearnerOrgsLearnersRetrieve(
|
|
55
|
+
public static perlearnerOrgsLearnersRetrieve({
|
|
56
|
+
org,
|
|
57
|
+
departmentId,
|
|
58
|
+
endDate,
|
|
59
|
+
format = 'json',
|
|
60
|
+
includeMainPlatform = true,
|
|
61
|
+
isEnrolled,
|
|
62
|
+
length,
|
|
63
|
+
location,
|
|
64
|
+
page,
|
|
65
|
+
platform,
|
|
66
|
+
program,
|
|
67
|
+
search,
|
|
68
|
+
startDate,
|
|
69
|
+
}: {
|
|
71
70
|
org: string,
|
|
71
|
+
/**
|
|
72
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
73
|
+
*/
|
|
72
74
|
departmentId?: number,
|
|
75
|
+
/**
|
|
76
|
+
* Learner date_joined end date. ISO 8601
|
|
77
|
+
*/
|
|
73
78
|
endDate?: string,
|
|
74
|
-
|
|
75
|
-
|
|
79
|
+
/**
|
|
80
|
+
* Format
|
|
81
|
+
*
|
|
82
|
+
* * `json` - json
|
|
83
|
+
*/
|
|
84
|
+
format?: 'json',
|
|
85
|
+
/**
|
|
86
|
+
* Include main platform data
|
|
87
|
+
*/
|
|
88
|
+
includeMainPlatform?: boolean,
|
|
89
|
+
/**
|
|
90
|
+
* Filter for users who have at least an enrollment
|
|
91
|
+
*/
|
|
76
92
|
isEnrolled?: boolean | null,
|
|
93
|
+
/**
|
|
94
|
+
* Size of data to return
|
|
95
|
+
*/
|
|
77
96
|
length?: number,
|
|
97
|
+
/**
|
|
98
|
+
* Location search string
|
|
99
|
+
*/
|
|
78
100
|
location?: string,
|
|
101
|
+
/**
|
|
102
|
+
* Page offset
|
|
103
|
+
*/
|
|
79
104
|
page?: number,
|
|
105
|
+
/**
|
|
106
|
+
* Platform search string
|
|
107
|
+
*/
|
|
80
108
|
platform?: string,
|
|
109
|
+
/**
|
|
110
|
+
* Program search string
|
|
111
|
+
*/
|
|
81
112
|
program?: string,
|
|
113
|
+
/**
|
|
114
|
+
* Search string for learner. email, username or full name
|
|
115
|
+
*/
|
|
82
116
|
search?: string,
|
|
117
|
+
/**
|
|
118
|
+
* Learner date_joined start date. ISO 8601
|
|
119
|
+
*/
|
|
83
120
|
startDate?: string,
|
|
84
|
-
): CancelablePromise<NewPerLearnerList> {
|
|
121
|
+
}): CancelablePromise<NewPerLearnerList> {
|
|
85
122
|
return __request(OpenAPI, {
|
|
86
123
|
method: 'GET',
|
|
87
124
|
url: '/api/perlearner/orgs/{org}/learners',
|
|
@@ -119,27 +156,46 @@ export class PerlearnerService {
|
|
|
119
156
|
*
|
|
120
157
|
* Returns:
|
|
121
158
|
* A paginated list of learners with their associated metrics.
|
|
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
|
-
* @param search Search string for learner
|
|
131
159
|
* @returns PerlearnerUserList
|
|
132
160
|
* @throws ApiError
|
|
133
161
|
*/
|
|
134
|
-
public static perlearnerOrgsUsersRetrieve(
|
|
162
|
+
public static perlearnerOrgsUsersRetrieve({
|
|
163
|
+
org,
|
|
164
|
+
departmentId,
|
|
165
|
+
format = 'json',
|
|
166
|
+
includeMainPlatform = true,
|
|
167
|
+
length,
|
|
168
|
+
page,
|
|
169
|
+
search,
|
|
170
|
+
}: {
|
|
135
171
|
org: string,
|
|
172
|
+
/**
|
|
173
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
174
|
+
*/
|
|
136
175
|
departmentId?: number,
|
|
137
|
-
|
|
138
|
-
|
|
176
|
+
/**
|
|
177
|
+
* Format
|
|
178
|
+
*
|
|
179
|
+
* * `json` - json
|
|
180
|
+
*/
|
|
181
|
+
format?: 'json',
|
|
182
|
+
/**
|
|
183
|
+
* Include main platform data
|
|
184
|
+
*/
|
|
185
|
+
includeMainPlatform?: boolean,
|
|
186
|
+
/**
|
|
187
|
+
* Size of data to return
|
|
188
|
+
*/
|
|
139
189
|
length?: number,
|
|
190
|
+
/**
|
|
191
|
+
* Page offset
|
|
192
|
+
*/
|
|
140
193
|
page?: number,
|
|
194
|
+
/**
|
|
195
|
+
* Search string for learner
|
|
196
|
+
*/
|
|
141
197
|
search?: string,
|
|
142
|
-
): CancelablePromise<PerlearnerUserList> {
|
|
198
|
+
}): CancelablePromise<PerlearnerUserList> {
|
|
143
199
|
return __request(OpenAPI, {
|
|
144
200
|
method: 'GET',
|
|
145
201
|
url: '/api/perlearner/orgs/{org}/users',
|
|
@@ -161,23 +217,33 @@ export class PerlearnerService {
|
|
|
161
217
|
*
|
|
162
218
|
* Params
|
|
163
219
|
* user_id e.g developer@ibleducation.com| developer
|
|
164
|
-
* @param org
|
|
165
|
-
* @param userId
|
|
166
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
167
|
-
* @param format Format
|
|
168
|
-
*
|
|
169
|
-
* * `json` - json
|
|
170
|
-
* @param includeMainPlatform Include main platform data
|
|
171
220
|
* @returns ActivityAPI
|
|
172
221
|
* @throws ApiError
|
|
173
222
|
*/
|
|
174
|
-
public static perlearnerOrgsUsersActivityRetrieve(
|
|
223
|
+
public static perlearnerOrgsUsersActivityRetrieve({
|
|
224
|
+
org,
|
|
225
|
+
userId,
|
|
226
|
+
departmentId,
|
|
227
|
+
format = 'json',
|
|
228
|
+
includeMainPlatform = true,
|
|
229
|
+
}: {
|
|
175
230
|
org: string,
|
|
176
231
|
userId: string,
|
|
232
|
+
/**
|
|
233
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
234
|
+
*/
|
|
177
235
|
departmentId?: number,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
236
|
+
/**
|
|
237
|
+
* Format
|
|
238
|
+
*
|
|
239
|
+
* * `json` - json
|
|
240
|
+
*/
|
|
241
|
+
format?: 'json',
|
|
242
|
+
/**
|
|
243
|
+
* Include main platform data
|
|
244
|
+
*/
|
|
245
|
+
includeMainPlatform?: boolean,
|
|
246
|
+
}): CancelablePromise<ActivityAPI> {
|
|
181
247
|
return __request(OpenAPI, {
|
|
182
248
|
method: 'GET',
|
|
183
249
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/activity/',
|
|
@@ -197,29 +263,45 @@ export class PerlearnerService {
|
|
|
197
263
|
* Kwargs
|
|
198
264
|
* 1. course_id e.g course-v1:Org+Course4+Run
|
|
199
265
|
* 2. user_id e.g developer@ibleducation.com or dev123 (username|email)
|
|
200
|
-
* @param courseId
|
|
201
|
-
* @param org
|
|
202
|
-
* @param userId
|
|
203
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
204
|
-
* @param endDate end date. ISO 8601
|
|
205
|
-
* @param format Format
|
|
206
|
-
*
|
|
207
|
-
* * `json` - json
|
|
208
|
-
* @param includeMainPlatform Include main platform data
|
|
209
|
-
* @param startDate start date. ISO 8601
|
|
210
266
|
* @returns PerlearnerGradeWithCutOff
|
|
211
267
|
* @throws ApiError
|
|
212
268
|
*/
|
|
213
|
-
public static perlearnerOrgsUsersCoursesGradingCutoffsRetrieve(
|
|
269
|
+
public static perlearnerOrgsUsersCoursesGradingCutoffsRetrieve({
|
|
270
|
+
courseId,
|
|
271
|
+
org,
|
|
272
|
+
userId,
|
|
273
|
+
departmentId,
|
|
274
|
+
endDate,
|
|
275
|
+
format = 'json',
|
|
276
|
+
includeMainPlatform = true,
|
|
277
|
+
startDate,
|
|
278
|
+
}: {
|
|
214
279
|
courseId: string,
|
|
215
280
|
org: string,
|
|
216
281
|
userId: string,
|
|
282
|
+
/**
|
|
283
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
284
|
+
*/
|
|
217
285
|
departmentId?: number,
|
|
286
|
+
/**
|
|
287
|
+
* end date. ISO 8601
|
|
288
|
+
*/
|
|
218
289
|
endDate?: string,
|
|
219
|
-
|
|
220
|
-
|
|
290
|
+
/**
|
|
291
|
+
* Format
|
|
292
|
+
*
|
|
293
|
+
* * `json` - json
|
|
294
|
+
*/
|
|
295
|
+
format?: 'json',
|
|
296
|
+
/**
|
|
297
|
+
* Include main platform data
|
|
298
|
+
*/
|
|
299
|
+
includeMainPlatform?: boolean,
|
|
300
|
+
/**
|
|
301
|
+
* start date. ISO 8601
|
|
302
|
+
*/
|
|
221
303
|
startDate?: string,
|
|
222
|
-
): CancelablePromise<PerlearnerGradeWithCutOff> {
|
|
304
|
+
}): CancelablePromise<PerlearnerGradeWithCutOff> {
|
|
223
305
|
return __request(OpenAPI, {
|
|
224
306
|
method: 'GET',
|
|
225
307
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/courses/{course_id}/grading/cutoffs',
|
|
@@ -239,29 +321,45 @@ export class PerlearnerService {
|
|
|
239
321
|
}
|
|
240
322
|
/**
|
|
241
323
|
* Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
|
|
242
|
-
* @param courseId
|
|
243
|
-
* @param org
|
|
244
|
-
* @param userId
|
|
245
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
246
|
-
* @param endDate end date. ISO 8601
|
|
247
|
-
* @param format Format
|
|
248
|
-
*
|
|
249
|
-
* * `json` - json
|
|
250
|
-
* @param includeMainPlatform Include main platform data
|
|
251
|
-
* @param startDate start date. ISO 8601
|
|
252
324
|
* @returns DetailedGradeView
|
|
253
325
|
* @throws ApiError
|
|
254
326
|
*/
|
|
255
|
-
public static perlearnerOrgsUsersCoursesGradingDetailRetrieve(
|
|
327
|
+
public static perlearnerOrgsUsersCoursesGradingDetailRetrieve({
|
|
328
|
+
courseId,
|
|
329
|
+
org,
|
|
330
|
+
userId,
|
|
331
|
+
departmentId,
|
|
332
|
+
endDate,
|
|
333
|
+
format = 'json',
|
|
334
|
+
includeMainPlatform = true,
|
|
335
|
+
startDate,
|
|
336
|
+
}: {
|
|
256
337
|
courseId: string,
|
|
257
338
|
org: string,
|
|
258
339
|
userId: string,
|
|
340
|
+
/**
|
|
341
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
342
|
+
*/
|
|
259
343
|
departmentId?: number,
|
|
344
|
+
/**
|
|
345
|
+
* end date. ISO 8601
|
|
346
|
+
*/
|
|
260
347
|
endDate?: string,
|
|
261
|
-
|
|
262
|
-
|
|
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
|
+
*/
|
|
263
361
|
startDate?: string,
|
|
264
|
-
): CancelablePromise<DetailedGradeView> {
|
|
362
|
+
}): CancelablePromise<DetailedGradeView> {
|
|
265
363
|
return __request(OpenAPI, {
|
|
266
364
|
method: 'GET',
|
|
267
365
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/courses/{course_id}/grading/detail',
|
|
@@ -283,29 +381,45 @@ export class PerlearnerService {
|
|
|
283
381
|
* Query Params
|
|
284
382
|
* 1. course_id e.g course-v1:Org+Course4+Run
|
|
285
383
|
* 2. user_id e.g developer@ibleducation.com or dev123 (username|email)
|
|
286
|
-
* @param courseId
|
|
287
|
-
* @param org
|
|
288
|
-
* @param userId
|
|
289
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
290
|
-
* @param endDate end date. ISO 8601
|
|
291
|
-
* @param format Format
|
|
292
|
-
*
|
|
293
|
-
* * `json` - json
|
|
294
|
-
* @param includeMainPlatform Include main platform data
|
|
295
|
-
* @param startDate start date. ISO 8601
|
|
296
384
|
* @returns PerlearnerGradeSummary
|
|
297
385
|
* @throws ApiError
|
|
298
386
|
*/
|
|
299
|
-
public static perlearnerOrgsUsersCoursesGradingSummaryRetrieve(
|
|
387
|
+
public static perlearnerOrgsUsersCoursesGradingSummaryRetrieve({
|
|
388
|
+
courseId,
|
|
389
|
+
org,
|
|
390
|
+
userId,
|
|
391
|
+
departmentId,
|
|
392
|
+
endDate,
|
|
393
|
+
format = 'json',
|
|
394
|
+
includeMainPlatform = true,
|
|
395
|
+
startDate,
|
|
396
|
+
}: {
|
|
300
397
|
courseId: string,
|
|
301
398
|
org: string,
|
|
302
399
|
userId: string,
|
|
400
|
+
/**
|
|
401
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
402
|
+
*/
|
|
303
403
|
departmentId?: number,
|
|
404
|
+
/**
|
|
405
|
+
* end date. ISO 8601
|
|
406
|
+
*/
|
|
304
407
|
endDate?: string,
|
|
305
|
-
|
|
306
|
-
|
|
408
|
+
/**
|
|
409
|
+
* Format
|
|
410
|
+
*
|
|
411
|
+
* * `json` - json
|
|
412
|
+
*/
|
|
413
|
+
format?: 'json',
|
|
414
|
+
/**
|
|
415
|
+
* Include main platform data
|
|
416
|
+
*/
|
|
417
|
+
includeMainPlatform?: boolean,
|
|
418
|
+
/**
|
|
419
|
+
* start date. ISO 8601
|
|
420
|
+
*/
|
|
307
421
|
startDate?: string,
|
|
308
|
-
): CancelablePromise<PerlearnerGradeSummary> {
|
|
422
|
+
}): CancelablePromise<PerlearnerGradeSummary> {
|
|
309
423
|
return __request(OpenAPI, {
|
|
310
424
|
method: 'GET',
|
|
311
425
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/courses/{course_id}/grading/summary',
|
|
@@ -325,17 +439,18 @@ export class PerlearnerService {
|
|
|
325
439
|
}
|
|
326
440
|
/**
|
|
327
441
|
* Average of days with atleast an activity within ENGAGEMENT_INDEX_PERIOD consecutive days for a learner in a course
|
|
328
|
-
* @param courseId
|
|
329
|
-
* @param org
|
|
330
|
-
* @param userId
|
|
331
442
|
* @returns Value
|
|
332
443
|
* @throws ApiError
|
|
333
444
|
*/
|
|
334
|
-
public static perlearnerOrgsUsersCoursesOverviewEngagementIndexRetrieve(
|
|
445
|
+
public static perlearnerOrgsUsersCoursesOverviewEngagementIndexRetrieve({
|
|
446
|
+
courseId,
|
|
447
|
+
org,
|
|
448
|
+
userId,
|
|
449
|
+
}: {
|
|
335
450
|
courseId: string,
|
|
336
451
|
org: string,
|
|
337
452
|
userId: string,
|
|
338
|
-
): CancelablePromise<Value> {
|
|
453
|
+
}): CancelablePromise<Value> {
|
|
339
454
|
return __request(OpenAPI, {
|
|
340
455
|
method: 'GET',
|
|
341
456
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/courses/{course_id}/overview/engagement-index',
|
|
@@ -351,29 +466,45 @@ export class PerlearnerService {
|
|
|
351
466
|
* Kwargs
|
|
352
467
|
* 1. course_id e.g course-v1:Org+Course4+Run
|
|
353
468
|
* 2. user_id e.g developer@ibleducation.com or dev123 (username|email)
|
|
354
|
-
* @param courseId
|
|
355
|
-
* @param org
|
|
356
|
-
* @param userId
|
|
357
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
358
|
-
* @param endDate end date. ISO 8601
|
|
359
|
-
* @param format Format
|
|
360
|
-
*
|
|
361
|
-
* * `json` - json
|
|
362
|
-
* @param includeMainPlatform Include main platform data
|
|
363
|
-
* @param startDate start date. ISO 8601
|
|
364
469
|
* @returns PerlearnerGradeWithCutOff
|
|
365
470
|
* @throws ApiError
|
|
366
471
|
*/
|
|
367
|
-
public static perlearnerOrgsUsersCoursesOverviewGradeRetrieve(
|
|
472
|
+
public static perlearnerOrgsUsersCoursesOverviewGradeRetrieve({
|
|
473
|
+
courseId,
|
|
474
|
+
org,
|
|
475
|
+
userId,
|
|
476
|
+
departmentId,
|
|
477
|
+
endDate,
|
|
478
|
+
format = 'json',
|
|
479
|
+
includeMainPlatform = true,
|
|
480
|
+
startDate,
|
|
481
|
+
}: {
|
|
368
482
|
courseId: string,
|
|
369
483
|
org: string,
|
|
370
484
|
userId: string,
|
|
485
|
+
/**
|
|
486
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
487
|
+
*/
|
|
371
488
|
departmentId?: number,
|
|
489
|
+
/**
|
|
490
|
+
* end date. ISO 8601
|
|
491
|
+
*/
|
|
372
492
|
endDate?: string,
|
|
373
|
-
|
|
374
|
-
|
|
493
|
+
/**
|
|
494
|
+
* Format
|
|
495
|
+
*
|
|
496
|
+
* * `json` - json
|
|
497
|
+
*/
|
|
498
|
+
format?: 'json',
|
|
499
|
+
/**
|
|
500
|
+
* Include main platform data
|
|
501
|
+
*/
|
|
502
|
+
includeMainPlatform?: boolean,
|
|
503
|
+
/**
|
|
504
|
+
* start date. ISO 8601
|
|
505
|
+
*/
|
|
375
506
|
startDate?: string,
|
|
376
|
-
): CancelablePromise<PerlearnerGradeWithCutOff> {
|
|
507
|
+
}): CancelablePromise<PerlearnerGradeWithCutOff> {
|
|
377
508
|
return __request(OpenAPI, {
|
|
378
509
|
method: 'GET',
|
|
379
510
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/courses/{course_id}/overview/grade',
|
|
@@ -397,29 +528,45 @@ export class PerlearnerService {
|
|
|
397
528
|
* Query Params
|
|
398
529
|
* course_id <optional>
|
|
399
530
|
* learner_id <optional>
|
|
400
|
-
* @param courseId
|
|
401
|
-
* @param org
|
|
402
|
-
* @param userId
|
|
403
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
404
|
-
* @param endDate end date. ISO 8601
|
|
405
|
-
* @param format Format
|
|
406
|
-
*
|
|
407
|
-
* * `json` - json
|
|
408
|
-
* @param includeMainPlatform Include main platform data
|
|
409
|
-
* @param startDate start date. ISO 8601
|
|
410
531
|
* @returns Value
|
|
411
532
|
* @throws ApiError
|
|
412
533
|
*/
|
|
413
|
-
public static perlearnerOrgsUsersCoursesOverviewPerformanceIndexRetrieve(
|
|
534
|
+
public static perlearnerOrgsUsersCoursesOverviewPerformanceIndexRetrieve({
|
|
535
|
+
courseId,
|
|
536
|
+
org,
|
|
537
|
+
userId,
|
|
538
|
+
departmentId,
|
|
539
|
+
endDate,
|
|
540
|
+
format = 'json',
|
|
541
|
+
includeMainPlatform = true,
|
|
542
|
+
startDate,
|
|
543
|
+
}: {
|
|
414
544
|
courseId: string,
|
|
415
545
|
org: string,
|
|
416
546
|
userId: string,
|
|
547
|
+
/**
|
|
548
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
549
|
+
*/
|
|
417
550
|
departmentId?: number,
|
|
551
|
+
/**
|
|
552
|
+
* end date. ISO 8601
|
|
553
|
+
*/
|
|
418
554
|
endDate?: string,
|
|
419
|
-
|
|
420
|
-
|
|
555
|
+
/**
|
|
556
|
+
* Format
|
|
557
|
+
*
|
|
558
|
+
* * `json` - json
|
|
559
|
+
*/
|
|
560
|
+
format?: 'json',
|
|
561
|
+
/**
|
|
562
|
+
* Include main platform data
|
|
563
|
+
*/
|
|
564
|
+
includeMainPlatform?: boolean,
|
|
565
|
+
/**
|
|
566
|
+
* start date. ISO 8601
|
|
567
|
+
*/
|
|
421
568
|
startDate?: string,
|
|
422
|
-
): CancelablePromise<Value> {
|
|
569
|
+
}): CancelablePromise<Value> {
|
|
423
570
|
return __request(OpenAPI, {
|
|
424
571
|
method: 'GET',
|
|
425
572
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/courses/{course_id}/overview/performance-index',
|
|
@@ -448,29 +595,45 @@ export class PerlearnerService {
|
|
|
448
595
|
* 4. end_date e.g 2020-10-10
|
|
449
596
|
*
|
|
450
597
|
* Default result when no query param is added is last_7_days (today inclusive)
|
|
451
|
-
* @param courseId
|
|
452
|
-
* @param org
|
|
453
|
-
* @param userId
|
|
454
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
455
|
-
* @param endDate end date. ISO 8601
|
|
456
|
-
* @param format Format
|
|
457
|
-
*
|
|
458
|
-
* * `json` - json
|
|
459
|
-
* @param includeMainPlatform Include main platform data
|
|
460
|
-
* @param startDate start date. ISO 8601
|
|
461
598
|
* @returns OverTimeWithTotal
|
|
462
599
|
* @throws ApiError
|
|
463
600
|
*/
|
|
464
|
-
public static perlearnerOrgsUsersCoursesOverviewTimeOverTimeRetrieve(
|
|
601
|
+
public static perlearnerOrgsUsersCoursesOverviewTimeOverTimeRetrieve({
|
|
602
|
+
courseId,
|
|
603
|
+
org,
|
|
604
|
+
userId,
|
|
605
|
+
departmentId,
|
|
606
|
+
endDate,
|
|
607
|
+
format = 'json',
|
|
608
|
+
includeMainPlatform = true,
|
|
609
|
+
startDate,
|
|
610
|
+
}: {
|
|
465
611
|
courseId: string,
|
|
466
612
|
org: string,
|
|
467
613
|
userId: string,
|
|
614
|
+
/**
|
|
615
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
616
|
+
*/
|
|
468
617
|
departmentId?: number,
|
|
618
|
+
/**
|
|
619
|
+
* end date. ISO 8601
|
|
620
|
+
*/
|
|
469
621
|
endDate?: string,
|
|
470
|
-
|
|
471
|
-
|
|
622
|
+
/**
|
|
623
|
+
* Format
|
|
624
|
+
*
|
|
625
|
+
* * `json` - json
|
|
626
|
+
*/
|
|
627
|
+
format?: 'json',
|
|
628
|
+
/**
|
|
629
|
+
* Include main platform data
|
|
630
|
+
*/
|
|
631
|
+
includeMainPlatform?: boolean,
|
|
632
|
+
/**
|
|
633
|
+
* start date. ISO 8601
|
|
634
|
+
*/
|
|
472
635
|
startDate?: string,
|
|
473
|
-
): CancelablePromise<OverTimeWithTotal> {
|
|
636
|
+
}): CancelablePromise<OverTimeWithTotal> {
|
|
474
637
|
return __request(OpenAPI, {
|
|
475
638
|
method: 'GET',
|
|
476
639
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/courses/{course_id}/overview/time/over-time',
|
|
@@ -496,25 +659,35 @@ export class PerlearnerService {
|
|
|
496
659
|
* 2. user_id e.g developer@ibleducation.com or dev123 (username|email)
|
|
497
660
|
*
|
|
498
661
|
* Default result when no query param is added is [], 0
|
|
499
|
-
* @param courseId
|
|
500
|
-
* @param org
|
|
501
|
-
* @param userId
|
|
502
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
503
|
-
* @param format Format
|
|
504
|
-
*
|
|
505
|
-
* * `json` - json
|
|
506
|
-
* @param includeMainPlatform Include main platform data
|
|
507
662
|
* @returns PerLearnerCourseVideosWatched
|
|
508
663
|
* @throws ApiError
|
|
509
664
|
*/
|
|
510
|
-
public static perlearnerOrgsUsersCoursesVideosRetrieve(
|
|
665
|
+
public static perlearnerOrgsUsersCoursesVideosRetrieve({
|
|
666
|
+
courseId,
|
|
667
|
+
org,
|
|
668
|
+
userId,
|
|
669
|
+
departmentId,
|
|
670
|
+
format = 'json',
|
|
671
|
+
includeMainPlatform = true,
|
|
672
|
+
}: {
|
|
511
673
|
courseId: string,
|
|
512
674
|
org: string,
|
|
513
675
|
userId: string,
|
|
676
|
+
/**
|
|
677
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
678
|
+
*/
|
|
514
679
|
departmentId?: number,
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
680
|
+
/**
|
|
681
|
+
* Format
|
|
682
|
+
*
|
|
683
|
+
* * `json` - json
|
|
684
|
+
*/
|
|
685
|
+
format?: 'json',
|
|
686
|
+
/**
|
|
687
|
+
* Include main platform data
|
|
688
|
+
*/
|
|
689
|
+
includeMainPlatform?: boolean,
|
|
690
|
+
}): CancelablePromise<PerLearnerCourseVideosWatched> {
|
|
518
691
|
return __request(OpenAPI, {
|
|
519
692
|
method: 'GET',
|
|
520
693
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/courses/{course_id}/videos',
|
|
@@ -550,29 +723,45 @@ export class PerlearnerService {
|
|
|
550
723
|
* Access Control:
|
|
551
724
|
* - Platform admins can access any video watch data
|
|
552
725
|
* - Learners can access their own video watch data
|
|
553
|
-
* @param courseId
|
|
554
|
-
* @param org
|
|
555
|
-
* @param userId
|
|
556
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
557
|
-
* @param endDate end date. ISO 8601
|
|
558
|
-
* @param format Format
|
|
559
|
-
*
|
|
560
|
-
* * `json` - json
|
|
561
|
-
* @param includeMainPlatform Include main platform data
|
|
562
|
-
* @param startDate start date. ISO 8601
|
|
563
726
|
* @returns OverTimeWithTotal
|
|
564
727
|
* @throws ApiError
|
|
565
728
|
*/
|
|
566
|
-
public static perlearnerOrgsUsersCoursesVideosOverTimeRetrieve(
|
|
729
|
+
public static perlearnerOrgsUsersCoursesVideosOverTimeRetrieve({
|
|
730
|
+
courseId,
|
|
731
|
+
org,
|
|
732
|
+
userId,
|
|
733
|
+
departmentId,
|
|
734
|
+
endDate,
|
|
735
|
+
format = 'json',
|
|
736
|
+
includeMainPlatform = true,
|
|
737
|
+
startDate,
|
|
738
|
+
}: {
|
|
567
739
|
courseId: string,
|
|
568
740
|
org: string,
|
|
569
741
|
userId: string,
|
|
742
|
+
/**
|
|
743
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
744
|
+
*/
|
|
570
745
|
departmentId?: number,
|
|
746
|
+
/**
|
|
747
|
+
* end date. ISO 8601
|
|
748
|
+
*/
|
|
571
749
|
endDate?: string,
|
|
572
|
-
|
|
573
|
-
|
|
750
|
+
/**
|
|
751
|
+
* Format
|
|
752
|
+
*
|
|
753
|
+
* * `json` - json
|
|
754
|
+
*/
|
|
755
|
+
format?: 'json',
|
|
756
|
+
/**
|
|
757
|
+
* Include main platform data
|
|
758
|
+
*/
|
|
759
|
+
includeMainPlatform?: boolean,
|
|
760
|
+
/**
|
|
761
|
+
* start date. ISO 8601
|
|
762
|
+
*/
|
|
574
763
|
startDate?: string,
|
|
575
|
-
): CancelablePromise<OverTimeWithTotal> {
|
|
764
|
+
}): CancelablePromise<OverTimeWithTotal> {
|
|
576
765
|
return __request(OpenAPI, {
|
|
577
766
|
method: 'GET',
|
|
578
767
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/courses/{course_id}/videos/over-time',
|
|
@@ -595,23 +784,33 @@ export class PerlearnerService {
|
|
|
595
784
|
*
|
|
596
785
|
* Query Params
|
|
597
786
|
* 1. user_id e.g developer@ibleducation.com or dev123 (username|email)
|
|
598
|
-
* @param org
|
|
599
|
-
* @param userId
|
|
600
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
601
|
-
* @param format Format
|
|
602
|
-
*
|
|
603
|
-
* * `json` - json
|
|
604
|
-
* @param includeMainPlatform Include main platform data
|
|
605
787
|
* @returns PerlearnerGradingPerCourseAPI
|
|
606
788
|
* @throws ApiError
|
|
607
789
|
*/
|
|
608
|
-
public static perlearnerOrgsUsersGradesPerCourseRetrieve(
|
|
790
|
+
public static perlearnerOrgsUsersGradesPerCourseRetrieve({
|
|
791
|
+
org,
|
|
792
|
+
userId,
|
|
793
|
+
departmentId,
|
|
794
|
+
format = 'json',
|
|
795
|
+
includeMainPlatform = true,
|
|
796
|
+
}: {
|
|
609
797
|
org: string,
|
|
610
798
|
userId: string,
|
|
799
|
+
/**
|
|
800
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
801
|
+
*/
|
|
611
802
|
departmentId?: number,
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
803
|
+
/**
|
|
804
|
+
* Format
|
|
805
|
+
*
|
|
806
|
+
* * `json` - json
|
|
807
|
+
*/
|
|
808
|
+
format?: 'json',
|
|
809
|
+
/**
|
|
810
|
+
* Include main platform data
|
|
811
|
+
*/
|
|
812
|
+
includeMainPlatform?: boolean,
|
|
813
|
+
}): CancelablePromise<PerlearnerGradingPerCourseAPI> {
|
|
615
814
|
return __request(OpenAPI, {
|
|
616
815
|
method: 'GET',
|
|
617
816
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/grades/per-course',
|
|
@@ -649,36 +848,49 @@ export class PerlearnerService {
|
|
|
649
848
|
* - Platform admins can access any learner
|
|
650
849
|
* - Learners can access their own information
|
|
651
850
|
* - Department admins can access learners in their departments
|
|
652
|
-
* @param org
|
|
653
|
-
* @param userId
|
|
654
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
655
|
-
* @param format Format
|
|
656
|
-
*
|
|
657
|
-
* * `json` - json
|
|
658
|
-
* @param includeMainPlatform Include main platform data
|
|
659
|
-
* @param meta Include extra analytics information?
|
|
660
|
-
*
|
|
661
|
-
* * `y` - y
|
|
662
|
-
* * `yes` - yes
|
|
663
|
-
* * `true` - true
|
|
664
|
-
* * `True` - True
|
|
665
|
-
* * `n` - n
|
|
666
|
-
* * `no` - no
|
|
667
|
-
* * `false` - false
|
|
668
|
-
* * `False` - False
|
|
669
|
-
* @param search
|
|
670
851
|
* @returns LearnerInformationAPI
|
|
671
852
|
* @throws ApiError
|
|
672
853
|
*/
|
|
673
|
-
public static perlearnerOrgsUsersInfoRetrieve(
|
|
854
|
+
public static perlearnerOrgsUsersInfoRetrieve({
|
|
855
|
+
org,
|
|
856
|
+
userId,
|
|
857
|
+
departmentId,
|
|
858
|
+
format = 'json',
|
|
859
|
+
includeMainPlatform = true,
|
|
860
|
+
meta = 'n',
|
|
861
|
+
search,
|
|
862
|
+
}: {
|
|
674
863
|
org: string,
|
|
675
864
|
userId: string,
|
|
865
|
+
/**
|
|
866
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
867
|
+
*/
|
|
676
868
|
departmentId?: number,
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
869
|
+
/**
|
|
870
|
+
* Format
|
|
871
|
+
*
|
|
872
|
+
* * `json` - json
|
|
873
|
+
*/
|
|
874
|
+
format?: 'json',
|
|
875
|
+
/**
|
|
876
|
+
* Include main platform data
|
|
877
|
+
*/
|
|
878
|
+
includeMainPlatform?: boolean,
|
|
879
|
+
/**
|
|
880
|
+
* Include extra analytics information?
|
|
881
|
+
*
|
|
882
|
+
* * `y` - y
|
|
883
|
+
* * `yes` - yes
|
|
884
|
+
* * `true` - true
|
|
885
|
+
* * `True` - True
|
|
886
|
+
* * `n` - n
|
|
887
|
+
* * `no` - no
|
|
888
|
+
* * `false` - false
|
|
889
|
+
* * `False` - False
|
|
890
|
+
*/
|
|
891
|
+
meta?: 'y' | 'yes' | 'true' | 'True' | 'n' | 'no' | 'false' | 'False',
|
|
680
892
|
search?: string,
|
|
681
|
-
): CancelablePromise<LearnerInformationAPI> {
|
|
893
|
+
}): CancelablePromise<LearnerInformationAPI> {
|
|
682
894
|
return __request(OpenAPI, {
|
|
683
895
|
method: 'GET',
|
|
684
896
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/info',
|
|
@@ -697,23 +909,33 @@ export class PerlearnerService {
|
|
|
697
909
|
}
|
|
698
910
|
/**
|
|
699
911
|
* Last course accessed by a learner, includes upto unit information as well
|
|
700
|
-
* @param org
|
|
701
|
-
* @param userId
|
|
702
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
703
|
-
* @param format Format
|
|
704
|
-
*
|
|
705
|
-
* * `json` - json
|
|
706
|
-
* @param includeMainPlatform Include main platform data
|
|
707
912
|
* @returns PerLearnerLastAccess
|
|
708
913
|
* @throws ApiError
|
|
709
914
|
*/
|
|
710
|
-
public static perlearnerOrgsUsersLastAccessRetrieve(
|
|
915
|
+
public static perlearnerOrgsUsersLastAccessRetrieve({
|
|
916
|
+
org,
|
|
917
|
+
userId,
|
|
918
|
+
departmentId,
|
|
919
|
+
format = 'json',
|
|
920
|
+
includeMainPlatform = true,
|
|
921
|
+
}: {
|
|
711
922
|
org: string,
|
|
712
923
|
userId: string,
|
|
924
|
+
/**
|
|
925
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
926
|
+
*/
|
|
713
927
|
departmentId?: number,
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
928
|
+
/**
|
|
929
|
+
* Format
|
|
930
|
+
*
|
|
931
|
+
* * `json` - json
|
|
932
|
+
*/
|
|
933
|
+
format?: 'json',
|
|
934
|
+
/**
|
|
935
|
+
* Include main platform data
|
|
936
|
+
*/
|
|
937
|
+
includeMainPlatform?: boolean,
|
|
938
|
+
}): CancelablePromise<PerLearnerLastAccess> {
|
|
717
939
|
return __request(OpenAPI, {
|
|
718
940
|
method: 'GET',
|
|
719
941
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/last-access',
|
|
@@ -730,27 +952,43 @@ export class PerlearnerService {
|
|
|
730
952
|
}
|
|
731
953
|
/**
|
|
732
954
|
* Average of days with atleast an activity within ENGAGEMENT_INDEX_PERIOD consecutive days
|
|
733
|
-
* @param org
|
|
734
|
-
* @param userId
|
|
735
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
736
|
-
* @param endDate end date. ISO 8601
|
|
737
|
-
* @param format Format
|
|
738
|
-
*
|
|
739
|
-
* * `json` - json
|
|
740
|
-
* @param includeMainPlatform Include main platform data
|
|
741
|
-
* @param startDate start date. ISO 8601
|
|
742
955
|
* @returns Value
|
|
743
956
|
* @throws ApiError
|
|
744
957
|
*/
|
|
745
|
-
public static perlearnerOrgsUsersOverviewEngagementIndexRetrieve(
|
|
958
|
+
public static perlearnerOrgsUsersOverviewEngagementIndexRetrieve({
|
|
959
|
+
org,
|
|
960
|
+
userId,
|
|
961
|
+
departmentId,
|
|
962
|
+
endDate,
|
|
963
|
+
format = 'json',
|
|
964
|
+
includeMainPlatform = true,
|
|
965
|
+
startDate,
|
|
966
|
+
}: {
|
|
746
967
|
org: string,
|
|
747
968
|
userId: string,
|
|
969
|
+
/**
|
|
970
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
971
|
+
*/
|
|
748
972
|
departmentId?: number,
|
|
973
|
+
/**
|
|
974
|
+
* end date. ISO 8601
|
|
975
|
+
*/
|
|
749
976
|
endDate?: string,
|
|
750
|
-
|
|
751
|
-
|
|
977
|
+
/**
|
|
978
|
+
* Format
|
|
979
|
+
*
|
|
980
|
+
* * `json` - json
|
|
981
|
+
*/
|
|
982
|
+
format?: 'json',
|
|
983
|
+
/**
|
|
984
|
+
* Include main platform data
|
|
985
|
+
*/
|
|
986
|
+
includeMainPlatform?: boolean,
|
|
987
|
+
/**
|
|
988
|
+
* start date. ISO 8601
|
|
989
|
+
*/
|
|
752
990
|
startDate?: string,
|
|
753
|
-
): CancelablePromise<Value> {
|
|
991
|
+
}): CancelablePromise<Value> {
|
|
754
992
|
return __request(OpenAPI, {
|
|
755
993
|
method: 'GET',
|
|
756
994
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/overview/engagement-index',
|
|
@@ -786,23 +1024,33 @@ export class PerlearnerService {
|
|
|
786
1024
|
* Access Control:
|
|
787
1025
|
* - Platform admins can access any grade data
|
|
788
1026
|
* - Learners can access their own grade data
|
|
789
|
-
* @param org
|
|
790
|
-
* @param userId
|
|
791
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
792
|
-
* @param format Format
|
|
793
|
-
*
|
|
794
|
-
* * `json` - json
|
|
795
|
-
* @param includeMainPlatform Include main platform data
|
|
796
1027
|
* @returns Average
|
|
797
1028
|
* @throws ApiError
|
|
798
1029
|
*/
|
|
799
|
-
public static perlearnerOrgsUsersOverviewGradesAverageRetrieve(
|
|
1030
|
+
public static perlearnerOrgsUsersOverviewGradesAverageRetrieve({
|
|
1031
|
+
org,
|
|
1032
|
+
userId,
|
|
1033
|
+
departmentId,
|
|
1034
|
+
format = 'json',
|
|
1035
|
+
includeMainPlatform = true,
|
|
1036
|
+
}: {
|
|
800
1037
|
org: string,
|
|
801
1038
|
userId: string,
|
|
1039
|
+
/**
|
|
1040
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
1041
|
+
*/
|
|
802
1042
|
departmentId?: number,
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
1043
|
+
/**
|
|
1044
|
+
* Format
|
|
1045
|
+
*
|
|
1046
|
+
* * `json` - json
|
|
1047
|
+
*/
|
|
1048
|
+
format?: 'json',
|
|
1049
|
+
/**
|
|
1050
|
+
* Include main platform data
|
|
1051
|
+
*/
|
|
1052
|
+
includeMainPlatform?: boolean,
|
|
1053
|
+
}): CancelablePromise<Average> {
|
|
806
1054
|
return __request(OpenAPI, {
|
|
807
1055
|
method: 'GET',
|
|
808
1056
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/overview/grades/average',
|
|
@@ -823,27 +1071,43 @@ export class PerlearnerService {
|
|
|
823
1071
|
* Query Params
|
|
824
1072
|
* course_id <optional>
|
|
825
1073
|
* learner_id <optional>
|
|
826
|
-
* @param org
|
|
827
|
-
* @param userId
|
|
828
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
829
|
-
* @param endDate end date. ISO 8601
|
|
830
|
-
* @param format Format
|
|
831
|
-
*
|
|
832
|
-
* * `json` - json
|
|
833
|
-
* @param includeMainPlatform Include main platform data
|
|
834
|
-
* @param startDate start date. ISO 8601
|
|
835
1074
|
* @returns Value
|
|
836
1075
|
* @throws ApiError
|
|
837
1076
|
*/
|
|
838
|
-
public static perlearnerOrgsUsersOverviewPerformanceIndexRetrieve(
|
|
1077
|
+
public static perlearnerOrgsUsersOverviewPerformanceIndexRetrieve({
|
|
1078
|
+
org,
|
|
1079
|
+
userId,
|
|
1080
|
+
departmentId,
|
|
1081
|
+
endDate,
|
|
1082
|
+
format = 'json',
|
|
1083
|
+
includeMainPlatform = true,
|
|
1084
|
+
startDate,
|
|
1085
|
+
}: {
|
|
839
1086
|
org: string,
|
|
840
1087
|
userId: string,
|
|
1088
|
+
/**
|
|
1089
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
1090
|
+
*/
|
|
841
1091
|
departmentId?: number,
|
|
1092
|
+
/**
|
|
1093
|
+
* end date. ISO 8601
|
|
1094
|
+
*/
|
|
842
1095
|
endDate?: string,
|
|
843
|
-
|
|
844
|
-
|
|
1096
|
+
/**
|
|
1097
|
+
* Format
|
|
1098
|
+
*
|
|
1099
|
+
* * `json` - json
|
|
1100
|
+
*/
|
|
1101
|
+
format?: 'json',
|
|
1102
|
+
/**
|
|
1103
|
+
* Include main platform data
|
|
1104
|
+
*/
|
|
1105
|
+
includeMainPlatform?: boolean,
|
|
1106
|
+
/**
|
|
1107
|
+
* start date. ISO 8601
|
|
1108
|
+
*/
|
|
845
1109
|
startDate?: string,
|
|
846
|
-
): CancelablePromise<Value> {
|
|
1110
|
+
}): CancelablePromise<Value> {
|
|
847
1111
|
return __request(OpenAPI, {
|
|
848
1112
|
method: 'GET',
|
|
849
1113
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/overview/performance-index',
|
|
@@ -870,27 +1134,43 @@ export class PerlearnerService {
|
|
|
870
1134
|
* 4. end_date e.g 2020-10-10
|
|
871
1135
|
*
|
|
872
1136
|
* Default result when no query param is added is last_7_days (today inclusive)
|
|
873
|
-
* @param org
|
|
874
|
-
* @param userId
|
|
875
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
876
|
-
* @param endDate end date. ISO 8601
|
|
877
|
-
* @param format Format
|
|
878
|
-
*
|
|
879
|
-
* * `json` - json
|
|
880
|
-
* @param includeMainPlatform Include main platform data
|
|
881
|
-
* @param startDate start date. ISO 8601
|
|
882
1137
|
* @returns OverTimeWithTotal
|
|
883
1138
|
* @throws ApiError
|
|
884
1139
|
*/
|
|
885
|
-
public static perlearnerOrgsUsersOverviewTimeOverTimeRetrieve(
|
|
1140
|
+
public static perlearnerOrgsUsersOverviewTimeOverTimeRetrieve({
|
|
1141
|
+
org,
|
|
1142
|
+
userId,
|
|
1143
|
+
departmentId,
|
|
1144
|
+
endDate,
|
|
1145
|
+
format = 'json',
|
|
1146
|
+
includeMainPlatform = true,
|
|
1147
|
+
startDate,
|
|
1148
|
+
}: {
|
|
886
1149
|
org: string,
|
|
887
1150
|
userId: string,
|
|
1151
|
+
/**
|
|
1152
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
1153
|
+
*/
|
|
888
1154
|
departmentId?: number,
|
|
1155
|
+
/**
|
|
1156
|
+
* end date. ISO 8601
|
|
1157
|
+
*/
|
|
889
1158
|
endDate?: string,
|
|
890
|
-
|
|
891
|
-
|
|
1159
|
+
/**
|
|
1160
|
+
* Format
|
|
1161
|
+
*
|
|
1162
|
+
* * `json` - json
|
|
1163
|
+
*/
|
|
1164
|
+
format?: 'json',
|
|
1165
|
+
/**
|
|
1166
|
+
* Include main platform data
|
|
1167
|
+
*/
|
|
1168
|
+
includeMainPlatform?: boolean,
|
|
1169
|
+
/**
|
|
1170
|
+
* start date. ISO 8601
|
|
1171
|
+
*/
|
|
892
1172
|
startDate?: string,
|
|
893
|
-
): CancelablePromise<OverTimeWithTotal> {
|
|
1173
|
+
}): CancelablePromise<OverTimeWithTotal> {
|
|
894
1174
|
return __request(OpenAPI, {
|
|
895
1175
|
method: 'GET',
|
|
896
1176
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/overview/time/over-time',
|
|
@@ -927,27 +1207,43 @@ export class PerlearnerService {
|
|
|
927
1207
|
* Access Control:
|
|
928
1208
|
* - Platform admins can access any video watch data
|
|
929
1209
|
* - Learners can access their own video watch data
|
|
930
|
-
* @param org
|
|
931
|
-
* @param userId
|
|
932
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
933
|
-
* @param endDate end date. ISO 8601
|
|
934
|
-
* @param format Format
|
|
935
|
-
*
|
|
936
|
-
* * `json` - json
|
|
937
|
-
* @param includeMainPlatform Include main platform data
|
|
938
|
-
* @param startDate start date. ISO 8601
|
|
939
1210
|
* @returns OverTimeWithTotal
|
|
940
1211
|
* @throws ApiError
|
|
941
1212
|
*/
|
|
942
|
-
public static perlearnerOrgsUsersVideosOverTimeRetrieve(
|
|
1213
|
+
public static perlearnerOrgsUsersVideosOverTimeRetrieve({
|
|
1214
|
+
org,
|
|
1215
|
+
userId,
|
|
1216
|
+
departmentId,
|
|
1217
|
+
endDate,
|
|
1218
|
+
format = 'json',
|
|
1219
|
+
includeMainPlatform = true,
|
|
1220
|
+
startDate,
|
|
1221
|
+
}: {
|
|
943
1222
|
org: string,
|
|
944
1223
|
userId: string,
|
|
1224
|
+
/**
|
|
1225
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
1226
|
+
*/
|
|
945
1227
|
departmentId?: number,
|
|
1228
|
+
/**
|
|
1229
|
+
* end date. ISO 8601
|
|
1230
|
+
*/
|
|
946
1231
|
endDate?: string,
|
|
947
|
-
|
|
948
|
-
|
|
1232
|
+
/**
|
|
1233
|
+
* Format
|
|
1234
|
+
*
|
|
1235
|
+
* * `json` - json
|
|
1236
|
+
*/
|
|
1237
|
+
format?: 'json',
|
|
1238
|
+
/**
|
|
1239
|
+
* Include main platform data
|
|
1240
|
+
*/
|
|
1241
|
+
includeMainPlatform?: boolean,
|
|
1242
|
+
/**
|
|
1243
|
+
* start date. ISO 8601
|
|
1244
|
+
*/
|
|
949
1245
|
startDate?: string,
|
|
950
|
-
): CancelablePromise<OverTimeWithTotal> {
|
|
1246
|
+
}): CancelablePromise<OverTimeWithTotal> {
|
|
951
1247
|
return __request(OpenAPI, {
|
|
952
1248
|
method: 'GET',
|
|
953
1249
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/videos/over-time',
|
|
@@ -969,27 +1265,43 @@ export class PerlearnerService {
|
|
|
969
1265
|
*
|
|
970
1266
|
* Query Params
|
|
971
1267
|
* 1. user_id e.g developer@ibleducation.com or dev123 (username|email)
|
|
972
|
-
* @param org
|
|
973
|
-
* @param userId
|
|
974
|
-
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
975
|
-
* @param endDate end date. ISO 8601
|
|
976
|
-
* @param format Format
|
|
977
|
-
*
|
|
978
|
-
* * `json` - json
|
|
979
|
-
* @param includeMainPlatform Include main platform data
|
|
980
|
-
* @param startDate start date. ISO 8601
|
|
981
1268
|
* @returns PerlearnerEngagementVideosWatchedPerCourse
|
|
982
1269
|
* @throws ApiError
|
|
983
1270
|
*/
|
|
984
|
-
public static perlearnerOrgsUsersVideosPerCourseRetrieve(
|
|
1271
|
+
public static perlearnerOrgsUsersVideosPerCourseRetrieve({
|
|
1272
|
+
org,
|
|
1273
|
+
userId,
|
|
1274
|
+
departmentId,
|
|
1275
|
+
endDate,
|
|
1276
|
+
format = 'json',
|
|
1277
|
+
includeMainPlatform = true,
|
|
1278
|
+
startDate,
|
|
1279
|
+
}: {
|
|
985
1280
|
org: string,
|
|
986
1281
|
userId: string,
|
|
1282
|
+
/**
|
|
1283
|
+
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
1284
|
+
*/
|
|
987
1285
|
departmentId?: number,
|
|
1286
|
+
/**
|
|
1287
|
+
* end date. ISO 8601
|
|
1288
|
+
*/
|
|
988
1289
|
endDate?: string,
|
|
989
|
-
|
|
990
|
-
|
|
1290
|
+
/**
|
|
1291
|
+
* Format
|
|
1292
|
+
*
|
|
1293
|
+
* * `json` - json
|
|
1294
|
+
*/
|
|
1295
|
+
format?: 'json',
|
|
1296
|
+
/**
|
|
1297
|
+
* Include main platform data
|
|
1298
|
+
*/
|
|
1299
|
+
includeMainPlatform?: boolean,
|
|
1300
|
+
/**
|
|
1301
|
+
* start date. ISO 8601
|
|
1302
|
+
*/
|
|
991
1303
|
startDate?: string,
|
|
992
|
-
): CancelablePromise<PerlearnerEngagementVideosWatchedPerCourse> {
|
|
1304
|
+
}): CancelablePromise<PerlearnerEngagementVideosWatchedPerCourse> {
|
|
993
1305
|
return __request(OpenAPI, {
|
|
994
1306
|
method: 'GET',
|
|
995
1307
|
url: '/api/perlearner/orgs/{org}/users/{user_id}/videos/per-course',
|