@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,377 @@
1
+ import type { DesiredSkill } from '../models/DesiredSkill';
2
+ import type { PatchedSkillThreshold } from '../models/PatchedSkillThreshold';
3
+ import type { PointsPercentile } from '../models/PointsPercentile';
4
+ import type { ReportedSkill } from '../models/ReportedSkill';
5
+ import type { SkillDetail } from '../models/SkillDetail';
6
+ import type { SkillInfo } from '../models/SkillInfo';
7
+ import type { SkillThreshold } from '../models/SkillThreshold';
8
+ import type { UserSkill } from '../models/UserSkill';
9
+ import type { UserSkillPointsPercentile } from '../models/UserSkillPointsPercentile';
10
+ import type { CancelablePromise } from '../core/CancelablePromise';
11
+ export declare class SkillsService {
12
+ /**
13
+ * List all available skills on the platform.
14
+ *
15
+ * This endpoint returns information about all skills that can be
16
+ * acquired on the platform.
17
+ *
18
+ * Path Parameters:
19
+ * org (str): The platform/organization identifier
20
+ *
21
+ * Returns:
22
+ * A list of all skills with basic information about each skill.
23
+ *
24
+ * Access Control:
25
+ * - Platform admins can access this information
26
+ * - All authenticated users can access this information
27
+ * @param org
28
+ * @returns SkillInfo
29
+ * @throws ApiError
30
+ */
31
+ static skillsOrgsSkillsList(org: string): CancelablePromise<Array<SkillInfo>>;
32
+ /**
33
+ * Retrieve percentile distribution for a specific skill.
34
+ *
35
+ * This endpoint returns the percentile distribution of points earned
36
+ * by users for a specific skill.
37
+ *
38
+ * Path Parameters:
39
+ * skill_id (int): The ID of the skill to retrieve percentile information for
40
+ * org (str, optional): The platform/organization identifier to filter results
41
+ *
42
+ * Returns:
43
+ * A list of percentile breakpoints for the specified skill.
44
+ *
45
+ * Error Responses:
46
+ * 404 Not Found: If the specified skill doesn't exist
47
+ *
48
+ * Access Control:
49
+ * - Platform admins can access this information
50
+ * - All authenticated users can access this information
51
+ * @param org
52
+ * @param skillId
53
+ * @returns PointsPercentile
54
+ * @throws ApiError
55
+ */
56
+ static skillsOrgsSkillsPercentileRetrieve(org: string, skillId: number): CancelablePromise<PointsPercentile>;
57
+ /**
58
+ * Retrieve detailed information about a specific skill.
59
+ *
60
+ * This endpoint returns comprehensive information about a specific skill,
61
+ * including its description, categories, and related courses.
62
+ *
63
+ * Path Parameters:
64
+ * org (str): The platform/organization identifier
65
+ * skill_name (str): The name of the skill to retrieve details for
66
+ *
67
+ * Returns:
68
+ * Detailed information about the specified skill.
69
+ *
70
+ * Error Responses:
71
+ * 404 Not Found: If the specified skill doesn't exist
72
+ *
73
+ * Access Control:
74
+ * - Platform admins can access this information
75
+ * - All authenticated users can access this information
76
+ * @param org
77
+ * @param skillName
78
+ * @returns SkillDetail
79
+ * @throws ApiError
80
+ */
81
+ static skillsOrgsSkillsRetrieve(org: string, skillName: string): CancelablePromise<SkillDetail>;
82
+ /**
83
+ * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
84
+ * @param org
85
+ * @returns PointsPercentile
86
+ * @throws ApiError
87
+ */
88
+ static skillsOrgsSkillsPercentileList(org: string): CancelablePromise<Array<PointsPercentile>>;
89
+ /**
90
+ * Manage skill thresholds for a platform.
91
+ *
92
+ * This endpoint allows platform administrators to view, create, update, and delete
93
+ * skill thresholds. Skill thresholds define the minimum points required to consider
94
+ * a skill as acquired or mastered.
95
+ *
96
+ * Path Parameters:
97
+ * org (str): The platform/organization identifier
98
+ *
99
+ * Methods:
100
+ * GET: Retrieve all skill thresholds for the platform
101
+ * POST: Create a new skill threshold
102
+ * PATCH: Update an existing skill threshold
103
+ * DELETE: Delete all skill thresholds for the platform
104
+ *
105
+ * Request Body (POST):
106
+ * name (str, required): The name of the threshold level (e.g., "Beginner", "Intermediate")
107
+ * threshold (int, required): The minimum points required to reach this threshold
108
+ *
109
+ * Request Body (PATCH):
110
+ * name (str, required): The name of the existing threshold to update
111
+ * threshold (int, required): The new minimum points value for this threshold
112
+ *
113
+ * Returns:
114
+ * GET: A list of all skill thresholds for the platform
115
+ * POST/PATCH: The created or updated skill threshold with format:
116
+ * {
117
+ * "name": "threshold_name",
118
+ * "threshold": threshold_value
119
+ * }
120
+ * DELETE: No content (204)
121
+ *
122
+ * Error Responses:
123
+ * 400 Bad Request: If the request data is invalid or missing required fields
124
+ * 404 Not Found: If the specified platform doesn't exist or the threshold
125
+ * to update cannot be found
126
+ *
127
+ * Access Control:
128
+ * - Only platform administrators can access this endpoint
129
+ * @param org
130
+ * @returns SkillThreshold
131
+ * @throws ApiError
132
+ */
133
+ static skillsOrgsSkillsThresholdsRetrieve(org: string): CancelablePromise<SkillThreshold>;
134
+ /**
135
+ * Manage skill thresholds for a platform.
136
+ *
137
+ * This endpoint allows platform administrators to view, create, update, and delete
138
+ * skill thresholds. Skill thresholds define the minimum points required to consider
139
+ * a skill as acquired or mastered.
140
+ *
141
+ * Path Parameters:
142
+ * org (str): The platform/organization identifier
143
+ *
144
+ * Methods:
145
+ * GET: Retrieve all skill thresholds for the platform
146
+ * POST: Create a new skill threshold
147
+ * PATCH: Update an existing skill threshold
148
+ * DELETE: Delete all skill thresholds for the platform
149
+ *
150
+ * Request Body (POST):
151
+ * name (str, required): The name of the threshold level (e.g., "Beginner", "Intermediate")
152
+ * threshold (int, required): The minimum points required to reach this threshold
153
+ *
154
+ * Request Body (PATCH):
155
+ * name (str, required): The name of the existing threshold to update
156
+ * threshold (int, required): The new minimum points value for this threshold
157
+ *
158
+ * Returns:
159
+ * GET: A list of all skill thresholds for the platform
160
+ * POST/PATCH: The created or updated skill threshold with format:
161
+ * {
162
+ * "name": "threshold_name",
163
+ * "threshold": threshold_value
164
+ * }
165
+ * DELETE: No content (204)
166
+ *
167
+ * Error Responses:
168
+ * 400 Bad Request: If the request data is invalid or missing required fields
169
+ * 404 Not Found: If the specified platform doesn't exist or the threshold
170
+ * to update cannot be found
171
+ *
172
+ * Access Control:
173
+ * - Only platform administrators can access this endpoint
174
+ * @param org
175
+ * @param requestBody
176
+ * @returns SkillThreshold
177
+ * @throws ApiError
178
+ */
179
+ static skillsOrgsSkillsThresholdsCreate(org: string, requestBody: SkillThreshold): CancelablePromise<SkillThreshold>;
180
+ /**
181
+ * Manage skill thresholds for a platform.
182
+ *
183
+ * This endpoint allows platform administrators to view, create, update, and delete
184
+ * skill thresholds. Skill thresholds define the minimum points required to consider
185
+ * a skill as acquired or mastered.
186
+ *
187
+ * Path Parameters:
188
+ * org (str): The platform/organization identifier
189
+ *
190
+ * Methods:
191
+ * GET: Retrieve all skill thresholds for the platform
192
+ * POST: Create a new skill threshold
193
+ * PATCH: Update an existing skill threshold
194
+ * DELETE: Delete all skill thresholds for the platform
195
+ *
196
+ * Request Body (POST):
197
+ * name (str, required): The name of the threshold level (e.g., "Beginner", "Intermediate")
198
+ * threshold (int, required): The minimum points required to reach this threshold
199
+ *
200
+ * Request Body (PATCH):
201
+ * name (str, required): The name of the existing threshold to update
202
+ * threshold (int, required): The new minimum points value for this threshold
203
+ *
204
+ * Returns:
205
+ * GET: A list of all skill thresholds for the platform
206
+ * POST/PATCH: The created or updated skill threshold with format:
207
+ * {
208
+ * "name": "threshold_name",
209
+ * "threshold": threshold_value
210
+ * }
211
+ * DELETE: No content (204)
212
+ *
213
+ * Error Responses:
214
+ * 400 Bad Request: If the request data is invalid or missing required fields
215
+ * 404 Not Found: If the specified platform doesn't exist or the threshold
216
+ * to update cannot be found
217
+ *
218
+ * Access Control:
219
+ * - Only platform administrators can access this endpoint
220
+ * @param org
221
+ * @param requestBody
222
+ * @returns SkillThreshold
223
+ * @throws ApiError
224
+ */
225
+ static skillsOrgsSkillsThresholdsPartialUpdate(org: string, requestBody?: PatchedSkillThreshold): CancelablePromise<SkillThreshold>;
226
+ /**
227
+ * Manage skill thresholds for a platform.
228
+ *
229
+ * This endpoint allows platform administrators to view, create, update, and delete
230
+ * skill thresholds. Skill thresholds define the minimum points required to consider
231
+ * a skill as acquired or mastered.
232
+ *
233
+ * Path Parameters:
234
+ * org (str): The platform/organization identifier
235
+ *
236
+ * Methods:
237
+ * GET: Retrieve all skill thresholds for the platform
238
+ * POST: Create a new skill threshold
239
+ * PATCH: Update an existing skill threshold
240
+ * DELETE: Delete all skill thresholds for the platform
241
+ *
242
+ * Request Body (POST):
243
+ * name (str, required): The name of the threshold level (e.g., "Beginner", "Intermediate")
244
+ * threshold (int, required): The minimum points required to reach this threshold
245
+ *
246
+ * Request Body (PATCH):
247
+ * name (str, required): The name of the existing threshold to update
248
+ * threshold (int, required): The new minimum points value for this threshold
249
+ *
250
+ * Returns:
251
+ * GET: A list of all skill thresholds for the platform
252
+ * POST/PATCH: The created or updated skill threshold with format:
253
+ * {
254
+ * "name": "threshold_name",
255
+ * "threshold": threshold_value
256
+ * }
257
+ * DELETE: No content (204)
258
+ *
259
+ * Error Responses:
260
+ * 400 Bad Request: If the request data is invalid or missing required fields
261
+ * 404 Not Found: If the specified platform doesn't exist or the threshold
262
+ * to update cannot be found
263
+ *
264
+ * Access Control:
265
+ * - Only platform administrators can access this endpoint
266
+ * @param org
267
+ * @returns void
268
+ * @throws ApiError
269
+ */
270
+ static skillsOrgsSkillsThresholdsDestroy(org: string): CancelablePromise<void>;
271
+ /**
272
+ * Retrieve a user's skill information.
273
+ *
274
+ * This endpoint returns information about skills that a user has acquired
275
+ * through the platform. It can return all skills or filter by a specific skill.
276
+ *
277
+ * Path Parameters:
278
+ * org (str): The platform/organization identifier
279
+ * user_id (str): The username of the user to retrieve skill information for
280
+ *
281
+ * Query Parameters:
282
+ * skill_name (str, optional): Filter results to a specific skill
283
+ *
284
+ * Returns:
285
+ * When skill_name is provided:
286
+ * Details about the specific skill including points earned and percentile ranking
287
+ *
288
+ * When skill_name is not provided:
289
+ * A list of all skills the user has acquired with their points
290
+ *
291
+ * Access Control:
292
+ * - Platform admins can access any user's skill information
293
+ * - Users can access their own skill information
294
+ * @param org
295
+ * @param userId
296
+ * @returns UserSkill
297
+ * @throws ApiError
298
+ */
299
+ static skillsOrgsSkillsUsersRetrieve(org: string, userId: string): CancelablePromise<UserSkill>;
300
+ /**
301
+ * Retrieve a user's desired skills.
302
+ *
303
+ * This endpoint returns the skills that a user has indicated they want
304
+ * to develop or acquire through the platform.
305
+ *
306
+ * Path Parameters:
307
+ * org (str): The platform/organization identifier
308
+ * user_id (str): The username of the user to retrieve skill information for
309
+ *
310
+ * Returns:
311
+ * The user's desired skills information.
312
+ *
313
+ * Error Responses:
314
+ * 400 Bad Request: If the user doesn't exist in the platform or has no desired skills
315
+ * 404 Not Found: If the specified platform doesn't exist
316
+ *
317
+ * Access Control:
318
+ * - Platform admins can access any user's information
319
+ * - Users can access their own information
320
+ * @param org
321
+ * @param userId
322
+ * @returns DesiredSkill
323
+ * @throws ApiError
324
+ */
325
+ static skillsOrgsSkillsUsersDesiredSkillsRetrieve(org: string, userId: string): CancelablePromise<DesiredSkill>;
326
+ /**
327
+ * Retrieve a user's total skill points and percentile ranking.
328
+ *
329
+ * This endpoint returns the total skill points a user has earned across
330
+ * all skills and their percentile ranking compared to other users on the platform.
331
+ *
332
+ * Path Parameters:
333
+ * org (str): The platform/organization identifier
334
+ * user_id (str): The username of the user to retrieve information for
335
+ *
336
+ * Returns:
337
+ * The user's total skill points and percentile ranking information:
338
+ * - Username
339
+ * - Total points earned across all skills
340
+ * - Percentile ranking compared to other users
341
+ *
342
+ * Access Control:
343
+ * - Platform admins can access any user's information
344
+ * - Users can access their own information
345
+ * @param org
346
+ * @param userId
347
+ * @returns UserSkillPointsPercentile
348
+ * @throws ApiError
349
+ */
350
+ static skillsOrgsSkillsUsersPointPercentileRetrieve(org: string, userId: string): CancelablePromise<UserSkillPointsPercentile>;
351
+ /**
352
+ * Retrieve a user's self-reported skills.
353
+ *
354
+ * This endpoint returns the skills that a user has reported having
355
+ * prior to or outside of the platform learning experience.
356
+ *
357
+ * Path Parameters:
358
+ * org (str): The platform/organization identifier
359
+ * user_id (str): The username of the user to retrieve skill information for
360
+ *
361
+ * Returns:
362
+ * The user's self-reported skills information.
363
+ *
364
+ * Error Responses:
365
+ * 400 Bad Request: If the user doesn't exist in the platform or has no reported skills
366
+ * 404 Not Found: If the specified platform doesn't exist
367
+ *
368
+ * Access Control:
369
+ * - Platform admins can access any user's information
370
+ * - Users can access their own information
371
+ * @param org
372
+ * @param userId
373
+ * @returns ReportedSkill
374
+ * @throws ApiError
375
+ */
376
+ static skillsOrgsSkillsUsersReportedSkillsRetrieve(org: string, userId: string): CancelablePromise<ReportedSkill>;
377
+ }
@@ -0,0 +1,49 @@
1
+ import type { GroupList } from '../models/GroupList';
2
+ import type { CancelablePromise } from '../core/CancelablePromise';
3
+ export declare class UserGroupsService {
4
+ /**
5
+ * Get a list of user groups with metrics and filtering options.
6
+ *
7
+ * This endpoint provides a paginated list of user groups with aggregated metrics
8
+ * about learner performance, course completions, and skill acquisition.
9
+ *
10
+ * This endpoint uses DM token authentication and respects department-based
11
+ * access controls.
12
+ *
13
+ * Query Parameters:
14
+ * page (int, optional): Page number for pagination
15
+ * length (int, optional): Number of items per page
16
+ * program (str, optional): Filter by program
17
+ * pathway (str, optional): Filter by pathway
18
+ * groups (list, optional): Filter by group names
19
+ * location (str, optional): Filter by location
20
+ * is_enrolled (bool, optional): Filter for groups with enrolled users
21
+ * start_date (date, optional): Filter by learner join date (start range)
22
+ * end_date (date, optional): Filter by learner join date (end range)
23
+ *
24
+ * Returns:
25
+ * A paginated list of user groups with comprehensive metrics.
26
+ *
27
+ * Access Control:
28
+ * - Platform admins can see all groups
29
+ * - Department admins can only see groups in their departments
30
+ * @param key
31
+ * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
32
+ * @param endDate Filter by learners date_joined. Start date. ISO 8601
33
+ * @param format Format
34
+ *
35
+ * * `json` - json
36
+ * @param groups Groups search string. Single string or list of strings. e.g 'sample_group' or `['group', 'another group']`
37
+ * @param includeMainPlatform Include main platform data
38
+ * @param isEnrolled Filter for users who have at least an enrollment
39
+ * @param length Size of data to return
40
+ * @param location Location search string
41
+ * @param page Page offset
42
+ * @param pathway Pathway string
43
+ * @param program Program search string
44
+ * @param startDate Filter by learners date_joined. Start date. ISO 8601
45
+ * @returns GroupList
46
+ * @throws ApiError
47
+ */
48
+ static userGroupsOrgsRetrieve(key: string, departmentId?: number, endDate?: string, format?: 'json', groups?: Array<string>, includeMainPlatform?: boolean, isEnrolled?: boolean | null, length?: number, location?: string, page?: number, pathway?: string, program?: string, startDate?: string): CancelablePromise<GroupList>;
49
+ }
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@iblai/iblai-api",
3
+ "version": "3.34.5-core",
4
+ "main": "dist/index.cjs.js",
5
+ "module": "dist/index.esm.js",
6
+ "type": "module",
7
+ "scripts": {
8
+ "clean": "rm -rf dist",
9
+ "build": "npm run clean && rollup -c"
10
+ },
11
+ "types": "dist/types/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/index.esm.js",
15
+ "require": "./dist/index.cjs.js",
16
+ "types": "./dist/types/index.d.ts"
17
+ }
18
+ },
19
+ "keywords": [],
20
+ "author": "ibl.ai",
21
+ "license": "ISC",
22
+ "description": "",
23
+ "devDependencies": {
24
+ "@babel/preset-typescript": "^7.27.0",
25
+ "@rollup/plugin-babel": "^6.0.4",
26
+ "@rollup/plugin-commonjs": "^28.0.3",
27
+ "@rollup/plugin-json": "^6.1.0",
28
+ "@rollup/plugin-node-resolve": "^16.0.1",
29
+ "openapi-typescript-codegen": "^0.29.0",
30
+ "rollup": "^4.40.0",
31
+ "rollup-plugin-dts": "^6.2.1",
32
+ "rollup-plugin-peer-deps-external": "^2.2.4",
33
+ "rollup-plugin-typescript2": "^0.36.0",
34
+ "typescript": "^5.8.3"
35
+ },
36
+ "dependencies": {
37
+ "tslib": "^2.8.1"
38
+ }
39
+ }
@@ -0,0 +1,113 @@
1
+ /**
2
+ * rollup.config.js
3
+ */
4
+ import resolve from "@rollup/plugin-node-resolve";
5
+ import commonjs from "@rollup/plugin-commonjs";
6
+ import babel from "@rollup/plugin-babel";
7
+ import typescript from "rollup-plugin-typescript2";
8
+ import peerDepsExternal from "rollup-plugin-peer-deps-external";
9
+ import json from "@rollup/plugin-json";
10
+ import MagicString from "magic-string";
11
+ import { createFilter } from "@rollup/pluginutils";
12
+
13
+ const libraryName = "IblApi";
14
+
15
+ export default {
16
+ input: "src/index.ts",
17
+ output: [
18
+ {
19
+ file: "dist/index.esm.js",
20
+ format: "esm",
21
+ sourcemap: true,
22
+ },
23
+ {
24
+ file: "dist/index.cjs.js",
25
+ format: "cjs",
26
+ sourcemap: true,
27
+ },
28
+ {
29
+ file: "dist/index.umd.js",
30
+ format: "umd",
31
+ name: libraryName,
32
+ sourcemap: true,
33
+ globals: {
34
+ react: "React",
35
+ "react-dom": "ReactDOM",
36
+ },
37
+ },
38
+ ],
39
+ external: ["react", "react-dom"],
40
+ plugins: [
41
+ {
42
+ name: "ignore-broken-generated-enums",
43
+ load(id) {
44
+ if (id.includes("BlankEnum.ts")) {
45
+ return "export enum BlankEnum {}";
46
+ }
47
+ return null;
48
+ },
49
+ },
50
+ {
51
+ name: "remove-duplicate-userId",
52
+ transform(code, id) {
53
+ const filter = createFilter(["**/*.ts"], []);
54
+ if (!filter(id)) return null;
55
+
56
+ const userIdParamPattern =
57
+ /public static (\w+)\([\s\S]*?\): CancelablePromise<.*?> \{/g;
58
+ const matches = [...code.matchAll(userIdParamPattern)];
59
+ if (!matches.length) return null;
60
+
61
+ const s = new MagicString(code);
62
+
63
+ for (const match of matches) {
64
+ const startIndex = match.index;
65
+ const funcStart = code.indexOf("(", startIndex);
66
+ const funcEnd = code.indexOf(")", funcStart);
67
+ const paramList = code.slice(funcStart + 1, funcEnd);
68
+
69
+ const params = paramList.split(",").map((p) => p.trim());
70
+ const filteredParams = [];
71
+ const seen = new Set();
72
+
73
+ for (const param of params) {
74
+ const nameMatch = param.match(/^(\w+)/);
75
+ if (nameMatch) {
76
+ const paramName = nameMatch[1];
77
+ if (paramName === "userId") {
78
+ if (seen.has("userId")) continue;
79
+ seen.add("userId");
80
+ }
81
+ }
82
+ filteredParams.push(param);
83
+ }
84
+
85
+ if (params.length !== filteredParams.length) {
86
+ const newParamList = filteredParams.join(", ");
87
+ s.update(funcStart + 1, funcEnd, newParamList);
88
+ }
89
+ }
90
+
91
+ return {
92
+ code: s.toString(),
93
+ map: s.generateMap({ hires: true }),
94
+ };
95
+ },
96
+ },
97
+ peerDepsExternal(),
98
+ resolve(),
99
+ commonjs(),
100
+ json(),
101
+ typescript({
102
+ tsconfig: "./tsconfig.json",
103
+ check: false,
104
+ useTsconfigDeclarationDir: true,
105
+ }),
106
+ babel({
107
+ babelHelpers: "bundled",
108
+ extensions: [".ts", ".tsx"],
109
+ include: ["src/**/*"],
110
+ presets: [["@babel/preset-typescript", { comments: true }]],
111
+ }),
112
+ ],
113
+ };
@@ -0,0 +1,25 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ApiRequestOptions } from './ApiRequestOptions';
6
+ import type { ApiResult } from './ApiResult';
7
+
8
+ export class ApiError extends Error {
9
+ public readonly url: string;
10
+ public readonly status: number;
11
+ public readonly statusText: string;
12
+ public readonly body: any;
13
+ public readonly request: ApiRequestOptions;
14
+
15
+ constructor(request: ApiRequestOptions, response: ApiResult, message: string) {
16
+ super(message);
17
+
18
+ this.name = 'ApiError';
19
+ this.url = response.url;
20
+ this.status = response.status;
21
+ this.statusText = response.statusText;
22
+ this.body = response.body;
23
+ this.request = request;
24
+ }
25
+ }
@@ -0,0 +1,17 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type ApiRequestOptions = {
6
+ readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
7
+ readonly url: string;
8
+ readonly path?: Record<string, any>;
9
+ readonly cookies?: Record<string, any>;
10
+ readonly headers?: Record<string, any>;
11
+ readonly query?: Record<string, any>;
12
+ readonly formData?: Record<string, any>;
13
+ readonly body?: any;
14
+ readonly mediaType?: string;
15
+ readonly responseHeader?: string;
16
+ readonly errors?: Record<number, string>;
17
+ };
@@ -0,0 +1,11 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type ApiResult = {
6
+ readonly url: string;
7
+ readonly ok: boolean;
8
+ readonly status: number;
9
+ readonly statusText: string;
10
+ readonly body: any;
11
+ };