@iblai/iblai-api 0.0.2-core → 0.0.12-scan-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 (200) hide show
  1. package/dist/index.cjs.js +3800 -3143
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +3800 -3143
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +3800 -3143
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +27 -5
  8. package/dist/types/models/CatalogAutoIncrementResponse.d.ts +11 -11
  9. package/dist/types/models/CourseGroupSuggestionDetail.d.ts +2 -2
  10. package/dist/types/models/CourseInvitationDetail.d.ts +2 -2
  11. package/dist/types/models/CourseLicenseAssignmentDetail.d.ts +2 -2
  12. package/dist/types/models/CourseLicenseDetail.d.ts +4 -0
  13. package/dist/types/models/CourseLicenseGroupAssignmentDetail.d.ts +2 -2
  14. package/dist/types/models/CourseReviewPaginatedResponse.d.ts +18 -0
  15. package/dist/types/models/CourseReviewRequest.d.ts +37 -0
  16. package/dist/types/models/CourseReviewResponse.d.ts +40 -0
  17. package/dist/types/models/PaginatedAssertionsResponse.d.ts +21 -0
  18. package/dist/types/models/PaginatedCourseAccessRequest.d.ts +2 -2
  19. package/dist/types/models/PaginatedCourseGroupSuggestion.d.ts +2 -2
  20. package/dist/types/models/PaginatedCourseInvitation.d.ts +2 -2
  21. package/dist/types/models/PaginatedCourseLicense.d.ts +2 -2
  22. package/dist/types/models/PaginatedCourseLicenseAssignment.d.ts +2 -2
  23. package/dist/types/models/PaginatedCourseLicenseGroupAssignment.d.ts +2 -2
  24. package/dist/types/models/PaginatedCourseSuggestion.d.ts +2 -2
  25. package/dist/types/models/PaginatedPathwayGroupSuggestion.d.ts +2 -2
  26. package/dist/types/models/PaginatedPathwaySuggestion.d.ts +2 -2
  27. package/dist/types/models/PaginatedPlatformInvitation.d.ts +2 -2
  28. package/dist/types/models/PaginatedPlatformLicense.d.ts +2 -2
  29. package/dist/types/models/PaginatedProgramGroupSuggestion.d.ts +2 -2
  30. package/dist/types/models/PaginatedProgramInvitation.d.ts +2 -2
  31. package/dist/types/models/PaginatedProgramLicense.d.ts +2 -2
  32. package/dist/types/models/PaginatedProgramLicenseAssignment.d.ts +2 -2
  33. package/dist/types/models/PaginatedProgramLicenseGroupAssignment.d.ts +2 -2
  34. package/dist/types/models/PaginatedProgramSuggestion.d.ts +2 -2
  35. package/dist/types/models/PaginatedRbacGroupList.d.ts +7 -0
  36. package/dist/types/models/PaginatedRbacPolicyList.d.ts +7 -0
  37. package/dist/types/models/PaginatedRbacRoleList.d.ts +7 -0
  38. package/dist/types/models/PaginatedSkill.d.ts +7 -0
  39. package/dist/types/models/PaginatedUserLicense.d.ts +2 -2
  40. package/dist/types/models/PaginatedUserLicenseAssignment.d.ts +2 -2
  41. package/dist/types/models/PaginatedUserLicenseGroupAssignment.d.ts +2 -2
  42. package/dist/types/models/PatchedRbacGroup.d.ts +34 -0
  43. package/dist/types/models/PatchedRbacPolicy.d.ts +48 -0
  44. package/dist/types/models/PatchedRbacRole.d.ts +20 -0
  45. package/dist/types/models/PathwayGroupSuggestionDetail.d.ts +2 -2
  46. package/dist/types/models/PlatformInvitationDetail.d.ts +2 -2
  47. package/dist/types/models/PlatformSkillPointResponse.d.ts +2 -2
  48. package/dist/types/models/ProgramEnrollmentSearchResponse.d.ts +22 -0
  49. package/dist/types/models/ProgramLicenseAssignmentDetail.d.ts +4 -9
  50. package/dist/types/models/ProgramLicenseDetail.d.ts +6 -2
  51. package/dist/types/models/ProgramMetadataRequest.d.ts +29 -0
  52. package/dist/types/models/ProgramMetadataResponse.d.ts +29 -0
  53. package/dist/types/models/ProgramReview.d.ts +41 -0
  54. package/dist/types/models/ProgramReviewPaginatedResponse.d.ts +22 -0
  55. package/dist/types/models/ProgramReviewRequest.d.ts +37 -0
  56. package/dist/types/models/RbacBaseRole.d.ts +15 -0
  57. package/dist/types/models/RbacGroup.d.ts +34 -0
  58. package/dist/types/models/RbacPlatform.d.ts +14 -0
  59. package/dist/types/models/RbacPolicy.d.ts +48 -0
  60. package/dist/types/models/RbacPolicyGroup.d.ts +20 -0
  61. package/dist/types/models/RbacRole.d.ts +20 -0
  62. package/dist/types/models/RbacUser.d.ts +13 -0
  63. package/dist/types/models/StripeBillingPageIdentifierResponse.d.ts +9 -0
  64. package/dist/types/models/StripeContext.d.ts +7 -0
  65. package/dist/types/models/StripeNewUserTenantLaunchRequest.d.ts +20 -0
  66. package/dist/types/models/UserApp.d.ts +0 -2
  67. package/dist/types/models/UserLicenseAssignmentDetail.d.ts +1 -1
  68. package/dist/types/models/UserLicenseDetail.d.ts +5 -1
  69. package/dist/types/models/UserLicenseGroupAssignmentDetail.d.ts +2 -2
  70. package/dist/types/services/AnalyticsService.d.ts +42 -13
  71. package/dist/types/services/AudienceService.d.ts +345 -149
  72. package/dist/types/services/CareerService.d.ts +117 -90
  73. package/dist/types/services/CatalogService.d.ts +3799 -1430
  74. package/dist/types/services/CoreService.d.ts +452 -126
  75. package/dist/types/services/CredentialsService.d.ts +177 -141
  76. package/dist/types/services/DepartmentsService.d.ts +53 -16
  77. package/dist/types/services/EngagementService.d.ts +459 -179
  78. package/dist/types/services/FeaturesService.d.ts +16 -7
  79. package/dist/types/services/FinanceService.d.ts +49 -20
  80. package/dist/types/services/MediaResourcesService.d.ts +243 -67
  81. package/dist/types/services/NotificationBuilderService.d.ts +31 -17
  82. package/dist/types/services/NotificationService.d.ts +56 -49
  83. package/dist/types/services/OrgsService.d.ts +106 -77
  84. package/dist/types/services/OverviewService.d.ts +154 -55
  85. package/dist/types/services/PerformanceService.d.ts +132 -56
  86. package/dist/types/services/PerlearnerService.d.ts +431 -217
  87. package/dist/types/services/PlatformService.d.ts +221 -116
  88. package/dist/types/services/ProviderAssociationService.d.ts +3 -2
  89. package/dist/types/services/ProvidersService.d.ts +40 -18
  90. package/dist/types/services/ProvisionService.d.ts +3 -2
  91. package/dist/types/services/RecommendationsService.d.ts +3 -3
  92. package/dist/types/services/ReportsService.d.ts +22 -16
  93. package/dist/types/services/RolesService.d.ts +8 -6
  94. package/dist/types/services/SearchService.d.ts +305 -80
  95. package/dist/types/services/ServiceService.d.ts +89 -29
  96. package/dist/types/services/SkillsService.d.ts +40 -32
  97. package/dist/types/services/UserGroupsService.d.ts +53 -16
  98. package/package.json +3 -2
  99. package/src/core/OpenAPI.ts +1 -1
  100. package/src/index.ts +27 -5
  101. package/src/models/CatalogAutoIncrementResponse.ts +11 -11
  102. package/src/models/CourseGroupSuggestionDetail.ts +2 -2
  103. package/src/models/CourseInvitationDetail.ts +2 -2
  104. package/src/models/CourseLicenseAssignmentDetail.ts +2 -2
  105. package/src/models/CourseLicenseDetail.ts +4 -0
  106. package/src/models/CourseLicenseGroupAssignmentDetail.ts +2 -2
  107. package/src/models/CourseReviewPaginatedResponse.ts +23 -0
  108. package/src/models/CourseReviewRequest.ts +42 -0
  109. package/src/models/CourseReviewResponse.ts +45 -0
  110. package/src/models/PaginatedAssertionsResponse.ts +26 -0
  111. package/src/models/PaginatedCourseAccessRequest.ts +2 -2
  112. package/src/models/PaginatedCourseGroupSuggestion.ts +2 -2
  113. package/src/models/PaginatedCourseInvitation.ts +2 -2
  114. package/src/models/PaginatedCourseLicense.ts +2 -2
  115. package/src/models/PaginatedCourseLicenseAssignment.ts +2 -2
  116. package/src/models/PaginatedCourseLicenseGroupAssignment.ts +2 -2
  117. package/src/models/PaginatedCourseSuggestion.ts +2 -2
  118. package/src/models/PaginatedPathwayGroupSuggestion.ts +2 -2
  119. package/src/models/PaginatedPathwaySuggestion.ts +2 -2
  120. package/src/models/PaginatedPlatformInvitation.ts +2 -2
  121. package/src/models/PaginatedPlatformLicense.ts +2 -2
  122. package/src/models/PaginatedProgramGroupSuggestion.ts +2 -2
  123. package/src/models/PaginatedProgramInvitation.ts +2 -2
  124. package/src/models/PaginatedProgramLicense.ts +2 -2
  125. package/src/models/PaginatedProgramLicenseAssignment.ts +2 -2
  126. package/src/models/PaginatedProgramLicenseGroupAssignment.ts +2 -2
  127. package/src/models/PaginatedProgramSuggestion.ts +2 -2
  128. package/src/models/PaginatedRbacGroupList.ts +12 -0
  129. package/src/models/PaginatedRbacPolicyList.ts +12 -0
  130. package/src/models/PaginatedRbacRoleList.ts +12 -0
  131. package/src/models/PaginatedSkill.ts +12 -0
  132. package/src/models/PaginatedUserLicense.ts +2 -2
  133. package/src/models/PaginatedUserLicenseAssignment.ts +2 -2
  134. package/src/models/PaginatedUserLicenseGroupAssignment.ts +2 -2
  135. package/src/models/PatchedRbacGroup.ts +39 -0
  136. package/src/models/PatchedRbacPolicy.ts +53 -0
  137. package/src/models/PatchedRbacRole.ts +25 -0
  138. package/src/models/PathwayGroupSuggestionDetail.ts +2 -2
  139. package/src/models/PlatformInvitationDetail.ts +2 -2
  140. package/src/models/PlatformSkillPointResponse.ts +2 -2
  141. package/src/models/ProgramEnrollmentSearchResponse.ts +27 -0
  142. package/src/models/ProgramLicenseAssignmentDetail.ts +4 -9
  143. package/src/models/ProgramLicenseDetail.ts +6 -2
  144. package/src/models/ProgramMetadataRequest.ts +34 -0
  145. package/src/models/ProgramMetadataResponse.ts +34 -0
  146. package/src/models/ProgramReview.ts +46 -0
  147. package/src/models/ProgramReviewPaginatedResponse.ts +27 -0
  148. package/src/models/ProgramReviewRequest.ts +42 -0
  149. package/src/models/RbacBaseRole.ts +20 -0
  150. package/src/models/RbacGroup.ts +39 -0
  151. package/src/models/RbacPlatform.ts +19 -0
  152. package/src/models/RbacPolicy.ts +53 -0
  153. package/src/models/RbacPolicyGroup.ts +25 -0
  154. package/src/models/RbacRole.ts +25 -0
  155. package/src/models/RbacUser.ts +18 -0
  156. package/src/models/StripeBillingPageIdentifierResponse.ts +14 -0
  157. package/src/models/StripeContext.ts +12 -0
  158. package/src/models/StripeNewUserTenantLaunchRequest.ts +25 -0
  159. package/src/models/UserApp.ts +0 -2
  160. package/src/models/UserLicenseAssignmentDetail.ts +1 -1
  161. package/src/models/UserLicenseDetail.ts +5 -1
  162. package/src/models/UserLicenseGroupAssignmentDetail.ts +2 -2
  163. package/src/services/AnalyticsService.ts +45 -16
  164. package/src/services/AudienceService.ts +380 -184
  165. package/src/services/CareerService.ts +144 -117
  166. package/src/services/CatalogService.ts +6902 -4245
  167. package/src/services/CoreService.ts +782 -172
  168. package/src/services/CredentialsService.ts +257 -176
  169. package/src/services/DepartmentsService.ts +56 -19
  170. package/src/services/EngagementService.ts +528 -236
  171. package/src/services/FeaturesService.ts +19 -10
  172. package/src/services/FinanceService.ts +54 -25
  173. package/src/services/MediaResourcesService.ts +251 -75
  174. package/src/services/NotificationBuilderService.ts +36 -22
  175. package/src/services/NotificationService.ts +73 -61
  176. package/src/services/OrgsService.ts +135 -106
  177. package/src/services/OverviewService.ts +172 -73
  178. package/src/services/PerformanceService.ts +153 -77
  179. package/src/services/PerlearnerService.ts +591 -279
  180. package/src/services/PlatformService.ts +278 -157
  181. package/src/services/ProviderAssociationService.ts +4 -3
  182. package/src/services/ProvidersService.ts +58 -27
  183. package/src/services/ProvisionService.ts +4 -3
  184. package/src/services/RecommendationsService.ts +5 -4
  185. package/src/services/ReportsService.ts +28 -22
  186. package/src/services/RolesService.ts +10 -8
  187. package/src/services/SearchService.ts +323 -98
  188. package/src/services/ServiceService.ts +149 -39
  189. package/src/services/SkillsService.ts +56 -44
  190. package/src/services/UserGroupsService.ts +56 -19
  191. package/dist/types/models/BlockSkillPointInfoResponse.d.ts +0 -10
  192. package/dist/types/models/CourseCompletionCatalogResponse.d.ts +0 -11
  193. package/dist/types/models/CourseEligibilityCheckResponse.d.ts +0 -25
  194. package/dist/types/models/CourseSkillPointInfoResponse.d.ts +0 -10
  195. package/dist/types/models/UserSkillPointInfoResponse.d.ts +0 -10
  196. package/src/models/BlockSkillPointInfoResponse.ts +0 -15
  197. package/src/models/CourseCompletionCatalogResponse.ts +0 -16
  198. package/src/models/CourseEligibilityCheckResponse.ts +0 -30
  199. package/src/models/CourseSkillPointInfoResponse.ts +0 -15
  200. package/src/models/UserSkillPointInfoResponse.ts +0 -15
