@easyedu/js-lsm-api 1.120.0 → 1.121.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.120.0
1
+ # @easyedu/js-lsm-api@1.121.0
2
2
 
3
3
  A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
4
4
 
@@ -786,7 +786,7 @@ and is automatically generated by the
786
786
  [OpenAPI Generator](https://openapi-generator.tech) project:
787
787
 
788
788
  - API version: `1.0.0`
789
- - Package version: `1.120.0`
789
+ - Package version: `1.121.0`
790
790
  - Generator version: `7.22.0`
791
791
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
792
792
 
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { GetDispatchRollup } from './GetDispatchRollup';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -69,6 +70,12 @@ export interface GetHostedScormRegistration {
69
70
  * @memberof GetHostedScormRegistration
70
71
  */
71
72
  lastItemId?: string | null;
73
+ /**
74
+ * Latest course-level completion, success, score, and progress recorded for this learner.
75
+ * @type {GetDispatchRollup}
76
+ * @memberof GetHostedScormRegistration
77
+ */
78
+ rollup?: GetDispatchRollup | null;
72
79
  }
73
80
  /**
74
81
  * Check if a given object implements the GetHostedScormRegistration interface.
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { GetDispatchRollupFromJSON, GetDispatchRollupToJSON, } from './GetDispatchRollup';
14
15
  /**
15
16
  * Check if a given object implements the GetHostedScormRegistration interface.
16
17
  */
@@ -48,6 +49,7 @@ export function GetHostedScormRegistrationFromJSONTyped(json, ignoreDiscriminato
48
49
  'lastLaunchAt': json['last_launch_at'],
49
50
  'lastOrigin': json['last_origin'] == null ? undefined : json['last_origin'],
50
51
  'lastItemId': json['last_item_id'] == null ? undefined : json['last_item_id'],
52
+ 'rollup': json['rollup'] == null ? undefined : GetDispatchRollupFromJSON(json['rollup']),
51
53
  };
52
54
  }
53
55
  export function GetHostedScormRegistrationToJSON(json) {
@@ -67,5 +69,6 @@ export function GetHostedScormRegistrationToJSONTyped(value, ignoreDiscriminator
67
69
  'last_launch_at': value['lastLaunchAt'],
68
70
  'last_origin': value['lastOrigin'],
69
71
  'last_item_id': value['lastItemId'],
72
+ 'rollup': GetDispatchRollupToJSON(value['rollup']),
70
73
  };
71
74
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { GetDispatchRollup } from './GetDispatchRollup';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -69,6 +70,12 @@ export interface GetHostedScormRegistration {
69
70
  * @memberof GetHostedScormRegistration
70
71
  */
71
72
  lastItemId?: string | null;
73
+ /**
74
+ * Latest course-level completion, success, score, and progress recorded for this learner.
75
+ * @type {GetDispatchRollup}
76
+ * @memberof GetHostedScormRegistration
77
+ */
78
+ rollup?: GetDispatchRollup | null;
72
79
  }
73
80
  /**
74
81
  * Check if a given object implements the GetHostedScormRegistration interface.
@@ -18,6 +18,7 @@ exports.GetHostedScormRegistrationFromJSON = GetHostedScormRegistrationFromJSON;
18
18
  exports.GetHostedScormRegistrationFromJSONTyped = GetHostedScormRegistrationFromJSONTyped;
19
19
  exports.GetHostedScormRegistrationToJSON = GetHostedScormRegistrationToJSON;
20
20
  exports.GetHostedScormRegistrationToJSONTyped = GetHostedScormRegistrationToJSONTyped;
21
+ const GetDispatchRollup_1 = require("./GetDispatchRollup");
21
22
  /**
22
23
  * Check if a given object implements the GetHostedScormRegistration interface.
23
24
  */
@@ -55,6 +56,7 @@ function GetHostedScormRegistrationFromJSONTyped(json, ignoreDiscriminator) {
55
56
  'lastLaunchAt': json['last_launch_at'],
56
57
  'lastOrigin': json['last_origin'] == null ? undefined : json['last_origin'],
57
58
  'lastItemId': json['last_item_id'] == null ? undefined : json['last_item_id'],
59
+ 'rollup': json['rollup'] == null ? undefined : (0, GetDispatchRollup_1.GetDispatchRollupFromJSON)(json['rollup']),
58
60
  };
59
61
  }
60
62
  function GetHostedScormRegistrationToJSON(json) {
@@ -74,5 +76,6 @@ function GetHostedScormRegistrationToJSONTyped(value, ignoreDiscriminator = fals
74
76
  'last_launch_at': value['lastLaunchAt'],
75
77
  'last_origin': value['lastOrigin'],
76
78
  'last_item_id': value['lastItemId'],
79
+ 'rollup': (0, GetDispatchRollup_1.GetDispatchRollupToJSON)(value['rollup']),
77
80
  };
78
81
  }
@@ -15,6 +15,7 @@ Name | Type
15
15
  `lastLaunchAt` | number
16
16
  `lastOrigin` | string
17
17
  `lastItemId` | string
18
+ `rollup` | [GetDispatchRollup](GetDispatchRollup.md)
18
19
 
19
20
  ## Example
20
21
 
@@ -32,6 +33,7 @@ const example = {
32
33
  "lastLaunchAt": null,
33
34
  "lastOrigin": null,
34
35
  "lastItemId": null,
36
+ "rollup": null,
35
37
  } satisfies GetHostedScormRegistration
36
38
 
37
39
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyedu/js-lsm-api",
3
- "version": "1.120.0",
3
+ "version": "1.121.0",
4
4
  "description": "OpenAPI client for @easyedu/js-lsm-api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { GetDispatchRollup } from './GetDispatchRollup';
17
+ import {
18
+ GetDispatchRollupFromJSON,
19
+ GetDispatchRollupFromJSONTyped,
20
+ GetDispatchRollupToJSON,
21
+ GetDispatchRollupToJSONTyped,
22
+ } from './GetDispatchRollup';
23
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -73,6 +81,12 @@ export interface GetHostedScormRegistration {
73
81
  * @memberof GetHostedScormRegistration
74
82
  */
75
83
  lastItemId?: string | null;
84
+ /**
85
+ * Latest course-level completion, success, score, and progress recorded for this learner.
86
+ * @type {GetDispatchRollup}
87
+ * @memberof GetHostedScormRegistration
88
+ */
89
+ rollup?: GetDispatchRollup | null;
76
90
  }
77
91
 
78
92
  /**
@@ -108,6 +122,7 @@ export function GetHostedScormRegistrationFromJSONTyped(json: any, ignoreDiscrim
108
122
  'lastLaunchAt': json['last_launch_at'],
109
123
  'lastOrigin': json['last_origin'] == null ? undefined : json['last_origin'],
110
124
  'lastItemId': json['last_item_id'] == null ? undefined : json['last_item_id'],
125
+ 'rollup': json['rollup'] == null ? undefined : GetDispatchRollupFromJSON(json['rollup']),
111
126
  };
112
127
  }
113
128
 
@@ -131,6 +146,7 @@ export function GetHostedScormRegistrationToJSONTyped(value?: GetHostedScormRegi
131
146
  'last_launch_at': value['lastLaunchAt'],
132
147
  'last_origin': value['lastOrigin'],
133
148
  'last_item_id': value['lastItemId'],
149
+ 'rollup': GetDispatchRollupToJSON(value['rollup']),
134
150
  };
135
151
  }
136
152