@easyedu/js-lsm-api 1.131.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 (86) hide show
  1. package/.openapi-generator/FILES +24 -0
  2. package/README.md +15 -2
  3. package/dist/apis/SystemApi.d.ts +16 -0
  4. package/dist/apis/SystemApi.js +40 -0
  5. package/dist/esm/apis/SystemApi.d.ts +16 -0
  6. package/dist/esm/apis/SystemApi.js +40 -0
  7. package/dist/esm/models/GetSystemPortalOverview.d.ts +121 -0
  8. package/dist/esm/models/GetSystemPortalOverview.js +106 -0
  9. package/dist/esm/models/SystemPortalActivityStats.d.ts +56 -0
  10. package/dist/esm/models/SystemPortalActivityStats.js +57 -0
  11. package/dist/esm/models/SystemPortalCertificateStats.d.ts +50 -0
  12. package/dist/esm/models/SystemPortalCertificateStats.js +55 -0
  13. package/dist/esm/models/SystemPortalContentStats.d.ts +56 -0
  14. package/dist/esm/models/SystemPortalContentStats.js +59 -0
  15. package/dist/esm/models/SystemPortalCourseStats.d.ts +62 -0
  16. package/dist/esm/models/SystemPortalCourseStats.js +63 -0
  17. package/dist/esm/models/SystemPortalEnrollmentStats.d.ts +56 -0
  18. package/dist/esm/models/SystemPortalEnrollmentStats.js +59 -0
  19. package/dist/esm/models/SystemPortalHierarchy.d.ts +44 -0
  20. package/dist/esm/models/SystemPortalHierarchy.js +47 -0
  21. package/dist/esm/models/SystemPortalLicense.d.ts +65 -0
  22. package/dist/esm/models/SystemPortalLicense.js +61 -0
  23. package/dist/esm/models/SystemPortalRoleCount.d.ts +51 -0
  24. package/dist/esm/models/SystemPortalRoleCount.js +59 -0
  25. package/dist/esm/models/SystemPortalStorageUsage.d.ts +74 -0
  26. package/dist/esm/models/SystemPortalStorageUsage.js +71 -0
  27. package/dist/esm/models/SystemPortalSupportStats.d.ts +50 -0
  28. package/dist/esm/models/SystemPortalSupportStats.js +55 -0
  29. package/dist/esm/models/SystemPortalUserStats.d.ts +81 -0
  30. package/dist/esm/models/SystemPortalUserStats.js +74 -0
  31. package/dist/esm/models/index.d.ts +12 -0
  32. package/dist/esm/models/index.js +12 -0
  33. package/dist/models/GetSystemPortalOverview.d.ts +121 -0
  34. package/dist/models/GetSystemPortalOverview.js +113 -0
  35. package/dist/models/SystemPortalActivityStats.d.ts +56 -0
  36. package/dist/models/SystemPortalActivityStats.js +64 -0
  37. package/dist/models/SystemPortalCertificateStats.d.ts +50 -0
  38. package/dist/models/SystemPortalCertificateStats.js +62 -0
  39. package/dist/models/SystemPortalContentStats.d.ts +56 -0
  40. package/dist/models/SystemPortalContentStats.js +66 -0
  41. package/dist/models/SystemPortalCourseStats.d.ts +62 -0
  42. package/dist/models/SystemPortalCourseStats.js +70 -0
  43. package/dist/models/SystemPortalEnrollmentStats.d.ts +56 -0
  44. package/dist/models/SystemPortalEnrollmentStats.js +66 -0
  45. package/dist/models/SystemPortalHierarchy.d.ts +44 -0
  46. package/dist/models/SystemPortalHierarchy.js +54 -0
  47. package/dist/models/SystemPortalLicense.d.ts +65 -0
  48. package/dist/models/SystemPortalLicense.js +69 -0
  49. package/dist/models/SystemPortalRoleCount.d.ts +51 -0
  50. package/dist/models/SystemPortalRoleCount.js +67 -0
  51. package/dist/models/SystemPortalStorageUsage.d.ts +74 -0
  52. package/dist/models/SystemPortalStorageUsage.js +78 -0
  53. package/dist/models/SystemPortalSupportStats.d.ts +50 -0
  54. package/dist/models/SystemPortalSupportStats.js +62 -0
  55. package/dist/models/SystemPortalUserStats.d.ts +81 -0
  56. package/dist/models/SystemPortalUserStats.js +81 -0
  57. package/dist/models/index.d.ts +12 -0
  58. package/dist/models/index.js +12 -0
  59. package/docs/GetSystemPortalOverview.md +61 -0
  60. package/docs/SystemApi.md +68 -0
  61. package/docs/SystemPortalActivityStats.md +42 -0
  62. package/docs/SystemPortalCertificateStats.md +40 -0
  63. package/docs/SystemPortalContentStats.md +43 -0
  64. package/docs/SystemPortalCourseStats.md +44 -0
  65. package/docs/SystemPortalEnrollmentStats.md +43 -0
  66. package/docs/SystemPortalHierarchy.md +38 -0
  67. package/docs/SystemPortalLicense.md +42 -0
  68. package/docs/SystemPortalRoleCount.md +36 -0
  69. package/docs/SystemPortalStorageUsage.md +49 -0
  70. package/docs/SystemPortalSupportStats.md +40 -0
  71. package/docs/SystemPortalUserStats.md +50 -0
  72. package/package.json +1 -1
  73. package/src/apis/SystemApi.ts +54 -0
  74. package/src/models/GetSystemPortalOverview.ts +261 -0
  75. package/src/models/SystemPortalActivityStats.ts +101 -0
  76. package/src/models/SystemPortalCertificateStats.ts +93 -0
  77. package/src/models/SystemPortalContentStats.ts +102 -0
  78. package/src/models/SystemPortalCourseStats.ts +111 -0
  79. package/src/models/SystemPortalEnrollmentStats.ts +102 -0
  80. package/src/models/SystemPortalHierarchy.ts +82 -0
  81. package/src/models/SystemPortalLicense.ts +111 -0
  82. package/src/models/SystemPortalRoleCount.ts +91 -0
  83. package/src/models/SystemPortalStorageUsage.ts +129 -0
  84. package/src/models/SystemPortalSupportStats.ts +93 -0
  85. package/src/models/SystemPortalUserStats.ts +145 -0
  86. package/src/models/index.ts +12 -0
