@easyedu/js-lsm-api 1.90.0 → 1.92.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 (241) hide show
  1. package/.openapi-generator/FILES +70 -0
  2. package/README.md +65 -2
  3. package/dist/apis/ContentLibraryQuizApi.d.ts +451 -0
  4. package/dist/apis/ContentLibraryQuizApi.js +1162 -0
  5. package/dist/apis/PlayerApi.d.ts +130 -1
  6. package/dist/apis/PlayerApi.js +257 -1
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/esm/apis/ContentLibraryQuizApi.d.ts +451 -0
  10. package/dist/esm/apis/ContentLibraryQuizApi.js +1158 -0
  11. package/dist/esm/apis/PlayerApi.d.ts +130 -1
  12. package/dist/esm/apis/PlayerApi.js +256 -0
  13. package/dist/esm/apis/index.d.ts +1 -0
  14. package/dist/esm/apis/index.js +1 -0
  15. package/dist/esm/models/GetCourseVersionItem.d.ts +14 -0
  16. package/dist/esm/models/GetCourseVersionItem.js +9 -0
  17. package/dist/esm/models/GetLibraryQuiz.d.ts +124 -0
  18. package/dist/esm/models/GetLibraryQuiz.js +100 -0
  19. package/dist/esm/models/GetLibraryQuizAnalytics.d.ts +68 -0
  20. package/dist/esm/models/GetLibraryQuizAnalytics.js +67 -0
  21. package/dist/esm/models/GetLibraryQuizList.d.ts +57 -0
  22. package/dist/esm/models/GetLibraryQuizList.js +60 -0
  23. package/dist/esm/models/GetLibraryQuizResult.d.ts +94 -0
  24. package/dist/esm/models/GetLibraryQuizResult.js +79 -0
  25. package/dist/esm/models/GetLibraryQuizSession.d.ts +177 -0
  26. package/dist/esm/models/GetLibraryQuizSession.js +129 -0
  27. package/dist/esm/models/GetLibraryQuizSessionList.d.ts +57 -0
  28. package/dist/esm/models/GetLibraryQuizSessionList.js +60 -0
  29. package/dist/esm/models/GetLibraryQuizUsage.d.ts +56 -0
  30. package/dist/esm/models/GetLibraryQuizUsage.js +59 -0
  31. package/dist/esm/models/GetLibraryQuizVersion.d.ts +170 -0
  32. package/dist/esm/models/GetLibraryQuizVersion.js +125 -0
  33. package/dist/esm/models/GetResourceSession.d.ts +30 -0
  34. package/dist/esm/models/GetResourceSession.js +16 -0
  35. package/dist/esm/models/GetResourceSessionDiagnostics.d.ts +76 -0
  36. package/dist/esm/models/GetResourceSessionDiagnostics.js +69 -0
  37. package/dist/esm/models/GetResourceSessionDiagnosticsCourseContext.d.ts +81 -0
  38. package/dist/esm/models/GetResourceSessionDiagnosticsCourseContext.js +76 -0
  39. package/dist/esm/models/GetResourceSessionDiagnosticsResource.d.ts +51 -0
  40. package/dist/esm/models/GetResourceSessionDiagnosticsResource.js +56 -0
  41. package/dist/esm/models/GetResourceSessionDiagnosticsScormSummary.d.ts +74 -0
  42. package/dist/esm/models/GetResourceSessionDiagnosticsScormSummary.js +59 -0
  43. package/dist/esm/models/GetResourceSessionDiagnosticsUser.d.ts +38 -0
  44. package/dist/esm/models/GetResourceSessionDiagnosticsUser.js +47 -0
  45. package/dist/esm/models/GetResourceSessionDiagnosticsVersion.d.ts +88 -0
  46. package/dist/esm/models/GetResourceSessionDiagnosticsVersion.js +67 -0
  47. package/dist/esm/models/GetResourceSessionScormApiLogs.d.ts +57 -0
  48. package/dist/esm/models/GetResourceSessionScormApiLogs.js +60 -0
  49. package/dist/esm/models/GetResourceSessionScormData.d.ts +77 -0
  50. package/dist/esm/models/GetResourceSessionScormData.js +66 -0
  51. package/dist/esm/models/GetResourceSessionScormDataActivity.d.ts +44 -0
  52. package/dist/esm/models/GetResourceSessionScormDataActivity.js +45 -0
  53. package/dist/esm/models/LibraryQuizCriterion.d.ts +95 -0
  54. package/dist/esm/models/LibraryQuizCriterion.js +76 -0
  55. package/dist/esm/models/LibraryQuizQuestion.d.ts +70 -0
  56. package/dist/esm/models/LibraryQuizQuestion.js +63 -0
  57. package/dist/esm/models/LibraryQuizQuestionInput.d.ts +50 -0
  58. package/dist/esm/models/LibraryQuizQuestionInput.js +51 -0
  59. package/dist/esm/models/LibraryQuizSessionAnswerChoice.d.ts +51 -0
  60. package/dist/esm/models/LibraryQuizSessionAnswerChoice.js +54 -0
  61. package/dist/esm/models/LibraryQuizSessionQuestion.d.ts +96 -0
  62. package/dist/esm/models/LibraryQuizSessionQuestion.js +84 -0
  63. package/dist/esm/models/PostCourseLibraryQuizSession.d.ts +32 -0
  64. package/dist/esm/models/PostCourseLibraryQuizSession.js +41 -0
  65. package/dist/esm/models/PostLibraryQuiz.d.ts +107 -0
  66. package/dist/esm/models/PostLibraryQuiz.js +70 -0
  67. package/dist/esm/models/PostLibraryQuizSession.d.ts +32 -0
  68. package/dist/esm/models/PostLibraryQuizSession.js +41 -0
  69. package/dist/esm/models/PostLibraryQuizVersion.d.ts +32 -0
  70. package/dist/esm/models/PostLibraryQuizVersion.js +41 -0
  71. package/dist/esm/models/PutLibraryQuiz.d.ts +38 -0
  72. package/dist/esm/models/PutLibraryQuiz.js +43 -0
  73. package/dist/esm/models/PutLibraryQuizCriteria.d.ts +33 -0
  74. package/dist/esm/models/PutLibraryQuizCriteria.js +44 -0
  75. package/dist/esm/models/PutLibraryQuizQuestions.d.ts +33 -0
  76. package/dist/esm/models/PutLibraryQuizQuestions.js +44 -0
  77. package/dist/esm/models/PutLibraryQuizSessionAnswer.d.ts +40 -0
  78. package/dist/esm/models/PutLibraryQuizSessionAnswer.js +45 -0
  79. package/dist/esm/models/PutLibraryQuizSessionGrade.d.ts +38 -0
  80. package/dist/esm/models/PutLibraryQuizSessionGrade.js +45 -0
  81. package/dist/esm/models/PutLibraryQuizVersion.d.ts +101 -0
  82. package/dist/esm/models/PutLibraryQuizVersion.js +64 -0
  83. package/dist/esm/models/QuestionSelectionMethod.d.ts +25 -0
  84. package/dist/esm/models/QuestionSelectionMethod.js +43 -0
  85. package/dist/esm/models/ResourceSessionScormApiLogItem.d.ts +79 -0
  86. package/dist/esm/models/ResourceSessionScormApiLogItem.js +73 -0
  87. package/dist/esm/models/index.d.ts +34 -0
  88. package/dist/esm/models/index.js +34 -0
  89. package/dist/models/GetCourseVersionItem.d.ts +14 -0
  90. package/dist/models/GetCourseVersionItem.js +10 -1
  91. package/dist/models/GetLibraryQuiz.d.ts +124 -0
  92. package/dist/models/GetLibraryQuiz.js +108 -0
  93. package/dist/models/GetLibraryQuizAnalytics.d.ts +68 -0
  94. package/dist/models/GetLibraryQuizAnalytics.js +74 -0
  95. package/dist/models/GetLibraryQuizList.d.ts +57 -0
  96. package/dist/models/GetLibraryQuizList.js +67 -0
  97. package/dist/models/GetLibraryQuizResult.d.ts +94 -0
  98. package/dist/models/GetLibraryQuizResult.js +86 -0
  99. package/dist/models/GetLibraryQuizSession.d.ts +177 -0
  100. package/dist/models/GetLibraryQuizSession.js +137 -0
  101. package/dist/models/GetLibraryQuizSessionList.d.ts +57 -0
  102. package/dist/models/GetLibraryQuizSessionList.js +67 -0
  103. package/dist/models/GetLibraryQuizUsage.d.ts +56 -0
  104. package/dist/models/GetLibraryQuizUsage.js +66 -0
  105. package/dist/models/GetLibraryQuizVersion.d.ts +170 -0
  106. package/dist/models/GetLibraryQuizVersion.js +132 -0
  107. package/dist/models/GetResourceSession.d.ts +30 -0
  108. package/dist/models/GetResourceSession.js +16 -0
  109. package/dist/models/GetResourceSessionDiagnostics.d.ts +76 -0
  110. package/dist/models/GetResourceSessionDiagnostics.js +76 -0
  111. package/dist/models/GetResourceSessionDiagnosticsCourseContext.d.ts +81 -0
  112. package/dist/models/GetResourceSessionDiagnosticsCourseContext.js +83 -0
  113. package/dist/models/GetResourceSessionDiagnosticsResource.d.ts +51 -0
  114. package/dist/models/GetResourceSessionDiagnosticsResource.js +63 -0
  115. package/dist/models/GetResourceSessionDiagnosticsScormSummary.d.ts +74 -0
  116. package/dist/models/GetResourceSessionDiagnosticsScormSummary.js +66 -0
  117. package/dist/models/GetResourceSessionDiagnosticsUser.d.ts +38 -0
  118. package/dist/models/GetResourceSessionDiagnosticsUser.js +54 -0
  119. package/dist/models/GetResourceSessionDiagnosticsVersion.d.ts +88 -0
  120. package/dist/models/GetResourceSessionDiagnosticsVersion.js +74 -0
  121. package/dist/models/GetResourceSessionScormApiLogs.d.ts +57 -0
  122. package/dist/models/GetResourceSessionScormApiLogs.js +67 -0
  123. package/dist/models/GetResourceSessionScormData.d.ts +77 -0
  124. package/dist/models/GetResourceSessionScormData.js +73 -0
  125. package/dist/models/GetResourceSessionScormDataActivity.d.ts +44 -0
  126. package/dist/models/GetResourceSessionScormDataActivity.js +52 -0
  127. package/dist/models/LibraryQuizCriterion.d.ts +95 -0
  128. package/dist/models/LibraryQuizCriterion.js +84 -0
  129. package/dist/models/LibraryQuizQuestion.d.ts +70 -0
  130. package/dist/models/LibraryQuizQuestion.js +70 -0
  131. package/dist/models/LibraryQuizQuestionInput.d.ts +50 -0
  132. package/dist/models/LibraryQuizQuestionInput.js +58 -0
  133. package/dist/models/LibraryQuizSessionAnswerChoice.d.ts +51 -0
  134. package/dist/models/LibraryQuizSessionAnswerChoice.js +61 -0
  135. package/dist/models/LibraryQuizSessionQuestion.d.ts +96 -0
  136. package/dist/models/LibraryQuizSessionQuestion.js +92 -0
  137. package/dist/models/PostCourseLibraryQuizSession.d.ts +32 -0
  138. package/dist/models/PostCourseLibraryQuizSession.js +48 -0
  139. package/dist/models/PostLibraryQuiz.d.ts +107 -0
  140. package/dist/models/PostLibraryQuiz.js +77 -0
  141. package/dist/models/PostLibraryQuizSession.d.ts +32 -0
  142. package/dist/models/PostLibraryQuizSession.js +48 -0
  143. package/dist/models/PostLibraryQuizVersion.d.ts +32 -0
  144. package/dist/models/PostLibraryQuizVersion.js +48 -0
  145. package/dist/models/PutLibraryQuiz.d.ts +38 -0
  146. package/dist/models/PutLibraryQuiz.js +50 -0
  147. package/dist/models/PutLibraryQuizCriteria.d.ts +33 -0
  148. package/dist/models/PutLibraryQuizCriteria.js +51 -0
  149. package/dist/models/PutLibraryQuizQuestions.d.ts +33 -0
  150. package/dist/models/PutLibraryQuizQuestions.js +51 -0
  151. package/dist/models/PutLibraryQuizSessionAnswer.d.ts +40 -0
  152. package/dist/models/PutLibraryQuizSessionAnswer.js +52 -0
  153. package/dist/models/PutLibraryQuizSessionGrade.d.ts +38 -0
  154. package/dist/models/PutLibraryQuizSessionGrade.js +52 -0
  155. package/dist/models/PutLibraryQuizVersion.d.ts +101 -0
  156. package/dist/models/PutLibraryQuizVersion.js +71 -0
  157. package/dist/models/QuestionSelectionMethod.d.ts +25 -0
  158. package/dist/models/QuestionSelectionMethod.js +51 -0
  159. package/dist/models/ResourceSessionScormApiLogItem.d.ts +79 -0
  160. package/dist/models/ResourceSessionScormApiLogItem.js +81 -0
  161. package/dist/models/index.d.ts +34 -0
  162. package/dist/models/index.js +34 -0
  163. package/docs/ContentLibraryQuizApi.md +1780 -0
  164. package/docs/GetCourseVersionItem.md +2 -0
  165. package/docs/GetLibraryQuiz.md +62 -0
  166. package/docs/GetLibraryQuizAnalytics.md +46 -0
  167. package/docs/GetLibraryQuizList.md +42 -0
  168. package/docs/GetLibraryQuizResult.md +54 -0
  169. package/docs/GetLibraryQuizSession.md +78 -0
  170. package/docs/GetLibraryQuizSessionList.md +42 -0
  171. package/docs/GetLibraryQuizUsage.md +42 -0
  172. package/docs/GetLibraryQuizVersion.md +78 -0
  173. package/docs/GetResourceSession.md +10 -0
  174. package/docs/GetResourceSessionDiagnostics.md +47 -0
  175. package/docs/GetResourceSessionDiagnosticsCourseContext.md +50 -0
  176. package/docs/GetResourceSessionDiagnosticsResource.md +40 -0
  177. package/docs/GetResourceSessionDiagnosticsScormSummary.md +48 -0
  178. package/docs/GetResourceSessionDiagnosticsUser.md +36 -0
  179. package/docs/GetResourceSessionDiagnosticsVersion.md +52 -0
  180. package/docs/GetResourceSessionScormApiLogs.md +43 -0
  181. package/docs/GetResourceSessionScormData.md +49 -0
  182. package/docs/GetResourceSessionScormDataActivity.md +38 -0
  183. package/docs/LibraryQuizCriterion.md +48 -0
  184. package/docs/LibraryQuizQuestion.md +46 -0
  185. package/docs/LibraryQuizQuestionInput.md +40 -0
  186. package/docs/LibraryQuizSessionAnswerChoice.md +40 -0
  187. package/docs/LibraryQuizSessionQuestion.md +50 -0
  188. package/docs/PlayerApi.md +320 -3
  189. package/docs/PostCourseLibraryQuizSession.md +34 -0
  190. package/docs/PostLibraryQuiz.md +58 -0
  191. package/docs/PostLibraryQuizSession.md +34 -0
  192. package/docs/PostLibraryQuizVersion.md +34 -0
  193. package/docs/PutLibraryQuiz.md +36 -0
  194. package/docs/PutLibraryQuizCriteria.md +34 -0
  195. package/docs/PutLibraryQuizQuestions.md +34 -0
  196. package/docs/PutLibraryQuizSessionAnswer.md +36 -0
  197. package/docs/PutLibraryQuizSessionGrade.md +36 -0
  198. package/docs/PutLibraryQuizVersion.md +56 -0
  199. package/docs/QuestionSelectionMethod.md +32 -0
  200. package/docs/ResourceSessionScormApiLogItem.md +47 -0
  201. package/package.json +1 -1
  202. package/src/apis/ContentLibraryQuizApi.ts +1624 -0
  203. package/src/apis/PlayerApi.ts +351 -1
  204. package/src/apis/index.ts +1 -0
  205. package/src/models/GetCourseVersionItem.ts +17 -0
  206. package/src/models/GetLibraryQuiz.ts +207 -0
  207. package/src/models/GetLibraryQuizAnalytics.ts +120 -0
  208. package/src/models/GetLibraryQuizList.ts +110 -0
  209. package/src/models/GetLibraryQuizResult.ts +154 -0
  210. package/src/models/GetLibraryQuizSession.ts +286 -0
  211. package/src/models/GetLibraryQuizSessionList.ts +110 -0
  212. package/src/models/GetLibraryQuizUsage.ts +102 -0
  213. package/src/models/GetLibraryQuizVersion.ts +290 -0
  214. package/src/models/GetResourceSession.ts +43 -0
  215. package/src/models/GetResourceSessionDiagnostics.ts +161 -0
  216. package/src/models/GetResourceSessionDiagnosticsCourseContext.ts +148 -0
  217. package/src/models/GetResourceSessionDiagnosticsResource.ts +103 -0
  218. package/src/models/GetResourceSessionDiagnosticsScormSummary.ts +123 -0
  219. package/src/models/GetResourceSessionDiagnosticsUser.ts +75 -0
  220. package/src/models/GetResourceSessionDiagnosticsVersion.ts +141 -0
  221. package/src/models/GetResourceSessionScormApiLogs.ts +110 -0
  222. package/src/models/GetResourceSessionScormData.ts +134 -0
  223. package/src/models/GetResourceSessionScormDataActivity.ts +81 -0
  224. package/src/models/LibraryQuizCriterion.ts +147 -0
  225. package/src/models/LibraryQuizQuestion.ts +118 -0
  226. package/src/models/LibraryQuizQuestionInput.ts +91 -0
  227. package/src/models/LibraryQuizSessionAnswerChoice.ts +100 -0
  228. package/src/models/LibraryQuizSessionQuestion.ts +166 -0
  229. package/src/models/PostCourseLibraryQuizSession.ts +65 -0
  230. package/src/models/PostLibraryQuiz.ts +173 -0
  231. package/src/models/PostLibraryQuizSession.ts +65 -0
  232. package/src/models/PostLibraryQuizVersion.ts +65 -0
  233. package/src/models/PutLibraryQuiz.ts +73 -0
  234. package/src/models/PutLibraryQuizCriteria.ts +74 -0
  235. package/src/models/PutLibraryQuizQuestions.ts +74 -0
  236. package/src/models/PutLibraryQuizSessionAnswer.ts +74 -0
  237. package/src/models/PutLibraryQuizSessionGrade.ts +74 -0
  238. package/src/models/PutLibraryQuizVersion.ts +163 -0
  239. package/src/models/QuestionSelectionMethod.ts +53 -0
  240. package/src/models/ResourceSessionScormApiLogItem.ts +132 -0
  241. package/src/models/index.ts +34 -0
