@easyedu/js-lsm-api 1.130.0 → 1.132.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 +46 -0
  2. package/README.md +29 -2
  3. package/dist/apis/ReportingApi.d.ts +52 -0
  4. package/dist/apis/ReportingApi.js +131 -0
  5. package/dist/apis/SystemApi.d.ts +16 -0
  6. package/dist/apis/SystemApi.js +40 -0
  7. package/dist/esm/apis/ReportingApi.d.ts +52 -0
  8. package/dist/esm/apis/ReportingApi.js +131 -0
  9. package/dist/esm/apis/SystemApi.d.ts +16 -0
  10. package/dist/esm/apis/SystemApi.js +40 -0
  11. package/dist/esm/models/GetReportCatalog.d.ts +40 -0
  12. package/dist/esm/models/GetReportCatalog.js +49 -0
  13. package/dist/esm/models/GetReportQueryResult.d.ts +84 -0
  14. package/dist/esm/models/GetReportQueryResult.js +77 -0
  15. package/dist/esm/models/GetSystemPortalOverview.d.ts +121 -0
  16. package/dist/esm/models/GetSystemPortalOverview.js +106 -0
  17. package/dist/esm/models/PostReportExport.d.ts +54 -0
  18. package/dist/esm/models/PostReportExport.js +56 -0
  19. package/dist/esm/models/PostReportQuery.d.ts +52 -0
  20. package/dist/esm/models/PostReportQuery.js +49 -0
  21. package/dist/esm/models/ReportCategory.d.ts +50 -0
  22. package/dist/esm/models/ReportCategory.js +58 -0
  23. package/dist/esm/models/ReportColumn.d.ts +59 -0
  24. package/dist/esm/models/ReportColumn.js +64 -0
  25. package/dist/esm/models/ReportDefinition.d.ts +89 -0
  26. package/dist/esm/models/ReportDefinition.js +85 -0
  27. package/dist/esm/models/ReportFilterDefinition.d.ts +94 -0
  28. package/dist/esm/models/ReportFilterDefinition.js +91 -0
  29. package/dist/esm/models/ReportFilterOption.d.ts +38 -0
  30. package/dist/esm/models/ReportFilterOption.js +47 -0
  31. package/dist/esm/models/ReportFilters.d.ts +105 -0
  32. package/dist/esm/models/ReportFilters.js +65 -0
  33. package/dist/esm/models/ReportSort.d.ts +46 -0
  34. package/dist/esm/models/ReportSort.js +54 -0
  35. package/dist/esm/models/SystemPortalActivityStats.d.ts +56 -0
  36. package/dist/esm/models/SystemPortalActivityStats.js +57 -0
  37. package/dist/esm/models/SystemPortalCertificateStats.d.ts +50 -0
  38. package/dist/esm/models/SystemPortalCertificateStats.js +55 -0
  39. package/dist/esm/models/SystemPortalContentStats.d.ts +56 -0
  40. package/dist/esm/models/SystemPortalContentStats.js +59 -0
  41. package/dist/esm/models/SystemPortalCourseStats.d.ts +62 -0
  42. package/dist/esm/models/SystemPortalCourseStats.js +63 -0
  43. package/dist/esm/models/SystemPortalEnrollmentStats.d.ts +56 -0
  44. package/dist/esm/models/SystemPortalEnrollmentStats.js +59 -0
  45. package/dist/esm/models/SystemPortalHierarchy.d.ts +44 -0
  46. package/dist/esm/models/SystemPortalHierarchy.js +47 -0
  47. package/dist/esm/models/SystemPortalLicense.d.ts +65 -0
  48. package/dist/esm/models/SystemPortalLicense.js +61 -0
  49. package/dist/esm/models/SystemPortalRoleCount.d.ts +51 -0
  50. package/dist/esm/models/SystemPortalRoleCount.js +59 -0
  51. package/dist/esm/models/SystemPortalStorageUsage.d.ts +74 -0
  52. package/dist/esm/models/SystemPortalStorageUsage.js +71 -0
  53. package/dist/esm/models/SystemPortalSupportStats.d.ts +50 -0
  54. package/dist/esm/models/SystemPortalSupportStats.js +55 -0
  55. package/dist/esm/models/SystemPortalUserStats.d.ts +81 -0
  56. package/dist/esm/models/SystemPortalUserStats.js +74 -0
  57. package/dist/esm/models/index.d.ts +23 -0
  58. package/dist/esm/models/index.js +23 -0
  59. package/dist/models/GetReportCatalog.d.ts +40 -0
  60. package/dist/models/GetReportCatalog.js +56 -0
  61. package/dist/models/GetReportQueryResult.d.ts +84 -0
  62. package/dist/models/GetReportQueryResult.js +84 -0
  63. package/dist/models/GetSystemPortalOverview.d.ts +121 -0
  64. package/dist/models/GetSystemPortalOverview.js +113 -0
  65. package/dist/models/PostReportExport.d.ts +54 -0
  66. package/dist/models/PostReportExport.js +64 -0
  67. package/dist/models/PostReportQuery.d.ts +52 -0
  68. package/dist/models/PostReportQuery.js +56 -0
  69. package/dist/models/ReportCategory.d.ts +50 -0
  70. package/dist/models/ReportCategory.js +66 -0
  71. package/dist/models/ReportColumn.d.ts +59 -0
  72. package/dist/models/ReportColumn.js +72 -0
  73. package/dist/models/ReportDefinition.d.ts +89 -0
  74. package/dist/models/ReportDefinition.js +93 -0
  75. package/dist/models/ReportFilterDefinition.d.ts +94 -0
  76. package/dist/models/ReportFilterDefinition.js +99 -0
  77. package/dist/models/ReportFilterOption.d.ts +38 -0
  78. package/dist/models/ReportFilterOption.js +54 -0
  79. package/dist/models/ReportFilters.d.ts +105 -0
  80. package/dist/models/ReportFilters.js +72 -0
  81. package/dist/models/ReportSort.d.ts +46 -0
  82. package/dist/models/ReportSort.js +62 -0
  83. package/dist/models/SystemPortalActivityStats.d.ts +56 -0
  84. package/dist/models/SystemPortalActivityStats.js +64 -0
  85. package/dist/models/SystemPortalCertificateStats.d.ts +50 -0
  86. package/dist/models/SystemPortalCertificateStats.js +62 -0
  87. package/dist/models/SystemPortalContentStats.d.ts +56 -0
  88. package/dist/models/SystemPortalContentStats.js +66 -0
  89. package/dist/models/SystemPortalCourseStats.d.ts +62 -0
  90. package/dist/models/SystemPortalCourseStats.js +70 -0
  91. package/dist/models/SystemPortalEnrollmentStats.d.ts +56 -0
  92. package/dist/models/SystemPortalEnrollmentStats.js +66 -0
  93. package/dist/models/SystemPortalHierarchy.d.ts +44 -0
  94. package/dist/models/SystemPortalHierarchy.js +54 -0
  95. package/dist/models/SystemPortalLicense.d.ts +65 -0
  96. package/dist/models/SystemPortalLicense.js +69 -0
  97. package/dist/models/SystemPortalRoleCount.d.ts +51 -0
  98. package/dist/models/SystemPortalRoleCount.js +67 -0
  99. package/dist/models/SystemPortalStorageUsage.d.ts +74 -0
  100. package/dist/models/SystemPortalStorageUsage.js +78 -0
  101. package/dist/models/SystemPortalSupportStats.d.ts +50 -0
  102. package/dist/models/SystemPortalSupportStats.js +62 -0
  103. package/dist/models/SystemPortalUserStats.d.ts +81 -0
  104. package/dist/models/SystemPortalUserStats.js +81 -0
  105. package/dist/models/index.d.ts +23 -0
  106. package/dist/models/index.js +23 -0
  107. package/docs/GetReportCatalog.md +37 -0
  108. package/docs/GetReportQueryResult.md +50 -0
  109. package/docs/GetSystemPortalOverview.md +61 -0
  110. package/docs/PostReportExport.md +38 -0
  111. package/docs/PostReportQuery.md +40 -0
  112. package/docs/ReportCategory.md +36 -0
  113. package/docs/ReportColumn.md +39 -0
  114. package/docs/ReportDefinition.md +48 -0
  115. package/docs/ReportFilterDefinition.md +45 -0
  116. package/docs/ReportFilterOption.md +36 -0
  117. package/docs/ReportFilters.md +59 -0
  118. package/docs/ReportSort.md +36 -0
  119. package/docs/ReportingApi.md +207 -0
  120. package/docs/SystemApi.md +68 -0
  121. package/docs/SystemPortalActivityStats.md +42 -0
  122. package/docs/SystemPortalCertificateStats.md +40 -0
  123. package/docs/SystemPortalContentStats.md +43 -0
  124. package/docs/SystemPortalCourseStats.md +44 -0
  125. package/docs/SystemPortalEnrollmentStats.md +43 -0
  126. package/docs/SystemPortalHierarchy.md +38 -0
  127. package/docs/SystemPortalLicense.md +42 -0
  128. package/docs/SystemPortalRoleCount.md +36 -0
  129. package/docs/SystemPortalStorageUsage.md +49 -0
  130. package/docs/SystemPortalSupportStats.md +40 -0
  131. package/docs/SystemPortalUserStats.md +50 -0
  132. package/package.json +1 -1
  133. package/src/apis/ReportingApi.ts +181 -0
  134. package/src/apis/SystemApi.ts +54 -0
  135. package/src/models/GetReportCatalog.ts +90 -0
  136. package/src/models/GetReportQueryResult.ts +153 -0
  137. package/src/models/GetSystemPortalOverview.ts +261 -0
  138. package/src/models/PostReportExport.ts +108 -0
  139. package/src/models/PostReportQuery.ts +104 -0
  140. package/src/models/ReportCategory.ts +90 -0
  141. package/src/models/ReportColumn.ts +102 -0
  142. package/src/models/ReportDefinition.ts +166 -0
  143. package/src/models/ReportFilterDefinition.ts +154 -0
  144. package/src/models/ReportFilterOption.ts +75 -0
  145. package/src/models/ReportFilters.ts +162 -0
  146. package/src/models/ReportSort.ts +86 -0
  147. package/src/models/SystemPortalActivityStats.ts +101 -0
  148. package/src/models/SystemPortalCertificateStats.ts +93 -0
  149. package/src/models/SystemPortalContentStats.ts +102 -0
  150. package/src/models/SystemPortalCourseStats.ts +111 -0
  151. package/src/models/SystemPortalEnrollmentStats.ts +102 -0
  152. package/src/models/SystemPortalHierarchy.ts +82 -0
  153. package/src/models/SystemPortalLicense.ts +111 -0
  154. package/src/models/SystemPortalRoleCount.ts +91 -0
  155. package/src/models/SystemPortalStorageUsage.ts +129 -0
  156. package/src/models/SystemPortalSupportStats.ts +93 -0
  157. package/src/models/SystemPortalUserStats.ts +145 -0
  158. package/src/models/index.ts +23 -0
