@easyedu/js-lsm-api 1.129.0 → 1.131.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 +28 -0
- package/README.md +19 -2
- package/dist/apis/MarketingApi.d.ts +34 -0
- package/dist/apis/MarketingApi.js +74 -0
- package/dist/apis/ReportingApi.d.ts +52 -0
- package/dist/apis/ReportingApi.js +131 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/MarketingApi.d.ts +34 -0
- package/dist/esm/apis/MarketingApi.js +70 -0
- package/dist/esm/apis/ReportingApi.d.ts +52 -0
- package/dist/esm/apis/ReportingApi.js +131 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -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/PostDemoRequest.d.ts +100 -0
- package/dist/esm/models/PostDemoRequest.js +83 -0
- package/dist/esm/models/PostDemoRequestResponse.d.ts +38 -0
- package/dist/esm/models/PostDemoRequestResponse.js +47 -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/index.d.ts +13 -0
- package/dist/esm/models/index.js +13 -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/PostDemoRequest.d.ts +100 -0
- package/dist/models/PostDemoRequest.js +91 -0
- package/dist/models/PostDemoRequestResponse.d.ts +38 -0
- package/dist/models/PostDemoRequestResponse.js +54 -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/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/docs/GetReportCatalog.md +37 -0
- package/docs/GetReportQueryResult.md +50 -0
- package/docs/MarketingApi.md +78 -0
- package/docs/PostDemoRequest.md +50 -0
- package/docs/PostDemoRequestResponse.md +36 -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/package.json +1 -1
- package/src/apis/MarketingApi.ts +83 -0
- package/src/apis/ReportingApi.ts +181 -0
- package/src/apis/index.ts +1 -0
- package/src/models/GetReportCatalog.ts +90 -0
- package/src/models/GetReportQueryResult.ts +153 -0
- package/src/models/PostDemoRequest.ts +157 -0
- package/src/models/PostDemoRequestResponse.ts +75 -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/index.ts +13 -0
|
@@ -0,0 +1,86 @@
|
|
|
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 ReportSort
|
|
20
|
+
*/
|
|
21
|
+
export interface ReportSort {
|
|
22
|
+
/**
|
|
23
|
+
* A column key from the report definition.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ReportSort
|
|
26
|
+
*/
|
|
27
|
+
column: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {ReportSortDirectionEnum}
|
|
31
|
+
* @memberof ReportSort
|
|
32
|
+
*/
|
|
33
|
+
direction: ReportSortDirectionEnum;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const ReportSortDirectionEnum = {
|
|
41
|
+
Asc: 'asc',
|
|
42
|
+
Desc: 'desc'
|
|
43
|
+
} as const;
|
|
44
|
+
export type ReportSortDirectionEnum = typeof ReportSortDirectionEnum[keyof typeof ReportSortDirectionEnum];
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the ReportSort interface.
|
|
49
|
+
*/
|
|
50
|
+
export function instanceOfReportSort(value: object): value is ReportSort {
|
|
51
|
+
if (!('column' in value) || value['column'] === undefined) return false;
|
|
52
|
+
if (!('direction' in value) || value['direction'] === undefined) return false;
|
|
53
|
+
return true;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ReportSortFromJSON(json: any): ReportSort {
|
|
57
|
+
return ReportSortFromJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ReportSortFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportSort {
|
|
61
|
+
if (json == null) {
|
|
62
|
+
return json;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'column': json['column'],
|
|
67
|
+
'direction': json['direction'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function ReportSortToJSON(json: any): ReportSort {
|
|
72
|
+
return ReportSortToJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function ReportSortToJSONTyped(value?: ReportSort | null, ignoreDiscriminator: boolean = false): any {
|
|
76
|
+
if (value == null) {
|
|
77
|
+
return value;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'column': value['column'],
|
|
83
|
+
'direction': value['direction'],
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
package/src/models/index.ts
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';
|
|
@@ -244,6 +246,8 @@ export * from './PostCourseVersionPublish';
|
|
|
244
246
|
export * from './PostCourseVersionSection';
|
|
245
247
|
export * from './PostCourseVersionSectionDuplicate';
|
|
246
248
|
export * from './PostCustomWebhookIntegration';
|
|
249
|
+
export * from './PostDemoRequest';
|
|
250
|
+
export * from './PostDemoRequestResponse';
|
|
247
251
|
export * from './PostDispatchItemLaunch';
|
|
248
252
|
export * from './PostDispatchItemLaunchResponse';
|
|
249
253
|
export * from './PostDispatchLaunch';
|
|
@@ -274,6 +278,8 @@ export * from './PostQuestionImportCommit';
|
|
|
274
278
|
export * from './PostQuestionImportCommitItem';
|
|
275
279
|
export * from './PostQuestionImportCommitResponse';
|
|
276
280
|
export * from './PostQuestionImportParseResponse';
|
|
281
|
+
export * from './PostReportExport';
|
|
282
|
+
export * from './PostReportQuery';
|
|
277
283
|
export * from './PostResetPassword';
|
|
278
284
|
export * from './PostResource';
|
|
279
285
|
export * from './PostResourceSessionActivityEvent';
|
|
@@ -349,6 +355,13 @@ export * from './QuestionImportPreviewImage';
|
|
|
349
355
|
export * from './QuestionImportSource';
|
|
350
356
|
export * from './QuestionImportSourceSummary';
|
|
351
357
|
export * from './QuestionSelectionMethod';
|
|
358
|
+
export * from './ReportCategory';
|
|
359
|
+
export * from './ReportColumn';
|
|
360
|
+
export * from './ReportDefinition';
|
|
361
|
+
export * from './ReportFilterDefinition';
|
|
362
|
+
export * from './ReportFilterOption';
|
|
363
|
+
export * from './ReportFilters';
|
|
364
|
+
export * from './ReportSort';
|
|
352
365
|
export * from './ResourceSessionEnvironment';
|
|
353
366
|
export * from './ResourceSessionScormApiLogItem';
|
|
354
367
|
export * from './ResourceType';
|