@easyedu/js-lsm-api 1.96.0 → 1.98.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 (151) hide show
  1. package/.openapi-generator/FILES +14 -14
  2. package/README.md +18 -19
  3. package/dist/apis/CourseApi.d.ts +69 -87
  4. package/dist/apis/CourseApi.js +115 -164
  5. package/dist/apis/ReportingApi.d.ts +16 -16
  6. package/dist/apis/ReportingApi.js +29 -29
  7. package/dist/esm/apis/CourseApi.d.ts +69 -87
  8. package/dist/esm/apis/CourseApi.js +115 -164
  9. package/dist/esm/apis/ReportingApi.d.ts +16 -16
  10. package/dist/esm/apis/ReportingApi.js +29 -29
  11. package/dist/esm/models/GetCourseEnrollment.d.ts +12 -0
  12. package/dist/esm/models/GetCourseEnrollment.js +8 -0
  13. package/dist/esm/models/GetCourseEnrollmentListItem.d.ts +12 -0
  14. package/dist/esm/models/GetCourseEnrollmentListItem.js +8 -0
  15. package/dist/esm/models/GetCourseExport.d.ts +2 -2
  16. package/dist/esm/models/GetCourseExport.js +3 -3
  17. package/dist/esm/models/GetCourseVersion.d.ts +3 -3
  18. package/dist/esm/models/GetCourseVersion.js +4 -4
  19. package/dist/esm/models/GetCourseVersionReporting.d.ts +3 -3
  20. package/dist/esm/models/GetCourseVersionReporting.js +4 -4
  21. package/dist/esm/models/GetCourseVersionSection.d.ts +64 -0
  22. package/dist/esm/models/{GetCourseVersionModule.js → GetCourseVersionSection.js} +12 -12
  23. package/dist/esm/models/GetCourseVersionSectionChild.d.ts +54 -0
  24. package/dist/esm/models/GetCourseVersionSectionChild.js +56 -0
  25. package/dist/esm/models/GetCourseVersionSectionReporting.d.ts +99 -0
  26. package/dist/esm/models/{GetCourseVersionModuleReporting.js → GetCourseVersionSectionReporting.js} +11 -11
  27. package/dist/esm/models/GetPermission.d.ts +1 -1
  28. package/dist/esm/models/PostCourseExport.d.ts +2 -2
  29. package/dist/esm/models/PostCourseExport.js +3 -3
  30. package/dist/esm/models/PostCourseResume.d.ts +1 -1
  31. package/dist/esm/models/PostCourseResume.js +3 -3
  32. package/dist/esm/models/PostCourseVersionPublish.d.ts +10 -0
  33. package/dist/esm/models/PostCourseVersionPublish.js +2 -0
  34. package/dist/esm/models/PostCourseVersionSection.d.ts +57 -0
  35. package/dist/esm/models/{PostCourseVersionModule.js → PostCourseVersionSection.js} +10 -8
  36. package/dist/esm/models/PostCourseVersionSectionDuplicate.d.ts +44 -0
  37. package/dist/esm/models/PostCourseVersionSectionDuplicate.js +45 -0
  38. package/dist/esm/models/PutCourseEnrollment.d.ts +9 -0
  39. package/dist/esm/models/PutCourseEnrollment.js +2 -0
  40. package/dist/esm/models/PutCourseVersionItem.d.ts +1 -1
  41. package/dist/esm/models/PutCourseVersionItem.js +2 -2
  42. package/dist/esm/models/PutCourseVersionOutlineEntryMove.d.ts +58 -0
  43. package/dist/esm/models/PutCourseVersionOutlineEntryMove.js +60 -0
  44. package/dist/esm/models/PutCourseVersionSection.d.ts +45 -0
  45. package/dist/esm/models/{PutCourseVersionModule.js → PutCourseVersionSection.js} +8 -10
  46. package/dist/esm/models/PutRolePermissions.d.ts +1 -1
  47. package/dist/esm/models/index.d.ts +7 -7
  48. package/dist/esm/models/index.js +7 -7
  49. package/dist/models/GetCourseEnrollment.d.ts +12 -0
  50. package/dist/models/GetCourseEnrollment.js +8 -0
  51. package/dist/models/GetCourseEnrollmentListItem.d.ts +12 -0
  52. package/dist/models/GetCourseEnrollmentListItem.js +8 -0
  53. package/dist/models/GetCourseExport.d.ts +2 -2
  54. package/dist/models/GetCourseExport.js +3 -3
  55. package/dist/models/GetCourseVersion.d.ts +3 -3
  56. package/dist/models/GetCourseVersion.js +4 -4
  57. package/dist/models/GetCourseVersionReporting.d.ts +3 -3
  58. package/dist/models/GetCourseVersionReporting.js +4 -4
  59. package/dist/models/GetCourseVersionSection.d.ts +64 -0
  60. package/dist/models/{GetCourseVersionModule.js → GetCourseVersionSection.js} +17 -17
  61. package/dist/models/GetCourseVersionSectionChild.d.ts +54 -0
  62. package/dist/models/GetCourseVersionSectionChild.js +64 -0
  63. package/dist/models/GetCourseVersionSectionReporting.d.ts +99 -0
  64. package/dist/models/{GetCourseVersionModuleReporting.js → GetCourseVersionSectionReporting.js} +16 -16
  65. package/dist/models/GetPermission.d.ts +1 -1
  66. package/dist/models/PostCourseExport.d.ts +2 -2
  67. package/dist/models/PostCourseExport.js +3 -3
  68. package/dist/models/PostCourseResume.d.ts +1 -1
  69. package/dist/models/PostCourseResume.js +3 -3
  70. package/dist/models/PostCourseVersionPublish.d.ts +10 -0
  71. package/dist/models/PostCourseVersionPublish.js +2 -0
  72. package/dist/models/PostCourseVersionSection.d.ts +57 -0
  73. package/dist/models/{PostCourseVersionModule.js → PostCourseVersionSection.js} +15 -13
  74. package/dist/models/PostCourseVersionSectionDuplicate.d.ts +44 -0
  75. package/dist/models/PostCourseVersionSectionDuplicate.js +52 -0
  76. package/dist/models/PutCourseEnrollment.d.ts +9 -0
  77. package/dist/models/PutCourseEnrollment.js +2 -0
  78. package/dist/models/PutCourseVersionItem.d.ts +1 -1
  79. package/dist/models/PutCourseVersionItem.js +2 -2
  80. package/dist/models/PutCourseVersionOutlineEntryMove.d.ts +58 -0
  81. package/dist/models/PutCourseVersionOutlineEntryMove.js +68 -0
  82. package/dist/models/PutCourseVersionSection.d.ts +45 -0
  83. package/dist/models/{PutCourseVersionModule.js → PutCourseVersionSection.js} +13 -15
  84. package/dist/models/PutRolePermissions.d.ts +1 -1
  85. package/dist/models/index.d.ts +7 -7
  86. package/dist/models/index.js +7 -7
  87. package/docs/CourseApi.md +94 -166
  88. package/docs/GetCourseEnrollment.md +4 -0
  89. package/docs/GetCourseEnrollmentListItem.md +4 -0
  90. package/docs/GetCourseExport.md +2 -2
  91. package/docs/GetCourseVersion.md +2 -2
  92. package/docs/GetCourseVersionReporting.md +2 -2
  93. package/docs/{GetCourseVersionModule.md → GetCourseVersionSection.md} +6 -6
  94. package/docs/{PutCourseVersionItemReorder.md → GetCourseVersionSectionChild.md} +11 -6
  95. package/docs/{GetCourseVersionModuleReporting.md → GetCourseVersionSectionReporting.md} +6 -6
  96. package/docs/PostCourseExport.md +2 -2
  97. package/docs/PostCourseResume.md +2 -2
  98. package/docs/PostCourseVersionPublish.md +2 -0
  99. package/docs/{PostCourseVersionModule.md → PostCourseVersionSection.md} +6 -4
  100. package/docs/{PostCourseVersionModuleDuplicate.md → PostCourseVersionSectionDuplicate.md} +6 -4
  101. package/docs/PutCourseEnrollment.md +2 -0
  102. package/docs/PutCourseVersionItem.md +2 -2
  103. package/docs/{PutCourseVersionModuleReorder.md → PutCourseVersionOutlineEntryMove.md} +12 -6
  104. package/docs/{PutCourseVersionModule.md → PutCourseVersionSection.md} +4 -6
  105. package/docs/ReportingApi.md +22 -22
  106. package/package.json +1 -1
  107. package/src/apis/CourseApi.ts +160 -234
  108. package/src/apis/ReportingApi.ts +40 -40
  109. package/src/models/GetCourseEnrollment.ts +18 -0
  110. package/src/models/GetCourseEnrollmentListItem.ts +18 -0
  111. package/src/models/GetCourseExport.ts +5 -5
  112. package/src/models/GetCourseVersion.ts +12 -12
  113. package/src/models/GetCourseVersionReporting.ts +11 -11
  114. package/src/models/{GetCourseVersionModule.ts → GetCourseVersionSection.ts} +28 -28
  115. package/src/models/GetCourseVersionSectionChild.ts +108 -0
  116. package/src/models/{GetCourseVersionModuleReporting.ts → GetCourseVersionSectionReporting.ts} +26 -26
  117. package/src/models/GetPermission.ts +1 -1
  118. package/src/models/PostCourseExport.ts +5 -5
  119. package/src/models/PostCourseResume.ts +4 -4
  120. package/src/models/PostCourseVersionPublish.ts +12 -0
  121. package/src/models/{PostCourseVersionModule.ts → PostCourseVersionSection.ts} +22 -14
  122. package/src/models/PostCourseVersionSectionDuplicate.ts +81 -0
  123. package/src/models/PutCourseEnrollment.ts +11 -0
  124. package/src/models/PutCourseVersionItem.ts +3 -3
  125. package/src/models/PutCourseVersionOutlineEntryMove.ts +103 -0
  126. package/src/models/{PutCourseVersionModule.ts → PutCourseVersionSection.ts} +13 -21
  127. package/src/models/PutRolePermissions.ts +1 -1
  128. package/src/models/index.ts +7 -7
  129. package/dist/esm/models/GetCourseVersionModule.d.ts +0 -64
  130. package/dist/esm/models/GetCourseVersionModuleReporting.d.ts +0 -99
  131. package/dist/esm/models/PostCourseVersionModule.d.ts +0 -51
  132. package/dist/esm/models/PostCourseVersionModuleDuplicate.d.ts +0 -38
  133. package/dist/esm/models/PostCourseVersionModuleDuplicate.js +0 -43
  134. package/dist/esm/models/PutCourseVersionItemReorder.d.ts +0 -32
  135. package/dist/esm/models/PutCourseVersionItemReorder.js +0 -43
  136. package/dist/esm/models/PutCourseVersionModule.d.ts +0 -51
  137. package/dist/esm/models/PutCourseVersionModuleReorder.d.ts +0 -32
  138. package/dist/esm/models/PutCourseVersionModuleReorder.js +0 -43
  139. package/dist/models/GetCourseVersionModule.d.ts +0 -64
  140. package/dist/models/GetCourseVersionModuleReporting.d.ts +0 -99
  141. package/dist/models/PostCourseVersionModule.d.ts +0 -51
  142. package/dist/models/PostCourseVersionModuleDuplicate.d.ts +0 -38
  143. package/dist/models/PostCourseVersionModuleDuplicate.js +0 -50
  144. package/dist/models/PutCourseVersionItemReorder.d.ts +0 -32
  145. package/dist/models/PutCourseVersionItemReorder.js +0 -50
  146. package/dist/models/PutCourseVersionModule.d.ts +0 -51
  147. package/dist/models/PutCourseVersionModuleReorder.d.ts +0 -32
  148. package/dist/models/PutCourseVersionModuleReorder.js +0 -50
  149. package/src/models/PostCourseVersionModuleDuplicate.ts +0 -73
  150. package/src/models/PutCourseVersionItemReorder.ts +0 -66
  151. package/src/models/PutCourseVersionModuleReorder.ts +0 -66
