@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.
Files changed (382) hide show
  1. package/README.md +222 -0
  2. package/dist/index.cjs.js +7291 -0
  3. package/dist/index.cjs.js.map +1 -0
  4. package/dist/index.esm.js +7267 -0
  5. package/dist/index.esm.js.map +1 -0
  6. package/dist/index.umd.js +7297 -0
  7. package/dist/index.umd.js.map +1 -0
  8. package/dist/types/core/ApiError.d.ts +10 -0
  9. package/dist/types/core/ApiRequestOptions.d.ts +13 -0
  10. package/dist/types/core/ApiResult.d.ts +7 -0
  11. package/dist/types/core/CancelablePromise.d.ts +20 -0
  12. package/dist/types/core/OpenAPI.d.ts +16 -0
  13. package/dist/types/core/request.d.ts +30 -0
  14. package/dist/types/index.d.ts +183 -0
  15. package/dist/types/models/AcceptanceEnum.d.ts +10 -0
  16. package/dist/types/models/ActiveUsersData.d.ts +18 -0
  17. package/dist/types/models/ActiveUsersList.d.ts +6 -0
  18. package/dist/types/models/ActiveUsersPerCourse.d.ts +10 -0
  19. package/dist/types/models/ActiveUsersPerCourseData.d.ts +14 -0
  20. package/dist/types/models/ActivityAPI.d.ts +8 -0
  21. package/dist/types/models/ActivityData.d.ts +38 -0
  22. package/dist/types/models/Assertion.d.ts +15 -0
  23. package/dist/types/models/Average.d.ts +4 -0
  24. package/dist/types/models/AverageData.d.ts +6 -0
  25. package/dist/types/models/AverageOvertime.d.ts +22 -0
  26. package/dist/types/models/AvgCourseGradeWithCutoff.d.ts +4 -0
  27. package/dist/types/models/AvgCourseGradeWithCutoffData.d.ts +10 -0
  28. package/dist/types/models/BlankEnum.d.ts +2 -0
  29. package/dist/types/models/BulkCreateAssertion.d.ts +4 -0
  30. package/dist/types/models/CampaignEnablement.d.ts +8 -0
  31. package/dist/types/models/CampaignExclusion.d.ts +8 -0
  32. package/dist/types/models/Company.d.ts +23 -0
  33. package/dist/types/models/ContextResponse.d.ts +7 -0
  34. package/dist/types/models/Count.d.ts +4 -0
  35. package/dist/types/models/CountData.d.ts +6 -0
  36. package/dist/types/models/CourseCompletionPerCourse.d.ts +6 -0
  37. package/dist/types/models/CourseCompletionPerCourseData.d.ts +22 -0
  38. package/dist/types/models/CourseCompletionSummaryDataOvertime.d.ts +18 -0
  39. package/dist/types/models/CourseCompletionSummaryOvertime.d.ts +6 -0
  40. package/dist/types/models/CourseGradeDetailBlock.d.ts +18 -0
  41. package/dist/types/models/CourseGradeDetailSubSection.d.ts +23 -0
  42. package/dist/types/models/CourseGradeSummary.d.ts +4 -0
  43. package/dist/types/models/CourseGradeSummaryData.d.ts +18 -0
  44. package/dist/types/models/CourseGradingDetail.d.ts +4 -0
  45. package/dist/types/models/CourseGradingDetailData.d.ts +12 -0
  46. package/dist/types/models/CoursePoint.d.ts +7 -0
  47. package/dist/types/models/CourseSkill.d.ts +8 -0
  48. package/dist/types/models/Credential.d.ts +28 -0
  49. package/dist/types/models/DesiredSkill.d.ts +4 -0
  50. package/dist/types/models/DetailedGradeSubsection.d.ts +22 -0
  51. package/dist/types/models/DetailedGradeView.d.ts +4 -0
  52. package/dist/types/models/DetailedGradeViewData.d.ts +12 -0
  53. package/dist/types/models/Education.d.ts +30 -0
  54. package/dist/types/models/EngagementPerCourse.d.ts +6 -0
  55. package/dist/types/models/EngagementPerCourseData.d.ts +26 -0
  56. package/dist/types/models/Enrollments.d.ts +8 -0
  57. package/dist/types/models/EnrollmentsData.d.ts +18 -0
  58. package/dist/types/models/EnrollmentsPerUser.d.ts +6 -0
  59. package/dist/types/models/EnrollmentsPerUserData.d.ts +18 -0
  60. package/dist/types/models/ErrorResponse.d.ts +8 -0
  61. package/dist/types/models/Experience.d.ts +29 -0
  62. package/dist/types/models/FloatOverTime.d.ts +10 -0
  63. package/dist/types/models/GradingPerUser.d.ts +8 -0
  64. package/dist/types/models/GradingPerUserData.d.ts +26 -0
  65. package/dist/types/models/GroupList.d.ts +6 -0
  66. package/dist/types/models/GroupListData.d.ts +16 -0
  67. package/dist/types/models/ImageUpload.d.ts +3 -0
  68. package/dist/types/models/Institution.d.ts +20 -0
  69. package/dist/types/models/InstitutionTypeEnum.d.ts +14 -0
  70. package/dist/types/models/Issuer.d.ts +9 -0
  71. package/dist/types/models/IssuerAuthority.d.ts +5 -0
  72. package/dist/types/models/LearnerInformationAPI.d.ts +4 -0
  73. package/dist/types/models/LearnerInformationAPIData.d.ts +83 -0
  74. package/dist/types/models/LtiKey.d.ts +19 -0
  75. package/dist/types/models/LtiLaunchGate.d.ts +8 -0
  76. package/dist/types/models/LtiTool.d.ts +46 -0
  77. package/dist/types/models/NetRevenueOverTime.d.ts +8 -0
  78. package/dist/types/models/NewPerLearnerList.d.ts +6 -0
  79. package/dist/types/models/NewPerLearnerListData.d.ts +17 -0
  80. package/dist/types/models/Notification.d.ts +13 -0
  81. package/dist/types/models/NotificationCount.d.ts +4 -0
  82. package/dist/types/models/NotificationPreview.d.ts +31 -0
  83. package/dist/types/models/NotificationSource.d.ts +8 -0
  84. package/dist/types/models/NotificationTemplateData.d.ts +26 -0
  85. package/dist/types/models/Order.d.ts +22 -0
  86. package/dist/types/models/OverTime.d.ts +3 -0
  87. package/dist/types/models/OverTimeWithTotal.d.ts +22 -0
  88. package/dist/types/models/OvertimeMeta.d.ts +30 -0
  89. package/dist/types/models/OvertimeWithChangeInfo.d.ts +24 -0
  90. package/dist/types/models/Pagination.d.ts +18 -0
  91. package/dist/types/models/PatchedNotification.d.ts +13 -0
  92. package/dist/types/models/PatchedPlatformPublicMetadata.d.ts +8 -0
  93. package/dist/types/models/PatchedSkillThreshold.d.ts +14 -0
  94. package/dist/types/models/PerLearnerCourseLastAccessData.d.ts +30 -0
  95. package/dist/types/models/PerLearnerCourseVideosWatched.d.ts +8 -0
  96. package/dist/types/models/PerLearnerCourseVideosWatchedData.d.ts +14 -0
  97. package/dist/types/models/PerLearnerLastAccess.d.ts +4 -0
  98. package/dist/types/models/PerLearnerLastAccessData.d.ts +11 -0
  99. package/dist/types/models/PerLearnerTimeSpentInCourseTree.d.ts +8 -0
  100. package/dist/types/models/PerformanceGradesPerCourse.d.ts +6 -0
  101. package/dist/types/models/PerformanceGradesPerCourseData.d.ts +22 -0
  102. package/dist/types/models/PerlearnerCourseProgress.d.ts +4 -0
  103. package/dist/types/models/PerlearnerCourseProgressData.d.ts +6 -0
  104. package/dist/types/models/PerlearnerEngagementVideosData.d.ts +30 -0
  105. package/dist/types/models/PerlearnerEngagementVideosWatchedPerCourse.d.ts +4 -0
  106. package/dist/types/models/PerlearnerGradeSummary.d.ts +4 -0
  107. package/dist/types/models/PerlearnerGradeSummaryData.d.ts +18 -0
  108. package/dist/types/models/PerlearnerGradeWithCutOff.d.ts +4 -0
  109. package/dist/types/models/PerlearnerGradeWithCutOffData.d.ts +10 -0
  110. package/dist/types/models/PerlearnerGradingPerCourseAPI.d.ts +4 -0
  111. package/dist/types/models/PerlearnerGradingPerCourseAPIData.d.ts +34 -0
  112. package/dist/types/models/PerlearnerUserList.d.ts +6 -0
  113. package/dist/types/models/PerlearnerUserListData.d.ts +34 -0
  114. package/dist/types/models/PlatformPublicMetadata.d.ts +8 -0
  115. package/dist/types/models/PointsPercentile.d.ts +8 -0
  116. package/dist/types/models/PreviewResponse.d.ts +11 -0
  117. package/dist/types/models/Product.d.ts +22 -0
  118. package/dist/types/models/ProductTable.d.ts +26 -0
  119. package/dist/types/models/Program.d.ts +24 -0
  120. package/dist/types/models/ProgramTypeEnum.d.ts +18 -0
  121. package/dist/types/models/Recipient.d.ts +8 -0
  122. package/dist/types/models/RecommendationSearchAPI.d.ts +3 -0
  123. package/dist/types/models/RedirectTokenRequest.d.ts +3 -0
  124. package/dist/types/models/RedirectTokenResponse.d.ts +5 -0
  125. package/dist/types/models/ReportCreate.d.ts +7 -0
  126. package/dist/types/models/ReportData.d.ts +28 -0
  127. package/dist/types/models/ReportDetail.d.ts +4 -0
  128. package/dist/types/models/ReportList.d.ts +4 -0
  129. package/dist/types/models/ReportRequest.d.ts +21 -0
  130. package/dist/types/models/ReportStatus.d.ts +41 -0
  131. package/dist/types/models/ReportedSkill.d.ts +4 -0
  132. package/dist/types/models/ResourcePoint.d.ts +7 -0
  133. package/dist/types/models/RevenueByProduct.d.ts +6 -0
  134. package/dist/types/models/SendNotification.d.ts +6 -0
  135. package/dist/types/models/SendResponse.d.ts +9 -0
  136. package/dist/types/models/Skill.d.ts +7 -0
  137. package/dist/types/models/SkillDetail.d.ts +9 -0
  138. package/dist/types/models/SkillInfo.d.ts +23 -0
  139. package/dist/types/models/SkillThreshold.d.ts +14 -0
  140. package/dist/types/models/StateEnum.d.ts +22 -0
  141. package/dist/types/models/StatusEnum.d.ts +10 -0
  142. package/dist/types/models/SubTimeChild.d.ts +18 -0
  143. package/dist/types/models/Summary.d.ts +18 -0
  144. package/dist/types/models/TimeChildData.d.ts +20 -0
  145. package/dist/types/models/TimeDetail.d.ts +8 -0
  146. package/dist/types/models/TimeDetailChild.d.ts +26 -0
  147. package/dist/types/models/TimeDetailData.d.ts +24 -0
  148. package/dist/types/models/TimeSpentByUsersInCourse.d.ts +6 -0
  149. package/dist/types/models/TimeSpentByUsersInCourseData.d.ts +22 -0
  150. package/dist/types/models/TimeSpentPerCourse.d.ts +6 -0
  151. package/dist/types/models/TimeSpentPerCourseData.d.ts +26 -0
  152. package/dist/types/models/TimeSpentPerUserResponse.d.ts +3 -0
  153. package/dist/types/models/TimeSpentUpdateRequest.d.ts +11 -0
  154. package/dist/types/models/TimeSpentUpdateResponse.d.ts +4 -0
  155. package/dist/types/models/TypeEnum.d.ts +18 -0
  156. package/dist/types/models/UploadedImage.d.ts +5 -0
  157. package/dist/types/models/UserInfo.d.ts +13 -0
  158. package/dist/types/models/UserSkill.d.ts +22 -0
  159. package/dist/types/models/UserSkillPointsPercentile.d.ts +8 -0
  160. package/dist/types/models/ValidateSourceResponse.d.ts +10 -0
  161. package/dist/types/models/Value.d.ts +4 -0
  162. package/dist/types/models/ValueData.d.ts +6 -0
  163. package/dist/types/models/VideoBlock.d.ts +14 -0
  164. package/dist/types/models/VideoEngagementPerCourse.d.ts +6 -0
  165. package/dist/types/models/VideoEngagementPerCourseData.d.ts +30 -0
  166. package/dist/types/models/VideosCount.d.ts +4 -0
  167. package/dist/types/models/VideosCountData.d.ts +6 -0
  168. package/dist/types/models/VideosInCourseSummary.d.ts +4 -0
  169. package/dist/types/models/VideosInCourseSummaryData.d.ts +12 -0
  170. package/dist/types/models/VideosSpecificCourse.d.ts +4 -0
  171. package/dist/types/models/VideosSpecificCourseData.d.ts +26 -0
  172. package/dist/types/models/VideosWatchedSubSection.d.ts +19 -0
  173. package/dist/types/models/WatchedVideosPerUser.d.ts +8 -0
  174. package/dist/types/models/WatchedVideosPerUserData.d.ts +18 -0
  175. package/dist/types/services/AnalyticsService.d.ts +51 -0
  176. package/dist/types/services/AudienceService.d.ts +348 -0
  177. package/dist/types/services/CareerService.d.ts +210 -0
  178. package/dist/types/services/CoreService.d.ts +196 -0
  179. package/dist/types/services/CredentialsService.d.ts +1184 -0
  180. package/dist/types/services/DepartmentsService.d.ts +43 -0
  181. package/dist/types/services/EngagementService.d.ts +467 -0
  182. package/dist/types/services/FinanceService.d.ts +52 -0
  183. package/dist/types/services/NotificationBuilderService.d.ts +58 -0
  184. package/dist/types/services/NotificationService.d.ts +118 -0
  185. package/dist/types/services/OverviewService.d.ts +184 -0
  186. package/dist/types/services/PerformanceService.d.ts +183 -0
  187. package/dist/types/services/PerlearnerService.d.ts +501 -0
  188. package/dist/types/services/PlatformService.d.ts +77 -0
  189. package/dist/types/services/RecommendationsService.d.ts +13 -0
  190. package/dist/types/services/ReportsService.d.ts +142 -0
  191. package/dist/types/services/SearchService.d.ts +276 -0
  192. package/dist/types/services/SkillsService.d.ts +377 -0
  193. package/dist/types/services/UserGroupsService.d.ts +49 -0
  194. package/package.json +39 -0
  195. package/rollup.config.js +113 -0
  196. package/src/core/ApiError.ts +25 -0
  197. package/src/core/ApiRequestOptions.ts +17 -0
  198. package/src/core/ApiResult.ts +11 -0
  199. package/src/core/CancelablePromise.ts +131 -0
  200. package/src/core/OpenAPI.ts +32 -0
  201. package/src/core/request.ts +322 -0
  202. package/src/index.ts +189 -0
  203. package/src/models/AcceptanceEnum.ts +14 -0
  204. package/src/models/ActiveUsersData.ts +23 -0
  205. package/src/models/ActiveUsersList.ts +11 -0
  206. package/src/models/ActiveUsersPerCourse.ts +15 -0
  207. package/src/models/ActiveUsersPerCourseData.ts +19 -0
  208. package/src/models/ActivityAPI.ts +13 -0
  209. package/src/models/ActivityData.ts +43 -0
  210. package/src/models/Assertion.ts +20 -0
  211. package/src/models/Average.ts +9 -0
  212. package/src/models/AverageData.ts +11 -0
  213. package/src/models/AverageOvertime.ts +27 -0
  214. package/src/models/AvgCourseGradeWithCutoff.ts +9 -0
  215. package/src/models/AvgCourseGradeWithCutoffData.ts +15 -0
  216. package/src/models/BlankEnum.ts +7 -0
  217. package/src/models/BulkCreateAssertion.ts +9 -0
  218. package/src/models/CampaignEnablement.ts +13 -0
  219. package/src/models/CampaignExclusion.ts +13 -0
  220. package/src/models/Company.ts +28 -0
  221. package/src/models/ContextResponse.ts +12 -0
  222. package/src/models/Count.ts +9 -0
  223. package/src/models/CountData.ts +11 -0
  224. package/src/models/CourseCompletionPerCourse.ts +11 -0
  225. package/src/models/CourseCompletionPerCourseData.ts +27 -0
  226. package/src/models/CourseCompletionSummaryDataOvertime.ts +23 -0
  227. package/src/models/CourseCompletionSummaryOvertime.ts +11 -0
  228. package/src/models/CourseGradeDetailBlock.ts +23 -0
  229. package/src/models/CourseGradeDetailSubSection.ts +28 -0
  230. package/src/models/CourseGradeSummary.ts +9 -0
  231. package/src/models/CourseGradeSummaryData.ts +23 -0
  232. package/src/models/CourseGradingDetail.ts +9 -0
  233. package/src/models/CourseGradingDetailData.ts +17 -0
  234. package/src/models/CoursePoint.ts +12 -0
  235. package/src/models/CourseSkill.ts +13 -0
  236. package/src/models/Credential.ts +33 -0
  237. package/src/models/DesiredSkill.ts +9 -0
  238. package/src/models/DetailedGradeSubsection.ts +27 -0
  239. package/src/models/DetailedGradeView.ts +9 -0
  240. package/src/models/DetailedGradeViewData.ts +17 -0
  241. package/src/models/Education.ts +35 -0
  242. package/src/models/EngagementPerCourse.ts +11 -0
  243. package/src/models/EngagementPerCourseData.ts +31 -0
  244. package/src/models/Enrollments.ts +13 -0
  245. package/src/models/EnrollmentsData.ts +23 -0
  246. package/src/models/EnrollmentsPerUser.ts +11 -0
  247. package/src/models/EnrollmentsPerUserData.ts +23 -0
  248. package/src/models/ErrorResponse.ts +13 -0
  249. package/src/models/Experience.ts +34 -0
  250. package/src/models/FloatOverTime.ts +15 -0
  251. package/src/models/GradingPerUser.ts +13 -0
  252. package/src/models/GradingPerUserData.ts +31 -0
  253. package/src/models/GroupList.ts +11 -0
  254. package/src/models/GroupListData.ts +21 -0
  255. package/src/models/ImageUpload.ts +8 -0
  256. package/src/models/Institution.ts +25 -0
  257. package/src/models/InstitutionTypeEnum.ts +18 -0
  258. package/src/models/Issuer.ts +14 -0
  259. package/src/models/IssuerAuthority.ts +10 -0
  260. package/src/models/LearnerInformationAPI.ts +9 -0
  261. package/src/models/LearnerInformationAPIData.ts +88 -0
  262. package/src/models/LtiKey.ts +24 -0
  263. package/src/models/LtiLaunchGate.ts +13 -0
  264. package/src/models/LtiTool.ts +51 -0
  265. package/src/models/NetRevenueOverTime.ts +13 -0
  266. package/src/models/NewPerLearnerList.ts +11 -0
  267. package/src/models/NewPerLearnerListData.ts +22 -0
  268. package/src/models/Notification.ts +18 -0
  269. package/src/models/NotificationCount.ts +9 -0
  270. package/src/models/NotificationPreview.ts +36 -0
  271. package/src/models/NotificationSource.ts +13 -0
  272. package/src/models/NotificationTemplateData.ts +31 -0
  273. package/src/models/Order.ts +27 -0
  274. package/src/models/OverTime.ts +8 -0
  275. package/src/models/OverTimeWithTotal.ts +27 -0
  276. package/src/models/OvertimeMeta.ts +35 -0
  277. package/src/models/OvertimeWithChangeInfo.ts +29 -0
  278. package/src/models/Pagination.ts +23 -0
  279. package/src/models/PatchedNotification.ts +18 -0
  280. package/src/models/PatchedPlatformPublicMetadata.ts +13 -0
  281. package/src/models/PatchedSkillThreshold.ts +19 -0
  282. package/src/models/PerLearnerCourseLastAccessData.ts +35 -0
  283. package/src/models/PerLearnerCourseVideosWatched.ts +13 -0
  284. package/src/models/PerLearnerCourseVideosWatchedData.ts +19 -0
  285. package/src/models/PerLearnerLastAccess.ts +9 -0
  286. package/src/models/PerLearnerLastAccessData.ts +16 -0
  287. package/src/models/PerLearnerTimeSpentInCourseTree.ts +13 -0
  288. package/src/models/PerformanceGradesPerCourse.ts +11 -0
  289. package/src/models/PerformanceGradesPerCourseData.ts +27 -0
  290. package/src/models/PerlearnerCourseProgress.ts +9 -0
  291. package/src/models/PerlearnerCourseProgressData.ts +11 -0
  292. package/src/models/PerlearnerEngagementVideosData.ts +35 -0
  293. package/src/models/PerlearnerEngagementVideosWatchedPerCourse.ts +9 -0
  294. package/src/models/PerlearnerGradeSummary.ts +9 -0
  295. package/src/models/PerlearnerGradeSummaryData.ts +23 -0
  296. package/src/models/PerlearnerGradeWithCutOff.ts +9 -0
  297. package/src/models/PerlearnerGradeWithCutOffData.ts +15 -0
  298. package/src/models/PerlearnerGradingPerCourseAPI.ts +9 -0
  299. package/src/models/PerlearnerGradingPerCourseAPIData.ts +39 -0
  300. package/src/models/PerlearnerUserList.ts +11 -0
  301. package/src/models/PerlearnerUserListData.ts +39 -0
  302. package/src/models/PlatformPublicMetadata.ts +13 -0
  303. package/src/models/PointsPercentile.ts +13 -0
  304. package/src/models/PreviewResponse.ts +16 -0
  305. package/src/models/Product.ts +27 -0
  306. package/src/models/ProductTable.ts +31 -0
  307. package/src/models/Program.ts +29 -0
  308. package/src/models/ProgramTypeEnum.ts +22 -0
  309. package/src/models/Recipient.ts +13 -0
  310. package/src/models/RecommendationSearchAPI.ts +8 -0
  311. package/src/models/RedirectTokenRequest.ts +8 -0
  312. package/src/models/RedirectTokenResponse.ts +10 -0
  313. package/src/models/ReportCreate.ts +12 -0
  314. package/src/models/ReportData.ts +33 -0
  315. package/src/models/ReportDetail.ts +9 -0
  316. package/src/models/ReportList.ts +9 -0
  317. package/src/models/ReportRequest.ts +26 -0
  318. package/src/models/ReportStatus.ts +46 -0
  319. package/src/models/ReportedSkill.ts +9 -0
  320. package/src/models/ResourcePoint.ts +12 -0
  321. package/src/models/RevenueByProduct.ts +11 -0
  322. package/src/models/SendNotification.ts +11 -0
  323. package/src/models/SendResponse.ts +14 -0
  324. package/src/models/Skill.ts +12 -0
  325. package/src/models/SkillDetail.ts +14 -0
  326. package/src/models/SkillInfo.ts +28 -0
  327. package/src/models/SkillThreshold.ts +19 -0
  328. package/src/models/StateEnum.ts +26 -0
  329. package/src/models/StatusEnum.ts +14 -0
  330. package/src/models/SubTimeChild.ts +23 -0
  331. package/src/models/Summary.ts +23 -0
  332. package/src/models/TimeChildData.ts +25 -0
  333. package/src/models/TimeDetail.ts +13 -0
  334. package/src/models/TimeDetailChild.ts +31 -0
  335. package/src/models/TimeDetailData.ts +29 -0
  336. package/src/models/TimeSpentByUsersInCourse.ts +11 -0
  337. package/src/models/TimeSpentByUsersInCourseData.ts +27 -0
  338. package/src/models/TimeSpentPerCourse.ts +11 -0
  339. package/src/models/TimeSpentPerCourseData.ts +31 -0
  340. package/src/models/TimeSpentPerUserResponse.ts +8 -0
  341. package/src/models/TimeSpentUpdateRequest.ts +16 -0
  342. package/src/models/TimeSpentUpdateResponse.ts +9 -0
  343. package/src/models/TypeEnum.ts +22 -0
  344. package/src/models/UploadedImage.ts +10 -0
  345. package/src/models/UserInfo.ts +18 -0
  346. package/src/models/UserSkill.ts +27 -0
  347. package/src/models/UserSkillPointsPercentile.ts +13 -0
  348. package/src/models/ValidateSourceResponse.ts +15 -0
  349. package/src/models/Value.ts +9 -0
  350. package/src/models/ValueData.ts +11 -0
  351. package/src/models/VideoBlock.ts +19 -0
  352. package/src/models/VideoEngagementPerCourse.ts +11 -0
  353. package/src/models/VideoEngagementPerCourseData.ts +35 -0
  354. package/src/models/VideosCount.ts +9 -0
  355. package/src/models/VideosCountData.ts +11 -0
  356. package/src/models/VideosInCourseSummary.ts +9 -0
  357. package/src/models/VideosInCourseSummaryData.ts +17 -0
  358. package/src/models/VideosSpecificCourse.ts +9 -0
  359. package/src/models/VideosSpecificCourseData.ts +31 -0
  360. package/src/models/VideosWatchedSubSection.ts +24 -0
  361. package/src/models/WatchedVideosPerUser.ts +13 -0
  362. package/src/models/WatchedVideosPerUserData.ts +23 -0
  363. package/src/services/AnalyticsService.ts +94 -0
  364. package/src/services/AudienceService.ts +602 -0
  365. package/src/services/CareerService.ts +568 -0
  366. package/src/services/CoreService.ts +487 -0
  367. package/src/services/CredentialsService.ts +1647 -0
  368. package/src/services/DepartmentsService.ts +85 -0
  369. package/src/services/EngagementService.ts +907 -0
  370. package/src/services/FinanceService.ts +136 -0
  371. package/src/services/NotificationBuilderService.ts +133 -0
  372. package/src/services/NotificationService.ts +294 -0
  373. package/src/services/OverviewService.ts +324 -0
  374. package/src/services/PerformanceService.ts +329 -0
  375. package/src/services/PerlearnerService.ts +1009 -0
  376. package/src/services/PlatformService.ts +181 -0
  377. package/src/services/RecommendationsService.ts +31 -0
  378. package/src/services/ReportsService.ts +218 -0
  379. package/src/services/SearchService.ts +309 -0
  380. package/src/services/SkillsService.ts +521 -0
  381. package/src/services/UserGroupsService.ts +91 -0
  382. package/tsconfig.json +15 -0
