@easyedu/js-lsm-api 1.7.0 → 1.9.0

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 (48) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/README.md +2 -2
  3. package/dist/apis/CourseApi.d.ts +21 -8
  4. package/dist/apis/CourseApi.js +46 -10
  5. package/dist/apis/PortalApi.d.ts +24 -1
  6. package/dist/apis/PortalApi.js +46 -1
  7. package/dist/esm/apis/CourseApi.d.ts +21 -8
  8. package/dist/esm/apis/CourseApi.js +47 -11
  9. package/dist/esm/apis/PortalApi.d.ts +24 -1
  10. package/dist/esm/apis/PortalApi.js +46 -1
  11. package/dist/esm/models/GetCourseEnrollment.d.ts +9 -5
  12. package/dist/esm/models/GetCourseEnrollment.js +5 -3
  13. package/dist/esm/models/GetPortalUser.d.ts +71 -0
  14. package/dist/esm/models/GetPortalUser.js +71 -0
  15. package/dist/esm/models/GetPortalUserList.d.ts +57 -0
  16. package/dist/esm/models/GetPortalUserList.js +60 -0
  17. package/dist/esm/models/PostContentSession.d.ts +6 -0
  18. package/dist/esm/models/PostContentSession.js +2 -0
  19. package/dist/esm/models/PostCourseEnrollment.d.ts +13 -7
  20. package/dist/esm/models/PostCourseEnrollment.js +4 -4
  21. package/dist/esm/models/PutCourseEnrollment.d.ts +53 -0
  22. package/dist/esm/models/PutCourseEnrollment.js +53 -0
  23. package/dist/esm/models/index.d.ts +3 -0
  24. package/dist/esm/models/index.js +3 -0
  25. package/dist/models/GetCourseEnrollment.d.ts +9 -5
  26. package/dist/models/GetCourseEnrollment.js +5 -3
  27. package/dist/models/GetPortalUser.d.ts +71 -0
  28. package/dist/models/GetPortalUser.js +79 -0
  29. package/dist/models/GetPortalUserList.d.ts +57 -0
  30. package/dist/models/GetPortalUserList.js +67 -0
  31. package/dist/models/PostContentSession.d.ts +6 -0
  32. package/dist/models/PostContentSession.js +2 -0
  33. package/dist/models/PostCourseEnrollment.d.ts +13 -7
  34. package/dist/models/PostCourseEnrollment.js +4 -4
  35. package/dist/models/PutCourseEnrollment.d.ts +53 -0
  36. package/dist/models/PutCourseEnrollment.js +61 -0
  37. package/dist/models/index.d.ts +3 -0
  38. package/dist/models/index.js +3 -0
  39. package/package.json +1 -1
  40. package/src/apis/CourseApi.ts +70 -11
  41. package/src/apis/PortalApi.ts +65 -0
  42. package/src/models/GetCourseEnrollment.ts +12 -5
  43. package/src/models/GetPortalUser.ts +123 -0
  44. package/src/models/GetPortalUserList.ts +110 -0
  45. package/src/models/PostContentSession.ts +8 -0
  46. package/src/models/PostCourseEnrollment.ts +17 -10
  47. package/src/models/PutCourseEnrollment.ts +93 -0
  48. package/src/models/index.ts +3 -0
