@easyedu/js-lsm-api 1.110.0 → 1.112.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 (145) hide show
  1. package/.openapi-generator/FILES +42 -0
  2. package/README.md +33 -2
  3. package/dist/apis/LearnerExperienceApi.d.ts +153 -0
  4. package/dist/apis/LearnerExperienceApi.js +401 -0
  5. package/dist/apis/QuestionImportApi.d.ts +51 -0
  6. package/dist/apis/QuestionImportApi.js +135 -0
  7. package/dist/apis/index.d.ts +2 -0
  8. package/dist/apis/index.js +2 -0
  9. package/dist/esm/apis/LearnerExperienceApi.d.ts +153 -0
  10. package/dist/esm/apis/LearnerExperienceApi.js +397 -0
  11. package/dist/esm/apis/QuestionImportApi.d.ts +51 -0
  12. package/dist/esm/apis/QuestionImportApi.js +131 -0
  13. package/dist/esm/apis/index.d.ts +2 -0
  14. package/dist/esm/apis/index.js +2 -0
  15. package/dist/esm/models/GetEffectiveLearnerExperience.d.ts +62 -0
  16. package/dist/esm/models/GetEffectiveLearnerExperience.js +62 -0
  17. package/dist/esm/models/GetLearnerDashboard.d.ts +47 -0
  18. package/dist/esm/models/GetLearnerDashboard.js +54 -0
  19. package/dist/esm/models/GetLearnerDashboardCourseList.d.ts +39 -0
  20. package/dist/esm/models/GetLearnerDashboardCourseList.js +48 -0
  21. package/dist/esm/models/GetLearnerDashboardSummary.d.ts +56 -0
  22. package/dist/esm/models/GetLearnerDashboardSummary.js +59 -0
  23. package/dist/esm/models/GetLearnerExperience.d.ts +67 -0
  24. package/dist/esm/models/GetLearnerExperience.js +65 -0
  25. package/dist/esm/models/GetLearnerExperiencePreview.d.ts +40 -0
  26. package/dist/esm/models/GetLearnerExperiencePreview.js +47 -0
  27. package/dist/esm/models/GetQuestion.d.ts +7 -0
  28. package/dist/esm/models/GetQuestion.js +3 -0
  29. package/dist/esm/models/LearnerExperienceVersion.d.ts +86 -0
  30. package/dist/esm/models/LearnerExperienceVersion.js +76 -0
  31. package/dist/esm/models/PostLearnerExperiencePreview.d.ts +40 -0
  32. package/dist/esm/models/PostLearnerExperiencePreview.js +45 -0
  33. package/dist/esm/models/PostQuestionImportCommit.d.ts +58 -0
  34. package/dist/esm/models/PostQuestionImportCommit.js +59 -0
  35. package/dist/esm/models/PostQuestionImportCommitItem.d.ts +72 -0
  36. package/dist/esm/models/PostQuestionImportCommitItem.js +66 -0
  37. package/dist/esm/models/PostQuestionImportCommitResponse.d.ts +51 -0
  38. package/dist/esm/models/PostQuestionImportCommitResponse.js +56 -0
  39. package/dist/esm/models/PostQuestionImportParseResponse.d.ts +71 -0
  40. package/dist/esm/models/PostQuestionImportParseResponse.js +70 -0
  41. package/dist/esm/models/PutLearnerExperienceDraft.d.ts +40 -0
  42. package/dist/esm/models/PutLearnerExperienceDraft.js +45 -0
  43. package/dist/esm/models/QuestionImportCommitResult.d.ts +53 -0
  44. package/dist/esm/models/QuestionImportCommitResult.js +57 -0
  45. package/dist/esm/models/QuestionImportDraft.d.ts +76 -0
  46. package/dist/esm/models/QuestionImportDraft.js +69 -0
  47. package/dist/esm/models/QuestionImportDuplicate.d.ts +66 -0
  48. package/dist/esm/models/QuestionImportDuplicate.js +62 -0
  49. package/dist/esm/models/QuestionImportPreviewImage.d.ts +84 -0
  50. package/dist/esm/models/QuestionImportPreviewImage.js +76 -0
  51. package/dist/esm/models/QuestionImportSource.d.ts +56 -0
  52. package/dist/esm/models/QuestionImportSource.js +57 -0
  53. package/dist/esm/models/QuestionImportSourceSummary.d.ts +50 -0
  54. package/dist/esm/models/QuestionImportSourceSummary.js +53 -0
  55. package/dist/esm/models/index.d.ts +19 -0
  56. package/dist/esm/models/index.js +19 -0
  57. package/dist/models/GetEffectiveLearnerExperience.d.ts +62 -0
  58. package/dist/models/GetEffectiveLearnerExperience.js +70 -0
  59. package/dist/models/GetLearnerDashboard.d.ts +47 -0
  60. package/dist/models/GetLearnerDashboard.js +61 -0
  61. package/dist/models/GetLearnerDashboardCourseList.d.ts +39 -0
  62. package/dist/models/GetLearnerDashboardCourseList.js +55 -0
  63. package/dist/models/GetLearnerDashboardSummary.d.ts +56 -0
  64. package/dist/models/GetLearnerDashboardSummary.js +66 -0
  65. package/dist/models/GetLearnerExperience.d.ts +67 -0
  66. package/dist/models/GetLearnerExperience.js +73 -0
  67. package/dist/models/GetLearnerExperiencePreview.d.ts +40 -0
  68. package/dist/models/GetLearnerExperiencePreview.js +54 -0
  69. package/dist/models/GetQuestion.d.ts +7 -0
  70. package/dist/models/GetQuestion.js +3 -0
  71. package/dist/models/LearnerExperienceVersion.d.ts +86 -0
  72. package/dist/models/LearnerExperienceVersion.js +84 -0
  73. package/dist/models/PostLearnerExperiencePreview.d.ts +40 -0
  74. package/dist/models/PostLearnerExperiencePreview.js +52 -0
  75. package/dist/models/PostQuestionImportCommit.d.ts +58 -0
  76. package/dist/models/PostQuestionImportCommit.js +66 -0
  77. package/dist/models/PostQuestionImportCommitItem.d.ts +72 -0
  78. package/dist/models/PostQuestionImportCommitItem.js +74 -0
  79. package/dist/models/PostQuestionImportCommitResponse.d.ts +51 -0
  80. package/dist/models/PostQuestionImportCommitResponse.js +63 -0
  81. package/dist/models/PostQuestionImportParseResponse.d.ts +71 -0
  82. package/dist/models/PostQuestionImportParseResponse.js +77 -0
  83. package/dist/models/PutLearnerExperienceDraft.d.ts +40 -0
  84. package/dist/models/PutLearnerExperienceDraft.js +52 -0
  85. package/dist/models/QuestionImportCommitResult.d.ts +53 -0
  86. package/dist/models/QuestionImportCommitResult.js +65 -0
  87. package/dist/models/QuestionImportDraft.d.ts +76 -0
  88. package/dist/models/QuestionImportDraft.js +76 -0
  89. package/dist/models/QuestionImportDuplicate.d.ts +66 -0
  90. package/dist/models/QuestionImportDuplicate.js +70 -0
  91. package/dist/models/QuestionImportPreviewImage.d.ts +84 -0
  92. package/dist/models/QuestionImportPreviewImage.js +84 -0
  93. package/dist/models/QuestionImportSource.d.ts +56 -0
  94. package/dist/models/QuestionImportSource.js +64 -0
  95. package/dist/models/QuestionImportSourceSummary.d.ts +50 -0
  96. package/dist/models/QuestionImportSourceSummary.js +60 -0
  97. package/dist/models/index.d.ts +19 -0
  98. package/dist/models/index.js +19 -0
  99. package/docs/GetEffectiveLearnerExperience.md +40 -0
  100. package/docs/GetLearnerDashboard.md +38 -0
  101. package/docs/GetLearnerDashboardCourseList.md +36 -0
  102. package/docs/GetLearnerDashboardSummary.md +42 -0
  103. package/docs/GetLearnerExperience.md +42 -0
  104. package/docs/GetLearnerExperiencePreview.md +36 -0
  105. package/docs/GetQuestion.md +2 -0
  106. package/docs/LearnerExperienceApi.md +622 -0
  107. package/docs/LearnerExperienceVersion.md +48 -0
  108. package/docs/PostLearnerExperiencePreview.md +36 -0
  109. package/docs/PostQuestionImportCommit.md +42 -0
  110. package/docs/PostQuestionImportCommitItem.md +44 -0
  111. package/docs/PostQuestionImportCommitResponse.md +40 -0
  112. package/docs/PostQuestionImportParseResponse.md +46 -0
  113. package/docs/PutLearnerExperienceDraft.md +36 -0
  114. package/docs/QuestionImportApi.md +149 -0
  115. package/docs/QuestionImportCommitResult.md +38 -0
  116. package/docs/QuestionImportDraft.md +48 -0
  117. package/docs/QuestionImportDuplicate.md +42 -0
  118. package/docs/QuestionImportPreviewImage.md +48 -0
  119. package/docs/QuestionImportSource.md +42 -0
  120. package/docs/QuestionImportSourceSummary.md +40 -0
  121. package/package.json +1 -1
  122. package/src/apis/LearnerExperienceApi.ts +465 -0
  123. package/src/apis/QuestionImportApi.ts +162 -0
  124. package/src/apis/index.ts +2 -0
  125. package/src/models/GetEffectiveLearnerExperience.ts +105 -0
  126. package/src/models/GetLearnerDashboard.ts +106 -0
  127. package/src/models/GetLearnerDashboardCourseList.ts +83 -0
  128. package/src/models/GetLearnerDashboardSummary.ts +102 -0
  129. package/src/models/GetLearnerExperience.ts +121 -0
  130. package/src/models/GetLearnerExperiencePreview.ts +75 -0
  131. package/src/models/GetQuestion.ts +15 -0
  132. package/src/models/LearnerExperienceVersion.ts +140 -0
  133. package/src/models/PostLearnerExperiencePreview.ts +74 -0
  134. package/src/models/PostQuestionImportCommit.ts +116 -0
  135. package/src/models/PostQuestionImportCommitItem.ts +128 -0
  136. package/src/models/PostQuestionImportCommitResponse.ts +101 -0
  137. package/src/models/PostQuestionImportParseResponse.ts +142 -0
  138. package/src/models/PutLearnerExperienceDraft.ts +74 -0
  139. package/src/models/QuestionImportCommitResult.ts +95 -0
  140. package/src/models/QuestionImportDraft.ts +142 -0
  141. package/src/models/QuestionImportDuplicate.ts +112 -0
  142. package/src/models/QuestionImportPreviewImage.ts +140 -0
  143. package/src/models/QuestionImportSource.ts +101 -0
  144. package/src/models/QuestionImportSourceSummary.ts +92 -0
  145. package/src/models/index.ts +19 -0