@@ -0,0 +1,51 @@
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 SystemPortalRoleCount
16
+ */
17
+ export interface SystemPortalRoleCount {
18
+ /**
19
+ *
20
+ * @type {SystemPortalRoleCountBaseTypeEnum}
21
+ * @memberof SystemPortalRoleCount
22
+ */
23
+ baseType: SystemPortalRoleCountBaseTypeEnum;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof SystemPortalRoleCount
28
+ */
29
+ userCount: number;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const SystemPortalRoleCountBaseTypeEnum: {
35
+ readonly Owner: "Owner";
36
+ readonly Admin: "Admin";
37
+ readonly Instructor: "Instructor";
38
+ readonly Learner: "Learner";
39
+ readonly ClientSuperAdmin: "ClientSuperAdmin";
40
+ readonly ClientManager: "ClientManager";
41
+ readonly PortalClientAdministrator: "PortalClientAdministrator";
42
+ };
43
+ export type SystemPortalRoleCountBaseTypeEnum = typeof SystemPortalRoleCountBaseTypeEnum[keyof typeof SystemPortalRoleCountBaseTypeEnum];
44
+ /**
45
+ * Check if a given object implements the SystemPortalRoleCount interface.
46
+ */
47
+ export declare function instanceOfSystemPortalRoleCount(value: object): value is SystemPortalRoleCount;
48
+ export declare function SystemPortalRoleCountFromJSON(json: any): SystemPortalRoleCount;
49
+ export declare function SystemPortalRoleCountFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalRoleCount;
50
+ export declare function SystemPortalRoleCountToJSON(json: any): SystemPortalRoleCount;
51
+ export declare function SystemPortalRoleCountToJSONTyped(value?: SystemPortalRoleCount | 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.SystemPortalRoleCountBaseTypeEnum = void 0;
17
+ exports.instanceOfSystemPortalRoleCount = instanceOfSystemPortalRoleCount;
18
+ exports.SystemPortalRoleCountFromJSON = SystemPortalRoleCountFromJSON;
19
+ exports.SystemPortalRoleCountFromJSONTyped = SystemPortalRoleCountFromJSONTyped;
20
+ exports.SystemPortalRoleCountToJSON = SystemPortalRoleCountToJSON;
21
+ exports.SystemPortalRoleCountToJSONTyped = SystemPortalRoleCountToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.SystemPortalRoleCountBaseTypeEnum = {
26
+ Owner: 'Owner',
27
+ Admin: 'Admin',
28
+ Instructor: 'Instructor',
29
+ Learner: 'Learner',
30
+ ClientSuperAdmin: 'ClientSuperAdmin',
31
+ ClientManager: 'ClientManager',
32
+ PortalClientAdministrator: 'PortalClientAdministrator'
33
+ };
34
+ /**
35
+ * Check if a given object implements the SystemPortalRoleCount interface.
36
+ */
37
+ function instanceOfSystemPortalRoleCount(value) {
38
+ if (!('baseType' in value) || value['baseType'] === undefined)
39
+ return false;
40
+ if (!('userCount' in value) || value['userCount'] === undefined)
41
+ return false;
42
+ return true;
43
+ }
44
+ function SystemPortalRoleCountFromJSON(json) {
45
+ return SystemPortalRoleCountFromJSONTyped(json, false);
46
+ }
47
+ function SystemPortalRoleCountFromJSONTyped(json, ignoreDiscriminator) {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+ 'baseType': json['base_type'],
53
+ 'userCount': json['user_count'],
54
+ };
55
+ }
56
+ function SystemPortalRoleCountToJSON(json) {
57
+ return SystemPortalRoleCountToJSONTyped(json, false);
58
+ }
59
+ function SystemPortalRoleCountToJSONTyped(value, ignoreDiscriminator = false) {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'base_type': value['baseType'],
65
+ 'user_count': value['userCount'],
66
+ };
67
+ }
@@ -0,0 +1,74 @@
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
+ * Stored object sizes attributed to the portal, in bytes, as recorded in the database at upload time. Pending and deleted uploads are excluded.
14
+ * @export
15
+ * @interface SystemPortalStorageUsage
16
+ */
17
+ export interface SystemPortalStorageUsage {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof SystemPortalStorageUsage
22
+ */
23
+ totalBytes: number;
24
+ /**
25
+ * Uploaded Content Library resource files across all versions.
26
+ * @type {number}
27
+ * @memberof SystemPortalStorageUsage
28
+ */
29
+ contentLibraryBytes: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof SystemPortalStorageUsage
34
+ */
35
+ richTextAssetBytes: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof SystemPortalStorageUsage
40
+ */
41
+ emailAssetBytes: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof SystemPortalStorageUsage
46
+ */
47
+ certificateAssetBytes: number;
48
+ /**
49
+ * Generated certificate PDFs.
50
+ * @type {number}
51
+ * @memberof SystemPortalStorageUsage
52
+ */
53
+ certificateArtifactBytes: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof SystemPortalStorageUsage
58
+ */
59
+ supportAttachmentBytes: number;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof SystemPortalStorageUsage
64
+ */
65
+ courseExportBytes: number;
66
+ }
67
+ /**
68
+ * Check if a given object implements the SystemPortalStorageUsage interface.
69
+ */
70
+ export declare function instanceOfSystemPortalStorageUsage(value: object): value is SystemPortalStorageUsage;
71
+ export declare function SystemPortalStorageUsageFromJSON(json: any): SystemPortalStorageUsage;
72
+ export declare function SystemPortalStorageUsageFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalStorageUsage;
73
+ export declare function SystemPortalStorageUsageToJSON(json: any): SystemPortalStorageUsage;
74
+ export declare function SystemPortalStorageUsageToJSONTyped(value?: SystemPortalStorageUsage | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,78 @@
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.instanceOfSystemPortalStorageUsage = instanceOfSystemPortalStorageUsage;
17
+ exports.SystemPortalStorageUsageFromJSON = SystemPortalStorageUsageFromJSON;
18
+ exports.SystemPortalStorageUsageFromJSONTyped = SystemPortalStorageUsageFromJSONTyped;
19
+ exports.SystemPortalStorageUsageToJSON = SystemPortalStorageUsageToJSON;
20
+ exports.SystemPortalStorageUsageToJSONTyped = SystemPortalStorageUsageToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SystemPortalStorageUsage interface.
23
+ */
24
+ function instanceOfSystemPortalStorageUsage(value) {
25
+ if (!('totalBytes' in value) || value['totalBytes'] === undefined)
26
+ return false;
27
+ if (!('contentLibraryBytes' in value) || value['contentLibraryBytes'] === undefined)
28
+ return false;
29
+ if (!('richTextAssetBytes' in value) || value['richTextAssetBytes'] === undefined)
30
+ return false;
31
+ if (!('emailAssetBytes' in value) || value['emailAssetBytes'] === undefined)
32
+ return false;
33
+ if (!('certificateAssetBytes' in value) || value['certificateAssetBytes'] === undefined)
34
+ return false;
35
+ if (!('certificateArtifactBytes' in value) || value['certificateArtifactBytes'] === undefined)
36
+ return false;
37
+ if (!('supportAttachmentBytes' in value) || value['supportAttachmentBytes'] === undefined)
38
+ return false;
39
+ if (!('courseExportBytes' in value) || value['courseExportBytes'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ function SystemPortalStorageUsageFromJSON(json) {
44
+ return SystemPortalStorageUsageFromJSONTyped(json, false);
45
+ }
46
+ function SystemPortalStorageUsageFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'totalBytes': json['total_bytes'],
52
+ 'contentLibraryBytes': json['content_library_bytes'],
53
+ 'richTextAssetBytes': json['rich_text_asset_bytes'],
54
+ 'emailAssetBytes': json['email_asset_bytes'],
55
+ 'certificateAssetBytes': json['certificate_asset_bytes'],
56
+ 'certificateArtifactBytes': json['certificate_artifact_bytes'],
57
+ 'supportAttachmentBytes': json['support_attachment_bytes'],
58
+ 'courseExportBytes': json['course_export_bytes'],
59
+ };
60
+ }
61
+ function SystemPortalStorageUsageToJSON(json) {
62
+ return SystemPortalStorageUsageToJSONTyped(json, false);
63
+ }
64
+ function SystemPortalStorageUsageToJSONTyped(value, ignoreDiscriminator = false) {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+ return {
69
+ 'total_bytes': value['totalBytes'],
70
+ 'content_library_bytes': value['contentLibraryBytes'],
71
+ 'rich_text_asset_bytes': value['richTextAssetBytes'],
72
+ 'email_asset_bytes': value['emailAssetBytes'],
73
+ 'certificate_asset_bytes': value['certificateAssetBytes'],
74
+ 'certificate_artifact_bytes': value['certificateArtifactBytes'],
75
+ 'support_attachment_bytes': value['supportAttachmentBytes'],
76
+ 'course_export_bytes': value['courseExportBytes'],
77
+ };
78
+ }
@@ -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 SystemPortalSupportStats
16
+ */
17
+ export interface SystemPortalSupportStats {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof SystemPortalSupportStats
22
+ */
23
+ open: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof SystemPortalSupportStats
28
+ */
29
+ inProgress: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof SystemPortalSupportStats
34
+ */
35
+ closed: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof SystemPortalSupportStats
40
+ */
41
+ total: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the SystemPortalSupportStats interface.
45
+ */
46
+ export declare function instanceOfSystemPortalSupportStats(value: object): value is SystemPortalSupportStats;
47
+ export declare function SystemPortalSupportStatsFromJSON(json: any): SystemPortalSupportStats;
48
+ export declare function SystemPortalSupportStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalSupportStats;
49
+ export declare function SystemPortalSupportStatsToJSON(json: any): SystemPortalSupportStats;
50
+ export declare function SystemPortalSupportStatsToJSONTyped(value?: SystemPortalSupportStats | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
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.instanceOfSystemPortalSupportStats = instanceOfSystemPortalSupportStats;
17
+ exports.SystemPortalSupportStatsFromJSON = SystemPortalSupportStatsFromJSON;
18
+ exports.SystemPortalSupportStatsFromJSONTyped = SystemPortalSupportStatsFromJSONTyped;
19
+ exports.SystemPortalSupportStatsToJSON = SystemPortalSupportStatsToJSON;
20
+ exports.SystemPortalSupportStatsToJSONTyped = SystemPortalSupportStatsToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SystemPortalSupportStats interface.
23
+ */
24
+ function instanceOfSystemPortalSupportStats(value) {
25
+ if (!('open' in value) || value['open'] === undefined)
26
+ return false;
27
+ if (!('inProgress' in value) || value['inProgress'] === undefined)
28
+ return false;
29
+ if (!('closed' in value) || value['closed'] === undefined)
30
+ return false;
31
+ if (!('total' in value) || value['total'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function SystemPortalSupportStatsFromJSON(json) {
36
+ return SystemPortalSupportStatsFromJSONTyped(json, false);
37
+ }
38
+ function SystemPortalSupportStatsFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'open': json['open'],
44
+ 'inProgress': json['in_progress'],
45
+ 'closed': json['closed'],
46
+ 'total': json['total'],
47
+ };
48
+ }
49
+ function SystemPortalSupportStatsToJSON(json) {
50
+ return SystemPortalSupportStatsToJSONTyped(json, false);
51
+ }
52
+ function SystemPortalSupportStatsToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'open': value['open'],
58
+ 'in_progress': value['inProgress'],
59
+ 'closed': value['closed'],
60
+ 'total': value['total'],
61
+ };
62
+ }
@@ -0,0 +1,81 @@
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 { SystemPortalRoleCount } from './SystemPortalRoleCount';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SystemPortalUserStats
17
+ */
18
+ export interface SystemPortalUserStats {
19
+ /**
20
+ * Distinct users holding at least one active role in the portal.
21
+ * @type {number}
22
+ * @memberof SystemPortalUserStats
23
+ */
24
+ total: number;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof SystemPortalUserStats
29
+ */
30
+ enabled: number;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof SystemPortalUserStats
35
+ */
36
+ disabled: number;
37
+ /**
38
+ * Users whose earliest active role in the portal was assigned in the last 30 days.
39
+ * @type {number}
40
+ * @memberof SystemPortalUserStats
41
+ */
42
+ newLast30Days: number;
43
+ /**
44
+ * Distinct users who logged in to the portal in the last 7 days.
45
+ * @type {number}
46
+ * @memberof SystemPortalUserStats
47
+ */
48
+ activeLast7Days: number;
49
+ /**
50
+ *
51
+ * @type {number}
52
+ * @memberof SystemPortalUserStats
53
+ */
54
+ activeLast30Days: number;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof SystemPortalUserStats
59
+ */
60
+ pendingInvitations: number;
61
+ /**
62
+ *
63
+ * @type {number}
64
+ * @memberof SystemPortalUserStats
65
+ */
66
+ lastLoginAt?: number | null;
67
+ /**
68
+ * Distinct users per role base type. A user with several roles is counted once per base type.
69
+ * @type {Array<SystemPortalRoleCount>}
70
+ * @memberof SystemPortalUserStats
71
+ */
72
+ byRole: Array<SystemPortalRoleCount>;
73
+ }
74
+ /**
75
+ * Check if a given object implements the SystemPortalUserStats interface.
76
+ */
77
+ export declare function instanceOfSystemPortalUserStats(value: object): value is SystemPortalUserStats;
78
+ export declare function SystemPortalUserStatsFromJSON(json: any): SystemPortalUserStats;
79
+ export declare function SystemPortalUserStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalUserStats;
80
+ export declare function SystemPortalUserStatsToJSON(json: any): SystemPortalUserStats;
81
+ export declare function SystemPortalUserStatsToJSONTyped(value?: SystemPortalUserStats | 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.instanceOfSystemPortalUserStats = instanceOfSystemPortalUserStats;
17
+ exports.SystemPortalUserStatsFromJSON = SystemPortalUserStatsFromJSON;
18
+ exports.SystemPortalUserStatsFromJSONTyped = SystemPortalUserStatsFromJSONTyped;
19
+ exports.SystemPortalUserStatsToJSON = SystemPortalUserStatsToJSON;
20
+ exports.SystemPortalUserStatsToJSONTyped = SystemPortalUserStatsToJSONTyped;
21
+ const SystemPortalRoleCount_1 = require("./SystemPortalRoleCount");
22
+ /**
23
+ * Check if a given object implements the SystemPortalUserStats interface.
24
+ */
25
+ function instanceOfSystemPortalUserStats(value) {
26
+ if (!('total' in value) || value['total'] === undefined)
27
+ return false;
28
+ if (!('enabled' in value) || value['enabled'] === undefined)
29
+ return false;
30
+ if (!('disabled' in value) || value['disabled'] === undefined)
31
+ return false;
32
+ if (!('newLast30Days' in value) || value['newLast30Days'] === undefined)
33
+ return false;
34
+ if (!('activeLast7Days' in value) || value['activeLast7Days'] === undefined)
35
+ return false;
36
+ if (!('activeLast30Days' in value) || value['activeLast30Days'] === undefined)
37
+ return false;
38
+ if (!('pendingInvitations' in value) || value['pendingInvitations'] === undefined)
39
+ return false;
40
+ if (!('byRole' in value) || value['byRole'] === undefined)
41
+ return false;
42
+ return true;
43
+ }
44
+ function SystemPortalUserStatsFromJSON(json) {
45
+ return SystemPortalUserStatsFromJSONTyped(json, false);
46
+ }
47
+ function SystemPortalUserStatsFromJSONTyped(json, ignoreDiscriminator) {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+ 'total': json['total'],
53
+ 'enabled': json['enabled'],
54
+ 'disabled': json['disabled'],
55
+ 'newLast30Days': json['new_last_30_days'],
56
+ 'activeLast7Days': json['active_last_7_days'],
57
+ 'activeLast30Days': json['active_last_30_days'],
58
+ 'pendingInvitations': json['pending_invitations'],
59
+ 'lastLoginAt': json['last_login_at'] == null ? undefined : json['last_login_at'],
60
+ 'byRole': (json['by_role'].map(SystemPortalRoleCount_1.SystemPortalRoleCountFromJSON)),
61
+ };
62
+ }
63
+ function SystemPortalUserStatsToJSON(json) {
64
+ return SystemPortalUserStatsToJSONTyped(json, false);
65
+ }
66
+ function SystemPortalUserStatsToJSONTyped(value, ignoreDiscriminator = false) {
67
+ if (value == null) {
68
+ return value;
69
+ }
70
+ return {
71
+ 'total': value['total'],
72
+ 'enabled': value['enabled'],
73
+ 'disabled': value['disabled'],
74
+ 'new_last_30_days': value['newLast30Days'],
75
+ 'active_last_7_days': value['activeLast7Days'],
76
+ 'active_last_30_days': value['activeLast30Days'],
77
+ 'pending_invitations': value['pendingInvitations'],
78
+ 'last_login_at': value['lastLoginAt'],
79
+ 'by_role': (value['byRole'].map(SystemPortalRoleCount_1.SystemPortalRoleCountToJSON)),
80
+ };
81
+ }
@@ -133,6 +133,8 @@ export * from './GetQuestionAnswerChoicesInner';
133
133
  export * from './GetQuestionList';
134
134
  export * from './GetQuestionListFilters';
135
135
  export * from './GetQuestionQuizzesInner';
136
+ export * from './GetReportCatalog';
137
+ export * from './GetReportQueryResult';
136
138
  export * from './GetResource';
137
139
  export * from './GetResourceList';
138
140
  export * from './GetResourceSession';
@@ -163,6 +165,7 @@ export * from './GetSupportTicketList';
163
165
  export * from './GetSystemBillingItem';
164
166
  export * from './GetSystemBillingList';
165
167
  export * from './GetSystemMetrics';
168
+ export * from './GetSystemPortalOverview';
166
169
  export * from './GetUser';
167
170
  export * from './GetUserAvatarUpload';
168
171
  export * from './GetUserCourseList';
@@ -274,6 +277,8 @@ export * from './PostQuestionImportCommit';
274
277
  export * from './PostQuestionImportCommitItem';
275
278
  export * from './PostQuestionImportCommitResponse';
276
279
  export * from './PostQuestionImportParseResponse';
280
+ export * from './PostReportExport';
281
+ export * from './PostReportQuery';
277
282
  export * from './PostResetPassword';
278
283
  export * from './PostResource';
279
284
  export * from './PostResourceSessionActivityEvent';
@@ -349,6 +354,13 @@ export * from './QuestionImportPreviewImage';
349
354
  export * from './QuestionImportSource';
350
355
  export * from './QuestionImportSourceSummary';
351
356
  export * from './QuestionSelectionMethod';
357
+ export * from './ReportCategory';
358
+ export * from './ReportColumn';
359
+ export * from './ReportDefinition';
360
+ export * from './ReportFilterDefinition';
361
+ export * from './ReportFilterOption';
362
+ export * from './ReportFilters';
363
+ export * from './ReportSort';
352
364
  export * from './ResourceSessionEnvironment';
353
365
  export * from './ResourceSessionScormApiLogItem';
354
366
  export * from './ResourceType';
@@ -365,6 +377,17 @@ export * from './ScormSetValueRequest';
365
377
  export * from './ScormSetValueResponse';
366
378
  export * from './ScormTerminateResponse';
367
379
  export * from './SupportTicketUser';
380
+ export * from './SystemPortalActivityStats';
381
+ export * from './SystemPortalCertificateStats';
382
+ export * from './SystemPortalContentStats';
383
+ export * from './SystemPortalCourseStats';
384
+ export * from './SystemPortalEnrollmentStats';
385
+ export * from './SystemPortalHierarchy';
386
+ export * from './SystemPortalLicense';
387
+ export * from './SystemPortalRoleCount';
388
+ export * from './SystemPortalStorageUsage';
389
+ export * from './SystemPortalSupportStats';
390
+ export * from './SystemPortalUserStats';
368
391
  export * from './UpdateSelectedPortalResponse';
369
392
  export * from './UpdateSelectedPortalResponseHostPortal';
370
393
  export * from './UpdateSelectedPortalResponseSelectedPortal';
@@ -151,6 +151,8 @@ __exportStar(require("./GetQuestionAnswerChoicesInner"), exports);
151
151
  __exportStar(require("./GetQuestionList"), exports);
152
152
  __exportStar(require("./GetQuestionListFilters"), exports);
153
153
  __exportStar(require("./GetQuestionQuizzesInner"), exports);
154
+ __exportStar(require("./GetReportCatalog"), exports);
155
+ __exportStar(require("./GetReportQueryResult"), exports);
154
156
  __exportStar(require("./GetResource"), exports);
155
157
  __exportStar(require("./GetResourceList"), exports);
156
158
  __exportStar(require("./GetResourceSession"), exports);
@@ -181,6 +183,7 @@ __exportStar(require("./GetSupportTicketList"), exports);
181
183
  __exportStar(require("./GetSystemBillingItem"), exports);
182
184
  __exportStar(require("./GetSystemBillingList"), exports);
183
185
  __exportStar(require("./GetSystemMetrics"), exports);
186
+ __exportStar(require("./GetSystemPortalOverview"), exports);
184
187
  __exportStar(require("./GetUser"), exports);
185
188
  __exportStar(require("./GetUserAvatarUpload"), exports);
186
189
  __exportStar(require("./GetUserCourseList"), exports);
@@ -292,6 +295,8 @@ __exportStar(require("./PostQuestionImportCommit"), exports);
292
295
  __exportStar(require("./PostQuestionImportCommitItem"), exports);
293
296
  __exportStar(require("./PostQuestionImportCommitResponse"), exports);
294
297
  __exportStar(require("./PostQuestionImportParseResponse"), exports);
298
+ __exportStar(require("./PostReportExport"), exports);
299
+ __exportStar(require("./PostReportQuery"), exports);
295
300
  __exportStar(require("./PostResetPassword"), exports);
296
301
  __exportStar(require("./PostResource"), exports);
297
302
  __exportStar(require("./PostResourceSessionActivityEvent"), exports);
@@ -367,6 +372,13 @@ __exportStar(require("./QuestionImportPreviewImage"), exports);
367
372
  __exportStar(require("./QuestionImportSource"), exports);
368
373
  __exportStar(require("./QuestionImportSourceSummary"), exports);
369
374
  __exportStar(require("./QuestionSelectionMethod"), exports);
375
+ __exportStar(require("./ReportCategory"), exports);
376
+ __exportStar(require("./ReportColumn"), exports);
377
+ __exportStar(require("./ReportDefinition"), exports);
378
+ __exportStar(require("./ReportFilterDefinition"), exports);
379
+ __exportStar(require("./ReportFilterOption"), exports);
380
+ __exportStar(require("./ReportFilters"), exports);
381
+ __exportStar(require("./ReportSort"), exports);
370
382
  __exportStar(require("./ResourceSessionEnvironment"), exports);
371
383
  __exportStar(require("./ResourceSessionScormApiLogItem"), exports);
372
384
  __exportStar(require("./ResourceType"), exports);
@@ -383,6 +395,17 @@ __exportStar(require("./ScormSetValueRequest"), exports);
383
395
  __exportStar(require("./ScormSetValueResponse"), exports);
384
396
  __exportStar(require("./ScormTerminateResponse"), exports);
385
397
  __exportStar(require("./SupportTicketUser"), exports);
398
+ __exportStar(require("./SystemPortalActivityStats"), exports);
399
+ __exportStar(require("./SystemPortalCertificateStats"), exports);
400
+ __exportStar(require("./SystemPortalContentStats"), exports);
401
+ __exportStar(require("./SystemPortalCourseStats"), exports);
402
+ __exportStar(require("./SystemPortalEnrollmentStats"), exports);
403
+ __exportStar(require("./SystemPortalHierarchy"), exports);
404
+ __exportStar(require("./SystemPortalLicense"), exports);
405
+ __exportStar(require("./SystemPortalRoleCount"), exports);
406
+ __exportStar(require("./SystemPortalStorageUsage"), exports);
407
+ __exportStar(require("./SystemPortalSupportStats"), exports);
408
+ __exportStar(require("./SystemPortalUserStats"), exports);
386
409
  __exportStar(require("./UpdateSelectedPortalResponse"), exports);
387
410
  __exportStar(require("./UpdateSelectedPortalResponseHostPortal"), exports);
388
411
  __exportStar(require("./UpdateSelectedPortalResponseSelectedPortal"), exports);