@@ -0,0 +1,24 @@
1
+ import type { Institution } from './Institution';
2
+ import type { ProgramTypeEnum } from './ProgramTypeEnum';
3
+ export type Program = {
4
+ readonly id: number;
5
+ readonly institution: Institution;
6
+ institution_id: number;
7
+ name: string;
8
+ program_type: ProgramTypeEnum;
9
+ /**
10
+ * Duration in months
11
+ */
12
+ duration: number;
13
+ description?: string | null;
14
+ /**
15
+ * Metadata
16
+ */
17
+ data?: any;
18
+ /**
19
+ * Metadata
20
+ */
21
+ metadata?: any;
22
+ created_at?: string;
23
+ readonly updated_at: string;
24
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * * `bachelors` - Bachelor's Degree
3
+ * * `masters` - Master's Degree
4
+ * * `phd` - PhD
5
+ * * `diploma` - Diploma
6
+ * * `certificate` - Certificate
7
+ * * `ungraded` - Ungraded
8
+ * * `other` - Other
9
+ */
10
+ export declare enum ProgramTypeEnum {
11
+ BACHELORS = "bachelors",
12
+ MASTERS = "masters",
13
+ PHD = "phd",
14
+ DIPLOMA = "diploma",
15
+ CERTIFICATE = "certificate",
16
+ UNGRADED = "ungraded",
17
+ OTHER = "other"
18
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Serializer for recipient data
3
+ */
4
+ export type Recipient = {
5
+ username: string;
6
+ email: string;
7
+ status?: string;
8
+ };
@@ -0,0 +1,3 @@
1
+ export type RecommendationSearchAPI = {
2
+ search_api_url: string;
3
+ };
@@ -0,0 +1,3 @@
1
+ export type RedirectTokenRequest = {
2
+ url: string;
3
+ };
@@ -0,0 +1,5 @@
1
+ export type RedirectTokenResponse = {
2
+ readonly platform_key: string;
3
+ url: string;
4
+ readonly token: string;
5
+ };
@@ -0,0 +1,7 @@
1
+ import type { ReportStatus } from './ReportStatus';
2
+ /**
3
+ * Returns this a report is successfully created
4
+ */
5
+ export type ReportCreate = {
6
+ data: ReportStatus;
7
+ };
@@ -0,0 +1,28 @@
1
+ import type { ReportStatus } from './ReportStatus';
2
+ export type ReportData = {
3
+ /**
4
+ * Report Name
5
+ */
6
+ display_name?: string;
7
+ /**
8
+ * Report Description
9
+ */
10
+ description?: string;
11
+ /**
12
+ * Report slug
13
+ */
14
+ report_name?: string;
15
+ icon?: string;
16
+ /**
17
+ * Extra parameters to be passed to the report create view, e.g learner_id
18
+ */
19
+ extra_query_params?: Array<any>;
20
+ /**
21
+ * Columns to be available in the report
22
+ */
23
+ result_columns?: Array<any>;
24
+ /**
25
+ * Report Status if any available
26
+ */
27
+ status?: ReportStatus;
28
+ };
@@ -0,0 +1,4 @@
1
+ import type { ReportData } from './ReportData';
2
+ export type ReportDetail = {
3
+ data: ReportData;
4
+ };
@@ -0,0 +1,4 @@
1
+ import type { ReportData } from './ReportData';
2
+ export type ReportList = {
3
+ data: Array<ReportData>;
4
+ };
@@ -0,0 +1,21 @@
1
+ export type ReportRequest = {
2
+ /**
3
+ * Report slug, this is passed when calling the create report endpoint
4
+ */
5
+ report_name?: string;
6
+ /**
7
+ * Advanced report filtering. e,g: {'username': 'username1, username2' }
8
+ */
9
+ params?: Record<string, any>;
10
+ /**
11
+ *
12
+ * Advanced Query to run the report, supports SQL Like queries.
13
+ *
14
+ * e.g For date type filtering
15
+ * date_joined > '2021-01-01'
16
+ *
17
+ * See https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.query.html#pandas.DataFrame.query
18
+ *
19
+ */
20
+ query?: string;
21
+ };
@@ -0,0 +1,41 @@
1
+ import type { StateEnum } from './StateEnum';
2
+ export type ReportStatus = {
3
+ /**
4
+ * Used to download the report
5
+ */
6
+ report_id?: string;
7
+ /**
8
+ * Report slug, this is passed when calling the create report endpoint
9
+ */
10
+ report_name?: string;
11
+ /**
12
+ * Report States
13
+ *
14
+ * * `pending` - Pending
15
+ * * `running` - Running
16
+ * * `accumulating` - Accumulating
17
+ * * `processing` - Processing
18
+ * * `storing` - Storing
19
+ * * `completed` - Completed
20
+ * * `cancelled` - Cancelled
21
+ * * `error` - Error
22
+ * * `expired` - Expired
23
+ */
24
+ state?: StateEnum;
25
+ /**
26
+ * Report request timestamp (ISO 8601)
27
+ */
28
+ started_on?: string;
29
+ /**
30
+ * Report Owner
31
+ */
32
+ owner?: string;
33
+ /**
34
+ * When report would expire and not available for download anymore
35
+ */
36
+ expires?: string;
37
+ /**
38
+ * Download link for report when available
39
+ */
40
+ url?: string;
41
+ };
@@ -0,0 +1,4 @@
1
+ import type { Skill } from './Skill';
2
+ export type ReportedSkill = {
3
+ skills: Array<Skill>;
4
+ };
@@ -0,0 +1,7 @@
1
+ export type ResourcePoint = {
2
+ /**
3
+ * The display name of the resource.
4
+ */
5
+ name?: string | null;
6
+ readonly points: number;
7
+ };
@@ -0,0 +1,6 @@
1
+ import type { ProductTable } from './ProductTable';
2
+ import type { Summary } from './Summary';
3
+ export type RevenueByProduct = {
4
+ product_table?: Array<ProductTable>;
5
+ summary?: Summary;
6
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Request serializer for sending notification
3
+ */
4
+ export type SendNotification = {
5
+ build_id: string;
6
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Response serializer for send notification
3
+ */
4
+ export type SendResponse = {
5
+ status: string;
6
+ notifications_sent: number;
7
+ build_id: string;
8
+ message: string;
9
+ };
@@ -0,0 +1,7 @@
1
+ export type Skill = {
2
+ readonly id: number;
3
+ /**
4
+ * Display name
5
+ */
6
+ name?: string | null;
7
+ };
@@ -0,0 +1,9 @@
1
+ import type { CourseSkill } from './CourseSkill';
2
+ export type SkillDetail = {
3
+ /**
4
+ * Display name
5
+ */
6
+ name?: string | null;
7
+ courses: Array<CourseSkill>;
8
+ readonly related_skills: number;
9
+ };
@@ -0,0 +1,23 @@
1
+ export type SkillInfo = {
2
+ readonly id: number;
3
+ /**
4
+ * Display name
5
+ */
6
+ name?: string | null;
7
+ /**
8
+ * Number of courses with skill
9
+ */
10
+ readonly course_count: number;
11
+ /**
12
+ * Number of users with skill
13
+ */
14
+ readonly user_count: number;
15
+ /**
16
+ * Total points for skill
17
+ */
18
+ readonly total_points: number;
19
+ /**
20
+ * Average points for skill
21
+ */
22
+ readonly average_points: number;
23
+ };
@@ -0,0 +1,14 @@
1
+ export type SkillThreshold = {
2
+ /**
3
+ * The name of the threshold e.g Beginner.
4
+ */
5
+ name: string;
6
+ /**
7
+ * The threshold for the skill.
8
+ */
9
+ threshold: number;
10
+ /**
11
+ * The platform key
12
+ */
13
+ platform: string;
14
+ };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * * `pending` - Pending
3
+ * * `running` - Running
4
+ * * `accumulating` - Accumulating
5
+ * * `processing` - Processing
6
+ * * `storing` - Storing
7
+ * * `completed` - Completed
8
+ * * `cancelled` - Cancelled
9
+ * * `error` - Error
10
+ * * `expired` - Expired
11
+ */
12
+ export declare enum StateEnum {
13
+ PENDING = "pending",
14
+ RUNNING = "running",
15
+ ACCUMULATING = "accumulating",
16
+ PROCESSING = "processing",
17
+ STORING = "storing",
18
+ COMPLETED = "completed",
19
+ CANCELLED = "cancelled",
20
+ ERROR = "error",
21
+ EXPIRED = "expired"
22
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * * `READ` - Read
3
+ * * `UNREAD` - Unread
4
+ * * `CANCELLED` - Cancelled
5
+ */
6
+ export declare enum StatusEnum {
7
+ READ = "READ",
8
+ UNREAD = "UNREAD",
9
+ CANCELLED = "CANCELLED"
10
+ }
@@ -0,0 +1,18 @@
1
+ export type SubTimeChild = {
2
+ /**
3
+ * Display name
4
+ */
5
+ display_name: string;
6
+ /**
7
+ * block id
8
+ */
9
+ id: string;
10
+ /**
11
+ * block id
12
+ */
13
+ block_id?: string;
14
+ /**
15
+ * Total time spent
16
+ */
17
+ total_time?: number;
18
+ };
@@ -0,0 +1,18 @@
1
+ export type Summary = {
2
+ /**
3
+ * Total number of products
4
+ */
5
+ num_products: number;
6
+ /**
7
+ * Total number of items ordered
8
+ */
9
+ num_orders: number;
10
+ /**
11
+ * Total Net revenue
12
+ */
13
+ net_revenue: number;
14
+ /**
15
+ * Average Net value per item sold
16
+ */
17
+ avg_order_value: number;
18
+ };
@@ -0,0 +1,20 @@
1
+ import type { SubTimeChild } from './SubTimeChild';
2
+ export type TimeChildData = {
3
+ /**
4
+ * Display name
5
+ */
6
+ display_name: string;
7
+ /**
8
+ * block id
9
+ */
10
+ id: string;
11
+ /**
12
+ * block id
13
+ */
14
+ block_id?: string;
15
+ /**
16
+ * Total time spent
17
+ */
18
+ total_time?: number;
19
+ children: Array<SubTimeChild>;
20
+ };
@@ -0,0 +1,8 @@
1
+ import type { TimeDetailData } from './TimeDetailData';
2
+ export type TimeDetail = {
3
+ data?: Array<TimeDetailData>;
4
+ /**
5
+ * Total time spent
6
+ */
7
+ total?: number;
8
+ };
@@ -0,0 +1,26 @@
1
+ export type TimeDetailChild = {
2
+ /**
3
+ * Average time spent
4
+ */
5
+ average_time: number;
6
+ /**
7
+ * Subsection Display name
8
+ */
9
+ display_name: string;
10
+ /**
11
+ * Subsection HTML id
12
+ */
13
+ id: string;
14
+ /**
15
+ * Subsection block id
16
+ */
17
+ block_id: string;
18
+ /**
19
+ * Total time spent
20
+ */
21
+ total_time?: number;
22
+ /**
23
+ * Total users who accessed the subsection
24
+ */
25
+ total_users?: number;
26
+ };
@@ -0,0 +1,24 @@
1
+ import type { TimeDetailChild } from './TimeDetailChild';
2
+ export type TimeDetailData = {
3
+ /**
4
+ * Average time spent
5
+ */
6
+ average_time: number;
7
+ /**
8
+ * Chapter name
9
+ */
10
+ display_name: string;
11
+ /**
12
+ * Chapter Id
13
+ */
14
+ id: string;
15
+ children?: Array<TimeDetailChild>;
16
+ /**
17
+ * Total time spent
18
+ */
19
+ total_time?: number;
20
+ /**
21
+ * Total users who accessed the chapter
22
+ */
23
+ total_users?: number;
24
+ };
@@ -0,0 +1,6 @@
1
+ import type { Pagination } from './Pagination';
2
+ import type { TimeSpentByUsersInCourseData } from './TimeSpentByUsersInCourseData';
3
+ export type TimeSpentByUsersInCourse = {
4
+ data?: Array<TimeSpentByUsersInCourseData>;
5
+ pagination: Pagination;
6
+ };
@@ -0,0 +1,22 @@
1
+ export type TimeSpentByUsersInCourseData = {
2
+ /**
3
+ * learner username
4
+ */
5
+ username: string;
6
+ /**
7
+ * learner Name
8
+ */
9
+ full_name: string;
10
+ /**
11
+ * learner email
12
+ */
13
+ email: string;
14
+ /**
15
+ * Total assessments
16
+ */
17
+ assessments: number;
18
+ /**
19
+ * Time spent formatted in seconds
20
+ */
21
+ time_spent: string;
22
+ };
@@ -0,0 +1,6 @@
1
+ import type { Pagination } from './Pagination';
2
+ import type { TimeSpentPerCourseData } from './TimeSpentPerCourseData';
3
+ export type TimeSpentPerCourse = {
4
+ data?: Array<TimeSpentPerCourseData>;
5
+ pagination: Pagination;
6
+ };
@@ -0,0 +1,26 @@
1
+ export type TimeSpentPerCourseData = {
2
+ /**
3
+ * Course name
4
+ */
5
+ name: string;
6
+ /**
7
+ * Edx Course Id
8
+ */
9
+ course_id: string;
10
+ /**
11
+ * Total time spent
12
+ */
13
+ time_spent: number;
14
+ /**
15
+ * Course Start
16
+ */
17
+ course_start: string;
18
+ /**
19
+ * Course End
20
+ */
21
+ course_end: string;
22
+ /**
23
+ * Average time spent
24
+ */
25
+ average_time: number;
26
+ };
@@ -0,0 +1,3 @@
1
+ export type TimeSpentPerUserResponse = {
2
+ total_seconds: number;
3
+ };
@@ -0,0 +1,11 @@
1
+ export type TimeSpentUpdateRequest = {
2
+ /**
3
+ * Time when the event occurred, ensure it is UTC (ISO 8601 format)
4
+ */
5
+ timestamp: string;
6
+ course_id?: string;
7
+ block_id?: string;
8
+ count: number;
9
+ url: string;
10
+ metadata?: any;
11
+ };
@@ -0,0 +1,4 @@
1
+ export type TimeSpentUpdateResponse = {
2
+ success?: boolean;
3
+ message?: any;
4
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * * `email` - email
3
+ * * `username` - username
4
+ * * `platform` - platform
5
+ * * `csv` - csv
6
+ * * `department` - department
7
+ * * `pathway` - pathway
8
+ * * `program` - program
9
+ */
10
+ export declare enum TypeEnum {
11
+ EMAIL = "email",
12
+ USERNAME = "username",
13
+ PLATFORM = "platform",
14
+ CSV = "csv",
15
+ DEPARTMENT = "department",
16
+ PATHWAY = "pathway",
17
+ PROGRAM = "program"
18
+ }
@@ -0,0 +1,5 @@
1
+ export type UploadedImage = {
2
+ readonly id: number;
3
+ name?: string | null;
4
+ readonly image: string;
5
+ };
@@ -0,0 +1,13 @@
1
+ export type UserInfo = {
2
+ /**
3
+ * edX user ID
4
+ */
5
+ id: number;
6
+ /**
7
+ * edX username
8
+ */
9
+ username?: string | null;
10
+ email: string;
11
+ active: boolean;
12
+ edx_data: any;
13
+ };
@@ -0,0 +1,22 @@
1
+ import type { CoursePoint } from './CoursePoint';
2
+ import type { ResourcePoint } from './ResourcePoint';
3
+ import type { Skill } from './Skill';
4
+ export type UserSkill = {
5
+ skill: Skill;
6
+ /**
7
+ * Courses with skill and associated points
8
+ */
9
+ courses: Array<CoursePoint>;
10
+ /**
11
+ * Resources with skill and associated points
12
+ */
13
+ resources: Array<ResourcePoint>;
14
+ /**
15
+ * Total points for skill
16
+ */
17
+ readonly total_points: number;
18
+ /**
19
+ * Percentile of points for user.
20
+ */
21
+ percentile?: number;
22
+ };
@@ -0,0 +1,8 @@
1
+ export type UserSkillPointsPercentile = {
2
+ username: string;
3
+ total_points: number;
4
+ /**
5
+ * Percentile of points for user. If an `org` was provided, this is the percentile of the user relative to users within the org.
6
+ */
7
+ percentile: number;
8
+ };
@@ -0,0 +1,10 @@
1
+ import type { Recipient } from './Recipient';
2
+ /**
3
+ * Response serializer for source validation
4
+ */
5
+ export type ValidateSourceResponse = {
6
+ status: string;
7
+ valid_count: number;
8
+ invalid_entries: Array<string>;
9
+ sample_recipients: Array<Recipient>;
10
+ };
@@ -0,0 +1,4 @@
1
+ import type { ValueData } from './ValueData';
2
+ export type Value = {
3
+ data: ValueData;
4
+ };
@@ -0,0 +1,6 @@
1
+ export type ValueData = {
2
+ /**
3
+ * value
4
+ */
5
+ value: number;
6
+ };
@@ -0,0 +1,14 @@
1
+ export type VideoBlock = {
2
+ /**
3
+ * Video name
4
+ */
5
+ display_name: string;
6
+ /**
7
+ * Video Id
8
+ */
9
+ id: string;
10
+ /**
11
+ * Total users who have watched the video
12
+ */
13
+ total_users?: number;
14
+ };
@@ -0,0 +1,6 @@
1
+ import type { Pagination } from './Pagination';
2
+ import type { VideoEngagementPerCourseData } from './VideoEngagementPerCourseData';
3
+ export type VideoEngagementPerCourse = {
4
+ data?: Array<VideoEngagementPerCourseData>;
5
+ pagination: Pagination;
6
+ };