@@ -16,7 +16,7 @@ Name | Type
16
16
  `completionRatePercentage` | number
17
17
  `avgScorePercentage` | number
18
18
  `totalDurationSeconds` | number
19
- `modules` | [Array<GetCourseVersionModuleReporting>](GetCourseVersionModuleReporting.md)
19
+ `sections` | [Array<GetCourseVersionSectionReporting>](GetCourseVersionSectionReporting.md)
20
20
 
21
21
  ## Example
22
22
 
@@ -35,7 +35,7 @@ const example = {
35
35
  "completionRatePercentage": null,
36
36
  "avgScorePercentage": null,
37
37
  "totalDurationSeconds": null,
38
- "modules": null,
38
+ "sections": null,
39
39
  } satisfies GetCourseVersionReporting
40
40
 
41
41
  console.log(example)
@@ -1,5 +1,5 @@
1
1
 
2
- # GetCourseVersionModule
2
+ # GetCourseVersionSection
3
3
 
4
4
 
5
5
  ## Properties
@@ -11,12 +11,12 @@ Name | Type
11
11
  `description` | string
12
12
  `descriptionRich` | [RichTextDocument](RichTextDocument.md)
13
13
  `displayOrder` | number
14
- `items` | [Array<GetCourseVersionItem>](GetCourseVersionItem.md)
14
+ `children` | [Array<GetCourseVersionSectionChild>](GetCourseVersionSectionChild.md)
15
15
 