@@ -24,11 +24,12 @@ export declare class SkillsService {
24
24
  * Access Control:
25
25
  * - Platform admins can access this information
26
26
  * - All authenticated users can access this information
27
- * @param org
28
27
  * @returns SkillInfo
29
28
  * @throws ApiError
30
29
  */
31
- static skillsOrgsSkillsList(org: string): CancelablePromise<Array<SkillInfo>>;
30
+ static skillsOrgsSkillsList({ org, }: {
31
+ org: string;
32
+ }): CancelablePromise<Array<SkillInfo>>;
32
33
  /**
33
34
  * Retrieve percentile distribution for a specific skill.
34
35
  *
@@ -48,12 +49,13 @@ export declare class SkillsService {
48
49
  * Access Control:
49
50
  * - Platform admins can access this information
50
51
  * - All authenticated users can access this information
51
- * @param org
52
- * @param skillId
53
52
  * @returns PointsPercentile
54
53
  * @throws ApiError
55
54
  */
56
- static skillsOrgsSkillsPercentileRetrieve(org: string, skillId: number): CancelablePromise<PointsPercentile>;
55
+ static skillsOrgsSkillsPercentileRetrieve({ org, skillId, }: {
56
+ org: string;
57
+ skillId: number;
58
+ }): CancelablePromise<PointsPercentile>;
57
59
  /**
58
60
  * Retrieve detailed information about a specific skill.
59
61
  *
@@ -73,19 +75,21 @@ export declare class SkillsService {
73
75
  * Access Control:
74
76
  * - Platform admins can access this information
75
77
  * - All authenticated users can access this information
76
- * @param org
77
- * @param skillName
78
78
  * @returns SkillDetail
79
79
  * @throws ApiError
80
80
  */
81
- static skillsOrgsSkillsRetrieve(org: string, skillName: string): CancelablePromise<SkillDetail>;
81
+ static skillsOrgsSkillsRetrieve({ org, skillName, }: {
82
+ org: string;
83
+ skillName: string;
84
+ }): CancelablePromise<SkillDetail>;
82
85
  /**
83
86
  * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
84
- * @param org
85
87
  * @returns PointsPercentile
86
88
  * @throws ApiError
87
89
  */
88
- static skillsOrgsSkillsPercentileList(org: string): CancelablePromise<Array<PointsPercentile>>;
90
+ static skillsOrgsSkillsPercentileList({ org, }: {
91
+ org: string;
92
+ }): CancelablePromise<Array<PointsPercentile>>;
89
93
  /**
90
94
  * Manage skill thresholds for a platform.
91
95
  *
@@ -126,11 +130,12 @@ export declare class SkillsService {
126
130
  *
127
131
  * Access Control:
128
132
  * - Only platform administrators can access this endpoint
129
- * @param org
130
133
  * @returns SkillThreshold
131
134
  * @throws ApiError
132
135
  */
133
- static skillsOrgsSkillsThresholdsRetrieve(org: string): CancelablePromise<SkillThreshold>;
136
+ static skillsOrgsSkillsThresholdsRetrieve({ org, }: {
137
+ org: string;
138
+ }): CancelablePromise<SkillThreshold>;
134
139
  /**
135
140
  * Manage skill thresholds for a platform.
136
141
  *
@@ -171,12 +176,13 @@ export declare class SkillsService {
171
176
  *
172
177
  * Access Control:
173
178
  * - Only platform administrators can access this endpoint
174
- * @param org
175
- * @param requestBody
176
179
  * @returns SkillThreshold
177
180
  * @throws ApiError
178
181
  */
179
- static skillsOrgsSkillsThresholdsCreate(org: string, requestBody: SkillThreshold): CancelablePromise<SkillThreshold>;
182
+ static skillsOrgsSkillsThresholdsCreate({ org, requestBody, }: {
183
+ org: string;
184
+ requestBody: SkillThreshold;
185
+ }): CancelablePromise<SkillThreshold>;
180
186
  /**
181
187
  * Manage skill thresholds for a platform.
182
188
  *
@@ -217,12 +223,13 @@ export declare class SkillsService {
217
223
  *
218
224
  * Access Control:
219
225
  * - Only platform administrators can access this endpoint
220
- * @param org
221
- * @param requestBody
222
226
  * @returns SkillThreshold
223
227
  * @throws ApiError
224
228
  */
225
- static skillsOrgsSkillsThresholdsPartialUpdate(org: string, requestBody?: PatchedSkillThreshold): CancelablePromise<SkillThreshold>;
229
+ static skillsOrgsSkillsThresholdsPartialUpdate({ org, requestBody, }: {
230
+ org: string;
231
+ requestBody?: PatchedSkillThreshold;
232
+ }): CancelablePromise<SkillThreshold>;
226
233
  /**
227
234
  * Manage skill thresholds for a platform.
228
235
  *
@@ -263,11 +270,12 @@ export declare class SkillsService {
263
270
  *
264
271
  * Access Control:
265
272
  * - Only platform administrators can access this endpoint
266
- * @param org
267
273
  * @returns void
268
274
  * @throws ApiError
269
275
  */
270
- static skillsOrgsSkillsThresholdsDestroy(org: string): CancelablePromise<void>;
276
+ static skillsOrgsSkillsThresholdsDestroy({ org, }: {
277
+ org: string;
278
+ }): CancelablePromise<void>;
271
279
  /**
272
280
  * Retrieve a user's skill information.
273
281
  *
@@ -291,12 +299,12 @@ export declare class SkillsService {
291
299
  * Access Control:
292
300
  * - Platform admins can access any user's skill information
293
301
  * - Users can access their own skill information
294
- * @param org
295
- * @param userId
296
302
  * @returns UserSkill
297
303
  * @throws ApiError
298
304
  */
299
- static skillsOrgsSkillsUsersRetrieve(org: string, userId: string): CancelablePromise<UserSkill>;
305
+ static skillsOrgsSkillsUsersRetrieve({ org, userId, }: {
306
+ org: string;
307
+ }): CancelablePromise<UserSkill>;
300
308
  /**
301
309
  * Retrieve a user's desired skills.
302
310
  *
@@ -317,12 +325,12 @@ export declare class SkillsService {
317
325
  * Access Control:
318
326
  * - Platform admins can access any user's information
319
327
  * - Users can access their own information
320
- * @param org
321
- * @param userId
322
328
  * @returns DesiredSkill
323
329
  * @throws ApiError
324
330
  */
325
- static skillsOrgsSkillsUsersDesiredSkillsRetrieve(org: string, userId: string): CancelablePromise<DesiredSkill>;
331
+ static skillsOrgsSkillsUsersDesiredSkillsRetrieve({ org, userId, }: {
332
+ org: string;
333
+ }): CancelablePromise<DesiredSkill>;
326
334
  /**
327
335
  * Retrieve a user's total skill points and percentile ranking.
328
336
  *
@@ -342,12 +350,12 @@ export declare class SkillsService {
342
350
  * Access Control:
343
351
  * - Platform admins can access any user's information
344
352
  * - Users can access their own information
345
- * @param org
346
- * @param userId
347
353
  * @returns UserSkillPointsPercentile
348
354
  * @throws ApiError
349
355
  */
350
- static skillsOrgsSkillsUsersPointPercentileRetrieve(org: string, userId: string): CancelablePromise<UserSkillPointsPercentile>;
356
+ static skillsOrgsSkillsUsersPointPercentileRetrieve({ org, userId, }: {
357
+ org: string;
358
+ }): CancelablePromise<UserSkillPointsPercentile>;
351
359
  /**
352
360
  * Retrieve a user's self-reported skills.
353
361
  *
@@ -368,10 +376,10 @@ export declare class SkillsService {
368
376
  * Access Control:
369
377
  * - Platform admins can access any user's information
370
378
  * - Users can access their own information
371
- * @param org
372
- * @param userId
373
379
  * @returns ReportedSkill
374
380
  * @throws ApiError
375
381
  */
376
- static skillsOrgsSkillsUsersReportedSkillsRetrieve(org: string, userId: string): CancelablePromise<ReportedSkill>;
382
+ static skillsOrgsSkillsUsersReportedSkillsRetrieve({ org, userId, }: {
383
+ org: string;
384
+ }): CancelablePromise<ReportedSkill>;
377
385
  }
