@easyedu/js-lsm-api 1.129.0 → 1.130.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 +6 -0
- package/README.md +5 -2
- package/dist/apis/MarketingApi.d.ts +34 -0
- package/dist/apis/MarketingApi.js +74 -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/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -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/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -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/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/docs/MarketingApi.md +78 -0
- package/docs/PostDemoRequest.md +50 -0
- package/docs/PostDemoRequestResponse.md +36 -0
- package/package.json +1 -1
- package/src/apis/MarketingApi.ts +83 -0
- package/src/apis/index.ts +1 -0
- package/src/models/PostDemoRequest.ts +157 -0
- package/src/models/PostDemoRequestResponse.ts +75 -0
- package/src/models/index.ts +2 -0
|
@@ -0,0 +1,157 @@
|
|
|
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 PostDemoRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PostDemoRequest {
|
|
22
|
+
/**
|
|
23
|
+
* Stable for retries of the same submission; use a new UUID when details change.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PostDemoRequest
|
|
26
|
+
*/
|
|
27
|
+
submissionId: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PostDemoRequest
|
|
32
|
+
*/
|
|
33
|
+
fullName: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PostDemoRequest
|
|
38
|
+
*/
|
|
39
|
+
email: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof PostDemoRequest
|
|
44
|
+
*/
|
|
45
|
+
organization: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {PostDemoRequestLearnerRangeEnum}
|
|
49
|
+
* @memberof PostDemoRequest
|
|
50
|
+
*/
|
|
51
|
+
learnerRange?: PostDemoRequestLearnerRangeEnum;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof PostDemoRequest
|
|
56
|
+
*/
|
|
57
|
+
message?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {PostDemoRequestInquiryTypeEnum}
|
|
61
|
+
* @memberof PostDemoRequest
|
|
62
|
+
*/
|
|
63
|
+
inquiryType?: PostDemoRequestInquiryTypeEnum;
|
|
64
|
+
/**
|
|
65
|
+
* Originating site pathname; query strings and fragments are removed.
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof PostDemoRequest
|
|
68
|
+
*/
|
|
69
|
+
sourcePath?: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof PostDemoRequest
|
|
74
|
+
*/
|
|
75
|
+
sourceCta?: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export const PostDemoRequestLearnerRangeEnum = {
|
|
83
|
+
_150: '1-50',
|
|
84
|
+
_511000: '51-1000',
|
|
85
|
+
_10013000: '1001-3000',
|
|
86
|
+
_3001: '3001+'
|
|
87
|
+
} as const;
|
|
88
|
+
export type PostDemoRequestLearnerRangeEnum = typeof PostDemoRequestLearnerRangeEnum[keyof typeof PostDemoRequestLearnerRangeEnum];
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @export
|
|
92
|
+
*/
|
|
93
|
+
export const PostDemoRequestInquiryTypeEnum = {
|
|
94
|
+
Demo: 'demo',
|
|
95
|
+
Enterprise: 'enterprise',
|
|
96
|
+
Migration: 'migration',
|
|
97
|
+
Sales: 'sales'
|
|
98
|
+
} as const;
|
|
99
|
+
export type PostDemoRequestInquiryTypeEnum = typeof PostDemoRequestInquiryTypeEnum[keyof typeof PostDemoRequestInquiryTypeEnum];
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Check if a given object implements the PostDemoRequest interface.
|
|
104
|
+
*/
|
|
105
|
+
export function instanceOfPostDemoRequest(value: object): value is PostDemoRequest {
|
|
106
|
+
if (!('submissionId' in value) || value['submissionId'] === undefined) return false;
|
|
107
|
+
if (!('fullName' in value) || value['fullName'] === undefined) return false;
|
|
108
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
109
|
+
if (!('organization' in value) || value['organization'] === undefined) return false;
|
|
110
|
+
return true;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export function PostDemoRequestFromJSON(json: any): PostDemoRequest {
|
|
114
|
+
return PostDemoRequestFromJSONTyped(json, false);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export function PostDemoRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostDemoRequest {
|
|
118
|
+
if (json == null) {
|
|
119
|
+
return json;
|
|
120
|
+
}
|
|
121
|
+
return {
|
|
122
|
+
|
|
123
|
+
'submissionId': json['submission_id'],
|
|
124
|
+
'fullName': json['full_name'],
|
|
125
|
+
'email': json['email'],
|
|
126
|
+
'organization': json['organization'],
|
|
127
|
+
'learnerRange': json['learner_range'] == null ? undefined : json['learner_range'],
|
|
128
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
129
|
+
'inquiryType': json['inquiry_type'] == null ? undefined : json['inquiry_type'],
|
|
130
|
+
'sourcePath': json['source_path'] == null ? undefined : json['source_path'],
|
|
131
|
+
'sourceCta': json['source_cta'] == null ? undefined : json['source_cta'],
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export function PostDemoRequestToJSON(json: any): PostDemoRequest {
|
|
136
|
+
return PostDemoRequestToJSONTyped(json, false);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export function PostDemoRequestToJSONTyped(value?: PostDemoRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
140
|
+
if (value == null) {
|
|
141
|
+
return value;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
return {
|
|
145
|
+
|
|
146
|
+
'submission_id': value['submissionId'],
|
|
147
|
+
'full_name': value['fullName'],
|
|
148
|
+
'email': value['email'],
|
|
149
|
+
'organization': value['organization'],
|
|
150
|
+
'learner_range': value['learnerRange'],
|
|
151
|
+
'message': value['message'],
|
|
152
|
+
'inquiry_type': value['inquiryType'],
|
|
153
|
+
'source_path': value['sourcePath'],
|
|
154
|
+
'source_cta': value['sourceCta'],
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
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 PostDemoRequestResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface PostDemoRequestResponse {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PostDemoRequestResponse
|
|
26
|
+
*/
|
|
27
|
+
requestId: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PostDemoRequestResponse
|
|
32
|
+
*/
|
|
33
|
+
message: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the PostDemoRequestResponse interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfPostDemoRequestResponse(value: object): value is PostDemoRequestResponse {
|
|
40
|
+
if (!('requestId' in value) || value['requestId'] === undefined) return false;
|
|
41
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function PostDemoRequestResponseFromJSON(json: any): PostDemoRequestResponse {
|
|
46
|
+
return PostDemoRequestResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function PostDemoRequestResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostDemoRequestResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'requestId': json['request_id'],
|
|
56
|
+
'message': json['message'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function PostDemoRequestResponseToJSON(json: any): PostDemoRequestResponse {
|
|
61
|
+
return PostDemoRequestResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function PostDemoRequestResponseToJSONTyped(value?: PostDemoRequestResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'request_id': value['requestId'],
|
|
72
|
+
'message': value['message'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -244,6 +244,8 @@ export * from './PostCourseVersionPublish';
|
|
|
244
244
|
export * from './PostCourseVersionSection';
|
|
245
245
|
export * from './PostCourseVersionSectionDuplicate';
|
|
246
246
|
export * from './PostCustomWebhookIntegration';
|
|
247
|
+
export * from './PostDemoRequest';
|
|
248
|
+
export * from './PostDemoRequestResponse';
|
|
247
249
|
export * from './PostDispatchItemLaunch';
|
|
248
250
|
export * from './PostDispatchItemLaunchResponse';
|
|
249
251
|
export * from './PostDispatchLaunch';
|