@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
package/.openapi-generator/FILES
CHANGED
|
@@ -219,6 +219,7 @@ docs/LoginRes.md
|
|
|
219
219
|
docs/LoginResAuthData.md
|
|
220
220
|
docs/LoginResUserData.md
|
|
221
221
|
docs/LoginResUserDataSelectedPortal.md
|
|
222
|
+
docs/MarketingApi.md
|
|
222
223
|
docs/OtherApi.md
|
|
223
224
|
docs/Paginated.md
|
|
224
225
|
docs/PlayerApi.md
|
|
@@ -263,6 +264,8 @@ docs/PostCourseVersionPublish.md
|
|
|
263
264
|
docs/PostCourseVersionSection.md
|
|
264
265
|
docs/PostCourseVersionSectionDuplicate.md
|
|
265
266
|
docs/PostCustomWebhookIntegration.md
|
|
267
|
+
docs/PostDemoRequest.md
|
|
268
|
+
docs/PostDemoRequestResponse.md
|
|
266
269
|
docs/PostDispatchItemLaunch.md
|
|
267
270
|
docs/PostDispatchItemLaunchResponse.md
|
|
268
271
|
docs/PostDispatchLaunch.md
|
|
@@ -416,6 +419,7 @@ src/apis/DispatchApi.ts
|
|
|
416
419
|
src/apis/EmailTemplateApi.ts
|
|
417
420
|
src/apis/IntegrationApi.ts
|
|
418
421
|
src/apis/LearnerExperienceApi.ts
|
|
422
|
+
src/apis/MarketingApi.ts
|
|
419
423
|
src/apis/OtherApi.ts
|
|
420
424
|
src/apis/PlayerApi.ts
|
|
421
425
|
src/apis/PortalApi.ts
|
|
@@ -675,6 +679,8 @@ src/models/PostCourseVersionPublish.ts
|
|
|
675
679
|
src/models/PostCourseVersionSection.ts
|
|
676
680
|
src/models/PostCourseVersionSectionDuplicate.ts
|
|
677
681
|
src/models/PostCustomWebhookIntegration.ts
|
|
682
|
+
src/models/PostDemoRequest.ts
|
|
683
|
+
src/models/PostDemoRequestResponse.ts
|
|
678
684
|
src/models/PostDispatchItemLaunch.ts
|
|
679
685
|
src/models/PostDispatchItemLaunchResponse.ts
|
|
680
686
|
src/models/PostDispatchLaunch.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @easyedu/js-lsm-api@1.
|
|
1
|
+
# @easyedu/js-lsm-api@1.130.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
|
|
4
4
|
|
|
@@ -312,6 +312,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
312
312
|
*LearnerExperienceApi* | [**postLearnerExperiencePublish**](docs/LearnerExperienceApi.md#postlearnerexperiencepublish) | **POST** /learner-experience/publish | Publish the selected portal\'s learner experience draft
|
|
313
313
|
*LearnerExperienceApi* | [**postLearnerExperienceVersionRestore**](docs/LearnerExperienceApi.md#postlearnerexperienceversionrestore) | **POST** /learner-experience/versions/{versionId}/restore | Create a new draft from a historical learner experience version
|
|
314
314
|
*LearnerExperienceApi* | [**putLearnerExperienceDraft**](docs/LearnerExperienceApi.md#putlearnerexperiencedraft) | **PUT** /learner-experience/draft | Update the selected portal\'s learner experience draft
|
|
315
|
+
*MarketingApi* | [**postDemoRequest**](docs/MarketingApi.md#postdemorequest) | **POST** /mktg/demo-requests | Save a demo or sales inquiry and notify sales
|
|
315
316
|
*OtherApi* | [**getHealth**](docs/OtherApi.md#gethealth) | **GET** /healthcheck | Health check endpoint
|
|
316
317
|
*PlayerApi* | [**commitResourceScormSession**](docs/PlayerApi.md#commitresourcescormsession) | **POST** /resource/sessions/{sessionId}/commit | Commit a reusable SCORM resource session
|
|
317
318
|
*PlayerApi* | [**getCourseVersionResourceAsset**](docs/PlayerApi.md#getcourseversionresourceasset) | **GET** /resource/course-versions/{courseVersionId}/items/{itemId}/asset/{assetPath} | Stream an asset from an exact course and resource version
|
|
@@ -658,6 +659,8 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
658
659
|
- [PostCourseVersionSection](docs/PostCourseVersionSection.md)
|
|
659
660
|
- [PostCourseVersionSectionDuplicate](docs/PostCourseVersionSectionDuplicate.md)
|
|
660
661
|
- [PostCustomWebhookIntegration](docs/PostCustomWebhookIntegration.md)
|
|
662
|
+
- [PostDemoRequest](docs/PostDemoRequest.md)
|
|
663
|
+
- [PostDemoRequestResponse](docs/PostDemoRequestResponse.md)
|
|
661
664
|
- [PostDispatchItemLaunch](docs/PostDispatchItemLaunch.md)
|
|
662
665
|
- [PostDispatchItemLaunchResponse](docs/PostDispatchItemLaunchResponse.md)
|
|
663
666
|
- [PostDispatchLaunch](docs/PostDispatchLaunch.md)
|
|
@@ -801,7 +804,7 @@ and is automatically generated by the
|
|
|
801
804
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
802
805
|
|
|
803
806
|
- API version: `1.0.0`
|
|
804
|
-
- Package version: `1.
|
|
807
|
+
- Package version: `1.130.0`
|
|
805
808
|
- Generator version: `7.22.0`
|
|
806
809
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
807
810
|
|
|
@@ -0,0 +1,34 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import { type PostDemoRequest } from '../models/PostDemoRequest';
|
|
14
|
+
import { type PostDemoRequestResponse } from '../models/PostDemoRequestResponse';
|
|
15
|
+
export interface PostDemoRequestRequest {
|
|
16
|
+
postDemoRequest: PostDemoRequest;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export declare class MarketingApi extends runtime.BaseAPI {
|
|
22
|
+
/**
|
|
23
|
+
* Creates request options for postDemoRequest without sending the request
|
|
24
|
+
*/
|
|
25
|
+
postDemoRequestRequestOpts(requestParameters: PostDemoRequestRequest): Promise<runtime.RequestOpts>;
|
|
26
|
+
/**
|
|
27
|
+
* Save a demo or sales inquiry and notify sales
|
|
28
|
+
*/
|
|
29
|
+
postDemoRequestRaw(requestParameters: PostDemoRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PostDemoRequestResponse>>;
|
|
30
|
+
/**
|
|
31
|
+
* Save a demo or sales inquiry and notify sales
|
|
32
|
+
*/
|
|
33
|
+
postDemoRequest(requestParameters: PostDemoRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PostDemoRequestResponse>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.MarketingApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const PostDemoRequest_1 = require("../models/PostDemoRequest");
|
|
28
|
+
const PostDemoRequestResponse_1 = require("../models/PostDemoRequestResponse");
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
class MarketingApi extends runtime.BaseAPI {
|
|
33
|
+
/**
|
|
34
|
+
* Creates request options for postDemoRequest without sending the request
|
|
35
|
+
*/
|
|
36
|
+
postDemoRequestRequestOpts(requestParameters) {
|
|
37
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
+
if (requestParameters['postDemoRequest'] == null) {
|
|
39
|
+
throw new runtime.RequiredError('postDemoRequest', 'Required parameter "postDemoRequest" was null or undefined when calling postDemoRequest().');
|
|
40
|
+
}
|
|
41
|
+
const queryParameters = {};
|
|
42
|
+
const headerParameters = {};
|
|
43
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
44
|
+
let urlPath = `/mktg/demo-requests`;
|
|
45
|
+
return {
|
|
46
|
+
path: urlPath,
|
|
47
|
+
method: 'POST',
|
|
48
|
+
headers: headerParameters,
|
|
49
|
+
query: queryParameters,
|
|
50
|
+
body: (0, PostDemoRequest_1.PostDemoRequestToJSON)(requestParameters['postDemoRequest']),
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Save a demo or sales inquiry and notify sales
|
|
56
|
+
*/
|
|
57
|
+
postDemoRequestRaw(requestParameters, initOverrides) {
|
|
58
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
+
const requestOptions = yield this.postDemoRequestRequestOpts(requestParameters);
|
|
60
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
61
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PostDemoRequestResponse_1.PostDemoRequestResponseFromJSON)(jsonValue));
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Save a demo or sales inquiry and notify sales
|
|
66
|
+
*/
|
|
67
|
+
postDemoRequest(requestParameters, initOverrides) {
|
|
68
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
69
|
+
const response = yield this.postDemoRequestRaw(requestParameters, initOverrides);
|
|
70
|
+
return yield response.value();
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.MarketingApi = MarketingApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './DispatchApi';
|
|
|
11
11
|
export * from './EmailTemplateApi';
|
|
12
12
|
export * from './IntegrationApi';
|
|
13
13
|
export * from './LearnerExperienceApi';
|
|
14
|
+
export * from './MarketingApi';
|
|
14
15
|
export * from './OtherApi';
|
|
15
16
|
export * from './PlayerApi';
|
|
16
17
|
export * from './PortalApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __exportStar(require("./DispatchApi"), exports);
|
|
|
29
29
|
__exportStar(require("./EmailTemplateApi"), exports);
|
|
30
30
|
__exportStar(require("./IntegrationApi"), exports);
|
|
31
31
|
__exportStar(require("./LearnerExperienceApi"), exports);
|
|
32
|
+
__exportStar(require("./MarketingApi"), exports);
|
|
32
33
|
__exportStar(require("./OtherApi"), exports);
|
|
33
34
|
__exportStar(require("./PlayerApi"), exports);
|
|
34
35
|
__exportStar(require("./PortalApi"), exports);
|
|
@@ -0,0 +1,34 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import { type PostDemoRequest } from '../models/PostDemoRequest';
|
|
14
|
+
import { type PostDemoRequestResponse } from '../models/PostDemoRequestResponse';
|
|
15
|
+
export interface PostDemoRequestRequest {
|
|
16
|
+
postDemoRequest: PostDemoRequest;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export declare class MarketingApi extends runtime.BaseAPI {
|
|
22
|
+
/**
|
|
23
|
+
* Creates request options for postDemoRequest without sending the request
|
|
24
|
+
*/
|
|
25
|
+
postDemoRequestRequestOpts(requestParameters: PostDemoRequestRequest): Promise<runtime.RequestOpts>;
|
|
26
|
+
/**
|
|
27
|
+
* Save a demo or sales inquiry and notify sales
|
|
28
|
+
*/
|
|
29
|
+
postDemoRequestRaw(requestParameters: PostDemoRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PostDemoRequestResponse>>;
|
|
30
|
+
/**
|
|
31
|
+
* Save a demo or sales inquiry and notify sales
|
|
32
|
+
*/
|
|
33
|
+
postDemoRequest(requestParameters: PostDemoRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PostDemoRequestResponse>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { PostDemoRequestToJSON, } from '../models/PostDemoRequest';
|
|
25
|
+
import { PostDemoRequestResponseFromJSON, } from '../models/PostDemoRequestResponse';
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export class MarketingApi extends runtime.BaseAPI {
|
|
30
|
+
/**
|
|
31
|
+
* Creates request options for postDemoRequest without sending the request
|
|
32
|
+
*/
|
|
33
|
+
postDemoRequestRequestOpts(requestParameters) {
|
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
if (requestParameters['postDemoRequest'] == null) {
|
|
36
|
+
throw new runtime.RequiredError('postDemoRequest', 'Required parameter "postDemoRequest" was null or undefined when calling postDemoRequest().');
|
|
37
|
+
}
|
|
38
|
+
const queryParameters = {};
|
|
39
|
+
const headerParameters = {};
|
|
40
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
41
|
+
let urlPath = `/mktg/demo-requests`;
|
|
42
|
+
return {
|
|
43
|
+
path: urlPath,
|
|
44
|
+
method: 'POST',
|
|
45
|
+
headers: headerParameters,
|
|
46
|
+
query: queryParameters,
|
|
47
|
+
body: PostDemoRequestToJSON(requestParameters['postDemoRequest']),
|
|
48
|
+
};
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Save a demo or sales inquiry and notify sales
|
|
53
|
+
*/
|
|
54
|
+
postDemoRequestRaw(requestParameters, initOverrides) {
|
|
55
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
const requestOptions = yield this.postDemoRequestRequestOpts(requestParameters);
|
|
57
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
58
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PostDemoRequestResponseFromJSON(jsonValue));
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Save a demo or sales inquiry and notify sales
|
|
63
|
+
*/
|
|
64
|
+
postDemoRequest(requestParameters, initOverrides) {
|
|
65
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
66
|
+
const response = yield this.postDemoRequestRaw(requestParameters, initOverrides);
|
|
67
|
+
return yield response.value();
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
package/dist/esm/apis/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './DispatchApi';
|
|
|
11
11
|
export * from './EmailTemplateApi';
|
|
12
12
|
export * from './IntegrationApi';
|
|
13
13
|
export * from './LearnerExperienceApi';
|
|
14
|
+
export * from './MarketingApi';
|
|
14
15
|
export * from './OtherApi';
|
|
15
16
|
export * from './PlayerApi';
|
|
16
17
|
export * from './PortalApi';
|
package/dist/esm/apis/index.js
CHANGED
|
@@ -13,6 +13,7 @@ export * from './DispatchApi';
|
|
|
13
13
|
export * from './EmailTemplateApi';
|
|
14
14
|
export * from './IntegrationApi';
|
|
15
15
|
export * from './LearnerExperienceApi';
|
|
16
|
+
export * from './MarketingApi';
|
|
16
17
|
export * from './OtherApi';
|
|
17
18
|
export * from './PlayerApi';
|
|
18
19
|
export * from './PortalApi';
|
|
@@ -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
|
+
}
|
|
@@ -242,6 +242,8 @@ export * from './PostCourseVersionPublish';
|
|
|
242
242
|
export * from './PostCourseVersionSection';
|
|
243
243
|
export * from './PostCourseVersionSectionDuplicate';
|
|
244
244
|
export * from './PostCustomWebhookIntegration';
|
|
245
|
+
export * from './PostDemoRequest';
|
|
246
|
+
export * from './PostDemoRequestResponse';
|
|
245
247
|
export * from './PostDispatchItemLaunch';
|
|
246
248
|
export * from './PostDispatchItemLaunchResponse';
|
|
247
249
|
export * from './PostDispatchLaunch';
|
package/dist/esm/models/index.js
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';
|