@@ -27,23 +27,60 @@ export declare class UserGroupsService {
27
27
  * Access Control:
28
28
  * - Platform admins can see all groups
29
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
30
  * @returns GroupList
46
31
  * @throws ApiError
47
32
  */
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>;
33
+ static userGroupsOrgsRetrieve({ key, departmentId, endDate, format, groups, includeMainPlatform, isEnrolled, length, location, page, pathway, program, startDate, }: {
34
+ key: string;
35
+ /**
36
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
37
+ */
38
+ departmentId?: number;
39
+ /**
40
+ * Filter by learners date_joined. Start date. ISO 8601
41
+ */
42
+ endDate?: string;
43
+ /**
44
+ * Format
45
+ *
46
+ * * `json` - json
47
+ */
48
+ format?: 'json';
49
+ /**
50
+ * Groups search string. Single string or list of strings. e.g 'sample_group' or `['group', 'another group']`
51
+ */
52
+ groups?: Array<string>;
53
+ /**
54
+ * Include main platform data
55
+ */
56
+ includeMainPlatform?: boolean;
57
+ /**
58
+ * Filter for users who have at least an enrollment
59
+ */
60
+ isEnrolled?: boolean | null;
61
+ /**
62
+ * Size of data to return
63
+ */
64
+ length?: number;
65
+ /**
66
+ * Location search string
67
+ */
68
+ location?: string;
69
+ /**
70
+ * Page offset
71
+ */
72
+ page?: number;
73
+ /**
74
+ * Pathway string
75
+ */
76
+ pathway?: string;
77
+ /**
78
+ * Program search string
79
+ */
80
+ program?: string;
81
+ /**
82
+ * Filter by learners date_joined. Start date. ISO 8601
83
+ */
84
+ startDate?: string;
85
+ }): CancelablePromise<GroupList>;
49
86
  }
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "0.0.2-core",
3
+ "version": "0.0.12-scan-core",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "clean": "rm -rf dist",
9
- "build": "npm run clean && rollup -c"
9
+ "build": "npm run clean && rollup -c",
10
+ "watch": "rollup -c -w"
10
11
  },
