@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,61 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const SystemPortalLicenseStateEnum = {
18
+ Active: 'active',
19
+ Suspended: 'suspended',
20
+ Expired: 'expired'
21
+ };
22
+ /**
23
+ * Check if a given object implements the SystemPortalLicense interface.
24
+ */
25
+ export function instanceOfSystemPortalLicense(value) {
26
+ if (!('state' in value) || value['state'] === undefined)
27
+ return false;
28
+ if (!('seatsUsed' in value) || value['seatsUsed'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ export function SystemPortalLicenseFromJSON(json) {
33
+ return SystemPortalLicenseFromJSONTyped(json, false);
34
+ }
35
+ export function SystemPortalLicenseFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'state': json['state'],
41
+ 'seatLimit': json['seat_limit'] == null ? undefined : json['seat_limit'],
42
+ 'seatsUsed': json['seats_used'],
43
+ 'licenseStartAt': json['license_start_at'] == null ? undefined : json['license_start_at'],
44
+ 'licenseEndAt': json['license_end_at'] == null ? undefined : json['license_end_at'],
45
+ };
46
+ }
47
+ export function SystemPortalLicenseToJSON(json) {
48
+ return SystemPortalLicenseToJSONTyped(json, false);
49
+ }
50
+ export function SystemPortalLicenseToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'state': value['state'],
56
+ 'seat_limit': value['seatLimit'],
57
+ 'seats_used': value['seatsUsed'],
58
+ 'license_start_at': value['licenseStartAt'],
59
+ 'license_end_at': value['licenseEndAt'],
60
+ };
61
+ }
@@ -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,59 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const SystemPortalRoleCountBaseTypeEnum = {
18
+ Owner: 'Owner',
19
+ Admin: 'Admin',
20
+ Instructor: 'Instructor',
21
+ Learner: 'Learner',
22
+ ClientSuperAdmin: 'ClientSuperAdmin',
23
+ ClientManager: 'ClientManager',
24
+ PortalClientAdministrator: 'PortalClientAdministrator'
25
+ };
26
+ /**
27
+ * Check if a given object implements the SystemPortalRoleCount interface.
28
+ */
29
+ export function instanceOfSystemPortalRoleCount(value) {
30
+ if (!('baseType' in value) || value['baseType'] === undefined)
31
+ return false;
32
+ if (!('userCount' in value) || value['userCount'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ export function SystemPortalRoleCountFromJSON(json) {
37
+ return SystemPortalRoleCountFromJSONTyped(json, false);
38
+ }
39
+ export function SystemPortalRoleCountFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'baseType': json['base_type'],
45
+ 'userCount': json['user_count'],
46
+ };
47
+ }
48
+ export function SystemPortalRoleCountToJSON(json) {
49
+ return SystemPortalRoleCountToJSONTyped(json, false);
50
+ }
51
+ export function SystemPortalRoleCountToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'base_type': value['baseType'],
57
+ 'user_count': value['userCount'],
58
+ };
59
+ }
@@ -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,71 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the SystemPortalStorageUsage interface.
16
+ */
17
+ export function instanceOfSystemPortalStorageUsage(value) {
18
+ if (!('totalBytes' in value) || value['totalBytes'] === undefined)
19
+ return false;
20
+ if (!('contentLibraryBytes' in value) || value['contentLibraryBytes'] === undefined)
21
+ return false;
22
+ if (!('richTextAssetBytes' in value) || value['richTextAssetBytes'] === undefined)
23
+ return false;
24
+ if (!('emailAssetBytes' in value) || value['emailAssetBytes'] === undefined)
25
+ return false;
26
+ if (!('certificateAssetBytes' in value) || value['certificateAssetBytes'] === undefined)
27
+ return false;
28
+ if (!('certificateArtifactBytes' in value) || value['certificateArtifactBytes'] === undefined)
29
+ return false;
30
+ if (!('supportAttachmentBytes' in value) || value['supportAttachmentBytes'] === undefined)
31
+ return false;
32
+ if (!('courseExportBytes' in value) || value['courseExportBytes'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ export function SystemPortalStorageUsageFromJSON(json) {
37
+ return SystemPortalStorageUsageFromJSONTyped(json, false);
38
+ }
39
+ export function SystemPortalStorageUsageFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'totalBytes': json['total_bytes'],
45
+ 'contentLibraryBytes': json['content_library_bytes'],
46
+ 'richTextAssetBytes': json['rich_text_asset_bytes'],
47
+ 'emailAssetBytes': json['email_asset_bytes'],
48
+ 'certificateAssetBytes': json['certificate_asset_bytes'],
49
+ 'certificateArtifactBytes': json['certificate_artifact_bytes'],
50
+ 'supportAttachmentBytes': json['support_attachment_bytes'],
51
+ 'courseExportBytes': json['course_export_bytes'],
52
+ };
53
+ }
54
+ export function SystemPortalStorageUsageToJSON(json) {
55
+ return SystemPortalStorageUsageToJSONTyped(json, false);
56
+ }
57
+ export function SystemPortalStorageUsageToJSONTyped(value, ignoreDiscriminator = false) {
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'total_bytes': value['totalBytes'],
63
+ 'content_library_bytes': value['contentLibraryBytes'],
64
+ 'rich_text_asset_bytes': value['richTextAssetBytes'],
65
+ 'email_asset_bytes': value['emailAssetBytes'],
66
+ 'certificate_asset_bytes': value['certificateAssetBytes'],
67
+ 'certificate_artifact_bytes': value['certificateArtifactBytes'],
68
+ 'support_attachment_bytes': value['supportAttachmentBytes'],
69
+ 'course_export_bytes': value['courseExportBytes'],
70
+ };
71
+ }
@@ -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,55 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the SystemPortalSupportStats interface.
16
+ */
17
+ export function instanceOfSystemPortalSupportStats(value) {
18
+ if (!('open' in value) || value['open'] === undefined)
19
+ return false;
20
+ if (!('inProgress' in value) || value['inProgress'] === undefined)
21
+ return false;
22
+ if (!('closed' in value) || value['closed'] === undefined)
23
+ return false;
24
+ if (!('total' in value) || value['total'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ export function SystemPortalSupportStatsFromJSON(json) {
29
+ return SystemPortalSupportStatsFromJSONTyped(json, false);
30
+ }
31
+ export function SystemPortalSupportStatsFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'open': json['open'],
37
+ 'inProgress': json['in_progress'],
38
+ 'closed': json['closed'],
39
+ 'total': json['total'],
40
+ };
41
+ }
42
+ export function SystemPortalSupportStatsToJSON(json) {
43
+ return SystemPortalSupportStatsToJSONTyped(json, false);
44
+ }
45
+ export function SystemPortalSupportStatsToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'open': value['open'],
51
+ 'in_progress': value['inProgress'],
52
+ 'closed': value['closed'],
53
+ 'total': value['total'],
54
+ };
55
+ }
@@ -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,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { SystemPortalRoleCountFromJSON, SystemPortalRoleCountToJSON, } from './SystemPortalRoleCount';
15
+ /**
16
+ * Check if a given object implements the SystemPortalUserStats interface.
17
+ */
18
+ export function instanceOfSystemPortalUserStats(value) {
19
+ if (!('total' in value) || value['total'] === undefined)
20
+ return false;
21
+ if (!('enabled' in value) || value['enabled'] === undefined)
22
+ return false;
23
+ if (!('disabled' in value) || value['disabled'] === undefined)
24
+ return false;
25
+ if (!('newLast30Days' in value) || value['newLast30Days'] === undefined)
26
+ return false;
27
+ if (!('activeLast7Days' in value) || value['activeLast7Days'] === undefined)
28
+ return false;
29
+ if (!('activeLast30Days' in value) || value['activeLast30Days'] === undefined)
30
+ return false;
31
+ if (!('pendingInvitations' in value) || value['pendingInvitations'] === undefined)
32
+ return false;
33
+ if (!('byRole' in value) || value['byRole'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ export function SystemPortalUserStatsFromJSON(json) {
38
+ return SystemPortalUserStatsFromJSONTyped(json, false);
39
+ }
40
+ export function SystemPortalUserStatsFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'total': json['total'],
46
+ 'enabled': json['enabled'],
47
+ 'disabled': json['disabled'],
48
+ 'newLast30Days': json['new_last_30_days'],
49
+ 'activeLast7Days': json['active_last_7_days'],
50
+ 'activeLast30Days': json['active_last_30_days'],
51
+ 'pendingInvitations': json['pending_invitations'],
52
+ 'lastLoginAt': json['last_login_at'] == null ? undefined : json['last_login_at'],
53
+ 'byRole': (json['by_role'].map(SystemPortalRoleCountFromJSON)),
54
+ };
55
+ }
56
+ export function SystemPortalUserStatsToJSON(json) {
57
+ return SystemPortalUserStatsToJSONTyped(json, false);
58
+ }
59
+ export function SystemPortalUserStatsToJSONTyped(value, ignoreDiscriminator = false) {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'total': value['total'],
65
+ 'enabled': value['enabled'],
66
+ 'disabled': value['disabled'],
67
+ 'new_last_30_days': value['newLast30Days'],
68
+ 'active_last_7_days': value['activeLast7Days'],
69
+ 'active_last_30_days': value['activeLast30Days'],
70
+ 'pending_invitations': value['pendingInvitations'],
71
+ 'last_login_at': value['lastLoginAt'],
72
+ 'by_role': (value['byRole'].map(SystemPortalRoleCountToJSON)),
73
+ };
74
+ }
@@ -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';