@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,37 @@
1
+
2
+ # GetReportCatalog
3
+
4
+ Reports the caller may run in the selected portal.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `categories` | [Array<ReportCategory>](ReportCategory.md)
11
+ `reports` | [Array<ReportDefinition>](ReportDefinition.md)
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { GetReportCatalog } from '@easyedu/js-lsm-api'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "categories": null,
21
+ "reports": null,
22
+ } satisfies GetReportCatalog
23
+
24
+ console.log(example)
25
+
26
+ // Convert the instance to a JSON string
27
+ const exampleJSON: string = JSON.stringify(example)
28
+ console.log(exampleJSON)
29
+
30
+ // Parse the JSON string back to an object
31
+ const exampleParsed = JSON.parse(exampleJSON) as GetReportCatalog
32
+ console.log(exampleParsed)
33
+ ```
34
+
35
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
36
+
37
+
@@ -0,0 +1,50 @@
1
+
2
+ # GetReportQueryResult
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `reportKey` | string
10
+ `columns` | [Array<ReportColumn>](ReportColumn.md)
11
+ `rows` | Array<{ [key: string]: any; }>
12
+ `sort` | [ReportSort](ReportSort.md)
13
+ `page` | number
14
+ `pageSize` | number
15
+ `totalItems` | number
16
+ `totalPages` | number
17
+ `generatedAt` | number
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import type { GetReportQueryResult } from '@easyedu/js-lsm-api'
23
+
24
+ // TODO: Update the object below with actual values
25
+ const example = {
26
+ "reportKey": null,
27
+ "columns": null,
28
+ "rows": null,
29
+ "sort": null,
30
+ "page": null,
31
+ "pageSize": null,
32
+ "totalItems": null,
33
+ "totalPages": null,
34
+ "generatedAt": null,
35
+ } satisfies GetReportQueryResult
36
+
37
+ console.log(example)
38
+
39
+ // Convert the instance to a JSON string
40
+ const exampleJSON: string = JSON.stringify(example)
41
+ console.log(exampleJSON)
42
+
43
+ // Parse the JSON string back to an object
44
+ const exampleParsed = JSON.parse(exampleJSON) as GetReportQueryResult
45
+ console.log(exampleParsed)
46
+ ```
47
+
48
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
49
+
50
+
@@ -0,0 +1,61 @@
1
+
2
+ # GetSystemPortalOverview
3
+
4
+ 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).
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `portal` | [GetPortal](GetPortal.md)
11
+ `createdAt` | number
12
+ `updatedAt` | number
13
+ `generatedAt` | number
14
+ `hierarchy` | [SystemPortalHierarchy](SystemPortalHierarchy.md)
15
+ `license` | [SystemPortalLicense](SystemPortalLicense.md)
16
+ `users` | [SystemPortalUserStats](SystemPortalUserStats.md)
17
+ `courses` | [SystemPortalCourseStats](SystemPortalCourseStats.md)
18
+ `enrollments` | [SystemPortalEnrollmentStats](SystemPortalEnrollmentStats.md)
19
+ `content` | [SystemPortalContentStats](SystemPortalContentStats.md)
20
+ `certificates` | [SystemPortalCertificateStats](SystemPortalCertificateStats.md)
21
+ `storage` | [SystemPortalStorageUsage](SystemPortalStorageUsage.md)
22
+ `activity` | [SystemPortalActivityStats](SystemPortalActivityStats.md)
23
+ `support` | [SystemPortalSupportStats](SystemPortalSupportStats.md)
24
+
25
+ ## Example
26
+
27
+ ```typescript
28
+ import type { GetSystemPortalOverview } from '@easyedu/js-lsm-api'
29
+
30
+ // TODO: Update the object below with actual values
31
+ const example = {
32
+ "portal": null,
33
+ "createdAt": null,
34
+ "updatedAt": null,
35
+ "generatedAt": null,
36
+ "hierarchy": null,
37
+ "license": null,
38
+ "users": null,
39
+ "courses": null,
40
+ "enrollments": null,
41
+ "content": null,
42
+ "certificates": null,
43
+ "storage": null,
44
+ "activity": null,
45
+ "support": null,
46
+ } satisfies GetSystemPortalOverview
47
+
48
+ console.log(example)
49
+
50
+ // Convert the instance to a JSON string
51
+ const exampleJSON: string = JSON.stringify(example)
52
+ console.log(exampleJSON)
53
+
54
+ // Parse the JSON string back to an object
55
+ const exampleParsed = JSON.parse(exampleJSON) as GetSystemPortalOverview
56
+ console.log(exampleParsed)
57
+ ```
58
+
59
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
60
+
61
+
@@ -0,0 +1,38 @@
1
+
2
+ # PostReportExport
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `filters` | [ReportFilters](ReportFilters.md)
10
+ `sort` | [ReportSort](ReportSort.md)
11
+ `format` | string
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { PostReportExport } from '@easyedu/js-lsm-api'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "filters": null,
21
+ "sort": null,
22
+ "format": null,
23
+ } satisfies PostReportExport
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as PostReportExport
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,40 @@
1
+
2
+ # PostReportQuery
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `filters` | [ReportFilters](ReportFilters.md)
10
+ `sort` | [ReportSort](ReportSort.md)
11
+ `page` | number
12
+ `pageSize` | number
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { PostReportQuery } from '@easyedu/js-lsm-api'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "filters": null,
22
+ "sort": null,
23
+ "page": null,
24
+ "pageSize": null,
25
+ } satisfies PostReportQuery
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as PostReportQuery
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+
@@ -0,0 +1,36 @@
1
+
2
+ # ReportCategory
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `key` | string
10
+ `label` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { ReportCategory } from '@easyedu/js-lsm-api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "key": null,
20
+ "label": null,
21
+ } satisfies ReportCategory
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as ReportCategory
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,39 @@
1
+
2
+ # ReportColumn
3
+
4
+ One column in a report result. Row objects are keyed by column key.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `key` | string
11
+ `label` | string
12
+ `type` | string
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { ReportColumn } from '@easyedu/js-lsm-api'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "key": null,
22
+ "label": null,
23
+ "type": null,
24
+ } satisfies ReportColumn
25
+
26
+ console.log(example)
27
+
28
+ // Convert the instance to a JSON string
29
+ const exampleJSON: string = JSON.stringify(example)
30
+ console.log(exampleJSON)
31
+
32
+ // Parse the JSON string back to an object
33
+ const exampleParsed = JSON.parse(exampleJSON) as ReportColumn
34
+ console.log(exampleParsed)
35
+ ```
36
+
37
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
38
+
39
+
@@ -0,0 +1,48 @@
1
+
2
+ # ReportDefinition
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `key` | string
10
+ `title` | string
11
+ `description` | string
12
+ `category` | string
13
+ `permission` | string
14
+ `columns` | [Array<ReportColumn>](ReportColumn.md)
15
+ `filters` | [Array<ReportFilterDefinition>](ReportFilterDefinition.md)
16
+ `defaultSort` | [ReportSort](ReportSort.md)
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import type { ReportDefinition } from '@easyedu/js-lsm-api'
22
+
23
+ // TODO: Update the object below with actual values
24
+ const example = {
25
+ "key": null,
26
+ "title": null,
27
+ "description": null,
28
+ "category": null,
29
+ "permission": null,
30
+ "columns": null,
31
+ "filters": null,
32
+ "defaultSort": null,
33
+ } satisfies ReportDefinition
34
+
35
+ console.log(example)
36
+
37
+ // Convert the instance to a JSON string
38
+ const exampleJSON: string = JSON.stringify(example)
39
+ console.log(exampleJSON)
40
+
41
+ // Parse the JSON string back to an object
42
+ const exampleParsed = JSON.parse(exampleJSON) as ReportDefinition
43
+ console.log(exampleParsed)
44
+ ```
45
+
46
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
47
+
48
+
@@ -0,0 +1,45 @@
1
+
2
+ # ReportFilterDefinition
3
+
4
+ A filter accepted by a report. The key names the matching property in ReportFilters; a date_range filter maps to date_from and date_to.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `key` | string
11
+ `label` | string
12
+ `type` | string
13
+ `options` | [Array<ReportFilterOption>](ReportFilterOption.md)
14
+ `defaultDays` | number
15
+ `defaultValue` | number
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { ReportFilterDefinition } from '@easyedu/js-lsm-api'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "key": null,
25
+ "label": null,
26
+ "type": null,
27
+ "options": null,
28
+ "defaultDays": null,
29
+ "defaultValue": null,
30
+ } satisfies ReportFilterDefinition
31
+
32
+ console.log(example)
33
+
34
+ // Convert the instance to a JSON string
35
+ const exampleJSON: string = JSON.stringify(example)
36
+ console.log(exampleJSON)
37
+
38
+ // Parse the JSON string back to an object
39
+ const exampleParsed = JSON.parse(exampleJSON) as ReportFilterDefinition
40
+ console.log(exampleParsed)
41
+ ```
42
+
43
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
44
+
45
+
@@ -0,0 +1,36 @@
1
+
2
+ # ReportFilterOption
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `value` | string
10
+ `label` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { ReportFilterOption } from '@easyedu/js-lsm-api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "value": null,
20
+ "label": null,
21
+ } satisfies ReportFilterOption
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as ReportFilterOption
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,59 @@
1
+
2
+ # ReportFilters
3
+
4
+ Report filters. Only filters listed in the report definition may be supplied; any other non-null filter is rejected with HTTP 400.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `search` | string
11
+ `userType` | string
12
+ `company` | string
13
+ `status` | string
14
+ `teamPortalId` | string
15
+ `courseId` | string
16
+ `tagId` | string
17
+ `managerId` | string
18
+ `dateFrom` | Date
19
+ `dateTo` | Date
20
+ `inactiveDays` | number
21
+ `expiresWithinDays` | number
22
+ `firstCourseStarted` | string
23
+
24
+ ## Example
25
+
26
+ ```typescript
27
+ import type { ReportFilters } from '@easyedu/js-lsm-api'
28
+
29
+ // TODO: Update the object below with actual values
30
+ const example = {
31
+ "search": null,
32
+ "userType": null,
33
+ "company": null,
34
+ "status": null,
35
+ "teamPortalId": null,
36
+ "courseId": null,
37
+ "tagId": null,
38
+ "managerId": null,
39
+ "dateFrom": null,
40
+ "dateTo": null,
41
+ "inactiveDays": null,
42
+ "expiresWithinDays": null,
43
+ "firstCourseStarted": null,
44
+ } satisfies ReportFilters
45
+
46
+ console.log(example)
47
+
48
+ // Convert the instance to a JSON string
49
+ const exampleJSON: string = JSON.stringify(example)
50
+ console.log(exampleJSON)
51
+
52
+ // Parse the JSON string back to an object
53
+ const exampleParsed = JSON.parse(exampleJSON) as ReportFilters
54
+ console.log(exampleParsed)
55
+ ```
56
+
57
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
58
+
59
+
@@ -0,0 +1,36 @@
1
+
2
+ # ReportSort
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `column` | string
10
+ `direction` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { ReportSort } from '@easyedu/js-lsm-api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "column": null,
20
+ "direction": null,
21
+ } satisfies ReportSort
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as ReportSort
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+