@@ -0,0 +1,88 @@
1
+ /**
2
+ * LMS API
3
+ * LMS API
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetResourceSessionDiagnosticsVersion
16
+ */
17
+ export interface GetResourceSessionDiagnosticsVersion {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GetResourceSessionDiagnosticsVersion
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof GetResourceSessionDiagnosticsVersion
28
+ */
29
+ versionNumber: number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof GetResourceSessionDiagnosticsVersion
34
+ */
35
+ status: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof GetResourceSessionDiagnosticsVersion
40
+ */
41
+ changeNotes?: string | null;
42
+ /**
43
+ *
44
+ * @type {{ [key: string]: any; }}
45
+ * @memberof GetResourceSessionDiagnosticsVersion
46
+ */
47
+ metadata: {
48
+ [key: string]: any;
49
+ };
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof GetResourceSessionDiagnosticsVersion
54
+ */
55
+ filename?: string | null;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof GetResourceSessionDiagnosticsVersion
60
+ */
61
+ mimeType?: string | null;
62
+ /**
63
+ *
64
+ * @type {number}
65
+ * @memberof GetResourceSessionDiagnosticsVersion
66
+ */
67
+ fileSizeBytes?: number | null;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof GetResourceSessionDiagnosticsVersion
72
+ */
73
+ checksumSha256?: string | null;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof GetResourceSessionDiagnosticsVersion
78
+ */
79
+ linkUrl?: string | null;
80
+ }
81
+ /**
82
+ * Check if a given object implements the GetResourceSessionDiagnosticsVersion interface.
83
+ */
84
+ export declare function instanceOfGetResourceSessionDiagnosticsVersion(value: object): value is GetResourceSessionDiagnosticsVersion;
85
+ export declare function GetResourceSessionDiagnosticsVersionFromJSON(json: any): GetResourceSessionDiagnosticsVersion;
86
+ export declare function GetResourceSessionDiagnosticsVersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnosticsVersion;
87
+ export declare function GetResourceSessionDiagnosticsVersionToJSON(json: any): GetResourceSessionDiagnosticsVersion;
88
+ export declare function GetResourceSessionDiagnosticsVersionToJSONTyped(value?: GetResourceSessionDiagnosticsVersion | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * LMS API
6
+ * LMS API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfGetResourceSessionDiagnosticsVersion = instanceOfGetResourceSessionDiagnosticsVersion;
17
+ exports.GetResourceSessionDiagnosticsVersionFromJSON = GetResourceSessionDiagnosticsVersionFromJSON;
18
+ exports.GetResourceSessionDiagnosticsVersionFromJSONTyped = GetResourceSessionDiagnosticsVersionFromJSONTyped;
19
+ exports.GetResourceSessionDiagnosticsVersionToJSON = GetResourceSessionDiagnosticsVersionToJSON;
20
+ exports.GetResourceSessionDiagnosticsVersionToJSONTyped = GetResourceSessionDiagnosticsVersionToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GetResourceSessionDiagnosticsVersion interface.
23
+ */
24
+ function instanceOfGetResourceSessionDiagnosticsVersion(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('versionNumber' in value) || value['versionNumber'] === undefined)
28
+ return false;
29
+ if (!('status' in value) || value['status'] === undefined)
30
+ return false;
31
+ if (!('metadata' in value) || value['metadata'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function GetResourceSessionDiagnosticsVersionFromJSON(json) {
36
+ return GetResourceSessionDiagnosticsVersionFromJSONTyped(json, false);
37
+ }
38
+ function GetResourceSessionDiagnosticsVersionFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'id': json['id'],
44
+ 'versionNumber': json['version_number'],
45
+ 'status': json['status'],
46
+ 'changeNotes': json['change_notes'] == null ? undefined : json['change_notes'],
47
+ 'metadata': json['metadata'],
48
+ 'filename': json['filename'] == null ? undefined : json['filename'],
49
+ 'mimeType': json['mime_type'] == null ? undefined : json['mime_type'],
50
+ 'fileSizeBytes': json['file_size_bytes'] == null ? undefined : json['file_size_bytes'],
51
+ 'checksumSha256': json['checksum_sha256'] == null ? undefined : json['checksum_sha256'],
52
+ 'linkUrl': json['link_url'] == null ? undefined : json['link_url'],
53
+ };
54
+ }
55
+ function GetResourceSessionDiagnosticsVersionToJSON(json) {
56
+ return GetResourceSessionDiagnosticsVersionToJSONTyped(json, false);
57
+ }
58
+ function GetResourceSessionDiagnosticsVersionToJSONTyped(value, ignoreDiscriminator = false) {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'id': value['id'],
64
+ 'version_number': value['versionNumber'],
65
+ 'status': value['status'],
66
+ 'change_notes': value['changeNotes'],
67
+ 'metadata': value['metadata'],
68
+ 'filename': value['filename'],
69
+ 'mime_type': value['mimeType'],
70
+ 'file_size_bytes': value['fileSizeBytes'],
71
+ 'checksum_sha256': value['checksumSha256'],
72
+ 'link_url': value['linkUrl'],
73
+ };
74
+ }
@@ -0,0 +1,57 @@
1
+ /**
2
+ * LMS API
3
+ * LMS API
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ResourceSessionScormApiLogItem } from './ResourceSessionScormApiLogItem';
13
+ /**
14
+ * A filtered page of SCORM runtime calls for a resource session.
15
+ * @export
16
+ * @interface GetResourceSessionScormApiLogs
17
+ */
18
+ export interface GetResourceSessionScormApiLogs {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof GetResourceSessionScormApiLogs
23
+ */
24
+ page: number;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof GetResourceSessionScormApiLogs
29
+ */
30
+ pageSize: number;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof GetResourceSessionScormApiLogs
35
+ */
36
+ totalPages: number;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof GetResourceSessionScormApiLogs
41
+ */
42
+ totalItems: number;
43
+ /**
44
+ *
45
+ * @type {Array<ResourceSessionScormApiLogItem>}
46
+ * @memberof GetResourceSessionScormApiLogs
47
+ */
48
+ items: Array<ResourceSessionScormApiLogItem>;
49
+ }
50
+ /**
51
+ * Check if a given object implements the GetResourceSessionScormApiLogs interface.
52
+ */
53
+ export declare function instanceOfGetResourceSessionScormApiLogs(value: object): value is GetResourceSessionScormApiLogs;
54
+ export declare function GetResourceSessionScormApiLogsFromJSON(json: any): GetResourceSessionScormApiLogs;
55
+ export declare function GetResourceSessionScormApiLogsFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionScormApiLogs;
56
+ export declare function GetResourceSessionScormApiLogsToJSON(json: any): GetResourceSessionScormApiLogs;
57
+ export declare function GetResourceSessionScormApiLogsToJSONTyped(value?: GetResourceSessionScormApiLogs | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * LMS API
6
+ * LMS API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfGetResourceSessionScormApiLogs = instanceOfGetResourceSessionScormApiLogs;
17
+ exports.GetResourceSessionScormApiLogsFromJSON = GetResourceSessionScormApiLogsFromJSON;
18
+ exports.GetResourceSessionScormApiLogsFromJSONTyped = GetResourceSessionScormApiLogsFromJSONTyped;
19
+ exports.GetResourceSessionScormApiLogsToJSON = GetResourceSessionScormApiLogsToJSON;
20
+ exports.GetResourceSessionScormApiLogsToJSONTyped = GetResourceSessionScormApiLogsToJSONTyped;
21
+ const ResourceSessionScormApiLogItem_1 = require("./ResourceSessionScormApiLogItem");
22
+ /**
23
+ * Check if a given object implements the GetResourceSessionScormApiLogs interface.
24
+ */
25
+ function instanceOfGetResourceSessionScormApiLogs(value) {
26
+ if (!('page' in value) || value['page'] === undefined)
27
+ return false;
28
+ if (!('pageSize' in value) || value['pageSize'] === undefined)
29
+ return false;
30
+ if (!('totalPages' in value) || value['totalPages'] === undefined)
31
+ return false;
32
+ if (!('totalItems' in value) || value['totalItems'] === undefined)
33
+ return false;
34
+ if (!('items' in value) || value['items'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ function GetResourceSessionScormApiLogsFromJSON(json) {
39
+ return GetResourceSessionScormApiLogsFromJSONTyped(json, false);
40
+ }
41
+ function GetResourceSessionScormApiLogsFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'page': json['page'],
47
+ 'pageSize': json['pageSize'],
48
+ 'totalPages': json['totalPages'],
49
+ 'totalItems': json['totalItems'],
50
+ 'items': (json['items'].map(ResourceSessionScormApiLogItem_1.ResourceSessionScormApiLogItemFromJSON)),
51
+ };
52
+ }
53
+ function GetResourceSessionScormApiLogsToJSON(json) {
54
+ return GetResourceSessionScormApiLogsToJSONTyped(json, false);
55
+ }
56
+ function GetResourceSessionScormApiLogsToJSONTyped(value, ignoreDiscriminator = false) {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'page': value['page'],
62
+ 'pageSize': value['pageSize'],
63
+ 'totalPages': value['totalPages'],
64
+ 'totalItems': value['totalItems'],
65
+ 'items': (value['items'].map(ResourceSessionScormApiLogItem_1.ResourceSessionScormApiLogItemToJSON)),
66
+ };
67
+ }
@@ -0,0 +1,77 @@
1
+ /**
2
+ * LMS API
3
+ * LMS API
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { GetResourceSessionScormDataActivity } from './GetResourceSessionScormDataActivity';
13
+ /**
14
+ * Current SCORM CMI state for a reusable resource session.
15
+ * @export
16
+ * @interface GetResourceSessionScormData
17
+ */
18
+ export interface GetResourceSessionScormData {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof GetResourceSessionScormData
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof GetResourceSessionScormData
29
+ */
30
+ scormVersion: string;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof GetResourceSessionScormData
35
+ */
36
+ createdAt: number;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof GetResourceSessionScormData
41
+ */
42
+ updatedAt: number;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof GetResourceSessionScormData
47
+ */
48
+ initializedAt?: number | null;
49
+ /**
50
+ *
51
+ * @type {number}
52
+ * @memberof GetResourceSessionScormData
53
+ */
54
+ terminatedAt?: number | null;
55
+ /**
56
+ *
57
+ * @type {GetResourceSessionScormDataActivity}
58
+ * @memberof GetResourceSessionScormData
59
+ */
60
+ activity?: GetResourceSessionScormDataActivity | null;
61
+ /**
62
+ *
63
+ * @type {{ [key: string]: string; }}
64
+ * @memberof GetResourceSessionScormData
65
+ */
66
+ cmiData: {
67
+ [key: string]: string;
68
+ };
69
+ }
70
+ /**
71
+ * Check if a given object implements the GetResourceSessionScormData interface.
72
+ */
73
+ export declare function instanceOfGetResourceSessionScormData(value: object): value is GetResourceSessionScormData;
74
+ export declare function GetResourceSessionScormDataFromJSON(json: any): GetResourceSessionScormData;
75
+ export declare function GetResourceSessionScormDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionScormData;
76
+ export declare function GetResourceSessionScormDataToJSON(json: any): GetResourceSessionScormData;
77
+ export declare function GetResourceSessionScormDataToJSONTyped(value?: GetResourceSessionScormData | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * LMS API
6
+ * LMS API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfGetResourceSessionScormData = instanceOfGetResourceSessionScormData;
17
+ exports.GetResourceSessionScormDataFromJSON = GetResourceSessionScormDataFromJSON;
18
+ exports.GetResourceSessionScormDataFromJSONTyped = GetResourceSessionScormDataFromJSONTyped;
19
+ exports.GetResourceSessionScormDataToJSON = GetResourceSessionScormDataToJSON;
20
+ exports.GetResourceSessionScormDataToJSONTyped = GetResourceSessionScormDataToJSONTyped;
21
+ const GetResourceSessionScormDataActivity_1 = require("./GetResourceSessionScormDataActivity");
22
+ /**
23
+ * Check if a given object implements the GetResourceSessionScormData interface.
24
+ */
25
+ function instanceOfGetResourceSessionScormData(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('scormVersion' in value) || value['scormVersion'] === undefined)
29
+ return false;
30
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
31
+ return false;
32
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
33
+ return false;
34
+ if (!('cmiData' in value) || value['cmiData'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ function GetResourceSessionScormDataFromJSON(json) {
39
+ return GetResourceSessionScormDataFromJSONTyped(json, false);
40
+ }
41
+ function GetResourceSessionScormDataFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'id': json['id'],
47
+ 'scormVersion': json['scorm_version'],
48
+ 'createdAt': json['created_at'],
49
+ 'updatedAt': json['updated_at'],
50
+ 'initializedAt': json['initialized_at'] == null ? undefined : json['initialized_at'],
51
+ 'terminatedAt': json['terminated_at'] == null ? undefined : json['terminated_at'],
52
+ 'activity': json['activity'] == null ? undefined : (0, GetResourceSessionScormDataActivity_1.GetResourceSessionScormDataActivityFromJSON)(json['activity']),
53
+ 'cmiData': json['cmi_data'],
54
+ };
55
+ }
56
+ function GetResourceSessionScormDataToJSON(json) {
57
+ return GetResourceSessionScormDataToJSONTyped(json, false);
58
+ }
59
+ function GetResourceSessionScormDataToJSONTyped(value, ignoreDiscriminator = false) {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'id': value['id'],
65
+ 'scorm_version': value['scormVersion'],
66
+ 'created_at': value['createdAt'],
67
+ 'updated_at': value['updatedAt'],
68
+ 'initialized_at': value['initializedAt'],
69
+ 'terminated_at': value['terminatedAt'],
70
+ 'activity': (0, GetResourceSessionScormDataActivity_1.GetResourceSessionScormDataActivityToJSON)(value['activity']),
71
+ 'cmi_data': value['cmiData'],
72
+ };
73
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * LMS API
3
+ * LMS API
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetResourceSessionScormDataActivity
16
+ */
17
+ export interface GetResourceSessionScormDataActivity {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GetResourceSessionScormDataActivity
22
+ */
23
+ identifier?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GetResourceSessionScormDataActivity
28
+ */
29
+ name?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof GetResourceSessionScormDataActivity
34
+ */
35
+ launchPath?: string | null;
36
+ }
37
+ /**
38
+ * Check if a given object implements the GetResourceSessionScormDataActivity interface.
39
+ */
40
+ export declare function instanceOfGetResourceSessionScormDataActivity(value: object): value is GetResourceSessionScormDataActivity;
41
+ export declare function GetResourceSessionScormDataActivityFromJSON(json: any): GetResourceSessionScormDataActivity;
42
+ export declare function GetResourceSessionScormDataActivityFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionScormDataActivity;
43
+ export declare function GetResourceSessionScormDataActivityToJSON(json: any): GetResourceSessionScormDataActivity;
44
+ export declare function GetResourceSessionScormDataActivityToJSONTyped(value?: GetResourceSessionScormDataActivity | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * LMS API
6
+ * LMS API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfGetResourceSessionScormDataActivity = instanceOfGetResourceSessionScormDataActivity;
17
+ exports.GetResourceSessionScormDataActivityFromJSON = GetResourceSessionScormDataActivityFromJSON;
18
+ exports.GetResourceSessionScormDataActivityFromJSONTyped = GetResourceSessionScormDataActivityFromJSONTyped;
19
+ exports.GetResourceSessionScormDataActivityToJSON = GetResourceSessionScormDataActivityToJSON;
20
+ exports.GetResourceSessionScormDataActivityToJSONTyped = GetResourceSessionScormDataActivityToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GetResourceSessionScormDataActivity interface.
23
+ */
24
+ function instanceOfGetResourceSessionScormDataActivity(value) {
25
+ return true;
26
+ }
27
+ function GetResourceSessionScormDataActivityFromJSON(json) {
28
+ return GetResourceSessionScormDataActivityFromJSONTyped(json, false);
29
+ }
30
+ function GetResourceSessionScormDataActivityFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'identifier': json['identifier'] == null ? undefined : json['identifier'],
36
+ 'name': json['name'] == null ? undefined : json['name'],
37
+ 'launchPath': json['launch_path'] == null ? undefined : json['launch_path'],
38
+ };
39
+ }
40
+ function GetResourceSessionScormDataActivityToJSON(json) {
41
+ return GetResourceSessionScormDataActivityToJSONTyped(json, false);
42
+ }
43
+ function GetResourceSessionScormDataActivityToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'identifier': value['identifier'],
49
+ 'name': value['name'],
50
+ 'launch_path': value['launchPath'],
51
+ };
52
+ }
@@ -0,0 +1,95 @@
1
+ /**
2
+ * LMS API
3
+ * LMS API
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface LibraryQuizCriterion
16
+ */
17
+ export interface LibraryQuizCriterion {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof LibraryQuizCriterion
22
+ */
23
+ id?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof LibraryQuizCriterion
28
+ */
29
+ topic?: string | null;
30
+ /**
31
+ *
32
+ * @type {LibraryQuizCriterionDifficultyLevelEnum}
33
+ * @memberof LibraryQuizCriterion
34
+ */
35
+ difficultyLevel?: LibraryQuizCriterionDifficultyLevelEnum | null;
36
+ /**
37
+ *
38
+ * @type {LibraryQuizCriterionQuestionTypeEnum}
39
+ * @memberof LibraryQuizCriterion
40
+ */
41
+ questionType?: LibraryQuizCriterionQuestionTypeEnum | null;
42
+ /**
43
+ *
44
+ * @type {Array<string>}
45
+ * @memberof LibraryQuizCriterion
46
+ */
47
+ tags?: Array<string>;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof LibraryQuizCriterion
52
+ */
53
+ minQuestions?: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof LibraryQuizCriterion
58
+ */
59
+ maxQuestions?: number | null;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof LibraryQuizCriterion
64
+ */
65
+ priority: number;
66
+ }
67
+ /**
68
+ * @export
69
+ */
70
+ export declare const LibraryQuizCriterionDifficultyLevelEnum: {
71
+ readonly Beginner: "beginner";
72
+ readonly Intermediate: "intermediate";
73
+ readonly Advanced: "advanced";
74
+ };
75
+ export type LibraryQuizCriterionDifficultyLevelEnum = typeof LibraryQuizCriterionDifficultyLevelEnum[keyof typeof LibraryQuizCriterionDifficultyLevelEnum];
76
+ /**
77
+ * @export
78
+ */
79
+ export declare const LibraryQuizCriterionQuestionTypeEnum: {
80
+ readonly SingleAnswer: "single_answer";
81
+ readonly MultipleAnswer: "multiple_answer";
82
+ readonly FillInBlank: "fill_in_blank";
83
+ readonly ShortAnswer: "short_answer";
84
+ readonly Matching: "matching";
85
+ readonly Essay: "essay";
86
+ };
87
+ export type LibraryQuizCriterionQuestionTypeEnum = typeof LibraryQuizCriterionQuestionTypeEnum[keyof typeof LibraryQuizCriterionQuestionTypeEnum];
88
+ /**
89
+ * Check if a given object implements the LibraryQuizCriterion interface.
90
+ */
91
+ export declare function instanceOfLibraryQuizCriterion(value: object): value is LibraryQuizCriterion;
92
+ export declare function LibraryQuizCriterionFromJSON(json: any): LibraryQuizCriterion;
93
+ export declare function LibraryQuizCriterionFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryQuizCriterion;
94
+ export declare function LibraryQuizCriterionToJSON(json: any): LibraryQuizCriterion;
95
+ export declare function LibraryQuizCriterionToJSONTyped(value?: LibraryQuizCriterion | null, ignoreDiscriminator?: boolean): any;