@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,112 @@
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.GetContentGradeDetailContentTypeEnum = exports.GetContentGradeDetailGradeStatusEnum = exports.GetContentGradeDetailCompletionEnum = void 0;
17
+ exports.instanceOfGetContentGradeDetail = instanceOfGetContentGradeDetail;
18
+ exports.GetContentGradeDetailFromJSON = GetContentGradeDetailFromJSON;
19
+ exports.GetContentGradeDetailFromJSONTyped = GetContentGradeDetailFromJSONTyped;
20
+ exports.GetContentGradeDetailToJSON = GetContentGradeDetailToJSON;
21
+ exports.GetContentGradeDetailToJSONTyped = GetContentGradeDetailToJSONTyped;
22
+ const ScormSessionData_1 = require("./ScormSessionData");
23
+ const GetContentGradesItemsInnerUser_1 = require("./GetContentGradesItemsInnerUser");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.GetContentGradeDetailCompletionEnum = {
28
+ NotAttempted: 'NotAttempted',
29
+ InProgress: 'InProgress',
30
+ Completed: 'Completed'
31
+ };
32
+ /**
33
+ * @export
34
+ */
35
+ exports.GetContentGradeDetailGradeStatusEnum = {
36
+ Ungraded: 'Ungraded',
37
+ Passed: 'Passed',
38
+ Failed: 'Failed',
39
+ PointsEarned: 'PointsEarned',
40
+ PercentageEarned: 'PercentageEarned',
41
+ NotApplicable: 'NotApplicable'
42
+ };
43
+ /**
44
+ * @export
45
+ */
46
+ exports.GetContentGradeDetailContentTypeEnum = {
47
+ Scorm: 'Scorm',
48
+ Video: 'Video',
49
+ Audio: 'Audio',
50
+ Image: 'Image',
51
+ Text: 'Text',
52
+ Link: 'Link',
53
+ File: 'File',
54
+ Pdf: 'Pdf',
55
+ Quiz: 'Quiz'
56
+ };
57
+ /**
58
+ * Check if a given object implements the GetContentGradeDetail interface.
59
+ */
60
+ function instanceOfGetContentGradeDetail(value) {
61
+ if (!('user' in value) || value['user'] === undefined)
62
+ return false;
63
+ if (!('completion' in value) || value['completion'] === undefined)
64
+ return false;
65
+ if (!('gradeStatus' in value) || value['gradeStatus'] === undefined)
66
+ return false;
67
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
68
+ return false;
69
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
70
+ return false;
71
+ if (!('contentType' in value) || value['contentType'] === undefined)
72
+ return false;
73
+ return true;
74
+ }
75
+ function GetContentGradeDetailFromJSON(json) {
76
+ return GetContentGradeDetailFromJSONTyped(json, false);
77
+ }
78
+ function GetContentGradeDetailFromJSONTyped(json, ignoreDiscriminator) {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+ 'id': json['id'] == null ? undefined : json['id'],
84
+ 'user': (0, GetContentGradesItemsInnerUser_1.GetContentGradesItemsInnerUserFromJSON)(json['user']),
85
+ 'completion': json['completion'],
86
+ 'gradeStatus': json['grade_status'],
87
+ 'createdAt': json['created_at'],
88
+ 'updatedAt': json['updated_at'],
89
+ 'contentType': json['content_type'],
90
+ 'attemptCount': json['attempt_count'] == null ? undefined : json['attempt_count'],
91
+ 'scormData': json['scorm_data'] == null ? undefined : (0, ScormSessionData_1.ScormSessionDataFromJSON)(json['scorm_data']),
92
+ };
93
+ }
94
+ function GetContentGradeDetailToJSON(json) {
95
+ return GetContentGradeDetailToJSONTyped(json, false);
96
+ }
97
+ function GetContentGradeDetailToJSONTyped(value, ignoreDiscriminator = false) {
98
+ if (value == null) {
99
+ return value;
100
+ }
101
+ return {
102
+ 'id': value['id'],
103
+ 'user': (0, GetContentGradesItemsInnerUser_1.GetContentGradesItemsInnerUserToJSON)(value['user']),
104
+ 'completion': value['completion'],
105
+ 'grade_status': value['gradeStatus'],
106
+ 'created_at': value['createdAt'],
107
+ 'updated_at': value['updatedAt'],
108
+ 'content_type': value['contentType'],
109
+ 'attempt_count': value['attemptCount'],
110
+ 'scorm_data': (0, ScormSessionData_1.ScormSessionDataToJSON)(value['scormData']),
111
+ };
112
+ }
@@ -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 { GetContentGradesItemsInner } from './GetContentGradesItemsInner';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetContentGrades
17
+ */
18
+ export interface GetContentGrades {
19
+ /**
20
+ * The current page number
21
+ * @type {number}
22
+ * @memberof GetContentGrades
23
+ */
24
+ page: number;
25
+ /**
26
+ * The number of items per page
27
+ * @type {number}
28
+ * @memberof GetContentGrades
29
+ */
30
+ pageSize: number;
31
+ /**
32
+ * The total number of pages
33
+ * @type {number}
34
+ * @memberof GetContentGrades
35
+ */
36
+ totalPages: number;
37
+ /**
38
+ * The total number of items
39
+ * @type {number}
40
+ * @memberof GetContentGrades
41
+ */
42
+ totalItems: number;
43
+ /**
44
+ *
45
+ * @type {Array<GetContentGradesItemsInner>}
46
+ * @memberof GetContentGrades
47
+ */
48
+ items: Array<GetContentGradesItemsInner>;
49
+ }
50
+ /**
51
+ * Check if a given object implements the GetContentGrades interface.
52
+ */
53
+ export declare function instanceOfGetContentGrades(value: object): value is GetContentGrades;
54
+ export declare function GetContentGradesFromJSON(json: any): GetContentGrades;
55
+ export declare function GetContentGradesFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetContentGrades;
56
+ export declare function GetContentGradesToJSON(json: any): GetContentGrades;
57
+ export declare function GetContentGradesToJSONTyped(value?: GetContentGrades | 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.instanceOfGetContentGrades = instanceOfGetContentGrades;
17
+ exports.GetContentGradesFromJSON = GetContentGradesFromJSON;
18
+ exports.GetContentGradesFromJSONTyped = GetContentGradesFromJSONTyped;
19
+ exports.GetContentGradesToJSON = GetContentGradesToJSON;
20
+ exports.GetContentGradesToJSONTyped = GetContentGradesToJSONTyped;
21
+ const GetContentGradesItemsInner_1 = require("./GetContentGradesItemsInner");
22
+ /**
23
+ * Check if a given object implements the GetContentGrades interface.
24
+ */
25
+ function instanceOfGetContentGrades(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 GetContentGradesFromJSON(json) {
39
+ return GetContentGradesFromJSONTyped(json, false);
40
+ }
41
+ function GetContentGradesFromJSONTyped(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(GetContentGradesItemsInner_1.GetContentGradesItemsInnerFromJSON)),
51
+ };
52
+ }
53
+ function GetContentGradesToJSON(json) {
54
+ return GetContentGradesToJSONTyped(json, false);
55
+ }
56
+ function GetContentGradesToJSONTyped(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(GetContentGradesItemsInner_1.GetContentGradesItemsInnerToJSON)),
66
+ };
67
+ }
@@ -0,0 +1,72 @@
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 { GetContentGradesItemsInnerUser } from './GetContentGradesItemsInnerUser';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetContentGradesItemsInner
17
+ */
18
+ export interface GetContentGradesItemsInner {
19
+ /**
20
+ * Content session external ID
21
+ * @type {string}
22
+ * @memberof GetContentGradesItemsInner
23
+ */
24
+ id?: string | null;
25
+ /**
26
+ *
27
+ * @type {GetContentGradesItemsInnerUser}
28
+ * @memberof GetContentGradesItemsInner
29
+ */
30
+ user: GetContentGradesItemsInnerUser;
31
+ /**
32
+ * Content completion status
33
+ * @type {string}
34
+ * @memberof GetContentGradesItemsInner
35
+ */
36
+ completion: GetContentGradesItemsInnerCompletionEnum;
37
+ /**
38
+ * Content grade status
39
+ * @type {string}
40
+ * @memberof GetContentGradesItemsInner
41
+ */
42
+ gradeStatus: GetContentGradesItemsInnerGradeStatusEnum;
43
+ }
44
+ /**
45
+ * @export
46
+ */
47
+ export declare const GetContentGradesItemsInnerCompletionEnum: {
48
+ readonly NotAttempted: "NotAttempted";
49
+ readonly InProgress: "InProgress";
50
+ readonly Completed: "Completed";
51
+ };
52
+ export type GetContentGradesItemsInnerCompletionEnum = typeof GetContentGradesItemsInnerCompletionEnum[keyof typeof GetContentGradesItemsInnerCompletionEnum];
53
+ /**
54
+ * @export
55
+ */
56
+ export declare const GetContentGradesItemsInnerGradeStatusEnum: {
57
+ readonly Ungraded: "Ungraded";
58
+ readonly Passed: "Passed";
59
+ readonly Failed: "Failed";
60
+ readonly PointsEarned: "PointsEarned";
61
+ readonly PercentageEarned: "PercentageEarned";
62
+ readonly NotApplicable: "NotApplicable";
63
+ };
64
+ export type GetContentGradesItemsInnerGradeStatusEnum = typeof GetContentGradesItemsInnerGradeStatusEnum[keyof typeof GetContentGradesItemsInnerGradeStatusEnum];
65
+ /**
66
+ * Check if a given object implements the GetContentGradesItemsInner interface.
67
+ */
68
+ export declare function instanceOfGetContentGradesItemsInner(value: object): value is GetContentGradesItemsInner;
69
+ export declare function GetContentGradesItemsInnerFromJSON(json: any): GetContentGradesItemsInner;
70
+ export declare function GetContentGradesItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetContentGradesItemsInner;
71
+ export declare function GetContentGradesItemsInnerToJSON(json: any): GetContentGradesItemsInner;
72
+ export declare function GetContentGradesItemsInnerToJSONTyped(value?: GetContentGradesItemsInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,81 @@
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.GetContentGradesItemsInnerGradeStatusEnum = exports.GetContentGradesItemsInnerCompletionEnum = void 0;
17
+ exports.instanceOfGetContentGradesItemsInner = instanceOfGetContentGradesItemsInner;
18
+ exports.GetContentGradesItemsInnerFromJSON = GetContentGradesItemsInnerFromJSON;
19
+ exports.GetContentGradesItemsInnerFromJSONTyped = GetContentGradesItemsInnerFromJSONTyped;
20
+ exports.GetContentGradesItemsInnerToJSON = GetContentGradesItemsInnerToJSON;
21
+ exports.GetContentGradesItemsInnerToJSONTyped = GetContentGradesItemsInnerToJSONTyped;
22
+ const GetContentGradesItemsInnerUser_1 = require("./GetContentGradesItemsInnerUser");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.GetContentGradesItemsInnerCompletionEnum = {
27
+ NotAttempted: 'NotAttempted',
28
+ InProgress: 'InProgress',
29
+ Completed: 'Completed'
30
+ };
31
+ /**
32
+ * @export
33
+ */
34
+ exports.GetContentGradesItemsInnerGradeStatusEnum = {
35
+ Ungraded: 'Ungraded',
36
+ Passed: 'Passed',
37
+ Failed: 'Failed',
38
+ PointsEarned: 'PointsEarned',
39
+ PercentageEarned: 'PercentageEarned',
40
+ NotApplicable: 'NotApplicable'
41
+ };
42
+ /**
43
+ * Check if a given object implements the GetContentGradesItemsInner interface.
44
+ */
45
+ function instanceOfGetContentGradesItemsInner(value) {
46
+ if (!('user' in value) || value['user'] === undefined)
47
+ return false;
48
+ if (!('completion' in value) || value['completion'] === undefined)
49
+ return false;
50
+ if (!('gradeStatus' in value) || value['gradeStatus'] === undefined)
51
+ return false;
52
+ return true;
53
+ }
54
+ function GetContentGradesItemsInnerFromJSON(json) {
55
+ return GetContentGradesItemsInnerFromJSONTyped(json, false);
56
+ }
57
+ function GetContentGradesItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
58
+ if (json == null) {
59
+ return json;
60
+ }
61
+ return {
62
+ 'id': json['id'] == null ? undefined : json['id'],
63
+ 'user': (0, GetContentGradesItemsInnerUser_1.GetContentGradesItemsInnerUserFromJSON)(json['user']),
64
+ 'completion': json['completion'],
65
+ 'gradeStatus': json['grade_status'],
66
+ };
67
+ }
68
+ function GetContentGradesItemsInnerToJSON(json) {
69
+ return GetContentGradesItemsInnerToJSONTyped(json, false);
70
+ }
71
+ function GetContentGradesItemsInnerToJSONTyped(value, ignoreDiscriminator = false) {
72
+ if (value == null) {
73
+ return value;
74
+ }
75
+ return {
76
+ 'id': value['id'],
77
+ 'user': (0, GetContentGradesItemsInnerUser_1.GetContentGradesItemsInnerUserToJSON)(value['user']),
78
+ 'completion': value['completion'],
79
+ 'grade_status': value['gradeStatus'],
80
+ };
81
+ }
@@ -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 GetContentGradesItemsInnerUser
16
+ */
17
+ export interface GetContentGradesItemsInnerUser {
18
+ /**
19
+ * User's first name
20
+ * @type {string}
21
+ * @memberof GetContentGradesItemsInnerUser
22
+ */
23
+ firstName: string;
24
+ /**
25
+ * User's last name
26
+ * @type {string}
27
+ * @memberof GetContentGradesItemsInnerUser
28
+ */
29
+ lastName: string;
30
+ /**
31
+ * User's external ID
32
+ * @type {string}
33
+ * @memberof GetContentGradesItemsInnerUser
34
+ */
35
+ userId: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the GetContentGradesItemsInnerUser interface.
39
+ */
40
+ export declare function instanceOfGetContentGradesItemsInnerUser(value: object): value is GetContentGradesItemsInnerUser;
41
+ export declare function GetContentGradesItemsInnerUserFromJSON(json: any): GetContentGradesItemsInnerUser;
42
+ export declare function GetContentGradesItemsInnerUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetContentGradesItemsInnerUser;
43
+ export declare function GetContentGradesItemsInnerUserToJSON(json: any): GetContentGradesItemsInnerUser;
44
+ export declare function GetContentGradesItemsInnerUserToJSONTyped(value?: GetContentGradesItemsInnerUser | 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.instanceOfGetContentGradesItemsInnerUser = instanceOfGetContentGradesItemsInnerUser;
17
+ exports.GetContentGradesItemsInnerUserFromJSON = GetContentGradesItemsInnerUserFromJSON;
18
+ exports.GetContentGradesItemsInnerUserFromJSONTyped = GetContentGradesItemsInnerUserFromJSONTyped;
19
+ exports.GetContentGradesItemsInnerUserToJSON = GetContentGradesItemsInnerUserToJSON;
20
+ exports.GetContentGradesItemsInnerUserToJSONTyped = GetContentGradesItemsInnerUserToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GetContentGradesItemsInnerUser interface.
23
+ */
24
+ function instanceOfGetContentGradesItemsInnerUser(value) {
25
+ if (!('firstName' in value) || value['firstName'] === undefined)
26
+ return false;
27
+ if (!('lastName' in value) || value['lastName'] === undefined)
28
+ return false;
29
+ if (!('userId' in value) || value['userId'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function GetContentGradesItemsInnerUserFromJSON(json) {
34
+ return GetContentGradesItemsInnerUserFromJSONTyped(json, false);
35
+ }
36
+ function GetContentGradesItemsInnerUserFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'firstName': json['first_name'],
42
+ 'lastName': json['last_name'],
43
+ 'userId': json['user_id'],
44
+ };
45
+ }
46
+ function GetContentGradesItemsInnerUserToJSON(json) {
47
+ return GetContentGradesItemsInnerUserToJSONTyped(json, false);
48
+ }
49
+ function GetContentGradesItemsInnerUserToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'first_name': value['firstName'],
55
+ 'last_name': value['lastName'],
56
+ 'user_id': value['userId'],
57
+ };
58
+ }
@@ -0,0 +1,47 @@
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 { GetContentInstructorBasicReportingContentInfo } from './GetContentInstructorBasicReportingContentInfo';
13
+ import type { GetContentInstructorBasicReportingEngagement } from './GetContentInstructorBasicReportingEngagement';
14
+ import type { GetContentInstructorBasicReportingPerformance } from './GetContentInstructorBasicReportingPerformance';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface GetContentInstructorBasicReporting
19
+ */
20
+ export interface GetContentInstructorBasicReporting {
21
+ /**
22
+ *
23
+ * @type {GetContentInstructorBasicReportingContentInfo}
24
+ * @memberof GetContentInstructorBasicReporting
25
+ */
26
+ contentInfo: GetContentInstructorBasicReportingContentInfo;
27
+ /**
28
+ *
29
+ * @type {GetContentInstructorBasicReportingEngagement}
30
+ * @memberof GetContentInstructorBasicReporting
31
+ */
32
+ engagement: GetContentInstructorBasicReportingEngagement;
33
+ /**
34
+ *
35
+ * @type {GetContentInstructorBasicReportingPerformance}
36
+ * @memberof GetContentInstructorBasicReporting
37
+ */
38
+ performance: GetContentInstructorBasicReportingPerformance;
39
+ }
40
+ /**
41
+ * Check if a given object implements the GetContentInstructorBasicReporting interface.
42
+ */
43
+ export declare function instanceOfGetContentInstructorBasicReporting(value: object): value is GetContentInstructorBasicReporting;
44
+ export declare function GetContentInstructorBasicReportingFromJSON(json: any): GetContentInstructorBasicReporting;
45
+ export declare function GetContentInstructorBasicReportingFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetContentInstructorBasicReporting;
46
+ export declare function GetContentInstructorBasicReportingToJSON(json: any): GetContentInstructorBasicReporting;
47
+ export declare function GetContentInstructorBasicReportingToJSONTyped(value?: GetContentInstructorBasicReporting | 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.instanceOfGetContentInstructorBasicReporting = instanceOfGetContentInstructorBasicReporting;
17
+ exports.GetContentInstructorBasicReportingFromJSON = GetContentInstructorBasicReportingFromJSON;
18
+ exports.GetContentInstructorBasicReportingFromJSONTyped = GetContentInstructorBasicReportingFromJSONTyped;
19
+ exports.GetContentInstructorBasicReportingToJSON = GetContentInstructorBasicReportingToJSON;
20
+ exports.GetContentInstructorBasicReportingToJSONTyped = GetContentInstructorBasicReportingToJSONTyped;
21
+ const GetContentInstructorBasicReportingContentInfo_1 = require("./GetContentInstructorBasicReportingContentInfo");
22
+ const GetContentInstructorBasicReportingEngagement_1 = require("./GetContentInstructorBasicReportingEngagement");
23
+ const GetContentInstructorBasicReportingPerformance_1 = require("./GetContentInstructorBasicReportingPerformance");
24
+ /**
25
+ * Check if a given object implements the GetContentInstructorBasicReporting interface.
26
+ */
27
+ function instanceOfGetContentInstructorBasicReporting(value) {
28
+ if (!('contentInfo' in value) || value['contentInfo'] === undefined)
29
+ return false;
30
+ if (!('engagement' in value) || value['engagement'] === undefined)
31
+ return false;
32
+ if (!('performance' in value) || value['performance'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function GetContentInstructorBasicReportingFromJSON(json) {
37
+ return GetContentInstructorBasicReportingFromJSONTyped(json, false);
38
+ }
39
+ function GetContentInstructorBasicReportingFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'contentInfo': (0, GetContentInstructorBasicReportingContentInfo_1.GetContentInstructorBasicReportingContentInfoFromJSON)(json['content_info']),
45
+ 'engagement': (0, GetContentInstructorBasicReportingEngagement_1.GetContentInstructorBasicReportingEngagementFromJSON)(json['engagement']),
46
+ 'performance': (0, GetContentInstructorBasicReportingPerformance_1.GetContentInstructorBasicReportingPerformanceFromJSON)(json['performance']),
47
+ };
48
+ }
49
+ function GetContentInstructorBasicReportingToJSON(json) {
50
+ return GetContentInstructorBasicReportingToJSONTyped(json, false);
51
+ }
52
+ function GetContentInstructorBasicReportingToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'content_info': (0, GetContentInstructorBasicReportingContentInfo_1.GetContentInstructorBasicReportingContentInfoToJSON)(value['contentInfo']),
58
+ 'engagement': (0, GetContentInstructorBasicReportingEngagement_1.GetContentInstructorBasicReportingEngagementToJSON)(value['engagement']),
59
+ 'performance': (0, GetContentInstructorBasicReportingPerformance_1.GetContentInstructorBasicReportingPerformanceToJSON)(value['performance']),
60
+ };
61
+ }
@@ -0,0 +1,59 @@
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 GetContentInstructorBasicReportingContentInfo
16
+ */
17
+ export interface GetContentInstructorBasicReportingContentInfo {
18
+ /**
19
+ * Content external ID
20
+ * @type {string}
21
+ * @memberof GetContentInstructorBasicReportingContentInfo
22
+ */
23
+ contentId: string;
24
+ /**
25
+ * Type of content
26
+ * @type {string}
27
+ * @memberof GetContentInstructorBasicReportingContentInfo
28
+ */
29
+ contentType: GetContentInstructorBasicReportingContentInfoContentTypeEnum;
30
+ /**
31
+ * Content title
32
+ * @type {string}
33
+ * @memberof GetContentInstructorBasicReportingContentInfo
34
+ */
35
+ title?: string | null;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const GetContentInstructorBasicReportingContentInfoContentTypeEnum: {
41
+ readonly Scorm: "Scorm";
42
+ readonly Video: "Video";
43
+ readonly Audio: "Audio";
44
+ readonly Image: "Image";
45
+ readonly Text: "Text";
46
+ readonly Link: "Link";
47
+ readonly File: "File";
48
+ readonly Pdf: "Pdf";
49
+ readonly Quiz: "Quiz";
50
+ };
51
+ export type GetContentInstructorBasicReportingContentInfoContentTypeEnum = typeof GetContentInstructorBasicReportingContentInfoContentTypeEnum[keyof typeof GetContentInstructorBasicReportingContentInfoContentTypeEnum];
52
+ /**
53
+ * Check if a given object implements the GetContentInstructorBasicReportingContentInfo interface.
54
+ */
55
+ export declare function instanceOfGetContentInstructorBasicReportingContentInfo(value: object): value is GetContentInstructorBasicReportingContentInfo;
56
+ export declare function GetContentInstructorBasicReportingContentInfoFromJSON(json: any): GetContentInstructorBasicReportingContentInfo;
57
+ export declare function GetContentInstructorBasicReportingContentInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetContentInstructorBasicReportingContentInfo;
58
+ export declare function GetContentInstructorBasicReportingContentInfoToJSON(json: any): GetContentInstructorBasicReportingContentInfo;
59
+ export declare function GetContentInstructorBasicReportingContentInfoToJSONTyped(value?: GetContentInstructorBasicReportingContentInfo | null, ignoreDiscriminator?: boolean): any;