@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
@@ -9,6 +9,7 @@ import type { Issuer } from '../models/Issuer';
9
9
  import type { IssuerAuthority } from '../models/IssuerAuthority';
10
10
  import type { OverTime } from '../models/OverTime';
11
11
  import type { OvertimeWithChangeInfo } from '../models/OvertimeWithChangeInfo';
12
+ import type { PaginatedAssertionsResponse } from '../models/PaginatedAssertionsResponse';
12
13
  import type { UploadedImage } from '../models/UploadedImage';
13
14
  import type { CancelablePromise } from '../core/CancelablePromise';
14
15
  import { OpenAPI } from '../core/OpenAPI';
@@ -24,15 +25,16 @@ export class CredentialsService {
24
25
  * - search: Search term to filter credentials
25
26
  * - course: Course ID to filter credentials
26
27
  * - program: Program ID to filter credentials
27
- * @param org
28
- * @param userId
29
28
  * @returns Credential
30
29
  * @throws ApiError
31
30
  */
32
- public static credentialsOrgsUsersRetrieve(
31
+ public static credentialsOrgsUsersRetrieve({
32
+ org,
33
+ userId,
34
+ }: {
33
35
  org: string,
34
36
  userId: string,
35
- ): CancelablePromise<Credential> {
37
+ }): CancelablePromise<Credential> {
36
38
  return __request(OpenAPI, {
37
39
  method: 'GET',
38
40
  url: '/api/credentials/orgs/{org}/users/{user_id}/',
@@ -119,17 +121,18 @@ export class CredentialsService {
119
121
  * Access Control:
120
122
  * - Requires CredentialAssignmentPermission
121
123
  * - Only public credentials are returned by default
122
- * @param org
123
- * @param userId
124
- * @param requestBody
125
124
  * @returns Credential
126
125
  * @throws ApiError
127
126
  */
128
- public static credentialsOrgsUsersCreate(
127
+ public static credentialsOrgsUsersCreate({
128
+ org,
129
+ userId,
130
+ requestBody,
131
+ }: {
129
132
  org: string,
130
133
  userId: string,
131
134
  requestBody: Credential,
132
- ): CancelablePromise<Credential> {
135
+ }): CancelablePromise<Credential> {
133
136
  return __request(OpenAPI, {
134
137
  method: 'POST',
135
138
  url: '/api/credentials/orgs/{org}/users/{user_id}/',
@@ -196,17 +199,18 @@ export class CredentialsService {
196
199
  * Access Control:
197
200
  * - Requires CredentialAssignmentPermission
198
201
  * - Users can only manage credentials they have permission to access
199
- * @param entityId
200
- * @param org
201
- * @param userId
202
202
  * @returns Credential
203
203
  * @throws ApiError
204
204
  */
205
- public static credentialsOrgsUsersRetrieve2(
205
+ public static credentialsOrgsUsersRetrieve2({
206
+ entityId,
207
+ org,
208
+ userId,
209
+ }: {
206
210
  entityId: string,
207
211
  org: string,
208
212
  userId: string,
209
- ): CancelablePromise<Credential> {
213
+ }): CancelablePromise<Credential> {
210
214
  return __request(OpenAPI, {
211
215
  method: 'GET',
212
216
  url: '/api/credentials/orgs/{org}/users/{user_id}/{entity_id}',
@@ -272,19 +276,20 @@ export class CredentialsService {
272
276
  * Access Control:
273
277
  * - Requires CredentialAssignmentPermission
274
278
  * - Users can only manage credentials they have permission to access
275
- * @param entityId
276
- * @param org
277
- * @param userId
278
- * @param requestBody
279
279
  * @returns Credential
280
280
  * @throws ApiError
281
281
  */
282
- public static credentialsOrgsUsersUpdate(
282
+ public static credentialsOrgsUsersUpdate({
283
+ entityId,
284
+ org,
285
+ userId,
286
+ requestBody,
287
+ }: {
283
288
  entityId: string,
284
289
  org: string,
285
290
  userId: string,
286
291
  requestBody: Credential,
287
- ): CancelablePromise<Credential> {
292
+ }): CancelablePromise<Credential> {
288
293
  return __request(OpenAPI, {
289
294
  method: 'PUT',
290
295
  url: '/api/credentials/orgs/{org}/users/{user_id}/{entity_id}',
@@ -352,17 +357,18 @@ export class CredentialsService {
352
357
  * Access Control:
353
358
  * - Requires CredentialAssignmentPermission
354
359
  * - Users can only manage credentials they have permission to access
355
- * @param entityId
356
- * @param org
357
- * @param userId
358
360
  * @returns void
359
361
  * @throws ApiError
360
362
  */
361
- public static credentialsOrgsUsersDestroy(
363
+ public static credentialsOrgsUsersDestroy({
364
+ entityId,
365
+ org,
366
+ userId,
367
+ }: {
362
368
  entityId: string,
363
369
  org: string,
364
370
  userId: string,
365
- ): CancelablePromise<void> {
371
+ }): CancelablePromise<void> {
366
372
  return __request(OpenAPI, {
367
373
  method: 'DELETE',
368
374
  url: '/api/credentials/orgs/{org}/users/{user_id}/{entity_id}',
@@ -402,17 +408,18 @@ export class CredentialsService {
402
408
  * 403 Forbidden: If the user does not have permission to access this resource
403
409
  * 404 Not Found: If the credential doesn't exist
404
410
  * 500 Internal Server Error: If an unexpected error occurs
405
- * @param entityId
406
- * @param org
407
- * @param userId
408
- * @returns Assertion
411
+ * @returns PaginatedAssertionsResponse
409
412
  * @throws ApiError
410
413
  */
411
- public static credentialsOrgsUsersAssertionsRetrieve3(
414
+ public static credentialsOrgsUsersAssertionsRetrieve3({
415
+ entityId,
416
+ org,
417
+ userId,
418
+ }: {
412
419
  entityId: string,
413
420
  org: string,
414
421
  userId: string,
415
- ): CancelablePromise<Assertion> {
422
+ }): CancelablePromise<PaginatedAssertionsResponse> {
416
423
  return __request(OpenAPI, {
417
424
  method: 'GET',
418
425
  url: '/api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/',
@@ -452,19 +459,20 @@ export class CredentialsService {
452
459
  * 403 Forbidden: If the user does not have permission to access this resource
453
460
  * 404 Not Found: If the credential doesn't exist
454
461
  * 500 Internal Server Error: If an unexpected error occurs
455
- * @param entityId
456
- * @param org
457
- * @param userId
458
- * @param requestBody
459
462
  * @returns Assertion
460
463
  * @throws ApiError
461
464
  */
462
- public static credentialsOrgsUsersAssertionsCreate(
465
+ public static credentialsOrgsUsersAssertionsCreate({
466
+ entityId,
467
+ org,
468
+ userId,
469
+ requestBody,
470
+ }: {
463
471
  entityId: string,
464
472
  org: string,
465
473
  userId: string,
466
474
  requestBody: Assertion,
467
- ): CancelablePromise<Assertion> {
475
+ }): CancelablePromise<Assertion> {
468
476
  return __request(OpenAPI, {
469
477
  method: 'POST',
470
478
  url: '/api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/',
@@ -505,19 +513,20 @@ export class CredentialsService {
505
513
  * 403 Forbidden: If the user does not have permission to access this resource
506
514
  * 404 Not Found: If the credential doesn't exist
507
515
  * 500 Internal Server Error: If an unexpected error occurs
508
- * @param entityId
509
- * @param org
510
- * @param userId
511
- * @param requestBody
512
516
  * @returns BulkCreateAssertion
513
517
  * @throws ApiError
514
518
  */
515
- public static credentialsOrgsUsersAssertionsBulkCreate(
519
+ public static credentialsOrgsUsersAssertionsBulkCreate({
520
+ entityId,
521
+ org,
522
+ userId,
523
+ requestBody,
524
+ }: {
516
525
  entityId: string,
517
526
  org: string,
518
527
  userId: string,
519
528
  requestBody: BulkCreateAssertion,
520
- ): CancelablePromise<BulkCreateAssertion> {
529
+ }): CancelablePromise<BulkCreateAssertion> {
521
530
  return __request(OpenAPI, {
522
531
  method: 'POST',
523
532
  url: '/api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/bulk/',
@@ -554,18 +563,19 @@ export class CredentialsService {
554
563
  * 403 Forbidden: If the user does not have permission to access this resource
555
564
  * 404 Not Found: If the user or organization doesn't exist
556
565
  * 500 Internal Server Error: If an unexpected error occurs
557
- * @param org
558
- * @param userId
559
- * @param course
560
- * @param excludeMainTenantAssertions
561
- * @param includeExpired
562
- * @param includeRevoked
563
- * @param page
564
- * @param pageSize
565
- * @returns Assertion
566
+ * @returns PaginatedAssertionsResponse
566
567
  * @throws ApiError
567
568
  */
568
- public static credentialsOrgsUsersAssertionsRetrieve(
569
+ public static credentialsOrgsUsersAssertionsRetrieve({
570
+ org,
571
+ userId,
572
+ course,
573
+ excludeMainTenantAssertions,
574
+ includeExpired,
575
+ includeRevoked,
576
+ page,
577
+ pageSize,
578
+ }: {
569
579
  org: string,
570
580
  userId: string,
571
581
  course?: string,
@@ -574,7 +584,7 @@ export class CredentialsService {
574
584
  includeRevoked?: boolean,
575
585
  page?: number,
576
586
  pageSize?: number,
577
- ): CancelablePromise<Assertion> {
587
+ }): CancelablePromise<PaginatedAssertionsResponse> {
578
588
  return __request(OpenAPI, {
579
589
  method: 'GET',
580
590
  url: '/api/credentials/orgs/{org}/users/{user_id}/assertions/',
@@ -594,27 +604,43 @@ export class CredentialsService {
594
604
  }
595
605
  /**
596
606
  * Get all credentials of a given tenant
597
- * @param org
598
- * @param userId
599
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
600
- * @param endDate end date. ISO 8601
601
- * @param format Format
602
- *
603
- * * `json` - json
604
- * @param includeMainPlatform Include main platform data
605
- * @param startDate start date. ISO 8601
606
607
  * @returns OvertimeWithChangeInfo
607
608
  * @throws ApiError
608
609
  */
609
- public static credentialsOrgsUsersAssertionsOverTimeRetrieve(
610
+ public static credentialsOrgsUsersAssertionsOverTimeRetrieve({
611
+ org,
612
+ userId,
613
+ departmentId,
614
+ endDate,
615
+ format = 'json',
616
+ includeMainPlatform = true,
617
+ startDate,
618
+ }: {
610
619
  org: string,
611
620
  userId: string,
621
+ /**
622
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
623
+ */
612
624
  departmentId?: number,
625
+ /**
626
+ * end date. ISO 8601
627
+ */
613
628
  endDate?: string,
614
- format: 'json' = 'json',
615
- includeMainPlatform: boolean = true,
629
+ /**
630
+ * Format
631
+ *
632
+ * * `json` - json
633
+ */
634
+ format?: 'json',
635
+ /**
636
+ * Include main platform data
637
+ */
638
+ includeMainPlatform?: boolean,
639
+ /**
640
+ * start date. ISO 8601
641
+ */
616
642
  startDate?: string,
617
- ): CancelablePromise<OvertimeWithChangeInfo> {
643
+ }): CancelablePromise<OvertimeWithChangeInfo> {
618
644
  return __request(OpenAPI, {
619
645
  method: 'GET',
620
646
  url: '/api/credentials/orgs/{org}/users/{user_id}/assertions-over-time/',
@@ -661,17 +687,18 @@ export class CredentialsService {
661
687
  * 403 Forbidden: If the user does not have permission to access this resource
662
688
  * 404 Not Found: If the assertion doesn't exist
663
689
  * 500 Internal Server Error: If an unexpected error occurs
664
- * @param entityId
665
- * @param org
666
- * @param userId
667
690
  * @returns Assertion
668
691
  * @throws ApiError
669
692
  */
670
- public static credentialsOrgsUsersAssertionsRetrieve2(
693
+ public static credentialsOrgsUsersAssertionsRetrieve2({
694
+ entityId,
695
+ org,
696
+ userId,
697
+ }: {
671
698
  entityId: string,
672
699
  org: string,
673
700
  userId: string,
674
- ): CancelablePromise<Assertion> {
701
+ }): CancelablePromise<Assertion> {
675
702
  return __request(OpenAPI, {
676
703
  method: 'GET',
677
704
  url: '/api/credentials/orgs/{org}/users/{user_id}/assertions/{entity_id}',
@@ -712,19 +739,20 @@ export class CredentialsService {
712
739
  * 403 Forbidden: If the user does not have permission to access this resource
713
740
  * 404 Not Found: If the assertion doesn't exist
714
741
  * 500 Internal Server Error: If an unexpected error occurs
715
- * @param entityId
716
- * @param org
717
- * @param userId
718
- * @param requestBody
719
742
  * @returns Assertion
720
743
  * @throws ApiError
721
744
  */
722
- public static credentialsOrgsUsersAssertionsUpdate(
745
+ public static credentialsOrgsUsersAssertionsUpdate({
746
+ entityId,
747
+ org,
748
+ userId,
749
+ requestBody,
750
+ }: {
723
751
  entityId: string,
724
752
  org: string,
725
753
  userId: string,
726
754
  requestBody: Assertion,
727
- ): CancelablePromise<Assertion> {
755
+ }): CancelablePromise<Assertion> {
728
756
  return __request(OpenAPI, {
729
757
  method: 'PUT',
730
758
  url: '/api/credentials/orgs/{org}/users/{user_id}/assertions/{entity_id}',
@@ -740,17 +768,18 @@ export class CredentialsService {
740
768
  /**
741
769
  * Delete a credential assignment using its entity_id.
742
770
  * Only platform admins and department admins can delete assignments.
743
- * @param assignmentId
744
- * @param org
745
- * @param userId
746
771
  * @returns void
747
772
  * @throws ApiError
748
773
  */
749
- public static credentialsOrgsUsersAssignmentsDestroy(
774
+ public static credentialsOrgsUsersAssignmentsDestroy({
775
+ assignmentId,
776
+ org,
777
+ userId,
778
+ }: {
750
779
  assignmentId: string,
751
780
  org: string,
752
781
  userId: string,
753
- ): CancelablePromise<void> {
782
+ }): CancelablePromise<void> {
754
783
  return __request(OpenAPI, {
755
784
  method: 'DELETE',
756
785
  url: '/api/credentials/orgs/{org}/users/{user_id}/assignments/{assignment_id}',
@@ -763,15 +792,16 @@ export class CredentialsService {
763
792
  }
764
793
  /**
765
794
  * Get group assignments with department-aware filtering
766
- * @param org
767
- * @param userId
768
795
  * @returns any No response body
769
796
  * @throws ApiError
770
797
  */
771
- public static credentialsOrgsUsersAssignmentsGroupsRetrieve(
798
+ public static credentialsOrgsUsersAssignmentsGroupsRetrieve({
799
+ org,
800
+ userId,
801
+ }: {
772
802
  org: string,
773
803
  userId: string,
774
- ): CancelablePromise<any> {
804
+ }): CancelablePromise<any> {
775
805
  return __request(OpenAPI, {
776
806
  method: 'GET',
777
807
  url: '/api/credentials/orgs/{org}/users/{user_id}/assignments/groups/',
@@ -783,15 +813,16 @@ export class CredentialsService {
783
813
  }
784
814
  /**
785
815
  * Create group assignment with department access validation
786
- * @param org
787
- * @param userId
788
816
  * @returns any No response body
789
817
  * @throws ApiError
790
818
  */
791
- public static credentialsOrgsUsersAssignmentsGroupsCreate(
819
+ public static credentialsOrgsUsersAssignmentsGroupsCreate({
820
+ org,
821
+ userId,
822
+ }: {
792
823
  org: string,
793
824
  userId: string,
794
- ): CancelablePromise<any> {
825
+ }): CancelablePromise<any> {
795
826
  return __request(OpenAPI, {
796
827
  method: 'POST',
797
828
  url: '/api/credentials/orgs/{org}/users/{user_id}/assignments/groups/',
@@ -806,15 +837,16 @@ export class CredentialsService {
806
837
  * - Regular users: get only their own assignments
807
838
  * - Platform admins: get assignments for all users in their platform
808
839
  * - Department admins: get assignments for users in their department groups
809
- * @param org
810
- * @param userId
811
840
  * @returns any No response body
812
841
  * @throws ApiError
813
842
  */
814
- public static credentialsOrgsUsersAssignmentsUsersRetrieve(
843
+ public static credentialsOrgsUsersAssignmentsUsersRetrieve({
844
+ org,
845
+ userId,
846
+ }: {
815
847
  org: string,
816
848
  userId: string,
817
- ): CancelablePromise<any> {
849
+ }): CancelablePromise<any> {
818
850
  return __request(OpenAPI, {
819
851
  method: 'GET',
820
852
  url: '/api/credentials/orgs/{org}/users/{user_id}/assignments/users/',
@@ -826,15 +858,16 @@ export class CredentialsService {
826
858
  }
827
859
  /**
828
860
  * Create assignments with department access validation
829
- * @param org
830
- * @param userId
831
861
  * @returns any No response body
832
862
  * @throws ApiError
833
863
  */
834
- public static credentialsOrgsUsersAssignmentsUsersCreate(
864
+ public static credentialsOrgsUsersAssignmentsUsersCreate({
865
+ org,
866
+ userId,
867
+ }: {
835
868
  org: string,
836
869
  userId: string,
837
- ): CancelablePromise<any> {
870
+ }): CancelablePromise<any> {
838
871
  return __request(OpenAPI, {
839
872
  method: 'POST',
840
873
  url: '/api/credentials/orgs/{org}/users/{user_id}/assignments/users/',
@@ -846,27 +879,43 @@ export class CredentialsService {
846
879
  }
847
880
  /**
848
881
  * Get all credentials of a given tenant
849
- * @param org
850
- * @param userId
851
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
852
- * @param endDate end date. ISO 8601
853
- * @param format Format
854
- *
855
- * * `json` - json
856
- * @param includeMainPlatform Include main platform data
857
- * @param startDate start date. ISO 8601
858
882
  * @returns OverTime
859
883
  * @throws ApiError
860
884
  */
861
- public static credentialsOrgsUsersCourseAssertionsOverTimeRetrieve(
885
+ public static credentialsOrgsUsersCourseAssertionsOverTimeRetrieve({
886
+ org,
887
+ userId,
888
+ departmentId,
889
+ endDate,
890
+ format = 'json',
891
+ includeMainPlatform = true,
892
+ startDate,
893
+ }: {
862
894
  org: string,
863
895
  userId: string,
896
+ /**
897
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
898
+ */
864
899
  departmentId?: number,
900
+ /**
901
+ * end date. ISO 8601
902
+ */
865
903
  endDate?: string,
866
- format: 'json' = 'json',
867
- includeMainPlatform: boolean = true,
904
+ /**
905
+ * Format
906
+ *
907
+ * * `json` - json
908
+ */
909
+ format?: 'json',
910
+ /**
911
+ * Include main platform data
912
+ */
913
+ includeMainPlatform?: boolean,
914
+ /**
915
+ * start date. ISO 8601
916
+ */
868
917
  startDate?: string,
869
- ): CancelablePromise<OverTime> {
918
+ }): CancelablePromise<OverTime> {
870
919
  return __request(OpenAPI, {
871
920
  method: 'GET',
872
921
  url: '/api/credentials/orgs/{org}/users/{user_id}/course-assertions-over-time/',
@@ -905,19 +954,26 @@ export class CredentialsService {
905
954
  * 403 Forbidden: If the user does not have permission to access this data
906
955
  * 404 Not Found: If the organization doesn't exist
907
956
  * 500 Internal Server Error: If an unexpected error occurs
908
- * @param org
909
- * @param userId
910
- * @param page A page number within the paginated result set.
911
- * @param pageSize Number of results to return per page.
912
957
  * @returns any No response body
913
958
  * @throws ApiError
914
959
  */
915
- public static credentialsOrgsUsersCourseCredentialsList(
960
+ public static credentialsOrgsUsersCourseCredentialsList({
961
+ org,
962
+ userId,
963
+ page,
964
+ pageSize,
965
+ }: {
916
966
  org: string,
917
967
  userId: string,
968
+ /**
969
+ * A page number within the paginated result set.
970
+ */
918
971
  page?: number,
972
+ /**
973
+ * Number of results to return per page.
974
+ */
919
975
  pageSize?: number,
920
- ): CancelablePromise<any> {
976
+ }): CancelablePromise<any> {
921
977
  return __request(OpenAPI, {
922
978
  method: 'GET',
923
979
  url: '/api/credentials/orgs/{org}/users/{user_id}/course-credentials/',
@@ -933,27 +989,43 @@ export class CredentialsService {
933
989
  }
934
990
  /**
935
991
  * Get all credentials of a given tenant
936
- * @param org
937
- * @param userId
938
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
939
- * @param endDate end date. ISO 8601
940
- * @param format Format
941
- *
942
- * * `json` - json
943
- * @param includeMainPlatform Include main platform data
944
- * @param startDate start date. ISO 8601
945
992
  * @returns OverTime
946
993
  * @throws ApiError
947
994
  */
948
- public static credentialsOrgsUsersCredentialsOverTimeRetrieve(
995
+ public static credentialsOrgsUsersCredentialsOverTimeRetrieve({
996
+ org,
997
+ userId,
998
+ departmentId,
999
+ endDate,
1000
+ format = 'json',
1001
+ includeMainPlatform = true,
1002
+ startDate,
1003
+ }: {
949
1004
  org: string,
950
1005
  userId: string,
1006
+ /**
1007
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
1008
+ */
951
1009
  departmentId?: number,
1010
+ /**
1011
+ * end date. ISO 8601
1012
+ */
952
1013
  endDate?: string,
953
- format: 'json' = 'json',
954
- includeMainPlatform: boolean = true,
1014
+ /**
1015
+ * Format
1016
+ *
1017
+ * * `json` - json
1018
+ */
1019
+ format?: 'json',
1020
+ /**
1021
+ * Include main platform data
1022
+ */
1023
+ includeMainPlatform?: boolean,
1024
+ /**
1025
+ * start date. ISO 8601
1026
+ */
955
1027
  startDate?: string,
956
- ): CancelablePromise<OverTime> {
1028
+ }): CancelablePromise<OverTime> {
957
1029
  return __request(OpenAPI, {
958
1030
  method: 'GET',
959
1031
  url: '/api/credentials/orgs/{org}/users/{user_id}/credentials-over-time/',
@@ -1024,15 +1096,16 @@ export class CredentialsService {
1024
1096
  * Access Control:
1025
1097
  * - Requires IsAdminUserOrStudentDRFMixin
1026
1098
  * - Only authenticated users with appropriate permissions can upload and retrieve images
1027
- * @param org
1028
- * @param userId
1029
1099
  * @returns UploadedImage
1030
1100
  * @throws ApiError
1031
1101
  */
1032
- public static credentialsOrgsUsersImagesRetrieve(
1102
+ public static credentialsOrgsUsersImagesRetrieve({
1103
+ org,
1104
+ userId,
1105
+ }: {
1033
1106
  org: string,
1034
1107
  userId: string,
1035
- ): CancelablePromise<UploadedImage> {
1108
+ }): CancelablePromise<UploadedImage> {
1036
1109
  return __request(OpenAPI, {
1037
1110
  method: 'GET',
1038
1111
  url: '/api/credentials/orgs/{org}/users/{user_id}/images/',
@@ -1096,17 +1169,18 @@ export class CredentialsService {
1096
1169
  * Access Control:
1097
1170
  * - Requires IsAdminUserOrStudentDRFMixin
1098
1171
  * - Only authenticated users with appropriate permissions can upload and retrieve images
1099
- * @param org
1100
- * @param userId
1101
- * @param requestBody
1102
1172
  * @returns UploadedImage
1103
1173
  * @throws ApiError
1104
1174
  */
1105
- public static credentialsOrgsUsersImagesCreate(
1175
+ public static credentialsOrgsUsersImagesCreate({
1176
+ org,
1177
+ userId,
1178
+ requestBody,
1179
+ }: {
1106
1180
  org: string,
1107
1181
  userId: string,
1108
1182
  requestBody?: UploadedImage,
1109
- ): CancelablePromise<UploadedImage> {
1183
+ }): CancelablePromise<UploadedImage> {
1110
1184
  return __request(OpenAPI, {
1111
1185
  method: 'POST',
1112
1186
  url: '/api/credentials/orgs/{org}/users/{user_id}/images/',
@@ -1180,17 +1254,18 @@ export class CredentialsService {
1180
1254
  * Access Control:
1181
1255
  * - Requires IsAdminUserOrStudentDRFMixin
1182
1256
  * - Only authenticated users with appropriate permissions can manage issuers
1183
- * @param org
1184
- * @param q
1185
- * @param userId
1186
1257
  * @returns Issuer
1187
1258
  * @throws ApiError
1188
1259
  */
1189
- public static credentialsOrgsUsersIssuersRetrieve(
1260
+ public static credentialsOrgsUsersIssuersRetrieve({
1261
+ org,
1262
+ q,
1263
+ userId,
1264
+ }: {
1190
1265
  org: string,
1191
1266
  q: string,
1192
1267
  userId: string,
1193
- ): CancelablePromise<Issuer> {
1268
+ }): CancelablePromise<Issuer> {
1194
1269
  return __request(OpenAPI, {
1195
1270
  method: 'GET',
1196
1271
  url: '/api/credentials/orgs/{org}/users/{user_id}/issuers/',
@@ -1265,19 +1340,20 @@ export class CredentialsService {
1265
1340
  * Access Control:
1266
1341
  * - Requires IsAdminUserOrStudentDRFMixin
1267
1342
  * - Only authenticated users with appropriate permissions can manage issuers
1268
- * @param org
1269
- * @param q
1270
- * @param userId
1271
- * @param requestBody
1272
1343
  * @returns Issuer
1273
1344
  * @throws ApiError
1274
1345
  */
1275
- public static credentialsOrgsUsersIssuersCreate(
1346
+ public static credentialsOrgsUsersIssuersCreate({
1347
+ org,
1348
+ q,
1349
+ userId,
1350
+ requestBody,
1351
+ }: {
1276
1352
  org: string,
1277
1353
  q: string,
1278
1354
  userId: string,
1279
1355
  requestBody: Issuer,
1280
- ): CancelablePromise<Issuer> {
1356
+ }): CancelablePromise<Issuer> {
1281
1357
  return __request(OpenAPI, {
1282
1358
  method: 'POST',
1283
1359
  url: '/api/credentials/orgs/{org}/users/{user_id}/issuers/',
@@ -1358,17 +1434,18 @@ export class CredentialsService {
1358
1434
  * Access Control:
1359
1435
  * - Requires IsAdminUserOrStudentDRFMixin
1360
1436
  * - Only authenticated users with appropriate permissions can manage issuers
1361
- * @param entityId
1362
- * @param org
1363
- * @param userId
1364
1437
  * @returns Issuer
1365
1438
  * @throws ApiError
1366
1439
  */
1367
- public static credentialsOrgsUsersIssuersRetrieve2(
1440
+ public static credentialsOrgsUsersIssuersRetrieve2({
1441
+ entityId,
1442
+ org,
1443
+ userId,
1444
+ }: {
1368
1445
  entityId: string,
1369
1446
  org: string,
1370
1447
  userId: string,
1371
- ): CancelablePromise<Issuer> {
1448
+ }): CancelablePromise<Issuer> {
1372
1449
  return __request(OpenAPI, {
1373
1450
  method: 'GET',
1374
1451
  url: '/api/credentials/orgs/{org}/users/{user_id}/issuers/{entity_id}',
@@ -1445,19 +1522,20 @@ export class CredentialsService {
1445
1522
  * Access Control:
1446
1523
  * - Requires IsAdminUserOrStudentDRFMixin
1447
1524
  * - Only authenticated users with appropriate permissions can manage issuers
1448
- * @param entityId
1449
- * @param org
1450
- * @param userId
1451
- * @param requestBody
1452
1525
  * @returns Issuer
1453
1526
  * @throws ApiError
1454
1527
  */
1455
- public static credentialsOrgsUsersIssuersUpdate(
1528
+ public static credentialsOrgsUsersIssuersUpdate({
1529
+ entityId,
1530
+ org,
1531
+ userId,
1532
+ requestBody,
1533
+ }: {
1456
1534
  entityId: string,
1457
1535
  org: string,
1458
1536
  userId: string,
1459
1537
  requestBody: Issuer,
1460
- ): CancelablePromise<Issuer> {
1538
+ }): CancelablePromise<Issuer> {
1461
1539
  return __request(OpenAPI, {
1462
1540
  method: 'PUT',
1463
1541
  url: '/api/credentials/orgs/{org}/users/{user_id}/issuers/{entity_id}',
@@ -1536,17 +1614,18 @@ export class CredentialsService {
1536
1614
  * Access Control:
1537
1615
  * - Requires IsAdminUserOrStudentDRFMixin
1538
1616
  * - Only authenticated users with appropriate permissions can manage issuers
1539
- * @param entityId
1540
- * @param org
1541
- * @param userId
1542
1617
  * @returns void
1543
1618
  * @throws ApiError
1544
1619
  */
1545
- public static credentialsOrgsUsersIssuersDestroy(
1620
+ public static credentialsOrgsUsersIssuersDestroy({
1621
+ entityId,
1622
+ org,
1623
+ userId,
1624
+ }: {
1546
1625
  entityId: string,
1547
1626
  org: string,
1548
1627
  userId: string,
1549
- ): CancelablePromise<void> {
1628
+ }): CancelablePromise<void> {
1550
1629
  return __request(OpenAPI, {
1551
1630
  method: 'DELETE',
1552
1631
  url: '/api/credentials/orgs/{org}/users/{user_id}/issuers/{entity_id}',
@@ -1599,17 +1678,18 @@ export class CredentialsService {
1599
1678
  * Access Control:
1600
1679
  * - Requires IsAdminUserOrStudentDRFMixin
1601
1680
  * - Only authenticated users with appropriate permissions can manage authorities
1602
- * @param org
1603
- * @param userId
1604
- * @param requestBody
1605
1681
  * @returns IssuerAuthority
1606
1682
  * @throws ApiError
1607
1683
  */
1608
- public static credentialsOrgsUsersIssuersAuthorityCreate(
1684
+ public static credentialsOrgsUsersIssuersAuthorityCreate({
1685
+ org,
1686
+ userId,
1687
+ requestBody,
1688
+ }: {
1609
1689
  org: string,
1610
1690
  userId: string,
1611
1691
  requestBody: IssuerAuthority,
1612
- ): CancelablePromise<IssuerAuthority> {
1692
+ }): CancelablePromise<IssuerAuthority> {
1613
1693
  return __request(OpenAPI, {
1614
1694
  method: 'POST',
1615
1695
  url: '/api/credentials/orgs/{org}/users/{user_id}/issuers/authority/',
@@ -1638,13 +1718,14 @@ export class CredentialsService {
1638
1718
  * - If the assertion doesn't exist: Empty response with 404 status
1639
1719
  * - If the assertion has been revoked: JSON with error detail and revocation reason
1640
1720
  * 500 Internal Server Error: If an unexpected error occurs
1641
- * @param entityId
1642
- * @returns any No response body
1721
+ * @returns Assertion
1643
1722
  * @throws ApiError
1644
1723
  */
1645
- public static credentialsPublicAssertionsRetrieve(
1724
+ public static credentialsPublicAssertionsRetrieve({
1725
+ entityId,
1726
+ }: {
1646
1727
  entityId: string,
1647
- ): CancelablePromise<any> {
1728
+ }): CancelablePromise<Assertion> {
1648
1729
  return __request(OpenAPI, {
1649
1730
  method: 'GET',
1650
1731
  url: '/api/credentials/public/assertions/{entity_id}/',