@iblai/iblai-api 3.45.14-core → 3.45.15-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 (69) hide show
  1. package/dist/index.cjs.js +1 -1
  2. package/dist/index.esm.js +1 -1
  3. package/dist/index.umd.js +1 -1
  4. package/dist/types/models/CourseGroupSuggestionDetail.d.ts +2 -2
  5. package/dist/types/models/CourseInvitationDetail.d.ts +2 -2
  6. package/dist/types/models/CourseLicenseAssignmentDetail.d.ts +2 -2
  7. package/dist/types/models/CourseLicenseDetail.d.ts +4 -0
  8. package/dist/types/models/CourseLicenseGroupAssignmentDetail.d.ts +2 -2
  9. package/dist/types/models/PaginatedCourseAccessRequest.d.ts +2 -2
  10. package/dist/types/models/PaginatedCourseGroupSuggestion.d.ts +2 -2
  11. package/dist/types/models/PaginatedCourseInvitation.d.ts +2 -2
  12. package/dist/types/models/PaginatedCourseLicense.d.ts +2 -2
  13. package/dist/types/models/PaginatedCourseLicenseAssignment.d.ts +2 -2
  14. package/dist/types/models/PaginatedCourseLicenseGroupAssignment.d.ts +2 -2
  15. package/dist/types/models/PaginatedCourseSuggestion.d.ts +2 -2
  16. package/dist/types/models/PaginatedPathwayGroupSuggestion.d.ts +2 -2
  17. package/dist/types/models/PaginatedPathwaySuggestion.d.ts +2 -2
  18. package/dist/types/models/PaginatedPlatformInvitation.d.ts +2 -2
  19. package/dist/types/models/PaginatedPlatformLicense.d.ts +2 -2
  20. package/dist/types/models/PaginatedProgramGroupSuggestion.d.ts +2 -2
  21. package/dist/types/models/PaginatedProgramInvitation.d.ts +2 -2
  22. package/dist/types/models/PaginatedProgramLicense.d.ts +2 -2
  23. package/dist/types/models/PaginatedProgramLicenseAssignment.d.ts +2 -2
  24. package/dist/types/models/PaginatedProgramLicenseGroupAssignment.d.ts +2 -2
  25. package/dist/types/models/PaginatedProgramSuggestion.d.ts +2 -2
  26. package/dist/types/models/PaginatedUserLicense.d.ts +2 -2
  27. package/dist/types/models/PaginatedUserLicenseAssignment.d.ts +2 -2
  28. package/dist/types/models/PaginatedUserLicenseGroupAssignment.d.ts +2 -2
  29. package/dist/types/models/PathwayGroupSuggestionDetail.d.ts +2 -2
  30. package/dist/types/models/PlatformInvitationDetail.d.ts +2 -2
  31. package/dist/types/models/ProgramLicenseAssignmentDetail.d.ts +4 -9
  32. package/dist/types/models/ProgramLicenseDetail.d.ts +6 -2
  33. package/dist/types/models/UserLicenseAssignmentDetail.d.ts +1 -1
  34. package/dist/types/models/UserLicenseDetail.d.ts +5 -1
  35. package/dist/types/models/UserLicenseGroupAssignmentDetail.d.ts +2 -2
  36. package/package.json +1 -1
  37. package/src/core/OpenAPI.ts +1 -1
  38. package/src/models/CourseGroupSuggestionDetail.ts +2 -2
  39. package/src/models/CourseInvitationDetail.ts +2 -2
  40. package/src/models/CourseLicenseAssignmentDetail.ts +2 -2
  41. package/src/models/CourseLicenseDetail.ts +4 -0
  42. package/src/models/CourseLicenseGroupAssignmentDetail.ts +2 -2
  43. package/src/models/PaginatedCourseAccessRequest.ts +2 -2
  44. package/src/models/PaginatedCourseGroupSuggestion.ts +2 -2
  45. package/src/models/PaginatedCourseInvitation.ts +2 -2
  46. package/src/models/PaginatedCourseLicense.ts +2 -2
  47. package/src/models/PaginatedCourseLicenseAssignment.ts +2 -2
  48. package/src/models/PaginatedCourseLicenseGroupAssignment.ts +2 -2
  49. package/src/models/PaginatedCourseSuggestion.ts +2 -2
  50. package/src/models/PaginatedPathwayGroupSuggestion.ts +2 -2
  51. package/src/models/PaginatedPathwaySuggestion.ts +2 -2
  52. package/src/models/PaginatedPlatformInvitation.ts +2 -2
  53. package/src/models/PaginatedPlatformLicense.ts +2 -2
  54. package/src/models/PaginatedProgramGroupSuggestion.ts +2 -2
  55. package/src/models/PaginatedProgramInvitation.ts +2 -2
  56. package/src/models/PaginatedProgramLicense.ts +2 -2
  57. package/src/models/PaginatedProgramLicenseAssignment.ts +2 -2
  58. package/src/models/PaginatedProgramLicenseGroupAssignment.ts +2 -2
  59. package/src/models/PaginatedProgramSuggestion.ts +2 -2
  60. package/src/models/PaginatedUserLicense.ts +2 -2
  61. package/src/models/PaginatedUserLicenseAssignment.ts +2 -2
  62. package/src/models/PaginatedUserLicenseGroupAssignment.ts +2 -2
  63. package/src/models/PathwayGroupSuggestionDetail.ts +2 -2
  64. package/src/models/PlatformInvitationDetail.ts +2 -2
  65. package/src/models/ProgramLicenseAssignmentDetail.ts +4 -9
  66. package/src/models/ProgramLicenseDetail.ts +6 -2
  67. package/src/models/UserLicenseAssignmentDetail.ts +1 -1
  68. package/src/models/UserLicenseDetail.ts +5 -1
  69. package/src/models/UserLicenseGroupAssignmentDetail.ts +2 -2
