@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.
- package/.openapi-generator/FILES +46 -0
- package/README.md +29 -2
- package/dist/apis/ReportingApi.d.ts +52 -0
- package/dist/apis/ReportingApi.js +131 -0
- package/dist/apis/SystemApi.d.ts +16 -0
- package/dist/apis/SystemApi.js +40 -0
- package/dist/esm/apis/ReportingApi.d.ts +52 -0
- package/dist/esm/apis/ReportingApi.js +131 -0
- package/dist/esm/apis/SystemApi.d.ts +16 -0
- package/dist/esm/apis/SystemApi.js +40 -0
- package/dist/esm/models/GetReportCatalog.d.ts +40 -0
- package/dist/esm/models/GetReportCatalog.js +49 -0
- package/dist/esm/models/GetReportQueryResult.d.ts +84 -0
- package/dist/esm/models/GetReportQueryResult.js +77 -0
- package/dist/esm/models/GetSystemPortalOverview.d.ts +121 -0
- package/dist/esm/models/GetSystemPortalOverview.js +106 -0
- package/dist/esm/models/PostReportExport.d.ts +54 -0
- package/dist/esm/models/PostReportExport.js +56 -0
- package/dist/esm/models/PostReportQuery.d.ts +52 -0
- package/dist/esm/models/PostReportQuery.js +49 -0
- package/dist/esm/models/ReportCategory.d.ts +50 -0
- package/dist/esm/models/ReportCategory.js +58 -0
- package/dist/esm/models/ReportColumn.d.ts +59 -0
- package/dist/esm/models/ReportColumn.js +64 -0
- package/dist/esm/models/ReportDefinition.d.ts +89 -0
- package/dist/esm/models/ReportDefinition.js +85 -0
- package/dist/esm/models/ReportFilterDefinition.d.ts +94 -0
- package/dist/esm/models/ReportFilterDefinition.js +91 -0
- package/dist/esm/models/ReportFilterOption.d.ts +38 -0
- package/dist/esm/models/ReportFilterOption.js +47 -0
- package/dist/esm/models/ReportFilters.d.ts +105 -0
- package/dist/esm/models/ReportFilters.js +65 -0
- package/dist/esm/models/ReportSort.d.ts +46 -0
- package/dist/esm/models/ReportSort.js +54 -0
- package/dist/esm/models/SystemPortalActivityStats.d.ts +56 -0
- package/dist/esm/models/SystemPortalActivityStats.js +57 -0
- package/dist/esm/models/SystemPortalCertificateStats.d.ts +50 -0
- package/dist/esm/models/SystemPortalCertificateStats.js +55 -0
- package/dist/esm/models/SystemPortalContentStats.d.ts +56 -0
- package/dist/esm/models/SystemPortalContentStats.js +59 -0
- package/dist/esm/models/SystemPortalCourseStats.d.ts +62 -0
- package/dist/esm/models/SystemPortalCourseStats.js +63 -0
- package/dist/esm/models/SystemPortalEnrollmentStats.d.ts +56 -0
- package/dist/esm/models/SystemPortalEnrollmentStats.js +59 -0
- package/dist/esm/models/SystemPortalHierarchy.d.ts +44 -0
- package/dist/esm/models/SystemPortalHierarchy.js +47 -0
- package/dist/esm/models/SystemPortalLicense.d.ts +65 -0
- package/dist/esm/models/SystemPortalLicense.js +61 -0
- package/dist/esm/models/SystemPortalRoleCount.d.ts +51 -0
- package/dist/esm/models/SystemPortalRoleCount.js +59 -0
- package/dist/esm/models/SystemPortalStorageUsage.d.ts +74 -0
- package/dist/esm/models/SystemPortalStorageUsage.js +71 -0
- package/dist/esm/models/SystemPortalSupportStats.d.ts +50 -0
- package/dist/esm/models/SystemPortalSupportStats.js +55 -0
- package/dist/esm/models/SystemPortalUserStats.d.ts +81 -0
- package/dist/esm/models/SystemPortalUserStats.js +74 -0
- package/dist/esm/models/index.d.ts +23 -0
- package/dist/esm/models/index.js +23 -0
- package/dist/models/GetReportCatalog.d.ts +40 -0
- package/dist/models/GetReportCatalog.js +56 -0
- package/dist/models/GetReportQueryResult.d.ts +84 -0
- package/dist/models/GetReportQueryResult.js +84 -0
- package/dist/models/GetSystemPortalOverview.d.ts +121 -0
- package/dist/models/GetSystemPortalOverview.js +113 -0
- package/dist/models/PostReportExport.d.ts +54 -0
- package/dist/models/PostReportExport.js +64 -0
- package/dist/models/PostReportQuery.d.ts +52 -0
- package/dist/models/PostReportQuery.js +56 -0
- package/dist/models/ReportCategory.d.ts +50 -0
- package/dist/models/ReportCategory.js +66 -0
- package/dist/models/ReportColumn.d.ts +59 -0
- package/dist/models/ReportColumn.js +72 -0
- package/dist/models/ReportDefinition.d.ts +89 -0
- package/dist/models/ReportDefinition.js +93 -0
- package/dist/models/ReportFilterDefinition.d.ts +94 -0
- package/dist/models/ReportFilterDefinition.js +99 -0
- package/dist/models/ReportFilterOption.d.ts +38 -0
- package/dist/models/ReportFilterOption.js +54 -0
- package/dist/models/ReportFilters.d.ts +105 -0
- package/dist/models/ReportFilters.js +72 -0
- package/dist/models/ReportSort.d.ts +46 -0
- package/dist/models/ReportSort.js +62 -0
- package/dist/models/SystemPortalActivityStats.d.ts +56 -0
- package/dist/models/SystemPortalActivityStats.js +64 -0
- package/dist/models/SystemPortalCertificateStats.d.ts +50 -0
- package/dist/models/SystemPortalCertificateStats.js +62 -0
- package/dist/models/SystemPortalContentStats.d.ts +56 -0
- package/dist/models/SystemPortalContentStats.js +66 -0
- package/dist/models/SystemPortalCourseStats.d.ts +62 -0
- package/dist/models/SystemPortalCourseStats.js +70 -0
- package/dist/models/SystemPortalEnrollmentStats.d.ts +56 -0
- package/dist/models/SystemPortalEnrollmentStats.js +66 -0
- package/dist/models/SystemPortalHierarchy.d.ts +44 -0
- package/dist/models/SystemPortalHierarchy.js +54 -0
- package/dist/models/SystemPortalLicense.d.ts +65 -0
- package/dist/models/SystemPortalLicense.js +69 -0
- package/dist/models/SystemPortalRoleCount.d.ts +51 -0
- package/dist/models/SystemPortalRoleCount.js +67 -0
- package/dist/models/SystemPortalStorageUsage.d.ts +74 -0
- package/dist/models/SystemPortalStorageUsage.js +78 -0
- package/dist/models/SystemPortalSupportStats.d.ts +50 -0
- package/dist/models/SystemPortalSupportStats.js +62 -0
- package/dist/models/SystemPortalUserStats.d.ts +81 -0
- package/dist/models/SystemPortalUserStats.js +81 -0
- package/dist/models/index.d.ts +23 -0
- package/dist/models/index.js +23 -0
- package/docs/GetReportCatalog.md +37 -0
- package/docs/GetReportQueryResult.md +50 -0
- package/docs/GetSystemPortalOverview.md +61 -0
- package/docs/PostReportExport.md +38 -0
- package/docs/PostReportQuery.md +40 -0
- package/docs/ReportCategory.md +36 -0
- package/docs/ReportColumn.md +39 -0
- package/docs/ReportDefinition.md +48 -0
- package/docs/ReportFilterDefinition.md +45 -0
- package/docs/ReportFilterOption.md +36 -0
- package/docs/ReportFilters.md +59 -0
- package/docs/ReportSort.md +36 -0
- package/docs/ReportingApi.md +207 -0
- package/docs/SystemApi.md +68 -0
- package/docs/SystemPortalActivityStats.md +42 -0
- package/docs/SystemPortalCertificateStats.md +40 -0
- package/docs/SystemPortalContentStats.md +43 -0
- package/docs/SystemPortalCourseStats.md +44 -0
- package/docs/SystemPortalEnrollmentStats.md +43 -0
- package/docs/SystemPortalHierarchy.md +38 -0
- package/docs/SystemPortalLicense.md +42 -0
- package/docs/SystemPortalRoleCount.md +36 -0
- package/docs/SystemPortalStorageUsage.md +49 -0
- package/docs/SystemPortalSupportStats.md +40 -0
- package/docs/SystemPortalUserStats.md +50 -0
- package/package.json +1 -1
- package/src/apis/ReportingApi.ts +181 -0
- package/src/apis/SystemApi.ts +54 -0
- package/src/models/GetReportCatalog.ts +90 -0
- package/src/models/GetReportQueryResult.ts +153 -0
- package/src/models/GetSystemPortalOverview.ts +261 -0
- package/src/models/PostReportExport.ts +108 -0
- package/src/models/PostReportQuery.ts +104 -0
- package/src/models/ReportCategory.ts +90 -0
- package/src/models/ReportColumn.ts +102 -0
- package/src/models/ReportDefinition.ts +166 -0
- package/src/models/ReportFilterDefinition.ts +154 -0
- package/src/models/ReportFilterOption.ts +75 -0
- package/src/models/ReportFilters.ts +162 -0
- package/src/models/ReportSort.ts +86 -0
- package/src/models/SystemPortalActivityStats.ts +101 -0
- package/src/models/SystemPortalCertificateStats.ts +93 -0
- package/src/models/SystemPortalContentStats.ts +102 -0
- package/src/models/SystemPortalCourseStats.ts +111 -0
- package/src/models/SystemPortalEnrollmentStats.ts +102 -0
- package/src/models/SystemPortalHierarchy.ts +82 -0
- package/src/models/SystemPortalLicense.ts +111 -0
- package/src/models/SystemPortalRoleCount.ts +91 -0
- package/src/models/SystemPortalStorageUsage.ts +129 -0
- package/src/models/SystemPortalSupportStats.ts +93 -0
- package/src/models/SystemPortalUserStats.ts +145 -0
- package/src/models/index.ts +23 -0
package/dist/esm/models/index.js
CHANGED
|
@@ -135,6 +135,8 @@ export * from './GetQuestionAnswerChoicesInner';
|
|
|
135
135
|
export * from './GetQuestionList';
|
|
136
136
|
export * from './GetQuestionListFilters';
|
|
137
137
|
export * from './GetQuestionQuizzesInner';
|
|
138
|
+
export * from './GetReportCatalog';
|
|
139
|
+
export * from './GetReportQueryResult';
|
|
138
140
|
export * from './GetResource';
|
|
139
141
|
export * from './GetResourceList';
|
|
140
142
|
export * from './GetResourceSession';
|
|
@@ -165,6 +167,7 @@ export * from './GetSupportTicketList';
|
|
|
165
167
|
export * from './GetSystemBillingItem';
|
|
166
168
|
export * from './GetSystemBillingList';
|
|
167
169
|
export * from './GetSystemMetrics';
|
|
170
|
+
export * from './GetSystemPortalOverview';
|
|
168
171
|
export * from './GetUser';
|
|
169
172
|
export * from './GetUserAvatarUpload';
|
|
170
173
|
export * from './GetUserCourseList';
|
|
@@ -276,6 +279,8 @@ export * from './PostQuestionImportCommit';
|
|
|
276
279
|
export * from './PostQuestionImportCommitItem';
|
|
277
280
|
export * from './PostQuestionImportCommitResponse';
|
|
278
281
|
export * from './PostQuestionImportParseResponse';
|
|
282
|
+
export * from './PostReportExport';
|
|
283
|
+
export * from './PostReportQuery';
|
|
279
284
|
export * from './PostResetPassword';
|
|
280
285
|
export * from './PostResource';
|
|
281
286
|
export * from './PostResourceSessionActivityEvent';
|
|
@@ -351,6 +356,13 @@ export * from './QuestionImportPreviewImage';
|
|
|
351
356
|
export * from './QuestionImportSource';
|
|
352
357
|
export * from './QuestionImportSourceSummary';
|
|
353
358
|
export * from './QuestionSelectionMethod';
|
|
359
|
+
export * from './ReportCategory';
|
|
360
|
+
export * from './ReportColumn';
|
|
361
|
+
export * from './ReportDefinition';
|
|
362
|
+
export * from './ReportFilterDefinition';
|
|
363
|
+
export * from './ReportFilterOption';
|
|
364
|
+
export * from './ReportFilters';
|
|
365
|
+
export * from './ReportSort';
|
|
354
366
|
export * from './ResourceSessionEnvironment';
|
|
355
367
|
export * from './ResourceSessionScormApiLogItem';
|
|
356
368
|
export * from './ResourceType';
|
|
@@ -367,6 +379,17 @@ export * from './ScormSetValueRequest';
|
|
|
367
379
|
export * from './ScormSetValueResponse';
|
|
368
380
|
export * from './ScormTerminateResponse';
|
|
369
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';
|
|
370
393
|
export * from './UpdateSelectedPortalResponse';
|
|
371
394
|
export * from './UpdateSelectedPortalResponseHostPortal';
|
|
372
395
|
export * from './UpdateSelectedPortalResponseSelectedPortal';
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { ReportCategory } from './ReportCategory';
|
|
13
|
+
import type { ReportDefinition } from './ReportDefinition';
|
|
14
|
+
/**
|
|
15
|
+
* Reports the caller may run in the selected portal.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface GetReportCatalog
|
|
18
|
+
*/
|
|
19
|
+
export interface GetReportCatalog {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<ReportCategory>}
|
|
23
|
+
* @memberof GetReportCatalog
|
|
24
|
+
*/
|
|
25
|
+
categories: Array<ReportCategory>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<ReportDefinition>}
|
|
29
|
+
* @memberof GetReportCatalog
|
|
30
|
+
*/
|
|
31
|
+
reports: Array<ReportDefinition>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the GetReportCatalog interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfGetReportCatalog(value: object): value is GetReportCatalog;
|
|
37
|
+
export declare function GetReportCatalogFromJSON(json: any): GetReportCatalog;
|
|
38
|
+
export declare function GetReportCatalogFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetReportCatalog;
|
|
39
|
+
export declare function GetReportCatalogToJSON(json: any): GetReportCatalog;
|
|
40
|
+
export declare function GetReportCatalogToJSONTyped(value?: GetReportCatalog | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGetReportCatalog = instanceOfGetReportCatalog;
|
|
17
|
+
exports.GetReportCatalogFromJSON = GetReportCatalogFromJSON;
|
|
18
|
+
exports.GetReportCatalogFromJSONTyped = GetReportCatalogFromJSONTyped;
|
|
19
|
+
exports.GetReportCatalogToJSON = GetReportCatalogToJSON;
|
|
20
|
+
exports.GetReportCatalogToJSONTyped = GetReportCatalogToJSONTyped;
|
|
21
|
+
const ReportCategory_1 = require("./ReportCategory");
|
|
22
|
+
const ReportDefinition_1 = require("./ReportDefinition");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the GetReportCatalog interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfGetReportCatalog(value) {
|
|
27
|
+
if (!('categories' in value) || value['categories'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('reports' in value) || value['reports'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function GetReportCatalogFromJSON(json) {
|
|
34
|
+
return GetReportCatalogFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function GetReportCatalogFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'categories': (json['categories'].map(ReportCategory_1.ReportCategoryFromJSON)),
|
|
42
|
+
'reports': (json['reports'].map(ReportDefinition_1.ReportDefinitionFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function GetReportCatalogToJSON(json) {
|
|
46
|
+
return GetReportCatalogToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function GetReportCatalogToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'categories': (value['categories'].map(ReportCategory_1.ReportCategoryToJSON)),
|
|
54
|
+
'reports': (value['reports'].map(ReportDefinition_1.ReportDefinitionToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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 { ReportColumn } from './ReportColumn';
|
|
13
|
+
import type { ReportSort } from './ReportSort';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface GetReportQueryResult
|
|
18
|
+
*/
|
|
19
|
+
export interface GetReportQueryResult {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof GetReportQueryResult
|
|
24
|
+
*/
|
|
25
|
+
reportKey: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<ReportColumn>}
|
|
29
|
+
* @memberof GetReportQueryResult
|
|
30
|
+
*/
|
|
31
|
+
columns: Array<ReportColumn>;
|
|
32
|
+
/**
|
|
33
|
+
* One object per row, keyed by column key.
|
|
34
|
+
* @type {Array<{ [key: string]: any; }>}
|
|
35
|
+
* @memberof GetReportQueryResult
|
|
36
|
+
*/
|
|
37
|
+
rows: Array<{
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
}>;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {ReportSort}
|
|
43
|
+
* @memberof GetReportQueryResult
|
|
44
|
+
*/
|
|
45
|
+
sort: ReportSort;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof GetReportQueryResult
|
|
50
|
+
*/
|
|
51
|
+
page: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof GetReportQueryResult
|
|
56
|
+
*/
|
|
57
|
+
pageSize: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof GetReportQueryResult
|
|
62
|
+
*/
|
|
63
|
+
totalItems: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof GetReportQueryResult
|
|
68
|
+
*/
|
|
69
|
+
totalPages: number;
|
|
70
|
+
/**
|
|
71
|
+
* Unix timestamp in seconds.
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof GetReportQueryResult
|
|
74
|
+
*/
|
|
75
|
+
generatedAt: number;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Check if a given object implements the GetReportQueryResult interface.
|
|
79
|
+
*/
|
|
80
|
+
export declare function instanceOfGetReportQueryResult(value: object): value is GetReportQueryResult;
|
|
81
|
+
export declare function GetReportQueryResultFromJSON(json: any): GetReportQueryResult;
|
|
82
|
+
export declare function GetReportQueryResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetReportQueryResult;
|
|
83
|
+
export declare function GetReportQueryResultToJSON(json: any): GetReportQueryResult;
|
|
84
|
+
export declare function GetReportQueryResultToJSONTyped(value?: GetReportQueryResult | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGetReportQueryResult = instanceOfGetReportQueryResult;
|
|
17
|
+
exports.GetReportQueryResultFromJSON = GetReportQueryResultFromJSON;
|
|
18
|
+
exports.GetReportQueryResultFromJSONTyped = GetReportQueryResultFromJSONTyped;
|
|
19
|
+
exports.GetReportQueryResultToJSON = GetReportQueryResultToJSON;
|
|
20
|
+
exports.GetReportQueryResultToJSONTyped = GetReportQueryResultToJSONTyped;
|
|
21
|
+
const ReportColumn_1 = require("./ReportColumn");
|
|
22
|
+
const ReportSort_1 = require("./ReportSort");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the GetReportQueryResult interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfGetReportQueryResult(value) {
|
|
27
|
+
if (!('reportKey' in value) || value['reportKey'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('columns' in value) || value['columns'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('rows' in value) || value['rows'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('sort' in value) || value['sort'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('page' in value) || value['page'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('pageSize' in value) || value['pageSize'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('totalItems' in value) || value['totalItems'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('totalPages' in value) || value['totalPages'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('generatedAt' in value) || value['generatedAt'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
function GetReportQueryResultFromJSON(json) {
|
|
48
|
+
return GetReportQueryResultFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function GetReportQueryResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'reportKey': json['report_key'],
|
|
56
|
+
'columns': (json['columns'].map(ReportColumn_1.ReportColumnFromJSON)),
|
|
57
|
+
'rows': json['rows'],
|
|
58
|
+
'sort': (0, ReportSort_1.ReportSortFromJSON)(json['sort']),
|
|
59
|
+
'page': json['page'],
|
|
60
|
+
'pageSize': json['page_size'],
|
|
61
|
+
'totalItems': json['total_items'],
|
|
62
|
+
'totalPages': json['total_pages'],
|
|
63
|
+
'generatedAt': json['generated_at'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function GetReportQueryResultToJSON(json) {
|
|
67
|
+
return GetReportQueryResultToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function GetReportQueryResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'report_key': value['reportKey'],
|
|
75
|
+
'columns': (value['columns'].map(ReportColumn_1.ReportColumnToJSON)),
|
|
76
|
+
'rows': value['rows'],
|
|
77
|
+
'sort': (0, ReportSort_1.ReportSortToJSON)(value['sort']),
|
|
78
|
+
'page': value['page'],
|
|
79
|
+
'page_size': value['pageSize'],
|
|
80
|
+
'total_items': value['totalItems'],
|
|
81
|
+
'total_pages': value['totalPages'],
|
|
82
|
+
'generated_at': value['generatedAt'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -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;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGetSystemPortalOverview = instanceOfGetSystemPortalOverview;
|
|
17
|
+
exports.GetSystemPortalOverviewFromJSON = GetSystemPortalOverviewFromJSON;
|
|
18
|
+
exports.GetSystemPortalOverviewFromJSONTyped = GetSystemPortalOverviewFromJSONTyped;
|
|
19
|
+
exports.GetSystemPortalOverviewToJSON = GetSystemPortalOverviewToJSON;
|
|
20
|
+
exports.GetSystemPortalOverviewToJSONTyped = GetSystemPortalOverviewToJSONTyped;
|
|
21
|
+
const SystemPortalCourseStats_1 = require("./SystemPortalCourseStats");
|
|
22
|
+
const SystemPortalLicense_1 = require("./SystemPortalLicense");
|
|
23
|
+
const SystemPortalCertificateStats_1 = require("./SystemPortalCertificateStats");
|
|
24
|
+
const SystemPortalStorageUsage_1 = require("./SystemPortalStorageUsage");
|
|
25
|
+
const SystemPortalSupportStats_1 = require("./SystemPortalSupportStats");
|
|
26
|
+
const GetPortal_1 = require("./GetPortal");
|
|
27
|
+
const SystemPortalEnrollmentStats_1 = require("./SystemPortalEnrollmentStats");
|
|
28
|
+
const SystemPortalActivityStats_1 = require("./SystemPortalActivityStats");
|
|
29
|
+
const SystemPortalContentStats_1 = require("./SystemPortalContentStats");
|
|
30
|
+
const SystemPortalHierarchy_1 = require("./SystemPortalHierarchy");
|
|
31
|
+
const SystemPortalUserStats_1 = require("./SystemPortalUserStats");
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the GetSystemPortalOverview interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfGetSystemPortalOverview(value) {
|
|
36
|
+
if (!('portal' in value) || value['portal'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('generatedAt' in value) || value['generatedAt'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('hierarchy' in value) || value['hierarchy'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('license' in value) || value['license'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('users' in value) || value['users'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('courses' in value) || value['courses'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('enrollments' in value) || value['enrollments'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('certificates' in value) || value['certificates'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('storage' in value) || value['storage'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('activity' in value) || value['activity'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
if (!('support' in value) || value['support'] === undefined)
|
|
63
|
+
return false;
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
function GetSystemPortalOverviewFromJSON(json) {
|
|
67
|
+
return GetSystemPortalOverviewFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function GetSystemPortalOverviewFromJSONTyped(json, ignoreDiscriminator) {
|
|
70
|
+
if (json == null) {
|
|
71
|
+
return json;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'portal': (0, GetPortal_1.GetPortalFromJSON)(json['portal']),
|
|
75
|
+
'createdAt': json['created_at'],
|
|
76
|
+
'updatedAt': json['updated_at'],
|
|
77
|
+
'generatedAt': json['generated_at'],
|
|
78
|
+
'hierarchy': (0, SystemPortalHierarchy_1.SystemPortalHierarchyFromJSON)(json['hierarchy']),
|
|
79
|
+
'license': (0, SystemPortalLicense_1.SystemPortalLicenseFromJSON)(json['license']),
|
|
80
|
+
'users': (0, SystemPortalUserStats_1.SystemPortalUserStatsFromJSON)(json['users']),
|
|
81
|
+
'courses': (0, SystemPortalCourseStats_1.SystemPortalCourseStatsFromJSON)(json['courses']),
|
|
82
|
+
'enrollments': (0, SystemPortalEnrollmentStats_1.SystemPortalEnrollmentStatsFromJSON)(json['enrollments']),
|
|
83
|
+
'content': (0, SystemPortalContentStats_1.SystemPortalContentStatsFromJSON)(json['content']),
|
|
84
|
+
'certificates': (0, SystemPortalCertificateStats_1.SystemPortalCertificateStatsFromJSON)(json['certificates']),
|
|
85
|
+
'storage': (0, SystemPortalStorageUsage_1.SystemPortalStorageUsageFromJSON)(json['storage']),
|
|
86
|
+
'activity': (0, SystemPortalActivityStats_1.SystemPortalActivityStatsFromJSON)(json['activity']),
|
|
87
|
+
'support': (0, SystemPortalSupportStats_1.SystemPortalSupportStatsFromJSON)(json['support']),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
function GetSystemPortalOverviewToJSON(json) {
|
|
91
|
+
return GetSystemPortalOverviewToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
function GetSystemPortalOverviewToJSONTyped(value, ignoreDiscriminator = false) {
|
|
94
|
+
if (value == null) {
|
|
95
|
+
return value;
|
|
96
|
+
}
|
|
97
|
+
return {
|
|
98
|
+
'portal': (0, GetPortal_1.GetPortalToJSON)(value['portal']),
|
|
99
|
+
'created_at': value['createdAt'],
|
|
100
|
+
'updated_at': value['updatedAt'],
|
|
101
|
+
'generated_at': value['generatedAt'],
|
|
102
|
+
'hierarchy': (0, SystemPortalHierarchy_1.SystemPortalHierarchyToJSON)(value['hierarchy']),
|
|
103
|
+
'license': (0, SystemPortalLicense_1.SystemPortalLicenseToJSON)(value['license']),
|
|
104
|
+
'users': (0, SystemPortalUserStats_1.SystemPortalUserStatsToJSON)(value['users']),
|
|
105
|
+
'courses': (0, SystemPortalCourseStats_1.SystemPortalCourseStatsToJSON)(value['courses']),
|
|
106
|
+
'enrollments': (0, SystemPortalEnrollmentStats_1.SystemPortalEnrollmentStatsToJSON)(value['enrollments']),
|
|
107
|
+
'content': (0, SystemPortalContentStats_1.SystemPortalContentStatsToJSON)(value['content']),
|
|
108
|
+
'certificates': (0, SystemPortalCertificateStats_1.SystemPortalCertificateStatsToJSON)(value['certificates']),
|
|
109
|
+
'storage': (0, SystemPortalStorageUsage_1.SystemPortalStorageUsageToJSON)(value['storage']),
|
|
110
|
+
'activity': (0, SystemPortalActivityStats_1.SystemPortalActivityStatsToJSON)(value['activity']),
|
|
111
|
+
'support': (0, SystemPortalSupportStats_1.SystemPortalSupportStatsToJSON)(value['support']),
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 { ReportFilters } from './ReportFilters';
|
|
13
|
+
import type { ReportSort } from './ReportSort';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PostReportExport
|
|
18
|
+
*/
|
|
19
|
+
export interface PostReportExport {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ReportFilters}
|
|
23
|
+
* @memberof PostReportExport
|
|
24
|
+
*/
|
|
25
|
+
filters?: ReportFilters;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ReportSort}
|
|
29
|
+
* @memberof PostReportExport
|
|
30
|
+
*/
|
|
31
|
+
sort?: ReportSort;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {PostReportExportFormatEnum}
|
|
35
|
+
* @memberof PostReportExport
|
|
36
|
+
*/
|
|
37
|
+
format: PostReportExportFormatEnum;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
export declare const PostReportExportFormatEnum: {
|
|
43
|
+
readonly Csv: "csv";
|
|
44
|
+
readonly Xlsx: "xlsx";
|
|
45
|
+
};
|
|
46
|
+
export type PostReportExportFormatEnum = typeof PostReportExportFormatEnum[keyof typeof PostReportExportFormatEnum];
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the PostReportExport interface.
|
|
49
|
+
*/
|
|
50
|
+
export declare function instanceOfPostReportExport(value: object): value is PostReportExport;
|
|
51
|
+
export declare function PostReportExportFromJSON(json: any): PostReportExport;
|
|
52
|
+
export declare function PostReportExportFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostReportExport;
|
|
53
|
+
export declare function PostReportExportToJSON(json: any): PostReportExport;
|
|
54
|
+
export declare function PostReportExportToJSONTyped(value?: PostReportExport | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PostReportExportFormatEnum = void 0;
|
|
17
|
+
exports.instanceOfPostReportExport = instanceOfPostReportExport;
|
|
18
|
+
exports.PostReportExportFromJSON = PostReportExportFromJSON;
|
|
19
|
+
exports.PostReportExportFromJSONTyped = PostReportExportFromJSONTyped;
|
|
20
|
+
exports.PostReportExportToJSON = PostReportExportToJSON;
|
|
21
|
+
exports.PostReportExportToJSONTyped = PostReportExportToJSONTyped;
|
|
22
|
+
const ReportFilters_1 = require("./ReportFilters");
|
|
23
|
+
const ReportSort_1 = require("./ReportSort");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.PostReportExportFormatEnum = {
|
|
28
|
+
Csv: 'csv',
|
|
29
|
+
Xlsx: 'xlsx'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PostReportExport interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfPostReportExport(value) {
|
|
35
|
+
if (!('format' in value) || value['format'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function PostReportExportFromJSON(json) {
|
|
40
|
+
return PostReportExportFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function PostReportExportFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'filters': json['filters'] == null ? undefined : (0, ReportFilters_1.ReportFiltersFromJSON)(json['filters']),
|
|
48
|
+
'sort': json['sort'] == null ? undefined : (0, ReportSort_1.ReportSortFromJSON)(json['sort']),
|
|
49
|
+
'format': json['format'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function PostReportExportToJSON(json) {
|
|
53
|
+
return PostReportExportToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function PostReportExportToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'filters': (0, ReportFilters_1.ReportFiltersToJSON)(value['filters']),
|
|
61
|
+
'sort': (0, ReportSort_1.ReportSortToJSON)(value['sort']),
|
|
62
|
+
'format': value['format'],
|
|
63
|
+
};
|
|
64
|
+
}
|