@easyedu/js-lsm-api 1.128.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 +8 -0
- package/README.md +7 -2
- package/dist/apis/MarketingApi.d.ts +34 -0
- package/dist/apis/MarketingApi.js +74 -0
- package/dist/apis/UserApi.d.ts +16 -0
- package/dist/apis/UserApi.js +42 -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/UserApi.d.ts +16 -0
- package/dist/esm/apis/UserApi.js +42 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/GetSignupSlugAvailability.d.ts +38 -0
- package/dist/esm/models/GetSignupSlugAvailability.js +47 -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/PostSignupRequest.d.ts +6 -0
- package/dist/esm/models/PostSignupRequest.js +2 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/models/GetSignupSlugAvailability.d.ts +38 -0
- package/dist/models/GetSignupSlugAvailability.js +54 -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/PostSignupRequest.d.ts +6 -0
- package/dist/models/PostSignupRequest.js +2 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/docs/GetSignupSlugAvailability.md +36 -0
- package/docs/MarketingApi.md +78 -0
- package/docs/PostDemoRequest.md +50 -0
- package/docs/PostDemoRequestResponse.md +36 -0
- package/docs/PostSignupRequest.md +2 -0
- package/docs/UserApi.md +69 -0
- package/package.json +1 -1
- package/src/apis/MarketingApi.ts +83 -0
- package/src/apis/UserApi.ts +57 -0
- package/src/apis/index.ts +1 -0
- package/src/models/GetSignupSlugAvailability.ts +75 -0
- package/src/models/PostDemoRequest.ts +157 -0
- package/src/models/PostDemoRequestResponse.ts +75 -0
- package/src/models/PostSignupRequest.ts +8 -0
- package/src/models/index.ts +3 -0
|
@@ -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,83 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const PostDemoRequestLearnerRangeEnum = {
|
|
18
|
+
_150: '1-50',
|
|
19
|
+
_511000: '51-1000',
|
|
20
|
+
_10013000: '1001-3000',
|
|
21
|
+
_3001: '3001+'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export const PostDemoRequestInquiryTypeEnum = {
|
|
27
|
+
Demo: 'demo',
|
|
28
|
+
Enterprise: 'enterprise',
|
|
29
|
+
Migration: 'migration',
|
|
30
|
+
Sales: 'sales'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the PostDemoRequest interface.
|
|
34
|
+
*/
|
|
35
|
+
export function instanceOfPostDemoRequest(value) {
|
|
36
|
+
if (!('submissionId' in value) || value['submissionId'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('fullName' in value) || value['fullName'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('organization' in value) || value['organization'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
export function PostDemoRequestFromJSON(json) {
|
|
47
|
+
return PostDemoRequestFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function PostDemoRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'submissionId': json['submission_id'],
|
|
55
|
+
'fullName': json['full_name'],
|
|
56
|
+
'email': json['email'],
|
|
57
|
+
'organization': json['organization'],
|
|
58
|
+
'learnerRange': json['learner_range'] == null ? undefined : json['learner_range'],
|
|
59
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
60
|
+
'inquiryType': json['inquiry_type'] == null ? undefined : json['inquiry_type'],
|
|
61
|
+
'sourcePath': json['source_path'] == null ? undefined : json['source_path'],
|
|
62
|
+
'sourceCta': json['source_cta'] == null ? undefined : json['source_cta'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
export function PostDemoRequestToJSON(json) {
|
|
66
|
+
return PostDemoRequestToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
export function PostDemoRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
'submission_id': value['submissionId'],
|
|
74
|
+
'full_name': value['fullName'],
|
|
75
|
+
'email': value['email'],
|
|
76
|
+
'organization': value['organization'],
|
|
77
|
+
'learner_range': value['learnerRange'],
|
|
78
|
+
'message': value['message'],
|
|
79
|
+
'inquiry_type': value['inquiryType'],
|
|
80
|
+
'source_path': value['sourcePath'],
|
|
81
|
+
'source_cta': value['sourceCta'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -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,47 @@
|
|
|
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
|
+
* Check if a given object implements the PostDemoRequestResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPostDemoRequestResponse(value) {
|
|
18
|
+
if (!('requestId' in value) || value['requestId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function PostDemoRequestResponseFromJSON(json) {
|
|
25
|
+
return PostDemoRequestResponseFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function PostDemoRequestResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'requestId': json['request_id'],
|
|
33
|
+
'message': json['message'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function PostDemoRequestResponseToJSON(json) {
|
|
37
|
+
return PostDemoRequestResponseToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function PostDemoRequestResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'request_id': value['requestId'],
|
|
45
|
+
'message': value['message'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -45,6 +45,12 @@ export interface PostSignupRequest {
|
|
|
45
45
|
* @memberof PostSignupRequest
|
|
46
46
|
*/
|
|
47
47
|
organization: string;
|
|
48
|
+
/**
|
|
49
|
+
* Requested learner subdomain, without the domain suffix. Must be available and not reserved. If omitted, it is derived from the organization. Availability does not reserve the address; verification checks again and never substitutes another address.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PostSignupRequest
|
|
52
|
+
*/
|
|
53
|
+
slug?: string;
|
|
48
54
|
/**
|
|
49
55
|
* Signup/onboarding role supplied by the user; not an LMS RBAC role.
|
|
50
56
|
* @type {string}
|
|
@@ -44,6 +44,7 @@ export function PostSignupRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'email': json['email'],
|
|
45
45
|
'password': json['password'],
|
|
46
46
|
'organization': json['organization'],
|
|
47
|
+
'slug': json['slug'] == null ? undefined : json['slug'],
|
|
47
48
|
'jobRole': json['job_role'],
|
|
48
49
|
'learnerCount': json['learner_count'],
|
|
49
50
|
};
|
|
@@ -61,6 +62,7 @@ export function PostSignupRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
61
62
|
'email': value['email'],
|
|
62
63
|
'password': value['password'],
|
|
63
64
|
'organization': value['organization'],
|
|
65
|
+
'slug': value['slug'],
|
|
64
66
|
'job_role': value['jobRole'],
|
|
65
67
|
'learner_count': value['learnerCount'],
|
|
66
68
|
};
|
|
@@ -155,6 +155,7 @@ export * from './GetResourceUsageCoursesInner';
|
|
|
155
155
|
export * from './GetResourceVersionUpload';
|
|
156
156
|
export * from './GetRichTextAssetUpload';
|
|
157
157
|
export * from './GetRole';
|
|
158
|
+
export * from './GetSignupSlugAvailability';
|
|
158
159
|
export * from './GetSupportTicket';
|
|
159
160
|
export * from './GetSupportTicketAttachment';
|
|
160
161
|
export * from './GetSupportTicketComment';
|
|
@@ -241,6 +242,8 @@ export * from './PostCourseVersionPublish';
|
|
|
241
242
|
export * from './PostCourseVersionSection';
|
|
242
243
|
export * from './PostCourseVersionSectionDuplicate';
|
|
243
244
|
export * from './PostCustomWebhookIntegration';
|
|
245
|
+
export * from './PostDemoRequest';
|
|
246
|
+
export * from './PostDemoRequestResponse';
|
|
244
247
|
export * from './PostDispatchItemLaunch';
|
|
245
248
|
export * from './PostDispatchItemLaunchResponse';
|
|
246
249
|
export * from './PostDispatchLaunch';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -157,6 +157,7 @@ export * from './GetResourceUsageCoursesInner';
|
|
|
157
157
|
export * from './GetResourceVersionUpload';
|
|
158
158
|
export * from './GetRichTextAssetUpload';
|
|
159
159
|
export * from './GetRole';
|
|
160
|
+
export * from './GetSignupSlugAvailability';
|
|
160
161
|
export * from './GetSupportTicket';
|
|
161
162
|
export * from './GetSupportTicketAttachment';
|
|
162
163
|
export * from './GetSupportTicketComment';
|
|
@@ -243,6 +244,8 @@ export * from './PostCourseVersionPublish';
|
|
|
243
244
|
export * from './PostCourseVersionSection';
|
|
244
245
|
export * from './PostCourseVersionSectionDuplicate';
|
|
245
246
|
export * from './PostCustomWebhookIntegration';
|
|
247
|
+
export * from './PostDemoRequest';
|
|
248
|
+
export * from './PostDemoRequestResponse';
|
|
246
249
|
export * from './PostDispatchItemLaunch';
|
|
247
250
|
export * from './PostDispatchItemLaunchResponse';
|
|
248
251
|
export * from './PostDispatchLaunch';
|
|
@@ -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 GetSignupSlugAvailability
|
|
16
|
+
*/
|
|
17
|
+
export interface GetSignupSlugAvailability {
|
|
18
|
+
/**
|
|
19
|
+
* Normalized subdomain checked.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetSignupSlugAvailability
|
|
22
|
+
*/
|
|
23
|
+
slug: string;
|
|
24
|
+
/**
|
|
25
|
+
* Whether the subdomain is currently unused. This check does not reserve it.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof GetSignupSlugAvailability
|
|
28
|
+
*/
|
|
29
|
+
available: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GetSignupSlugAvailability interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGetSignupSlugAvailability(value: object): value is GetSignupSlugAvailability;
|
|
35
|
+
export declare function GetSignupSlugAvailabilityFromJSON(json: any): GetSignupSlugAvailability;
|
|
36
|
+
export declare function GetSignupSlugAvailabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSignupSlugAvailability;
|
|
37
|
+
export declare function GetSignupSlugAvailabilityToJSON(json: any): GetSignupSlugAvailability;
|
|
38
|
+
export declare function GetSignupSlugAvailabilityToJSONTyped(value?: GetSignupSlugAvailability | 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.instanceOfGetSignupSlugAvailability = instanceOfGetSignupSlugAvailability;
|
|
17
|
+
exports.GetSignupSlugAvailabilityFromJSON = GetSignupSlugAvailabilityFromJSON;
|
|
18
|
+
exports.GetSignupSlugAvailabilityFromJSONTyped = GetSignupSlugAvailabilityFromJSONTyped;
|
|
19
|
+
exports.GetSignupSlugAvailabilityToJSON = GetSignupSlugAvailabilityToJSON;
|
|
20
|
+
exports.GetSignupSlugAvailabilityToJSONTyped = GetSignupSlugAvailabilityToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetSignupSlugAvailability interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetSignupSlugAvailability(value) {
|
|
25
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('available' in value) || value['available'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GetSignupSlugAvailabilityFromJSON(json) {
|
|
32
|
+
return GetSignupSlugAvailabilityFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GetSignupSlugAvailabilityFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'slug': json['slug'],
|
|
40
|
+
'available': json['available'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GetSignupSlugAvailabilityToJSON(json) {
|
|
44
|
+
return GetSignupSlugAvailabilityToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GetSignupSlugAvailabilityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'slug': value['slug'],
|
|
52
|
+
'available': value['available'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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;
|