@easyedu/js-lsm-api 1.44.0 → 1.45.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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @easyedu/js-lsm-api@1.44.0
1
+ # @easyedu/js-lsm-api@1.45.0
2
2
 
3
3
  A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
4
4
 
@@ -417,7 +417,7 @@ and is automatically generated by the
417
417
  [OpenAPI Generator](https://openapi-generator.tech) project:
418
418
 
419
419
  - API version: `1.0.0`
420
- - Package version: `1.44.0`
420
+ - Package version: `1.45.0`
421
421
  - Generator version: `7.21.0`
422
422
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
423
423
 
@@ -39,7 +39,21 @@ export interface PostCourseEnrollment {
39
39
  * @memberof PostCourseEnrollment
40
40
  */
41
41
  notes?: string | null;
42
+ /**
43
+ * The role/type of the user in this enrollment
44
+ * @type {PostCourseEnrollmentUserTypeEnum}
45
+ * @memberof PostCourseEnrollment
46
+ */
47
+ userType?: PostCourseEnrollmentUserTypeEnum | null;
42
48
  }
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const PostCourseEnrollmentUserTypeEnum: {
53
+ readonly Student: "Student";
54
+ readonly Instructor: "Instructor";
55
+ };
56
+ export type PostCourseEnrollmentUserTypeEnum = typeof PostCourseEnrollmentUserTypeEnum[keyof typeof PostCourseEnrollmentUserTypeEnum];
43
57
  /**
44
58
  * Check if a given object implements the PostCourseEnrollment interface.
45
59
  */
@@ -11,6 +11,13 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ /**
15
+ * @export
16
+ */
17
+ export const PostCourseEnrollmentUserTypeEnum = {
18
+ Student: 'Student',
19
+ Instructor: 'Instructor'
20
+ };
14
21
  /**
15
22
  * Check if a given object implements the PostCourseEnrollment interface.
16
23
  */
@@ -33,6 +40,7 @@ export function PostCourseEnrollmentFromJSONTyped(json, ignoreDiscriminator) {
33
40
  'enrollmentDateStart': json['enrollment_date_start'],
34
41
  'enrollmentDateEnd': json['enrollment_date_end'] == null ? undefined : json['enrollment_date_end'],
35
42
  'notes': json['notes'] == null ? undefined : json['notes'],
43
+ 'userType': json['user_type'] == null ? undefined : json['user_type'],
36
44
  };
37
45
  }
38
46
  export function PostCourseEnrollmentToJSON(json) {
@@ -47,5 +55,6 @@ export function PostCourseEnrollmentToJSONTyped(value, ignoreDiscriminator = fal
47
55
  'enrollment_date_start': value['enrollmentDateStart'],
48
56
  'enrollment_date_end': value['enrollmentDateEnd'],
49
57
  'notes': value['notes'],
58
+ 'user_type': value['userType'],
50
59
  };
51
60
  }
@@ -39,7 +39,21 @@ export interface PostCourseEnrollment {
39
39
  * @memberof PostCourseEnrollment
40
40
  */
41
41
  notes?: string | null;
42
+ /**
43
+ * The role/type of the user in this enrollment
44
+ * @type {PostCourseEnrollmentUserTypeEnum}
45
+ * @memberof PostCourseEnrollment
46
+ */
47
+ userType?: PostCourseEnrollmentUserTypeEnum | null;
42
48
  }
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const PostCourseEnrollmentUserTypeEnum: {
53
+ readonly Student: "Student";
54
+ readonly Instructor: "Instructor";
55
+ };
56
+ export type PostCourseEnrollmentUserTypeEnum = typeof PostCourseEnrollmentUserTypeEnum[keyof typeof PostCourseEnrollmentUserTypeEnum];
43
57
  /**
44
58
  * Check if a given object implements the PostCourseEnrollment interface.
45
59
  */
@@ -13,11 +13,19 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PostCourseEnrollmentUserTypeEnum = void 0;
16
17
  exports.instanceOfPostCourseEnrollment = instanceOfPostCourseEnrollment;
17
18
  exports.PostCourseEnrollmentFromJSON = PostCourseEnrollmentFromJSON;
18
19
  exports.PostCourseEnrollmentFromJSONTyped = PostCourseEnrollmentFromJSONTyped;
