@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
@@ -5,6 +5,7 @@ import type { Issuer } from '../models/Issuer';
5
5
  import type { IssuerAuthority } from '../models/IssuerAuthority';
6
6
  import type { OverTime } from '../models/OverTime';
7
7
  import type { OvertimeWithChangeInfo } from '../models/OvertimeWithChangeInfo';
8
+ import type { PaginatedAssertionsResponse } from '../models/PaginatedAssertionsResponse';
8
9
  import type { UploadedImage } from '../models/UploadedImage';
9
10
  import type { CancelablePromise } from '../core/CancelablePromise';
10
11
  export declare class CredentialsService {
@@ -18,12 +19,12 @@ export declare class CredentialsService {
18
19
  * - search: Search term to filter credentials
19
20
  * - course: Course ID to filter credentials
20
21
  * - program: Program ID to filter credentials
21
- * @param org
22
- * @param userId
23
22
  * @returns Credential
24
23
  * @throws ApiError
25
24
  */
26
- static credentialsOrgsUsersRetrieve(org: string, userId: string): CancelablePromise<Credential>;
25
+ static credentialsOrgsUsersRetrieve({ org, userId, }: {
26
+ org: string;
27
+ }): CancelablePromise<Credential>;
27
28
  /**
28
29
  * API View for managing credentials across a platform.
29
30
  *
@@ -101,13 +102,13 @@ export declare class CredentialsService {
101
102
  * Access Control:
102
103
  * - Requires CredentialAssignmentPermission
103
104
  * - Only public credentials are returned by default
104
- * @param org
105
- * @param userId
106
- * @param requestBody
107
105
  * @returns Credential
108
106
  * @throws ApiError
109
107
  */
110
- static credentialsOrgsUsersCreate(org: string, userId: string, requestBody: Credential): CancelablePromise<Credential>;
108
+ static credentialsOrgsUsersCreate({ org, userId, requestBody, }: {
109
+ org: string;
110
+ requestBody: Credential;
111
+ }): CancelablePromise<Credential>;
111
112
  /**
112
113
  * API View for managing individual credentials.
113
114
  *
@@ -163,13 +164,13 @@ export declare class CredentialsService {
163
164
  * Access Control:
164
165
  * - Requires CredentialAssignmentPermission
165
166
  * - Users can only manage credentials they have permission to access
166
- * @param entityId
167
- * @param org
168
- * @param userId
169
167
  * @returns Credential
170
168
  * @throws ApiError
171
169
  */
172
- static credentialsOrgsUsersRetrieve2(entityId: string, org: string, userId: string): CancelablePromise<Credential>;
170
+ static credentialsOrgsUsersRetrieve2({ entityId, org, userId, }: {
171
+ entityId: string;
172
+ org: string;
173
+ }): CancelablePromise<Credential>;
173
174
  /**
174
175
  * API View for managing individual credentials.
175
176
  *
@@ -225,14 +226,14 @@ export declare class CredentialsService {
225
226
  * Access Control:
226
227
  * - Requires CredentialAssignmentPermission
227
228
  * - Users can only manage credentials they have permission to access
228
- * @param entityId
229
- * @param org
230
- * @param userId
231
- * @param requestBody
232
229
  * @returns Credential
233
230
  * @throws ApiError
234
231
  */
235
- static credentialsOrgsUsersUpdate(entityId: string, org: string, userId: string, requestBody: Credential): CancelablePromise<Credential>;
232
+ static credentialsOrgsUsersUpdate({ entityId, org, userId, requestBody, }: {
233
+ entityId: string;
234
+ org: string;
235
+ requestBody: Credential;
236
+ }): CancelablePromise<Credential>;
236
237
  /**
237
238
  * API View for managing individual credentials.
238
239
  *
@@ -288,13 +289,13 @@ export declare class CredentialsService {
288
289
  * Access Control:
289
290
  * - Requires CredentialAssignmentPermission
290
291
  * - Users can only manage credentials they have permission to access
291
- * @param entityId
292
- * @param org
293
- * @param userId
294
292
  * @returns void
295
293
  * @throws ApiError
296
294
  */
297
- static credentialsOrgsUsersDestroy(entityId: string, org: string, userId: string): CancelablePromise<void>;
295
+ static credentialsOrgsUsersDestroy({ entityId, org, userId, }: {
296
+ entityId: string;
297
+ org: string;
298
+ }): CancelablePromise<void>;
298
299
  /**
299
300
  * Endpoint to issue and retrieve credential assertions for a specific credential.
300
301
  *
@@ -324,13 +325,13 @@ export declare class CredentialsService {
324
325
  * 403 Forbidden: If the user does not have permission to access this resource
325
326
  * 404 Not Found: If the credential doesn't exist
326
327
  * 500 Internal Server Error: If an unexpected error occurs
327
- * @param entityId
328
- * @param org
329
- * @param userId
330
- * @returns Assertion
328
+ * @returns PaginatedAssertionsResponse
331
329
  * @throws ApiError
332
330
  */
333
- static credentialsOrgsUsersAssertionsRetrieve3(entityId: string, org: string, userId: string): CancelablePromise<Assertion>;
331
+ static credentialsOrgsUsersAssertionsRetrieve3({ entityId, org, userId, }: {
332
+ entityId: string;
333
+ org: string;
334
+ }): CancelablePromise<PaginatedAssertionsResponse>;
334
335
  /**
335
336
  * Endpoint to issue and retrieve credential assertions for a specific credential.
336
337
  *
@@ -360,14 +361,14 @@ export declare class CredentialsService {
360
361
  * 403 Forbidden: If the user does not have permission to access this resource
361
362
  * 404 Not Found: If the credential doesn't exist
362
363
  * 500 Internal Server Error: If an unexpected error occurs
363
- * @param entityId
364
- * @param org
365
- * @param userId
366
- * @param requestBody
367
364
  * @returns Assertion
368
365
  * @throws ApiError
369
366
  */
370
- static credentialsOrgsUsersAssertionsCreate(entityId: string, org: string, userId: string, requestBody: Assertion): CancelablePromise<Assertion>;
367
+ static credentialsOrgsUsersAssertionsCreate({ entityId, org, userId, requestBody, }: {
368
+ entityId: string;
369
+ org: string;
370
+ requestBody: Assertion;
371
+ }): CancelablePromise<Assertion>;
371
372
  /**
372
373
  * Endpoint to issue credential assertions in bulk for a specific credential.
373
374
  *
@@ -396,14 +397,14 @@ export declare class CredentialsService {
396
397
  * 403 Forbidden: If the user does not have permission to access this resource
397
398
  * 404 Not Found: If the credential doesn't exist
398
399
  * 500 Internal Server Error: If an unexpected error occurs
399
- * @param entityId
400
- * @param org
401
- * @param userId
402
- * @param requestBody
403
400
  * @returns BulkCreateAssertion
404
401
  * @throws ApiError
405
402
  */
406
- static credentialsOrgsUsersAssertionsBulkCreate(entityId: string, org: string, userId: string, requestBody: BulkCreateAssertion): CancelablePromise<BulkCreateAssertion>;
403
+ static credentialsOrgsUsersAssertionsBulkCreate({ entityId, org, userId, requestBody, }: {
404
+ entityId: string;
405
+ org: string;
406
+ requestBody: BulkCreateAssertion;
407
+ }): CancelablePromise<BulkCreateAssertion>;
407
408
  /**
408
409
  * Endpoint to retrieve all credential assertions for a user within an organization.
409
410
  *
@@ -428,33 +429,43 @@ export declare class CredentialsService {
428
429
  * 403 Forbidden: If the user does not have permission to access this resource
429
430
  * 404 Not Found: If the user or organization doesn't exist
430
431
  * 500 Internal Server Error: If an unexpected error occurs
431
- * @param org
432
- * @param userId
433
- * @param course
434
- * @param excludeMainTenantAssertions
435
- * @param includeExpired
436
- * @param includeRevoked
437
- * @param page
438
- * @param pageSize
439
- * @returns Assertion
432
+ * @returns PaginatedAssertionsResponse
440
433
  * @throws ApiError
441
434
  */
442
- static credentialsOrgsUsersAssertionsRetrieve(org: string, userId: string, course?: string, excludeMainTenantAssertions?: boolean, includeExpired?: boolean, includeRevoked?: boolean, page?: number, pageSize?: number): CancelablePromise<Assertion>;
435
+ static credentialsOrgsUsersAssertionsRetrieve({ org, userId, course, excludeMainTenantAssertions, includeExpired, includeRevoked, page, pageSize, }: {
436
+ org: string;
437
+ course?: string;
438
+ excludeMainTenantAssertions?: boolean;
439
+ includeExpired?: boolean;
440
+ includeRevoked?: boolean;
441
+ page?: number;
442
+ pageSize?: number;
443
+ }): CancelablePromise<PaginatedAssertionsResponse>;
443
444
  /**
444
445
  * Get all credentials of a given tenant
445
- * @param org
446
- * @param userId
447
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
448
- * @param endDate end date. ISO 8601
449
- * @param format Format
450
- *
451
- * * `json` - json
452
- * @param includeMainPlatform Include main platform data
453
- * @param startDate start date. ISO 8601
454
446
  * @returns OvertimeWithChangeInfo
455
447
  * @throws ApiError
456
448
  */
457
- static credentialsOrgsUsersAssertionsOverTimeRetrieve(org: string, userId: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<OvertimeWithChangeInfo>;
449
+ static credentialsOrgsUsersAssertionsOverTimeRetrieve({ org, userId, departmentId, endDate, format, includeMainPlatform, startDate, }: {
450
+ org: string; /**
451
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
452
+ */
453
+ departmentId?: number; /**
454
+ * end date. ISO 8601
455
+ */
456
+ endDate?: string; /**
457
+ * Format
458
+ *
459
+ * * `json` - json
460
+ */
461
+ format?: 'json'; /**
462
+ * Include main platform data
463
+ */
464
+ includeMainPlatform?: boolean; /**
465
+ * start date. ISO 8601
466
+ */
467
+ startDate?: string;
468
+ }): CancelablePromise<OvertimeWithChangeInfo>;
458
469
  /**
459
470
  * Endpoint to retrieve and update a specific credential assertion.
460
471
  *
@@ -485,13 +496,13 @@ export declare class CredentialsService {
485
496
  * 403 Forbidden: If the user does not have permission to access this resource
486
497
  * 404 Not Found: If the assertion doesn't exist
487
498
  * 500 Internal Server Error: If an unexpected error occurs
488
- * @param entityId
489
- * @param org
490
- * @param userId
491
499
  * @returns Assertion
492
500
  * @throws ApiError
493
501
  */
494
- static credentialsOrgsUsersAssertionsRetrieve2(entityId: string, org: string, userId: string): CancelablePromise<Assertion>;
502
+ static credentialsOrgsUsersAssertionsRetrieve2({ entityId, org, userId, }: {
503
+ entityId: string;
504
+ org: string;
505
+ }): CancelablePromise<Assertion>;
495
506
  /**
496
507
  * Endpoint to retrieve and update a specific credential assertion.
497
508
  *
@@ -522,74 +533,84 @@ export declare class CredentialsService {
522
533
  * 403 Forbidden: If the user does not have permission to access this resource
523
534
  * 404 Not Found: If the assertion doesn't exist
524
535
  * 500 Internal Server Error: If an unexpected error occurs
525
- * @param entityId
526
- * @param org
527
- * @param userId
528
- * @param requestBody
529
536
  * @returns Assertion
530
537
  * @throws ApiError
531
538
  */
532
- static credentialsOrgsUsersAssertionsUpdate(entityId: string, org: string, userId: string, requestBody: Assertion): CancelablePromise<Assertion>;
539
+ static credentialsOrgsUsersAssertionsUpdate({ entityId, org, userId, requestBody, }: {
540
+ entityId: string;
541
+ org: string;
542
+ requestBody: Assertion;
543
+ }): CancelablePromise<Assertion>;
533
544
  /**
534
545
  * Delete a credential assignment using its entity_id.
535
546
  * Only platform admins and department admins can delete assignments.
536
- * @param assignmentId
537
- * @param org
538
- * @param userId
539
547
  * @returns void
540
548
  * @throws ApiError
541
549
  */
542
- static credentialsOrgsUsersAssignmentsDestroy(assignmentId: string, org: string, userId: string): CancelablePromise<void>;
550
+ static credentialsOrgsUsersAssignmentsDestroy({ assignmentId, org, userId, }: {
551
+ assignmentId: string;
552
+ org: string;
553
+ }): CancelablePromise<void>;
543
554
  /**
544
555
  * Get group assignments with department-aware filtering
545
- * @param org
546
- * @param userId
547
556
  * @returns any No response body
548
557
  * @throws ApiError
549
558
  */
550
- static credentialsOrgsUsersAssignmentsGroupsRetrieve(org: string, userId: string): CancelablePromise<any>;
559
+ static credentialsOrgsUsersAssignmentsGroupsRetrieve({ org, userId, }: {
560
+ org: string;
561
+ }): CancelablePromise<any>;
551
562
  /**
552
563
  * Create group assignment with department access validation
553
- * @param org
554
- * @param userId
555
564
  * @returns any No response body
556
565
  * @throws ApiError
557
566
  */
558
- static credentialsOrgsUsersAssignmentsGroupsCreate(org: string, userId: string): CancelablePromise<any>;
567
+ static credentialsOrgsUsersAssignmentsGroupsCreate({ org, userId, }: {
568
+ org: string;
569
+ }): CancelablePromise<any>;
559
570
  /**
560
571
  * Get assignments and their corresponding assertions based on user role:
561
572
  * - Regular users: get only their own assignments
562
573
  * - Platform admins: get assignments for all users in their platform
563
574
  * - Department admins: get assignments for users in their department groups
564
- * @param org
565
- * @param userId
566
575
  * @returns any No response body
567
576
  * @throws ApiError
568
577
  */
569
- static credentialsOrgsUsersAssignmentsUsersRetrieve(org: string, userId: string): CancelablePromise<any>;
578
+ static credentialsOrgsUsersAssignmentsUsersRetrieve({ org, userId, }: {
579
+ org: string;
580
+ }): CancelablePromise<any>;
570
581
  /**
571
582
  * Create assignments with department access validation
572
- * @param org
573
- * @param userId
574
583
  * @returns any No response body
575
584
  * @throws ApiError
576
585
  */
577
- static credentialsOrgsUsersAssignmentsUsersCreate(org: string, userId: string): CancelablePromise<any>;
586
+ static credentialsOrgsUsersAssignmentsUsersCreate({ org, userId, }: {
587
+ org: string;
588
+ }): CancelablePromise<any>;
578
589
  /**
579
590
  * Get all credentials of a given tenant
580
- * @param org
581
- * @param userId
582
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
583
- * @param endDate end date. ISO 8601
584
- * @param format Format
585
- *
586
- * * `json` - json
587
- * @param includeMainPlatform Include main platform data
588
- * @param startDate start date. ISO 8601
589
591
  * @returns OverTime
590
592
  * @throws ApiError
591
593
  */
592
- static credentialsOrgsUsersCourseAssertionsOverTimeRetrieve(org: string, userId: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<OverTime>;
594
+ static credentialsOrgsUsersCourseAssertionsOverTimeRetrieve({ org, userId, departmentId, endDate, format, includeMainPlatform, startDate, }: {
595
+ org: string; /**
596
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
597
+ */
598
+ departmentId?: number; /**
599
+ * end date. ISO 8601
600
+ */
601
+ endDate?: string; /**
602
+ * Format
603
+ *
604
+ * * `json` - json
605
+ */
606
+ format?: 'json'; /**
607
+ * Include main platform data
608
+ */
609
+ includeMainPlatform?: boolean; /**
610
+ * start date. ISO 8601
611
+ */
612
+ startDate?: string;
613
+ }): CancelablePromise<OverTime>;
593
614
  /**
594
615
  * Endpoint to retrieve the credentials of a given tenant grouped by course.
595
616
  *
@@ -612,29 +633,43 @@ export declare class CredentialsService {
612
633
  * 403 Forbidden: If the user does not have permission to access this data
613
634
  * 404 Not Found: If the organization doesn't exist
614
635
  * 500 Internal Server Error: If an unexpected error occurs
615
- * @param org
616
- * @param userId
617
- * @param page A page number within the paginated result set.
618
- * @param pageSize Number of results to return per page.
619
636
  * @returns any No response body
620
637
  * @throws ApiError
621
638
  */
622
- static credentialsOrgsUsersCourseCredentialsList(org: string, userId: string, page?: number, pageSize?: number): CancelablePromise<any>;
639
+ static credentialsOrgsUsersCourseCredentialsList({ org, userId, page, pageSize, }: {
640
+ org: string; /**
641
+ * A page number within the paginated result set.
642
+ */
643
+ page?: number; /**
644
+ * Number of results to return per page.
645
+ */
646
+ pageSize?: number;
647
+ }): CancelablePromise<any>;
623
648
  /**
624
649
  * Get all credentials of a given tenant
625
- * @param org
626
- * @param userId
627
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
628
- * @param endDate end date. ISO 8601
629
- * @param format Format
630
- *
631
- * * `json` - json
632
- * @param includeMainPlatform Include main platform data
633
- * @param startDate start date. ISO 8601
634
650
  * @returns OverTime
635
651
  * @throws ApiError
636
652
  */
637
- static credentialsOrgsUsersCredentialsOverTimeRetrieve(org: string, userId: string, departmentId?: number, endDate?: string, format?: 'json', includeMainPlatform?: boolean, startDate?: string): CancelablePromise<OverTime>;
653
+ static credentialsOrgsUsersCredentialsOverTimeRetrieve({ org, userId, departmentId, endDate, format, includeMainPlatform, startDate, }: {
654
+ org: string; /**
655
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
656
+ */
657
+ departmentId?: number; /**
658
+ * end date. ISO 8601
659
+ */
660
+ endDate?: string; /**
661
+ * Format
662
+ *
663
+ * * `json` - json
664
+ */
665
+ format?: 'json'; /**
666
+ * Include main platform data
667
+ */
668
+ includeMainPlatform?: boolean; /**
669
+ * start date. ISO 8601
670
+ */
671
+ startDate?: string;
672
+ }): CancelablePromise<OverTime>;
638
673
  /**
639
674
  * API View for managing uploaded images for credentials.
640
675
  *
@@ -689,12 +724,12 @@ export declare class CredentialsService {
689
724
  * Access Control:
690
725
  * - Requires IsAdminUserOrStudentDRFMixin
691
726
  * - Only authenticated users with appropriate permissions can upload and retrieve images
692
- * @param org
693
- * @param userId
694
727
  * @returns UploadedImage
695
728
  * @throws ApiError
696
729
  */
697
- static credentialsOrgsUsersImagesRetrieve(org: string, userId: string): CancelablePromise<UploadedImage>;
730
+ static credentialsOrgsUsersImagesRetrieve({ org, userId, }: {
731
+ org: string;
732
+ }): CancelablePromise<UploadedImage>;
698
733
  /**
699
734
  * API View for managing uploaded images for credentials.
700
735
  *
@@ -749,13 +784,13 @@ export declare class CredentialsService {
749
784
  * Access Control:
750
785
  * - Requires IsAdminUserOrStudentDRFMixin
751
786
  * - Only authenticated users with appropriate permissions can upload and retrieve images
752
- * @param org
753
- * @param userId
754
- * @param requestBody
755
787
  * @returns UploadedImage
756
788
  * @throws ApiError
757
789
  */
758
- static credentialsOrgsUsersImagesCreate(org: string, userId: string, requestBody?: UploadedImage): CancelablePromise<UploadedImage>;
790
+ static credentialsOrgsUsersImagesCreate({ org, userId, requestBody, }: {
791
+ org: string;
792
+ requestBody?: UploadedImage;
793
+ }): CancelablePromise<UploadedImage>;
759
794
  /**
760
795
  * API View for managing credential issuers.
761
796
  *
@@ -818,13 +853,13 @@ export declare class CredentialsService {
818
853
  * Access Control:
819
854
  * - Requires IsAdminUserOrStudentDRFMixin
820
855
  * - Only authenticated users with appropriate permissions can manage issuers
821
- * @param org
822
- * @param q
823
- * @param userId
824
856
  * @returns Issuer
825
857
  * @throws ApiError
826
858
  */
827
- static credentialsOrgsUsersIssuersRetrieve(org: string, q: string, userId: string): CancelablePromise<Issuer>;
859
+ static credentialsOrgsUsersIssuersRetrieve({ org, q, userId, }: {
860
+ org: string;
861
+ q: string;
862
+ }): CancelablePromise<Issuer>;
828
863
  /**
829
864
  * API View for managing credential issuers.
830
865
  *
@@ -887,14 +922,14 @@ export declare class CredentialsService {
887
922
  * Access Control:
888
923
  * - Requires IsAdminUserOrStudentDRFMixin
889
924
  * - Only authenticated users with appropriate permissions can manage issuers
890
- * @param org
891
- * @param q
892
- * @param userId
893
- * @param requestBody
894
925
  * @returns Issuer
895
926
  * @throws ApiError
896
927
  */
897
- static credentialsOrgsUsersIssuersCreate(org: string, q: string, userId: string, requestBody: Issuer): CancelablePromise<Issuer>;
928
+ static credentialsOrgsUsersIssuersCreate({ org, q, userId, requestBody, }: {
929
+ org: string;
930
+ q: string;
931
+ requestBody: Issuer;
932
+ }): CancelablePromise<Issuer>;
898
933
  /**
899
934
  * API View for managing individual issuers.
900
935
  *
@@ -961,13 +996,13 @@ export declare class CredentialsService {
961
996
  * Access Control:
962
997
  * - Requires IsAdminUserOrStudentDRFMixin
963
998
  * - Only authenticated users with appropriate permissions can manage issuers
964
- * @param entityId
965
- * @param org
966
- * @param userId
967
999
  * @returns Issuer
968
1000
  * @throws ApiError
969
1001
  */
970
- static credentialsOrgsUsersIssuersRetrieve2(entityId: string, org: string, userId: string): CancelablePromise<Issuer>;
1002
+ static credentialsOrgsUsersIssuersRetrieve2({ entityId, org, userId, }: {
1003
+ entityId: string;
1004
+ org: string;
1005
+ }): CancelablePromise<Issuer>;
971
1006
  /**
972
1007
  * API View for managing individual issuers.
973
1008
  *
@@ -1034,14 +1069,14 @@ export declare class CredentialsService {
1034
1069
  * Access Control:
1035
1070
  * - Requires IsAdminUserOrStudentDRFMixin
1036
1071
  * - Only authenticated users with appropriate permissions can manage issuers
1037
- * @param entityId
1038
- * @param org
1039
- * @param userId
1040
- * @param requestBody
1041
1072
  * @returns Issuer
1042
1073
  * @throws ApiError
1043
1074
  */
1044
- static credentialsOrgsUsersIssuersUpdate(entityId: string, org: string, userId: string, requestBody: Issuer): CancelablePromise<Issuer>;
1075
+ static credentialsOrgsUsersIssuersUpdate({ entityId, org, userId, requestBody, }: {
1076
+ entityId: string;
1077
+ org: string;
1078
+ requestBody: Issuer;
1079
+ }): CancelablePromise<Issuer>;
1045
1080
  /**
1046
1081
  * API View for managing individual issuers.
1047
1082
  *
@@ -1108,13 +1143,13 @@ export declare class CredentialsService {
1108
1143
  * Access Control:
1109
1144
  * - Requires IsAdminUserOrStudentDRFMixin
1110
1145
  * - Only authenticated users with appropriate permissions can manage issuers
1111
- * @param entityId
1112
- * @param org
1113
- * @param userId
1114
1146
  * @returns void
1115
1147
  * @throws ApiError
1116
1148
  */
1117
- static credentialsOrgsUsersIssuersDestroy(entityId: string, org: string, userId: string): CancelablePromise<void>;
1149
+ static credentialsOrgsUsersIssuersDestroy({ entityId, org, userId, }: {
1150
+ entityId: string;
1151
+ org: string;
1152
+ }): CancelablePromise<void>;
1118
1153
  /**
1119
1154
  * API View for managing issuer authorities (signatories).
1120
1155
  *
@@ -1157,13 +1192,13 @@ export declare class CredentialsService {
1157
1192
  * Access Control:
1158
1193
  * - Requires IsAdminUserOrStudentDRFMixin
1159
1194
  * - Only authenticated users with appropriate permissions can manage authorities
1160
- * @param org
1161
- * @param userId
1162
- * @param requestBody
1163
1195
  * @returns IssuerAuthority
1164
1196
  * @throws ApiError
1165
1197
  */
1166
- static credentialsOrgsUsersIssuersAuthorityCreate(org: string, userId: string, requestBody: IssuerAuthority): CancelablePromise<IssuerAuthority>;
1198
+ static credentialsOrgsUsersIssuersAuthorityCreate({ org, userId, requestBody, }: {
1199
+ org: string;
1200
+ requestBody: IssuerAuthority;
1201
+ }): CancelablePromise<IssuerAuthority>;
1167
1202
  /**
1168
1203
  * Public endpoint to retrieve a specific credential assertion by its entity ID.
1169
1204
  *
@@ -1181,9 +1216,10 @@ export declare class CredentialsService {
1181
1216
  * - If the assertion doesn't exist: Empty response with 404 status
1182
1217
  * - If the assertion has been revoked: JSON with error detail and revocation reason
1183
1218
  * 500 Internal Server Error: If an unexpected error occurs
1184
- * @param entityId
1185
- * @returns any No response body
1219
+ * @returns Assertion
1186
1220
  * @throws ApiError
1187
1221
  */
1188
- static credentialsPublicAssertionsRetrieve(entityId: string): CancelablePromise<any>;
1222
+ static credentialsPublicAssertionsRetrieve({ entityId, }: {
1223
+ entityId: string;
1224
+ }): CancelablePromise<Assertion>;
1189
1225
  }
@@ -21,23 +21,60 @@ export declare class DepartmentsService {
21
21
  *
22
22
  * Returns:
23
23
  * A paginated list of departments with comprehensive metrics.
24
- * @param org
25
- * @param departmentId When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
26
- * @param departments Departments search string. Single string or list of strings. e.g 'sample_department' or `['department', 'another department']`
27
- * @param endDate Filter by learners date_joined. Start date. ISO 8601
28
- * @param format Format
29
- *
30
- * * `json` - json
31
- * @param includeMainPlatform Include main platform data
32
- * @param isEnrolled Filter for users who have at least an enro;lment
33
- * @param length Size of data to return
34
- * @param location Location search string
35
- * @param page Page offset
36
- * @param pathway Pathway string
37
- * @param program Program search string
38
- * @param startDate Filter by learners date_joined. Start date. ISO 8601
39
24
  * @returns GroupList
40
25
  * @throws ApiError
41
26
  */
42
- static departmentsOrgsRetrieve(org: string, departmentId?: number, departments?: Array<string>, endDate?: string, format?: 'json', includeMainPlatform?: boolean, isEnrolled?: boolean | null, length?: number, location?: string, page?: number, pathway?: string, program?: string, startDate?: string): CancelablePromise<GroupList>;
27
+ static departmentsOrgsRetrieve({ org, departmentId, departments, endDate, format, includeMainPlatform, isEnrolled, length, location, page, pathway, program, startDate, }: {
28
+ org: string;
29
+ /**
30
+ * When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
31
+ */
32
+ departmentId?: number;
33
+ /**
34
+ * Departments search string. Single string or list of strings. e.g 'sample_department' or `['department', 'another department']`
35
+ */
36
+ departments?: Array<string>;
37
+ /**
38
+ * Filter by learners date_joined. Start date. ISO 8601
39
+ */
40
+ endDate?: string;
41
+ /**
42
+ * Format
43
+ *
44
+ * * `json` - json
45
+ */
46
+ format?: 'json';
47
+ /**
48
+ * Include main platform data
49
+ */
50
+ includeMainPlatform?: boolean;
51
+ /**
52
+ * Filter for users who have at least an enro;lment
53
+ */
54
+ isEnrolled?: boolean | null;
55
+ /**
56
+ * Size of data to return
57
+ */
58
+ length?: number;
59
+ /**
60
+ * Location search string
61
+ */
62
+ location?: string;
63
+ /**
64
+ * Page offset
65
+ */
66
+ page?: number;
67
+ /**
68
+ * Pathway string
69
+ */
70
+ pathway?: string;
71
+ /**
72
+ * Program search string
73
+ */
74
+ program?: string;
75
+ /**
76
+ * Filter by learners date_joined. Start date. ISO 8601
77
+ */
78
+ startDate?: string;
79
+ }): CancelablePromise<GroupList>;
43
80
  }