16
16
  ## Example
17
17
 
18
18
  ```typescript
19
- import type { GetCourseVersionModule } from '@easyedu/js-lsm-api'
19
+ import type { GetCourseVersionSection } from '@easyedu/js-lsm-api'
20
20
 
21
21
  // TODO: Update the object below with actual values
22
22
  const example = {
@@ -25,8 +25,8 @@ const example = {
25
25
  "description": null,
26
26
  "descriptionRich": null,
27
27
  "displayOrder": null,
28
- "items": null,
29
- } satisfies GetCourseVersionModule
28
+ "children": null,
29
+ } satisfies GetCourseVersionSection
30
30
 
31
31
  console.log(example)
32
32
 
@@ -35,7 +35,7 @@ const exampleJSON: string = JSON.stringify(example)
35
35
  console.log(exampleJSON)
36
36
 
37
37
  // Parse the JSON string back to an object
38
- const exampleParsed = JSON.parse(exampleJSON) as GetCourseVersionModule
38
+ const exampleParsed = JSON.parse(exampleJSON) as GetCourseVersionSection
39
39
  console.log(exampleParsed)
40
40
  ```
41
41
 
@@ -1,22 +1,27 @@
1
1
 
2
- # PutCourseVersionItemReorder
2
+ # GetCourseVersionSectionChild
3
3
 