@@ -0,0 +1,40 @@
1
+
2
+ # GetEffectiveLearnerExperience
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `effectiveSource` | string
10
+ `effectiveSourcePortalId` | string
11
+ `versionId` | string
12
+ `designDocument` | { [key: string]: any; }
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { GetEffectiveLearnerExperience } from '@easyedu/js-lsm-api'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "effectiveSource": null,
22
+ "effectiveSourcePortalId": null,
23
+ "versionId": null,
24
+ "designDocument": null,
25
+ } satisfies GetEffectiveLearnerExperience
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as GetEffectiveLearnerExperience
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+
@@ -0,0 +1,38 @@
1
+
2
+ # GetLearnerDashboard
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `experience` | [GetEffectiveLearnerExperience](GetEffectiveLearnerExperience.md)
10
+ `summary` | [GetLearnerDashboardSummary](GetLearnerDashboardSummary.md)
11
+ `courseLists` | [Array<GetLearnerDashboardCourseList>](GetLearnerDashboardCourseList.md)
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { GetLearnerDashboard } from '@easyedu/js-lsm-api'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "experience": null,
21
+ "summary": null,
22
+ "courseLists": null,
23
+ } satisfies GetLearnerDashboard
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as GetLearnerDashboard
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,36 @@
1
+
2
+ # GetLearnerDashboardCourseList
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `blockId` | string
10
+ `items` | [Array<GetUserCourseListItem>](GetUserCourseListItem.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { GetLearnerDashboardCourseList } from '@easyedu/js-lsm-api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "blockId": null,
20
+ "items": null,
21
+ } satisfies GetLearnerDashboardCourseList
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as GetLearnerDashboardCourseList
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,42 @@
1
+
2
+ # GetLearnerDashboardSummary
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `enrolledCourses` | number
10
+ `notStartedCourses` | number
11
+ `inProgressCourses` | number
12
+ `completedCourses` | number
13
+ `certificatesEarned` | number
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { GetLearnerDashboardSummary } from '@easyedu/js-lsm-api'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "enrolledCourses": null,
23
+ "notStartedCourses": null,
24
+ "inProgressCourses": null,
25
+ "completedCourses": null,
26
+ "certificatesEarned": null,
27
+ } satisfies GetLearnerDashboardSummary
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as GetLearnerDashboardSummary
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,42 @@
1
+
2
+ # GetLearnerExperience
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `effectiveSource` | string
10
+ `effectiveSourcePortalId` | string
11
+ `effectiveVersion` | [LearnerExperienceVersion](LearnerExperienceVersion.md)
12
+ `draftVersion` | [LearnerExperienceVersion](LearnerExperienceVersion.md)
13
+ `versions` | [Array<LearnerExperienceVersion>](LearnerExperienceVersion.md)
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { GetLearnerExperience } from '@easyedu/js-lsm-api'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "effectiveSource": null,
23
+ "effectiveSourcePortalId": null,
24
+ "effectiveVersion": null,
25
+ "draftVersion": null,
26
+ "versions": null,
27
+ } satisfies GetLearnerExperience
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as GetLearnerExperience
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,36 @@
1
+
2
+ # GetLearnerExperiencePreview
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `designDocument` | { [key: string]: any; }
10
+ `assetIds` | Array<string>
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { GetLearnerExperiencePreview } from '@easyedu/js-lsm-api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "designDocument": null,
20
+ "assetIds": null,
21
+ } satisfies GetLearnerExperiencePreview
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as GetLearnerExperiencePreview
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -20,6 +20,7 @@ Name | Type
20
20
  `createdBy` | string
21
21
  `quizCount` | number
22
22
  `quizzes` | [Array<GetQuestionQuizzesInner>](GetQuestionQuizzesInner.md)
23
+ `importSource` | [QuestionImportSourceSummary](QuestionImportSourceSummary.md)
23
24
 
24
25
  ## Example
25
26
 
@@ -42,6 +43,7 @@ const example = {
42
43
  "createdBy": null,
43
44
  "quizCount": null,
44
45
  "quizzes": null,
46
+ "importSource": null,
45
47
  } satisfies GetQuestion
46
48
 
47
49
  console.log(example)