@easyedu/js-lsm-api 1.32.0 → 1.34.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 (277) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +20 -4
  4. package/dist/apis/ContentApi.d.ts +89 -0
  5. package/dist/apis/ContentApi.js +301 -102
  6. package/dist/apis/CourseApi.d.ts +48 -0
  7. package/dist/apis/CourseApi.js +157 -49
  8. package/dist/apis/ModuleApi.d.ts +16 -0
  9. package/dist/apis/ModuleApi.js +52 -16
  10. package/dist/apis/OtherApi.d.ts +4 -0
  11. package/dist/apis/OtherApi.js +13 -4
  12. package/dist/apis/PortalApi.d.ts +30 -3
  13. package/dist/apis/PortalApi.js +92 -32
  14. package/dist/apis/QuestionApi.d.ts +20 -0
  15. package/dist/apis/QuestionApi.js +65 -20
  16. package/dist/apis/QuizApi.d.ts +100 -0
  17. package/dist/apis/QuizApi.js +325 -100
  18. package/dist/apis/ReportingApi.d.ts +36 -0
  19. package/dist/apis/ReportingApi.js +117 -36
  20. package/dist/apis/RoleApi.d.ts +169 -0
  21. package/dist/apis/RoleApi.js +442 -0
  22. package/dist/apis/UserApi.d.ts +28 -0
  23. package/dist/apis/UserApi.js +91 -28
  24. package/dist/apis/index.d.ts +1 -0
  25. package/dist/apis/index.js +1 -0
  26. package/dist/esm/apis/ContentApi.d.ts +89 -0
  27. package/dist/esm/apis/ContentApi.js +301 -102
  28. package/dist/esm/apis/CourseApi.d.ts +48 -0
  29. package/dist/esm/apis/CourseApi.js +157 -49
  30. package/dist/esm/apis/ModuleApi.d.ts +16 -0
  31. package/dist/esm/apis/ModuleApi.js +52 -16
  32. package/dist/esm/apis/OtherApi.d.ts +4 -0
  33. package/dist/esm/apis/OtherApi.js +13 -4
  34. package/dist/esm/apis/PortalApi.d.ts +30 -3
  35. package/dist/esm/apis/PortalApi.js +92 -32
  36. package/dist/esm/apis/QuestionApi.d.ts +20 -0
  37. package/dist/esm/apis/QuestionApi.js +65 -20
  38. package/dist/esm/apis/QuizApi.d.ts +100 -0
  39. package/dist/esm/apis/QuizApi.js +325 -100
  40. package/dist/esm/apis/ReportingApi.d.ts +36 -0
  41. package/dist/esm/apis/ReportingApi.js +117 -36
  42. package/dist/esm/apis/RoleApi.d.ts +169 -0
  43. package/dist/esm/apis/RoleApi.js +438 -0
  44. package/dist/esm/apis/UserApi.d.ts +28 -0
  45. package/dist/esm/apis/UserApi.js +91 -28
  46. package/dist/esm/apis/index.d.ts +1 -0
  47. package/dist/esm/apis/index.js +1 -0
  48. package/dist/esm/models/CriteriaBasedSelection.d.ts +1 -1
  49. package/dist/esm/models/CriteriaBasedSelectionCriteria.d.ts +2 -2
  50. package/dist/esm/models/FillInBlank.d.ts +1 -1
  51. package/dist/esm/models/FillInBlank1.d.ts +1 -1
  52. package/dist/esm/models/GetContent.d.ts +1 -1
  53. package/dist/esm/models/GetContentGradeDetail.d.ts +3 -3
  54. package/dist/esm/models/GetContentGradesItemsInner.d.ts +2 -2
  55. package/dist/esm/models/GetContentInstructorBasicReportingContentInfo.d.ts +1 -1
  56. package/dist/esm/models/GetContentSessionDetail.d.ts +2 -2
  57. package/dist/esm/models/GetCourseEnrollment.d.ts +2 -2
  58. package/dist/esm/models/GetCourseEnrollmentListItem.d.ts +2 -2
  59. package/dist/esm/models/GetCourseExport.d.ts +2 -2
  60. package/dist/esm/models/GetPermission.d.ts +50 -0
  61. package/dist/esm/models/GetPermission.js +53 -0
  62. package/dist/esm/models/GetPortal.d.ts +9 -20
  63. package/dist/esm/models/GetPortal.js +8 -14
  64. package/dist/esm/models/GetPortalUser.d.ts +2 -11
  65. package/dist/esm/models/GetPortalUser.js +0 -8
  66. package/dist/esm/models/GetQuestion.d.ts +2 -2
  67. package/dist/esm/models/GetQuestionListFilters.d.ts +2 -2
  68. package/dist/esm/models/GetQuiz.d.ts +1 -1
  69. package/dist/esm/models/GetQuizAttemptAnalyticsBasicInfo.d.ts +1 -1
  70. package/dist/esm/models/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.d.ts +1 -1
  71. package/dist/esm/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.d.ts +1 -1
  72. package/dist/esm/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.d.ts +2 -2
  73. package/dist/esm/models/GetQuizAttemptAttempt.d.ts +1 -1
  74. package/dist/esm/models/GetQuizAttemptListAllOfAttempts.d.ts +1 -1
  75. package/dist/esm/models/GetQuizAttemptListAllOfFilters.d.ts +1 -1
  76. package/dist/esm/models/GetQuizAttemptQuestionsInner.d.ts +1 -1
  77. package/dist/esm/models/GetQuizCriteriaItem.d.ts +2 -2
  78. package/dist/esm/models/GetQuizCriteriaListItemsInner.d.ts +2 -2
  79. package/dist/esm/models/GetQuizListAllOfFilters.d.ts +1 -1
  80. package/dist/esm/models/GetQuizListAllOfQuizzes.d.ts +1 -1
  81. package/dist/esm/models/GetQuizQuestions.d.ts +1 -1
  82. package/dist/esm/models/GetQuizQuestionsItemsInnerQuestionDetails.d.ts +2 -2
  83. package/dist/esm/models/GetQuizResults.d.ts +1 -1
  84. package/dist/esm/models/GetQuizResultsFeedbackDifficultyPerformanceInner.d.ts +1 -1
  85. package/dist/esm/models/GetQuizResultsQuestionsInner.d.ts +1 -1
  86. package/dist/esm/models/GetRole.d.ts +88 -0
  87. package/dist/esm/models/GetRole.js +80 -0
  88. package/dist/esm/models/GetScormApiLogItem.d.ts +1 -1
  89. package/dist/esm/models/GetUserQuizAttemptsAllOfAttempts.d.ts +1 -1
  90. package/dist/esm/models/GetUserQuizAttemptsAllOfFilters.d.ts +1 -1
  91. package/dist/esm/models/GetUserRole.d.ts +63 -0
  92. package/dist/esm/models/GetUserRole.js +67 -0
  93. package/dist/esm/models/ManualSelection.d.ts +1 -1
  94. package/dist/esm/models/MultipleAnswer.d.ts +1 -1
  95. package/dist/esm/models/MultipleAnswer1.d.ts +1 -1
  96. package/dist/esm/models/NoAnswer.d.ts +1 -1
  97. package/dist/esm/models/PostContentUpload.d.ts +1 -1
  98. package/dist/esm/models/PostCourseExport.d.ts +1 -1
  99. package/dist/esm/models/PostPortalInvite.d.ts +6 -2
  100. package/dist/esm/models/PostPortalInvite.js +5 -1
  101. package/dist/esm/models/PostQuestion.d.ts +2 -2
  102. package/dist/esm/models/PostQuiz.d.ts +1 -1
  103. package/dist/esm/models/PostQuizAttemptAttempt.d.ts +1 -1
  104. package/dist/esm/models/PostQuizAttemptQuestionsInner.d.ts +1 -1
  105. package/dist/esm/models/PostQuizAttemptSubmit.d.ts +1 -1
  106. package/dist/esm/models/PostQuizCriteriaCriteriaInner.d.ts +2 -2
  107. package/dist/esm/models/PostRole.d.ts +57 -0
  108. package/dist/esm/models/PostRole.js +61 -0
  109. package/dist/esm/models/PutCourseEnrollment.d.ts +2 -2
  110. package/dist/esm/models/PutQuestion.d.ts +2 -2
  111. package/dist/esm/models/PutQuiz.d.ts +1 -1
  112. package/dist/esm/models/PutRole.d.ts +38 -0
  113. package/dist/esm/models/PutRole.js +45 -0
  114. package/dist/esm/models/PutRolePermissions.d.ts +32 -0
  115. package/dist/esm/models/PutRolePermissions.js +43 -0
  116. package/dist/esm/models/QuizContent.d.ts +1 -1
  117. package/dist/esm/models/SingleAnswer.d.ts +1 -1
  118. package/dist/esm/models/index.d.ts +6 -0
  119. package/dist/esm/models/index.js +6 -0
  120. package/dist/esm/runtime.js +15 -0
  121. package/dist/models/CriteriaBasedSelection.d.ts +1 -1
  122. package/dist/models/CriteriaBasedSelectionCriteria.d.ts +2 -2
  123. package/dist/models/FillInBlank.d.ts +1 -1
  124. package/dist/models/FillInBlank1.d.ts +1 -1
  125. package/dist/models/GetContent.d.ts +1 -1
  126. package/dist/models/GetContentGradeDetail.d.ts +3 -3
  127. package/dist/models/GetContentGradesItemsInner.d.ts +2 -2
  128. package/dist/models/GetContentInstructorBasicReportingContentInfo.d.ts +1 -1
  129. package/dist/models/GetContentSessionDetail.d.ts +2 -2
  130. package/dist/models/GetCourseEnrollment.d.ts +2 -2
  131. package/dist/models/GetCourseEnrollmentListItem.d.ts +2 -2
  132. package/dist/models/GetCourseExport.d.ts +2 -2
  133. package/dist/models/GetPermission.d.ts +50 -0
  134. package/dist/models/GetPermission.js +60 -0
  135. package/dist/models/GetPortal.d.ts +9 -20
  136. package/dist/models/GetPortal.js +9 -15
  137. package/dist/models/GetPortalUser.d.ts +2 -11
  138. package/dist/models/GetPortalUser.js +0 -9
  139. package/dist/models/GetQuestion.d.ts +2 -2
  140. package/dist/models/GetQuestionListFilters.d.ts +2 -2
  141. package/dist/models/GetQuiz.d.ts +1 -1
  142. package/dist/models/GetQuizAttemptAnalyticsBasicInfo.d.ts +1 -1
  143. package/dist/models/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.d.ts +1 -1
  144. package/dist/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.d.ts +1 -1
  145. package/dist/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.d.ts +2 -2
  146. package/dist/models/GetQuizAttemptAttempt.d.ts +1 -1
  147. package/dist/models/GetQuizAttemptListAllOfAttempts.d.ts +1 -1
  148. package/dist/models/GetQuizAttemptListAllOfFilters.d.ts +1 -1
  149. package/dist/models/GetQuizAttemptQuestionsInner.d.ts +1 -1
  150. package/dist/models/GetQuizCriteriaItem.d.ts +2 -2
  151. package/dist/models/GetQuizCriteriaListItemsInner.d.ts +2 -2
  152. package/dist/models/GetQuizListAllOfFilters.d.ts +1 -1
  153. package/dist/models/GetQuizListAllOfQuizzes.d.ts +1 -1
  154. package/dist/models/GetQuizQuestions.d.ts +1 -1
  155. package/dist/models/GetQuizQuestionsItemsInnerQuestionDetails.d.ts +2 -2
  156. package/dist/models/GetQuizResults.d.ts +1 -1
  157. package/dist/models/GetQuizResultsFeedbackDifficultyPerformanceInner.d.ts +1 -1
  158. package/dist/models/GetQuizResultsQuestionsInner.d.ts +1 -1
  159. package/dist/models/GetRole.d.ts +88 -0
  160. package/dist/models/GetRole.js +88 -0
  161. package/dist/models/GetScormApiLogItem.d.ts +1 -1
  162. package/dist/models/GetUserQuizAttemptsAllOfAttempts.d.ts +1 -1
  163. package/dist/models/GetUserQuizAttemptsAllOfFilters.d.ts +1 -1
  164. package/dist/models/GetUserRole.d.ts +63 -0
  165. package/dist/models/GetUserRole.js +75 -0
  166. package/dist/models/ManualSelection.d.ts +1 -1
  167. package/dist/models/MultipleAnswer.d.ts +1 -1
  168. package/dist/models/MultipleAnswer1.d.ts +1 -1
  169. package/dist/models/NoAnswer.d.ts +1 -1
  170. package/dist/models/PostContentUpload.d.ts +1 -1
  171. package/dist/models/PostCourseExport.d.ts +1 -1
  172. package/dist/models/PostPortalInvite.d.ts +6 -2
  173. package/dist/models/PostPortalInvite.js +5 -1
  174. package/dist/models/PostQuestion.d.ts +2 -2
  175. package/dist/models/PostQuiz.d.ts +1 -1
  176. package/dist/models/PostQuizAttemptAttempt.d.ts +1 -1
  177. package/dist/models/PostQuizAttemptQuestionsInner.d.ts +1 -1
  178. package/dist/models/PostQuizAttemptSubmit.d.ts +1 -1
  179. package/dist/models/PostQuizCriteriaCriteriaInner.d.ts +2 -2
  180. package/dist/models/PostRole.d.ts +57 -0
  181. package/dist/models/PostRole.js +69 -0
  182. package/dist/models/PutCourseEnrollment.d.ts +2 -2
  183. package/dist/models/PutQuestion.d.ts +2 -2
  184. package/dist/models/PutQuiz.d.ts +1 -1
  185. package/dist/models/PutRole.d.ts +38 -0
  186. package/dist/models/PutRole.js +52 -0
  187. package/dist/models/PutRolePermissions.d.ts +32 -0
  188. package/dist/models/PutRolePermissions.js +50 -0
  189. package/dist/models/QuizContent.d.ts +1 -1
  190. package/dist/models/SingleAnswer.d.ts +1 -1
  191. package/dist/models/index.d.ts +6 -0
  192. package/dist/models/index.js +6 -0
  193. package/dist/runtime.js +15 -0
  194. package/docs/GetPermission.md +41 -0
  195. package/docs/GetPortal.md +2 -4
  196. package/docs/GetRole.md +49 -0
  197. package/docs/GetUserRole.md +41 -0
  198. package/docs/PortalApi.md +3 -6
  199. package/docs/PostRole.md +39 -0
  200. package/docs/PutRole.md +37 -0
  201. package/docs/PutRolePermissions.md +35 -0
  202. package/docs/RoleApi.md +685 -0
  203. package/package.json +1 -1
  204. package/src/apis/ContentApi.ts +279 -102
  205. package/src/apis/CourseApi.ts +145 -49
  206. package/src/apis/ModuleApi.ts +48 -16
  207. package/src/apis/OtherApi.ts +12 -4
  208. package/src/apis/PortalApi.ts +85 -34
  209. package/src/apis/QuestionApi.ts +60 -20
  210. package/src/apis/QuizApi.ts +300 -100
  211. package/src/apis/ReportingApi.ts +108 -36
  212. package/src/apis/RoleApi.ts +576 -0
  213. package/src/apis/UserApi.ts +84 -28
  214. package/src/apis/index.ts +1 -0
  215. package/src/models/CriteriaBasedSelection.ts +1 -1
  216. package/src/models/CriteriaBasedSelectionCriteria.ts +2 -2
  217. package/src/models/FillInBlank.ts +1 -1
  218. package/src/models/FillInBlank1.ts +1 -1
  219. package/src/models/GetContent.ts +1 -1
  220. package/src/models/GetContentGradeDetail.ts +3 -3
  221. package/src/models/GetContentGradesItemsInner.ts +2 -2
  222. package/src/models/GetContentInstructorBasicReportingContentInfo.ts +1 -1
  223. package/src/models/GetContentSessionDetail.ts +2 -2
  224. package/src/models/GetCourseEnrollment.ts +2 -2
  225. package/src/models/GetCourseEnrollmentListItem.ts +2 -2
  226. package/src/models/GetCourseExport.ts +2 -2
  227. package/src/models/GetPermission.ts +92 -0
  228. package/src/models/GetPortal.ts +12 -26
  229. package/src/models/GetPortalUser.ts +2 -14
  230. package/src/models/GetQuestion.ts +2 -2
  231. package/src/models/GetQuestionListFilters.ts +2 -2
  232. package/src/models/GetQuiz.ts +1 -1
  233. package/src/models/GetQuizAttemptAnalyticsBasicInfo.ts +1 -1
  234. package/src/models/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.ts +1 -1
  235. package/src/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.ts +1 -1
  236. package/src/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.ts +2 -2
  237. package/src/models/GetQuizAttemptAttempt.ts +1 -1
  238. package/src/models/GetQuizAttemptListAllOfAttempts.ts +1 -1
  239. package/src/models/GetQuizAttemptListAllOfFilters.ts +1 -1
  240. package/src/models/GetQuizAttemptQuestionsInner.ts +1 -1
  241. package/src/models/GetQuizCriteriaItem.ts +2 -2
  242. package/src/models/GetQuizCriteriaListItemsInner.ts +2 -2
  243. package/src/models/GetQuizListAllOfFilters.ts +1 -1
  244. package/src/models/GetQuizListAllOfQuizzes.ts +1 -1
  245. package/src/models/GetQuizQuestions.ts +1 -1
  246. package/src/models/GetQuizQuestionsItemsInnerQuestionDetails.ts +2 -2
  247. package/src/models/GetQuizResults.ts +1 -1
  248. package/src/models/GetQuizResultsFeedbackDifficultyPerformanceInner.ts +1 -1
  249. package/src/models/GetQuizResultsQuestionsInner.ts +1 -1
  250. package/src/models/GetRole.ts +151 -0
  251. package/src/models/GetScormApiLogItem.ts +1 -1
  252. package/src/models/GetUserQuizAttemptsAllOfAttempts.ts +1 -1
  253. package/src/models/GetUserQuizAttemptsAllOfFilters.ts +1 -1
  254. package/src/models/GetUserRole.ts +109 -0
  255. package/src/models/ManualSelection.ts +1 -1
  256. package/src/models/MultipleAnswer.ts +1 -1
  257. package/src/models/MultipleAnswer1.ts +1 -1
  258. package/src/models/NoAnswer.ts +1 -1
  259. package/src/models/PostContentUpload.ts +1 -1
  260. package/src/models/PostCourseExport.ts +1 -1
  261. package/src/models/PostPortalInvite.ts +7 -3
  262. package/src/models/PostQuestion.ts +2 -2
  263. package/src/models/PostQuiz.ts +1 -1
  264. package/src/models/PostQuizAttemptAttempt.ts +1 -1
  265. package/src/models/PostQuizAttemptQuestionsInner.ts +1 -1
  266. package/src/models/PostQuizAttemptSubmit.ts +1 -1
  267. package/src/models/PostQuizCriteriaCriteriaInner.ts +2 -2
  268. package/src/models/PostRole.ts +99 -0
  269. package/src/models/PutCourseEnrollment.ts +2 -2
  270. package/src/models/PutQuestion.ts +2 -2
  271. package/src/models/PutQuiz.ts +1 -1
  272. package/src/models/PutRole.ts +74 -0
  273. package/src/models/PutRolePermissions.ts +66 -0
  274. package/src/models/QuizContent.ts +1 -1
  275. package/src/models/SingleAnswer.ts +1 -1
  276. package/src/models/index.ts +6 -0
  277. package/src/runtime.ts +18 -0
