@easyedu/js-lsm-api 1.15.0 → 1.17.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 (158) hide show
  1. package/.openapi-generator/FILES +29 -0
  2. package/README.md +2 -2
  3. package/dist/apis/ReportingApi.d.ts +120 -0
  4. package/dist/apis/ReportingApi.js +299 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/esm/apis/ReportingApi.d.ts +120 -0
  8. package/dist/esm/apis/ReportingApi.js +295 -0
  9. package/dist/esm/apis/index.d.ts +1 -0
  10. package/dist/esm/apis/index.js +1 -0
  11. package/dist/esm/models/GetContentGradeDetail.d.ts +118 -0
  12. package/dist/esm/models/GetContentGradeDetail.js +104 -0
  13. package/dist/esm/models/GetContentGrades.d.ts +57 -0
  14. package/dist/esm/models/GetContentGrades.js +60 -0
  15. package/dist/esm/models/GetContentGradesItemsInner.d.ts +72 -0
  16. package/dist/esm/models/GetContentGradesItemsInner.js +73 -0
  17. package/dist/esm/models/GetContentGradesItemsInnerUser.d.ts +44 -0
  18. package/dist/esm/models/GetContentGradesItemsInnerUser.js +51 -0
  19. package/dist/esm/models/GetContentInstructorBasicReporting.d.ts +47 -0
  20. package/dist/esm/models/GetContentInstructorBasicReporting.js +54 -0
  21. package/dist/esm/models/GetContentInstructorBasicReportingContentInfo.d.ts +59 -0
  22. package/dist/esm/models/GetContentInstructorBasicReportingContentInfo.js +63 -0
  23. package/dist/esm/models/GetContentInstructorBasicReportingEngagement.d.ts +56 -0
  24. package/dist/esm/models/GetContentInstructorBasicReportingEngagement.js +59 -0
  25. package/dist/esm/models/GetContentInstructorBasicReportingPerformance.d.ts +38 -0
  26. package/dist/esm/models/GetContentInstructorBasicReportingPerformance.js +47 -0
  27. package/dist/esm/models/GetCourseStudentReporting.d.ts +47 -0
  28. package/dist/esm/models/GetCourseStudentReporting.js +54 -0
  29. package/dist/esm/models/GetCourseStudentReportingCourseInfo.d.ts +32 -0
  30. package/dist/esm/models/GetCourseStudentReportingCourseInfo.js +43 -0
  31. package/dist/esm/models/GetCourseStudentReportingEngagement.d.ts +38 -0
  32. package/dist/esm/models/GetCourseStudentReportingEngagement.js +47 -0
  33. package/dist/esm/models/GetCourseStudentReportingPerformance.d.ts +32 -0
  34. package/dist/esm/models/GetCourseStudentReportingPerformance.js +43 -0
  35. package/dist/esm/models/GetModuleInstructorBasicReporting.d.ts +47 -0
  36. package/dist/esm/models/GetModuleInstructorBasicReporting.js +54 -0
  37. package/dist/esm/models/GetModuleInstructorBasicReportingEngagement.d.ts +32 -0
  38. package/dist/esm/models/GetModuleInstructorBasicReportingEngagement.js +43 -0
  39. package/dist/esm/models/GetModuleInstructorBasicReportingModuleInfo.d.ts +32 -0
  40. package/dist/esm/models/GetModuleInstructorBasicReportingModuleInfo.js +43 -0
  41. package/dist/esm/models/GetModuleInstructorBasicReportingPerformance.d.ts +32 -0
  42. package/dist/esm/models/GetModuleInstructorBasicReportingPerformance.js +43 -0
  43. package/dist/esm/models/GetModuleStudentReporting.d.ts +47 -0
  44. package/dist/esm/models/GetModuleStudentReporting.js +54 -0
  45. package/dist/esm/models/GetModuleStudentReportingAccess.d.ts +38 -0
  46. package/dist/esm/models/GetModuleStudentReportingAccess.js +47 -0
  47. package/dist/esm/models/GetModuleStudentReportingProgress.d.ts +38 -0
  48. package/dist/esm/models/GetModuleStudentReportingProgress.js +47 -0
  49. package/dist/esm/models/GetPortalBasicReporting.d.ts +40 -0
  50. package/dist/esm/models/GetPortalBasicReporting.js +49 -0
  51. package/dist/esm/models/GetPortalBasicReportingCertificates.d.ts +32 -0
  52. package/dist/esm/models/GetPortalBasicReportingCertificates.js +43 -0
  53. package/dist/esm/models/GetPortalBasicReportingPortalInfo.d.ts +44 -0
  54. package/dist/esm/models/GetPortalBasicReportingPortalInfo.js +51 -0
  55. package/dist/esm/models/ScormSessionData.d.ts +61 -0
  56. package/dist/esm/models/ScormSessionData.js +54 -0
  57. package/dist/esm/models/ScormSessionDataProgress.d.ts +38 -0
  58. package/dist/esm/models/ScormSessionDataProgress.js +43 -0
  59. package/dist/esm/models/ScormSessionDataScore.d.ts +50 -0
  60. package/dist/esm/models/ScormSessionDataScore.js +47 -0
  61. package/dist/esm/models/ScormSessionDataSession.d.ts +32 -0
  62. package/dist/esm/models/ScormSessionDataSession.js +41 -0
  63. package/dist/esm/models/ScormSessionDataStatus.d.ts +50 -0
  64. package/dist/esm/models/ScormSessionDataStatus.js +47 -0
  65. package/dist/esm/models/ScormSessionDataTime.d.ts +50 -0
  66. package/dist/esm/models/ScormSessionDataTime.js +47 -0
  67. package/dist/esm/models/index.d.ts +28 -0
  68. package/dist/esm/models/index.js +28 -0
  69. package/dist/models/GetContentGradeDetail.d.ts +118 -0
  70. package/dist/models/GetContentGradeDetail.js +112 -0
  71. package/dist/models/GetContentGrades.d.ts +57 -0
  72. package/dist/models/GetContentGrades.js +67 -0
  73. package/dist/models/GetContentGradesItemsInner.d.ts +72 -0
  74. package/dist/models/GetContentGradesItemsInner.js +81 -0
  75. package/dist/models/GetContentGradesItemsInnerUser.d.ts +44 -0
  76. package/dist/models/GetContentGradesItemsInnerUser.js +58 -0
  77. package/dist/models/GetContentInstructorBasicReporting.d.ts +47 -0
  78. package/dist/models/GetContentInstructorBasicReporting.js +61 -0
  79. package/dist/models/GetContentInstructorBasicReportingContentInfo.d.ts +59 -0
  80. package/dist/models/GetContentInstructorBasicReportingContentInfo.js +71 -0
  81. package/dist/models/GetContentInstructorBasicReportingEngagement.d.ts +56 -0
  82. package/dist/models/GetContentInstructorBasicReportingEngagement.js +66 -0
  83. package/dist/models/GetContentInstructorBasicReportingPerformance.d.ts +38 -0
  84. package/dist/models/GetContentInstructorBasicReportingPerformance.js +54 -0
  85. package/dist/models/GetCourseStudentReporting.d.ts +47 -0
  86. package/dist/models/GetCourseStudentReporting.js +61 -0
  87. package/dist/models/GetCourseStudentReportingCourseInfo.d.ts +32 -0
  88. package/dist/models/GetCourseStudentReportingCourseInfo.js +50 -0
  89. package/dist/models/GetCourseStudentReportingEngagement.d.ts +38 -0
  90. package/dist/models/GetCourseStudentReportingEngagement.js +54 -0
  91. package/dist/models/GetCourseStudentReportingPerformance.d.ts +32 -0
  92. package/dist/models/GetCourseStudentReportingPerformance.js +50 -0
  93. package/dist/models/GetModuleInstructorBasicReporting.d.ts +47 -0
  94. package/dist/models/GetModuleInstructorBasicReporting.js +61 -0
  95. package/dist/models/GetModuleInstructorBasicReportingEngagement.d.ts +32 -0
  96. package/dist/models/GetModuleInstructorBasicReportingEngagement.js +50 -0
  97. package/dist/models/GetModuleInstructorBasicReportingModuleInfo.d.ts +32 -0
  98. package/dist/models/GetModuleInstructorBasicReportingModuleInfo.js +50 -0
  99. package/dist/models/GetModuleInstructorBasicReportingPerformance.d.ts +32 -0
  100. package/dist/models/GetModuleInstructorBasicReportingPerformance.js +50 -0
  101. package/dist/models/GetModuleStudentReporting.d.ts +47 -0
  102. package/dist/models/GetModuleStudentReporting.js +61 -0
  103. package/dist/models/GetModuleStudentReportingAccess.d.ts +38 -0
  104. package/dist/models/GetModuleStudentReportingAccess.js +54 -0
  105. package/dist/models/GetModuleStudentReportingProgress.d.ts +38 -0
  106. package/dist/models/GetModuleStudentReportingProgress.js +54 -0
  107. package/dist/models/GetPortalBasicReporting.d.ts +40 -0
  108. package/dist/models/GetPortalBasicReporting.js +56 -0
  109. package/dist/models/GetPortalBasicReportingCertificates.d.ts +32 -0
  110. package/dist/models/GetPortalBasicReportingCertificates.js +50 -0
  111. package/dist/models/GetPortalBasicReportingPortalInfo.d.ts +44 -0
  112. package/dist/models/GetPortalBasicReportingPortalInfo.js +58 -0
  113. package/dist/models/ScormSessionData.d.ts +61 -0
  114. package/dist/models/ScormSessionData.js +61 -0
  115. package/dist/models/ScormSessionDataProgress.d.ts +38 -0
  116. package/dist/models/ScormSessionDataProgress.js +50 -0
  117. package/dist/models/ScormSessionDataScore.d.ts +50 -0
  118. package/dist/models/ScormSessionDataScore.js +54 -0
  119. package/dist/models/ScormSessionDataSession.d.ts +32 -0
  120. package/dist/models/ScormSessionDataSession.js +48 -0
  121. package/dist/models/ScormSessionDataStatus.d.ts +50 -0
  122. package/dist/models/ScormSessionDataStatus.js +54 -0
  123. package/dist/models/ScormSessionDataTime.d.ts +50 -0
  124. package/dist/models/ScormSessionDataTime.js +54 -0
  125. package/dist/models/index.d.ts +28 -0
  126. package/dist/models/index.js +28 -0
  127. package/package.json +1 -1
  128. package/src/apis/ReportingApi.ts +450 -0
  129. package/src/apis/index.ts +1 -0
  130. package/src/models/GetContentGradeDetail.ts +191 -0
  131. package/src/models/GetContentGrades.ts +110 -0
  132. package/src/models/GetContentGradesItemsInner.ts +125 -0
  133. package/src/models/GetContentGradesItemsInnerUser.ts +84 -0
  134. package/src/models/GetContentInstructorBasicReporting.ts +106 -0
  135. package/src/models/GetContentInstructorBasicReportingContentInfo.ts +101 -0
  136. package/src/models/GetContentInstructorBasicReportingEngagement.ts +102 -0
  137. package/src/models/GetContentInstructorBasicReportingPerformance.ts +75 -0
  138. package/src/models/GetCourseStudentReporting.ts +106 -0
  139. package/src/models/GetCourseStudentReportingCourseInfo.ts +66 -0
  140. package/src/models/GetCourseStudentReportingEngagement.ts +75 -0
  141. package/src/models/GetCourseStudentReportingPerformance.ts +66 -0
  142. package/src/models/GetModuleInstructorBasicReporting.ts +106 -0
  143. package/src/models/GetModuleInstructorBasicReportingEngagement.ts +66 -0
  144. package/src/models/GetModuleInstructorBasicReportingModuleInfo.ts +66 -0
  145. package/src/models/GetModuleInstructorBasicReportingPerformance.ts +66 -0
  146. package/src/models/GetModuleStudentReporting.ts +106 -0
  147. package/src/models/GetModuleStudentReportingAccess.ts +75 -0
  148. package/src/models/GetModuleStudentReportingProgress.ts +75 -0
  149. package/src/models/GetPortalBasicReporting.ts +90 -0
  150. package/src/models/GetPortalBasicReportingCertificates.ts +66 -0
  151. package/src/models/GetPortalBasicReportingPortalInfo.ts +84 -0
  152. package/src/models/ScormSessionData.ts +133 -0
  153. package/src/models/ScormSessionDataProgress.ts +73 -0
  154. package/src/models/ScormSessionDataScore.ts +89 -0
  155. package/src/models/ScormSessionDataSession.ts +65 -0
  156. package/src/models/ScormSessionDataStatus.ts +89 -0
  157. package/src/models/ScormSessionDataTime.ts +89 -0
  158. package/src/models/index.ts +28 -0
