@iblai/iblai-api 0.0.1-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 (808) hide show
  1. package/README.md +222 -0
  2. package/dist/index.cjs.js +17527 -0
  3. package/dist/index.cjs.js.map +1 -0
  4. package/dist/index.esm.js +17494 -0
  5. package/dist/index.esm.js.map +1 -0
  6. package/dist/index.umd.js +17533 -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 +396 -0
  15. package/dist/types/models/AWSTenantLaunchRequest.d.ts +20 -0
  16. package/dist/types/models/AcceptanceEnum.d.ts +10 -0
  17. package/dist/types/models/ActivateUserFreeTrial.d.ts +11 -0
  18. package/dist/types/models/ActiveUsersData.d.ts +18 -0
  19. package/dist/types/models/ActiveUsersList.d.ts +6 -0
  20. package/dist/types/models/ActiveUsersPerCourse.d.ts +10 -0
  21. package/dist/types/models/ActiveUsersPerCourseData.d.ts +14 -0
  22. package/dist/types/models/ActivityAPI.d.ts +8 -0
  23. package/dist/types/models/ActivityData.d.ts +38 -0
  24. package/dist/types/models/App.d.ts +10 -0
  25. package/dist/types/models/AppleSubscriptionStatusRequest.d.ts +3 -0
  26. package/dist/types/models/AppleSubscriptionStatusView.d.ts +3 -0
  27. package/dist/types/models/AppleVerifyTransactionId.d.ts +3 -0
  28. package/dist/types/models/Assertion.d.ts +15 -0
  29. package/dist/types/models/AssociateAccountResponse.d.ts +5 -0
  30. package/dist/types/models/AssociateAppleAccount.d.ts +3 -0
  31. package/dist/types/models/AuthToken.d.ts +10 -0
  32. package/dist/types/models/Average.d.ts +4 -0
  33. package/dist/types/models/AverageData.d.ts +6 -0
  34. package/dist/types/models/AverageOvertime.d.ts +22 -0
  35. package/dist/types/models/AvgCourseGradeWithCutoff.d.ts +4 -0
  36. package/dist/types/models/AvgCourseGradeWithCutoffData.d.ts +10 -0
  37. package/dist/types/models/BaseErrorResponse.d.ts +5 -0
  38. package/dist/types/models/BaseResponse.d.ts +5 -0
  39. package/dist/types/models/BlankCourseInvitationCreate.d.ts +21 -0
  40. package/dist/types/models/BlankEnum.d.ts +2 -0
  41. package/dist/types/models/BlankPlatformInvitationCreate.d.ts +21 -0
  42. package/dist/types/models/BlankProgramInvitationCreate.d.ts +21 -0
  43. package/dist/types/models/BlockSkillPointInfoRequest.d.ts +18 -0
  44. package/dist/types/models/BlockSkillPointInfoResponse.d.ts +10 -0
  45. package/dist/types/models/BulkCourseInvitationCreate.d.ts +14 -0
  46. package/dist/types/models/BulkCourseInvitationResponse.d.ts +13 -0
  47. package/dist/types/models/BulkCreateAssertion.d.ts +4 -0
  48. package/dist/types/models/BulkPlatformInvitationCreate.d.ts +14 -0
  49. package/dist/types/models/BulkPlatformInvitationResponse.d.ts +13 -0
  50. package/dist/types/models/BulkProgramInvitationCreate.d.ts +14 -0
  51. package/dist/types/models/BulkProgramInvitationResponse.d.ts +13 -0
  52. package/dist/types/models/BulkSuggestionResponse.d.ts +13 -0
  53. package/dist/types/models/CampaignEnablement.d.ts +8 -0
  54. package/dist/types/models/CampaignExclusion.d.ts +8 -0
  55. package/dist/types/models/CatalogAutoIncrementResponse.d.ts +25 -0
  56. package/dist/types/models/CatalogAutoIncrementUpdateRequest.d.ts +17 -0
  57. package/dist/types/models/CeleryHeartbeat.d.ts +5 -0
  58. package/dist/types/models/CeleryHeartbeatFail.d.ts +5 -0
  59. package/dist/types/models/CeleryHeartbeatFailStatusEnum.d.ts +8 -0
  60. package/dist/types/models/CeleryHeartbeatStatusEnum.d.ts +8 -0
  61. package/dist/types/models/Company.d.ts +23 -0
  62. package/dist/types/models/ContextResponse.d.ts +7 -0
  63. package/dist/types/models/Count.d.ts +4 -0
  64. package/dist/types/models/CountData.d.ts +6 -0
  65. package/dist/types/models/Course.d.ts +15 -0
  66. package/dist/types/models/CourseAccessRequestCreate.d.ts +17 -0
  67. package/dist/types/models/CourseAccessRequestDetail.d.ts +49 -0
  68. package/dist/types/models/CourseAccessRequestStatusResponse.d.ts +17 -0
  69. package/dist/types/models/CourseAccessRequestUpdate.d.ts +25 -0
  70. package/dist/types/models/CourseCompletion.d.ts +66 -0
  71. package/dist/types/models/CourseCompletionCatalogResponse.d.ts +11 -0
  72. package/dist/types/models/CourseCompletionPerCourse.d.ts +6 -0
  73. package/dist/types/models/CourseCompletionPerCourseData.d.ts +22 -0
  74. package/dist/types/models/CourseCompletionSummaryDataOvertime.d.ts +18 -0
  75. package/dist/types/models/CourseCompletionSummaryOvertime.d.ts +6 -0
  76. package/dist/types/models/CourseCreateUpdate.d.ts +25 -0
  77. package/dist/types/models/CourseDeleteResponse.d.ts +13 -0
  78. package/dist/types/models/CourseEligibilityCheckResponse.d.ts +25 -0
  79. package/dist/types/models/CourseEnrollmentSearchResponse.d.ts +53 -0
  80. package/dist/types/models/CourseGradeDetailBlock.d.ts +18 -0
  81. package/dist/types/models/CourseGradeDetailSubSection.d.ts +23 -0
  82. package/dist/types/models/CourseGradeSummary.d.ts +4 -0
  83. package/dist/types/models/CourseGradeSummaryData.d.ts +18 -0
  84. package/dist/types/models/CourseGradingDetail.d.ts +4 -0
  85. package/dist/types/models/CourseGradingDetailData.d.ts +12 -0
  86. package/dist/types/models/CourseGroupSuggestionCreate.d.ts +41 -0
  87. package/dist/types/models/CourseGroupSuggestionDetail.d.ts +53 -0
  88. package/dist/types/models/CourseInvitationCreate.d.ts +41 -0
  89. package/dist/types/models/CourseInvitationDetail.d.ts +53 -0
  90. package/dist/types/models/CourseInvitationRedemption.d.ts +25 -0
  91. package/dist/types/models/CourseLicenseAssignmentCreate.d.ts +37 -0
  92. package/dist/types/models/CourseLicenseAssignmentDetail.d.ts +49 -0
  93. package/dist/types/models/CourseLicenseCreate.d.ts +61 -0
  94. package/dist/types/models/CourseLicenseDetail.d.ts +53 -0
  95. package/dist/types/models/CourseLicenseGroupAssignmentCreate.d.ts +33 -0
  96. package/dist/types/models/CourseLicenseGroupAssignmentDetail.d.ts +45 -0
  97. package/dist/types/models/CourseLicenseUpdate.d.ts +61 -0
  98. package/dist/types/models/CourseMetadataSearchRequest.d.ts +17 -0
  99. package/dist/types/models/CourseMetadataUpdateRequest.d.ts +17 -0
  100. package/dist/types/models/CoursePoint.d.ts +7 -0
  101. package/dist/types/models/CourseReviewInfoResponse.d.ts +17 -0
  102. package/dist/types/models/CourseSkill.d.ts +8 -0
  103. package/dist/types/models/CourseSkillPointInfoRequest.d.ts +18 -0
  104. package/dist/types/models/CourseSkillPointInfoResponse.d.ts +10 -0
  105. package/dist/types/models/CourseSuggestionBulkCreate.d.ts +17 -0
  106. package/dist/types/models/CourseSuggestionCreate.d.ts +49 -0
  107. package/dist/types/models/CourseSuggestionDetail.d.ts +53 -0
  108. package/dist/types/models/Credential.d.ts +28 -0
  109. package/dist/types/models/DesiredRole.d.ts +7 -0
  110. package/dist/types/models/DesiredRoleCreateUpdateRequest.d.ts +21 -0
  111. package/dist/types/models/DesiredSkill.d.ts +7 -0
  112. package/dist/types/models/DesiredSkillCreateUpdateRequest.d.ts +21 -0
  113. package/dist/types/models/DetailedGradeSubsection.d.ts +22 -0
  114. package/dist/types/models/DetailedGradeView.d.ts +4 -0
  115. package/dist/types/models/DetailedGradeViewData.d.ts +12 -0
  116. package/dist/types/models/Education.d.ts +30 -0
  117. package/dist/types/models/EdxSignalReceiverRequest.d.ts +4 -0
  118. package/dist/types/models/EngagementPerCourse.d.ts +6 -0
  119. package/dist/types/models/EngagementPerCourseData.d.ts +26 -0
  120. package/dist/types/models/Enrollments.d.ts +8 -0
  121. package/dist/types/models/EnrollmentsData.d.ts +18 -0
  122. package/dist/types/models/EnrollmentsPerUser.d.ts +6 -0
  123. package/dist/types/models/EnrollmentsPerUserData.d.ts +18 -0
  124. package/dist/types/models/ErrorResponse.d.ts +8 -0
  125. package/dist/types/models/Experience.d.ts +29 -0
  126. package/dist/types/models/FloatOverTime.d.ts +10 -0
  127. package/dist/types/models/GCPTenantLaunchRequest.d.ts +24 -0
  128. package/dist/types/models/GlobalCatalogSearchResponse.d.ts +33 -0
  129. package/dist/types/models/GooglePayAccountResponse.d.ts +15 -0
  130. package/dist/types/models/GooglePayAccountResponseStatusEnum.d.ts +8 -0
  131. package/dist/types/models/GooglePayVerifyToken.d.ts +6 -0
  132. package/dist/types/models/GradingPerUser.d.ts +8 -0
  133. package/dist/types/models/GradingPerUserData.d.ts +26 -0
  134. package/dist/types/models/GroupList.d.ts +6 -0
  135. package/dist/types/models/GroupListData.d.ts +16 -0
  136. package/dist/types/models/ImageUpload.d.ts +3 -0
  137. package/dist/types/models/Institution.d.ts +20 -0
  138. package/dist/types/models/InstitutionTypeEnum.d.ts +14 -0
  139. package/dist/types/models/Issuer.d.ts +9 -0
  140. package/dist/types/models/IssuerAuthority.d.ts +5 -0
  141. package/dist/types/models/ItemTypeEnum.d.ts +18 -0
  142. package/dist/types/models/LauncherViewPostRequest.d.ts +9 -0
  143. package/dist/types/models/LearnerInformationAPI.d.ts +4 -0
  144. package/dist/types/models/LearnerInformationAPIData.d.ts +83 -0
  145. package/dist/types/models/LtiKey.d.ts +19 -0
  146. package/dist/types/models/LtiLaunchGate.d.ts +8 -0
  147. package/dist/types/models/LtiTool.d.ts +46 -0
  148. package/dist/types/models/ManagerAuthToken.d.ts +13 -0
  149. package/dist/types/models/MarkAllReadRequest.d.ts +9 -0
  150. package/dist/types/models/MarkAllReadResponse.d.ts +7 -0
  151. package/dist/types/models/MediaResource.d.ts +71 -0
  152. package/dist/types/models/MediaTypeEnum.d.ts +14 -0
  153. package/dist/types/models/ModeEnum.d.ts +10 -0
  154. package/dist/types/models/NetRevenueOverTime.d.ts +8 -0
  155. package/dist/types/models/NewPerLearnerList.d.ts +6 -0
  156. package/dist/types/models/NewPerLearnerListData.d.ts +17 -0
  157. package/dist/types/models/Notification.d.ts +14 -0
  158. package/dist/types/models/NotificationCount.d.ts +4 -0
  159. package/dist/types/models/NotificationPreview.d.ts +31 -0
  160. package/dist/types/models/NotificationSource.d.ts +8 -0
  161. package/dist/types/models/NotificationStatusEnum.d.ts +10 -0
  162. package/dist/types/models/NotificationTemplateData.d.ts +26 -0
  163. package/dist/types/models/OnboardingStatusUpdate.d.ts +7 -0
  164. package/dist/types/models/Order.d.ts +22 -0
  165. package/dist/types/models/OverTime.d.ts +3 -0
  166. package/dist/types/models/OverTimeWithTotal.d.ts +22 -0
  167. package/dist/types/models/OvertimeMeta.d.ts +30 -0
  168. package/dist/types/models/OvertimeWithChangeInfo.d.ts +24 -0
  169. package/dist/types/models/PaginatedCourseAccessRequest.d.ts +22 -0
  170. package/dist/types/models/PaginatedCourseGroupSuggestion.d.ts +22 -0
  171. package/dist/types/models/PaginatedCourseInvitation.d.ts +22 -0
  172. package/dist/types/models/PaginatedCourseLicense.d.ts +22 -0
  173. package/dist/types/models/PaginatedCourseLicenseAssignment.d.ts +22 -0
  174. package/dist/types/models/PaginatedCourseLicenseGroupAssignment.d.ts +22 -0
  175. package/dist/types/models/PaginatedCourseSuggestion.d.ts +22 -0
  176. package/dist/types/models/PaginatedPathwayGroupSuggestion.d.ts +22 -0
  177. package/dist/types/models/PaginatedPathwaySuggestion.d.ts +22 -0
  178. package/dist/types/models/PaginatedPlatformInvitation.d.ts +22 -0
  179. package/dist/types/models/PaginatedPlatformLicense.d.ts +22 -0
  180. package/dist/types/models/PaginatedProgramGroupSuggestion.d.ts +22 -0
  181. package/dist/types/models/PaginatedProgramInvitation.d.ts +22 -0
  182. package/dist/types/models/PaginatedProgramLicense.d.ts +31 -0
  183. package/dist/types/models/PaginatedProgramLicenseAssignment.d.ts +31 -0
  184. package/dist/types/models/PaginatedProgramLicenseGroupAssignment.d.ts +31 -0
  185. package/dist/types/models/PaginatedProgramSuggestion.d.ts +22 -0
  186. package/dist/types/models/PaginatedUserAppList.d.ts +7 -0
  187. package/dist/types/models/PaginatedUserLicense.d.ts +22 -0
  188. package/dist/types/models/PaginatedUserLicenseAssignment.d.ts +22 -0
  189. package/dist/types/models/PaginatedUserLicenseGroupAssignment.d.ts +22 -0
  190. package/dist/types/models/Pagination.d.ts +18 -0
  191. package/dist/types/models/PatchedMediaResource.d.ts +71 -0
  192. package/dist/types/models/PatchedNotification.d.ts +14 -0
  193. package/dist/types/models/PatchedPlatformPublicMetadata.d.ts +8 -0
  194. package/dist/types/models/PatchedSkillThreshold.d.ts +14 -0
  195. package/dist/types/models/Pathway.d.ts +28 -0
  196. package/dist/types/models/PathwayCompletionResponse.d.ts +13 -0
  197. package/dist/types/models/PathwayCreateUpdateRequest.d.ts +45 -0
  198. package/dist/types/models/PathwayDeleteResponse.d.ts +13 -0
  199. package/dist/types/models/PathwayEnrollment.d.ts +22 -0
  200. package/dist/types/models/PathwayEnrollmentPlus.d.ts +26 -0
  201. package/dist/types/models/PathwayEnrollmentRequest.d.ts +49 -0
  202. package/dist/types/models/PathwayGroupSuggestionCreate.d.ts +41 -0
  203. package/dist/types/models/PathwayGroupSuggestionDetail.d.ts +61 -0
  204. package/dist/types/models/PathwaySelfEnrollmentRequest.d.ts +37 -0
  205. package/dist/types/models/PathwaySuggestionBulkCreate.d.ts +21 -0
  206. package/dist/types/models/PathwaySuggestionCreate.d.ts +53 -0
  207. package/dist/types/models/PathwaySuggestionDetail.d.ts +61 -0
  208. package/dist/types/models/PerLearnerCourseLastAccessData.d.ts +30 -0
  209. package/dist/types/models/PerLearnerCourseVideosWatched.d.ts +8 -0
  210. package/dist/types/models/PerLearnerCourseVideosWatchedData.d.ts +14 -0
  211. package/dist/types/models/PerLearnerLastAccess.d.ts +4 -0
  212. package/dist/types/models/PerLearnerLastAccessData.d.ts +11 -0
  213. package/dist/types/models/PerLearnerTimeSpentInCourseTree.d.ts +8 -0
  214. package/dist/types/models/PerformanceGradesPerCourse.d.ts +6 -0
  215. package/dist/types/models/PerformanceGradesPerCourseData.d.ts +22 -0
  216. package/dist/types/models/PerlearnerCourseProgress.d.ts +4 -0
  217. package/dist/types/models/PerlearnerCourseProgressData.d.ts +6 -0
  218. package/dist/types/models/PerlearnerEngagementVideosData.d.ts +30 -0
  219. package/dist/types/models/PerlearnerEngagementVideosWatchedPerCourse.d.ts +4 -0
  220. package/dist/types/models/PerlearnerGradeSummary.d.ts +4 -0
  221. package/dist/types/models/PerlearnerGradeSummaryData.d.ts +18 -0
  222. package/dist/types/models/PerlearnerGradeWithCutOff.d.ts +4 -0
  223. package/dist/types/models/PerlearnerGradeWithCutOffData.d.ts +10 -0
  224. package/dist/types/models/PerlearnerGradingPerCourseAPI.d.ts +4 -0
  225. package/dist/types/models/PerlearnerGradingPerCourseAPIData.d.ts +34 -0
  226. package/dist/types/models/PerlearnerUserList.d.ts +6 -0
  227. package/dist/types/models/PerlearnerUserListData.d.ts +34 -0
  228. package/dist/types/models/Platform.d.ts +29 -0
  229. package/dist/types/models/PlatformApiKey.d.ts +30 -0
  230. package/dist/types/models/PlatformInvitationCreate.d.ts +41 -0
  231. package/dist/types/models/PlatformInvitationDetail.d.ts +53 -0
  232. package/dist/types/models/PlatformInvitationRedemption.d.ts +25 -0
  233. package/dist/types/models/PlatformLicenseCreate.d.ts +53 -0
  234. package/dist/types/models/PlatformLicenseDetail.d.ts +49 -0
  235. package/dist/types/models/PlatformLicenseUpdate.d.ts +57 -0
  236. package/dist/types/models/PlatformList.d.ts +29 -0
  237. package/dist/types/models/PlatformListStatusEnum.d.ts +22 -0
  238. package/dist/types/models/PlatformPublicMetadata.d.ts +8 -0
  239. package/dist/types/models/PlatformSkillPointBulkRequest.d.ts +13 -0
  240. package/dist/types/models/PlatformSkillPointBulkResponse.d.ts +13 -0
  241. package/dist/types/models/PlatformSkillPointGroupRequest.d.ts +21 -0
  242. package/dist/types/models/PlatformSkillPointRequest.d.ts +21 -0
  243. package/dist/types/models/PlatformSkillPointResponse.d.ts +21 -0
  244. package/dist/types/models/PlatformUpdatePostRequest.d.ts +9 -0
  245. package/dist/types/models/PointsPercentile.d.ts +8 -0
  246. package/dist/types/models/PreviewResponse.d.ts +11 -0
  247. package/dist/types/models/Product.d.ts +22 -0
  248. package/dist/types/models/ProductTable.d.ts +26 -0
  249. package/dist/types/models/Program.d.ts +24 -0
  250. package/dist/types/models/ProgramCompletionResponse.d.ts +13 -0
  251. package/dist/types/models/ProgramCoursePosition.d.ts +6 -0
  252. package/dist/types/models/ProgramCreateUpdateRequest.d.ts +45 -0
  253. package/dist/types/models/ProgramDeleteResponse.d.ts +13 -0
  254. package/dist/types/models/ProgramEnrollment.d.ts +30 -0
  255. package/dist/types/models/ProgramEnrollmentPlus.d.ts +34 -0
  256. package/dist/types/models/ProgramGroupSuggestionCreate.d.ts +37 -0
  257. package/dist/types/models/ProgramGroupSuggestionDetail.d.ts +53 -0
  258. package/dist/types/models/ProgramInvitationCreate.d.ts +41 -0
  259. package/dist/types/models/ProgramInvitationDetail.d.ts +53 -0
  260. package/dist/types/models/ProgramInvitationRedemption.d.ts +25 -0
  261. package/dist/types/models/ProgramLicenseAssignmentCreate.d.ts +70 -0
  262. package/dist/types/models/ProgramLicenseAssignmentDetail.d.ts +90 -0
  263. package/dist/types/models/ProgramLicenseCreateDetail.d.ts +61 -0
  264. package/dist/types/models/ProgramLicenseDetail.d.ts +90 -0
  265. package/dist/types/models/ProgramLicenseGroupAssignmentCreate.d.ts +56 -0
  266. package/dist/types/models/ProgramLicenseGroupAssignmentDetail.d.ts +85 -0
  267. package/dist/types/models/ProgramLicenseUpdateDetail.d.ts +76 -0
  268. package/dist/types/models/ProgramReviewInfoResponse.d.ts +17 -0
  269. package/dist/types/models/ProgramSearch.d.ts +28 -0
  270. package/dist/types/models/ProgramSuggestionBulkCreate.d.ts +21 -0
  271. package/dist/types/models/ProgramSuggestionCreate.d.ts +53 -0
  272. package/dist/types/models/ProgramSuggestionDetail.d.ts +53 -0
  273. package/dist/types/models/ProgramTypeEnum.d.ts +18 -0
  274. package/dist/types/models/Recipient.d.ts +8 -0
  275. package/dist/types/models/RecommendationSearchAPI.d.ts +3 -0
  276. package/dist/types/models/RedirectTokenRequest.d.ts +3 -0
  277. package/dist/types/models/RedirectTokenResponse.d.ts +5 -0
  278. package/dist/types/models/ReportCreate.d.ts +7 -0
  279. package/dist/types/models/ReportData.d.ts +28 -0
  280. package/dist/types/models/ReportDetail.d.ts +4 -0
  281. package/dist/types/models/ReportList.d.ts +4 -0
  282. package/dist/types/models/ReportRequest.d.ts +21 -0
  283. package/dist/types/models/ReportStatus.d.ts +41 -0
  284. package/dist/types/models/ReportedRole.d.ts +7 -0
  285. package/dist/types/models/ReportedRoleCreateUpdateRequest.d.ts +21 -0
  286. package/dist/types/models/ReportedSkill.d.ts +7 -0
  287. package/dist/types/models/Resource.d.ts +22 -0
  288. package/dist/types/models/ResourceCompletion.d.ts +46 -0
  289. package/dist/types/models/ResourceCompletionRequest.d.ts +29 -0
  290. package/dist/types/models/ResourceCreateUpdate.d.ts +42 -0
  291. package/dist/types/models/ResourceDeleteResponse.d.ts +13 -0
  292. package/dist/types/models/ResourcePoint.d.ts +7 -0
  293. package/dist/types/models/RevenueByProduct.d.ts +6 -0
  294. package/dist/types/models/Role.d.ts +18 -0
  295. package/dist/types/models/RoleCreateUpdateRequest.d.ts +25 -0
  296. package/dist/types/models/SendNotification.d.ts +6 -0
  297. package/dist/types/models/SendResponse.d.ts +9 -0
  298. package/dist/types/models/Skill.d.ts +16 -0
  299. package/dist/types/models/SkillCreateUpdateRequest.d.ts +25 -0
  300. package/dist/types/models/SkillDetail.d.ts +9 -0
  301. package/dist/types/models/SkillInfo.d.ts +23 -0
  302. package/dist/types/models/SkillThreshold.d.ts +14 -0
  303. package/dist/types/models/StateEnum.d.ts +22 -0
  304. package/dist/types/models/StripeCheckoutSessionRequest.d.ts +54 -0
  305. package/dist/types/models/StripeCheckoutSessionResponse.d.ts +6 -0
  306. package/dist/types/models/StripeCustomerPortalRequest.d.ts +3 -0
  307. package/dist/types/models/StripeCustomerPortalResponse.d.ts +3 -0
  308. package/dist/types/models/StripeLocalProduct.d.ts +8 -0
  309. package/dist/types/models/StripeSubscriptionRenewalRequest.d.ts +4 -0
  310. package/dist/types/models/StripeSubscriptionRenewalResponse.d.ts +3 -0
  311. package/dist/types/models/SubTimeChild.d.ts +18 -0
  312. package/dist/types/models/Summary.d.ts +18 -0
  313. package/dist/types/models/TenantLaunchError.d.ts +10 -0
  314. package/dist/types/models/TenantLaunchFailed.d.ts +15 -0
  315. package/dist/types/models/TenantLaunchRequest.d.ts +16 -0
  316. package/dist/types/models/TenantLaunchResponse.d.ts +15 -0
  317. package/dist/types/models/TimeChildData.d.ts +20 -0
  318. package/dist/types/models/TimeDetail.d.ts +8 -0
  319. package/dist/types/models/TimeDetailChild.d.ts +26 -0
  320. package/dist/types/models/TimeDetailData.d.ts +24 -0
  321. package/dist/types/models/TimeSpentByUsersInCourse.d.ts +6 -0
  322. package/dist/types/models/TimeSpentByUsersInCourseData.d.ts +22 -0
  323. package/dist/types/models/TimeSpentPerCourse.d.ts +6 -0
  324. package/dist/types/models/TimeSpentPerCourseData.d.ts +26 -0
  325. package/dist/types/models/TimeSpentPerUserResponse.d.ts +3 -0
  326. package/dist/types/models/TimeSpentUpdateRequest.d.ts +34 -0
  327. package/dist/types/models/TimeSpentUpdateResponse.d.ts +4 -0
  328. package/dist/types/models/TokenProxyInput.d.ts +21 -0
  329. package/dist/types/models/TokenProxyOutput.d.ts +7 -0
  330. package/dist/types/models/TokenProxyOutputSerializerData.d.ts +20 -0
  331. package/dist/types/models/TokenProxyUser.d.ts +25 -0
  332. package/dist/types/models/TypeEnum.d.ts +18 -0
  333. package/dist/types/models/UploadedImage.d.ts +5 -0
  334. package/dist/types/models/UserApp.d.ts +27 -0
  335. package/dist/types/models/UserDeleteAPIError.d.ts +3 -0
  336. package/dist/types/models/UserDeleteAPIRequest.d.ts +3 -0
  337. package/dist/types/models/UserDeleteAPIResponse.d.ts +3 -0
  338. package/dist/types/models/UserInfo.d.ts +13 -0
  339. package/dist/types/models/UserLicenseAssignmentCreate.d.ts +37 -0
  340. package/dist/types/models/UserLicenseAssignmentDetail.d.ts +49 -0
  341. package/dist/types/models/UserLicenseCreate.d.ts +57 -0
  342. package/dist/types/models/UserLicenseDetail.d.ts +53 -0
  343. package/dist/types/models/UserLicenseGroupAssignmentCreate.d.ts +33 -0
  344. package/dist/types/models/UserLicenseGroupAssignmentDetail.d.ts +45 -0
  345. package/dist/types/models/UserLicenseUpdate.d.ts +61 -0
  346. package/dist/types/models/UserPlatformLink.d.ts +17 -0
  347. package/dist/types/models/UserPlatformManagementListViewGetResponse.d.ts +6 -0
  348. package/dist/types/models/UserPlatformViewPostRequest.d.ts +8 -0
  349. package/dist/types/models/UserProxyBulkRequest.d.ts +3 -0
  350. package/dist/types/models/UserProxyGetResponse.d.ts +8 -0
  351. package/dist/types/models/UserProxyPostRequest.d.ts +7 -0
  352. package/dist/types/models/UserProxyPostResponse.d.ts +8 -0
  353. package/dist/types/models/UserSearchResponse.d.ts +29 -0
  354. package/dist/types/models/UserSearchViewGetResponse.d.ts +6 -0
  355. package/dist/types/models/UserSkill.d.ts +22 -0
  356. package/dist/types/models/UserSkillPointInfoResponse.d.ts +10 -0
  357. package/dist/types/models/UserSkillPointsPercentile.d.ts +8 -0
  358. package/dist/types/models/ValidateSourceResponse.d.ts +10 -0
  359. package/dist/types/models/Value.d.ts +4 -0
  360. package/dist/types/models/ValueData.d.ts +6 -0
  361. package/dist/types/models/VerifyGCPMarketPlaceFailedResponse.d.ts +11 -0
  362. package/dist/types/models/VerifyGCPMarketPlaceRequest.d.ts +3 -0
  363. package/dist/types/models/VerifyGCPMarketPlaceResponse.d.ts +11 -0
  364. package/dist/types/models/VideoBlock.d.ts +14 -0
  365. package/dist/types/models/VideoEngagementPerCourse.d.ts +6 -0
  366. package/dist/types/models/VideoEngagementPerCourseData.d.ts +30 -0
  367. package/dist/types/models/VideosCount.d.ts +4 -0
  368. package/dist/types/models/VideosCountData.d.ts +6 -0
  369. package/dist/types/models/VideosInCourseSummary.d.ts +4 -0
  370. package/dist/types/models/VideosInCourseSummaryData.d.ts +12 -0
  371. package/dist/types/models/VideosSpecificCourse.d.ts +4 -0
  372. package/dist/types/models/VideosSpecificCourseData.d.ts +26 -0
  373. package/dist/types/models/VideosWatchedSubSection.d.ts +19 -0
  374. package/dist/types/models/WatchedVideosPerCourse.d.ts +8 -0
  375. package/dist/types/models/WatchedVideosPerCourseData.d.ts +18 -0
  376. package/dist/types/models/WatchedVideosPerUser.d.ts +8 -0
  377. package/dist/types/models/WatchedVideosPerUserData.d.ts +18 -0
  378. package/dist/types/models/WhitelistedDomain.d.ts +4 -0
  379. package/dist/types/services/AnalyticsService.d.ts +54 -0
  380. package/dist/types/services/AudienceService.d.ts +348 -0
  381. package/dist/types/services/CareerService.d.ts +210 -0
  382. package/dist/types/services/CatalogService.d.ts +4682 -0
  383. package/dist/types/services/CoreService.d.ts +638 -0
  384. package/dist/types/services/CredentialsService.d.ts +1189 -0
  385. package/dist/types/services/DepartmentsService.d.ts +43 -0
  386. package/dist/types/services/EngagementService.d.ts +467 -0
  387. package/dist/types/services/FeaturesService.d.ts +75 -0
  388. package/dist/types/services/FinanceService.d.ts +52 -0
  389. package/dist/types/services/MediaResourcesService.d.ts +112 -0
  390. package/dist/types/services/NotificationBuilderService.d.ts +58 -0
  391. package/dist/types/services/NotificationService.d.ts +128 -0
  392. package/dist/types/services/OrgsService.d.ts +262 -0
  393. package/dist/types/services/OverviewService.d.ts +184 -0
  394. package/dist/types/services/PerformanceService.d.ts +183 -0
  395. package/dist/types/services/PerlearnerService.d.ts +501 -0
  396. package/dist/types/services/PlatformService.d.ts +391 -0
  397. package/dist/types/services/ProviderAssociationService.d.ts +16 -0
  398. package/dist/types/services/ProvidersService.d.ts +142 -0
  399. package/dist/types/services/ProvisionService.d.ts +14 -0
  400. package/dist/types/services/RecommendationsService.d.ts +13 -0
  401. package/dist/types/services/ReportsService.d.ts +142 -0
  402. package/dist/types/services/RolesService.d.ts +57 -0
  403. package/dist/types/services/SearchService.d.ts +352 -0
  404. package/dist/types/services/ServiceService.d.ts +170 -0
  405. package/dist/types/services/SkillsService.d.ts +377 -0
  406. package/dist/types/services/UserGroupsService.d.ts +49 -0
  407. package/package.json +39 -0
  408. package/rollup.config.js +113 -0
  409. package/src/core/ApiError.ts +25 -0
  410. package/src/core/ApiRequestOptions.ts +17 -0
  411. package/src/core/ApiResult.ts +11 -0
  412. package/src/core/CancelablePromise.ts +131 -0
  413. package/src/core/OpenAPI.ts +32 -0
  414. package/src/core/request.ts +322 -0
  415. package/src/index.ts +402 -0
  416. package/src/models/AWSTenantLaunchRequest.ts +25 -0
  417. package/src/models/AcceptanceEnum.ts +14 -0
  418. package/src/models/ActivateUserFreeTrial.ts +16 -0
  419. package/src/models/ActiveUsersData.ts +23 -0
  420. package/src/models/ActiveUsersList.ts +11 -0
  421. package/src/models/ActiveUsersPerCourse.ts +15 -0
  422. package/src/models/ActiveUsersPerCourseData.ts +19 -0
  423. package/src/models/ActivityAPI.ts +13 -0
  424. package/src/models/ActivityData.ts +43 -0
  425. package/src/models/App.ts +15 -0
  426. package/src/models/AppleSubscriptionStatusRequest.ts +8 -0
  427. package/src/models/AppleSubscriptionStatusView.ts +8 -0
  428. package/src/models/AppleVerifyTransactionId.ts +8 -0
  429. package/src/models/Assertion.ts +20 -0
  430. package/src/models/AssociateAccountResponse.ts +10 -0
  431. package/src/models/AssociateAppleAccount.ts +8 -0
  432. package/src/models/AuthToken.ts +15 -0
  433. package/src/models/Average.ts +9 -0
  434. package/src/models/AverageData.ts +11 -0
  435. package/src/models/AverageOvertime.ts +27 -0
  436. package/src/models/AvgCourseGradeWithCutoff.ts +9 -0
  437. package/src/models/AvgCourseGradeWithCutoffData.ts +15 -0
  438. package/src/models/BaseErrorResponse.ts +10 -0
  439. package/src/models/BaseResponse.ts +10 -0
  440. package/src/models/BlankCourseInvitationCreate.ts +26 -0
  441. package/src/models/BlankEnum.ts +7 -0
  442. package/src/models/BlankPlatformInvitationCreate.ts +26 -0
  443. package/src/models/BlankProgramInvitationCreate.ts +26 -0
  444. package/src/models/BlockSkillPointInfoRequest.ts +23 -0
  445. package/src/models/BlockSkillPointInfoResponse.ts +15 -0
  446. package/src/models/BulkCourseInvitationCreate.ts +19 -0
  447. package/src/models/BulkCourseInvitationResponse.ts +18 -0
  448. package/src/models/BulkCreateAssertion.ts +9 -0
  449. package/src/models/BulkPlatformInvitationCreate.ts +19 -0
  450. package/src/models/BulkPlatformInvitationResponse.ts +18 -0
  451. package/src/models/BulkProgramInvitationCreate.ts +19 -0
  452. package/src/models/BulkProgramInvitationResponse.ts +18 -0
  453. package/src/models/BulkSuggestionResponse.ts +18 -0
  454. package/src/models/CampaignEnablement.ts +13 -0
  455. package/src/models/CampaignExclusion.ts +13 -0
  456. package/src/models/CatalogAutoIncrementResponse.ts +30 -0
  457. package/src/models/CatalogAutoIncrementUpdateRequest.ts +22 -0
  458. package/src/models/CeleryHeartbeat.ts +10 -0
  459. package/src/models/CeleryHeartbeatFail.ts +10 -0
  460. package/src/models/CeleryHeartbeatFailStatusEnum.ts +12 -0
  461. package/src/models/CeleryHeartbeatStatusEnum.ts +12 -0
  462. package/src/models/Company.ts +28 -0
  463. package/src/models/ContextResponse.ts +12 -0
  464. package/src/models/Count.ts +9 -0
  465. package/src/models/CountData.ts +11 -0
  466. package/src/models/Course.ts +20 -0
  467. package/src/models/CourseAccessRequestCreate.ts +22 -0
  468. package/src/models/CourseAccessRequestDetail.ts +54 -0
  469. package/src/models/CourseAccessRequestStatusResponse.ts +22 -0
  470. package/src/models/CourseAccessRequestUpdate.ts +30 -0
  471. package/src/models/CourseCompletion.ts +71 -0
  472. package/src/models/CourseCompletionCatalogResponse.ts +16 -0
  473. package/src/models/CourseCompletionPerCourse.ts +11 -0
  474. package/src/models/CourseCompletionPerCourseData.ts +27 -0
  475. package/src/models/CourseCompletionSummaryDataOvertime.ts +23 -0
  476. package/src/models/CourseCompletionSummaryOvertime.ts +11 -0
  477. package/src/models/CourseCreateUpdate.ts +30 -0
  478. package/src/models/CourseDeleteResponse.ts +18 -0
  479. package/src/models/CourseEligibilityCheckResponse.ts +30 -0
  480. package/src/models/CourseEnrollmentSearchResponse.ts +58 -0
  481. package/src/models/CourseGradeDetailBlock.ts +23 -0
  482. package/src/models/CourseGradeDetailSubSection.ts +28 -0
  483. package/src/models/CourseGradeSummary.ts +9 -0
  484. package/src/models/CourseGradeSummaryData.ts +23 -0
  485. package/src/models/CourseGradingDetail.ts +9 -0
  486. package/src/models/CourseGradingDetailData.ts +17 -0
  487. package/src/models/CourseGroupSuggestionCreate.ts +46 -0
  488. package/src/models/CourseGroupSuggestionDetail.ts +58 -0
  489. package/src/models/CourseInvitationCreate.ts +46 -0
  490. package/src/models/CourseInvitationDetail.ts +58 -0
  491. package/src/models/CourseInvitationRedemption.ts +30 -0
  492. package/src/models/CourseLicenseAssignmentCreate.ts +42 -0
  493. package/src/models/CourseLicenseAssignmentDetail.ts +54 -0
  494. package/src/models/CourseLicenseCreate.ts +66 -0
  495. package/src/models/CourseLicenseDetail.ts +58 -0
  496. package/src/models/CourseLicenseGroupAssignmentCreate.ts +38 -0
  497. package/src/models/CourseLicenseGroupAssignmentDetail.ts +50 -0
  498. package/src/models/CourseLicenseUpdate.ts +66 -0
  499. package/src/models/CourseMetadataSearchRequest.ts +22 -0
  500. package/src/models/CourseMetadataUpdateRequest.ts +22 -0
  501. package/src/models/CoursePoint.ts +12 -0
  502. package/src/models/CourseReviewInfoResponse.ts +22 -0
  503. package/src/models/CourseSkill.ts +13 -0
  504. package/src/models/CourseSkillPointInfoRequest.ts +23 -0
  505. package/src/models/CourseSkillPointInfoResponse.ts +15 -0
  506. package/src/models/CourseSuggestionBulkCreate.ts +22 -0
  507. package/src/models/CourseSuggestionCreate.ts +54 -0
  508. package/src/models/CourseSuggestionDetail.ts +58 -0
  509. package/src/models/Credential.ts +33 -0
  510. package/src/models/DesiredRole.ts +12 -0
  511. package/src/models/DesiredRoleCreateUpdateRequest.ts +26 -0
  512. package/src/models/DesiredSkill.ts +12 -0
  513. package/src/models/DesiredSkillCreateUpdateRequest.ts +26 -0
  514. package/src/models/DetailedGradeSubsection.ts +27 -0
  515. package/src/models/DetailedGradeView.ts +9 -0
  516. package/src/models/DetailedGradeViewData.ts +17 -0
  517. package/src/models/Education.ts +35 -0
  518. package/src/models/EdxSignalReceiverRequest.ts +9 -0
  519. package/src/models/EngagementPerCourse.ts +11 -0
  520. package/src/models/EngagementPerCourseData.ts +31 -0
  521. package/src/models/Enrollments.ts +13 -0
  522. package/src/models/EnrollmentsData.ts +23 -0
  523. package/src/models/EnrollmentsPerUser.ts +11 -0
  524. package/src/models/EnrollmentsPerUserData.ts +23 -0
  525. package/src/models/ErrorResponse.ts +13 -0
  526. package/src/models/Experience.ts +34 -0
  527. package/src/models/FloatOverTime.ts +15 -0
  528. package/src/models/GCPTenantLaunchRequest.ts +29 -0
  529. package/src/models/GlobalCatalogSearchResponse.ts +38 -0
  530. package/src/models/GooglePayAccountResponse.ts +20 -0
  531. package/src/models/GooglePayAccountResponseStatusEnum.ts +12 -0
  532. package/src/models/GooglePayVerifyToken.ts +11 -0
  533. package/src/models/GradingPerUser.ts +13 -0
  534. package/src/models/GradingPerUserData.ts +31 -0
  535. package/src/models/GroupList.ts +11 -0
  536. package/src/models/GroupListData.ts +21 -0
  537. package/src/models/ImageUpload.ts +8 -0
  538. package/src/models/Institution.ts +25 -0
  539. package/src/models/InstitutionTypeEnum.ts +18 -0
  540. package/src/models/Issuer.ts +14 -0
  541. package/src/models/IssuerAuthority.ts +10 -0
  542. package/src/models/ItemTypeEnum.ts +22 -0
  543. package/src/models/LauncherViewPostRequest.ts +14 -0
  544. package/src/models/LearnerInformationAPI.ts +9 -0
  545. package/src/models/LearnerInformationAPIData.ts +88 -0
  546. package/src/models/LtiKey.ts +24 -0
  547. package/src/models/LtiLaunchGate.ts +13 -0
  548. package/src/models/LtiTool.ts +51 -0
  549. package/src/models/ManagerAuthToken.ts +18 -0
  550. package/src/models/MarkAllReadRequest.ts +14 -0
  551. package/src/models/MarkAllReadResponse.ts +12 -0
  552. package/src/models/MediaResource.ts +76 -0
  553. package/src/models/MediaTypeEnum.ts +18 -0
  554. package/src/models/ModeEnum.ts +14 -0
  555. package/src/models/NetRevenueOverTime.ts +13 -0
  556. package/src/models/NewPerLearnerList.ts +11 -0
  557. package/src/models/NewPerLearnerListData.ts +22 -0
  558. package/src/models/Notification.ts +19 -0
  559. package/src/models/NotificationCount.ts +9 -0
  560. package/src/models/NotificationPreview.ts +36 -0
  561. package/src/models/NotificationSource.ts +13 -0
  562. package/src/models/NotificationStatusEnum.ts +14 -0
  563. package/src/models/NotificationTemplateData.ts +31 -0
  564. package/src/models/OnboardingStatusUpdate.ts +12 -0
  565. package/src/models/Order.ts +27 -0
  566. package/src/models/OverTime.ts +8 -0
  567. package/src/models/OverTimeWithTotal.ts +27 -0
  568. package/src/models/OvertimeMeta.ts +35 -0
  569. package/src/models/OvertimeWithChangeInfo.ts +29 -0
  570. package/src/models/PaginatedCourseAccessRequest.ts +27 -0
  571. package/src/models/PaginatedCourseGroupSuggestion.ts +27 -0
  572. package/src/models/PaginatedCourseInvitation.ts +27 -0
  573. package/src/models/PaginatedCourseLicense.ts +27 -0
  574. package/src/models/PaginatedCourseLicenseAssignment.ts +27 -0
  575. package/src/models/PaginatedCourseLicenseGroupAssignment.ts +27 -0
  576. package/src/models/PaginatedCourseSuggestion.ts +27 -0
  577. package/src/models/PaginatedPathwayGroupSuggestion.ts +27 -0
  578. package/src/models/PaginatedPathwaySuggestion.ts +27 -0
  579. package/src/models/PaginatedPlatformInvitation.ts +27 -0
  580. package/src/models/PaginatedPlatformLicense.ts +27 -0
  581. package/src/models/PaginatedProgramGroupSuggestion.ts +27 -0
  582. package/src/models/PaginatedProgramInvitation.ts +27 -0
  583. package/src/models/PaginatedProgramLicense.ts +36 -0
  584. package/src/models/PaginatedProgramLicenseAssignment.ts +36 -0
  585. package/src/models/PaginatedProgramLicenseGroupAssignment.ts +36 -0
  586. package/src/models/PaginatedProgramSuggestion.ts +27 -0
  587. package/src/models/PaginatedUserAppList.ts +12 -0
  588. package/src/models/PaginatedUserLicense.ts +27 -0
  589. package/src/models/PaginatedUserLicenseAssignment.ts +27 -0
  590. package/src/models/PaginatedUserLicenseGroupAssignment.ts +27 -0
  591. package/src/models/Pagination.ts +23 -0
  592. package/src/models/PatchedMediaResource.ts +76 -0
  593. package/src/models/PatchedNotification.ts +19 -0
  594. package/src/models/PatchedPlatformPublicMetadata.ts +13 -0
  595. package/src/models/PatchedSkillThreshold.ts +19 -0
  596. package/src/models/Pathway.ts +33 -0
  597. package/src/models/PathwayCompletionResponse.ts +18 -0
  598. package/src/models/PathwayCreateUpdateRequest.ts +50 -0
  599. package/src/models/PathwayDeleteResponse.ts +18 -0
  600. package/src/models/PathwayEnrollment.ts +27 -0
  601. package/src/models/PathwayEnrollmentPlus.ts +31 -0
  602. package/src/models/PathwayEnrollmentRequest.ts +54 -0
  603. package/src/models/PathwayGroupSuggestionCreate.ts +46 -0
  604. package/src/models/PathwayGroupSuggestionDetail.ts +66 -0
  605. package/src/models/PathwaySelfEnrollmentRequest.ts +42 -0
  606. package/src/models/PathwaySuggestionBulkCreate.ts +26 -0
  607. package/src/models/PathwaySuggestionCreate.ts +58 -0
  608. package/src/models/PathwaySuggestionDetail.ts +66 -0
  609. package/src/models/PerLearnerCourseLastAccessData.ts +35 -0
  610. package/src/models/PerLearnerCourseVideosWatched.ts +13 -0
  611. package/src/models/PerLearnerCourseVideosWatchedData.ts +19 -0
  612. package/src/models/PerLearnerLastAccess.ts +9 -0
  613. package/src/models/PerLearnerLastAccessData.ts +16 -0
  614. package/src/models/PerLearnerTimeSpentInCourseTree.ts +13 -0
  615. package/src/models/PerformanceGradesPerCourse.ts +11 -0
  616. package/src/models/PerformanceGradesPerCourseData.ts +27 -0
  617. package/src/models/PerlearnerCourseProgress.ts +9 -0
  618. package/src/models/PerlearnerCourseProgressData.ts +11 -0
  619. package/src/models/PerlearnerEngagementVideosData.ts +35 -0
  620. package/src/models/PerlearnerEngagementVideosWatchedPerCourse.ts +9 -0
  621. package/src/models/PerlearnerGradeSummary.ts +9 -0
  622. package/src/models/PerlearnerGradeSummaryData.ts +23 -0
  623. package/src/models/PerlearnerGradeWithCutOff.ts +9 -0
  624. package/src/models/PerlearnerGradeWithCutOffData.ts +15 -0
  625. package/src/models/PerlearnerGradingPerCourseAPI.ts +9 -0
  626. package/src/models/PerlearnerGradingPerCourseAPIData.ts +39 -0
  627. package/src/models/PerlearnerUserList.ts +11 -0
  628. package/src/models/PerlearnerUserListData.ts +39 -0
  629. package/src/models/Platform.ts +34 -0
  630. package/src/models/PlatformApiKey.ts +35 -0
  631. package/src/models/PlatformInvitationCreate.ts +46 -0
  632. package/src/models/PlatformInvitationDetail.ts +58 -0
  633. package/src/models/PlatformInvitationRedemption.ts +30 -0
  634. package/src/models/PlatformLicenseCreate.ts +58 -0
  635. package/src/models/PlatformLicenseDetail.ts +54 -0
  636. package/src/models/PlatformLicenseUpdate.ts +62 -0
  637. package/src/models/PlatformList.ts +34 -0
  638. package/src/models/PlatformListStatusEnum.ts +26 -0
  639. package/src/models/PlatformPublicMetadata.ts +13 -0
  640. package/src/models/PlatformSkillPointBulkRequest.ts +18 -0
  641. package/src/models/PlatformSkillPointBulkResponse.ts +18 -0
  642. package/src/models/PlatformSkillPointGroupRequest.ts +26 -0
  643. package/src/models/PlatformSkillPointRequest.ts +26 -0
  644. package/src/models/PlatformSkillPointResponse.ts +26 -0
  645. package/src/models/PlatformUpdatePostRequest.ts +14 -0
  646. package/src/models/PointsPercentile.ts +13 -0
  647. package/src/models/PreviewResponse.ts +16 -0
  648. package/src/models/Product.ts +27 -0
  649. package/src/models/ProductTable.ts +31 -0
  650. package/src/models/Program.ts +29 -0
  651. package/src/models/ProgramCompletionResponse.ts +18 -0
  652. package/src/models/ProgramCoursePosition.ts +11 -0
  653. package/src/models/ProgramCreateUpdateRequest.ts +50 -0
  654. package/src/models/ProgramDeleteResponse.ts +18 -0
  655. package/src/models/ProgramEnrollment.ts +35 -0
  656. package/src/models/ProgramEnrollmentPlus.ts +39 -0
  657. package/src/models/ProgramGroupSuggestionCreate.ts +42 -0
  658. package/src/models/ProgramGroupSuggestionDetail.ts +58 -0
  659. package/src/models/ProgramInvitationCreate.ts +46 -0
  660. package/src/models/ProgramInvitationDetail.ts +58 -0
  661. package/src/models/ProgramInvitationRedemption.ts +30 -0
  662. package/src/models/ProgramLicenseAssignmentCreate.ts +75 -0
  663. package/src/models/ProgramLicenseAssignmentDetail.ts +95 -0
  664. package/src/models/ProgramLicenseCreateDetail.ts +66 -0
  665. package/src/models/ProgramLicenseDetail.ts +95 -0
  666. package/src/models/ProgramLicenseGroupAssignmentCreate.ts +61 -0
  667. package/src/models/ProgramLicenseGroupAssignmentDetail.ts +90 -0
  668. package/src/models/ProgramLicenseUpdateDetail.ts +81 -0
  669. package/src/models/ProgramReviewInfoResponse.ts +22 -0
  670. package/src/models/ProgramSearch.ts +33 -0
  671. package/src/models/ProgramSuggestionBulkCreate.ts +26 -0
  672. package/src/models/ProgramSuggestionCreate.ts +58 -0
  673. package/src/models/ProgramSuggestionDetail.ts +58 -0
  674. package/src/models/ProgramTypeEnum.ts +22 -0
  675. package/src/models/Recipient.ts +13 -0
  676. package/src/models/RecommendationSearchAPI.ts +8 -0
  677. package/src/models/RedirectTokenRequest.ts +8 -0
  678. package/src/models/RedirectTokenResponse.ts +10 -0
  679. package/src/models/ReportCreate.ts +12 -0
  680. package/src/models/ReportData.ts +33 -0
  681. package/src/models/ReportDetail.ts +9 -0
  682. package/src/models/ReportList.ts +9 -0
  683. package/src/models/ReportRequest.ts +26 -0
  684. package/src/models/ReportStatus.ts +46 -0
  685. package/src/models/ReportedRole.ts +12 -0
  686. package/src/models/ReportedRoleCreateUpdateRequest.ts +26 -0
  687. package/src/models/ReportedSkill.ts +12 -0
  688. package/src/models/Resource.ts +27 -0
  689. package/src/models/ResourceCompletion.ts +51 -0
  690. package/src/models/ResourceCompletionRequest.ts +34 -0
  691. package/src/models/ResourceCreateUpdate.ts +47 -0
  692. package/src/models/ResourceDeleteResponse.ts +18 -0
  693. package/src/models/ResourcePoint.ts +12 -0
  694. package/src/models/RevenueByProduct.ts +11 -0
  695. package/src/models/Role.ts +23 -0
  696. package/src/models/RoleCreateUpdateRequest.ts +30 -0
  697. package/src/models/SendNotification.ts +11 -0
  698. package/src/models/SendResponse.ts +14 -0
  699. package/src/models/Skill.ts +21 -0
  700. package/src/models/SkillCreateUpdateRequest.ts +30 -0
  701. package/src/models/SkillDetail.ts +14 -0
  702. package/src/models/SkillInfo.ts +28 -0
  703. package/src/models/SkillThreshold.ts +19 -0
  704. package/src/models/StateEnum.ts +26 -0
  705. package/src/models/StripeCheckoutSessionRequest.ts +59 -0
  706. package/src/models/StripeCheckoutSessionResponse.ts +11 -0
  707. package/src/models/StripeCustomerPortalRequest.ts +8 -0
  708. package/src/models/StripeCustomerPortalResponse.ts +8 -0
  709. package/src/models/StripeLocalProduct.ts +13 -0
  710. package/src/models/StripeSubscriptionRenewalRequest.ts +9 -0
  711. package/src/models/StripeSubscriptionRenewalResponse.ts +8 -0
  712. package/src/models/SubTimeChild.ts +23 -0
  713. package/src/models/Summary.ts +23 -0
  714. package/src/models/TenantLaunchError.ts +15 -0
  715. package/src/models/TenantLaunchFailed.ts +20 -0
  716. package/src/models/TenantLaunchRequest.ts +21 -0
  717. package/src/models/TenantLaunchResponse.ts +20 -0
  718. package/src/models/TimeChildData.ts +25 -0
  719. package/src/models/TimeDetail.ts +13 -0
  720. package/src/models/TimeDetailChild.ts +31 -0
  721. package/src/models/TimeDetailData.ts +29 -0
  722. package/src/models/TimeSpentByUsersInCourse.ts +11 -0
  723. package/src/models/TimeSpentByUsersInCourseData.ts +27 -0
  724. package/src/models/TimeSpentPerCourse.ts +11 -0
  725. package/src/models/TimeSpentPerCourseData.ts +31 -0
  726. package/src/models/TimeSpentPerUserResponse.ts +8 -0
  727. package/src/models/TimeSpentUpdateRequest.ts +39 -0
  728. package/src/models/TimeSpentUpdateResponse.ts +9 -0
  729. package/src/models/TokenProxyInput.ts +26 -0
  730. package/src/models/TokenProxyOutput.ts +12 -0
  731. package/src/models/TokenProxyOutputSerializerData.ts +25 -0
  732. package/src/models/TokenProxyUser.ts +30 -0
  733. package/src/models/TypeEnum.ts +22 -0
  734. package/src/models/UploadedImage.ts +10 -0
  735. package/src/models/UserApp.ts +32 -0
  736. package/src/models/UserDeleteAPIError.ts +8 -0
  737. package/src/models/UserDeleteAPIRequest.ts +8 -0
  738. package/src/models/UserDeleteAPIResponse.ts +8 -0
  739. package/src/models/UserInfo.ts +18 -0
  740. package/src/models/UserLicenseAssignmentCreate.ts +42 -0
  741. package/src/models/UserLicenseAssignmentDetail.ts +54 -0
  742. package/src/models/UserLicenseCreate.ts +62 -0
  743. package/src/models/UserLicenseDetail.ts +58 -0
  744. package/src/models/UserLicenseGroupAssignmentCreate.ts +38 -0
  745. package/src/models/UserLicenseGroupAssignmentDetail.ts +50 -0
  746. package/src/models/UserLicenseUpdate.ts +66 -0
  747. package/src/models/UserPlatformLink.ts +22 -0
  748. package/src/models/UserPlatformManagementListViewGetResponse.ts +11 -0
  749. package/src/models/UserPlatformViewPostRequest.ts +13 -0
  750. package/src/models/UserProxyBulkRequest.ts +8 -0
  751. package/src/models/UserProxyGetResponse.ts +13 -0
  752. package/src/models/UserProxyPostRequest.ts +12 -0
  753. package/src/models/UserProxyPostResponse.ts +13 -0
  754. package/src/models/UserSearchResponse.ts +34 -0
  755. package/src/models/UserSearchViewGetResponse.ts +11 -0
  756. package/src/models/UserSkill.ts +27 -0
  757. package/src/models/UserSkillPointInfoResponse.ts +15 -0
  758. package/src/models/UserSkillPointsPercentile.ts +13 -0
  759. package/src/models/ValidateSourceResponse.ts +15 -0
  760. package/src/models/Value.ts +9 -0
  761. package/src/models/ValueData.ts +11 -0
  762. package/src/models/VerifyGCPMarketPlaceFailedResponse.ts +16 -0
  763. package/src/models/VerifyGCPMarketPlaceRequest.ts +8 -0
  764. package/src/models/VerifyGCPMarketPlaceResponse.ts +16 -0
  765. package/src/models/VideoBlock.ts +19 -0
  766. package/src/models/VideoEngagementPerCourse.ts +11 -0
  767. package/src/models/VideoEngagementPerCourseData.ts +35 -0
  768. package/src/models/VideosCount.ts +9 -0
  769. package/src/models/VideosCountData.ts +11 -0
  770. package/src/models/VideosInCourseSummary.ts +9 -0
  771. package/src/models/VideosInCourseSummaryData.ts +17 -0
  772. package/src/models/VideosSpecificCourse.ts +9 -0
  773. package/src/models/VideosSpecificCourseData.ts +31 -0
  774. package/src/models/VideosWatchedSubSection.ts +24 -0
  775. package/src/models/WatchedVideosPerCourse.ts +13 -0
  776. package/src/models/WatchedVideosPerCourseData.ts +23 -0
  777. package/src/models/WatchedVideosPerUser.ts +13 -0
  778. package/src/models/WatchedVideosPerUserData.ts +23 -0
  779. package/src/models/WhitelistedDomain.ts +9 -0
  780. package/src/services/AnalyticsService.ts +103 -0
  781. package/src/services/AudienceService.ts +602 -0
  782. package/src/services/CareerService.ts +568 -0
  783. package/src/services/CatalogService.ts +8300 -0
  784. package/src/services/CoreService.ts +1278 -0
  785. package/src/services/CredentialsService.ts +1656 -0
  786. package/src/services/DepartmentsService.ts +85 -0
  787. package/src/services/EngagementService.ts +907 -0
  788. package/src/services/FeaturesService.ts +126 -0
  789. package/src/services/FinanceService.ts +136 -0
  790. package/src/services/MediaResourcesService.ts +319 -0
  791. package/src/services/NotificationBuilderService.ts +133 -0
  792. package/src/services/NotificationService.ts +317 -0
  793. package/src/services/OrgsService.ts +596 -0
  794. package/src/services/OverviewService.ts +324 -0
  795. package/src/services/PerformanceService.ts +329 -0
  796. package/src/services/PerlearnerService.ts +1009 -0
  797. package/src/services/PlatformService.ts +763 -0
  798. package/src/services/ProviderAssociationService.ts +32 -0
  799. package/src/services/ProvidersService.ts +271 -0
  800. package/src/services/ProvisionService.ts +30 -0
  801. package/src/services/RecommendationsService.ts +31 -0
  802. package/src/services/ReportsService.ts +218 -0
  803. package/src/services/RolesService.ts +87 -0
  804. package/src/services/SearchService.ts +550 -0
  805. package/src/services/ServiceService.ts +320 -0
  806. package/src/services/SkillsService.ts +521 -0
  807. package/src/services/UserGroupsService.ts +91 -0
  808. package/tsconfig.json +15 -0