@@ -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
+ }
@@ -165,6 +165,7 @@ export * from './GetSupportTicketList';
165
165
  export * from './GetSystemBillingItem';
166
166
  export * from './GetSystemBillingList';
167
167
  export * from './GetSystemMetrics';
168
+ export * from './GetSystemPortalOverview';
168
169
  export * from './GetUser';
169
170
  export * from './GetUserAvatarUpload';
170
171
  export * from './GetUserCourseList';
@@ -376,6 +377,17 @@ export * from './ScormSetValueRequest';
376
377
  export * from './ScormSetValueResponse';
377
378
  export * from './ScormTerminateResponse';
378
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';
379
391
  export * from './UpdateSelectedPortalResponse';
380
392
  export * from './UpdateSelectedPortalResponseHostPortal';
381
393
  export * from './UpdateSelectedPortalResponseSelectedPortal';
@@ -167,6 +167,7 @@ export * from './GetSupportTicketList';
167
167
  export * from './GetSystemBillingItem';
168
168
  export * from './GetSystemBillingList';
169
169
  export * from './GetSystemMetrics';
170
+ export * from './GetSystemPortalOverview';
170
171
  export * from './GetUser';
171
172
  export * from './GetUserAvatarUpload';
172
173
  export * from './GetUserCourseList';
@@ -378,6 +379,17 @@ export * from './ScormSetValueRequest';
378
379
  export * from './ScormSetValueResponse';
379
380
  export * from './ScormTerminateResponse';
380
381
  export * from './SupportTicketUser';
382
+ export * from './SystemPortalActivityStats';
383
+ export * from './SystemPortalCertificateStats';
384
+ export * from './SystemPortalContentStats';
385
+ export * from './SystemPortalCourseStats';
386
+ export * from './SystemPortalEnrollmentStats';
387
+ export * from './SystemPortalHierarchy';
388
+ export * from './SystemPortalLicense';
389
+ export * from './SystemPortalRoleCount';
390
+ export * from './SystemPortalStorageUsage';
391
+ export * from './SystemPortalSupportStats';
392
+ export * from './SystemPortalUserStats';
381
393
  export * from './UpdateSelectedPortalResponse';
382
394
  export * from './UpdateSelectedPortalResponseHostPortal';
383
395
  export * from './UpdateSelectedPortalResponseSelectedPortal';