@@ -17,6 +17,7 @@ import * as runtime from '../runtime';
17
17
  import type {
18
18
  GetPortal,
19
19
  GetPortalList,
20
+ GetPortalUserList,
20
21
  PostPortal,
21
22
  PostPortalInvite,
22
23
  PutPortalBranding,
@@ -26,6 +27,8 @@ import {
26
27
  GetPortalToJSON,
27
28
  GetPortalListFromJSON,
28
29
  GetPortalListToJSON,
30
+ GetPortalUserListFromJSON,
31
+ GetPortalUserListToJSON,
29
32
  PostPortalFromJSON,
30
33
  PostPortalToJSON,
31
34
  PostPortalInviteFromJSON,
@@ -38,6 +41,13 @@ export interface GetPortalByIdRequest {
38
41
  portalId: string;
39
42
  }
40
43
 
44
+ export interface GetPortalUsersRequest {
45
+ portalId: string;
46
+ roles?: Array<GetPortalUsersRolesEnum>;
47
+ page?: number;
48
+ pageSize?: number;
49
+ }
50
+
41
51
  export interface InviteUserToPortalRequest {
42
52
  portalId: string;
43
53
  postPortalInvite: PostPortalInvite;
@@ -121,6 +131,51 @@ export class PortalApi extends runtime.BaseAPI {
121
131
  return await response.value();
122
132
  }
123
133
 
134
+ /**
135
+ * Get all users for a portal with optional role filtering
136
+ */
137
+ async getPortalUsersRaw(requestParameters: GetPortalUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetPortalUserList>> {
138
+ if (requestParameters['portalId'] == null) {
139
+ throw new runtime.RequiredError(
140
+ 'portalId',
141
+ 'Required parameter "portalId" was null or undefined when calling getPortalUsers().'
142
+ );
143
+ }
144
+
145
+ const queryParameters: any = {};
146
+
147
+ if (requestParameters['roles'] != null) {
148
+ queryParameters['roles'] = requestParameters['roles'];
149
+ }
150
+
151
+ if (requestParameters['page'] != null) {
152
+ queryParameters['page'] = requestParameters['page'];
153
+ }
154
+
155
+ if (requestParameters['pageSize'] != null) {
156
+ queryParameters['page_size'] = requestParameters['pageSize'];
157
+ }
158
+
159
+ const headerParameters: runtime.HTTPHeaders = {};
160
+
161
+ const response = await this.request({
162
+ path: `/portals/{portalId}/users`.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId']))),
163
+ method: 'GET',
164
+ headers: headerParameters,
165
+ query: queryParameters,
166
+ }, initOverrides);
167
+
168
+ return new runtime.JSONApiResponse(response, (jsonValue) => GetPortalUserListFromJSON(jsonValue));
169
+ }
170
+
171
+ /**
172
+ * Get all users for a portal with optional role filtering
173
+ */
174
+ async getPortalUsers(requestParameters: GetPortalUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetPortalUserList> {
175
+ const response = await this.getPortalUsersRaw(requestParameters, initOverrides);
176
+ return await response.value();
177
+ }
178
+
124
179
  /**
125
180
  * Invite a new user to a portal
126
181
  */
@@ -279,3 +334,13 @@ export class PortalApi extends runtime.BaseAPI {
279
334
  }
280
335
 
281
336
  }
337
+
338
+ /**
339
+ * @export
340
+ */
341
+ export const GetPortalUsersRolesEnum = {
342
+ Admin: 'Admin',
343
+ Instructor: 'Instructor',
344
+ Learner: 'Learner'
345
+ } as const;
346
+ export type GetPortalUsersRolesEnum = typeof GetPortalUsersRolesEnum[keyof typeof GetPortalUsersRolesEnum];
@@ -20,13 +20,19 @@ import { mapValues } from '../runtime';
20
20
  */
21
21
  export interface GetCourseEnrollment {
22
22
  /**
23
- * The ID of the course
23
+ * The external ID of the enrollment
24
+ * @type {string}
25
+ * @memberof GetCourseEnrollment
26
+ */
27
+ id: string;
28
+ /**
29
+ * The external ID of the course
24
30
  * @type {string}
25
31
  * @memberof GetCourseEnrollment
26
32
  */
27
33
  courseId: string;
28
34
  /**
29
- * The ID of the enrolled user
35
+ * The external ID of the enrolled user
30
36
  * @type {string}
31
37
  * @memberof GetCourseEnrollment
32
38
  */
@@ -69,10 +75,8 @@ export interface GetCourseEnrollment {
69
75
  */
70
76
  export const GetCourseEnrollmentStatusEnum = {
71
77
  Enrolled: 'Enrolled',
72
- Dropped: 'Dropped',
73
78
  Completed: 'Completed',
74
- Waitlisted: 'Waitlisted',
75
- Unknown: 'Unknown'
79
+ Removed: 'Removed'
76
80
  } as const;
77
81
  export type GetCourseEnrollmentStatusEnum = typeof GetCourseEnrollmentStatusEnum[keyof typeof GetCourseEnrollmentStatusEnum];
78
82
 
@@ -81,6 +85,7 @@ export type GetCourseEnrollmentStatusEnum = typeof GetCourseEnrollmentStatusEnum
81
85
  * Check if a given object implements the GetCourseEnrollment interface.
82
86
  */
83
87
  export function instanceOfGetCourseEnrollment(value: object): value is GetCourseEnrollment {
88
+ if (!('id' in value) || value['id'] === undefined) return false;
84
89
  if (!('courseId' in value) || value['courseId'] === undefined) return false;
85
90
  if (!('userId' in value) || value['userId'] === undefined) return false;
86
91
  if (!('enrollmentDateStart' in value) || value['enrollmentDateStart'] === undefined) return false;
@@ -101,6 +106,7 @@ export function GetCourseEnrollmentFromJSONTyped(json: any, ignoreDiscriminator:
101
106
  }
102
107
  return {
103
108
 
109
+ 'id': json['id'],
104
110
  'courseId': json['course_id'],
105
111
  'userId': json['user_id'],
106
112
  'enrollmentDateStart': json['enrollment_date_start'],
@@ -122,6 +128,7 @@ export function GetCourseEnrollmentToJSONTyped(value?: GetCourseEnrollment | nul
122
128
 
123
129
  return {
124
130
 
131
+ 'id': value['id'],
125
132
  'course_id': value['courseId'],
126
133
  'user_id': value['userId'],
127
134
  'enrollment_date_start': value['enrollmentDateStart'],
@@ -0,0 +1,123 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ * A user with their portal access information
18
+ * @export
19
+ * @interface GetPortalUser
20
+ */
21
+ export interface GetPortalUser {
22
+ /**
23
+ * The unique identifier for the user
24
+ * @type {string}
25
+ * @memberof GetPortalUser
26
+ */
27
+ userId: string;
28
+ /**
29
+ * The user's email address
30
+ * @type {string}
31
+ * @memberof GetPortalUser
32
+ */
33
+ email: string;
34
+ /**
35
+ * The user's first name
36
+ * @type {string}
37
+ * @memberof GetPortalUser
38
+ */
39
+ firstName: string;
40
+ /**
41
+ * The user's last name
42
+ * @type {string}
43
+ * @memberof GetPortalUser
44
+ */
45
+ lastName: string;
46
+ /**
47
+ * The user's role in the portal
48
+ * @type {string}
49
+ * @memberof GetPortalUser
50
+ */
51
+ role: GetPortalUserRoleEnum;
52
+ /**
53
+ * Whether the user's portal access is active
54
+ * @type {boolean}
55
+ * @memberof GetPortalUser
56
+ */
57
+ isActive: boolean;
58
+ }
59
+
60
+
61
+ /**
62
+ * @export
63
+ */
64
+ export const GetPortalUserRoleEnum = {
65
+ Admin: 'Admin',
66
+ Instructor: 'Instructor',
67
+ Learner: 'Learner'
68
+ } as const;
69
+ export type GetPortalUserRoleEnum = typeof GetPortalUserRoleEnum[keyof typeof GetPortalUserRoleEnum];
70
+
71
+
72
+ /**
73
+ * Check if a given object implements the GetPortalUser interface.
74
+ */
75
+ export function instanceOfGetPortalUser(value: object): value is GetPortalUser {
76
+ if (!('userId' in value) || value['userId'] === undefined) return false;
77
+ if (!('email' in value) || value['email'] === undefined) return false;
78
+ if (!('firstName' in value) || value['firstName'] === undefined) return false;
79
+ if (!('lastName' in value) || value['lastName'] === undefined) return false;
80
+ if (!('role' in value) || value['role'] === undefined) return false;
81
+ if (!('isActive' in value) || value['isActive'] === undefined) return false;
82
+ return true;
83
+ }
84
+
85
+ export function GetPortalUserFromJSON(json: any): GetPortalUser {
86
+ return GetPortalUserFromJSONTyped(json, false);
87
+ }
88
+
89
+ export function GetPortalUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalUser {
90
+ if (json == null) {
91
+ return json;
92
+ }
93
+ return {
94
+
95
+ 'userId': json['user_id'],
96
+ 'email': json['email'],
97
+ 'firstName': json['first_name'],
98
+ 'lastName': json['last_name'],
99
+ 'role': json['role'],
100
+ 'isActive': json['is_active'],
101
+ };
102
+ }
103
+
104
+ export function GetPortalUserToJSON(json: any): GetPortalUser {
105
+ return GetPortalUserToJSONTyped(json, false);
106
+ }
107
+
108
+ export function GetPortalUserToJSONTyped(value?: GetPortalUser | null, ignoreDiscriminator: boolean = false): any {
109
+ if (value == null) {
110
+ return value;
111
+ }
112
+
113
+ return {
114
+
115
+ 'user_id': value['userId'],
116
+ 'email': value['email'],
117
+ 'first_name': value['firstName'],
118
+ 'last_name': value['lastName'],
119
+ 'role': value['role'],
120
+ 'is_active': value['isActive'],
121
+ };
122
+ }
123
+
@@ -0,0 +1,110 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { GetPortalUser } from './GetPortalUser';
17
+ import {
18
+ GetPortalUserFromJSON,
19
+ GetPortalUserFromJSONTyped,
20
+ GetPortalUserToJSON,
21
+ GetPortalUserToJSONTyped,
22
+ } from './GetPortalUser';
23
+
24
+ /**
25
+ * A list of portal users with pagination information
26
+ * @export
27
+ * @interface GetPortalUserList
28
+ */
29
+ export interface GetPortalUserList {
30
+ /**
31
+ * The current page number
32
+ * @type {number}
33
+ * @memberof GetPortalUserList
34
+ */
35
+ page: number;
36
+ /**
37
+ * The number of items per page
38
+ * @type {number}
39
+ * @memberof GetPortalUserList
40
+ */
41
+ pageSize: number;
42
+ /**
43
+ * The total number of pages
44
+ * @type {number}
45
+ * @memberof GetPortalUserList
46
+ */
47
+ totalPages: number;
48
+ /**
49
+ * The total number of items
50
+ * @type {number}
51
+ * @memberof GetPortalUserList
52
+ */
53
+ totalItems: number;
54
+ /**
55
+ *
56
+ * @type {Array<GetPortalUser>}
57
+ * @memberof GetPortalUserList
58
+ */
59
+ items: Array<GetPortalUser>;
60
+ }
61
+
62
+ /**
63
+ * Check if a given object implements the GetPortalUserList interface.
64
+ */
65
+ export function instanceOfGetPortalUserList(value: object): value is GetPortalUserList {
66
+ if (!('page' in value) || value['page'] === undefined) return false;
67
+ if (!('pageSize' in value) || value['pageSize'] === undefined) return false;
68
+ if (!('totalPages' in value) || value['totalPages'] === undefined) return false;
69
+ if (!('totalItems' in value) || value['totalItems'] === undefined) return false;
70
+ if (!('items' in value) || value['items'] === undefined) return false;
71
+ return true;
72
+ }
73
+
74
+ export function GetPortalUserListFromJSON(json: any): GetPortalUserList {
75
+ return GetPortalUserListFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function GetPortalUserListFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalUserList {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'page': json['page'],
85
+ 'pageSize': json['page_size'],
86
+ 'totalPages': json['total_pages'],
87
+ 'totalItems': json['total_items'],
88
+ 'items': ((json['items'] as Array<any>).map(GetPortalUserFromJSON)),
89
+ };
90
+ }
91
+
92
+ export function GetPortalUserListToJSON(json: any): GetPortalUserList {
93
+ return GetPortalUserListToJSONTyped(json, false);
94
+ }
95
+
96
+ export function GetPortalUserListToJSONTyped(value?: GetPortalUserList | null, ignoreDiscriminator: boolean = false): any {
97
+ if (value == null) {
98
+ return value;
99
+ }
100
+
101
+ return {
102
+
103
+ 'page': value['page'],
104
+ 'page_size': value['pageSize'],
105
+ 'total_pages': value['totalPages'],
106
+ 'total_items': value['totalItems'],
107
+ 'items': ((value['items'] as Array<any>).map(GetPortalUserToJSON)),
108
+ };
109
+ }
110
+
@@ -43,6 +43,12 @@ export interface PostContentSession {
43
43
  * @memberof PostContentSession
44
44
  */
45
45
  createdAt: number;
46
+ /**
47
+ * The player session ID (used for SCORM, Quiz, and other interactive content). This is the external_id of the session that the player should use.
48
+ * @type {string}
49
+ * @memberof PostContentSession
50
+ */
51
+ playerSessionId?: string | null;
46
52
  }
47
53
 
48
54
  /**
@@ -70,6 +76,7 @@ export function PostContentSessionFromJSONTyped(json: any, ignoreDiscriminator:
70
76
  'userId': json['user_id'],
71
77
  'launchUrl': json['launch_url'],
72
78
  'createdAt': json['created_at'],
79
+ 'playerSessionId': json['player_session_id'] == null ? undefined : json['player_session_id'],
73
80
  };
74
81
  }
75
82
 
@@ -88,6 +95,7 @@ export function PostContentSessionToJSONTyped(value?: PostContentSession | null,
88
95
  'user_id': value['userId'],
89
96
  'launch_url': value['launchUrl'],
90
97
  'created_at': value['createdAt'],
98
+ 'player_session_id': value['playerSessionId'],
91
99
  };
92
100
  }
93
101
 
@@ -20,30 +20,35 @@ import { mapValues } from '../runtime';
20
20
  */
21
21
  export interface PostCourseEnrollment {
22
22
  /**
23
- * The ID of the course
23
+ * The external ID of the user to enroll
24
24
  * @type {string}
25
25
  * @memberof PostCourseEnrollment
26
26
  */
27
- courseId: string;
27
+ userId: string;
28
28
  /**
29
- * The ID of the enrolled user
30
- * @type {string}
29
+ * Start date of the enrollment (Unix timestamp)
30
+ * @type {number}
31
31
  * @memberof PostCourseEnrollment
32
32
  */
33
- userId: string;
33
+ enrollmentDateStart: number;
34
34
  /**
35
- *
35
+ * End date of the enrollment (Unix timestamp)
36
36
  * @type {number}
37
37
  * @memberof PostCourseEnrollment
38
38
  */
39
- enrollmentDateStart: number;
39
+ enrollmentDateEnd?: number | null;
40
+ /**
41
+ * Optional notes about the enrollment
42
+ * @type {string}
43
+ * @memberof PostCourseEnrollment
44
+ */
45
+ notes?: string | null;
40
46
  }
41
47
 
42
48
  /**
43
49
  * Check if a given object implements the PostCourseEnrollment interface.
44
50
  */
45
51
  export function instanceOfPostCourseEnrollment(value: object): value is PostCourseEnrollment {
46
- if (!('courseId' in value) || value['courseId'] === undefined) return false;
47
52
  if (!('userId' in value) || value['userId'] === undefined) return false;
48
53
  if (!('enrollmentDateStart' in value) || value['enrollmentDateStart'] === undefined) return false;
49
54
  return true;
@@ -59,9 +64,10 @@ export function PostCourseEnrollmentFromJSONTyped(json: any, ignoreDiscriminator
59
64
  }
60
65
  return {
61
66
 
62
- 'courseId': json['course_id'],
63
67
  'userId': json['user_id'],
64
68
  'enrollmentDateStart': json['enrollment_date_start'],
69
+ 'enrollmentDateEnd': json['enrollment_date_end'] == null ? undefined : json['enrollment_date_end'],
70
+ 'notes': json['notes'] == null ? undefined : json['notes'],
65
71
  };
66
72
  }
67
73
 
@@ -76,9 +82,10 @@ export function PostCourseEnrollmentToJSONTyped(value?: PostCourseEnrollment | n
76
82
 
77
83
  return {
78
84
 
79
- 'course_id': value['courseId'],
80
85
  'user_id': value['userId'],
81
86
  'enrollment_date_start': value['enrollmentDateStart'],
87
+ 'enrollment_date_end': value['enrollmentDateEnd'],
88
+ 'notes': value['notes'],
82
89
  };
83
90
  }
84
91
 
@@ -0,0 +1,93 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface PutCourseEnrollment
20
+ */
21
+ export interface PutCourseEnrollment {
22
+ /**
23
+ * Current status of the enrollment
24
+ * @type {string}
25
+ * @memberof PutCourseEnrollment
26
+ */
27
+ status?: PutCourseEnrollmentStatusEnum;
28
+ /**
29
+ * End date of the enrollment (Unix timestamp)
30
+ * @type {number}
31
+ * @memberof PutCourseEnrollment
32
+ */
33
+ enrollmentDateEnd?: number;
34
+ /**
35
+ * Optional notes about the enrollment
36
+ * @type {string}
37
+ * @memberof PutCourseEnrollment
38
+ */
39
+ notes?: string;
40
+ }
41
+
42
+
43
+ /**
44
+ * @export
45
+ */
46
+ export const PutCourseEnrollmentStatusEnum = {
47
+ Enrolled: 'Enrolled',
48
+ Completed: 'Completed',
49
+ Removed: 'Removed'
50
+ } as const;
51
+ export type PutCourseEnrollmentStatusEnum = typeof PutCourseEnrollmentStatusEnum[keyof typeof PutCourseEnrollmentStatusEnum];
52
+
53
+
54
+ /**
55
+ * Check if a given object implements the PutCourseEnrollment interface.
56
+ */
57
+ export function instanceOfPutCourseEnrollment(value: object): value is PutCourseEnrollment {
58
+ return true;
59
+ }
60
+
61
+ export function PutCourseEnrollmentFromJSON(json: any): PutCourseEnrollment {
62
+ return PutCourseEnrollmentFromJSONTyped(json, false);
63
+ }
64
+
65
+ export function PutCourseEnrollmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutCourseEnrollment {
66
+ if (json == null) {
67
+ return json;
68
+ }
69
+ return {
70
+
71
+ 'status': json['status'] == null ? undefined : json['status'],
72
+ 'enrollmentDateEnd': json['enrollment_date_end'] == null ? undefined : json['enrollment_date_end'],
73
+ 'notes': json['notes'] == null ? undefined : json['notes'],
74
+ };
75
+ }
76
+
77
+ export function PutCourseEnrollmentToJSON(json: any): PutCourseEnrollment {
78
+ return PutCourseEnrollmentToJSONTyped(json, false);
79
+ }
80
+
81
+ export function PutCourseEnrollmentToJSONTyped(value?: PutCourseEnrollment | null, ignoreDiscriminator: boolean = false): any {
82
+ if (value == null) {
83
+ return value;
84
+ }
85
+
86
+ return {
87
+
88
+ 'status': value['status'],
89
+ 'enrollment_date_end': value['enrollmentDateEnd'],
90
+ 'notes': value['notes'],
91
+ };
92
+ }
93
+
@@ -18,6 +18,8 @@ export * from './GetModule';
18
18
  export * from './GetModuleList';
19
19
  export * from './GetPortal';
20
20
  export * from './GetPortalList';
21
+ export * from './GetPortalUser';
22
+ export * from './GetPortalUserList';
21
23
  export * from './GetQuestion';
22
24
  export * from './GetQuestionAnswerChoicesInner';
23
25
  export * from './GetQuestionList';
@@ -112,6 +114,7 @@ export * from './PostResetPassword';
112
114
  export * from './PostSendResetPassword';
113
115
  export * from './PutContent';
114
116
  export * from './PutCourse';
117
+ export * from './PutCourseEnrollment';
115
118
  export * from './PutModule';
116
119
  export * from './PutPortalBranding';
117
120
  export * from './PutQuestion';