19
20
  exports.PostCourseEnrollmentToJSON = PostCourseEnrollmentToJSON;
20
21
  exports.PostCourseEnrollmentToJSONTyped = PostCourseEnrollmentToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.PostCourseEnrollmentUserTypeEnum = {
26
+ Student: 'Student',
27
+ Instructor: 'Instructor'
28
+ };
21
29
  /**
22
30
  * Check if a given object implements the PostCourseEnrollment interface.
23
31
  */
@@ -40,6 +48,7 @@ function PostCourseEnrollmentFromJSONTyped(json, ignoreDiscriminator) {
40
48
  'enrollmentDateStart': json['enrollment_date_start'],
41
49
  'enrollmentDateEnd': json['enrollment_date_end'] == null ? undefined : json['enrollment_date_end'],
42
50
  'notes': json['notes'] == null ? undefined : json['notes'],
51
+ 'userType': json['user_type'] == null ? undefined : json['user_type'],
43
52
  };
44
53
  }
45
54
  function PostCourseEnrollmentToJSON(json) {
@@ -54,5 +63,6 @@ function PostCourseEnrollmentToJSONTyped(value, ignoreDiscriminator = false) {
54
63
  'enrollment_date_start': value['enrollmentDateStart'],
55
64
  'enrollment_date_end': value['enrollmentDateEnd'],
56
65
  'notes': value['notes'],
66
+ 'user_type': value['userType'],
57
67
  };
58
68
  }
@@ -10,6 +10,7 @@ Name | Type
10
10
  `enrollmentDateStart` | number
11
11
  `enrollmentDateEnd` | number
12
12
  `notes` | string
13
+ `userType` | string
13
14
 
14
15
  ## Example
15
16
 
@@ -22,6 +23,7 @@ const example = {
22
23
  "enrollmentDateStart": null,
23
24
  "enrollmentDateEnd": null,
24
25
  "notes": null,
26
+ "userType": null,
25
27
  } satisfies PostCourseEnrollment
26
28
 
27
29
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyedu/js-lsm-api",
3
- "version": "1.44.0",
3
+ "version": "1.45.0",
4
4
  "description": "OpenAPI client for @easyedu/js-lsm-api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -43,8 +43,25 @@ export interface PostCourseEnrollment {
43
43
  * @memberof PostCourseEnrollment
44
44
  */
45
45
  notes?: string | null;
46
+ /**
47
+ * The role/type of the user in this enrollment
48
+ * @type {PostCourseEnrollmentUserTypeEnum}
49
+ * @memberof PostCourseEnrollment
50
+ */
51
+ userType?: PostCourseEnrollmentUserTypeEnum | null;
46
52
  }
47
53
 
54
+
55
+ /**
56
+ * @export
57
+ */
58
+ export const PostCourseEnrollmentUserTypeEnum = {
59
+ Student: 'Student',
60
+ Instructor: 'Instructor'
61
+ } as const;
62
+ export type PostCourseEnrollmentUserTypeEnum = typeof PostCourseEnrollmentUserTypeEnum[keyof typeof PostCourseEnrollmentUserTypeEnum];
63
+
64
+
48
65
  /**
49
66
  * Check if a given object implements the PostCourseEnrollment interface.
50
67
  */
@@ -68,6 +85,7 @@ export function PostCourseEnrollmentFromJSONTyped(json: any, ignoreDiscriminator
68
85
  'enrollmentDateStart': json['enrollment_date_start'],
69
86
  'enrollmentDateEnd': json['enrollment_date_end'] == null ? undefined : json['enrollment_date_end'],
70
87
  'notes': json['notes'] == null ? undefined : json['notes'],
88
+ 'userType': json['user_type'] == null ? undefined : json['user_type'],
71
89
  };
72
90
  }
73
91
 
@@ -86,6 +104,7 @@ export function PostCourseEnrollmentToJSONTyped(value?: PostCourseEnrollment | n
86
104
  'enrollment_date_start': value['enrollmentDateStart'],
87
105
  'enrollment_date_end': value['enrollmentDateEnd'],
88
106
  'notes': value['notes'],
107
+ 'user_type': value['userType'],
89
108
  };
90
109
  }
91
110