@@ -0,0 +1,121 @@
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 { SystemPortalCourseStats } from './SystemPortalCourseStats';
13
+ import type { SystemPortalLicense } from './SystemPortalLicense';
14
+ import type { SystemPortalCertificateStats } from './SystemPortalCertificateStats';
15
+ import type { SystemPortalStorageUsage } from './SystemPortalStorageUsage';
16
+ import type { SystemPortalSupportStats } from './SystemPortalSupportStats';
17
+ import type { GetPortal } from './GetPortal';
18
+ import type { SystemPortalEnrollmentStats } from './SystemPortalEnrollmentStats';
19
+ import type { SystemPortalActivityStats } from './SystemPortalActivityStats';
20
+ import type { SystemPortalContentStats } from './SystemPortalContentStats';
21
+ import type { SystemPortalHierarchy } from './SystemPortalHierarchy';
22
+ import type { SystemPortalUserStats } from './SystemPortalUserStats';
23
+ /**
24
+ * Detailed read-only overview of a single portal for platform administrators. All counts are scoped to the portal itself and exclude child portals. Timestamps are Unix epoch seconds (UTC).
25
+ * @export
26
+ * @interface GetSystemPortalOverview
27
+ */
28
+ export interface GetSystemPortalOverview {
29
+ /**
30
+ *
31
+ * @type {GetPortal}
32
+ * @memberof GetSystemPortalOverview
33
+ */
34
+ portal: GetPortal;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof GetSystemPortalOverview
39
+ */
40
+ createdAt: number;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof GetSystemPortalOverview
45
+ */
46
+ updatedAt: number;
47
+ /**
48
+ * When these statistics were computed.
49
+ * @type {number}
50
+ * @memberof GetSystemPortalOverview
51
+ */
52
+ generatedAt: number;
53
+ /**
54
+ *
55
+ * @type {SystemPortalHierarchy}
56
+ * @memberof GetSystemPortalOverview
57
+ */
58
+ hierarchy: SystemPortalHierarchy;
59
+ /**
60
+ *
61
+ * @type {SystemPortalLicense}
62
+ * @memberof GetSystemPortalOverview
63
+ */
64
+ license: SystemPortalLicense;
65
+ /**
66
+ *
67
+ * @type {SystemPortalUserStats}
68
+ * @memberof GetSystemPortalOverview
69
+ */
70
+ users: SystemPortalUserStats;
71
+ /**
72
+ *
73
+ * @type {SystemPortalCourseStats}
74
+ * @memberof GetSystemPortalOverview
75
+ */
76
+ courses: SystemPortalCourseStats;
77
+ /**
78
+ *
79
+ * @type {SystemPortalEnrollmentStats}
80
+ * @memberof GetSystemPortalOverview
81
+ */
82
+ enrollments: SystemPortalEnrollmentStats;
83
+ /**
84
+ *
85
+ * @type {SystemPortalContentStats}
86
+ * @memberof GetSystemPortalOverview
87
+ */
88
+ content: SystemPortalContentStats;
89
+ /**
90
+ *
91
+ * @type {SystemPortalCertificateStats}
92
+ * @memberof GetSystemPortalOverview
93
+ */
94
+ certificates: SystemPortalCertificateStats;
95
+ /**
96
+ *
97
+ * @type {SystemPortalStorageUsage}
98
+ * @memberof GetSystemPortalOverview
99
+ */
100
+ storage: SystemPortalStorageUsage;
101
+ /**
102
+ *
103
+ * @type {SystemPortalActivityStats}
104
+ * @memberof GetSystemPortalOverview
105
+ */
106
+ activity: SystemPortalActivityStats;
107
+ /**
108
+ *
109
+ * @type {SystemPortalSupportStats}
110
+ * @memberof GetSystemPortalOverview
111
+ */
112
+ support: SystemPortalSupportStats;
113
+ }
114
+ /**
115
+ * Check if a given object implements the GetSystemPortalOverview interface.
116
+ */
117
+ export declare function instanceOfGetSystemPortalOverview(value: object): value is GetSystemPortalOverview;
118
+ export declare function GetSystemPortalOverviewFromJSON(json: any): GetSystemPortalOverview;
119
+ export declare function GetSystemPortalOverviewFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSystemPortalOverview;
120
+ export declare function GetSystemPortalOverviewToJSON(json: any): GetSystemPortalOverview;
121
+ export declare function GetSystemPortalOverviewToJSONTyped(value?: GetSystemPortalOverview | null, ignoreDiscriminator?: boolean): any;