@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
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';
|
|
@@ -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';
|
|
@@ -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,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PostDemoRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PostDemoRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Stable for retries of the same submission; use a new UUID when details change.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PostDemoRequest
|
|
22
|
+
*/
|
|
23
|
+
submissionId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PostDemoRequest
|
|
28
|
+
*/
|
|
29
|
+
fullName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PostDemoRequest
|
|
34
|
+
*/
|
|
35
|
+
email: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PostDemoRequest
|
|
40
|
+
*/
|
|
41
|
+
organization: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {PostDemoRequestLearnerRangeEnum}
|
|
45
|
+
* @memberof PostDemoRequest
|
|
46
|
+
*/
|
|
47
|
+
learnerRange?: PostDemoRequestLearnerRangeEnum;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PostDemoRequest
|
|
52
|
+
*/
|
|
53
|
+
message?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {PostDemoRequestInquiryTypeEnum}
|
|
57
|
+
* @memberof PostDemoRequest
|
|
58
|
+
*/
|
|
59
|
+
inquiryType?: PostDemoRequestInquiryTypeEnum;
|
|
60
|
+
/**
|
|
61
|
+
* Originating site pathname; query strings and fragments are removed.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PostDemoRequest
|
|
64
|
+
*/
|
|
65
|
+
sourcePath?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PostDemoRequest
|
|
70
|
+
*/
|
|
71
|
+
sourceCta?: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export declare const PostDemoRequestLearnerRangeEnum: {
|
|
77
|
+
readonly _150: "1-50";
|
|
78
|
+
readonly _511000: "51-1000";
|
|
79
|
+
readonly _10013000: "1001-3000";
|
|
80
|
+
readonly _3001: "3001+";
|
|
81
|
+
};
|
|
82
|
+
export type PostDemoRequestLearnerRangeEnum = typeof PostDemoRequestLearnerRangeEnum[keyof typeof PostDemoRequestLearnerRangeEnum];
|
|
83
|
+
/**
|
|
84
|
+
* @export
|
|
85
|
+
*/
|
|
86
|
+
export declare const PostDemoRequestInquiryTypeEnum: {
|
|
87
|
+
readonly Demo: "demo";
|
|
88
|
+
readonly Enterprise: "enterprise";
|
|
89
|
+
readonly Migration: "migration";
|
|
90
|
+
readonly Sales: "sales";
|
|
91
|
+
};
|
|
92
|
+
export type PostDemoRequestInquiryTypeEnum = typeof PostDemoRequestInquiryTypeEnum[keyof typeof PostDemoRequestInquiryTypeEnum];
|
|
93
|
+
/**
|
|
94
|
+
* Check if a given object implements the PostDemoRequest interface.
|
|
95
|
+
*/
|
|
96
|
+
export declare function instanceOfPostDemoRequest(value: object): value is PostDemoRequest;
|
|
97
|
+
export declare function PostDemoRequestFromJSON(json: any): PostDemoRequest;
|
|
98
|
+
export declare function PostDemoRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostDemoRequest;
|
|
99
|
+
export declare function PostDemoRequestToJSON(json: any): PostDemoRequest;
|
|
100
|
+
export declare function PostDemoRequestToJSONTyped(value?: PostDemoRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,91 @@
|
|
|
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.PostDemoRequestInquiryTypeEnum = exports.PostDemoRequestLearnerRangeEnum = void 0;
|
|
17
|
+
exports.instanceOfPostDemoRequest = instanceOfPostDemoRequest;
|
|
18
|
+
exports.PostDemoRequestFromJSON = PostDemoRequestFromJSON;
|
|
19
|
+
exports.PostDemoRequestFromJSONTyped = PostDemoRequestFromJSONTyped;
|
|
20
|
+
exports.PostDemoRequestToJSON = PostDemoRequestToJSON;
|
|
21
|
+
exports.PostDemoRequestToJSONTyped = PostDemoRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PostDemoRequestLearnerRangeEnum = {
|
|
26
|
+
_150: '1-50',
|
|
27
|
+
_511000: '51-1000',
|
|
28
|
+
_10013000: '1001-3000',
|
|
29
|
+
_3001: '3001+'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.PostDemoRequestInquiryTypeEnum = {
|
|
35
|
+
Demo: 'demo',
|
|
36
|
+
Enterprise: 'enterprise',
|
|
37
|
+
Migration: 'migration',
|
|
38
|
+
Sales: 'sales'
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the PostDemoRequest interface.
|
|
42
|
+
*/
|
|
43
|
+
function instanceOfPostDemoRequest(value) {
|
|
44
|
+
if (!('submissionId' in value) || value['submissionId'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('fullName' in value) || value['fullName'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('organization' in value) || value['organization'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
function PostDemoRequestFromJSON(json) {
|
|
55
|
+
return PostDemoRequestFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function PostDemoRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'submissionId': json['submission_id'],
|
|
63
|
+
'fullName': json['full_name'],
|
|
64
|
+
'email': json['email'],
|
|
65
|
+
'organization': json['organization'],
|
|
66
|
+
'learnerRange': json['learner_range'] == null ? undefined : json['learner_range'],
|
|
67
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
68
|
+
'inquiryType': json['inquiry_type'] == null ? undefined : json['inquiry_type'],
|
|
69
|
+
'sourcePath': json['source_path'] == null ? undefined : json['source_path'],
|
|
70
|
+
'sourceCta': json['source_cta'] == null ? undefined : json['source_cta'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
function PostDemoRequestToJSON(json) {
|
|
74
|
+
return PostDemoRequestToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
function PostDemoRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
'submission_id': value['submissionId'],
|
|
82
|
+
'full_name': value['fullName'],
|
|
83
|
+
'email': value['email'],
|
|
84
|
+
'organization': value['organization'],
|
|
85
|
+
'learner_range': value['learnerRange'],
|
|
86
|
+
'message': value['message'],
|
|
87
|
+
'inquiry_type': value['inquiryType'],
|
|
88
|
+
'source_path': value['sourcePath'],
|
|
89
|
+
'source_cta': value['sourceCta'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PostDemoRequestResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface PostDemoRequestResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PostDemoRequestResponse
|
|
22
|
+
*/
|
|
23
|
+
requestId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PostDemoRequestResponse
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PostDemoRequestResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPostDemoRequestResponse(value: object): value is PostDemoRequestResponse;
|
|
35
|
+
export declare function PostDemoRequestResponseFromJSON(json: any): PostDemoRequestResponse;
|
|
36
|
+
export declare function PostDemoRequestResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostDemoRequestResponse;
|
|
37
|
+
export declare function PostDemoRequestResponseToJSON(json: any): PostDemoRequestResponse;
|
|
38
|
+
export declare function PostDemoRequestResponseToJSONTyped(value?: PostDemoRequestResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfPostDemoRequestResponse = instanceOfPostDemoRequestResponse;
|
|
17
|
+
exports.PostDemoRequestResponseFromJSON = PostDemoRequestResponseFromJSON;
|
|
18
|
+
exports.PostDemoRequestResponseFromJSONTyped = PostDemoRequestResponseFromJSONTyped;
|
|
19
|
+
exports.PostDemoRequestResponseToJSON = PostDemoRequestResponseToJSON;
|
|
20
|
+
exports.PostDemoRequestResponseToJSONTyped = PostDemoRequestResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PostDemoRequestResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPostDemoRequestResponse(value) {
|
|
25
|
+
if (!('requestId' in value) || value['requestId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function PostDemoRequestResponseFromJSON(json) {
|
|
32
|
+
return PostDemoRequestResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function PostDemoRequestResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'requestId': json['request_id'],
|
|
40
|
+
'message': json['message'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function PostDemoRequestResponseToJSON(json) {
|
|
44
|
+
return PostDemoRequestResponseToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function PostDemoRequestResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'request_id': value['requestId'],
|
|
52
|
+
'message': value['message'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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;
|