@easyedu/js-lsm-api 1.131.0 → 1.133.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 (122) hide show
  1. package/.openapi-generator/FILES +28 -0
  2. package/README.md +18 -2
  3. package/dist/apis/PortalApi.d.ts +9 -0
  4. package/dist/apis/PortalApi.js +11 -1
  5. package/dist/apis/QuestionApi.d.ts +19 -0
  6. package/dist/apis/QuestionApi.js +44 -0
  7. package/dist/apis/SystemApi.d.ts +16 -0
  8. package/dist/apis/SystemApi.js +40 -0
  9. package/dist/esm/apis/PortalApi.d.ts +9 -0
  10. package/dist/esm/apis/PortalApi.js +10 -0
  11. package/dist/esm/apis/QuestionApi.d.ts +19 -0
  12. package/dist/esm/apis/QuestionApi.js +44 -0
  13. package/dist/esm/apis/SystemApi.d.ts +16 -0
  14. package/dist/esm/apis/SystemApi.js +40 -0
  15. package/dist/esm/models/GetCourseEnrollmentListItem.d.ts +6 -0
  16. package/dist/esm/models/GetCourseEnrollmentListItem.js +2 -0
  17. package/dist/esm/models/GetResourceUsageCoursesInner.d.ts +6 -0
  18. package/dist/esm/models/GetResourceUsageCoursesInner.js +4 -0
  19. package/dist/esm/models/GetSystemPortalOverview.d.ts +121 -0
  20. package/dist/esm/models/GetSystemPortalOverview.js +106 -0
  21. package/dist/esm/models/PostQuestionTags.d.ts +38 -0
  22. package/dist/esm/models/PostQuestionTags.js +47 -0
  23. package/dist/esm/models/PostQuestionTagsResponse.d.ts +32 -0
  24. package/dist/esm/models/PostQuestionTagsResponse.js +43 -0
  25. package/dist/esm/models/SystemPortalActivityStats.d.ts +56 -0
  26. package/dist/esm/models/SystemPortalActivityStats.js +57 -0
  27. package/dist/esm/models/SystemPortalCertificateStats.d.ts +50 -0
  28. package/dist/esm/models/SystemPortalCertificateStats.js +55 -0
  29. package/dist/esm/models/SystemPortalContentStats.d.ts +56 -0
  30. package/dist/esm/models/SystemPortalContentStats.js +59 -0
  31. package/dist/esm/models/SystemPortalCourseStats.d.ts +62 -0
  32. package/dist/esm/models/SystemPortalCourseStats.js +63 -0
  33. package/dist/esm/models/SystemPortalEnrollmentStats.d.ts +56 -0
  34. package/dist/esm/models/SystemPortalEnrollmentStats.js +59 -0
  35. package/dist/esm/models/SystemPortalHierarchy.d.ts +44 -0
  36. package/dist/esm/models/SystemPortalHierarchy.js +47 -0
  37. package/dist/esm/models/SystemPortalLicense.d.ts +65 -0
  38. package/dist/esm/models/SystemPortalLicense.js +61 -0
  39. package/dist/esm/models/SystemPortalRoleCount.d.ts +51 -0
  40. package/dist/esm/models/SystemPortalRoleCount.js +59 -0
  41. package/dist/esm/models/SystemPortalStorageUsage.d.ts +74 -0
  42. package/dist/esm/models/SystemPortalStorageUsage.js +71 -0
  43. package/dist/esm/models/SystemPortalSupportStats.d.ts +50 -0
  44. package/dist/esm/models/SystemPortalSupportStats.js +55 -0
  45. package/dist/esm/models/SystemPortalUserStats.d.ts +81 -0
  46. package/dist/esm/models/SystemPortalUserStats.js +74 -0
  47. package/dist/esm/models/index.d.ts +14 -0
  48. package/dist/esm/models/index.js +14 -0
  49. package/dist/models/GetCourseEnrollmentListItem.d.ts +6 -0
  50. package/dist/models/GetCourseEnrollmentListItem.js +2 -0
  51. package/dist/models/GetResourceUsageCoursesInner.d.ts +6 -0
  52. package/dist/models/GetResourceUsageCoursesInner.js +4 -0
  53. package/dist/models/GetSystemPortalOverview.d.ts +121 -0
  54. package/dist/models/GetSystemPortalOverview.js +113 -0
  55. package/dist/models/PostQuestionTags.d.ts +38 -0
  56. package/dist/models/PostQuestionTags.js +54 -0
  57. package/dist/models/PostQuestionTagsResponse.d.ts +32 -0
  58. package/dist/models/PostQuestionTagsResponse.js +50 -0
  59. package/dist/models/SystemPortalActivityStats.d.ts +56 -0
  60. package/dist/models/SystemPortalActivityStats.js +64 -0
  61. package/dist/models/SystemPortalCertificateStats.d.ts +50 -0
  62. package/dist/models/SystemPortalCertificateStats.js +62 -0
  63. package/dist/models/SystemPortalContentStats.d.ts +56 -0
  64. package/dist/models/SystemPortalContentStats.js +66 -0
  65. package/dist/models/SystemPortalCourseStats.d.ts +62 -0
  66. package/dist/models/SystemPortalCourseStats.js +70 -0
  67. package/dist/models/SystemPortalEnrollmentStats.d.ts +56 -0
  68. package/dist/models/SystemPortalEnrollmentStats.js +66 -0
  69. package/dist/models/SystemPortalHierarchy.d.ts +44 -0
  70. package/dist/models/SystemPortalHierarchy.js +54 -0
  71. package/dist/models/SystemPortalLicense.d.ts +65 -0
  72. package/dist/models/SystemPortalLicense.js +69 -0
  73. package/dist/models/SystemPortalRoleCount.d.ts +51 -0
  74. package/dist/models/SystemPortalRoleCount.js +67 -0
  75. package/dist/models/SystemPortalStorageUsage.d.ts +74 -0
  76. package/dist/models/SystemPortalStorageUsage.js +78 -0
  77. package/dist/models/SystemPortalSupportStats.d.ts +50 -0
  78. package/dist/models/SystemPortalSupportStats.js +62 -0
  79. package/dist/models/SystemPortalUserStats.d.ts +81 -0
  80. package/dist/models/SystemPortalUserStats.js +81 -0
  81. package/dist/models/index.d.ts +14 -0
  82. package/dist/models/index.js +14 -0
  83. package/docs/GetCourseEnrollmentListItem.md +2 -0
  84. package/docs/GetResourceUsageCoursesInner.md +2 -0
  85. package/docs/GetSystemPortalOverview.md +61 -0
  86. package/docs/PortalApi.md +4 -1
  87. package/docs/PostQuestionTags.md +37 -0
  88. package/docs/PostQuestionTagsResponse.md +34 -0
  89. package/docs/QuestionApi.md +71 -0
  90. package/docs/SystemApi.md +68 -0
  91. package/docs/SystemPortalActivityStats.md +42 -0
  92. package/docs/SystemPortalCertificateStats.md +40 -0
  93. package/docs/SystemPortalContentStats.md +43 -0
  94. package/docs/SystemPortalCourseStats.md +44 -0
  95. package/docs/SystemPortalEnrollmentStats.md +43 -0
  96. package/docs/SystemPortalHierarchy.md +38 -0
  97. package/docs/SystemPortalLicense.md +42 -0
  98. package/docs/SystemPortalRoleCount.md +36 -0
  99. package/docs/SystemPortalStorageUsage.md +49 -0
  100. package/docs/SystemPortalSupportStats.md +40 -0
  101. package/docs/SystemPortalUserStats.md +50 -0
  102. package/package.json +1 -1
  103. package/src/apis/PortalApi.ts +13 -0
  104. package/src/apis/QuestionApi.ts +63 -0
  105. package/src/apis/SystemApi.ts +54 -0
  106. package/src/models/GetCourseEnrollmentListItem.ts +8 -0
  107. package/src/models/GetResourceUsageCoursesInner.ts +9 -0
  108. package/src/models/GetSystemPortalOverview.ts +261 -0
  109. package/src/models/PostQuestionTags.ts +75 -0
  110. package/src/models/PostQuestionTagsResponse.ts +66 -0
  111. package/src/models/SystemPortalActivityStats.ts +101 -0
  112. package/src/models/SystemPortalCertificateStats.ts +93 -0
  113. package/src/models/SystemPortalContentStats.ts +102 -0
  114. package/src/models/SystemPortalCourseStats.ts +111 -0
  115. package/src/models/SystemPortalEnrollmentStats.ts +102 -0
  116. package/src/models/SystemPortalHierarchy.ts +82 -0
  117. package/src/models/SystemPortalLicense.ts +111 -0
  118. package/src/models/SystemPortalRoleCount.ts +91 -0
  119. package/src/models/SystemPortalStorageUsage.ts +129 -0
  120. package/src/models/SystemPortalSupportStats.ts +93 -0
  121. package/src/models/SystemPortalUserStats.ts +145 -0
  122. package/src/models/index.ts +14 -0