@@ -45,7 +45,7 @@ export interface GetQuizAttemptAnalyticsBasicInfo {
45
45
  attemptNumber: number;
46
46
  /**
47
47
  * Attempt status
48
- * @type {string}
48
+ * @type {GetQuizAttemptAnalyticsBasicInfoStatusEnum}
49
49
  * @memberof GetQuizAttemptAnalyticsBasicInfo
50
50
  */
51
51
  status: GetQuizAttemptAnalyticsBasicInfoStatusEnum;
@@ -21,7 +21,7 @@ import { mapValues } from '../runtime';
21
21
  export interface GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner {
22
22
  /**
23
23
  * Difficulty level
24
- * @type {string}
24
+ * @type {GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInnerDifficultyLevelEnum}
25
25
  * @memberof GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner
26
26
  */
27
27
  difficultyLevel: GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInnerDifficultyLevelEnum;
@@ -21,7 +21,7 @@ import { mapValues } from '../runtime';
21
21
  export interface GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner {
22
22
  /**
23
23
  * Question type
24
- * @type {string}
24
+ * @type {GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInnerQuestionTypeEnum}
25
25
  * @memberof GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner
26
26
  */
27
27
  questionType: GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInnerQuestionTypeEnum;
@@ -54,7 +54,7 @@ export interface GetQuizAttemptAnalyticsQuestionAnalysisInner {
54
54
  questionText: string;
55
55
  /**
56
56
  * Question type
57
- * @type {string}
57
+ * @type {GetQuizAttemptAnalyticsQuestionAnalysisInnerQuestionTypeEnum}
58
58
  * @memberof GetQuizAttemptAnalyticsQuestionAnalysisInner
59
59
  */
60
60
  questionType: GetQuizAttemptAnalyticsQuestionAnalysisInnerQuestionTypeEnum;
@@ -66,7 +66,7 @@ export interface GetQuizAttemptAnalyticsQuestionAnalysisInner {
66
66
  topic: string;
67
67
  /**
68
68
  * Question difficulty
69
- * @type {string}
69
+ * @type {GetQuizAttemptAnalyticsQuestionAnalysisInnerDifficultyLevelEnum}
70
70
  * @memberof GetQuizAttemptAnalyticsQuestionAnalysisInner
71
71
  */
72
72
  difficultyLevel: GetQuizAttemptAnalyticsQuestionAnalysisInnerDifficultyLevelEnum;
@@ -57,7 +57,7 @@ export interface GetQuizAttemptAttempt {
57
57
  attemptNumber: number;
58
58
  /**
59
59
  * Current attempt status
60
- * @type {string}
60
+ * @type {GetQuizAttemptAttemptStatusEnum}
61
61
  * @memberof GetQuizAttemptAttempt
62
62
  */
63
63
  status: GetQuizAttemptAttemptStatusEnum;
@@ -75,7 +75,7 @@ export interface GetQuizAttemptListAllOfAttempts {
75
75
  attemptNumber: number;
76
76
  /**
77
77
  * Attempt status
78
- * @type {string}
78
+ * @type {GetQuizAttemptListAllOfAttemptsStatusEnum}
79
79
  * @memberof GetQuizAttemptListAllOfAttempts
80
80
  */
81
81
  status: GetQuizAttemptListAllOfAttemptsStatusEnum;
@@ -41,7 +41,7 @@ export interface GetQuizAttemptListAllOfFilters {
41
41
  userId?: string;
42
42
  /**
43
43
  * Filter by attempt status
44
- * @type {string}
44
+ * @type {GetQuizAttemptListAllOfFiltersStatusEnum}
45
45
  * @memberof GetQuizAttemptListAllOfFilters
46
46
  */
47
47
  status?: GetQuizAttemptListAllOfFiltersStatusEnum;
@@ -66,7 +66,7 @@ export interface GetQuizAttemptQuestionsInner {
66
66
  questionText: string;
67
67
  /**
68
68
  * Question type
69
- * @type {string}
69
+ * @type {GetQuizAttemptQuestionsInnerQuestionTypeEnum}
70
70
  * @memberof GetQuizAttemptQuestionsInner
71
71
  */
72
72
  questionType: GetQuizAttemptQuestionsInnerQuestionTypeEnum;
@@ -39,13 +39,13 @@ export interface GetQuizCriteriaItem {
39
39
  topic?: string;
40
40
  /**
41
41
  * Difficulty filter (null for any difficulty)
42
- * @type {string}
42
+ * @type {GetQuizCriteriaItemDifficultyLevelEnum}
43
43
  * @memberof GetQuizCriteriaItem
44
44
  */
45
45
  difficultyLevel?: GetQuizCriteriaItemDifficultyLevelEnum;
46
46
  /**
47
47
  * Question type filter (null for any type)
48
- * @type {string}
48
+ * @type {GetQuizCriteriaItemQuestionTypeEnum}
49
49
  * @memberof GetQuizCriteriaItem
50
50
  */
51
51
  questionType?: GetQuizCriteriaItemQuestionTypeEnum;
@@ -39,13 +39,13 @@ export interface GetQuizCriteriaListItemsInner {
39
39
  topic?: string;
40
40
  /**
41
41
  * Difficulty filter (null for any difficulty)
42
- * @type {string}
42
+ * @type {GetQuizCriteriaListItemsInnerDifficultyLevelEnum}
43
43
  * @memberof GetQuizCriteriaListItemsInner
44
44
  */
45
45
  difficultyLevel?: GetQuizCriteriaListItemsInnerDifficultyLevelEnum;
46
46
  /**
47
47
  * Question type filter (null for any type)
48
- * @type {string}
48
+ * @type {GetQuizCriteriaListItemsInnerQuestionTypeEnum}
49
49
  * @memberof GetQuizCriteriaListItemsInner
50
50
  */
51
51
  questionType?: GetQuizCriteriaListItemsInnerQuestionTypeEnum;
@@ -33,7 +33,7 @@ export interface GetQuizListAllOfFilters {
33
33
  moduleId?: string;
34
34
  /**
35
35
  * Filter by question selection method
36
- * @type {string}
36
+ * @type {GetQuizListAllOfFiltersQuestionSelectionMethodEnum}
37
37
  * @memberof GetQuizListAllOfFilters
38
38
  */
39
39
  questionSelectionMethod?: GetQuizListAllOfFiltersQuestionSelectionMethodEnum;
@@ -83,7 +83,7 @@ export interface GetQuizListAllOfQuizzes {
83
83
  courseName?: string;
84
84
  /**
85
85
  * Question selection method
86
- * @type {string}
86
+ * @type {GetQuizListAllOfQuizzesQuestionSelectionMethodEnum}
87
87
  * @memberof GetQuizListAllOfQuizzes
88
88
  */
89
89
  questionSelectionMethod: GetQuizListAllOfQuizzesQuestionSelectionMethodEnum;
@@ -65,7 +65,7 @@ export interface GetQuizQuestions {
65
65
  totalPoints: number;
66
66
  /**
67
67
  * How questions were selected
68
- * @type {string}
68
+ * @type {GetQuizQuestionsSelectionMethodEnum}
69
69
  * @memberof GetQuizQuestions
70
70
  */
71
71
  selectionMethod: GetQuizQuestionsSelectionMethodEnum;
@@ -35,7 +35,7 @@ export interface GetQuizQuestionsItemsInnerQuestionDetails {
35
35
  questionText: string;
36
36
  /**
37
37
  * Type of question
38
- * @type {string}
38
+ * @type {GetQuizQuestionsItemsInnerQuestionDetailsQuestionTypeEnum}
39
39
  * @memberof GetQuizQuestionsItemsInnerQuestionDetails
40
40
  */
41
41
  questionType: GetQuizQuestionsItemsInnerQuestionDetailsQuestionTypeEnum;
@@ -47,7 +47,7 @@ export interface GetQuizQuestionsItemsInnerQuestionDetails {
47
47
  topic: string;
48
48
  /**
49
49
  * Question difficulty
50
- * @type {string}
50
+ * @type {GetQuizQuestionsItemsInnerQuestionDetailsDifficultyLevelEnum}
51
51
  * @memberof GetQuizQuestionsItemsInnerQuestionDetails
52
52
  */
53
53
  difficultyLevel: GetQuizQuestionsItemsInnerQuestionDetailsDifficultyLevelEnum;
@@ -80,7 +80,7 @@ export interface GetQuizResults {
80
80
  attemptNumber: number;
81
81
  /**
82
82
  * Status of the quiz attempt
83
- * @type {string}
83
+ * @type {GetQuizResultsStatusEnum}
84
84
  * @memberof GetQuizResults
85
85
  */
86
86
  status: GetQuizResultsStatusEnum;
@@ -21,7 +21,7 @@ import { mapValues } from '../runtime';
21
21
  export interface GetQuizResultsFeedbackDifficultyPerformanceInner {
22
22
  /**
23
23
  *
24
- * @type {string}
24
+ * @type {GetQuizResultsFeedbackDifficultyPerformanceInnerDifficultyLevelEnum}
25
25
  * @memberof GetQuizResultsFeedbackDifficultyPerformanceInner
26
26
  */
27
27
  difficultyLevel: GetQuizResultsFeedbackDifficultyPerformanceInnerDifficultyLevelEnum;
@@ -54,7 +54,7 @@ export interface GetQuizResultsQuestionsInner {
54
54
  questionText: string;
55
55
  /**
56
56
  * Type of question
57
- * @type {string}
57
+ * @type {GetQuizResultsQuestionsInnerQuestionTypeEnum}
58
58
  * @memberof GetQuizResultsQuestionsInner
59
59
  */
60
60
  questionType: GetQuizResultsQuestionsInnerQuestionTypeEnum;
@@ -0,0 +1,151 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { GetPermission } from './GetPermission';
17
+ import {
18
+ GetPermissionFromJSON,
19
+ GetPermissionFromJSONTyped,
20
+ GetPermissionToJSON,
21
+ GetPermissionToJSONTyped,
22
+ } from './GetPermission';
23
+
24
+ /**
25
+ * A role with its assigned permissions
26
+ * @export
27
+ * @interface GetRole
28
+ */
29
+ export interface GetRole {
30
+ /**
31
+ * External UUID of the role
32
+ * @type {string}
33
+ * @memberof GetRole
34
+ */
35
+ id: string;
36
+ /**
37
+ * Display name of the role
38
+ * @type {string}
39
+ * @memberof GetRole
40
+ */
41
+ name: string;
42
+ /**
43
+ * Optional description of the role
44
+ * @type {string}
45
+ * @memberof GetRole
46
+ */
47
+ description?: string | null;
48
+ /**
49
+ * The base role type this role derives from
50
+ * @type {GetRoleBaseTypeEnum}
51
+ * @memberof GetRole
52
+ */
53
+ baseType: GetRoleBaseTypeEnum;
54
+ /**
55
+ * Portal this role is scoped to (null for system roles)
56
+ * @type {string}
57
+ * @memberof GetRole
58
+ */
59
+ portalId?: string | null;
60
+ /**
61
+ * Whether this is a built-in system role (cannot be modified)
62
+ * @type {boolean}
63
+ * @memberof GetRole
64
+ */
65
+ isSystem: boolean;
66
+ /**
67
+ * Whether this role is active
68
+ * @type {boolean}
69
+ * @memberof GetRole
70
+ */
71
+ isActive: boolean;
72
+ /**
73
+ *
74
+ * @type {Array<GetPermission>}
75
+ * @memberof GetRole
76
+ */
77
+ permissions: Array<GetPermission>;
78
+ }
79
+
80
+
81
+ /**
82
+ * @export
83
+ */
84
+ export const GetRoleBaseTypeEnum = {
85
+ Owner: 'Owner',
86
+ Admin: 'Admin',
87
+ Instructor: 'Instructor',
88
+ Learner: 'Learner',
89
+ ClientSuperAdmin: 'ClientSuperAdmin',
90
+ ClientManager: 'ClientManager',
91
+ PortalClientAdministrator: 'PortalClientAdministrator'
92
+ } as const;
93
+ export type GetRoleBaseTypeEnum = typeof GetRoleBaseTypeEnum[keyof typeof GetRoleBaseTypeEnum];
94
+
95
+
96
+ /**
97
+ * Check if a given object implements the GetRole interface.
98
+ */
99
+ export function instanceOfGetRole(value: object): value is GetRole {
100
+ if (!('id' in value) || value['id'] === undefined) return false;
101
+ if (!('name' in value) || value['name'] === undefined) return false;
102
+ if (!('baseType' in value) || value['baseType'] === undefined) return false;
103
+ if (!('isSystem' in value) || value['isSystem'] === undefined) return false;
104
+ if (!('isActive' in value) || value['isActive'] === undefined) return false;
105
+ if (!('permissions' in value) || value['permissions'] === undefined) return false;
106
+ return true;
107
+ }
108
+
109
+ export function GetRoleFromJSON(json: any): GetRole {
110
+ return GetRoleFromJSONTyped(json, false);
111
+ }
112
+
113
+ export function GetRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetRole {
114
+ if (json == null) {
115
+ return json;
116
+ }
117
+ return {
118
+
119
+ 'id': json['id'],
120
+ 'name': json['name'],
121
+ 'description': json['description'] == null ? undefined : json['description'],
122
+ 'baseType': json['base_type'],
123
+ 'portalId': json['portal_id'] == null ? undefined : json['portal_id'],
124
+ 'isSystem': json['is_system'],
125
+ 'isActive': json['is_active'],
126
+ 'permissions': ((json['permissions'] as Array<any>).map(GetPermissionFromJSON)),
127
+ };
128
+ }
129
+
130
+ export function GetRoleToJSON(json: any): GetRole {
131
+ return GetRoleToJSONTyped(json, false);
132
+ }
133
+
134
+ export function GetRoleToJSONTyped(value?: GetRole | null, ignoreDiscriminator: boolean = false): any {
135
+ if (value == null) {
136
+ return value;
137
+ }
138
+
139
+ return {
140
+
141
+ 'id': value['id'],
142
+ 'name': value['name'],
143
+ 'description': value['description'],
144
+ 'base_type': value['baseType'],
145
+ 'portal_id': value['portalId'],
146
+ 'is_system': value['isSystem'],
147
+ 'is_active': value['isActive'],
148
+ 'permissions': ((value['permissions'] as Array<any>).map(GetPermissionToJSON)),
149
+ };
150
+ }
151
+
@@ -33,7 +33,7 @@ export interface GetScormApiLogItem {
33
33
  createdAt: number;
34
34
  /**
35
35
  * The SCORM API method that was called
36
- * @type {string}
36
+ * @type {GetScormApiLogItemMethodEnum}
37
37
  * @memberof GetScormApiLogItem
38
38
  */
39
39
  method: GetScormApiLogItemMethodEnum;
@@ -69,7 +69,7 @@ export interface GetUserQuizAttemptsAllOfAttempts {
69
69
  attemptNumber: number;
70
70
  /**
71
71
  * Attempt status
72
- * @type {string}
72
+ * @type {GetUserQuizAttemptsAllOfAttemptsStatusEnum}
73
73
  * @memberof GetUserQuizAttemptsAllOfAttempts
74
74
  */
75
75
  status: GetUserQuizAttemptsAllOfAttemptsStatusEnum;
@@ -47,7 +47,7 @@ export interface GetUserQuizAttemptsAllOfFilters {
47
47
  quizId?: string;
48
48
  /**
49
49
  * Filter by attempt status
50
- * @type {string}
50
+ * @type {GetUserQuizAttemptsAllOfFiltersStatusEnum}
51
51
  * @memberof GetUserQuizAttemptsAllOfFilters
52
52
  */
53
53
  status?: GetUserQuizAttemptsAllOfFiltersStatusEnum;
@@ -0,0 +1,109 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ * A role assigned to a user in a portal
18
+ * @export
19
+ * @interface GetUserRole
20
+ */
21
+ export interface GetUserRole {
22
+ /**
23
+ * External UUID of the role
24
+ * @type {string}
25
+ * @memberof GetUserRole
26
+ */
27
+ id: string;
28
+ /**
29
+ * Role name
30
+ * @type {string}
31
+ * @memberof GetUserRole
32
+ */
33
+ name: string;
34
+ /**
35
+ * Base role type
36
+ * @type {GetUserRoleBaseTypeEnum}
37
+ * @memberof GetUserRole
38
+ */
39
+ baseType: GetUserRoleBaseTypeEnum;
40
+ /**
41
+ * Whether this is a system role
42
+ * @type {boolean}
43
+ * @memberof GetUserRole
44
+ */
45
+ isSystem: boolean;
46
+ }
47
+
48
+
49
+ /**
50
+ * @export
51
+ */
52
+ export const GetUserRoleBaseTypeEnum = {
53
+ Owner: 'Owner',
54
+ Admin: 'Admin',
55
+ Instructor: 'Instructor',
56
+ Learner: 'Learner',
57
+ ClientSuperAdmin: 'ClientSuperAdmin',
58
+ ClientManager: 'ClientManager',
59
+ PortalClientAdministrator: 'PortalClientAdministrator'
60
+ } as const;
61
+ export type GetUserRoleBaseTypeEnum = typeof GetUserRoleBaseTypeEnum[keyof typeof GetUserRoleBaseTypeEnum];
62
+
63
+
64
+ /**
65
+ * Check if a given object implements the GetUserRole interface.
66
+ */
67
+ export function instanceOfGetUserRole(value: object): value is GetUserRole {
68
+ if (!('id' in value) || value['id'] === undefined) return false;
69
+ if (!('name' in value) || value['name'] === undefined) return false;
70
+ if (!('baseType' in value) || value['baseType'] === undefined) return false;
71
+ if (!('isSystem' in value) || value['isSystem'] === undefined) return false;
72
+ return true;
73
+ }
74
+
75
+ export function GetUserRoleFromJSON(json: any): GetUserRole {
76
+ return GetUserRoleFromJSONTyped(json, false);
77
+ }
78
+
79
+ export function GetUserRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetUserRole {
80
+ if (json == null) {
81
+ return json;
82
+ }
83
+ return {
84
+
85
+ 'id': json['id'],
86
+ 'name': json['name'],
87
+ 'baseType': json['base_type'],
88
+ 'isSystem': json['is_system'],
89
+ };
90
+ }
91
+
92
+ export function GetUserRoleToJSON(json: any): GetUserRole {
93
+ return GetUserRoleToJSONTyped(json, false);
94
+ }
95
+
96
+ export function GetUserRoleToJSONTyped(value?: GetUserRole | null, ignoreDiscriminator: boolean = false): any {
97
+ if (value == null) {
98
+ return value;
99
+ }
100
+
101
+ return {
102
+
103
+ 'id': value['id'],
104
+ 'name': value['name'],
105
+ 'base_type': value['baseType'],
106
+ 'is_system': value['isSystem'],
107
+ };
108
+ }
109
+
@@ -21,7 +21,7 @@ import { mapValues } from '../runtime';
21
21
  export interface ManualSelection {
22
22
  /**
23
23
  *
24
- * @type {string}
24
+ * @type {ManualSelectionMethodEnum}
25
25
  * @memberof ManualSelection
26
26
  */
27
27
  method: ManualSelectionMethodEnum;
@@ -21,7 +21,7 @@ import { mapValues } from '../runtime';
21
21
  export interface MultipleAnswer {
22
22
  /**
23
23
  *
24
- * @type {string}
24
+ * @type {MultipleAnswerTypeEnum}
25
25
  * @memberof MultipleAnswer
26
26
  */
27
27
  type: MultipleAnswerTypeEnum;
@@ -21,7 +21,7 @@ import { mapValues } from '../runtime';
21
21
  export interface MultipleAnswer1 {
22
22
  /**
23
23
  *
24
- * @type {string}
24
+ * @type {MultipleAnswer1TypeEnum}
25
25
  * @memberof MultipleAnswer1
26
26
  */
27
27
  type: MultipleAnswer1TypeEnum;
@@ -21,7 +21,7 @@ import { mapValues } from '../runtime';
21
21
  export interface NoAnswer {
22
22
  /**
23
23
  *
24
- * @type {string}
24
+ * @type {NoAnswerTypeEnum}
25
25
  * @memberof NoAnswer
26
26
  */
27
27
  type: NoAnswerTypeEnum;
@@ -27,7 +27,7 @@ export interface PostContentUpload {
27
27
  name: string;
28
28
  /**
29
29
  * The type of content being uploaded
30
- * @type {string}
30
+ * @type {PostContentUploadContentTypeEnum}
31
31
  * @memberof PostContentUpload
32
32
  */
33
33
  contentType: PostContentUploadContentTypeEnum;
@@ -21,7 +21,7 @@ import { mapValues } from '../runtime';
21
21
  export interface PostCourseExport {
22
22
  /**
23
23
  * The SCORM version to export
24
- * @type {string}
24
+ * @type {PostCourseExportScormVersionEnum}
25
25
  * @memberof PostCourseExport
26
26
  */
27
27
  scormVersion: PostCourseExportScormVersionEnum;
@@ -38,8 +38,8 @@ export interface PostPortalInvite {
38
38
  */
39
39
  lastName: string;
40
40
  /**
41
- *
42
- * @type {string}
41
+ * Role name to assign to the invited user
42
+ * @type {PostPortalInviteUserTypeEnum}
43
43
  * @memberof PostPortalInvite
44
44
  */
45
45
  userType: PostPortalInviteUserTypeEnum;
@@ -50,9 +50,13 @@ export interface PostPortalInvite {
50
50
  * @export
51
51
  */
52
52
  export const PostPortalInviteUserTypeEnum = {
53
+ Owner: 'Owner',
53
54
  Admin: 'Admin',
54
55
  Instructor: 'Instructor',
55
- Learner: 'Learner'
56
+ Learner: 'Learner',
57
+ ClientSuperAdmin: 'ClientSuperAdmin',
58
+ ClientManager: 'ClientManager',
59
+ PortalClientAdministrator: 'PortalClientAdministrator'
56
60
  } as const;
57
61
  export type PostPortalInviteUserTypeEnum = typeof PostPortalInviteUserTypeEnum[keyof typeof PostPortalInviteUserTypeEnum];
58
62
 
@@ -35,7 +35,7 @@ export interface PostQuestion {
35
35
  questionText: string;
36
36
  /**
37
37
  * Type of question: single answer (True/False, multiple choice), multiple answer, or fill in the blank
38
- * @type {string}
38
+ * @type {PostQuestionQuestionTypeEnum}
39
39
  * @memberof PostQuestion
40
40
  */
41
41
  questionType: PostQuestionQuestionTypeEnum;
@@ -71,7 +71,7 @@ export interface PostQuestion {
71
71
  course?: string;
72
72
  /**
73
73
  * Difficulty level of the question
74
- * @type {string}
74
+ * @type {PostQuestionDifficultyLevelEnum}
75
75
  * @memberof PostQuestion
76
76
  */
77
77
  difficultyLevel: PostQuestionDifficultyLevelEnum;
@@ -35,7 +35,7 @@ export interface PostQuiz {
35
35
  contentId: string;
36
36
  /**
37
37
  * How questions are selected for this quiz
38
- * @type {string}
38
+ * @type {PostQuizQuestionSelectionMethodEnum}
39
39
  * @memberof PostQuiz
40
40
  */
41
41
  questionSelectionMethod: PostQuizQuestionSelectionMethodEnum;
@@ -57,7 +57,7 @@ export interface PostQuizAttemptAttempt {
57
57
  attemptNumber: number;
58
58
  /**
59
59
  * Current attempt status
60
- * @type {string}
60
+ * @type {PostQuizAttemptAttemptStatusEnum}
61
61
  * @memberof PostQuizAttemptAttempt
62
62
  */
63
63
  status: PostQuizAttemptAttemptStatusEnum;
@@ -59,7 +59,7 @@ export interface PostQuizAttemptQuestionsInner {
59
59
  questionText: string;
60
60
  /**
61
61
  * Question type
62
- * @type {string}
62
+ * @type {PostQuizAttemptQuestionsInnerQuestionTypeEnum}
63
63
  * @memberof PostQuizAttemptQuestionsInner
64
64
  */
65
65
  questionType: PostQuizAttemptQuestionsInnerQuestionTypeEnum;
@@ -29,7 +29,7 @@ import {
29
29
  export interface PostQuizAttemptSubmit {
30
30
  /**
31
31
  * How the quiz was submitted
32
- * @type {string}
32
+ * @type {PostQuizAttemptSubmitSubmissionTypeEnum}
33
33
  * @memberof PostQuizAttemptSubmit
34
34
  */
35
35
  submissionType: PostQuizAttemptSubmitSubmissionTypeEnum;
@@ -27,13 +27,13 @@ export interface PostQuizCriteriaCriteriaInner {
27
27
  topic?: string;
28
28
  /**
29
29
  * Filter by difficulty level (null for any difficulty)
30
- * @type {string}
30
+ * @type {PostQuizCriteriaCriteriaInnerDifficultyLevelEnum}
31
31
  * @memberof PostQuizCriteriaCriteriaInner
32
32
  */
33
33
  difficultyLevel?: PostQuizCriteriaCriteriaInnerDifficultyLevelEnum;
34
34
  /**
35
35
  * Filter by question type (null for any type)
36
- * @type {string}
36
+ * @type {PostQuizCriteriaCriteriaInnerQuestionTypeEnum}
37
37
  * @memberof PostQuizCriteriaCriteriaInner
38
38
  */
39
39
  questionType?: PostQuizCriteriaCriteriaInnerQuestionTypeEnum;