@@ -0,0 +1,907 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { AverageOvertime } from '../models/AverageOvertime';
6
+ import type { CourseCompletionPerCourse } from '../models/CourseCompletionPerCourse';
7
+ import type { EngagementPerCourse } from '../models/EngagementPerCourse';
8
+ import type { OvertimeWithChangeInfo } from '../models/OvertimeWithChangeInfo';
9
+ import type { OverTimeWithTotal } from '../models/OverTimeWithTotal';
10
+ import type { PerLearnerTimeSpentInCourseTree } from '../models/PerLearnerTimeSpentInCourseTree';
11
+ import type { TimeDetail } from '../models/TimeDetail';
12
+ import type { TimeSpentByUsersInCourse } from '../models/TimeSpentByUsersInCourse';
13
+ import type { TimeSpentPerCourse } from '../models/TimeSpentPerCourse';
14
+ import type { VideoEngagementPerCourse } from '../models/VideoEngagementPerCourse';
15
+ import type { VideosInCourseSummary } from '../models/VideosInCourseSummary';
16
+ import type { VideosSpecificCourse } from '../models/VideosSpecificCourse';
17
+ import type { WatchedVideosPerUser } from '../models/WatchedVideosPerUser';
18
+ import type { CancelablePromise } from '../core/CancelablePromise';
19
+ import { OpenAPI } from '../core/OpenAPI';
20
+ import { request as __request } from '../core/request';
21
+ export class EngagementService {
22
+ /**
23
+ * Get engagement metrics on a per-course basis.
24
+ *
25
+ * This endpoint provides a paginated list of courses with engagement metrics
26
+ * including activity counts, time spent, and interaction data.
27
+ *
28
+ * Query Parameters:
29
+ * page (int, optional): Page number for pagination
30
+ * length (int, optional): Number of items per page
31
+ *
32
+ * Returns:
33
+ * A paginated list of courses with their engagement metrics.
34
+ * @param org
35
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
36
+ * @param format Format
37
+ *
38
+ * * `json` - json
39
+ * @param includeMainPlatform Include main platform data
40
+ * @param length Size of data to return
41
+ * @param page Page offset
42
+ * @returns EngagementPerCourse
43
+ * @throws ApiError
44
+ */
45
+ public static engagementOrgsActivityRetrieve(
46
+ org: string,
47
+ departmentId?: number,
48
+ format: 'json' = 'json',
49
+ includeMainPlatform: boolean = true,
50
+ length?: number,
51
+ page?: number,
52
+ ): CancelablePromise<EngagementPerCourse> {
53
+ return __request(OpenAPI, {
54
+ method: 'GET',
55
+ url: '/api/engagement/orgs/{org}/activity',
56
+ path: {
57
+ 'org': org,
58
+ },
59
+ query: {
60
+ 'department_id': departmentId,
61
+ 'format': format,
62
+ 'include_main_platform': includeMainPlatform,
63
+ 'length': length,
64
+ 'page': page,
65
+ },
66
+ });
67
+ }
68
+ /**
69
+ * Completion count per user per course across the platform
70
+ *
71
+ * Query Params
72
+ * 1. start_date e.g 2020-10-01
73
+ * 2. end_date e.g 2020-10-10
74
+ *
75
+ * Default result when no query param is added is last_7_days (today inclusive)
76
+ * @param org
77
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
78
+ * @param endDate end date. ISO 8601
79
+ * @param format Format
80
+ *
81
+ * * `json` - json
82
+ * @param includeMainPlatform Include main platform data
83
+ * @param startDate start date. ISO 8601
84
+ * @returns OvertimeWithChangeInfo
85
+ * @throws ApiError
86
+ */
87
+ public static engagementOrgsCourseCompletionOverTimeRetrieve(
88
+ org: string,
89
+ departmentId?: number,
90
+ endDate?: string,
91
+ format: 'json' = 'json',
92
+ includeMainPlatform: boolean = true,
93
+ startDate?: string,
94
+ ): CancelablePromise<OvertimeWithChangeInfo> {
95
+ return __request(OpenAPI, {
96
+ method: 'GET',
97
+ url: '/api/engagement/orgs/{org}/course_completion/over-time',
98
+ path: {
99
+ 'org': org,
100
+ },
101
+ query: {
102
+ 'department_id': departmentId,
103
+ 'end_date': endDate,
104
+ 'format': format,
105
+ 'include_main_platform': includeMainPlatform,
106
+ 'start_date': startDate,
107
+ },
108
+ });
109
+ }
110
+ /**
111
+ * List course completion metrics on a per-course basis.
112
+ *
113
+ * This endpoint provides a paginated table of courses with enrollment and
114
+ * completion statistics for each course.
115
+ *
116
+ * Returns:
117
+ * A paginated list of courses with:
118
+ * - Course identification (ID and name)
119
+ * - Enrollment count
120
+ * - Completion count
121
+ * - Average completion rate
122
+ * @param org
123
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
124
+ * @param format Format
125
+ *
126
+ * * `json` - json
127
+ * @param includeMainPlatform Include main platform data
128
+ * @param length Size of data to return
129
+ * @param page Page offset
130
+ * @returns CourseCompletionPerCourse
131
+ * @throws ApiError
132
+ */
133
+ public static engagementOrgsCourseCompletionPerCourseRetrieve(
134
+ org: string,
135
+ departmentId?: number,
136
+ format: 'json' = 'json',
137
+ includeMainPlatform: boolean = true,
138
+ length?: number,
139
+ page?: number,
140
+ ): CancelablePromise<CourseCompletionPerCourse> {
141
+ return __request(OpenAPI, {
142
+ method: 'GET',
143
+ url: '/api/engagement/orgs/{org}/course_completion/per-course',
144
+ path: {
145
+ 'org': org,
146
+ },
147
+ query: {
148
+ 'department_id': departmentId,
149
+ 'format': format,
150
+ 'include_main_platform': includeMainPlatform,
151
+ 'length': length,
152
+ 'page': page,
153
+ },
154
+ });
155
+ }
156
+ /**
157
+ * Average time spent in secs on a per-day basis
158
+ *
159
+ * Query Params
160
+ * 1. start_date e.g 2020-10-01
161
+ * 2. end_date e.g 2020-10-10
162
+ * 3. course_id <optional>
163
+ *
164
+ * Default result when no query param is added is last_7_days (today inclusive)
165
+ * @param courseId
166
+ * @param org
167
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
168
+ * @param endDate end date. ISO 8601
169
+ * @param format Format
170
+ *
171
+ * * `json` - json
172
+ * @param includeMainPlatform Include main platform data
173
+ * @param startDate start date. ISO 8601
174
+ * @returns AverageOvertime
175
+ * @throws ApiError
176
+ */
177
+ public static engagementOrgsCoursesTimeAverageRetrieve(
178
+ courseId: string,
179
+ org: string,
180
+ departmentId?: number,
181
+ endDate?: string,
182
+ format: 'json' = 'json',
183
+ includeMainPlatform: boolean = true,
184
+ startDate?: string,
185
+ ): CancelablePromise<AverageOvertime> {
186
+ return __request(OpenAPI, {
187
+ method: 'GET',
188
+ url: '/api/engagement/orgs/{org}/courses/{course_id}/time/average',
189
+ path: {
190
+ 'course_id': courseId,
191
+ 'org': org,
192
+ },
193
+ query: {
194
+ 'department_id': departmentId,
195
+ 'end_date': endDate,
196
+ 'format': format,
197
+ 'include_main_platform': includeMainPlatform,
198
+ 'start_date': startDate,
199
+ },
200
+ });
201
+ }
202
+ /**
203
+ * Time spent per course in secs in a tree like form
204
+ *
205
+ * Kwargs
206
+ * course_id e.g course-v1:Org+Course4+Run
207
+ *
208
+ * Query Params
209
+ * 1. start_date <optional> e.g 2020-10-01
210
+ * 2. end_date <optional> e.g 2020-10-10
211
+ * @param courseId
212
+ * @param org
213
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
214
+ * @param format Format
215
+ *
216
+ * * `json` - json
217
+ * @param includeMainPlatform Include main platform data
218
+ * @returns TimeDetail
219
+ * @throws ApiError
220
+ */
221
+ public static engagementOrgsCoursesTimeDetailRetrieve(
222
+ courseId: string,
223
+ org: string,
224
+ departmentId?: number,
225
+ format: 'json' = 'json',
226
+ includeMainPlatform: boolean = true,
227
+ ): CancelablePromise<TimeDetail> {
228
+ return __request(OpenAPI, {
229
+ method: 'GET',
230
+ url: '/api/engagement/orgs/{org}/courses/{course_id}/time/detail',
231
+ path: {
232
+ 'course_id': courseId,
233
+ 'org': org,
234
+ },
235
+ query: {
236
+ 'department_id': departmentId,
237
+ 'format': format,
238
+ 'include_main_platform': includeMainPlatform,
239
+ },
240
+ });
241
+ }
242
+ /**
243
+ * Time spent per course in secs on a per-day basis
244
+ *
245
+ * Query Params
246
+ * 1. start_date e.g 2020-10-01
247
+ * 2. end_date e.g 2020-10-10
248
+ * Kwargs
249
+ * 3. course_id
250
+ *
251
+ * Default result when no query param is added is last_7_days (today inclusive)
252
+ * @param courseId
253
+ * @param org
254
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
255
+ * @param endDate end date. ISO 8601
256
+ * @param format Format
257
+ *
258
+ * * `json` - json
259
+ * @param includeMainPlatform Include main platform data
260
+ * @param startDate start date. ISO 8601
261
+ * @returns OverTimeWithTotal
262
+ * @throws ApiError
263
+ */
264
+ public static engagementOrgsCoursesTimeOverTimeRetrieve(
265
+ courseId: string,
266
+ org: string,
267
+ departmentId?: number,
268
+ endDate?: string,
269
+ format: 'json' = 'json',
270
+ includeMainPlatform: boolean = true,
271
+ startDate?: string,
272
+ ): CancelablePromise<OverTimeWithTotal> {
273
+ return __request(OpenAPI, {
274
+ method: 'GET',
275
+ url: '/api/engagement/orgs/{org}/courses/{course_id}/time/over-time',
276
+ path: {
277
+ 'course_id': courseId,
278
+ 'org': org,
279
+ },
280
+ query: {
281
+ 'department_id': departmentId,
282
+ 'end_date': endDate,
283
+ 'format': format,
284
+ 'include_main_platform': includeMainPlatform,
285
+ 'start_date': startDate,
286
+ },
287
+ });
288
+ }
289
+ /**
290
+ * Time spent by users in a course
291
+ *
292
+ * Query Params
293
+ * course_id e.g course-v1:Org+Course4+Run
294
+ * @param courseId
295
+ * @param org
296
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
297
+ * @param endDate end date. ISO 8601
298
+ * @param format Format
299
+ *
300
+ * * `json` - json
301
+ * @param includeMainPlatform Include main platform data
302
+ * @param length Size of data to return
303
+ * @param page Page offset
304
+ * @param startDate start date. ISO 8601
305
+ * @returns TimeSpentByUsersInCourse
306
+ * @throws ApiError
307
+ */
308
+ public static engagementOrgsCoursesTimeUsersRetrieve(
309
+ courseId: string,
310
+ org: string,
311
+ departmentId?: number,
312
+ endDate?: string,
313
+ format: 'json' = 'json',
314
+ includeMainPlatform: boolean = true,
315
+ length?: number,
316
+ page?: number,
317
+ startDate?: string,
318
+ ): CancelablePromise<TimeSpentByUsersInCourse> {
319
+ return __request(OpenAPI, {
320
+ method: 'GET',
321
+ url: '/api/engagement/orgs/{org}/courses/{course_id}/time/users',
322
+ path: {
323
+ 'course_id': courseId,
324
+ 'org': org,
325
+ },
326
+ query: {
327
+ 'department_id': departmentId,
328
+ 'end_date': endDate,
329
+ 'format': format,
330
+ 'include_main_platform': includeMainPlatform,
331
+ 'length': length,
332
+ 'page': page,
333
+ 'start_date': startDate,
334
+ },
335
+ });
336
+ }
337
+ /**
338
+ * Time spent within a course in ordered hierarchical format
339
+ *
340
+ * Kwargs
341
+ * 1. course_id e.g course-v1:Org+Course4+Run
342
+ * 2. user_id e.g developer@ibleducation.com or dev123 (username|email)
343
+ * Query Params
344
+ * 3. start_date <optional> e.g 2020-10-01
345
+ * 4. end_date <optional> e.g 2020-10-10
346
+ * @param courseId
347
+ * @param org
348
+ * @param userId
349
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
350
+ * @param endDate end date. ISO 8601
351
+ * @param format Format
352
+ *
353
+ * * `json` - json
354
+ * @param includeMainPlatform Include main platform data
355
+ * @param startDate start date. ISO 8601
356
+ * @returns PerLearnerTimeSpentInCourseTree
357
+ * @throws ApiError
358
+ */
359
+ public static engagementOrgsCoursesTimeUsersDetailRetrieve(
360
+ courseId: string,
361
+ org: string,
362
+ userId: string,
363
+ departmentId?: number,
364
+ endDate?: string,
365
+ format: 'json' = 'json',
366
+ includeMainPlatform: boolean = true,
367
+ startDate?: string,
368
+ ): CancelablePromise<PerLearnerTimeSpentInCourseTree> {
369
+ return __request(OpenAPI, {
370
+ method: 'GET',
371
+ url: '/api/engagement/orgs/{org}/courses/{course_id}/time/users/{user_id}/detail',
372
+ path: {
373
+ 'course_id': courseId,
374
+ 'org': org,
375
+ 'user_id': userId,
376
+ },
377
+ query: {
378
+ 'department_id': departmentId,
379
+ 'end_date': endDate,
380
+ 'format': format,
381
+ 'include_main_platform': includeMainPlatform,
382
+ 'start_date': startDate,
383
+ },
384
+ });
385
+ }
386
+ /**
387
+ * Time spent in secs on a per-day basis
388
+ *
389
+ * Query Params
390
+ * 1. course_id <optional> e.g course-v1:Org+Course4+Run
391
+ * 2. user_id <optional> e.g developer@ibleducation.com or dev123 (username|email)
392
+ * 3. start_date e.g 2020-10-01
393
+ * 4. end_date e.g 2020-10-10
394
+ *
395
+ * Default result when no query param is added is last_7_days (today inclusive)
396
+ * @param courseId
397
+ * @param org
398
+ * @param userId
399
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
400
+ * @param endDate end date. ISO 8601
401
+ * @param format Format
402
+ *
403
+ * * `json` - json
404
+ * @param includeMainPlatform Include main platform data
405
+ * @param startDate start date. ISO 8601
406
+ * @returns OverTimeWithTotal
407
+ * @throws ApiError
408
+ */
409
+ public static engagementOrgsCoursesTimeUsersOverTimeRetrieve(
410
+ courseId: string,
411
+ org: string,
412
+ userId: string,
413
+ departmentId?: number,
414
+ endDate?: string,
415
+ format: 'json' = 'json',
416
+ includeMainPlatform: boolean = true,
417
+ startDate?: string,
418
+ ): CancelablePromise<OverTimeWithTotal> {
419
+ return __request(OpenAPI, {
420
+ method: 'GET',
421
+ url: '/api/engagement/orgs/{org}/courses/{course_id}/time/users/{user_id}/over-time',
422
+ path: {
423
+ 'course_id': courseId,
424
+ 'org': org,
425
+ 'user_id': userId,
426
+ },
427
+ query: {
428
+ 'department_id': departmentId,
429
+ 'end_date': endDate,
430
+ 'format': format,
431
+ 'include_main_platform': includeMainPlatform,
432
+ 'start_date': startDate,
433
+ },
434
+ });
435
+ }
436
+ /**
437
+ * Get video engagement metrics for a specific course.
438
+ *
439
+ * This endpoint provides detailed video engagement statistics for a single course,
440
+ * including view counts, completion rates, and time spent on videos.
441
+ *
442
+ * Query Parameters:
443
+ * course_id (str): The course ID to get video engagement data for
444
+ *
445
+ * Returns:
446
+ * Detailed video engagement metrics for the specified course.
447
+ * @param courseId
448
+ * @param org
449
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
450
+ * @param format Format
451
+ *
452
+ * * `json` - json
453
+ * @param includeMainPlatform Include main platform data
454
+ * @returns VideosSpecificCourse
455
+ * @throws ApiError
456
+ */
457
+ public static engagementOrgsCoursesVideosRetrieve(
458
+ courseId: string,
459
+ org: string,
460
+ departmentId?: number,
461
+ format: 'json' = 'json',
462
+ includeMainPlatform: boolean = true,
463
+ ): CancelablePromise<VideosSpecificCourse> {
464
+ return __request(OpenAPI, {
465
+ method: 'GET',
466
+ url: '/api/engagement/orgs/{org}/courses/{course_id}/videos/',
467
+ path: {
468
+ 'course_id': courseId,
469
+ 'org': org,
470
+ },
471
+ query: {
472
+ 'department_id': departmentId,
473
+ 'format': format,
474
+ 'include_main_platform': includeMainPlatform,
475
+ },
476
+ });
477
+ }
478
+ /**
479
+ * Get video watch counts over time.
480
+ *
481
+ * This endpoint provides daily counts of videos watched over a specified time period,
482
+ * with options to filter by course or user.
483
+ *
484
+ * Query Parameters:
485
+ * start_date (str, optional): Start date for the time range (ISO format)
486
+ * end_date (str, optional): End date for the time range (ISO format)
487
+ * course_id (str, optional): Filter by course ID
488
+ * user_id (str, optional): Filter by username or email
489
+ *
490
+ * Returns:
491
+ * Daily video watch counts over the specified time period.
492
+ *
493
+ * Default time range is the last 7 days if no dates are specified.
494
+ *
495
+ * Access Control:
496
+ * - Platform admins can access any video watch data
497
+ * - Learners can access their own video watch data
498
+ * @param courseId
499
+ * @param org
500
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
501
+ * @param endDate end date. ISO 8601
502
+ * @param format Format
503
+ *
504
+ * * `json` - json
505
+ * @param includeMainPlatform Include main platform data
506
+ * @param startDate start date. ISO 8601
507
+ * @returns OverTimeWithTotal
508
+ * @throws ApiError
509
+ */
510
+ public static engagementOrgsCoursesVideosOverTimeRetrieve(
511
+ courseId: string,
512
+ org: string,
513
+ departmentId?: number,
514
+ endDate?: string,
515
+ format: 'json' = 'json',
516
+ includeMainPlatform: boolean = true,
517
+ startDate?: string,
518
+ ): CancelablePromise<OverTimeWithTotal> {
519
+ return __request(OpenAPI, {
520
+ method: 'GET',
521
+ url: '/api/engagement/orgs/{org}/courses/{course_id}/videos/over-time',
522
+ path: {
523
+ 'course_id': courseId,
524
+ 'org': org,
525
+ },
526
+ query: {
527
+ 'department_id': departmentId,
528
+ 'end_date': endDate,
529
+ 'format': format,
530
+ 'include_main_platform': includeMainPlatform,
531
+ 'start_date': startDate,
532
+ },
533
+ });
534
+ }
535
+ /**
536
+ * Get a summary of video watch statistics for a specific course.
537
+ *
538
+ * This endpoint provides a structured summary of video watch data for a course,
539
+ * organized in a tree-like format by course sections and subsections.
540
+ *
541
+ * Query Parameters:
542
+ * course_id (str): The course ID to get video summary for
543
+ *
544
+ * Returns:
545
+ * A hierarchical structure of video watch data for the course, including:
546
+ * - Section and subsection organization
547
+ * - Video identification and metadata
548
+ * - Watch counts and completion rates
549
+ * @param courseId
550
+ * @param org
551
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
552
+ * @param format Format
553
+ *
554
+ * * `json` - json
555
+ * @param includeMainPlatform Include main platform data
556
+ * @returns VideosInCourseSummary
557
+ * @throws ApiError
558
+ */
559
+ public static engagementOrgsCoursesVideosSummaryRetrieve(
560
+ courseId: string,
561
+ org: string,
562
+ departmentId?: number,
563
+ format: 'json' = 'json',
564
+ includeMainPlatform: boolean = true,
565
+ ): CancelablePromise<VideosInCourseSummary> {
566
+ return __request(OpenAPI, {
567
+ method: 'GET',
568
+ url: '/api/engagement/orgs/{org}/courses/{course_id}/videos/summary',
569
+ path: {
570
+ 'course_id': courseId,
571
+ 'org': org,
572
+ },
573
+ query: {
574
+ 'department_id': departmentId,
575
+ 'format': format,
576
+ 'include_main_platform': includeMainPlatform,
577
+ },
578
+ });
579
+ }
580
+ /**
581
+ * List of users' videos completed records for a specific course
582
+ *
583
+ * Kwargs
584
+ * course_id e.g course-v1:Org+Course4+Run
585
+ * @param courseId
586
+ * @param org
587
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
588
+ * @param format Format
589
+ *
590
+ * * `json` - json
591
+ * @param includeMainPlatform Include main platform data
592
+ * @returns WatchedVideosPerUser
593
+ * @throws ApiError
594
+ */
595
+ public static engagementOrgsCoursesVideosUsersRetrieve(
596
+ courseId: string,
597
+ org: string,
598
+ departmentId?: number,
599
+ format: 'json' = 'json',
600
+ includeMainPlatform: boolean = true,
601
+ ): CancelablePromise<WatchedVideosPerUser> {
602
+ return __request(OpenAPI, {
603
+ method: 'GET',
604
+ url: '/api/engagement/orgs/{org}/courses/{course_id}/videos/users',
605
+ path: {
606
+ 'course_id': courseId,
607
+ 'org': org,
608
+ },
609
+ query: {
610
+ 'department_id': departmentId,
611
+ 'format': format,
612
+ 'include_main_platform': includeMainPlatform,
613
+ },
614
+ });
615
+ }
616
+ /**
617
+ * Average time spent by a learner in enrolled courses. Gives a rough estimate of whats the average time
618
+ * that would be spent by a learner in a course
619
+ *
620
+ * Query Params
621
+ * 1. start_date e.g 2020-10-01
622
+ * 2. end_date e.g 2020-10-10
623
+ * @param org
624
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
625
+ * @param endDate end date. ISO 8601
626
+ * @param format Format
627
+ *
628
+ * * `json` - json
629
+ * @param includeMainPlatform Include main platform data
630
+ * @param startDate start date. ISO 8601
631
+ * @returns AverageOvertime
632
+ * @throws ApiError
633
+ */
634
+ public static engagementOrgsTimeAveragePerlearnerPercourseRetrieve(
635
+ org: string,
636
+ departmentId?: number,
637
+ endDate?: string,
638
+ format: 'json' = 'json',
639
+ includeMainPlatform: boolean = true,
640
+ startDate?: string,
641
+ ): CancelablePromise<AverageOvertime> {
642
+ return __request(OpenAPI, {
643
+ method: 'GET',
644
+ url: '/api/engagement/orgs/{org}/time/average-perlearner-percourse',
645
+ path: {
646
+ 'org': org,
647
+ },
648
+ query: {
649
+ 'department_id': departmentId,
650
+ 'end_date': endDate,
651
+ 'format': format,
652
+ 'include_main_platform': includeMainPlatform,
653
+ 'start_date': startDate,
654
+ },
655
+ });
656
+ }
657
+ /**
658
+ * Average time spent in secs on a per-day basis
659
+ *
660
+ * Query Params
661
+ * 1. start_date e.g 2020-10-01
662
+ * 2. end_date e.g 2020-10-10
663
+ * 3. course_id <optional>
664
+ *
665
+ * Default result when no query param is added is last_7_days (today inclusive)
666
+ * @param org
667
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
668
+ * @param endDate end date. ISO 8601
669
+ * @param format Format
670
+ *
671
+ * * `json` - json
672
+ * @param includeMainPlatform Include main platform data
673
+ * @param startDate start date. ISO 8601
674
+ * @returns AverageOvertime
675
+ * @throws ApiError
676
+ */
677
+ public static engagementOrgsTimeAverageWithOverTimeRetrieve(
678
+ org: string,
679
+ departmentId?: number,
680
+ endDate?: string,
681
+ format: 'json' = 'json',
682
+ includeMainPlatform: boolean = true,
683
+ startDate?: string,
684
+ ): CancelablePromise<AverageOvertime> {
685
+ return __request(OpenAPI, {
686
+ method: 'GET',
687
+ url: '/api/engagement/orgs/{org}/time/average-with-over-time',
688
+ path: {
689
+ 'org': org,
690
+ },
691
+ query: {
692
+ 'department_id': departmentId,
693
+ 'end_date': endDate,
694
+ 'format': format,
695
+ 'include_main_platform': includeMainPlatform,
696
+ 'start_date': startDate,
697
+ },
698
+ });
699
+ }
700
+ /**
701
+ * Get time spent on the platform over time.
702
+ *
703
+ * This endpoint provides daily time spent values (in seconds) across the
704
+ * platform over a specified time period.
705
+ *
706
+ * Query Parameters:
707
+ * start_date (str, optional): Start date for the time range (ISO format)
708
+ * end_date (str, optional): End date for the time range (ISO format)
709
+ *
710
+ * Returns:
711
+ * Daily time spent values over the specified time period, with change metrics
712
+ * compared to previous periods.
713
+ *
714
+ * Default time range is the last 7 days if no dates are specified.
715
+ * @param org
716
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
717
+ * @param endDate end date. ISO 8601
718
+ * @param format Format
719
+ *
720
+ * * `json` - json
721
+ * @param includeMainPlatform Include main platform data
722
+ * @param startDate start date. ISO 8601
723
+ * @returns OvertimeWithChangeInfo
724
+ * @throws ApiError
725
+ */
726
+ public static engagementOrgsTimeOverTimeRetrieve(
727
+ org: string,
728
+ departmentId?: number,
729
+ endDate?: string,
730
+ format: 'json' = 'json',
731
+ includeMainPlatform: boolean = true,
732
+ startDate?: string,
733
+ ): CancelablePromise<OvertimeWithChangeInfo> {
734
+ return __request(OpenAPI, {
735
+ method: 'GET',
736
+ url: '/api/engagement/orgs/{org}/time/over-time',
737
+ path: {
738
+ 'org': org,
739
+ },
740
+ query: {
741
+ 'department_id': departmentId,
742
+ 'end_date': endDate,
743
+ 'format': format,
744
+ 'include_main_platform': includeMainPlatform,
745
+ 'start_date': startDate,
746
+ },
747
+ });
748
+ }
749
+ /**
750
+ * Get time spent statistics on a per-course basis.
751
+ *
752
+ * This endpoint provides a paginated list of courses with the total time
753
+ * spent by users in each course.
754
+ *
755
+ * Query Parameters:
756
+ * start_date (str, optional): Start date for filtering (ISO format)
757
+ * end_date (str, optional): End date for filtering (ISO format)
758
+ * page (int, optional): Page number for pagination
759
+ * length (int, optional): Number of items per page
760
+ *
761
+ * Returns:
762
+ * A paginated list of courses with:
763
+ * - Course identification (ID and name)
764
+ * - Total time spent (in seconds)
765
+ * - Formatted time spent (human-readable)
766
+ * - Percentage of total platform time
767
+ * @param org
768
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
769
+ * @param endDate end date. ISO 8601
770
+ * @param format Format
771
+ *
772
+ * * `json` - json
773
+ * @param includeMainPlatform Include main platform data
774
+ * @param length Size of data to return
775
+ * @param page Page offset
776
+ * @param startDate start date. ISO 8601
777
+ * @returns TimeSpentPerCourse
778
+ * @throws ApiError
779
+ */
780
+ public static engagementOrgsTimePerCourseRetrieve(
781
+ org: string,
782
+ departmentId?: number,
783
+ endDate?: string,
784
+ format: 'json' = 'json',
785
+ includeMainPlatform: boolean = true,
786
+ length?: number,
787
+ page?: number,
788
+ startDate?: string,
789
+ ): CancelablePromise<TimeSpentPerCourse> {
790
+ return __request(OpenAPI, {
791
+ method: 'GET',
792
+ url: '/api/engagement/orgs/{org}/time/per-course',
793
+ path: {
794
+ 'org': org,
795
+ },
796
+ query: {
797
+ 'department_id': departmentId,
798
+ 'end_date': endDate,
799
+ 'format': format,
800
+ 'include_main_platform': includeMainPlatform,
801
+ 'length': length,
802
+ 'page': page,
803
+ 'start_date': startDate,
804
+ },
805
+ });
806
+ }
807
+ /**
808
+ * Get video engagement metrics on a per-course basis.
809
+ *
810
+ * This endpoint provides a paginated list of courses with video engagement metrics
811
+ * including view counts, completion rates, and time spent on videos.
812
+ *
813
+ * Query Parameters:
814
+ * page (int, optional): Page number for pagination
815
+ * length (int, optional): Number of items per page
816
+ *
817
+ * Returns:
818
+ * A paginated list of courses with their video engagement metrics.
819
+ * @param org
820
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
821
+ * @param format Format
822
+ *
823
+ * * `json` - json
824
+ * @param includeMainPlatform Include main platform data
825
+ * @param length Size of data to return
826
+ * @param page Page offset
827
+ * @returns VideoEngagementPerCourse
828
+ * @throws ApiError
829
+ */
830
+ public static engagementOrgsVideosRetrieve(
831
+ org: string,
832
+ departmentId?: number,
833
+ format: 'json' = 'json',
834
+ includeMainPlatform: boolean = true,
835
+ length?: number,
836
+ page?: number,
837
+ ): CancelablePromise<VideoEngagementPerCourse> {
838
+ return __request(OpenAPI, {
839
+ method: 'GET',
840
+ url: '/api/engagement/orgs/{org}/videos/',
841
+ path: {
842
+ 'org': org,
843
+ },
844
+ query: {
845
+ 'department_id': departmentId,
846
+ 'format': format,
847
+ 'include_main_platform': includeMainPlatform,
848
+ 'length': length,
849
+ 'page': page,
850
+ },
851
+ });
852
+ }
853
+ /**
854
+ * Get video watch counts over time.
855
+ *
856
+ * This endpoint provides daily counts of videos watched over a specified time period,
857
+ * with options to filter by course or user.
858
+ *
859
+ * Query Parameters:
860
+ * start_date (str, optional): Start date for the time range (ISO format)
861
+ * end_date (str, optional): End date for the time range (ISO format)
862
+ * course_id (str, optional): Filter by course ID
863
+ * user_id (str, optional): Filter by username or email
864
+ *
865
+ * Returns:
866
+ * Daily video watch counts over the specified time period.
867
+ *
868
+ * Default time range is the last 7 days if no dates are specified.
869
+ *
870
+ * Access Control:
871
+ * - Platform admins can access any video watch data
872
+ * - Learners can access their own video watch data
873
+ * @param org
874
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
875
+ * @param endDate end date. ISO 8601
876
+ * @param format Format
877
+ *
878
+ * * `json` - json
879
+ * @param includeMainPlatform Include main platform data
880
+ * @param startDate start date. ISO 8601
881
+ * @returns OverTimeWithTotal
882
+ * @throws ApiError
883
+ */
884
+ public static engagementOrgsVideosOverTimeRetrieve(
885
+ org: string,
886
+ departmentId?: number,
887
+ endDate?: string,
888
+ format: 'json' = 'json',
889
+ includeMainPlatform: boolean = true,
890
+ startDate?: string,
891
+ ): CancelablePromise<OverTimeWithTotal> {
892
+ return __request(OpenAPI, {
893
+ method: 'GET',
894
+ url: '/api/engagement/orgs/{org}/videos/over-time',
895
+ path: {
896
+ 'org': org,
897
+ },
898
+ query: {
899
+ 'department_id': departmentId,
900
+ 'end_date': endDate,
901
+ 'format': format,
902
+ 'include_main_platform': includeMainPlatform,
903
+ 'start_date': startDate,
904
+ },
905
+ });
906
+ }
907
+ }