@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,142 @@
|
|
|
1
|
+
import type { ReportCreate } from '../models/ReportCreate';
|
|
2
|
+
import type { ReportDetail } from '../models/ReportDetail';
|
|
3
|
+
import type { ReportList } from '../models/ReportList';
|
|
4
|
+
import type { ReportRequest } from '../models/ReportRequest';
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
|
+
export declare class ReportsService {
|
|
7
|
+
/**
|
|
8
|
+
* Lists all available reports in the system.
|
|
9
|
+
*
|
|
10
|
+
* This endpoint returns a list of all reports available to the user, including:
|
|
11
|
+
* - Report metadata (name, description, icon)
|
|
12
|
+
* - Available query parameters for each report
|
|
13
|
+
* - Result columns that will be returned
|
|
14
|
+
* - Current status of any previously requested reports
|
|
15
|
+
*
|
|
16
|
+
* If a report has been previously requested by the user, its status will be included
|
|
17
|
+
* in the response. Expired reports are automatically cleaned up.
|
|
18
|
+
*
|
|
19
|
+
* Returns:
|
|
20
|
+
* A list of report objects with their metadata and status information.
|
|
21
|
+
* @param org
|
|
22
|
+
* @returns ReportList
|
|
23
|
+
* @throws ApiError
|
|
24
|
+
*/
|
|
25
|
+
static reportsOrgsRetrieve(org: string): CancelablePromise<ReportList>;
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves detailed information about a specific report type.
|
|
28
|
+
*
|
|
29
|
+
* This endpoint provides:
|
|
30
|
+
* - Metadata about the report (name, description, icon)
|
|
31
|
+
* - Available query parameters for the report
|
|
32
|
+
* - Result columns that will be returned
|
|
33
|
+
* - Current status of the most recent report of this type requested by the user
|
|
34
|
+
*
|
|
35
|
+
* Path Parameters:
|
|
36
|
+
* report_name (str): The identifier of the report to retrieve details for
|
|
37
|
+
*
|
|
38
|
+
* Returns:
|
|
39
|
+
* Detailed information about the report type and its current status if previously requested.
|
|
40
|
+
*
|
|
41
|
+
* Error Responses:
|
|
42
|
+
* 404 Not Found: If the specified report type doesn't exist
|
|
43
|
+
* @param org
|
|
44
|
+
* @param reportName
|
|
45
|
+
* @returns ReportDetail
|
|
46
|
+
* @throws ApiError
|
|
47
|
+
*/
|
|
48
|
+
static reportsOrgsRetrieve2(org: string, reportName: string): CancelablePromise<ReportDetail>;
|
|
49
|
+
/**
|
|
50
|
+
* Creates and manages report generation requests.
|
|
51
|
+
*
|
|
52
|
+
* This endpoint allows users to:
|
|
53
|
+
* 1. Request a new report generation
|
|
54
|
+
* 2. Check the status of a previously requested report
|
|
55
|
+
* 3. Force regeneration of an existing report
|
|
56
|
+
*
|
|
57
|
+
* Reports expire after a configured time period (default is typically 24-48 hours).
|
|
58
|
+
*
|
|
59
|
+
* Request Parameters:
|
|
60
|
+
* report_name (str): The identifier of the report to generate
|
|
61
|
+
* owner (str): The username of the report owner (usually the current user)
|
|
62
|
+
* learner_id (str, optional): Filter by specific learner
|
|
63
|
+
* course_id (str, optional): Filter by specific course
|
|
64
|
+
* start_date (str, optional): Start date for report data (ISO format)
|
|
65
|
+
* end_date (str, optional): End date for report data (ISO format)
|
|
66
|
+
* filters (dict, optional): Additional filters specific to the report type
|
|
67
|
+
* force (bool, optional): Force regeneration even if a valid report exists
|
|
68
|
+
*
|
|
69
|
+
* Returns:
|
|
70
|
+
* For new reports:
|
|
71
|
+
* - report_id: The unique identifier for the report task
|
|
72
|
+
* - state: The current state of the report (PENDING, RUNNING, etc.)
|
|
73
|
+
*
|
|
74
|
+
* For completed reports:
|
|
75
|
+
* - report_id: The unique identifier for the report task
|
|
76
|
+
* - report_name: The name of the report
|
|
77
|
+
* - url: Download URL for the report
|
|
78
|
+
* - state: COMPLETED
|
|
79
|
+
* - expires: Expiration timestamp for the report
|
|
80
|
+
*
|
|
81
|
+
* For in-progress reports:
|
|
82
|
+
* - report_id: The unique identifier for the report task
|
|
83
|
+
* - state: Current state (PENDING, RUNNING)
|
|
84
|
+
* - started_on: When the report generation started
|
|
85
|
+
* - owner: Username of the report owner
|
|
86
|
+
*
|
|
87
|
+
* Error Responses:
|
|
88
|
+
* 400 Bad Request: Invalid parameters or report configuration
|
|
89
|
+
* 404 Not Found: Report type not found
|
|
90
|
+
* 403 Forbidden: User doesn't have permission for the requested report
|
|
91
|
+
* @param org
|
|
92
|
+
* @param requestBody
|
|
93
|
+
* @returns ReportCreate
|
|
94
|
+
* @throws ApiError
|
|
95
|
+
*/
|
|
96
|
+
static reportsOrgsNewCreate(org: string, requestBody?: ReportRequest): CancelablePromise<ReportCreate>;
|
|
97
|
+
/**
|
|
98
|
+
* Returns a list of reports available in the system.
|
|
99
|
+
*
|
|
100
|
+
* For each report, it includes:
|
|
101
|
+
* - display_name: Human-readable name of the report
|
|
102
|
+
* - description: Description of what the report contains
|
|
103
|
+
* - icon: URL to an icon representing the report
|
|
104
|
+
* - report_name: Unique identifier for the report
|
|
105
|
+
* - extra_query_params: Additional parameters that can be passed when creating the report
|
|
106
|
+
* - result_columns: Columns that will be included in the report results
|
|
107
|
+
* - status: Current status of the report if it has been previously requested
|
|
108
|
+
*
|
|
109
|
+
* The status will include details like the report ID, state, and download URL if completed.
|
|
110
|
+
* @param key
|
|
111
|
+
* @returns ReportList
|
|
112
|
+
* @throws ApiError
|
|
113
|
+
*/
|
|
114
|
+
static reportsPlatformsRetrieve(key: string): CancelablePromise<ReportList>;
|
|
115
|
+
/**
|
|
116
|
+
* Returns details of a specific report type including its status if previously requested.
|
|
117
|
+
* @param key
|
|
118
|
+
* @param reportName
|
|
119
|
+
* @returns ReportDetail
|
|
120
|
+
* @throws ApiError
|
|
121
|
+
*/
|
|
122
|
+
static reportsPlatformsRetrieve2(key: string, reportName: string): CancelablePromise<ReportDetail>;
|
|
123
|
+
/**
|
|
124
|
+
* Triggers a new report generation.
|
|
125
|
+
*
|
|
126
|
+
* If the report has been previously requested, it returns the status of the report.
|
|
127
|
+
* Reports expire after a configured duration.
|
|
128
|
+
*
|
|
129
|
+
* The request body should include:
|
|
130
|
+
* - report_name: Name of the report to generate
|
|
131
|
+
* - learner_id: (optional) ID of the learner to filter by
|
|
132
|
+
* - course_id: (optional) ID of the course to filter by
|
|
133
|
+
* - force: (optional) Force generation of a new report even if one exists
|
|
134
|
+
* - filters: (optional) Additional filters for the report
|
|
135
|
+
* - departments: (optional) Department IDs to filter by
|
|
136
|
+
* @param key
|
|
137
|
+
* @param requestBody
|
|
138
|
+
* @returns ReportCreate
|
|
139
|
+
* @throws ApiError
|
|
140
|
+
*/
|
|
141
|
+
static reportsPlatformsNewCreate(key: string, requestBody?: ReportRequest): CancelablePromise<ReportCreate>;
|
|
142
|
+
}
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
2
|
+
export declare class SearchService {
|
|
3
|
+
/**
|
|
4
|
+
* Search and filter content across the learning catalog.
|
|
5
|
+
*
|
|
6
|
+
* This endpoint provides a powerful search interface for discovering content across
|
|
7
|
+
* multiple content types (courses, programs, pathways, skills, roles, resources).
|
|
8
|
+
* It supports full-text search, faceted filtering, and pagination.
|
|
9
|
+
*
|
|
10
|
+
* Query Parameters:
|
|
11
|
+
* query (str, optional): Search term to filter content by name or description
|
|
12
|
+
* content (list, optional): Content types to include in results
|
|
13
|
+
* (courses, programs, pathways, skills, roles, resources)
|
|
14
|
+
* Default: ["programs", "courses", "pathways", "skills"]
|
|
15
|
+
*
|
|
16
|
+
* # Filtering parameters
|
|
17
|
+
* course_id (str, optional): Filter by specific course ID
|
|
18
|
+
* program_id (str, optional): Filter by specific program ID
|
|
19
|
+
* pathway_id (str, optional): Filter by specific pathway ID
|
|
20
|
+
* skill_id (str, optional): Filter by specific skill ID
|
|
21
|
+
* subject (list, optional): Filter by subject areas
|
|
22
|
+
* tenant (list, optional): Filter by tenant/organization
|
|
23
|
+
* topics (list, optional): Filter by topic areas
|
|
24
|
+
* tags (list, optional): Filter by tags
|
|
25
|
+
* level (list, optional): Filter by difficulty level
|
|
26
|
+
* self_paced (list, optional): Filter by course format (self-paced, instructor-led)
|
|
27
|
+
* promotion (list, optional): Filter by promotion status
|
|
28
|
+
* language (list, optional): Filter by content language
|
|
29
|
+
* certificate (list, optional): Filter by certificate type
|
|
30
|
+
* program_type (list, optional): Filter by program type
|
|
31
|
+
* duration (list, optional): Filter by course duration range
|
|
32
|
+
* price (str, optional): Filter by price/audit status
|
|
33
|
+
* resource_type (list, optional): Filter by resource type
|
|
34
|
+
* skills (list, optional): Filter by skills
|
|
35
|
+
*
|
|
36
|
+
* # Sorting and pagination
|
|
37
|
+
* order_by (str, optional): Field to sort results by
|
|
38
|
+
* order_ascending (bool, optional): Sort direction (default: false)
|
|
39
|
+
* alphabetical (bool, optional): Sort alphabetically by name (default: false)
|
|
40
|
+
* limit (int, optional): Number of results per page (default: 12, max: 100)
|
|
41
|
+
* offset (int, optional): Starting position for pagination
|
|
42
|
+
*
|
|
43
|
+
* # Response options
|
|
44
|
+
* return_facet (bool, optional): Include facet data in response (default: true)
|
|
45
|
+
* return_items (bool, optional): Include items in programs/pathways (default: false)
|
|
46
|
+
* allow_skill_search (bool, optional): Enable skill-based search (default: false)
|
|
47
|
+
* update_facet (str, optional): Force facet update
|
|
48
|
+
*
|
|
49
|
+
* Returns:
|
|
50
|
+
* A JSON response containing:
|
|
51
|
+
* - results: List of content items with metadata
|
|
52
|
+
* - count: Total number of matching items
|
|
53
|
+
* - next: URL for the next page of results (if available)
|
|
54
|
+
* - previous: URL for the previous page of results (if available)
|
|
55
|
+
* - current_page: Current page number
|
|
56
|
+
* - total_pages: Total number of pages
|
|
57
|
+
* - facets: Aggregated counts for each filter category (if requested)
|
|
58
|
+
*
|
|
59
|
+
* Each content item contains type-specific fields:
|
|
60
|
+
* - Courses:
|
|
61
|
+
* {
|
|
62
|
+
* "id": 123,
|
|
63
|
+
* "type": "course",
|
|
64
|
+
* "course_id": "CS101",
|
|
65
|
+
* "name": "Introduction to Computer Science",
|
|
66
|
+
* "description": "Learn the fundamentals of computer science",
|
|
67
|
+
* "short_description": "CS fundamentals",
|
|
68
|
+
* "image_url": "https://example.com/images/cs101.jpg",
|
|
69
|
+
* "level": "Beginner",
|
|
70
|
+
* "subject": "Computer Science",
|
|
71
|
+
* "topics": ["Programming", "Algorithms"],
|
|
72
|
+
* "tags": ["python", "coding"],
|
|
73
|
+
* "language": "English",
|
|
74
|
+
* "tenant": "example-university",
|
|
75
|
+
* "self_paced": true,
|
|
76
|
+
* "duration": "6 weeks",
|
|
77
|
+
* "certificate": "Professional Certificate",
|
|
78
|
+
* "price": "Free",
|
|
79
|
+
* "skills": [
|
|
80
|
+
* {"id": 1, "name": "Python Programming"},
|
|
81
|
+
* {"id": 2, "name": "Algorithms"}
|
|
82
|
+
* ],
|
|
83
|
+
* "url": "https://example.com/courses/cs101"
|
|
84
|
+
* }
|
|
85
|
+
*
|
|
86
|
+
* - Programs:
|
|
87
|
+
* {
|
|
88
|
+
* "id": 456,
|
|
89
|
+
* "type": "program",
|
|
90
|
+
* "program_id": "PROG123",
|
|
91
|
+
* "name": "Data Science Program",
|
|
92
|
+
* "description": "Comprehensive data science curriculum",
|
|
93
|
+
* "short_description": "Learn data science",
|
|
94
|
+
* "image_url": "https://example.com/images/datascience.jpg",
|
|
95
|
+
* "level": "Intermediate",
|
|
96
|
+
* "subject": "Data Science",
|
|
97
|
+
* "topics": ["Machine Learning", "Statistics"],
|
|
98
|
+
* "program_type": "Professional Certificate",
|
|
99
|
+
* "courses": [
|
|
100
|
+
* {"id": 123, "name": "Introduction to Python"},
|
|
101
|
+
* {"id": 124, "name": "Statistics for Data Science"}
|
|
102
|
+
* ],
|
|
103
|
+
* "url": "https://example.com/programs/prog123"
|
|
104
|
+
* }
|
|
105
|
+
*
|
|
106
|
+
* - Pathways:
|
|
107
|
+
* {
|
|
108
|
+
* "id": 789,
|
|
109
|
+
* "type": "pathway",
|
|
110
|
+
* "pathway_id": "PATH456",
|
|
111
|
+
* "name": "Software Engineering Career Path",
|
|
112
|
+
* "description": "Complete pathway to become a software engineer",
|
|
113
|
+
* "image_url": "https://example.com/images/swe-path.jpg",
|
|
114
|
+
* "programs": [
|
|
115
|
+
* {"id": 456, "name": "Programming Fundamentals"},
|
|
116
|
+
* {"id": 457, "name": "Web Development"}
|
|
117
|
+
* ],
|
|
118
|
+
* "url": "https://example.com/pathways/path456"
|
|
119
|
+
* }
|
|
120
|
+
*
|
|
121
|
+
* - Skills:
|
|
122
|
+
* {
|
|
123
|
+
* "id": 321,
|
|
124
|
+
* "type": "skill",
|
|
125
|
+
* "name": "Machine Learning",
|
|
126
|
+
* "description": "Building systems that learn from data",
|
|
127
|
+
* "courses": [
|
|
128
|
+
* {"id": 125, "name": "Machine Learning Fundamentals"}
|
|
129
|
+
* ],
|
|
130
|
+
* "related_skills": [
|
|
131
|
+
* {"id": 322, "name": "Deep Learning"}
|
|
132
|
+
* ]
|
|
133
|
+
* }
|
|
134
|
+
*
|
|
135
|
+
* - Roles:
|
|
136
|
+
* {
|
|
137
|
+
* "id": 654,
|
|
138
|
+
* "type": "role",
|
|
139
|
+
* "name": "Data Scientist",
|
|
140
|
+
* "description": "Professional who analyzes and interprets complex data",
|
|
141
|
+
* "skills": [
|
|
142
|
+
* {"id": 321, "name": "Machine Learning"},
|
|
143
|
+
* {"id": 323, "name": "Data Analysis"}
|
|
144
|
+
* ],
|
|
145
|
+
* "recommended_courses": [
|
|
146
|
+
* {"id": 125, "name": "Machine Learning Fundamentals"}
|
|
147
|
+
* ]
|
|
148
|
+
* }
|
|
149
|
+
*
|
|
150
|
+
* - Resources:
|
|
151
|
+
* {
|
|
152
|
+
* "id": 987,
|
|
153
|
+
* "type": "resource",
|
|
154
|
+
* "name": "Python Cheat Sheet",
|
|
155
|
+
* "description": "Quick reference guide for Python",
|
|
156
|
+
* "resource_type": "PDF",
|
|
157
|
+
* "url": "https://example.com/resources/python-cheatsheet.pdf",
|
|
158
|
+
* "topics": ["Programming", "Python"]
|
|
159
|
+
* }
|
|
160
|
+
*
|
|
161
|
+
* Error Responses:
|
|
162
|
+
* 500 Internal Server Error: If an unexpected error occurs during processing
|
|
163
|
+
*
|
|
164
|
+
* Notes:
|
|
165
|
+
* - Results are cached for performance
|
|
166
|
+
* - The 'resources' content type is only included by default if IBL_ENABLE_RESOURCES_IN_FACET is true
|
|
167
|
+
* - For debugging, add ?debug=true to see detailed information about skill matching
|
|
168
|
+
* @returns any No response body
|
|
169
|
+
* @throws ApiError
|
|
170
|
+
*/
|
|
171
|
+
static searchCatalogRetrieve(): CancelablePromise<any>;
|
|
172
|
+
/**
|
|
173
|
+
* Determine whether to serve a detail view or a list view.
|
|
174
|
+
* If any detail-identifying parameters are present (course_id, program_id, etc.)
|
|
175
|
+
* the detail view is returned; otherwise the aggregated list view is returned.
|
|
176
|
+
* @param username
|
|
177
|
+
* @returns any No response body
|
|
178
|
+
* @throws ApiError
|
|
179
|
+
*/
|
|
180
|
+
static searchPersonalizedCatalogRetrieve(username: string): CancelablePromise<any>;
|
|
181
|
+
/**
|
|
182
|
+
* Search and filter users within a specific organization/tenant.
|
|
183
|
+
*
|
|
184
|
+
* This endpoint provides a search interface for discovering users within an organization,
|
|
185
|
+
* with support for filtering by departments, pagination, and faceted filtering.
|
|
186
|
+
*
|
|
187
|
+
* Path Parameters:
|
|
188
|
+
* org (str): The organization/tenant identifier
|
|
189
|
+
* username (str): The username of the user making the request
|
|
190
|
+
*
|
|
191
|
+
* Query Parameters:
|
|
192
|
+
* # Search parameters
|
|
193
|
+
* query (str, optional): Search term to filter users by name, username, or email
|
|
194
|
+
*
|
|
195
|
+
* # Department filtering
|
|
196
|
+
* department_mode (bool, optional): Enable department-based filtering (default: false)
|
|
197
|
+
* user_department (bool, optional): Legacy parameter for department_mode (default: false)
|
|
198
|
+
* department (list, optional): Filter by specific departments
|
|
199
|
+
*
|
|
200
|
+
* # Additional filters
|
|
201
|
+
* role (list, optional): Filter by user role
|
|
202
|
+
* status (list, optional): Filter by user status (active, inactive)
|
|
203
|
+
* joined_date (list, optional): Filter by join date range
|
|
204
|
+
* last_login (list, optional): Filter by last login date range
|
|
205
|
+
*
|
|
206
|
+
* # Pagination
|
|
207
|
+
* limit (int, optional): Number of results per page (default: 10)
|
|
208
|
+
* offset (int, optional): Starting position for pagination
|
|
209
|
+
*
|
|
210
|
+
* Returns:
|
|
211
|
+
* A JSON response containing:
|
|
212
|
+
* ```
|
|
213
|
+
* {
|
|
214
|
+
* "results": [
|
|
215
|
+
* {
|
|
216
|
+
* "id": 123,
|
|
217
|
+
* "username": "john.doe",
|
|
218
|
+
* "email": "john.doe@example.com",
|
|
219
|
+
* "first_name": "John",
|
|
220
|
+
* "last_name": "Doe",
|
|
221
|
+
* "full_name": "John Doe",
|
|
222
|
+
* "profile_image": "https://example.com/profiles/john-doe.jpg",
|
|
223
|
+
* "role": "Student",
|
|
224
|
+
* "departments": ["Computer Science", "Data Science"],
|
|
225
|
+
* "status": "active",
|
|
226
|
+
* "joined_date": "2023-01-15T12:00:00Z",
|
|
227
|
+
* "last_login": "2023-06-20T15:30:00Z",
|
|
228
|
+
* "metadata": {
|
|
229
|
+
* "location": "New York",
|
|
230
|
+
* "title": "Software Engineer",
|
|
231
|
+
* "bio": "Experienced software engineer with a passion for education"
|
|
232
|
+
* }
|
|
233
|
+
* },
|
|
234
|
+
* // Additional user objects...
|
|
235
|
+
* ],
|
|
236
|
+
* "count": 50,
|
|
237
|
+
* "next": "https://api.example.com/api/search/users/example-org/admin/?limit=10&offset=10",
|
|
238
|
+
* "previous": null,
|
|
239
|
+
* "current_page": 1,
|
|
240
|
+
* "total_pages": 5,
|
|
241
|
+
* "facets": {
|
|
242
|
+
* "role": [
|
|
243
|
+
* {"key": "Student", "doc_count": 30},
|
|
244
|
+
* {"key": "Instructor", "doc_count": 15},
|
|
245
|
+
* {"key": "Admin", "doc_count": 5}
|
|
246
|
+
* ],
|
|
247
|
+
* "department": [
|
|
248
|
+
* {"key": "Computer Science", "doc_count": 20},
|
|
249
|
+
* {"key": "Data Science", "doc_count": 15},
|
|
250
|
+
* {"key": "Business", "doc_count": 10},
|
|
251
|
+
* {"key": "Engineering", "doc_count": 5}
|
|
252
|
+
* ],
|
|
253
|
+
* "status": [
|
|
254
|
+
* {"key": "active", "doc_count": 45},
|
|
255
|
+
* {"key": "inactive", "doc_count": 5}
|
|
256
|
+
* ]
|
|
257
|
+
* }
|
|
258
|
+
* }
|
|
259
|
+
* ```
|
|
260
|
+
* Error Responses:
|
|
261
|
+
* 400 Bad Request: If the request parameters are invalid
|
|
262
|
+
* 403 Forbidden: If the user doesn't have department admin privileges (when using department_mode)
|
|
263
|
+
* 404 Not Found: If the user or organization doesn't exist
|
|
264
|
+
* 500 Internal Server Error: If an unexpected error occurs
|
|
265
|
+
*
|
|
266
|
+
* Access Control:
|
|
267
|
+
* - The requesting user must have an active account in the specified organization
|
|
268
|
+
* - When department_mode is enabled, the user must be an admin of at least one department
|
|
269
|
+
* - Department filtering restricts results to users in departments where the requesting user is an admin
|
|
270
|
+
* @param org
|
|
271
|
+
* @param username
|
|
272
|
+
* @returns any No response body
|
|
273
|
+
* @throws ApiError
|
|
274
|
+
*/
|
|
275
|
+
static searchUsersOrgsUsersRetrieve(org: string, username: string): CancelablePromise<any>;
|
|
276
|
+
}
|