4
+ An ordered child entry containing exactly one section or course item.
4
5
 
5
6
  ## Properties
6
7
 
7
8
  Name | Type
8
9
  ------------ | -------------
9
- `itemIds` | Set<string>
10
+ `kind` | string
11
+ `section` | [GetCourseVersionSection](GetCourseVersionSection.md)
12
+ `item` | [GetCourseVersionItem](GetCourseVersionItem.md)
10
13
 
11
14
  ## Example
12
15
 
13
16
  ```typescript
14
- import type { PutCourseVersionItemReorder } from '@easyedu/js-lsm-api'
17
+ import type { GetCourseVersionSectionChild } from '@easyedu/js-lsm-api'
15
18
 
16
19
  // TODO: Update the object below with actual values
17
20
  const example = {
18
- "itemIds": null,
19
- } satisfies PutCourseVersionItemReorder
21
+ "kind": null,
22
+ "section": null,
23
+ "item": null,
24
+ } satisfies GetCourseVersionSectionChild
20
25
 
21
26
  console.log(example)
22
27
 
@@ -25,7 +30,7 @@ const exampleJSON: string = JSON.stringify(example)
25
30
  console.log(exampleJSON)
26
31
 
27
32
  // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as PutCourseVersionItemReorder
33
+ const exampleParsed = JSON.parse(exampleJSON) as GetCourseVersionSectionChild
29
34
  console.log(exampleParsed)
30
35
  ```
31
36
 
@@ -1,12 +1,12 @@
1
1
 
2
- # GetCourseVersionModuleReporting
2
+ # GetCourseVersionSectionReporting
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `moduleId` | string
9
+ `sectionId` | string
10
10
  `name` | string
11
11
  `itemCount` | number
12
12
  `requiredItemCount` | number
@@ -22,11 +22,11 @@ Name | Type
22
22
  ## Example