package/dist/index.cjs.js CHANGED
@@ -110,7 +110,7 @@ class CancelablePromise {
110
110
 
111
111
  const OpenAPI = {
112
112
  BASE: 'https://base.manager.iblai.app',
113
- VERSION: '3.45.14-core',
113
+ VERSION: '3.45.15-core',
114
114
  WITH_CREDENTIALS: false,
115
115
  CREDENTIALS: 'include',
116
116
  TOKEN: undefined,
package/dist/index.esm.js CHANGED
@@ -108,7 +108,7 @@ class CancelablePromise {
108
108
 
109
109
  const OpenAPI = {
110
110
  BASE: 'https://base.manager.iblai.app',
111
- VERSION: '3.45.14-core',
111
+ VERSION: '3.45.15-core',
112
112
  WITH_CREDENTIALS: false,
113
113
  CREDENTIALS: 'include',
114
114
  TOKEN: undefined,
package/dist/index.umd.js CHANGED
@@ -114,7 +114,7 @@
114
114
 
115
115
  const OpenAPI = {
116
116
  BASE: 'https://base.manager.iblai.app',
117
- VERSION: '3.45.14-core',
117
+ VERSION: '3.45.15-core',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -21,7 +21,7 @@ export type CourseGroupSuggestionDetail = {
21
21
  /**
22
22
  * Whether the suggestion has been accepted
23
23
  */
24
- accepted: boolean;
24
+ accepted?: boolean;
25
25
  /**
26
26
  * Whether the suggestion is visible
27
27
  */
@@ -49,5 +49,5 @@ export type CourseGroupSuggestionDetail = {
49
49
  /**
50
50
  * Number of users in the group
51
51
  */
52
- user_count: number;
52
+ user_count?: number;
53
53
  };
@@ -9,7 +9,7 @@ export type CourseInvitationDetail = {
9
9
  /**
10
10
  * The ID of the user associated with the invitation
11
11
  */
12
- user_id: number | null;
12
+ user_id?: number | null;
13
13
  /**
14
14
  * The username of the user associated with the invitation
15
15
  */
@@ -21,7 +21,7 @@ export type CourseInvitationDetail = {
21
21
  /**
22
22
  * When the invitation was created
23
23
  */
24
- created: string;
24
+ created?: string;
25
25
  /**
26
26
  * When the invitation was started
27
27
  */
@@ -25,11 +25,11 @@ export type CourseLicenseAssignmentDetail = {
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
  */
@@ -50,4 +50,8 @@ export type CourseLicenseDetail = {
50
50
  * The course ID associated with the license
51
51
  */
52
52
  course_id: string;
53
+ /**
54
+ * The number of seats purchased
55
+ */
56
+ usage_count?: number;
53
57
  };
@@ -21,11 +21,11 @@ export type CourseLicenseGroupAssignmentDetail = {
21
21
  /**
22
22
  * Whether the assignment has been fulfilled
23
23
  */
24
- fulfilled: boolean;
24
+ fulfilled?: boolean;
25
25
  /**
26
26
  * URL to redirect to after fulfillment
27
27
  */
28
- redirect_to: string | null;
28
+ redirect_to?: string | null;
29
29
  /**
30
30
  * Additional metadata for the assignment
31
31
  */
@@ -10,11 +10,11 @@ export type PaginatedCourseAccessRequest = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of access requests
20
20
  */
@@ -10,11 +10,11 @@ export type PaginatedCourseGroupSuggestion = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of course group suggestions
20
20
  */
@@ -10,11 +10,11 @@ export type PaginatedCourseInvitation = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of course invitations
20
20
  */
@@ -10,11 +10,11 @@ export type PaginatedCourseLicense = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of course licenses
20
20
  */
@@ -10,11 +10,11 @@ export type PaginatedCourseLicenseAssignment = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of course license assignments
20
20
  */
@@ -10,11 +10,11 @@ export type PaginatedCourseLicenseGroupAssignment = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of course license group assignments
20
20
  */
@@ -10,11 +10,11 @@ export type PaginatedCourseSuggestion = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of course suggestions
20
20
  */
@@ -10,11 +10,11 @@ export type PaginatedPathwayGroupSuggestion = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of pathway group suggestions
20
20
  */
@@ -10,11 +10,11 @@ export type PaginatedPathwaySuggestion = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of pathway suggestions
20
20
  */
@@ -10,11 +10,11 @@ export type PaginatedPlatformInvitation = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of platform invitations
20
20
  */
@@ -10,11 +10,11 @@ export type PaginatedPlatformLicense = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of platform licenses
20
20
  */
@@ -10,11 +10,11 @@ export type PaginatedProgramGroupSuggestion = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of program group suggestions
20
20
  */
@@ -10,11 +10,11 @@ export type PaginatedProgramInvitation = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of program invitations
20
20
  */
@@ -19,11 +19,11 @@ export type PaginatedProgramLicense = {
19
19
  /**
20
20
  * URL for next page of results
21
21
  */
22
- next: string | null;
22
+ next_page: string | null;
23
23
  /**
24
24
  * URL for previous page of results
25
25
  */
26
- previous: string | null;
26
+ previous_page: string | null;
27
27
  /**
28
28
  * List of program licenses
29
29
  */
@@ -19,11 +19,11 @@ export type PaginatedProgramLicenseAssignment = {
19
19
  /**
20
20
  * URL for next page of results
21
21
  */
22
- next: string | null;
22
+ next_page: string | null;
23
23
  /**
24
24
  * URL for previous page of results
25
25
  */
26
- previous: string | null;
26
+ previous_page: string | null;
27
27
  /**
28
28
  * List of program license assignments
29
29
  */
@@ -19,11 +19,11 @@ export type PaginatedProgramLicenseGroupAssignment = {
19
19
  /**
20
20
  * URL for next page of results
21
21
  */
22
- next: string | null;
22
+ next_page: string | null;
23
23
  /**
24
24
  * URL for previous page of results
25
25
  */
26
- previous: string | null;
26
+ previous_page: string | null;
27
27
  /**
28
28
  * List of program license group assignments
29
29
  */
@@ -10,11 +10,11 @@ export type PaginatedProgramSuggestion = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of program suggestions
20
20
  */
@@ -10,11 +10,11 @@ export type PaginatedUserLicense = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of user licenses
20
20
  */
@@ -10,11 +10,11 @@ export type PaginatedUserLicenseAssignment = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of user license assignments
20
20
  */
@@ -10,11 +10,11 @@ export type PaginatedUserLicenseGroupAssignment = {
10
10
  /**
11
11
  * URL for next page of results
12
12
  */
13
- next: string | null;
13
+ next_page: string | null;
14
14
  /**
15
15
  * URL for previous page of results
16
16
  */
17
- previous: string | null;
17
+ previous_page: string | null;
18
18
  /**
19
19
  * List of user license group assignments
20
20
  */
@@ -21,7 +21,7 @@ export type PathwayGroupSuggestionDetail = {
21
21
  /**
22
22
  * Whether the suggestion has been accepted
23
23
  */
24
- accepted: boolean;
24
+ accepted?: boolean;
25
25
  /**
26
26
  * Whether the suggestion is visible
27
27
  */
@@ -57,5 +57,5 @@ export type PathwayGroupSuggestionDetail = {
57
57
  /**
58
58
  * Number of users in the group
59
59
  */
60
- user_count: number;
60
+ user_count?: number;
61
61
  };
@@ -9,7 +9,7 @@ export type PlatformInvitationDetail = {
9
9
  /**
10
10
  * The ID of the user associated with the invitation
11
11
  */
12
- user_id: number | null;
12
+ user_id?: number | null;
13
13
  /**
14
14
  * The username of the user associated with the invitation
15
15
  */
@@ -21,7 +21,7 @@ export type PlatformInvitationDetail = {
21
21
  /**
22
22
  * When the invitation was created
23
23
  */
24
- created: string;
24
+ created?: string;
25
25
  /**
26
26
  * When the invitation was started
27
27
  */
@@ -20,7 +20,6 @@
20
20
  * license_id: The ID of the program license
21
21
  * license_name: The name of the program license
22
22
  * program_key: The program key associated with the license
23
- * program_name: The name of the program associated with the license
24
23
  */
25
24
  export type ProgramLicenseAssignmentDetail = {
26
25
  /**
@@ -54,11 +53,11 @@ export type ProgramLicenseAssignmentDetail = {
54
53
  /**
55
54
  * Whether the assignment was directly assigned to the user (vs. via a group)
56
55
  */
57
- direct: boolean | null;
56
+ direct?: boolean;
58
57
  /**
59
58
  * URL to redirect to after fulfillment
60
59
  */
61
- redirect_to: string | null;
60
+ redirect_to?: string;
62
61
  /**
63
62
  * Additional metadata for the assignment
64
63
  */
@@ -66,11 +65,11 @@ export type ProgramLicenseAssignmentDetail = {
66
65
  /**
67
66
  * When the assignment was created
68
67
  */
69
- created: string;
68
+ created?: string;
70
69
  /**
71
70
  * When the assignment was last modified
72
71
  */
73
- modified: string;
72
+ modified?: string;
74
73
  /**
75
74
  * The ID of the program license
76
75
  */
@@ -83,8 +82,4 @@ export type ProgramLicenseAssignmentDetail = {
83
82
  * The program key associated with the license
84
83
  */
85
84
  program_key: string;
86
- /**
87
- * The name of the program associated with the license
88
- */
89
- program_name: string;
90
85
  };
@@ -74,11 +74,15 @@ export type ProgramLicenseDetail = {
74
74
  /**
75
75
  * The program ID associated with the license
76
76
  */
77
- program_id: string;
77
+ program_id?: string;
78
+ /**
79
+ * The program key associated with the license
80
+ */
81
+ program_key?: string;
78
82
  /**
79
83
  * The name of the program associated with the license
80
84
  */
81
- program_name: string;
85
+ program_name?: string;
82
86
  /**
83
87
  * Number of assignments using this license
84
88
  */
@@ -29,7 +29,7 @@ export type UserLicenseAssignmentDetail = {
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
  */
@@ -46,8 +46,12 @@ export type UserLicenseDetail = {
46
46
  * The platform key associated with the license
47
47
  */
48
48
  platform_key: string;
49
+ /**
50
+ * Number of assignments using this license
51
+ */
52
+ usage_count?: number;
49
53
  /**
50
54
  * Assignment counts by status (only included in verbose mode)
51
55
  */
52
- assignments?: Record<string, number>;
56
+ assignments?: any;
53
57
  };
@@ -21,11 +21,11 @@ export type UserLicenseGroupAssignmentDetail = {
21
21
  /**
22
22
  * Whether the assignment has been fulfilled
23
23
  */
24
- fulfilled: boolean;
24
+ fulfilled?: boolean;
25
25
  /**
26
26
  * URL to redirect to after fulfillment
27
27
  */
28
- redirect_to: string | null;
28
+ redirect_to?: string | null;
29
29
  /**
30
30
  * Additional metadata for the assignment
31
31
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "3.45.14-core",
3
+ "version": "3.45.15-core",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",
@@ -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.14-core',
24
+ VERSION: '3.45.15-core',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -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
  */
@@ -14,11 +14,11 @@ export type PaginatedCourseAccessRequest = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of access requests
24
24
  */
@@ -14,11 +14,11 @@ export type PaginatedCourseGroupSuggestion = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of course group suggestions
24
24
  */
@@ -14,11 +14,11 @@ export type PaginatedCourseInvitation = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of course invitations
24
24
  */
@@ -14,11 +14,11 @@ export type PaginatedCourseLicense = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of course licenses
24
24
  */
@@ -14,11 +14,11 @@ export type PaginatedCourseLicenseAssignment = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of course license assignments
24
24
  */
@@ -14,11 +14,11 @@ export type PaginatedCourseLicenseGroupAssignment = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of course license group assignments
24
24
  */
@@ -14,11 +14,11 @@ export type PaginatedCourseSuggestion = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of course suggestions
24
24
  */
@@ -14,11 +14,11 @@ export type PaginatedPathwayGroupSuggestion = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of pathway group suggestions
24
24
  */
@@ -14,11 +14,11 @@ export type PaginatedPathwaySuggestion = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of pathway suggestions
24
24
  */
@@ -14,11 +14,11 @@ export type PaginatedPlatformInvitation = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of platform invitations
24
24
  */
@@ -14,11 +14,11 @@ export type PaginatedPlatformLicense = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of platform licenses
24
24
  */
@@ -14,11 +14,11 @@ export type PaginatedProgramGroupSuggestion = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of program group suggestions
24
24
  */
@@ -14,11 +14,11 @@ export type PaginatedProgramInvitation = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of program invitations
24
24
  */
@@ -23,11 +23,11 @@ export type PaginatedProgramLicense = {
23
23
  /**
24
24
  * URL for next page of results
25
25
  */
26
- next: string | null;
26
+ next_page: string | null;
27
27
  /**
28
28
  * URL for previous page of results
29
29
  */
30
- previous: string | null;
30
+ previous_page: string | null;
31
31
  /**
32
32
  * List of program licenses
33
33
  */
@@ -23,11 +23,11 @@ export type PaginatedProgramLicenseAssignment = {
23
23
  /**
24
24
  * URL for next page of results
25
25
  */
26
- next: string | null;
26
+ next_page: string | null;
27
27
  /**
28
28
  * URL for previous page of results
29
29
  */
30
- previous: string | null;
30
+ previous_page: string | null;
31
31
  /**
32
32
  * List of program license assignments
33
33
  */
@@ -23,11 +23,11 @@ export type PaginatedProgramLicenseGroupAssignment = {
23
23
  /**
24
24
  * URL for next page of results
25
25
  */
26
- next: string | null;
26
+ next_page: string | null;
27
27
  /**
28
28
  * URL for previous page of results
29
29
  */
30
- previous: string | null;
30
+ previous_page: string | null;
31
31
  /**
32
32
  * List of program license group assignments
33
33
  */
@@ -14,11 +14,11 @@ export type PaginatedProgramSuggestion = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of program suggestions
24
24
  */
@@ -14,11 +14,11 @@ export type PaginatedUserLicense = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of user licenses
24
24
  */
@@ -14,11 +14,11 @@ export type PaginatedUserLicenseAssignment = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of user license assignments
24
24
  */
@@ -14,11 +14,11 @@ export type PaginatedUserLicenseGroupAssignment = {
14
14
  /**
15
15
  * URL for next page of results
16
16
  */
17
- next: string | null;
17
+ next_page: string | null;
18
18
  /**
19
19
  * URL for previous page of results
20
20
  */
21
- previous: string | null;
21
+ previous_page: string | null;
22
22
  /**
23
23
  * List of user license group assignments
24
24
  */
@@ -25,7 +25,7 @@ export type PathwayGroupSuggestionDetail = {
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
  */
@@ -61,6 +61,6 @@ export type PathwayGroupSuggestionDetail = {
61
61
  /**
62
62
  * Number of users in the group
63
63
  */
64
- user_count: number;
64
+ user_count?: number;
65
65
  };
66
66
 
@@ -13,7 +13,7 @@ export type PlatformInvitationDetail = {
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 PlatformInvitationDetail = {
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
  */
@@ -24,7 +24,6 @@
24
24
  * license_id: The ID of the program license
25
25
  * license_name: The name of the program license
26
26
  * program_key: The program key associated with the license
27
- * program_name: The name of the program associated with the license
28
27
  */
29
28
  export type ProgramLicenseAssignmentDetail = {
30
29
  /**
@@ -58,11 +57,11 @@ export type ProgramLicenseAssignmentDetail = {
58
57
  /**
59
58
  * Whether the assignment was directly assigned to the user (vs. via a group)
60
59
  */
61
- direct: boolean | null;
60
+ direct?: boolean;
62
61
  /**
63
62
  * URL to redirect to after fulfillment
64
63
  */
65
- redirect_to: string | null;
64
+ redirect_to?: string;
66
65
  /**
67
66
  * Additional metadata for the assignment
68
67
  */
@@ -70,11 +69,11 @@ export type ProgramLicenseAssignmentDetail = {
70
69
  /**
71
70
  * When the assignment was created
72
71
  */
73
- created: string;
72
+ created?: string;
74
73
  /**
75
74
  * When the assignment was last modified
76
75
  */
77
- modified: string;
76
+ modified?: string;
78
77
  /**
79
78
  * The ID of the program license
80
79
  */
@@ -87,9 +86,5 @@ export type ProgramLicenseAssignmentDetail = {
87
86
  * The program key associated with the license
88
87
  */
89
88
  program_key: string;
90
- /**
91
- * The name of the program associated with the license
92
- */
93
- program_name: string;
94
89
  };
95
90
 
@@ -78,11 +78,15 @@ export type ProgramLicenseDetail = {
78
78
  /**
79
79
  * The program ID associated with the license
80
80
  */
81
- program_id: string;
81
+ program_id?: string;
82
+ /**
83
+ * The program key associated with the license
84
+ */
85
+ program_key?: string;
82
86
  /**
83
87
  * The name of the program associated with the license
84
88
  */
85
- program_name: string;
89
+ program_name?: string;
86
90
  /**
87
91
  * Number of assignments using this license
88
92
  */
@@ -33,7 +33,7 @@ export type UserLicenseAssignmentDetail = {
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
  */
@@ -50,9 +50,13 @@ export type UserLicenseDetail = {
50
50
  * The platform key associated with the license
51
51
  */
52
52
  platform_key: string;
53
+ /**
54
+ * Number of assignments using this license
55
+ */
56
+ usage_count?: number;
53
57
  /**
54
58
  * Assignment counts by status (only included in verbose mode)
55
59
  */
56
- assignments?: Record<string, number>;
60
+ assignments?: any;
57
61
  };
58
62
 
@@ -25,11 +25,11 @@ export type UserLicenseGroupAssignmentDetail = {
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
  */