11
12
  "types": "dist/types/index.d.ts",
12
13
  "exports": {
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://base.manager.iblai.app',
24
- VERSION: '3.45.5-core',
24
+ VERSION: '3.52.0-core',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
package/src/index.ts CHANGED
@@ -36,7 +36,6 @@ export { BlankEnum } from './models/BlankEnum';
36
36
  export type { BlankPlatformInvitationCreate } from './models/BlankPlatformInvitationCreate';
37
37
  export type { BlankProgramInvitationCreate } from './models/BlankProgramInvitationCreate';
38
38
  export type { BlockSkillPointInfoRequest } from './models/BlockSkillPointInfoRequest';
39
- export type { BlockSkillPointInfoResponse } from './models/BlockSkillPointInfoResponse';
40
39
  export type { BulkCourseInvitationCreate } from './models/BulkCourseInvitationCreate';
41
40
  export type { BulkCourseInvitationResponse } from './models/BulkCourseInvitationResponse';
42
41
  export type { BulkCreateAssertion } from './models/BulkCreateAssertion';
@@ -63,14 +62,12 @@ export type { CourseAccessRequestDetail } from './models/CourseAccessRequestDeta
63
62
  export type { CourseAccessRequestStatusResponse } from './models/CourseAccessRequestStatusResponse';
64
63
  export type { CourseAccessRequestUpdate } from './models/CourseAccessRequestUpdate';
65
64
  export type { CourseCompletion } from './models/CourseCompletion';
66
- export type { CourseCompletionCatalogResponse } from './models/CourseCompletionCatalogResponse';
67
65
  export type { CourseCompletionPerCourse } from './models/CourseCompletionPerCourse';
68
66
  export type { CourseCompletionPerCourseData } from './models/CourseCompletionPerCourseData';
69
67
  export type { CourseCompletionSummaryDataOvertime } from './models/CourseCompletionSummaryDataOvertime';
70
68
  export type { CourseCompletionSummaryOvertime } from './models/CourseCompletionSummaryOvertime';
71
69
  export type { CourseCreateUpdate } from './models/CourseCreateUpdate';
72
70
  export type { CourseDeleteResponse } from './models/CourseDeleteResponse';
73
- export type { CourseEligibilityCheckResponse } from './models/CourseEligibilityCheckResponse';
74
71
  export type { CourseEnrollmentSearchResponse } from './models/CourseEnrollmentSearchResponse';
75
72
  export type { CourseGradeDetailBlock } from './models/CourseGradeDetailBlock';
76
73
  export type { CourseGradeDetailSubSection } from './models/CourseGradeDetailSubSection';
@@ -94,9 +91,11 @@ export type { CourseMetadataSearchRequest } from './models/CourseMetadataSearchR
94
91
  export type { CourseMetadataUpdateRequest } from './models/CourseMetadataUpdateRequest';
95
92
  export type { CoursePoint } from './models/CoursePoint';
96
93
  export type { CourseReviewInfoResponse } from './models/CourseReviewInfoResponse';
94
+ export type { CourseReviewPaginatedResponse } from './models/CourseReviewPaginatedResponse';
95
+ export type { CourseReviewRequest } from './models/CourseReviewRequest';
96
+ export type { CourseReviewResponse } from './models/CourseReviewResponse';
97
97
  export type { CourseSkill } from './models/CourseSkill';
98
98
  export type { CourseSkillPointInfoRequest } from './models/CourseSkillPointInfoRequest';
99
- export type { CourseSkillPointInfoResponse } from './models/CourseSkillPointInfoResponse';
100
99
  export type { CourseSuggestionBulkCreate } from './models/CourseSuggestionBulkCreate';
101
100
  export type { CourseSuggestionCreate } from './models/CourseSuggestionCreate';
102
101
  export type { CourseSuggestionDetail } from './models/CourseSuggestionDetail';
@@ -161,6 +160,7 @@ export type { OverTime } from './models/OverTime';
161
160
  export type { OvertimeMeta } from './models/OvertimeMeta';
162
161
  export type { OvertimeWithChangeInfo } from './models/OvertimeWithChangeInfo';
163
162
  export type { OverTimeWithTotal } from './models/OverTimeWithTotal';
163
+ export type { PaginatedAssertionsResponse } from './models/PaginatedAssertionsResponse';
164
164
  export type { PaginatedCourseAccessRequest } from './models/PaginatedCourseAccessRequest';
165
165
  export type { PaginatedCourseGroupSuggestion } from './models/PaginatedCourseGroupSuggestion';
166
166
  export type { PaginatedCourseInvitation } from './models/PaginatedCourseInvitation';
@@ -178,6 +178,10 @@ export type { PaginatedProgramLicense } from './models/PaginatedProgramLicense';
178
178
  export type { PaginatedProgramLicenseAssignment } from './models/PaginatedProgramLicenseAssignment';
179
179
  export type { PaginatedProgramLicenseGroupAssignment } from './models/PaginatedProgramLicenseGroupAssignment';
180
180
  export type { PaginatedProgramSuggestion } from './models/PaginatedProgramSuggestion';
181
+ export type { PaginatedRbacGroupList } from './models/PaginatedRbacGroupList';
182
+ export type { PaginatedRbacPolicyList } from './models/PaginatedRbacPolicyList';
183
+ export type { PaginatedRbacRoleList } from './models/PaginatedRbacRoleList';
184
+ export type { PaginatedSkill } from './models/PaginatedSkill';
181
185
  export type { PaginatedUserAppList } from './models/PaginatedUserAppList';
182
186
  export type { PaginatedUserLicense } from './models/PaginatedUserLicense';
183
187
  export type { PaginatedUserLicenseAssignment } from './models/PaginatedUserLicenseAssignment';
@@ -186,6 +190,9 @@ export type { Pagination } from './models/Pagination';
186
190
  export type { PatchedMediaResource } from './models/PatchedMediaResource';
187
191
  export type { PatchedNotification } from './models/PatchedNotification';
188
192
  export type { PatchedPlatformPublicMetadata } from './models/PatchedPlatformPublicMetadata';
193
+ export type { PatchedRbacGroup } from './models/PatchedRbacGroup';
194
+ export type { PatchedRbacPolicy } from './models/PatchedRbacPolicy';
195
+ export type { PatchedRbacRole } from './models/PatchedRbacRole';
189
196
  export type { PatchedSkillThreshold } from './models/PatchedSkillThreshold';
190
197
  export type { Pathway } from './models/Pathway';
191
198
  export type { PathwayCompletionResponse } from './models/PathwayCompletionResponse';
@@ -248,6 +255,7 @@ export type { ProgramCreateUpdateRequest } from './models/ProgramCreateUpdateReq
248
255
  export type { ProgramDeleteResponse } from './models/ProgramDeleteResponse';
249
256
  export type { ProgramEnrollment } from './models/ProgramEnrollment';
250
257
  export type { ProgramEnrollmentPlus } from './models/ProgramEnrollmentPlus';
258
+ export type { ProgramEnrollmentSearchResponse } from './models/ProgramEnrollmentSearchResponse';
251
259
  export type { ProgramGroupSuggestionCreate } from './models/ProgramGroupSuggestionCreate';
252
260
  export type { ProgramGroupSuggestionDetail } from './models/ProgramGroupSuggestionDetail';
253
261
  export type { ProgramInvitationCreate } from './models/ProgramInvitationCreate';
@@ -260,12 +268,24 @@ export type { ProgramLicenseDetail } from './models/ProgramLicenseDetail';
260
268
  export type { ProgramLicenseGroupAssignmentCreate } from './models/ProgramLicenseGroupAssignmentCreate';
261
269
  export type { ProgramLicenseGroupAssignmentDetail } from './models/ProgramLicenseGroupAssignmentDetail';
262
270
  export type { ProgramLicenseUpdateDetail } from './models/ProgramLicenseUpdateDetail';
271
+ export type { ProgramMetadataRequest } from './models/ProgramMetadataRequest';
272
+ export type { ProgramMetadataResponse } from './models/ProgramMetadataResponse';
273
+ export type { ProgramReview } from './models/ProgramReview';
263
274
  export type { ProgramReviewInfoResponse } from './models/ProgramReviewInfoResponse';
275
+ export type { ProgramReviewPaginatedResponse } from './models/ProgramReviewPaginatedResponse';
276
+ export type { ProgramReviewRequest } from './models/ProgramReviewRequest';
264
277
  export type { ProgramSearch } from './models/ProgramSearch';
265
278
  export type { ProgramSuggestionBulkCreate } from './models/ProgramSuggestionBulkCreate';
266
279
  export type { ProgramSuggestionCreate } from './models/ProgramSuggestionCreate';
267
280
  export type { ProgramSuggestionDetail } from './models/ProgramSuggestionDetail';
268
281
  export { ProgramTypeEnum } from './models/ProgramTypeEnum';
282
+ export type { RbacBaseRole } from './models/RbacBaseRole';
283
+ export type { RbacGroup } from './models/RbacGroup';
284
+ export type { RbacPlatform } from './models/RbacPlatform';
285
+ export type { RbacPolicy } from './models/RbacPolicy';
286
+ export type { RbacPolicyGroup } from './models/RbacPolicyGroup';
287
+ export type { RbacRole } from './models/RbacRole';
288
+ export type { RbacUser } from './models/RbacUser';
269
289
  export type { Recipient } from './models/Recipient';
270
290
  export type { RecommendationSearchAPI } from './models/RecommendationSearchAPI';
271
291
  export type { RedirectTokenRequest } from './models/RedirectTokenRequest';
@@ -296,11 +316,14 @@ export type { SkillDetail } from './models/SkillDetail';
296
316
  export type { SkillInfo } from './models/SkillInfo';
297
317
  export type { SkillThreshold } from './models/SkillThreshold';
298
318
  export { StateEnum } from './models/StateEnum';
319
+ export type { StripeBillingPageIdentifierResponse } from './models/StripeBillingPageIdentifierResponse';
299
320
  export type { StripeCheckoutSessionRequest } from './models/StripeCheckoutSessionRequest';
300
321
  export type { StripeCheckoutSessionResponse } from './models/StripeCheckoutSessionResponse';
322
+ export type { StripeContext } from './models/StripeContext';
301
323
  export type { StripeCustomerPortalRequest } from './models/StripeCustomerPortalRequest';
302
324
  export type { StripeCustomerPortalResponse } from './models/StripeCustomerPortalResponse';
303
325
  export type { StripeLocalProduct } from './models/StripeLocalProduct';
326
+ export type { StripeNewUserTenantLaunchRequest } from './models/StripeNewUserTenantLaunchRequest';
304
327
  export type { StripeSubscriptionRenewalRequest } from './models/StripeSubscriptionRenewalRequest';
305
328
  export type { StripeSubscriptionRenewalResponse } from './models/StripeSubscriptionRenewalResponse';
306
329
  export type { SubTimeChild } from './models/SubTimeChild';
@@ -348,7 +371,6 @@ export type { UserProxyPostResponse } from './models/UserProxyPostResponse';
348
371
  export type { UserSearchResponse } from './models/UserSearchResponse';
349
372
  export type { UserSearchViewGetResponse } from './models/UserSearchViewGetResponse';
350
373
  export type { UserSkill } from './models/UserSkill';
351
- export type { UserSkillPointInfoResponse } from './models/UserSkillPointInfoResponse';
352
374
  export type { UserSkillPointsPercentile } from './models/UserSkillPointsPercentile';
353
375
  export type { ValidateSourceResponse } from './models/ValidateSourceResponse';
354
376
  export type { Value } from './models/Value';
@@ -3,28 +3,28 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
  /**
6
- * Serializer for auto increment information response.
6
+ * Response serializer for CatalogAutoIncrementView GET endpoint.
7
7
  */
8
8
  export type CatalogAutoIncrementResponse = {
9
9
  /**
10
- * Platform key identifier
10
+ * Current course auto-increment number
11
11
  */
12
- platform_key: string;
12
+ course_number: number;
13
13
  /**
14
- * Platform organization identifier
14
+ * Current item auto-increment number
15
15
  */
16
- platform_org: string;
16
+ item_number?: number;
17
17
  /**
18
- * Current course number
18
+ * Current program auto-increment number
19
19
  */
20
- course_number: number;
20
+ program_number?: number;
21
21
  /**
22
- * Current program number
22
+ * Platform organization
23
23
  */
24
- program_number: number;
24
+ org: string;
25
25
  /**
26
- * Current pathway number
26
+ * Platform key
27
27
  */
28
- pathway_number: number;
28
+ key: string;
29
29
  };
30
30
 
@@ -25,7 +25,7 @@ export type CourseGroupSuggestionDetail = {
25
25
  /**
26
26
  * Whether the suggestion has been accepted
27
27
  */
28
- accepted: boolean;
28
+ accepted?: boolean;
29
29
  /**
30
30
  * Whether the suggestion is visible
31
31
  */
@@ -53,6 +53,6 @@ export type CourseGroupSuggestionDetail = {
53
53
  /**
54
54
  * Number of users in the group
55
55
  */
56
- user_count: number;
56
+ user_count?: number;
57
57
  };
58
58
 
@@ -13,7 +13,7 @@ export type CourseInvitationDetail = {
13
13
  /**
14
14
  * The ID of the user associated with the invitation
15
15
  */
16
- user_id: number | null;
16
+ user_id?: number | null;
17
17
  /**
18
18
  * The username of the user associated with the invitation
19
19
  */
@@ -25,7 +25,7 @@ export type CourseInvitationDetail = {
25
25
  /**
26
26
  * When the invitation was created
27
27
  */
28
- created: string;
28
+ created?: string;
29
29
  /**
30
30
  * When the invitation was started
31
31
  */
@@ -29,11 +29,11 @@ export type CourseLicenseAssignmentDetail = {
29
29
  /**
30
30
  * Whether the assignment has been fulfilled
31
31
  */
32
- fulfilled: boolean;
32
+ fulfilled?: boolean;
33
33
  /**
34
34
  * URL to redirect to after fulfillment
35
35
  */
36
- redirect_to: string | null;
36
+ redirect_to?: string | null;
37
37
  /**
38
38
  * Additional metadata for the assignment
39
39
  */
@@ -54,5 +54,9 @@ export type CourseLicenseDetail = {
54
54
  * The course ID associated with the license
55
55
  */
56
56
  course_id: string;
57
+ /**
58
+ * The number of seats purchased
59
+ */
60
+ usage_count?: number;
57
61
  };
58
62
 
@@ -25,11 +25,11 @@ export type CourseLicenseGroupAssignmentDetail = {
25
25
  /**
26
26
  * Whether the assignment has been fulfilled
27
27
  */
28
- fulfilled: boolean;
28
+ fulfilled?: boolean;
29
29
  /**
30
30
  * URL to redirect to after fulfillment
31
31
  */
32
- redirect_to: string | null;
32
+ redirect_to?: string | null;
33
33
  /**
34
34
  * Additional metadata for the assignment
35
35
  */
@@ -0,0 +1,23 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * Paginated response serializer for CourseReviewQueryView GET endpoint.
7
+ */
8
+ export type CourseReviewPaginatedResponse = {
9
+ /**
10
+ * Total number of reviews
11
+ */
12
+ count: number;
13
+ /**
14
+ * Next page number
15
+ */
16
+ next_page: number | null;
17
+ /**
18
+ * Previous page number
19
+ */
20
+ previous_page: number | null;
21
+ results: Array<Record<string, any>>;
22
+ };
23
+
@@ -0,0 +1,42 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * Request serializer for CourseReviewUpdateView POST endpoint.
7
+ */
8
+ export type CourseReviewRequest = {
9
+ /**
10
+ * The course ID to review
11
+ */
12
+ course_id: string;
13
+ /**
14
+ * The username of the reviewer
15
+ */
16
+ username: string;
17
+ /**
18
+ * The user ID of the reviewer (alternative to username)
19
+ */
20
+ user_id?: number;
21
+ /**
22
+ * The rating value (typically 1-5)
23
+ */
24
+ rating?: number | null;
25
+ /**
26
+ * The review title
27
+ */
28
+ title?: string;
29
+ /**
30
+ * The review content/text
31
+ */
32
+ content?: string;
33
+ /**
34
+ * Whether the review is visible
35
+ */
36
+ visible?: boolean;
37
+ /**
38
+ * Additional review metadata
39
+ */
40
+ metadata?: any;
41
+ };
42
+
@@ -0,0 +1,45 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * Response serializer for CourseReviewQueryView GET endpoint.
7
+ * Matches the actual structure returned by review.to_json()
8
+ */
9
+ export type CourseReviewResponse = {
10
+ /**
11
+ * User ID of the reviewer
12
+ */
13
+ user_id: number;
14
+ course_id?: string;
15
+ /**
16
+ * Username of the reviewer
17
+ */
18
+ username: string;
19
+ /**
20
+ * Review content
21
+ */
22
+ content: string;
23
+ /**
24
+ * Review rating
25
+ */
26
+ rating: number | null;
27
+ /**
28
+ * Review title
29
+ */
30
+ title: string;
31
+ /**
32
+ * Whether review is visible
33
+ */
34
+ visible: boolean;
35
+ /**
36
+ * Review creation date
37
+ */
38
+ created: string;
39
+ /**
40
+ * Review modification date
41
+ */
42
+ modified: string;
43
+ metadata: any;
44
+ };
45
+
@@ -0,0 +1,26 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { Assertion } from './Assertion';
6
+ /**
7
+ * {
8
+ * 'next': self.get_next_link(),
9
+ * 'previous': self.get_previous_link(),
10
+ * 'count': self.page.paginator.count,
11
+ * 'data': data,
12
+ * 'num_pages': self.page.paginator.num_pages,
13
+ * 'page_number': self.page.number,
14
+ * 'max_page_size': self.max_page_size
15
+ * }
16
+ */
17
+ export type PaginatedAssertionsResponse = {
18
+ next: string;
19
+ previous: string;
20
+ count: number;
21
+ num_pages: number;
22
+ page_number: number;
23
+ max_page_size: number;
24
+ data: Array<Assertion>;
25
+ };
26
+