23
23
 
24
24
  ```typescript
25
- import type { GetCourseVersionModuleReporting } from '@easyedu/js-lsm-api'
25
+ import type { GetCourseVersionSectionReporting } from '@easyedu/js-lsm-api'
26
26
 
27
27
  // TODO: Update the object below with actual values
28
28
  const example = {
29
- "moduleId": null,
29
+ "sectionId": null,
30
30
  "name": null,
31
31
  "itemCount": null,
32
32
  "requiredItemCount": null,
@@ -38,7 +38,7 @@ const example = {
38
38
  "avgScorePercentage": null,
39
39
  "totalDurationSeconds": null,
40
40
  "items": null,
41
- } satisfies GetCourseVersionModuleReporting
41
+ } satisfies GetCourseVersionSectionReporting
42
42
 
43
43
  console.log(example)
44
44
 
@@ -47,7 +47,7 @@ const exampleJSON: string = JSON.stringify(example)
47
47
  console.log(exampleJSON)
48
48
 
49
49
  // Parse the JSON string back to an object
50
- const exampleParsed = JSON.parse(exampleJSON) as GetCourseVersionModuleReporting
50
+ const exampleParsed = JSON.parse(exampleJSON) as GetCourseVersionSectionReporting
51
51
  console.log(exampleParsed)
52
52
  ```
53
53
 
@@ -9,7 +9,7 @@ Name | Type
9
9
  ------------ | -------------
10
10
  `courseVersionId` | string
11
11
  `exportType` | string
12
- `moduleIds` | Array<string>
12
+ `sectionIds` | Array<string>
13
13
 
14
14
  ## Example
15
15
 
@@ -20,7 +20,7 @@ import type { PostCourseExport } from '@easyedu/js-lsm-api'
20
20
  const example = {
21
21
  "courseVersionId": null,
22
22
  "exportType": null,
23
- "moduleIds": null,
23
+ "sectionIds": null,
24
24
  } satisfies PostCourseExport
25
25
 
26
26
  console.log(example)
@@ -9,7 +9,7 @@ Name | Type
9
9
  ------------ | -------------
10
10
  `courseId` | string
11
11
  `courseVersionId` | string
12
- `moduleId` | string
12
+ `sectionId` | string
13
13
  `itemId` | string
14
14
  `kind` | string
15
15
  `sessionId` | string