@@ -0,0 +1,91 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SystemPortalRoleCount
20
+ */
21
+ export interface SystemPortalRoleCount {
22
+ /**
23
+ *
24
+ * @type {SystemPortalRoleCountBaseTypeEnum}
25
+ * @memberof SystemPortalRoleCount
26
+ */
27
+ baseType: SystemPortalRoleCountBaseTypeEnum;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof SystemPortalRoleCount
32
+ */
33
+ userCount: number;
34
+ }
35
+
36
+
37
+ /**
38
+ * @export
39
+ */
40
+ export const SystemPortalRoleCountBaseTypeEnum = {
41
+ Owner: 'Owner',
42
+ Admin: 'Admin',
43
+ Instructor: 'Instructor',
44
+ Learner: 'Learner',
45
+ ClientSuperAdmin: 'ClientSuperAdmin',
46
+ ClientManager: 'ClientManager',
47
+ PortalClientAdministrator: 'PortalClientAdministrator'
48
+ } as const;
49
+ export type SystemPortalRoleCountBaseTypeEnum = typeof SystemPortalRoleCountBaseTypeEnum[keyof typeof SystemPortalRoleCountBaseTypeEnum];
50
+
51
+
52
+ /**
53
+ * Check if a given object implements the SystemPortalRoleCount interface.
54
+ */
55
+ export function instanceOfSystemPortalRoleCount(value: object): value is SystemPortalRoleCount {
56
+ if (!('baseType' in value) || value['baseType'] === undefined) return false;
57
+ if (!('userCount' in value) || value['userCount'] === undefined) return false;
58
+ return true;
59
+ }
60
+
61
+ export function SystemPortalRoleCountFromJSON(json: any): SystemPortalRoleCount {
62
+ return SystemPortalRoleCountFromJSONTyped(json, false);
63
+ }
64
+
65
+ export function SystemPortalRoleCountFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalRoleCount {
66
+ if (json == null) {
67
+ return json;
68
+ }
69
+ return {
70
+
71
+ 'baseType': json['base_type'],
72
+ 'userCount': json['user_count'],
73
+ };
74
+ }
75
+
76
+ export function SystemPortalRoleCountToJSON(json: any): SystemPortalRoleCount {
77
+ return SystemPortalRoleCountToJSONTyped(json, false);
78
+ }
79
+
80
+ export function SystemPortalRoleCountToJSONTyped(value?: SystemPortalRoleCount | null, ignoreDiscriminator: boolean = false): any {
81
+ if (value == null) {
82
+ return value;
83
+ }
84
+
85
+ return {
86
+
87
+ 'base_type': value['baseType'],
88
+ 'user_count': value['userCount'],
89
+ };
90
+ }
91
+
@@ -0,0 +1,129 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ * Stored object sizes attributed to the portal, in bytes, as recorded in the database at upload time. Pending and deleted uploads are excluded.
18
+ * @export
19
+ * @interface SystemPortalStorageUsage
20
+ */
21
+ export interface SystemPortalStorageUsage {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof SystemPortalStorageUsage
26
+ */
27
+ totalBytes: number;
28
+ /**
29
+ * Uploaded Content Library resource files across all versions.
30
+ * @type {number}
31
+ * @memberof SystemPortalStorageUsage
32
+ */
33
+ contentLibraryBytes: number;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof SystemPortalStorageUsage
38
+ */
39
+ richTextAssetBytes: number;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof SystemPortalStorageUsage
44
+ */
45
+ emailAssetBytes: number;
46
+ /**
47
+ *
48
+ * @type {number}
49
+ * @memberof SystemPortalStorageUsage
50
+ */
51
+ certificateAssetBytes: number;
52
+ /**
53
+ * Generated certificate PDFs.
54
+ * @type {number}
55
+ * @memberof SystemPortalStorageUsage
56
+ */
57
+ certificateArtifactBytes: number;
58
+ /**
59
+ *
60
+ * @type {number}
61
+ * @memberof SystemPortalStorageUsage
62
+ */
63
+ supportAttachmentBytes: number;
64
+ /**
65
+ *
66
+ * @type {number}
67
+ * @memberof SystemPortalStorageUsage
68
+ */
69
+ courseExportBytes: number;
70
+ }
71
+
72
+ /**
73
+ * Check if a given object implements the SystemPortalStorageUsage interface.
74
+ */
75
+ export function instanceOfSystemPortalStorageUsage(value: object): value is SystemPortalStorageUsage {
76
+ if (!('totalBytes' in value) || value['totalBytes'] === undefined) return false;
77
+ if (!('contentLibraryBytes' in value) || value['contentLibraryBytes'] === undefined) return false;
78
+ if (!('richTextAssetBytes' in value) || value['richTextAssetBytes'] === undefined) return false;
79
+ if (!('emailAssetBytes' in value) || value['emailAssetBytes'] === undefined) return false;
80
+ if (!('certificateAssetBytes' in value) || value['certificateAssetBytes'] === undefined) return false;
81
+ if (!('certificateArtifactBytes' in value) || value['certificateArtifactBytes'] === undefined) return false;
82
+ if (!('supportAttachmentBytes' in value) || value['supportAttachmentBytes'] === undefined) return false;
83
+ if (!('courseExportBytes' in value) || value['courseExportBytes'] === undefined) return false;
84
+ return true;
85
+ }
86
+
87
+ export function SystemPortalStorageUsageFromJSON(json: any): SystemPortalStorageUsage {
88
+ return SystemPortalStorageUsageFromJSONTyped(json, false);
89
+ }
90
+
91
+ export function SystemPortalStorageUsageFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalStorageUsage {
92
+ if (json == null) {
93
+ return json;
94
+ }
95
+ return {
96
+
97
+ 'totalBytes': json['total_bytes'],
98
+ 'contentLibraryBytes': json['content_library_bytes'],
99
+ 'richTextAssetBytes': json['rich_text_asset_bytes'],
100
+ 'emailAssetBytes': json['email_asset_bytes'],
101
+ 'certificateAssetBytes': json['certificate_asset_bytes'],
102
+ 'certificateArtifactBytes': json['certificate_artifact_bytes'],
103
+ 'supportAttachmentBytes': json['support_attachment_bytes'],
104
+ 'courseExportBytes': json['course_export_bytes'],
105
+ };
106
+ }
107
+
108
+ export function SystemPortalStorageUsageToJSON(json: any): SystemPortalStorageUsage {
109
+ return SystemPortalStorageUsageToJSONTyped(json, false);
110
+ }
111
+
112
+ export function SystemPortalStorageUsageToJSONTyped(value?: SystemPortalStorageUsage | null, ignoreDiscriminator: boolean = false): any {
113
+ if (value == null) {
114
+ return value;
115
+ }
116
+
117
+ return {
118
+
119
+ 'total_bytes': value['totalBytes'],
120
+ 'content_library_bytes': value['contentLibraryBytes'],
121
+ 'rich_text_asset_bytes': value['richTextAssetBytes'],
122
+ 'email_asset_bytes': value['emailAssetBytes'],
123
+ 'certificate_asset_bytes': value['certificateAssetBytes'],
124
+ 'certificate_artifact_bytes': value['certificateArtifactBytes'],
125
+ 'support_attachment_bytes': value['supportAttachmentBytes'],
126
+ 'course_export_bytes': value['courseExportBytes'],
127
+ };
128
+ }
129
+
@@ -0,0 +1,93 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SystemPortalSupportStats
20
+ */
21
+ export interface SystemPortalSupportStats {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof SystemPortalSupportStats
26
+ */
27
+ open: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof SystemPortalSupportStats
32
+ */
33
+ inProgress: number;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof SystemPortalSupportStats
38
+ */
39
+ closed: number;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof SystemPortalSupportStats
44
+ */
45
+ total: number;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the SystemPortalSupportStats interface.
50
+ */
51
+ export function instanceOfSystemPortalSupportStats(value: object): value is SystemPortalSupportStats {
52
+ if (!('open' in value) || value['open'] === undefined) return false;
53
+ if (!('inProgress' in value) || value['inProgress'] === undefined) return false;
54
+ if (!('closed' in value) || value['closed'] === undefined) return false;
55
+ if (!('total' in value) || value['total'] === undefined) return false;
56
+ return true;
57
+ }
58
+
59
+ export function SystemPortalSupportStatsFromJSON(json: any): SystemPortalSupportStats {
60
+ return SystemPortalSupportStatsFromJSONTyped(json, false);
61
+ }
62
+
63
+ export function SystemPortalSupportStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalSupportStats {
64
+ if (json == null) {
65
+ return json;
66
+ }
67
+ return {
68
+
69
+ 'open': json['open'],
70
+ 'inProgress': json['in_progress'],
71
+ 'closed': json['closed'],
72
+ 'total': json['total'],
73
+ };
74
+ }
75
+
76
+ export function SystemPortalSupportStatsToJSON(json: any): SystemPortalSupportStats {
77
+ return SystemPortalSupportStatsToJSONTyped(json, false);
78
+ }
79
+
80
+ export function SystemPortalSupportStatsToJSONTyped(value?: SystemPortalSupportStats | null, ignoreDiscriminator: boolean = false): any {
81
+ if (value == null) {
82
+ return value;
83
+ }
84
+
85
+ return {
86
+
87
+ 'open': value['open'],
88
+ 'in_progress': value['inProgress'],
89
+ 'closed': value['closed'],
90
+ 'total': value['total'],
91
+ };
92
+ }
93
+
@@ -0,0 +1,145 @@
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
+ import { mapValues } from '../runtime';
16
+ import type { SystemPortalRoleCount } from './SystemPortalRoleCount';
17
+ import {
18
+ SystemPortalRoleCountFromJSON,
19
+ SystemPortalRoleCountFromJSONTyped,
20
+ SystemPortalRoleCountToJSON,
21
+ SystemPortalRoleCountToJSONTyped,
22
+ } from './SystemPortalRoleCount';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface SystemPortalUserStats
28
+ */
29
+ export interface SystemPortalUserStats {
30
+ /**
31
+ * Distinct users holding at least one active role in the portal.
32
+ * @type {number}
33
+ * @memberof SystemPortalUserStats
34
+ */
35
+ total: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof SystemPortalUserStats
40
+ */
41
+ enabled: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof SystemPortalUserStats
46
+ */
47
+ disabled: number;
48
+ /**
49
+ * Users whose earliest active role in the portal was assigned in the last 30 days.
50
+ * @type {number}
51
+ * @memberof SystemPortalUserStats
52
+ */
53
+ newLast30Days: number;
54
+ /**
55
+ * Distinct users who logged in to the portal in the last 7 days.
56
+ * @type {number}
57
+ * @memberof SystemPortalUserStats
58
+ */
59
+ activeLast7Days: number;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof SystemPortalUserStats
64
+ */
65
+ activeLast30Days: number;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof SystemPortalUserStats
70
+ */
71
+ pendingInvitations: number;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof SystemPortalUserStats
76
+ */
77
+ lastLoginAt?: number | null;
78
+ /**
79
+ * Distinct users per role base type. A user with several roles is counted once per base type.
80
+ * @type {Array<SystemPortalRoleCount>}
81
+ * @memberof SystemPortalUserStats
82
+ */
83
+ byRole: Array<SystemPortalRoleCount>;
84
+ }
85
+
86
+ /**
87
+ * Check if a given object implements the SystemPortalUserStats interface.
88
+ */
89
+ export function instanceOfSystemPortalUserStats(value: object): value is SystemPortalUserStats {
90
+ if (!('total' in value) || value['total'] === undefined) return false;
91
+ if (!('enabled' in value) || value['enabled'] === undefined) return false;
92
+ if (!('disabled' in value) || value['disabled'] === undefined) return false;
93
+ if (!('newLast30Days' in value) || value['newLast30Days'] === undefined) return false;
94
+ if (!('activeLast7Days' in value) || value['activeLast7Days'] === undefined) return false;
95
+ if (!('activeLast30Days' in value) || value['activeLast30Days'] === undefined) return false;
96
+ if (!('pendingInvitations' in value) || value['pendingInvitations'] === undefined) return false;
97
+ if (!('byRole' in value) || value['byRole'] === undefined) return false;
98
+ return true;
99
+ }
100
+
101
+ export function SystemPortalUserStatsFromJSON(json: any): SystemPortalUserStats {
102
+ return SystemPortalUserStatsFromJSONTyped(json, false);
103
+ }
104
+
105
+ export function SystemPortalUserStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalUserStats {
106
+ if (json == null) {
107
+ return json;
108
+ }
109
+ return {
110
+
111
+ 'total': json['total'],
112
+ 'enabled': json['enabled'],
113
+ 'disabled': json['disabled'],
114
+ 'newLast30Days': json['new_last_30_days'],
115
+ 'activeLast7Days': json['active_last_7_days'],
116
+ 'activeLast30Days': json['active_last_30_days'],
117
+ 'pendingInvitations': json['pending_invitations'],
118
+ 'lastLoginAt': json['last_login_at'] == null ? undefined : json['last_login_at'],
119
+ 'byRole': ((json['by_role'] as Array<any>).map(SystemPortalRoleCountFromJSON)),
120
+ };
121
+ }
122
+
123
+ export function SystemPortalUserStatsToJSON(json: any): SystemPortalUserStats {
124
+ return SystemPortalUserStatsToJSONTyped(json, false);
125
+ }
126
+
127
+ export function SystemPortalUserStatsToJSONTyped(value?: SystemPortalUserStats | null, ignoreDiscriminator: boolean = false): any {
128
+ if (value == null) {
129
+ return value;
130
+ }
131
+
132
+ return {
133
+
134
+ 'total': value['total'],
135
+ 'enabled': value['enabled'],
136
+ 'disabled': value['disabled'],
137
+ 'new_last_30_days': value['newLast30Days'],
138
+ 'active_last_7_days': value['activeLast7Days'],
139
+ 'active_last_30_days': value['activeLast30Days'],
140
+ 'pending_invitations': value['pendingInvitations'],
141
+ 'last_login_at': value['lastLoginAt'],
142
+ 'by_role': ((value['byRole'] as Array<any>).map(SystemPortalRoleCountToJSON)),
143
+ };
144
+ }
145
+
@@ -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';
@@ -278,6 +279,8 @@ export * from './PostQuestionImportCommit';
278
279
  export * from './PostQuestionImportCommitItem';
279
280
  export * from './PostQuestionImportCommitResponse';
280
281
  export * from './PostQuestionImportParseResponse';
282
+ export * from './PostQuestionTags';
283
+ export * from './PostQuestionTagsResponse';
281
284
  export * from './PostReportExport';
282
285
  export * from './PostReportQuery';
283
286
  export * from './PostResetPassword';
@@ -378,6 +381,17 @@ export * from './ScormSetValueRequest';
378
381
  export * from './ScormSetValueResponse';
379
382
  export * from './ScormTerminateResponse';
380
383
  export * from './SupportTicketUser';
384
+ export * from './SystemPortalActivityStats';
385
+ export * from './SystemPortalCertificateStats';
386
+ export * from './SystemPortalContentStats';
387
+ export * from './SystemPortalCourseStats';
388
+ export * from './SystemPortalEnrollmentStats';
389
+ export * from './SystemPortalHierarchy';
390
+ export * from './SystemPortalLicense';
391
+ export * from './SystemPortalRoleCount';
392
+ export * from './SystemPortalStorageUsage';
393
+ export * from './SystemPortalSupportStats';
394
+ export * from './SystemPortalUserStats';
381
395
  export * from './UpdateSelectedPortalResponse';
382
396
  export * from './UpdateSelectedPortalResponseHostPortal';
383
397
  export * from './UpdateSelectedPortalResponseSelectedPortal';