@@ -0,0 +1,40 @@
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 { GetPortalBasicReportingPortalInfo } from './GetPortalBasicReportingPortalInfo';
13
+ import type { GetPortalBasicReportingCertificates } from './GetPortalBasicReportingCertificates';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface GetPortalBasicReporting
18
+ */
19
+ export interface GetPortalBasicReporting {
20
+ /**
21
+ *
22
+ * @type {GetPortalBasicReportingPortalInfo}
23
+ * @memberof GetPortalBasicReporting
24
+ */
25
+ portalInfo: GetPortalBasicReportingPortalInfo;
26
+ /**
27
+ *
28
+ * @type {GetPortalBasicReportingCertificates}
29
+ * @memberof GetPortalBasicReporting
30
+ */
31
+ certificates: GetPortalBasicReportingCertificates;
32
+ }
33
+ /**
34
+ * Check if a given object implements the GetPortalBasicReporting interface.
35
+ */
36
+ export declare function instanceOfGetPortalBasicReporting(value: object): value is GetPortalBasicReporting;
37
+ export declare function GetPortalBasicReportingFromJSON(json: any): GetPortalBasicReporting;
38
+ export declare function GetPortalBasicReportingFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalBasicReporting;
39
+ export declare function GetPortalBasicReportingToJSON(json: any): GetPortalBasicReporting;
40
+ export declare function GetPortalBasicReportingToJSONTyped(value?: GetPortalBasicReporting | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
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.instanceOfGetPortalBasicReporting = instanceOfGetPortalBasicReporting;
17
+ exports.GetPortalBasicReportingFromJSON = GetPortalBasicReportingFromJSON;
18
+ exports.GetPortalBasicReportingFromJSONTyped = GetPortalBasicReportingFromJSONTyped;
19
+ exports.GetPortalBasicReportingToJSON = GetPortalBasicReportingToJSON;
20
+ exports.GetPortalBasicReportingToJSONTyped = GetPortalBasicReportingToJSONTyped;
21
+ const GetPortalBasicReportingPortalInfo_1 = require("./GetPortalBasicReportingPortalInfo");
22
+ const GetPortalBasicReportingCertificates_1 = require("./GetPortalBasicReportingCertificates");
23
+ /**
24
+ * Check if a given object implements the GetPortalBasicReporting interface.
25
+ */
26
+ function instanceOfGetPortalBasicReporting(value) {
27
+ if (!('portalInfo' in value) || value['portalInfo'] === undefined)
28
+ return false;
29
+ if (!('certificates' in value) || value['certificates'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function GetPortalBasicReportingFromJSON(json) {
34
+ return GetPortalBasicReportingFromJSONTyped(json, false);
35
+ }
36
+ function GetPortalBasicReportingFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'portalInfo': (0, GetPortalBasicReportingPortalInfo_1.GetPortalBasicReportingPortalInfoFromJSON)(json['portal_info']),
42
+ 'certificates': (0, GetPortalBasicReportingCertificates_1.GetPortalBasicReportingCertificatesFromJSON)(json['certificates']),
43
+ };
44
+ }
45
+ function GetPortalBasicReportingToJSON(json) {
46
+ return GetPortalBasicReportingToJSONTyped(json, false);
47
+ }
48
+ function GetPortalBasicReportingToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'portal_info': (0, GetPortalBasicReportingPortalInfo_1.GetPortalBasicReportingPortalInfoToJSON)(value['portalInfo']),
54
+ 'certificates': (0, GetPortalBasicReportingCertificates_1.GetPortalBasicReportingCertificatesToJSON)(value['certificates']),
55
+ };
56
+ }
@@ -0,0 +1,32 @@
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 GetPortalBasicReportingCertificates
16
+ */
17
+ export interface GetPortalBasicReportingCertificates {
18
+ /**
19
+ * Total number of certificates earned in the portal
20
+ * @type {number}
21
+ * @memberof GetPortalBasicReportingCertificates
22
+ */
23
+ certificatesEarnedCount: number;
24
+ }
25
+ /**
26
+ * Check if a given object implements the GetPortalBasicReportingCertificates interface.
27
+ */
28
+ export declare function instanceOfGetPortalBasicReportingCertificates(value: object): value is GetPortalBasicReportingCertificates;
29
+ export declare function GetPortalBasicReportingCertificatesFromJSON(json: any): GetPortalBasicReportingCertificates;
30
+ export declare function GetPortalBasicReportingCertificatesFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalBasicReportingCertificates;
31
+ export declare function GetPortalBasicReportingCertificatesToJSON(json: any): GetPortalBasicReportingCertificates;
32
+ export declare function GetPortalBasicReportingCertificatesToJSONTyped(value?: GetPortalBasicReportingCertificates | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfGetPortalBasicReportingCertificates = instanceOfGetPortalBasicReportingCertificates;
17
+ exports.GetPortalBasicReportingCertificatesFromJSON = GetPortalBasicReportingCertificatesFromJSON;
18
+ exports.GetPortalBasicReportingCertificatesFromJSONTyped = GetPortalBasicReportingCertificatesFromJSONTyped;
19
+ exports.GetPortalBasicReportingCertificatesToJSON = GetPortalBasicReportingCertificatesToJSON;
20
+ exports.GetPortalBasicReportingCertificatesToJSONTyped = GetPortalBasicReportingCertificatesToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GetPortalBasicReportingCertificates interface.
23
+ */
24
+ function instanceOfGetPortalBasicReportingCertificates(value) {
25
+ if (!('certificatesEarnedCount' in value) || value['certificatesEarnedCount'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function GetPortalBasicReportingCertificatesFromJSON(json) {
30
+ return GetPortalBasicReportingCertificatesFromJSONTyped(json, false);
31
+ }
32
+ function GetPortalBasicReportingCertificatesFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'certificatesEarnedCount': json['certificates_earned_count'],
38
+ };
39
+ }
40
+ function GetPortalBasicReportingCertificatesToJSON(json) {
41
+ return GetPortalBasicReportingCertificatesToJSONTyped(json, false);
42
+ }
43
+ function GetPortalBasicReportingCertificatesToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'certificates_earned_count': value['certificatesEarnedCount'],
49
+ };
50
+ }
@@ -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 GetPortalBasicReportingPortalInfo
16
+ */
17
+ export interface GetPortalBasicReportingPortalInfo {
18
+ /**
19
+ * Total number of students in the portal
20
+ * @type {number}
21
+ * @memberof GetPortalBasicReportingPortalInfo
22
+ */
23
+ studentCount: number;
24
+ /**
25
+ * Total number of instructors in the portal
26
+ * @type {number}
27
+ * @memberof GetPortalBasicReportingPortalInfo
28
+ */
29
+ instructorCount: number;
30
+ /**
31
+ * Total number of courses in the portal
32
+ * @type {number}
33
+ * @memberof GetPortalBasicReportingPortalInfo
34
+ */
35
+ courseCount: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the GetPortalBasicReportingPortalInfo interface.
39
+ */
40
+ export declare function instanceOfGetPortalBasicReportingPortalInfo(value: object): value is GetPortalBasicReportingPortalInfo;
41
+ export declare function GetPortalBasicReportingPortalInfoFromJSON(json: any): GetPortalBasicReportingPortalInfo;
42
+ export declare function GetPortalBasicReportingPortalInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalBasicReportingPortalInfo;
43
+ export declare function GetPortalBasicReportingPortalInfoToJSON(json: any): GetPortalBasicReportingPortalInfo;
44
+ export declare function GetPortalBasicReportingPortalInfoToJSONTyped(value?: GetPortalBasicReportingPortalInfo | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
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.instanceOfGetPortalBasicReportingPortalInfo = instanceOfGetPortalBasicReportingPortalInfo;
17
+ exports.GetPortalBasicReportingPortalInfoFromJSON = GetPortalBasicReportingPortalInfoFromJSON;
18
+ exports.GetPortalBasicReportingPortalInfoFromJSONTyped = GetPortalBasicReportingPortalInfoFromJSONTyped;
19
+ exports.GetPortalBasicReportingPortalInfoToJSON = GetPortalBasicReportingPortalInfoToJSON;
20
+ exports.GetPortalBasicReportingPortalInfoToJSONTyped = GetPortalBasicReportingPortalInfoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GetPortalBasicReportingPortalInfo interface.
23
+ */
24
+ function instanceOfGetPortalBasicReportingPortalInfo(value) {
25
+ if (!('studentCount' in value) || value['studentCount'] === undefined)
26
+ return false;
27
+ if (!('instructorCount' in value) || value['instructorCount'] === undefined)
28
+ return false;
29
+ if (!('courseCount' in value) || value['courseCount'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function GetPortalBasicReportingPortalInfoFromJSON(json) {
34
+ return GetPortalBasicReportingPortalInfoFromJSONTyped(json, false);
35
+ }
36
+ function GetPortalBasicReportingPortalInfoFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'studentCount': json['student_count'],
42
+ 'instructorCount': json['instructor_count'],
43
+ 'courseCount': json['course_count'],
44
+ };
45
+ }
46
+ function GetPortalBasicReportingPortalInfoToJSON(json) {
47
+ return GetPortalBasicReportingPortalInfoToJSONTyped(json, false);
48
+ }
49
+ function GetPortalBasicReportingPortalInfoToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'student_count': value['studentCount'],
55
+ 'instructor_count': value['instructorCount'],
56
+ 'course_count': value['courseCount'],
57
+ };
58
+ }
@@ -0,0 +1,61 @@
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 { ScormSessionDataSession } from './ScormSessionDataSession';
13
+ import type { ScormSessionDataScore } from './ScormSessionDataScore';
14
+ import type { ScormSessionDataStatus } from './ScormSessionDataStatus';
15
+ import type { ScormSessionDataTime } from './ScormSessionDataTime';
16
+ import type { ScormSessionDataProgress } from './ScormSessionDataProgress';
17
+ /**
18
+ * Detailed SCORM session data
19
+ * @export
20
+ * @interface ScormSessionData
21
+ */
22
+ export interface ScormSessionData {
23
+ /**
24
+ *
25
+ * @type {ScormSessionDataStatus}
26
+ * @memberof ScormSessionData
27
+ */
28
+ status?: ScormSessionDataStatus;
29
+ /**
30
+ *
31
+ * @type {ScormSessionDataScore}
32
+ * @memberof ScormSessionData
33
+ */
34
+ score?: ScormSessionDataScore;
35
+ /**
36
+ *
37
+ * @type {ScormSessionDataTime}
38
+ * @memberof ScormSessionData
39
+ */
40
+ time?: ScormSessionDataTime;
41
+ /**
42
+ *
43
+ * @type {ScormSessionDataSession}
44
+ * @memberof ScormSessionData
45
+ */
46
+ session?: ScormSessionDataSession;
47
+ /**
48
+ *
49
+ * @type {ScormSessionDataProgress}
50
+ * @memberof ScormSessionData
51
+ */
52
+ progress?: ScormSessionDataProgress;
53
+ }
54
+ /**
55
+ * Check if a given object implements the ScormSessionData interface.
56
+ */
57
+ export declare function instanceOfScormSessionData(value: object): value is ScormSessionData;
58
+ export declare function ScormSessionDataFromJSON(json: any): ScormSessionData;
59
+ export declare function ScormSessionDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormSessionData;
60
+ export declare function ScormSessionDataToJSON(json: any): ScormSessionData;
61
+ export declare function ScormSessionDataToJSONTyped(value?: ScormSessionData | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,61 @@
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.instanceOfScormSessionData = instanceOfScormSessionData;
17
+ exports.ScormSessionDataFromJSON = ScormSessionDataFromJSON;
18
+ exports.ScormSessionDataFromJSONTyped = ScormSessionDataFromJSONTyped;
19
+ exports.ScormSessionDataToJSON = ScormSessionDataToJSON;
20
+ exports.ScormSessionDataToJSONTyped = ScormSessionDataToJSONTyped;
21
+ const ScormSessionDataSession_1 = require("./ScormSessionDataSession");
22
+ const ScormSessionDataScore_1 = require("./ScormSessionDataScore");
23
+ const ScormSessionDataStatus_1 = require("./ScormSessionDataStatus");
24
+ const ScormSessionDataTime_1 = require("./ScormSessionDataTime");
25
+ const ScormSessionDataProgress_1 = require("./ScormSessionDataProgress");
26
+ /**
27
+ * Check if a given object implements the ScormSessionData interface.
28
+ */
29
+ function instanceOfScormSessionData(value) {
30
+ return true;
31
+ }
32
+ function ScormSessionDataFromJSON(json) {
33
+ return ScormSessionDataFromJSONTyped(json, false);
34
+ }
35
+ function ScormSessionDataFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'status': json['status'] == null ? undefined : (0, ScormSessionDataStatus_1.ScormSessionDataStatusFromJSON)(json['status']),
41
+ 'score': json['score'] == null ? undefined : (0, ScormSessionDataScore_1.ScormSessionDataScoreFromJSON)(json['score']),
42
+ 'time': json['time'] == null ? undefined : (0, ScormSessionDataTime_1.ScormSessionDataTimeFromJSON)(json['time']),
43
+ 'session': json['session'] == null ? undefined : (0, ScormSessionDataSession_1.ScormSessionDataSessionFromJSON)(json['session']),
44
+ 'progress': json['progress'] == null ? undefined : (0, ScormSessionDataProgress_1.ScormSessionDataProgressFromJSON)(json['progress']),
45
+ };
46
+ }
47
+ function ScormSessionDataToJSON(json) {
48
+ return ScormSessionDataToJSONTyped(json, false);
49
+ }
50
+ function ScormSessionDataToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'status': (0, ScormSessionDataStatus_1.ScormSessionDataStatusToJSON)(value['status']),
56
+ 'score': (0, ScormSessionDataScore_1.ScormSessionDataScoreToJSON)(value['score']),
57
+ 'time': (0, ScormSessionDataTime_1.ScormSessionDataTimeToJSON)(value['time']),
58
+ 'session': (0, ScormSessionDataSession_1.ScormSessionDataSessionToJSON)(value['session']),
59
+ 'progress': (0, ScormSessionDataProgress_1.ScormSessionDataProgressToJSON)(value['progress']),
60
+ };
61
+ }
@@ -0,0 +1,38 @@
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 ScormSessionDataProgress
16
+ */
17
+ export interface ScormSessionDataProgress {
18
+ /**
19
+ * Progress measure (0.0 to 1.0)
20
+ * @type {number}
21
+ * @memberof ScormSessionDataProgress
22
+ */
23
+ progressMeasure?: number | null;
24
+ /**
25
+ * Learner's current location in the content
26
+ * @type {string}
27
+ * @memberof ScormSessionDataProgress
28
+ */
29
+ location?: string | null;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ScormSessionDataProgress interface.
33
+ */
34
+ export declare function instanceOfScormSessionDataProgress(value: object): value is ScormSessionDataProgress;
35
+ export declare function ScormSessionDataProgressFromJSON(json: any): ScormSessionDataProgress;
36
+ export declare function ScormSessionDataProgressFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormSessionDataProgress;
37
+ export declare function ScormSessionDataProgressToJSON(json: any): ScormSessionDataProgress;
38
+ export declare function ScormSessionDataProgressToJSONTyped(value?: ScormSessionDataProgress | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfScormSessionDataProgress = instanceOfScormSessionDataProgress;
17
+ exports.ScormSessionDataProgressFromJSON = ScormSessionDataProgressFromJSON;
18
+ exports.ScormSessionDataProgressFromJSONTyped = ScormSessionDataProgressFromJSONTyped;
19
+ exports.ScormSessionDataProgressToJSON = ScormSessionDataProgressToJSON;
20
+ exports.ScormSessionDataProgressToJSONTyped = ScormSessionDataProgressToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ScormSessionDataProgress interface.
23
+ */
24
+ function instanceOfScormSessionDataProgress(value) {
25
+ return true;
26
+ }
27
+ function ScormSessionDataProgressFromJSON(json) {
28
+ return ScormSessionDataProgressFromJSONTyped(json, false);
29
+ }
30
+ function ScormSessionDataProgressFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'progressMeasure': json['progress_measure'] == null ? undefined : json['progress_measure'],
36
+ 'location': json['location'] == null ? undefined : json['location'],
37
+ };
38
+ }
39
+ function ScormSessionDataProgressToJSON(json) {
40
+ return ScormSessionDataProgressToJSONTyped(json, false);
41
+ }
42
+ function ScormSessionDataProgressToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'progress_measure': value['progressMeasure'],
48
+ 'location': value['location'],
49
+ };
50
+ }
@@ -0,0 +1,50 @@
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 ScormSessionDataScore
16
+ */
17
+ export interface ScormSessionDataScore {
18
+ /**
19
+ * Raw score from SCORM content
20
+ * @type {number}
21
+ * @memberof ScormSessionDataScore
22
+ */
23
+ scoreRaw?: number | null;
24
+ /**
25
+ * Minimum possible score
26
+ * @type {number}
27
+ * @memberof ScormSessionDataScore
28
+ */
29
+ scoreMin?: number | null;
30
+ /**
31
+ * Maximum possible score
32
+ * @type {number}
33
+ * @memberof ScormSessionDataScore
34
+ */
35
+ scoreMax?: number | null;
36
+ /**
37
+ * Scaled score (-1.0 to 1.0)
38
+ * @type {number}
39
+ * @memberof ScormSessionDataScore
40
+ */
41
+ scoreScaled?: number | null;
42
+ }
43
+ /**
44
+ * Check if a given object implements the ScormSessionDataScore interface.
45
+ */
46
+ export declare function instanceOfScormSessionDataScore(value: object): value is ScormSessionDataScore;
47
+ export declare function ScormSessionDataScoreFromJSON(json: any): ScormSessionDataScore;
48
+ export declare function ScormSessionDataScoreFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormSessionDataScore;
49
+ export declare function ScormSessionDataScoreToJSON(json: any): ScormSessionDataScore;
50
+ export declare function ScormSessionDataScoreToJSONTyped(value?: ScormSessionDataScore | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
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.instanceOfScormSessionDataScore = instanceOfScormSessionDataScore;
17
+ exports.ScormSessionDataScoreFromJSON = ScormSessionDataScoreFromJSON;
18
+ exports.ScormSessionDataScoreFromJSONTyped = ScormSessionDataScoreFromJSONTyped;
19
+ exports.ScormSessionDataScoreToJSON = ScormSessionDataScoreToJSON;
20
+ exports.ScormSessionDataScoreToJSONTyped = ScormSessionDataScoreToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ScormSessionDataScore interface.
23
+ */
24
+ function instanceOfScormSessionDataScore(value) {
25
+ return true;
26
+ }
27
+ function ScormSessionDataScoreFromJSON(json) {
28
+ return ScormSessionDataScoreFromJSONTyped(json, false);
29
+ }
30
+ function ScormSessionDataScoreFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'scoreRaw': json['score_raw'] == null ? undefined : json['score_raw'],
36
+ 'scoreMin': json['score_min'] == null ? undefined : json['score_min'],
37
+ 'scoreMax': json['score_max'] == null ? undefined : json['score_max'],
38
+ 'scoreScaled': json['score_scaled'] == null ? undefined : json['score_scaled'],
39
+ };
40
+ }
41
+ function ScormSessionDataScoreToJSON(json) {
42
+ return ScormSessionDataScoreToJSONTyped(json, false);
43
+ }
44
+ function ScormSessionDataScoreToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'score_raw': value['scoreRaw'],
50
+ 'score_min': value['scoreMin'],
51
+ 'score_max': value['scoreMax'],
52
+ 'score_scaled': value['scoreScaled'],
53
+ };
54
+ }
@@ -0,0 +1,32 @@
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 ScormSessionDataSession
16
+ */
17
+ export interface ScormSessionDataSession {
18
+ /**
19
+ * Lesson mode (normal, browse, review)
20
+ * @type {string}
21
+ * @memberof ScormSessionDataSession
22
+ */
23
+ lessonMode?: string | null;
24
+ }
25
+ /**
26
+ * Check if a given object implements the ScormSessionDataSession interface.
27
+ */
28
+ export declare function instanceOfScormSessionDataSession(value: object): value is ScormSessionDataSession;
29
+ export declare function ScormSessionDataSessionFromJSON(json: any): ScormSessionDataSession;
30
+ export declare function ScormSessionDataSessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormSessionDataSession;
31
+ export declare function ScormSessionDataSessionToJSON(json: any): ScormSessionDataSession;
32
+ export declare function ScormSessionDataSessionToJSONTyped(value?: ScormSessionDataSession | null, ignoreDiscriminator?: boolean): any;