@iblai/iblai-api 3.34.5-core
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/README.md +222 -0
- package/dist/index.cjs.js +7291 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.esm.js +7267 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.umd.js +7297 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/types/core/ApiError.d.ts +10 -0
- package/dist/types/core/ApiRequestOptions.d.ts +13 -0
- package/dist/types/core/ApiResult.d.ts +7 -0
- package/dist/types/core/CancelablePromise.d.ts +20 -0
- package/dist/types/core/OpenAPI.d.ts +16 -0
- package/dist/types/core/request.d.ts +30 -0
- package/dist/types/index.d.ts +183 -0
- package/dist/types/models/AcceptanceEnum.d.ts +10 -0
- package/dist/types/models/ActiveUsersData.d.ts +18 -0
- package/dist/types/models/ActiveUsersList.d.ts +6 -0
- package/dist/types/models/ActiveUsersPerCourse.d.ts +10 -0
- package/dist/types/models/ActiveUsersPerCourseData.d.ts +14 -0
- package/dist/types/models/ActivityAPI.d.ts +8 -0
- package/dist/types/models/ActivityData.d.ts +38 -0
- package/dist/types/models/Assertion.d.ts +15 -0
- package/dist/types/models/Average.d.ts +4 -0
- package/dist/types/models/AverageData.d.ts +6 -0
- package/dist/types/models/AverageOvertime.d.ts +22 -0
- package/dist/types/models/AvgCourseGradeWithCutoff.d.ts +4 -0
- package/dist/types/models/AvgCourseGradeWithCutoffData.d.ts +10 -0
- package/dist/types/models/BlankEnum.d.ts +2 -0
- package/dist/types/models/BulkCreateAssertion.d.ts +4 -0
- package/dist/types/models/CampaignEnablement.d.ts +8 -0
- package/dist/types/models/CampaignExclusion.d.ts +8 -0
- package/dist/types/models/Company.d.ts +23 -0
- package/dist/types/models/ContextResponse.d.ts +7 -0
- package/dist/types/models/Count.d.ts +4 -0
- package/dist/types/models/CountData.d.ts +6 -0
- package/dist/types/models/CourseCompletionPerCourse.d.ts +6 -0
- package/dist/types/models/CourseCompletionPerCourseData.d.ts +22 -0
- package/dist/types/models/CourseCompletionSummaryDataOvertime.d.ts +18 -0
- package/dist/types/models/CourseCompletionSummaryOvertime.d.ts +6 -0
- package/dist/types/models/CourseGradeDetailBlock.d.ts +18 -0
- package/dist/types/models/CourseGradeDetailSubSection.d.ts +23 -0
- package/dist/types/models/CourseGradeSummary.d.ts +4 -0
- package/dist/types/models/CourseGradeSummaryData.d.ts +18 -0
- package/dist/types/models/CourseGradingDetail.d.ts +4 -0
- package/dist/types/models/CourseGradingDetailData.d.ts +12 -0
- package/dist/types/models/CoursePoint.d.ts +7 -0
- package/dist/types/models/CourseSkill.d.ts +8 -0
- package/dist/types/models/Credential.d.ts +28 -0
- package/dist/types/models/DesiredSkill.d.ts +4 -0
- package/dist/types/models/DetailedGradeSubsection.d.ts +22 -0
- package/dist/types/models/DetailedGradeView.d.ts +4 -0
- package/dist/types/models/DetailedGradeViewData.d.ts +12 -0
- package/dist/types/models/Education.d.ts +30 -0
- package/dist/types/models/EngagementPerCourse.d.ts +6 -0
- package/dist/types/models/EngagementPerCourseData.d.ts +26 -0
- package/dist/types/models/Enrollments.d.ts +8 -0
- package/dist/types/models/EnrollmentsData.d.ts +18 -0
- package/dist/types/models/EnrollmentsPerUser.d.ts +6 -0
- package/dist/types/models/EnrollmentsPerUserData.d.ts +18 -0
- package/dist/types/models/ErrorResponse.d.ts +8 -0
- package/dist/types/models/Experience.d.ts +29 -0
- package/dist/types/models/FloatOverTime.d.ts +10 -0
- package/dist/types/models/GradingPerUser.d.ts +8 -0
- package/dist/types/models/GradingPerUserData.d.ts +26 -0
- package/dist/types/models/GroupList.d.ts +6 -0
- package/dist/types/models/GroupListData.d.ts +16 -0
- package/dist/types/models/ImageUpload.d.ts +3 -0
- package/dist/types/models/Institution.d.ts +20 -0
- package/dist/types/models/InstitutionTypeEnum.d.ts +14 -0
- package/dist/types/models/Issuer.d.ts +9 -0
- package/dist/types/models/IssuerAuthority.d.ts +5 -0
- package/dist/types/models/LearnerInformationAPI.d.ts +4 -0
- package/dist/types/models/LearnerInformationAPIData.d.ts +83 -0
- package/dist/types/models/LtiKey.d.ts +19 -0
- package/dist/types/models/LtiLaunchGate.d.ts +8 -0
- package/dist/types/models/LtiTool.d.ts +46 -0
- package/dist/types/models/NetRevenueOverTime.d.ts +8 -0
- package/dist/types/models/NewPerLearnerList.d.ts +6 -0
- package/dist/types/models/NewPerLearnerListData.d.ts +17 -0
- package/dist/types/models/Notification.d.ts +13 -0
- package/dist/types/models/NotificationCount.d.ts +4 -0
- package/dist/types/models/NotificationPreview.d.ts +31 -0
- package/dist/types/models/NotificationSource.d.ts +8 -0
- package/dist/types/models/NotificationTemplateData.d.ts +26 -0
- package/dist/types/models/Order.d.ts +22 -0
- package/dist/types/models/OverTime.d.ts +3 -0
- package/dist/types/models/OverTimeWithTotal.d.ts +22 -0
- package/dist/types/models/OvertimeMeta.d.ts +30 -0
- package/dist/types/models/OvertimeWithChangeInfo.d.ts +24 -0
- package/dist/types/models/Pagination.d.ts +18 -0
- package/dist/types/models/PatchedNotification.d.ts +13 -0
- package/dist/types/models/PatchedPlatformPublicMetadata.d.ts +8 -0
- package/dist/types/models/PatchedSkillThreshold.d.ts +14 -0
- package/dist/types/models/PerLearnerCourseLastAccessData.d.ts +30 -0
- package/dist/types/models/PerLearnerCourseVideosWatched.d.ts +8 -0
- package/dist/types/models/PerLearnerCourseVideosWatchedData.d.ts +14 -0
- package/dist/types/models/PerLearnerLastAccess.d.ts +4 -0
- package/dist/types/models/PerLearnerLastAccessData.d.ts +11 -0
- package/dist/types/models/PerLearnerTimeSpentInCourseTree.d.ts +8 -0
- package/dist/types/models/PerformanceGradesPerCourse.d.ts +6 -0
- package/dist/types/models/PerformanceGradesPerCourseData.d.ts +22 -0
- package/dist/types/models/PerlearnerCourseProgress.d.ts +4 -0
- package/dist/types/models/PerlearnerCourseProgressData.d.ts +6 -0
- package/dist/types/models/PerlearnerEngagementVideosData.d.ts +30 -0
- package/dist/types/models/PerlearnerEngagementVideosWatchedPerCourse.d.ts +4 -0
- package/dist/types/models/PerlearnerGradeSummary.d.ts +4 -0
- package/dist/types/models/PerlearnerGradeSummaryData.d.ts +18 -0
- package/dist/types/models/PerlearnerGradeWithCutOff.d.ts +4 -0
- package/dist/types/models/PerlearnerGradeWithCutOffData.d.ts +10 -0
- package/dist/types/models/PerlearnerGradingPerCourseAPI.d.ts +4 -0
- package/dist/types/models/PerlearnerGradingPerCourseAPIData.d.ts +34 -0
- package/dist/types/models/PerlearnerUserList.d.ts +6 -0
- package/dist/types/models/PerlearnerUserListData.d.ts +34 -0
- package/dist/types/models/PlatformPublicMetadata.d.ts +8 -0
- package/dist/types/models/PointsPercentile.d.ts +8 -0
- package/dist/types/models/PreviewResponse.d.ts +11 -0
- package/dist/types/models/Product.d.ts +22 -0
- package/dist/types/models/ProductTable.d.ts +26 -0
- package/dist/types/models/Program.d.ts +24 -0
- package/dist/types/models/ProgramTypeEnum.d.ts +18 -0
- package/dist/types/models/Recipient.d.ts +8 -0
- package/dist/types/models/RecommendationSearchAPI.d.ts +3 -0
- package/dist/types/models/RedirectTokenRequest.d.ts +3 -0
- package/dist/types/models/RedirectTokenResponse.d.ts +5 -0
- package/dist/types/models/ReportCreate.d.ts +7 -0
- package/dist/types/models/ReportData.d.ts +28 -0
- package/dist/types/models/ReportDetail.d.ts +4 -0
- package/dist/types/models/ReportList.d.ts +4 -0
- package/dist/types/models/ReportRequest.d.ts +21 -0
- package/dist/types/models/ReportStatus.d.ts +41 -0
- package/dist/types/models/ReportedSkill.d.ts +4 -0
- package/dist/types/models/ResourcePoint.d.ts +7 -0
- package/dist/types/models/RevenueByProduct.d.ts +6 -0
- package/dist/types/models/SendNotification.d.ts +6 -0
- package/dist/types/models/SendResponse.d.ts +9 -0
- package/dist/types/models/Skill.d.ts +7 -0
- package/dist/types/models/SkillDetail.d.ts +9 -0
- package/dist/types/models/SkillInfo.d.ts +23 -0
- package/dist/types/models/SkillThreshold.d.ts +14 -0
- package/dist/types/models/StateEnum.d.ts +22 -0
- package/dist/types/models/StatusEnum.d.ts +10 -0
- package/dist/types/models/SubTimeChild.d.ts +18 -0
- package/dist/types/models/Summary.d.ts +18 -0
- package/dist/types/models/TimeChildData.d.ts +20 -0
- package/dist/types/models/TimeDetail.d.ts +8 -0
- package/dist/types/models/TimeDetailChild.d.ts +26 -0
- package/dist/types/models/TimeDetailData.d.ts +24 -0
- package/dist/types/models/TimeSpentByUsersInCourse.d.ts +6 -0
- package/dist/types/models/TimeSpentByUsersInCourseData.d.ts +22 -0
- package/dist/types/models/TimeSpentPerCourse.d.ts +6 -0
- package/dist/types/models/TimeSpentPerCourseData.d.ts +26 -0
- package/dist/types/models/TimeSpentPerUserResponse.d.ts +3 -0
- package/dist/types/models/TimeSpentUpdateRequest.d.ts +11 -0
- package/dist/types/models/TimeSpentUpdateResponse.d.ts +4 -0
- package/dist/types/models/TypeEnum.d.ts +18 -0
- package/dist/types/models/UploadedImage.d.ts +5 -0
- package/dist/types/models/UserInfo.d.ts +13 -0
- package/dist/types/models/UserSkill.d.ts +22 -0
- package/dist/types/models/UserSkillPointsPercentile.d.ts +8 -0
- package/dist/types/models/ValidateSourceResponse.d.ts +10 -0
- package/dist/types/models/Value.d.ts +4 -0
- package/dist/types/models/ValueData.d.ts +6 -0
- package/dist/types/models/VideoBlock.d.ts +14 -0
- package/dist/types/models/VideoEngagementPerCourse.d.ts +6 -0
- package/dist/types/models/VideoEngagementPerCourseData.d.ts +30 -0
- package/dist/types/models/VideosCount.d.ts +4 -0
- package/dist/types/models/VideosCountData.d.ts +6 -0
- package/dist/types/models/VideosInCourseSummary.d.ts +4 -0
- package/dist/types/models/VideosInCourseSummaryData.d.ts +12 -0
- package/dist/types/models/VideosSpecificCourse.d.ts +4 -0
- package/dist/types/models/VideosSpecificCourseData.d.ts +26 -0
- package/dist/types/models/VideosWatchedSubSection.d.ts +19 -0
- package/dist/types/models/WatchedVideosPerUser.d.ts +8 -0
- package/dist/types/models/WatchedVideosPerUserData.d.ts +18 -0
- package/dist/types/services/AnalyticsService.d.ts +51 -0
- package/dist/types/services/AudienceService.d.ts +348 -0
- package/dist/types/services/CareerService.d.ts +210 -0
- package/dist/types/services/CoreService.d.ts +196 -0
- package/dist/types/services/CredentialsService.d.ts +1184 -0
- package/dist/types/services/DepartmentsService.d.ts +43 -0
- package/dist/types/services/EngagementService.d.ts +467 -0
- package/dist/types/services/FinanceService.d.ts +52 -0
- package/dist/types/services/NotificationBuilderService.d.ts +58 -0
- package/dist/types/services/NotificationService.d.ts +118 -0
- package/dist/types/services/OverviewService.d.ts +184 -0
- package/dist/types/services/PerformanceService.d.ts +183 -0
- package/dist/types/services/PerlearnerService.d.ts +501 -0
- package/dist/types/services/PlatformService.d.ts +77 -0
- package/dist/types/services/RecommendationsService.d.ts +13 -0
- package/dist/types/services/ReportsService.d.ts +142 -0
- package/dist/types/services/SearchService.d.ts +276 -0
- package/dist/types/services/SkillsService.d.ts +377 -0
- package/dist/types/services/UserGroupsService.d.ts +49 -0
- package/package.json +39 -0
- package/rollup.config.js +113 -0
- package/src/core/ApiError.ts +25 -0
- package/src/core/ApiRequestOptions.ts +17 -0
- package/src/core/ApiResult.ts +11 -0
- package/src/core/CancelablePromise.ts +131 -0
- package/src/core/OpenAPI.ts +32 -0
- package/src/core/request.ts +322 -0
- package/src/index.ts +189 -0
- package/src/models/AcceptanceEnum.ts +14 -0
- package/src/models/ActiveUsersData.ts +23 -0
- package/src/models/ActiveUsersList.ts +11 -0
- package/src/models/ActiveUsersPerCourse.ts +15 -0
- package/src/models/ActiveUsersPerCourseData.ts +19 -0
- package/src/models/ActivityAPI.ts +13 -0
- package/src/models/ActivityData.ts +43 -0
- package/src/models/Assertion.ts +20 -0
- package/src/models/Average.ts +9 -0
- package/src/models/AverageData.ts +11 -0
- package/src/models/AverageOvertime.ts +27 -0
- package/src/models/AvgCourseGradeWithCutoff.ts +9 -0
- package/src/models/AvgCourseGradeWithCutoffData.ts +15 -0
- package/src/models/BlankEnum.ts +7 -0
- package/src/models/BulkCreateAssertion.ts +9 -0
- package/src/models/CampaignEnablement.ts +13 -0
- package/src/models/CampaignExclusion.ts +13 -0
- package/src/models/Company.ts +28 -0
- package/src/models/ContextResponse.ts +12 -0
- package/src/models/Count.ts +9 -0
- package/src/models/CountData.ts +11 -0
- package/src/models/CourseCompletionPerCourse.ts +11 -0
- package/src/models/CourseCompletionPerCourseData.ts +27 -0
- package/src/models/CourseCompletionSummaryDataOvertime.ts +23 -0
- package/src/models/CourseCompletionSummaryOvertime.ts +11 -0
- package/src/models/CourseGradeDetailBlock.ts +23 -0
- package/src/models/CourseGradeDetailSubSection.ts +28 -0
- package/src/models/CourseGradeSummary.ts +9 -0
- package/src/models/CourseGradeSummaryData.ts +23 -0
- package/src/models/CourseGradingDetail.ts +9 -0
- package/src/models/CourseGradingDetailData.ts +17 -0
- package/src/models/CoursePoint.ts +12 -0
- package/src/models/CourseSkill.ts +13 -0
- package/src/models/Credential.ts +33 -0
- package/src/models/DesiredSkill.ts +9 -0
- package/src/models/DetailedGradeSubsection.ts +27 -0
- package/src/models/DetailedGradeView.ts +9 -0
- package/src/models/DetailedGradeViewData.ts +17 -0
- package/src/models/Education.ts +35 -0
- package/src/models/EngagementPerCourse.ts +11 -0
- package/src/models/EngagementPerCourseData.ts +31 -0
- package/src/models/Enrollments.ts +13 -0
- package/src/models/EnrollmentsData.ts +23 -0
- package/src/models/EnrollmentsPerUser.ts +11 -0
- package/src/models/EnrollmentsPerUserData.ts +23 -0
- package/src/models/ErrorResponse.ts +13 -0
- package/src/models/Experience.ts +34 -0
- package/src/models/FloatOverTime.ts +15 -0
- package/src/models/GradingPerUser.ts +13 -0
- package/src/models/GradingPerUserData.ts +31 -0
- package/src/models/GroupList.ts +11 -0
- package/src/models/GroupListData.ts +21 -0
- package/src/models/ImageUpload.ts +8 -0
- package/src/models/Institution.ts +25 -0
- package/src/models/InstitutionTypeEnum.ts +18 -0
- package/src/models/Issuer.ts +14 -0
- package/src/models/IssuerAuthority.ts +10 -0
- package/src/models/LearnerInformationAPI.ts +9 -0
- package/src/models/LearnerInformationAPIData.ts +88 -0
- package/src/models/LtiKey.ts +24 -0
- package/src/models/LtiLaunchGate.ts +13 -0
- package/src/models/LtiTool.ts +51 -0
- package/src/models/NetRevenueOverTime.ts +13 -0
- package/src/models/NewPerLearnerList.ts +11 -0
- package/src/models/NewPerLearnerListData.ts +22 -0
- package/src/models/Notification.ts +18 -0
- package/src/models/NotificationCount.ts +9 -0
- package/src/models/NotificationPreview.ts +36 -0
- package/src/models/NotificationSource.ts +13 -0
- package/src/models/NotificationTemplateData.ts +31 -0
- package/src/models/Order.ts +27 -0
- package/src/models/OverTime.ts +8 -0
- package/src/models/OverTimeWithTotal.ts +27 -0
- package/src/models/OvertimeMeta.ts +35 -0
- package/src/models/OvertimeWithChangeInfo.ts +29 -0
- package/src/models/Pagination.ts +23 -0
- package/src/models/PatchedNotification.ts +18 -0
- package/src/models/PatchedPlatformPublicMetadata.ts +13 -0
- package/src/models/PatchedSkillThreshold.ts +19 -0
- package/src/models/PerLearnerCourseLastAccessData.ts +35 -0
- package/src/models/PerLearnerCourseVideosWatched.ts +13 -0
- package/src/models/PerLearnerCourseVideosWatchedData.ts +19 -0
- package/src/models/PerLearnerLastAccess.ts +9 -0
- package/src/models/PerLearnerLastAccessData.ts +16 -0
- package/src/models/PerLearnerTimeSpentInCourseTree.ts +13 -0
- package/src/models/PerformanceGradesPerCourse.ts +11 -0
- package/src/models/PerformanceGradesPerCourseData.ts +27 -0
- package/src/models/PerlearnerCourseProgress.ts +9 -0
- package/src/models/PerlearnerCourseProgressData.ts +11 -0
- package/src/models/PerlearnerEngagementVideosData.ts +35 -0
- package/src/models/PerlearnerEngagementVideosWatchedPerCourse.ts +9 -0
- package/src/models/PerlearnerGradeSummary.ts +9 -0
- package/src/models/PerlearnerGradeSummaryData.ts +23 -0
- package/src/models/PerlearnerGradeWithCutOff.ts +9 -0
- package/src/models/PerlearnerGradeWithCutOffData.ts +15 -0
- package/src/models/PerlearnerGradingPerCourseAPI.ts +9 -0
- package/src/models/PerlearnerGradingPerCourseAPIData.ts +39 -0
- package/src/models/PerlearnerUserList.ts +11 -0
- package/src/models/PerlearnerUserListData.ts +39 -0
- package/src/models/PlatformPublicMetadata.ts +13 -0
- package/src/models/PointsPercentile.ts +13 -0
- package/src/models/PreviewResponse.ts +16 -0
- package/src/models/Product.ts +27 -0
- package/src/models/ProductTable.ts +31 -0
- package/src/models/Program.ts +29 -0
- package/src/models/ProgramTypeEnum.ts +22 -0
- package/src/models/Recipient.ts +13 -0
- package/src/models/RecommendationSearchAPI.ts +8 -0
- package/src/models/RedirectTokenRequest.ts +8 -0
- package/src/models/RedirectTokenResponse.ts +10 -0
- package/src/models/ReportCreate.ts +12 -0
- package/src/models/ReportData.ts +33 -0
- package/src/models/ReportDetail.ts +9 -0
- package/src/models/ReportList.ts +9 -0
- package/src/models/ReportRequest.ts +26 -0
- package/src/models/ReportStatus.ts +46 -0
- package/src/models/ReportedSkill.ts +9 -0
- package/src/models/ResourcePoint.ts +12 -0
- package/src/models/RevenueByProduct.ts +11 -0
- package/src/models/SendNotification.ts +11 -0
- package/src/models/SendResponse.ts +14 -0
- package/src/models/Skill.ts +12 -0
- package/src/models/SkillDetail.ts +14 -0
- package/src/models/SkillInfo.ts +28 -0
- package/src/models/SkillThreshold.ts +19 -0
- package/src/models/StateEnum.ts +26 -0
- package/src/models/StatusEnum.ts +14 -0
- package/src/models/SubTimeChild.ts +23 -0
- package/src/models/Summary.ts +23 -0
- package/src/models/TimeChildData.ts +25 -0
- package/src/models/TimeDetail.ts +13 -0
- package/src/models/TimeDetailChild.ts +31 -0
- package/src/models/TimeDetailData.ts +29 -0
- package/src/models/TimeSpentByUsersInCourse.ts +11 -0
- package/src/models/TimeSpentByUsersInCourseData.ts +27 -0
- package/src/models/TimeSpentPerCourse.ts +11 -0
- package/src/models/TimeSpentPerCourseData.ts +31 -0
- package/src/models/TimeSpentPerUserResponse.ts +8 -0
- package/src/models/TimeSpentUpdateRequest.ts +16 -0
- package/src/models/TimeSpentUpdateResponse.ts +9 -0
- package/src/models/TypeEnum.ts +22 -0
- package/src/models/UploadedImage.ts +10 -0
- package/src/models/UserInfo.ts +18 -0
- package/src/models/UserSkill.ts +27 -0
- package/src/models/UserSkillPointsPercentile.ts +13 -0
- package/src/models/ValidateSourceResponse.ts +15 -0
- package/src/models/Value.ts +9 -0
- package/src/models/ValueData.ts +11 -0
- package/src/models/VideoBlock.ts +19 -0
- package/src/models/VideoEngagementPerCourse.ts +11 -0
- package/src/models/VideoEngagementPerCourseData.ts +35 -0
- package/src/models/VideosCount.ts +9 -0
- package/src/models/VideosCountData.ts +11 -0
- package/src/models/VideosInCourseSummary.ts +9 -0
- package/src/models/VideosInCourseSummaryData.ts +17 -0
- package/src/models/VideosSpecificCourse.ts +9 -0
- package/src/models/VideosSpecificCourseData.ts +31 -0
- package/src/models/VideosWatchedSubSection.ts +24 -0
- package/src/models/WatchedVideosPerUser.ts +13 -0
- package/src/models/WatchedVideosPerUserData.ts +23 -0
- package/src/services/AnalyticsService.ts +94 -0
- package/src/services/AudienceService.ts +602 -0
- package/src/services/CareerService.ts +568 -0
- package/src/services/CoreService.ts +487 -0
- package/src/services/CredentialsService.ts +1647 -0
- package/src/services/DepartmentsService.ts +85 -0
- package/src/services/EngagementService.ts +907 -0
- package/src/services/FinanceService.ts +136 -0
- package/src/services/NotificationBuilderService.ts +133 -0
- package/src/services/NotificationService.ts +294 -0
- package/src/services/OverviewService.ts +324 -0
- package/src/services/PerformanceService.ts +329 -0
- package/src/services/PerlearnerService.ts +1009 -0
- package/src/services/PlatformService.ts +181 -0
- package/src/services/RecommendationsService.ts +31 -0
- package/src/services/ReportsService.ts +218 -0
- package/src/services/SearchService.ts +309 -0
- package/src/services/SkillsService.ts +521 -0
- package/src/services/UserGroupsService.ts +91 -0
- package/tsconfig.json +15 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { GroupList } from '../models/GroupList';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class DepartmentsService {
|
|
4
|
+
/**
|
|
5
|
+
* Get a list of departments with metrics and filtering options.
|
|
6
|
+
*
|
|
7
|
+
* This endpoint provides a paginated list of departments with aggregated metrics
|
|
8
|
+
* about learner performance, course completions, and skill acquisition.
|
|
9
|
+
*
|
|
10
|
+
* Query Parameters:
|
|
11
|
+
* page (int, optional): Page number for pagination
|
|
12
|
+
* length (int, optional): Number of items per page
|
|
13
|
+
* program (str, optional): Filter by program
|
|
14
|
+
* pathway (str, optional): Filter by pathway
|
|
15
|
+
* departments (list, optional): Filter by department ids
|
|
16
|
+
* department_id (str, optional): Filter by department id
|
|
17
|
+
* location (str, optional): Filter by location
|
|
18
|
+
* is_enrolled (bool, optional): Filter for departments with enrolled users
|
|
19
|
+
* start_date (date, optional): Filter by learner join date (start range)
|
|
20
|
+
* end_date (date, optional): Filter by learner join date (end range)
|
|
21
|
+
*
|
|
22
|
+
* Returns:
|
|
23
|
+
* A paginated list of departments with comprehensive metrics.
|
|
24
|
+
* @param org
|
|
25
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
26
|
+
* @param departments Departments search string. Single string or list of strings. e.g 'sample_department' or `['department', 'another department']`
|
|
27
|
+
* @param endDate Filter by learners date_joined. Start date. ISO 8601
|
|
28
|
+
* @param format Format
|
|
29
|
+
*
|
|
30
|
+
* * `json` - json
|
|
31
|
+
* @param includeMainPlatform Include main platform data
|
|
32
|
+
* @param isEnrolled Filter for users who have at least an enro;lment
|
|
33
|
+
* @param length Size of data to return
|
|
34
|
+
* @param location Location search string
|
|
35
|
+
* @param page Page offset
|
|
36
|
+
* @param pathway Pathway string
|
|
37
|
+
* @param program Program search string
|
|
38
|
+
* @param startDate Filter by learners date_joined. Start date. ISO 8601
|
|
39
|
+
* @returns GroupList
|
|
40
|
+
* @throws ApiError
|
|
41
|
+
*/
|
|
42
|
+
static departmentsOrgsRetrieve(org: string, departmentId?: number, departments?: Array<string>, endDate?: string, format?: 'json', includeMainPlatform?: boolean, isEnrolled?: boolean | null, length?: number, location?: string, page?: number, pathway?: string, program?: string, startDate?: string): CancelablePromise<GroupList>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,467 @@
|
|
|
1
|
+
import type { AverageOvertime } from '../models/AverageOvertime';
|
|
2
|
+
import type { CourseCompletionPerCourse } from '../models/CourseCompletionPerCourse';
|
|
3
|
+
import type { EngagementPerCourse } from '../models/EngagementPerCourse';
|
|
4
|
+
import type { OvertimeWithChangeInfo } from '../models/OvertimeWithChangeInfo';
|
|
5
|
+
import type { OverTimeWithTotal } from '../models/OverTimeWithTotal';
|
|
6
|
+
import type { PerLearnerTimeSpentInCourseTree } from '../models/PerLearnerTimeSpentInCourseTree';
|
|
7
|
+
import type { TimeDetail } from '../models/TimeDetail';
|
|
8
|
+
import type { TimeSpentByUsersInCourse } from '../models/TimeSpentByUsersInCourse';
|
|
9
|
+
import type { TimeSpentPerCourse } from '../models/TimeSpentPerCourse';
|
|
10
|
+
import type { VideoEngagementPerCourse } from '../models/VideoEngagementPerCourse';
|
|
11
|
+
import type { VideosInCourseSummary } from '../models/VideosInCourseSummary';
|
|
12
|
+
import type { VideosSpecificCourse } from '../models/VideosSpecificCourse';
|
|
13
|
+
import type { WatchedVideosPerUser } from '../models/WatchedVideosPerUser';
|
|
14
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
15
|
+
export declare class EngagementService {
|
|
16
|
+
/**
|
|
17
|
+
* Get engagement metrics on a per-course basis.
|
|
18
|
+
*
|
|
19
|
+
* This endpoint provides a paginated list of courses with engagement metrics
|
|
20
|
+
* including activity counts, time spent, and interaction data.
|
|
21
|
+
*
|
|
22
|
+
* Query Parameters:
|
|
23
|
+
* page (int, optional): Page number for pagination
|
|
24
|
+
* length (int, optional): Number of items per page
|
|
25
|
+
*
|
|
26
|
+
* Returns:
|
|
27
|
+
* A paginated list of courses with their engagement metrics.
|
|
28
|
+
* @param org
|
|
29
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
30
|
+
* @param format Format
|
|
31
|
+
*
|
|
32
|
+
* * `json` - json
|
|
33
|
+
* @param includeMainPlatform Include main platform data
|
|
34
|
+
* @param length Size of data to return
|
|
35
|
+
* @param page Page offset
|
|
36
|
+
* @returns EngagementPerCourse
|
|
37
|
+
* @throws ApiError
|
|
38
|
+
*/
|
|
39
|
+
static engagementOrgsActivityRetrieve(org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean, length?: number, page?: number): CancelablePromise<EngagementPerCourse>;
|
|
40
|
+
/**
|
|
41
|
+
* Completion count per user per course across the platform
|
|
42
|
+
*
|
|
43
|
+
* Query Params
|
|
44
|
+
* 1. start_date e.g 2020-10-01
|
|
45
|
+
* 2. end_date e.g 2020-10-10
|
|
46
|
+
*
|
|
47
|
+
* Default result when no query param is added is last_7_days (today inclusive)
|
|
48
|
+
* @param org
|
|
49
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
50
|
+
* @param endDate end date. ISO 8601
|
|
51
|
+
* @param format Format
|
|
52
|
+
*
|
|
53
|
+
* * `json` - json
|
|
54
|
+
* @param includeMainPlatform Include main platform data
|
|
55
|
+
* @param startDate start date. ISO 8601
|
|
56
|
+
* @returns OvertimeWithChangeInfo
|
|
57
|
+
* @throws ApiError
|
|
58
|
+
*/
|
|
59
|
+
static engagementOrgsCourseCompletionOverTimeRetrieve(org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<OvertimeWithChangeInfo>;
|
|
60
|
+
/**
|
|
61
|
+
* List course completion metrics on a per-course basis.
|
|
62
|
+
*
|
|
63
|
+
* This endpoint provides a paginated table of courses with enrollment and
|
|
64
|
+
* completion statistics for each course.
|
|
65
|
+
*
|
|
66
|
+
* Returns:
|
|
67
|
+
* A paginated list of courses with:
|
|
68
|
+
* - Course identification (ID and name)
|
|
69
|
+
* - Enrollment count
|
|
70
|
+
* - Completion count
|
|
71
|
+
* - Average completion rate
|
|
72
|
+
* @param org
|
|
73
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
74
|
+
* @param format Format
|
|
75
|
+
*
|
|
76
|
+
* * `json` - json
|
|
77
|
+
* @param includeMainPlatform Include main platform data
|
|
78
|
+
* @param length Size of data to return
|
|
79
|
+
* @param page Page offset
|
|
80
|
+
* @returns CourseCompletionPerCourse
|
|
81
|
+
* @throws ApiError
|
|
82
|
+
*/
|
|
83
|
+
static engagementOrgsCourseCompletionPerCourseRetrieve(org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean, length?: number, page?: number): CancelablePromise<CourseCompletionPerCourse>;
|
|
84
|
+
/**
|
|
85
|
+
* Average time spent in secs on a per-day basis
|
|
86
|
+
*
|
|
87
|
+
* Query Params
|
|
88
|
+
* 1. start_date e.g 2020-10-01
|
|
89
|
+
* 2. end_date e.g 2020-10-10
|
|
90
|
+
* 3. course_id <optional>
|
|
91
|
+
*
|
|
92
|
+
* Default result when no query param is added is last_7_days (today inclusive)
|
|
93
|
+
* @param courseId
|
|
94
|
+
* @param org
|
|
95
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
96
|
+
* @param endDate end date. ISO 8601
|
|
97
|
+
* @param format Format
|
|
98
|
+
*
|
|
99
|
+
* * `json` - json
|
|
100
|
+
* @param includeMainPlatform Include main platform data
|
|
101
|
+
* @param startDate start date. ISO 8601
|
|
102
|
+
* @returns AverageOvertime
|
|
103
|
+
* @throws ApiError
|
|
104
|
+
*/
|
|
105
|
+
static engagementOrgsCoursesTimeAverageRetrieve(courseId: string, org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<AverageOvertime>;
|
|
106
|
+
/**
|
|
107
|
+
* Time spent per course in secs in a tree like form
|
|
108
|
+
*
|
|
109
|
+
* Kwargs
|
|
110
|
+
* course_id e.g course-v1:Org+Course4+Run
|
|
111
|
+
*
|
|
112
|
+
* Query Params
|
|
113
|
+
* 1. start_date <optional> e.g 2020-10-01
|
|
114
|
+
* 2. end_date <optional> e.g 2020-10-10
|
|
115
|
+
* @param courseId
|
|
116
|
+
* @param org
|
|
117
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
118
|
+
* @param format Format
|
|
119
|
+
*
|
|
120
|
+
* * `json` - json
|
|
121
|
+
* @param includeMainPlatform Include main platform data
|
|
122
|
+
* @returns TimeDetail
|
|
123
|
+
* @throws ApiError
|
|
124
|
+
*/
|
|
125
|
+
static engagementOrgsCoursesTimeDetailRetrieve(courseId: string, org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean): CancelablePromise<TimeDetail>;
|
|
126
|
+
/**
|
|
127
|
+
* Time spent per course in secs on a per-day basis
|
|
128
|
+
*
|
|
129
|
+
* Query Params
|
|
130
|
+
* 1. start_date e.g 2020-10-01
|
|
131
|
+
* 2. end_date e.g 2020-10-10
|
|
132
|
+
* Kwargs
|
|
133
|
+
* 3. course_id
|
|
134
|
+
*
|
|
135
|
+
* Default result when no query param is added is last_7_days (today inclusive)
|
|
136
|
+
* @param courseId
|
|
137
|
+
* @param org
|
|
138
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
139
|
+
* @param endDate end date. ISO 8601
|
|
140
|
+
* @param format Format
|
|
141
|
+
*
|
|
142
|
+
* * `json` - json
|
|
143
|
+
* @param includeMainPlatform Include main platform data
|
|
144
|
+
* @param startDate start date. ISO 8601
|
|
145
|
+
* @returns OverTimeWithTotal
|
|
146
|
+
* @throws ApiError
|
|
147
|
+
*/
|
|
148
|
+
static engagementOrgsCoursesTimeOverTimeRetrieve(courseId: string, org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<OverTimeWithTotal>;
|
|
149
|
+
/**
|
|
150
|
+
* Time spent by users in a course
|
|
151
|
+
*
|
|
152
|
+
* Query Params
|
|
153
|
+
* course_id e.g course-v1:Org+Course4+Run
|
|
154
|
+
* @param courseId
|
|
155
|
+
* @param org
|
|
156
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
157
|
+
* @param endDate end date. ISO 8601
|
|
158
|
+
* @param format Format
|
|
159
|
+
*
|
|
160
|
+
* * `json` - json
|
|
161
|
+
* @param includeMainPlatform Include main platform data
|
|
162
|
+
* @param length Size of data to return
|
|
163
|
+
* @param page Page offset
|
|
164
|
+
* @param startDate start date. ISO 8601
|
|
165
|
+
* @returns TimeSpentByUsersInCourse
|
|
166
|
+
* @throws ApiError
|
|
167
|
+
*/
|
|
168
|
+
static engagementOrgsCoursesTimeUsersRetrieve(courseId: string, org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, length?: number, page?: number, startDate?: string): CancelablePromise<TimeSpentByUsersInCourse>;
|
|
169
|
+
/**
|
|
170
|
+
* Time spent within a course in ordered hierarchical format
|
|
171
|
+
*
|
|
172
|
+
* Kwargs
|
|
173
|
+
* 1. course_id e.g course-v1:Org+Course4+Run
|
|
174
|
+
* 2. user_id e.g developer@ibleducation.com or dev123 (username|email)
|
|
175
|
+
* Query Params
|
|
176
|
+
* 3. start_date <optional> e.g 2020-10-01
|
|
177
|
+
* 4. end_date <optional> e.g 2020-10-10
|
|
178
|
+
* @param courseId
|
|
179
|
+
* @param org
|
|
180
|
+
* @param userId
|
|
181
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
182
|
+
* @param endDate end date. ISO 8601
|
|
183
|
+
* @param format Format
|
|
184
|
+
*
|
|
185
|
+
* * `json` - json
|
|
186
|
+
* @param includeMainPlatform Include main platform data
|
|
187
|
+
* @param startDate start date. ISO 8601
|
|
188
|
+
* @returns PerLearnerTimeSpentInCourseTree
|
|
189
|
+
* @throws ApiError
|
|
190
|
+
*/
|
|
191
|
+
static engagementOrgsCoursesTimeUsersDetailRetrieve(courseId: string, org: string, userId: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<PerLearnerTimeSpentInCourseTree>;
|
|
192
|
+
/**
|
|
193
|
+
* Time spent in secs on a per-day basis
|
|
194
|
+
*
|
|
195
|
+
* Query Params
|
|
196
|
+
* 1. course_id <optional> e.g course-v1:Org+Course4+Run
|
|
197
|
+
* 2. user_id <optional> e.g developer@ibleducation.com or dev123 (username|email)
|
|
198
|
+
* 3. start_date e.g 2020-10-01
|
|
199
|
+
* 4. end_date e.g 2020-10-10
|
|
200
|
+
*
|
|
201
|
+
* Default result when no query param is added is last_7_days (today inclusive)
|
|
202
|
+
* @param courseId
|
|
203
|
+
* @param org
|
|
204
|
+
* @param userId
|
|
205
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
206
|
+
* @param endDate end date. ISO 8601
|
|
207
|
+
* @param format Format
|
|
208
|
+
*
|
|
209
|
+
* * `json` - json
|
|
210
|
+
* @param includeMainPlatform Include main platform data
|
|
211
|
+
* @param startDate start date. ISO 8601
|
|
212
|
+
* @returns OverTimeWithTotal
|
|
213
|
+
* @throws ApiError
|
|
214
|
+
*/
|
|
215
|
+
static engagementOrgsCoursesTimeUsersOverTimeRetrieve(courseId: string, org: string, userId: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<OverTimeWithTotal>;
|
|
216
|
+
/**
|
|
217
|
+
* Get video engagement metrics for a specific course.
|
|
218
|
+
*
|
|
219
|
+
* This endpoint provides detailed video engagement statistics for a single course,
|
|
220
|
+
* including view counts, completion rates, and time spent on videos.
|
|
221
|
+
*
|
|
222
|
+
* Query Parameters:
|
|
223
|
+
* course_id (str): The course ID to get video engagement data for
|
|
224
|
+
*
|
|
225
|
+
* Returns:
|
|
226
|
+
* Detailed video engagement metrics for the specified course.
|
|
227
|
+
* @param courseId
|
|
228
|
+
* @param org
|
|
229
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
230
|
+
* @param format Format
|
|
231
|
+
*
|
|
232
|
+
* * `json` - json
|
|
233
|
+
* @param includeMainPlatform Include main platform data
|
|
234
|
+
* @returns VideosSpecificCourse
|
|
235
|
+
* @throws ApiError
|
|
236
|
+
*/
|
|
237
|
+
static engagementOrgsCoursesVideosRetrieve(courseId: string, org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean): CancelablePromise<VideosSpecificCourse>;
|
|
238
|
+
/**
|
|
239
|
+
* Get video watch counts over time.
|
|
240
|
+
*
|
|
241
|
+
* This endpoint provides daily counts of videos watched over a specified time period,
|
|
242
|
+
* with options to filter by course or user.
|
|
243
|
+
*
|
|
244
|
+
* Query Parameters:
|
|
245
|
+
* start_date (str, optional): Start date for the time range (ISO format)
|
|
246
|
+
* end_date (str, optional): End date for the time range (ISO format)
|
|
247
|
+
* course_id (str, optional): Filter by course ID
|
|
248
|
+
* user_id (str, optional): Filter by username or email
|
|
249
|
+
*
|
|
250
|
+
* Returns:
|
|
251
|
+
* Daily video watch counts over the specified time period.
|
|
252
|
+
*
|
|
253
|
+
* Default time range is the last 7 days if no dates are specified.
|
|
254
|
+
*
|
|
255
|
+
* Access Control:
|
|
256
|
+
* - Platform admins can access any video watch data
|
|
257
|
+
* - Learners can access their own video watch data
|
|
258
|
+
* @param courseId
|
|
259
|
+
* @param org
|
|
260
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
261
|
+
* @param endDate end date. ISO 8601
|
|
262
|
+
* @param format Format
|
|
263
|
+
*
|
|
264
|
+
* * `json` - json
|
|
265
|
+
* @param includeMainPlatform Include main platform data
|
|
266
|
+
* @param startDate start date. ISO 8601
|
|
267
|
+
* @returns OverTimeWithTotal
|
|
268
|
+
* @throws ApiError
|
|
269
|
+
*/
|
|
270
|
+
static engagementOrgsCoursesVideosOverTimeRetrieve(courseId: string, org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<OverTimeWithTotal>;
|
|
271
|
+
/**
|
|
272
|
+
* Get a summary of video watch statistics for a specific course.
|
|
273
|
+
*
|
|
274
|
+
* This endpoint provides a structured summary of video watch data for a course,
|
|
275
|
+
* organized in a tree-like format by course sections and subsections.
|
|
276
|
+
*
|
|
277
|
+
* Query Parameters:
|
|
278
|
+
* course_id (str): The course ID to get video summary for
|
|
279
|
+
*
|
|
280
|
+
* Returns:
|
|
281
|
+
* A hierarchical structure of video watch data for the course, including:
|
|
282
|
+
* - Section and subsection organization
|
|
283
|
+
* - Video identification and metadata
|
|
284
|
+
* - Watch counts and completion rates
|
|
285
|
+
* @param courseId
|
|
286
|
+
* @param org
|
|
287
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
288
|
+
* @param format Format
|
|
289
|
+
*
|
|
290
|
+
* * `json` - json
|
|
291
|
+
* @param includeMainPlatform Include main platform data
|
|
292
|
+
* @returns VideosInCourseSummary
|
|
293
|
+
* @throws ApiError
|
|
294
|
+
*/
|
|
295
|
+
static engagementOrgsCoursesVideosSummaryRetrieve(courseId: string, org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean): CancelablePromise<VideosInCourseSummary>;
|
|
296
|
+
/**
|
|
297
|
+
* List of users' videos completed records for a specific course
|
|
298
|
+
*
|
|
299
|
+
* Kwargs
|
|
300
|
+
* course_id e.g course-v1:Org+Course4+Run
|
|
301
|
+
* @param courseId
|
|
302
|
+
* @param org
|
|
303
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
304
|
+
* @param format Format
|
|
305
|
+
*
|
|
306
|
+
* * `json` - json
|
|
307
|
+
* @param includeMainPlatform Include main platform data
|
|
308
|
+
* @returns WatchedVideosPerUser
|
|
309
|
+
* @throws ApiError
|
|
310
|
+
*/
|
|
311
|
+
static engagementOrgsCoursesVideosUsersRetrieve(courseId: string, org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean): CancelablePromise<WatchedVideosPerUser>;
|
|
312
|
+
/**
|
|
313
|
+
* Average time spent by a learner in enrolled courses. Gives a rough estimate of whats the average time
|
|
314
|
+
* that would be spent by a learner in a course
|
|
315
|
+
*
|
|
316
|
+
* Query Params
|
|
317
|
+
* 1. start_date e.g 2020-10-01
|
|
318
|
+
* 2. end_date e.g 2020-10-10
|
|
319
|
+
* @param org
|
|
320
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
321
|
+
* @param endDate end date. ISO 8601
|
|
322
|
+
* @param format Format
|
|
323
|
+
*
|
|
324
|
+
* * `json` - json
|
|
325
|
+
* @param includeMainPlatform Include main platform data
|
|
326
|
+
* @param startDate start date. ISO 8601
|
|
327
|
+
* @returns AverageOvertime
|
|
328
|
+
* @throws ApiError
|
|
329
|
+
*/
|
|
330
|
+
static engagementOrgsTimeAveragePerlearnerPercourseRetrieve(org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<AverageOvertime>;
|
|
331
|
+
/**
|
|
332
|
+
* Average time spent in secs on a per-day basis
|
|
333
|
+
*
|
|
334
|
+
* Query Params
|
|
335
|
+
* 1. start_date e.g 2020-10-01
|
|
336
|
+
* 2. end_date e.g 2020-10-10
|
|
337
|
+
* 3. course_id <optional>
|
|
338
|
+
*
|
|
339
|
+
* Default result when no query param is added is last_7_days (today inclusive)
|
|
340
|
+
* @param org
|
|
341
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
342
|
+
* @param endDate end date. ISO 8601
|
|
343
|
+
* @param format Format
|
|
344
|
+
*
|
|
345
|
+
* * `json` - json
|
|
346
|
+
* @param includeMainPlatform Include main platform data
|
|
347
|
+
* @param startDate start date. ISO 8601
|
|
348
|
+
* @returns AverageOvertime
|
|
349
|
+
* @throws ApiError
|
|
350
|
+
*/
|
|
351
|
+
static engagementOrgsTimeAverageWithOverTimeRetrieve(org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<AverageOvertime>;
|
|
352
|
+
/**
|
|
353
|
+
* Get time spent on the platform over time.
|
|
354
|
+
*
|
|
355
|
+
* This endpoint provides daily time spent values (in seconds) across the
|
|
356
|
+
* platform over a specified time period.
|
|
357
|
+
*
|
|
358
|
+
* Query Parameters:
|
|
359
|
+
* start_date (str, optional): Start date for the time range (ISO format)
|
|
360
|
+
* end_date (str, optional): End date for the time range (ISO format)
|
|
361
|
+
*
|
|
362
|
+
* Returns:
|
|
363
|
+
* Daily time spent values over the specified time period, with change metrics
|
|
364
|
+
* compared to previous periods.
|
|
365
|
+
*
|
|
366
|
+
* Default time range is the last 7 days if no dates are specified.
|
|
367
|
+
* @param org
|
|
368
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
369
|
+
* @param endDate end date. ISO 8601
|
|
370
|
+
* @param format Format
|
|
371
|
+
*
|
|
372
|
+
* * `json` - json
|
|
373
|
+
* @param includeMainPlatform Include main platform data
|
|
374
|
+
* @param startDate start date. ISO 8601
|
|
375
|
+
* @returns OvertimeWithChangeInfo
|
|
376
|
+
* @throws ApiError
|
|
377
|
+
*/
|
|
378
|
+
static engagementOrgsTimeOverTimeRetrieve(org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<OvertimeWithChangeInfo>;
|
|
379
|
+
/**
|
|
380
|
+
* Get time spent statistics on a per-course basis.
|
|
381
|
+
*
|
|
382
|
+
* This endpoint provides a paginated list of courses with the total time
|
|
383
|
+
* spent by users in each course.
|
|
384
|
+
*
|
|
385
|
+
* Query Parameters:
|
|
386
|
+
* start_date (str, optional): Start date for filtering (ISO format)
|
|
387
|
+
* end_date (str, optional): End date for filtering (ISO format)
|
|
388
|
+
* page (int, optional): Page number for pagination
|
|
389
|
+
* length (int, optional): Number of items per page
|
|
390
|
+
*
|
|
391
|
+
* Returns:
|
|
392
|
+
* A paginated list of courses with:
|
|
393
|
+
* - Course identification (ID and name)
|
|
394
|
+
* - Total time spent (in seconds)
|
|
395
|
+
* - Formatted time spent (human-readable)
|
|
396
|
+
* - Percentage of total platform time
|
|
397
|
+
* @param org
|
|
398
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
399
|
+
* @param endDate end date. ISO 8601
|
|
400
|
+
* @param format Format
|
|
401
|
+
*
|
|
402
|
+
* * `json` - json
|
|
403
|
+
* @param includeMainPlatform Include main platform data
|
|
404
|
+
* @param length Size of data to return
|
|
405
|
+
* @param page Page offset
|
|
406
|
+
* @param startDate start date. ISO 8601
|
|
407
|
+
* @returns TimeSpentPerCourse
|
|
408
|
+
* @throws ApiError
|
|
409
|
+
*/
|
|
410
|
+
static engagementOrgsTimePerCourseRetrieve(org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, length?: number, page?: number, startDate?: string): CancelablePromise<TimeSpentPerCourse>;
|
|
411
|
+
/**
|
|
412
|
+
* Get video engagement metrics on a per-course basis.
|
|
413
|
+
*
|
|
414
|
+
* This endpoint provides a paginated list of courses with video engagement metrics
|
|
415
|
+
* including view counts, completion rates, and time spent on videos.
|
|
416
|
+
*
|
|
417
|
+
* Query Parameters:
|
|
418
|
+
* page (int, optional): Page number for pagination
|
|
419
|
+
* length (int, optional): Number of items per page
|
|
420
|
+
*
|
|
421
|
+
* Returns:
|
|
422
|
+
* A paginated list of courses with their video engagement metrics.
|
|
423
|
+
* @param org
|
|
424
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
425
|
+
* @param format Format
|
|
426
|
+
*
|
|
427
|
+
* * `json` - json
|
|
428
|
+
* @param includeMainPlatform Include main platform data
|
|
429
|
+
* @param length Size of data to return
|
|
430
|
+
* @param page Page offset
|
|
431
|
+
* @returns VideoEngagementPerCourse
|
|
432
|
+
* @throws ApiError
|
|
433
|
+
*/
|
|
434
|
+
static engagementOrgsVideosRetrieve(org: string, departmentId?: number, format?: 'json', includeMainPlatform?: boolean, length?: number, page?: number): CancelablePromise<VideoEngagementPerCourse>;
|
|
435
|
+
/**
|
|
436
|
+
* Get video watch counts over time.
|
|
437
|
+
*
|
|
438
|
+
* This endpoint provides daily counts of videos watched over a specified time period,
|
|
439
|
+
* with options to filter by course or user.
|
|
440
|
+
*
|
|
441
|
+
* Query Parameters:
|
|
442
|
+
* start_date (str, optional): Start date for the time range (ISO format)
|
|
443
|
+
* end_date (str, optional): End date for the time range (ISO format)
|
|
444
|
+
* course_id (str, optional): Filter by course ID
|
|
445
|
+
* user_id (str, optional): Filter by username or email
|
|
446
|
+
*
|
|
447
|
+
* Returns:
|
|
448
|
+
* Daily video watch counts over the specified time period.
|
|
449
|
+
*
|
|
450
|
+
* Default time range is the last 7 days if no dates are specified.
|
|
451
|
+
*
|
|
452
|
+
* Access Control:
|
|
453
|
+
* - Platform admins can access any video watch data
|
|
454
|
+
* - Learners can access their own video watch data
|
|
455
|
+
* @param org
|
|
456
|
+
* @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
457
|
+
* @param endDate end date. ISO 8601
|
|
458
|
+
* @param format Format
|
|
459
|
+
*
|
|
460
|
+
* * `json` - json
|
|
461
|
+
* @param includeMainPlatform Include main platform data
|
|
462
|
+
* @param startDate start date. ISO 8601
|
|
463
|
+
* @returns OverTimeWithTotal
|
|
464
|
+
* @throws ApiError
|
|
465
|
+
*/
|
|
466
|
+
static engagementOrgsVideosOverTimeRetrieve(org: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<OverTimeWithTotal>;
|
|
467
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { NetRevenueOverTime } from '../models/NetRevenueOverTime';
|
|
2
|
+
import type { Order } from '../models/Order';
|
|
3
|
+
import type { Product } from '../models/Product';
|
|
4
|
+
import type { RevenueByProduct } from '../models/RevenueByProduct';
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
|
+
export declare class FinanceService {
|
|
7
|
+
/**
|
|
8
|
+
* Returns table listing products and product info for all or specific org
|
|
9
|
+
* @param org
|
|
10
|
+
* @returns Product
|
|
11
|
+
* @throws ApiError
|
|
12
|
+
*/
|
|
13
|
+
static financeOrgsProductsRetrieve(org: string): CancelablePromise<Product>;
|
|
14
|
+
/**
|
|
15
|
+
* Return list of WooCommerce orders for product item_id over optional date range
|
|
16
|
+
* @param itemId
|
|
17
|
+
* @param org
|
|
18
|
+
* @param endDate End of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
19
|
+
* @param startDate Start of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
20
|
+
* @returns Order
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
static financeOrgsProductsOrdersRetrieve(itemId: string, org: string, endDate?: string, startDate?: string): CancelablePromise<Order>;
|
|
24
|
+
/**
|
|
25
|
+
* Returns Net Revenue over time for org and slug
|
|
26
|
+
* @param itemId
|
|
27
|
+
* @param org
|
|
28
|
+
* @param endDate End of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
29
|
+
* @param startDate Start of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
30
|
+
* @returns NetRevenueOverTime
|
|
31
|
+
* @throws ApiError
|
|
32
|
+
*/
|
|
33
|
+
static financeOrgsProductsSalesOverTimeRetrieve(itemId: string, org: string, endDate?: string, startDate?: string): CancelablePromise<NetRevenueOverTime>;
|
|
34
|
+
/**
|
|
35
|
+
* Returns Net Revenue over time for org and slug
|
|
36
|
+
* @param org
|
|
37
|
+
* @param endDate End of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
38
|
+
* @param startDate Start of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
39
|
+
* @returns NetRevenueOverTime
|
|
40
|
+
* @throws ApiError
|
|
41
|
+
*/
|
|
42
|
+
static financeOrgsRevenueNetOverTimeRetrieve(org: string, endDate?: string, startDate?: string): CancelablePromise<NetRevenueOverTime>;
|
|
43
|
+
/**
|
|
44
|
+
* Returns Revenue by Product + summary for specific org
|
|
45
|
+
* @param org
|
|
46
|
+
* @param endDate End of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
47
|
+
* @param startDate Start of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
48
|
+
* @returns RevenueByProduct
|
|
49
|
+
* @throws ApiError
|
|
50
|
+
*/
|
|
51
|
+
static financeOrgsRevenueProductsRetrieve(org: string, endDate?: string, startDate?: string): CancelablePromise<RevenueByProduct>;
|
|
52
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { ContextResponse } from '../models/ContextResponse';
|
|
2
|
+
import type { NotificationPreview } from '../models/NotificationPreview';
|
|
3
|
+
import type { NotificationSource } from '../models/NotificationSource';
|
|
4
|
+
import type { PreviewResponse } from '../models/PreviewResponse';
|
|
5
|
+
import type { Recipient } from '../models/Recipient';
|
|
6
|
+
import type { SendNotification } from '../models/SendNotification';
|
|
7
|
+
import type { SendResponse } from '../models/SendResponse';
|
|
8
|
+
import type { ValidateSourceResponse } from '../models/ValidateSourceResponse';
|
|
9
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
10
|
+
export declare class NotificationBuilderService {
|
|
11
|
+
/**
|
|
12
|
+
* Get build recipients
|
|
13
|
+
* Get paginated list of recipients for a notification build
|
|
14
|
+
* @param id
|
|
15
|
+
* @param platformKey
|
|
16
|
+
* @param page Page number
|
|
17
|
+
* @param pageSize Number of items per page
|
|
18
|
+
* @param search Search recipients by username or email
|
|
19
|
+
* @returns Recipient
|
|
20
|
+
* @throws ApiError
|
|
21
|
+
*/
|
|
22
|
+
static notificationV1OrgsNotificationBuilderRecipientsList(id: string, platformKey: string, page?: number, pageSize?: number, search?: string): CancelablePromise<Array<Recipient>>;
|
|
23
|
+
/**
|
|
24
|
+
* Get notification context data
|
|
25
|
+
* Get all context data needed for notification building including templates, channels, and platforms
|
|
26
|
+
* @param platformKey
|
|
27
|
+
* @returns ContextResponse
|
|
28
|
+
* @throws ApiError
|
|
29
|
+
*/
|
|
30
|
+
static notificationV1OrgsNotificationBuilderContextRetrieve(platformKey: string): CancelablePromise<ContextResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Preview notification
|
|
33
|
+
* Preview notification recipients and get build ID for sending
|
|
34
|
+
* @param platformKey
|
|
35
|
+
* @param requestBody
|
|
36
|
+
* @returns PreviewResponse
|
|
37
|
+
* @throws ApiError
|
|
38
|
+
*/
|
|
39
|
+
static notificationV1OrgsNotificationBuilderPreviewCreate(platformKey: string, requestBody: NotificationPreview): CancelablePromise<PreviewResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Send notification
|
|
42
|
+
* Send notifications to all recipients in a build
|
|
43
|
+
* @param platformKey
|
|
44
|
+
* @param requestBody
|
|
45
|
+
* @returns SendResponse
|
|
46
|
+
* @throws ApiError
|
|
47
|
+
*/
|
|
48
|
+
static notificationV1OrgsNotificationBuilderSendCreate(platformKey: string, requestBody: SendNotification): CancelablePromise<SendResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Validate notification source
|
|
51
|
+
* Validate a single notification source (email, username, platform, csv)
|
|
52
|
+
* @param platformKey
|
|
53
|
+
* @param requestBody
|
|
54
|
+
* @returns ValidateSourceResponse
|
|
55
|
+
* @throws ApiError
|
|
56
|
+
*/
|
|
57
|
+
static notificationV1OrgsNotificationBuilderValidateSourceCreate(platformKey: string, requestBody: NotificationSource): CancelablePromise<ValidateSourceResponse>;
|
|
58
|
+
}
|