@@ -27,7 +27,7 @@ import type { PostCourseResume } from '@easyedu/js-lsm-api'
27
27
  const example = {
28
28
  "courseId": null,
29
29
  "courseVersionId": null,
30
- "moduleId": null,
30
+ "sectionId": null,
31
31
  "itemId": null,
32
32
  "kind": null,
33
33
  "sessionId": null,
@@ -7,6 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `changeNotes` | string
10
+ `promoteActiveEnrollments` | boolean
10
11
 
11
12
  ## Example
12
13
 
@@ -16,6 +17,7 @@ import type { PostCourseVersionPublish } from '@easyedu/js-lsm-api'
16
17
  // TODO: Update the object below with actual values
17
18
  const example = {
18
19
  "changeNotes": null,
20
+ "promoteActiveEnrollments": null,
19
21
  } satisfies PostCourseVersionPublish
20
22
 
21
23
  console.log(example)
@@ -1,5 +1,5 @@
1
1
 
2
- # PostCourseVersionModule
2
+ # PostCourseVersionSection
3
3
 
4
4
 
5
5
  ## Properties
@@ -9,20 +9,22 @@ Name | Type
9
9
  `name` | string
10
10
  `description` | string
11
11
  `descriptionRich` | [RichTextDocument](RichTextDocument.md)
12
+ `parentSectionId` | string
12
13
  `position` | number
13
14
 
14
15
  ## Example
15
16
 
16
17
  ```typescript
17
- import type { PostCourseVersionModule } from '@easyedu/js-lsm-api'
18
+ import type { PostCourseVersionSection } from '@easyedu/js-lsm-api'
18
19
 
19
20
  // TODO: Update the object below with actual values
20
21
  const example = {
21
22
  "name": null,
22
23
  "description": null,
23
24
  "descriptionRich": null,
25
+ "parentSectionId": null,
24
26
  "position": null,
25
- } satisfies PostCourseVersionModule
27
+ } satisfies PostCourseVersionSection
26
28
 
27
29
  console.log(example)
28
30
 
@@ -31,7 +33,7 @@ const exampleJSON: string = JSON.stringify(example)
31
33
  console.log(exampleJSON)
32
34
 
33
35
  // Parse the JSON string back to an object
34
- const exampleParsed = JSON.parse(exampleJSON) as PostCourseVersionModule
36
+ const exampleParsed = JSON.parse(exampleJSON) as PostCourseVersionSection
35
37
  console.log(exampleParsed)
36
38
  ```
37
39
 
@@ -1,5 +1,5 @@
1
1
 
2
- # PostCourseVersionModuleDuplicate
2
+ # PostCourseVersionSectionDuplicate
3
3
 
4
4
 
5
5
  ## Properties
@@ -7,18 +7,20 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `name` | string
10
+ `targetSectionId` | string
10
11
  `position` | number
11
12
 
12
13
  ## Example
13
14
 
14
15
  ```typescript
15
- import type { PostCourseVersionModuleDuplicate } from '@easyedu/js-lsm-api'
16
+ import type { PostCourseVersionSectionDuplicate } from '@easyedu/js-lsm-api'
16
17
 
17
18
  // TODO: Update the object below with actual values
18
19
  const example = {
19
20
  "name": null,
21
+ "targetSectionId": null,
20
22
  "position": null,
21
- } satisfies PostCourseVersionModuleDuplicate
23
+ } satisfies PostCourseVersionSectionDuplicate
22
24
 
23
25
  console.log(example)
24
26
 
@@ -27,7 +29,7 @@ const exampleJSON: string = JSON.stringify(example)
27
29
  console.log(exampleJSON)
28
30
 
29
31
  // Parse the JSON string back to an object
30
- const exampleParsed = JSON.parse(exampleJSON) as PostCourseVersionModuleDuplicate
32
+ const exampleParsed = JSON.parse(exampleJSON) as PostCourseVersionSectionDuplicate
31
33
  console.log(exampleParsed)
32
34
  ```
33
35
 
@@ -11,6 +11,7 @@ Name | Type
11
11
  `enrollmentDateEnd` | number
12
12
  `extensionDays` | number
13
13
  `notes` | string
14
+ `courseVersionId` | string
14
15
 
15
16
  ## Example
16
17
 
@@ -24,6 +25,7 @@ const example = {
24
25
  "enrollmentDateEnd": null,
25
26
  "extensionDays": null,
26
27
  "notes": null,
28
+ "courseVersionId": null,
27
29
  } satisfies PutCourseEnrollment
28
30
 
29
31
  console.log(example)
@@ -7,7 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `libraryVersionId` | string
10
- `targetModuleId` | string
10
+ `targetSectionId` | string
11
11
  `displayName` | string
12
12
  `position` | number
13
13
  `isVisible` | boolean
@@ -25,7 +25,7 @@ import type { PutCourseVersionItem } from '@easyedu/js-lsm-api'
25
25
  // TODO: Update the object below with actual values
26
26
  const example = {
27
27
  "libraryVersionId": null,
28
- "targetModuleId": null,
28
+ "targetSectionId": null,
29
29
  "displayName": null,
30
30
  "position": null,
31
31
  "isVisible": null,
@@ -1,22 +1,28 @@
1
1
 
2
- # PutCourseVersionModuleReorder
2
+ # PutCourseVersionOutlineEntryMove
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `moduleIds` | Set<string>
9
+ `entryKind` | string
10
+ `entryId` | string
11
+ `targetSectionId` | string
12
+ `position` | number
10
13
 
11
14
  ## Example
12
15
 
13
16
  ```typescript
14
- import type { PutCourseVersionModuleReorder } from '@easyedu/js-lsm-api'
17
+ import type { PutCourseVersionOutlineEntryMove } from '@easyedu/js-lsm-api'
15
18
 
16
19
  // TODO: Update the object below with actual values
17
20
  const example = {
18
- "moduleIds": null,
19
- } satisfies PutCourseVersionModuleReorder
21
+ "entryKind": null,
22
+ "entryId": null,
23
+ "targetSectionId": null,
24
+ "position": null,
25
+ } satisfies PutCourseVersionOutlineEntryMove
20
26
 
21
27
  console.log(example)
22
28
 
@@ -25,7 +31,7 @@ const exampleJSON: string = JSON.stringify(example)
25
31
  console.log(exampleJSON)
26
32
 
27
33
  // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as PutCourseVersionModuleReorder
34
+ const exampleParsed = JSON.parse(exampleJSON) as PutCourseVersionOutlineEntryMove
29
35
  console.log(exampleParsed)
30
36
  ```
31
37
 
@@ -1,5 +1,5 @@
1
1
 
2
- # PutCourseVersionModule
2
+ # PutCourseVersionSection
3
3
 
4
4
 
5
5
  ## Properties
@@ -9,20 +9,18 @@ Name | Type
9
9
  `name` | string
10
10
  `description` | string
11
11
  `descriptionRich` | [RichTextDocument](RichTextDocument.md)
12
- `position` | number
13
12
 
14
13
  ## Example
15
14
 
16
15
  ```typescript
17
- import type { PutCourseVersionModule } from '@easyedu/js-lsm-api'
16
+ import type { PutCourseVersionSection } from '@easyedu/js-lsm-api'
18
17
 
19
18
  // TODO: Update the object below with actual values
20
19
  const example = {
21
20
  "name": null,
22
21
  "description": null,
23
22
  "descriptionRich": null,
24
- "position": null,
25
- } satisfies PutCourseVersionModule
23
+ } satisfies PutCourseVersionSection
26
24
 
27
25
  console.log(example)
28
26
 
@@ -31,7 +29,7 @@ const exampleJSON: string = JSON.stringify(example)
31
29
  console.log(exampleJSON)
32
30
 
33
31
  // Parse the JSON string back to an object
34
- const exampleParsed = JSON.parse(exampleJSON) as PutCourseVersionModule
32
+ const exampleParsed = JSON.parse(exampleJSON) as PutCourseVersionSection
35
33
  console.log(exampleParsed)
36
34
  ```
37
35
 
@@ -4,16 +4,16 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  |------------- | ------------- | -------------|
7
- | [**getCourseVersionModuleReporting**](ReportingApi.md#getcourseversionmodulereporting) | **GET** /courses/{courseId}/versions/{courseVersionId}/modules/{moduleId}/reporting | Get instructor reporting for one module in an explicit course version |
8
7
  | [**getCourseVersionReporting**](ReportingApi.md#getcourseversionreporting) | **GET** /courses/{courseId}/versions/{courseVersionId}/reporting | Get instructor reporting for one explicit course version |
8
+ | [**getCourseVersionSectionReporting**](ReportingApi.md#getcourseversionsectionreporting) | **GET** /courses/{courseId}/versions/{courseVersionId}/sections/{sectionId}/reporting | Get instructor reporting for one section and its descendants in an explicit course version |
9
9
 
10
10
 
11
11
 
12
- ## getCourseVersionModuleReporting
12
+ ## getCourseVersionReporting
13
13
 
14
- > GetCourseVersionModuleReporting getCourseVersionModuleReporting(courseId, courseVersionId, moduleId)
14
+ > GetCourseVersionReporting getCourseVersionReporting(courseId, courseVersionId)
15
15
 
16
- Get instructor reporting for one module in an explicit course version
16
+ Get instructor reporting for one explicit course version
17
17
 
18
18
  ### Example
19
19
 
@@ -22,7 +22,7 @@ import {
22
22
  Configuration,
23
23
  ReportingApi,
24
24
  } from '@easyedu/js-lsm-api';
25
- import type { GetCourseVersionModuleReportingRequest } from '@easyedu/js-lsm-api';
25
+ import type { GetCourseVersionReportingRequest } from '@easyedu/js-lsm-api';
26
26
 
27
27
  async function example() {
28
28
  console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
@@ -33,12 +33,10 @@ async function example() {
33
33
  courseId: courseId_example,
34
34
  // string
35
35
  courseVersionId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
36
- // string
37
- moduleId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
38
- } satisfies GetCourseVersionModuleReportingRequest;
36
+ } satisfies GetCourseVersionReportingRequest;
39
37
 
40
38
  try {
41
- const data = await api.getCourseVersionModuleReporting(body);
39
+ const data = await api.getCourseVersionReporting(body);
42
40
  console.log(data);
43
41
  } catch (error) {
44
42
  console.error(error);
@@ -56,11 +54,10 @@ example().catch(console.error);
56
54
  |------------- | ------------- | ------------- | -------------|
57
55
  | **courseId** | `string` | | [Defaults to `undefined`] |
58
56
  | **courseVersionId** | `string` | | [Defaults to `undefined`] |
59
- | **moduleId** | `string` | | [Defaults to `undefined`] |
60
57
 
61
58
  ### Return type
62
59
 
63
- [**GetCourseVersionModuleReporting**](GetCourseVersionModuleReporting.md)
60
+ [**GetCourseVersionReporting**](GetCourseVersionReporting.md)
64
61
 
65
62
  ### Authorization
66
63
 
@@ -75,17 +72,17 @@ No authorization required
75
72
  ### HTTP response details
76
73
  | Status code | Description | Response headers |
77
74
  |-------------|-------------|------------------|
78
- | **200** | Version-pinned module and item reporting | - |
79
- | **404** | Course version module not found in the selected portal | - |
75
+ | **200** | Version-pinned course reporting | - |
76
+ | **404** | Course version not found in the selected portal | - |
80
77
 
81
78
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
82
79
 
83
80
 
84
- ## getCourseVersionReporting
81
+ ## getCourseVersionSectionReporting
85
82
 
86
- > GetCourseVersionReporting getCourseVersionReporting(courseId, courseVersionId)
83
+ > GetCourseVersionSectionReporting getCourseVersionSectionReporting(courseId, courseVersionId, sectionId)
87
84
 
88
- Get instructor reporting for one explicit course version
85
+ Get instructor reporting for one section and its descendants in an explicit course version
89
86
 
90
87
  ### Example
91
88
 
@@ -94,7 +91,7 @@ import {
94
91
  Configuration,
95
92
  ReportingApi,
96
93
  } from '@easyedu/js-lsm-api';
97
- import type { GetCourseVersionReportingRequest } from '@easyedu/js-lsm-api';
94
+ import type { GetCourseVersionSectionReportingRequest } from '@easyedu/js-lsm-api';
98
95
 
99
96
  async function example() {
100
97
  console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
@@ -105,10 +102,12 @@ async function example() {
105
102
  courseId: courseId_example,
106
103
  // string
107
104
  courseVersionId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
108
- } satisfies GetCourseVersionReportingRequest;
105
+ // string
106
+ sectionId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
107
+ } satisfies GetCourseVersionSectionReportingRequest;
109
108
 
110
109
  try {
111
- const data = await api.getCourseVersionReporting(body);
110
+ const data = await api.getCourseVersionSectionReporting(body);
112
111
  console.log(data);
113
112
  } catch (error) {
114
113
  console.error(error);
@@ -126,10 +125,11 @@ example().catch(console.error);
126
125
  |------------- | ------------- | ------------- | -------------|
127
126
  | **courseId** | `string` | | [Defaults to `undefined`] |
128
127
  | **courseVersionId** | `string` | | [Defaults to `undefined`] |
128
+ | **sectionId** | `string` | | [Defaults to `undefined`] |
129
129
 
130
130
  ### Return type
131
131
 
132
- [**GetCourseVersionReporting**](GetCourseVersionReporting.md)
132
+ [**GetCourseVersionSectionReporting**](GetCourseVersionSectionReporting.md)
133
133
 
134
134
  ### Authorization
135
135
 
@@ -144,8 +144,8 @@ No authorization required
144
144
  ### HTTP response details
145
145
  | Status code | Description | Response headers |
146
146
  |-------------|-------------|------------------|
147
- | **200** | Version-pinned course reporting | - |
148
- | **404** | Course version not found in the selected portal | - |
147
+ | **200** | Version-pinned section and descendant-item reporting | - |
148
+ | **404** | Course version section not found in the selected portal | - |
149
149
 
150
150
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
151
151
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyedu/js-lsm-api",
3
- "version": "1.96.0",
3
+ "version": "1.98.0",
4
4
  "description": "OpenAPI client for @easyedu/js-lsm-api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {