@easyedu/js-lsm-api 1.95.0 → 1.96.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.95.0
1
+ # @easyedu/js-lsm-api@1.96.0
2
2
 
3
3
  A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
4
4
 
@@ -595,7 +595,7 @@ and is automatically generated by the
595
595
  [OpenAPI Generator](https://openapi-generator.tech) project:
596
596
 
597
597
  - API version: `1.0.0`
598
- - Package version: `1.95.0`
598
+ - Package version: `1.96.0`
599
599
  - Generator version: `7.22.0`
600
600
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
601
601
 
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * How the learner player should present the launched content.
13
+ * How the learner player should present the launched item.
14
14
  * @export
15
15
  */
16
16
  export declare const ContentLaunchMode: {
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * How the learner player should present the launched content.
15
+ * How the learner player should present the launched item.
16
16
  * @export
17
17
  */
18
18
  export const ContentLaunchMode = {
@@ -27,18 +27,6 @@ export interface GetQuestionQuizzesInner {
27
27
  * @memberof GetQuestionQuizzesInner
28
28
  */
29
29
  quizName: string;
30
- /**
31
- * Module external identifier
32
- * @type {string}
33
- * @memberof GetQuestionQuizzesInner
34
- */
35
- moduleId: string;
36
- /**
37
- * Course external identifier
38
- * @type {string}
39
- * @memberof GetQuestionQuizzesInner
40
- */
41
- courseId: string;
42
30
  }
43
31
  /**
44
32
  * Check if a given object implements the GetQuestionQuizzesInner interface.
@@ -19,10 +19,6 @@ export function instanceOfGetQuestionQuizzesInner(value) {
19
19
  return false;
20
20
  if (!('quizName' in value) || value['quizName'] === undefined)
21
21
  return false;
22
- if (!('moduleId' in value) || value['moduleId'] === undefined)
23
- return false;
24
- if (!('courseId' in value) || value['courseId'] === undefined)
25
- return false;
26
22
  return true;
27
23
  }
28
24
  export function GetQuestionQuizzesInnerFromJSON(json) {
@@ -35,8 +31,6 @@ export function GetQuestionQuizzesInnerFromJSONTyped(json, ignoreDiscriminator)
35
31
  return {
36
32
  'quizId': json['quiz_id'],
37
33
  'quizName': json['quiz_name'],
38
- 'moduleId': json['module_id'],
39
- 'courseId': json['course_id'],
40
34
  };
41
35
  }
42
36
  export function GetQuestionQuizzesInnerToJSON(json) {
@@ -49,7 +43,5 @@ export function GetQuestionQuizzesInnerToJSONTyped(value, ignoreDiscriminator =
49
43
  return {
50
44
  'quiz_id': value['quizId'],
51
45
  'quiz_name': value['quizName'],
52
- 'module_id': value['moduleId'],
53
- 'course_id': value['courseId'],
54
46
  };
55
47
  }
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * How the learner player should present the launched content.
13
+ * How the learner player should present the launched item.
14
14
  * @export
15
15
  */
16
16
  export declare const ContentLaunchMode: {
@@ -20,7 +20,7 @@ exports.ContentLaunchModeFromJSONTyped = ContentLaunchModeFromJSONTyped;
20
20
  exports.ContentLaunchModeToJSON = ContentLaunchModeToJSON;
21
21
  exports.ContentLaunchModeToJSONTyped = ContentLaunchModeToJSONTyped;
22
22
  /**
23
- * How the learner player should present the launched content.
23
+ * How the learner player should present the launched item.
24
24
  * @export
25
25
  */
26
26
  exports.ContentLaunchMode = {
@@ -27,18 +27,6 @@ export interface GetQuestionQuizzesInner {
27
27
  * @memberof GetQuestionQuizzesInner
28
28
  */
29
29
  quizName: string;
30
- /**
31
- * Module external identifier
32
- * @type {string}
33
- * @memberof GetQuestionQuizzesInner
34
- */
35
- moduleId: string;
36
- /**
37
- * Course external identifier
38
- * @type {string}
39
- * @memberof GetQuestionQuizzesInner
40
- */
41
- courseId: string;
42
30
  }
43
31
  /**
44
32
  * Check if a given object implements the GetQuestionQuizzesInner interface.
@@ -26,10 +26,6 @@ function instanceOfGetQuestionQuizzesInner(value) {
26
26
  return false;
27
27
  if (!('quizName' in value) || value['quizName'] === undefined)
28
28
  return false;
29
- if (!('moduleId' in value) || value['moduleId'] === undefined)
30
- return false;
31
- if (!('courseId' in value) || value['courseId'] === undefined)
32
- return false;
33
29
  return true;
34
30
  }
35
31
  function GetQuestionQuizzesInnerFromJSON(json) {
@@ -42,8 +38,6 @@ function GetQuestionQuizzesInnerFromJSONTyped(json, ignoreDiscriminator) {
42
38
  return {
43
39
  'quizId': json['quiz_id'],
44
40
  'quizName': json['quiz_name'],
45
- 'moduleId': json['module_id'],
46
- 'courseId': json['course_id'],
47
41
  };
48
42
  }
49
43
  function GetQuestionQuizzesInnerToJSON(json) {
@@ -56,7 +50,5 @@ function GetQuestionQuizzesInnerToJSONTyped(value, ignoreDiscriminator = false)
56
50
  return {
57
51
  'quiz_id': value['quizId'],
58
52
  'quiz_name': value['quizName'],
59
- 'module_id': value['moduleId'],
60
- 'course_id': value['courseId'],
61
53
  };
62
54
  }
@@ -1,7 +1,7 @@
1
1
 
2
2
  # ContentLaunchMode
3
3
 
4
- How the learner player should present the launched content.
4
+ How the learner player should present the launched item.
5
5
 
6
6
  ## Properties
7
7
 
@@ -537,7 +537,7 @@ async function example() {
537
537
  const api = new ContentLibraryQuizApi();
538
538
 
539
539
  const body = {
540
- // string (optional)
540
+ // string | Internal user ID, or `current` for the authenticated user. (optional)
541
541
  userId: userId_example,
542
542
  // string (optional)
543
543
  quizId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
@@ -576,7 +576,7 @@ example().catch(console.error);
576
576
 
577
577
  | Name | Type | Description | Notes |
578
578
  |------------- | ------------- | ------------- | -------------|
579
- | **userId** | `string` | | [Optional] [Defaults to `undefined`] |
579
+ | **userId** | `string` | Internal user ID, or `current` for the authenticated user. | [Optional] [Defaults to `undefined`] |
580
580
  | **quizId** | `string` | | [Optional] [Defaults to `undefined`] |
581
581
  | **quizVersionId** | `string` | | [Optional] [Defaults to `undefined`] |
582
582
  | **courseId** | `string` | | [Optional] [Defaults to `undefined`] |
@@ -8,8 +8,6 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `quizId` | string
10
10
  `quizName` | string
11
- `moduleId` | string
12
- `courseId` | string
13
11
 
14
12
  ## Example
15
13
 
@@ -20,8 +18,6 @@ import type { GetQuestionQuizzesInner } from '@easyedu/js-lsm-api'
20
18
  const example = {
21
19
  "quizId": null,
22
20
  "quizName": null,
23
- "moduleId": null,
24
- "courseId": null,
25
21
  } satisfies GetQuestionQuizzesInner
26
22
 
27
23
  console.log(example)
package/docs/PlayerApi.md CHANGED
@@ -513,7 +513,7 @@ async function example() {
513
513
  const api = new PlayerApi();
514
514
 
515
515
  const body = {
516
- // string (optional)
516
+ // string | External user ID, or `current` for the authenticated user. (optional)
517
517
  userId: userId_example,
518
518
  // string (optional)
519
519
  resourceId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
@@ -574,7 +574,7 @@ example().catch(console.error);
574
574
 
575
575
  | Name | Type | Description | Notes |
576
576
  |------------- | ------------- | ------------- | -------------|
577
- | **userId** | `string` | | [Optional] [Defaults to `undefined`] |
577
+ | **userId** | `string` | External user ID, or `current` for the authenticated user. | [Optional] [Defaults to `undefined`] |
578
578
  | **resourceId** | `string` | | [Optional] [Defaults to `undefined`] |
579
579
  | **versionId** | `string` | | [Optional] [Defaults to `undefined`] |
580
580
  | **courseId** | `string` | | [Optional] [Defaults to `undefined`] |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyedu/js-lsm-api",
3
- "version": "1.95.0",
3
+ "version": "1.96.0",
4
4
  "description": "OpenAPI client for @easyedu/js-lsm-api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
  /**
17
- * How the learner player should present the launched content.
17
+ * How the learner player should present the launched item.
18
18
  * @export
19
19
  */
20
20
  export const ContentLaunchMode = {
@@ -31,18 +31,6 @@ export interface GetQuestionQuizzesInner {
31
31
  * @memberof GetQuestionQuizzesInner
32
32
  */
33
33
  quizName: string;
34
- /**
35
- * Module external identifier
36
- * @type {string}
37
- * @memberof GetQuestionQuizzesInner
38
- */
39
- moduleId: string;
40
- /**
41
- * Course external identifier
42
- * @type {string}
43
- * @memberof GetQuestionQuizzesInner
44
- */
45
- courseId: string;
46
34
  }
47
35
 
48
36
  /**
@@ -51,8 +39,6 @@ export interface GetQuestionQuizzesInner {
51
39
  export function instanceOfGetQuestionQuizzesInner(value: object): value is GetQuestionQuizzesInner {
52
40
  if (!('quizId' in value) || value['quizId'] === undefined) return false;
53
41
  if (!('quizName' in value) || value['quizName'] === undefined) return false;
54
- if (!('moduleId' in value) || value['moduleId'] === undefined) return false;
55
- if (!('courseId' in value) || value['courseId'] === undefined) return false;
56
42
  return true;
57
43
  }
58
44
 
@@ -68,8 +54,6 @@ export function GetQuestionQuizzesInnerFromJSONTyped(json: any, ignoreDiscrimina
68
54
 
69
55
  'quizId': json['quiz_id'],
70
56
  'quizName': json['quiz_name'],
71
- 'moduleId': json['module_id'],
72
- 'courseId': json['course_id'],
73
57
  };
74
58
  }
75
59
 
@@ -86,8 +70,6 @@ export function GetQuestionQuizzesInnerToJSONTyped(value?: GetQuestionQuizzesInn
86
70
 
87
71
  'quiz_id': value['quizId'],
88
72
  'quiz_name': value['quizName'],
89
- 'module_id': value['moduleId'],
90
- 'course_id': value['courseId'],
91
73
  };
92
74
  }
93
75